Repository navigation
feat(showcase): omnibus framework parity — 13 integrations, ~400 new demos - #4280
Merged
Merged
Conversation
jpr5
requested review from
marthakelly,
mme,
ranst91 and
tylerslaton
as code owners
April 25, 2026 02:19
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.
|
This was referenced Apr 25, 2026
Closed
jpr5
added a commit
that referenced
this pull request
Apr 25, 2026
Fixes from CR round 1 on omnibus PR #4280 ## Changes - **hitl demo mislabeling (bucket a)**: 3 manifests (langgraph-fastapi, langgraph-typescript, ms-agent-dotnet) claimed `hitl-in-chat` but actually implement the original `hitl` demo. Fixed feature list, demo ID, and demo name in all 3. - **Dead variable in test (bucket b)**: Removed unused `content` variable in `test_try_parse_tool_function_call_bytes_arguments`. - **Docstring/code mismatch (bucket b)**: Two docstrings said "DEGRADED" where the code uses "malformed". Fixed to match. - **Empty section header (bucket b)**: Removed orphaned section header "Logging hygiene: plain-text turns must NOT emit warnings" (the actual test lives elsewhere in the file). - **Feature registry kind fields (bucket b)**: Added `"kind": "primary"` to `hitl` and `hitl-in-chat-booking` entries to match convention. ## Verification - `generate-registry.ts` ran clean (18 integrations, all shells) - `generate-starters.ts` ran clean (17 starters) - `validate-pins.ts` fail count (127) and hash match existing baseline -- no ratchet update needed
…matrix with 58 demos
…ixture validator, constraints, test snapshots
jpr5
force-pushed
the
feat/showcase-parity-omnibus
branch
from
April 25, 2026 04:24
9b75061 to
b9d56c2
Compare
tylerslaton
added a commit
that referenced
this pull request
Jul 10, 2026
…emos (OSS-451) (#5881) ## What Adds the three missing per-demo CopilotKit runtime routes in the Mastra showcase integration: - `src/app/api/copilotkit-a2ui-fixed-schema/route.ts` - `src/app/api/copilotkit-declarative-gen-ui/route.ts` - `src/app/api/copilotkit-agent-config/route.ts` Fixes [OSS-451](https://linear.app/copilotkit/issue/OSS-451) — three demos are **dead on load** in production (`showcase-mastra-production`). ## Why (root cause) Each of these demo pages sets `<CopilotKit runtimeUrl="/api/copilotkit-<demo>">`, but those route handlers were **never created** in the Mastra integration — the pages were mirrored verbatim from the `langgraph-python` north-star (which *does* have per-demo routes) without porting the backend routes. The client's runtime-info fetch 404'd → `runtime_info_fetch_failed` → the page never mounted. Deterministic, reproduces on every plain page load. `git log --all` confirms these route dirs have **0 commits ever** in Mastra; they arrived via the omnibus parity PRs #4280 / #5127. ## Approach Dedicated routes, mirroring the proven `copilotkit-beautiful-chat` pattern rather than repointing the pages at the shared `/api/copilotkit`. This is required for the two A2UI demos: they pass a client-side catalog, which makes the runtime default `injectA2UITool` to `true`, but `weatherAgent` already owns its own `generate_a2ui` tool — serving them from the shared route would **double-bind** the tool. So the A2UI routes set `injectA2UITool: false` and pin `defaultCatalogId` to the catalog the page registers (avoids "Catalog not found"). `agent-config` is a plain runtime that registers the exact agent id the page requests (`agent-config-demo`). Zero page edits — the pages already point at these routes. ## Scope Page-load / 404 only, matching the ticket's explicit scope. These agents currently alias `weatherAgent` (consistent with how every other Mastra demo currently runs); **full behavioral parity** (dedicated Mastra agents that emit real A2UI operations / honor agent-config context) is tracked under OSS-381. ## Verification - `next build` compiles all three into the route manifest (`.next/server/app/api/copilotkit-*/route.js`). - Runtime smoke against the built server: `POST` to each new route returns **400** (route resolves, handler runs) — identical to the flagship `copilotkit-beautiful-chat` — vs **404** for a nonexistent route. No `getLocalAgent returned null` init error. - Recommend a click-through in an aimock/real-LLM env before locking D5 regression coverage. ## Follow-ups (not in this PR) - `declarative-hashbrown` / `declarative-json-render` are broken the same way but are `status: unshipped` (non-navigable); they + the `manifest.yaml` `byoc-*` drift need reconciling before they can flip to `wired`. - Preventing recurrence (a page→route/agent invariant in the pre-merge gate) ships as a **separate PR**.
zeekay
pushed a commit
to Dream-AI-4444/CopilotKit
that referenced
this pull request
Sep 11, 2026
…demos (CopilotKit#4280) ## Summary Consolidates 13 showcase parity PRs into a single omnibus PR. Each integration framework has been brought to near-parity with the LangGraph Python reference (~37 demos each). ### Frameworks added/expanded (8 -> 30+ demos each): - ag2, strands, claude-sdk-typescript, spring-ai, agno, langroid - crewai-crews, mastra, llamaindex, claude-sdk-python, pydantic-ai - langgraph-fastapi, langgraph-typescript (new packages, 29 demos each) - ms-agent-python, ms-agent-dotnet (new packages, 38 demos each) ### Additional fixes included: - Lefthook `sync-lockfile` glob scoped to pnpm workspace members only - Python test regression fix (langroid `create_agent` kwargs) - Missing feature IDs added to feature-registry.json (hitl-in-chat-booking, hitl) - Manifest highlight path fixes (langgraph-fastapi, langgraph-python, langgraph-typescript, ms-agent-dotnet) - Fixture tool surface validator updated for wildcard renderers (useDefaultRenderTool) - Constraints allowlist updated for new feature IDs - Starters regenerated for all 17 frameworks - fail-baseline.json ratcheted (112 -> 127) for new framework pin FAILs ### Supersedes PRs: CopilotKit#4254, CopilotKit#4255, CopilotKit#4257, CopilotKit#4260, CopilotKit#4261, CopilotKit#4262, CopilotKit#4263, CopilotKit#4264, CopilotKit#4265, CopilotKit#4267, CopilotKit#4268, CopilotKit#4270, CopilotKit#4273 All PRs by @AlemTuzlak — runtime fixes from CopilotKit#4271 (already merged) propagated to all frameworks. ## Test plan - [ ] CI green on this PR - [ ] `pnpm dev` spot-check on 2-3 frameworks (byoc-hashbrown, voice, auth demos) - [ ] Dashboard cells tab shows new framework rows populated - [ ] Feature registry validation passes - [ ] Starters generate cleanly (`npx tsx showcase/scripts/generate-starters.ts`) - [ ] Registry generates cleanly (`npx tsx showcase/scripts/generate-registry.ts`) - [ ] Demo content bundles cleanly (`npx tsx showcase/scripts/bundle-demo-content.ts`)
This branch was successfully deployed
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
Consolidates 13 showcase parity PRs into a single omnibus PR. Each integration framework has been brought to near-parity with the LangGraph Python reference (~37 demos each).
Frameworks added/expanded (8 -> 30+ demos each):
Additional fixes included:
sync-lockfileglob scoped to pnpm workspace members onlycreate_agentkwargs)Supersedes PRs:
#4254, #4255, #4257, #4260, #4261, #4262, #4263, #4264, #4265, #4267, #4268, #4270, #4273
All PRs by @AlemTuzlak — runtime fixes from #4271 (already merged) propagated to all frameworks.
Test plan
pnpm devspot-check on 2-3 frameworks (byoc-hashbrown, voice, auth demos)npx tsx showcase/scripts/generate-starters.ts)npx tsx showcase/scripts/generate-registry.ts)npx tsx showcase/scripts/bundle-demo-content.ts)