feat(examples): add Intelligence threads to a2a-a2ui#5201
Merged
BenTaylorDev merged 2 commits intoJun 4, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
|
Size Change: 0 B Total Size: 981 kB ℹ️ View Unchanged
|
Base automatically changed from
ben1/ent-679-intelligence-ready-north-star
to
main
June 3, 2026 22:08
…2a-a2ui Conflict resolution: take the rollout's parameterized contract test and append the a2a-a2ui bespoke tests (namespaced helper, 1.59.3 pins). Bump a2a-a2ui @copilotkit/* 1.59.1 -> 1.59.3 + regen lockfile. 49/49. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
BenTaylorDev
added a commit
that referenced
this pull request
Jun 4, 2026
## Summary Lands CopilotKit Intelligence **threads** across ALL integration examples — an activation-gated, per-example-themed threads drawer with shared underpinnings. [ENT-679 / ENT-734] **Migrated examples (18 — complete coverage of `examples/integrations/*`):** langgraph-python (north-star), langgraph-js, langgraph-fastapi, strands-python, mastra, adk, agno, ms-agent-framework-python, ms-agent-framework-dotnet, crewai-flows, crewai-crews, llamaindex, pydantic-ai, a2a-middleware, a2a-a2ui, mcp-apps, agent-spec, agentcore. **Held out:** ag2 (#5206) — showcase surface, pending team discussion. ### What each example gets - A themed **threads drawer** (list/create/select/archive/restore, realtime) gated behind `COPILOTKIT_LICENSE_TOKEN` — without a license it renders a locked tease pointing at `copilotkit add-intelligence`; the demo otherwise works unchanged on its fallback runner. - Env-gated `CopilotKitIntelligence` block in the runtime route, client-safe threads gate (`NEXT_PUBLIC_…` for Next, `VITE_…` for agentcore's Vite frontend), `.env.example` documenting the local Intelligence stack, REST transport (`useSingleEndpoint={false}`). - Coverage in the migration contract test (`scripts/__tests__/integration-intelligence-migration.test.ts`) — **66 tests**, parameterized + bespoke blocks for the non-standard shapes (a2a-middleware, a2a-a2ui, agentcore). ### Reconciliation with current main Rebuilt on top of main's current baseline (not the pre-revert tree): **1.59.3** pins everywhere (lockfiles regenerated), `default` agent keys, AGENT_URL normalization, `useConfigureSuggestions`, `useRenderTool` `status`/`parameters` API, call-time `agent.state` reads, jpr5's rebuilt crewai-crews page (threads shell grafted around it). Also rides: a react-core `A2UIMessageRenderer` test flake fix (act → waitFor). ### Verification - Migration contract test: **66/66** passing - Parity verify: langgraph-js 82 / langgraph-fastapi 91 / strands-python 88 — zero drift (strands + fastapi now fully tracked, shields removed) - All examples uniform on @CopilotKit **1.59.3** (a2ui-renderer stays at the family-wide 1.56.5 pin) - oxfmt clean; no stale agent keys ### Provenance Mechanically: reverts of #5215/#5216/#5217 + reconciliation, then merges of #5201 (a2a-a2ui), #5207 (agentcore), #5202 (strands-python), #5198 (crewai-crews). Full review history: #5151, #5189, #5196, #5197, #5198, #5199, #5201, #5202, #5205, #5207, #5209, #5211. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/integrations/a2a-a2uiVerification
pnpm exec vitest run scripts/__tests__/integration-intelligence-migration.test.tsnpm run buildfromexamples/integrations/a2a-a2uipnpm run test && pnpm run check:packagesvia lefthookRefs ENT-734.