Repository navigation
docs(showcase): clarify catch-all tool rendering - #5509
ataibarkai wants to merge 37 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Production Digest-Pinning AuditAll 40 services digest-pinned. Run 2026-06-24 12:29:54 PDT — 0 finding(s). |
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/bot
@copilotkit/bot-discord
@copilotkit/bot-slack
@copilotkit/bot-store-postgres
@copilotkit/bot-store-redis
@copilotkit/bot-telegram
@copilotkit/bot-ui
@copilotkit/bot-whatsapp
@copilotkit/core
@copilotkit/react-core
@copilotkit/react-native
@copilotkit/react-textarea
@copilotkit/react-ui
@copilotkit/runtime
@copilotkit/runtime-client-gql
@copilotkit/sdk-js
@copilotkit/shared
@copilotkit/sqlite-runner
@copilotkit/voice
@copilotkit/vue
@copilotkit/web-inspector
commit: |
|
Closing as stale, with the live part carried forward. 3915 commits behind and conflicting, and the 300-file docs/aimock wrapper is not worth a rebase. The source change had not landed: |
Summary
render: ({ name, parameters, status, result }) => ...signature visiblehighlightLinesoffsets so suppress/named snippets highlight the intended API lines, including the null renderer line, without highlighting neighboring code?rows=..., a deterministicshowcase/scriptsreport command, generated PR-tour video recorder, and repo-levelAGENTS.mdinstructions for future PR tour sectionsPR Tour
Generated starting point:
npm --prefix showcase/scripts run pr-tour -- --base origin/main --head HEAD --rows tool-rendering-default-catchall,tool-rendering-custom-catchall,tool-rendering-suppress-catchall,tool-rendering-named-overrideDashboard row-filtered matrix:
tool-rendering rows in matrix
Showcase items changed:
tool-rendering-default-catchall,tool-rendering-custom-catchall,tool-rendering-suppress-catchall,tool-rendering-named-overridebuilt-in-agent,langgraph-python,langgraph-typescript,langgraph-fastapi,google-adk,mastra,crewai-crews,pydantic-ai,claude-sdk-python,claude-sdk-typescript,agno,ag2,llamaindex,strands,langroid,ms-agent-python,ms-agent-dotnet,spring-ai)Video Attachments
Current PR HEAD:
2d4cfb4846. Corrected default/custom tour videos were recorded locally on 2026-06-24 after the feedback about repeated slides, missing relevant code highlights, and single-column coverage. The only commit after recording reconciles harness probe assertions, so the recorded UI/code walkthroughs remain representative of the current pushed branch.Release asset bundle: PR #5509 tour videos @ 2d4cfb4846
Embedding note: GitHub only renders inline video players for PR-description uploads that become
github.com/user-attachments/assets/...URLs. The CLI-accessible artifacts here are GitHub release assets, so each thumbnail links to the video asset. If an authenticated browser editor is available, re-upload these same.webmfiles through the PR description field and replace the links with the embedded attachment URLs.Video status notes:
tool-rendering-suppress-catchallandtool-rendering-named-overridestill need refreshed all-column videos before they are attached. Their previous single-column/prompt-limited assets were removed from this description; the all-column recording path is currently blocked by deployed route 404s for those rows on generated-framework staging routes.Video commands:
npm --prefix showcase/scripts run pr-tour-videos -- --mode showcase --rows tool-rendering-default-catchall,tool-rendering-custom-catchall --backend-host-pattern 'https://showcase-{slug}-staging.up.railway.app' --per-prompt-wait-ms 6000 --output-dir /tmp/copilotkit-pr-tour-default-custom-finalnpm --prefix showcase/scripts run pr-tour-videos -- --mode plan --preset tool-rendering --backend-host-pattern 'https://showcase-{slug}-staging.up.railway.app'Docs URLs for the Loom path:
Verification
Latest post-rebase checks:
npm --prefix showcase/scripts run test -- pr-tour-video-plan— 5 tests passednpx nx run @copilotkit/showcase-harness:typechecknpx nx run @copilotkit/showcase-harness:test -- d5-tool-rendering-default-catchall— 19 tests passednpx nx run @copilotkit/showcase-harness:test— 150 files passed, 3192 tests passed, 18 skippednpm --prefix showcase/shell run buildgit diff --checkEarlier verification on this PR:
pnpm -C showcase/shell-docs run typecheckNX_TUI=false NX_SKIP_NX_CACHE=true pnpm nx run @copilotkit/showcase-harness:test -- src/probes/scripts/d5-tool-rendering-suppress-catchall.test.ts src/probes/scripts/d5-tool-rendering-named-override.test.ts— 16 tests passedNX_TUI=false NX_SKIP_NX_CACHE=true pnpm nx run @copilotkit/showcase-harness:test -- src/probes/helpers/d5-mapping-drift.test.ts src/probes/helpers/d5-representatives.test.ts— 6 tests passednpm --prefix showcase/shell-dashboard test -- dashboard-row-filter feature-grid useOverlays— 61 tests passednpm --prefix showcase/scripts test -- pr-tour-report pr-tour-video-plan— 7 tests passednpm --prefix showcase/scripts run pr-tour -- --base origin/main --head HEAD --rows tool-rendering-default-catchall,tool-rendering-custom-catchall,tool-rendering-suppress-catchall,tool-rendering-named-overridemain-docsplus all non-hidden framework variants with the catch-all page); 0 failures; each had 3 snippet blocks, full signatures, Shiki styling, and the expected highlighted textuseDefaultRenderTool({,render: ({ name, parameters, status, result }) => null,, and});but not the final hook brace; named override highlights the import and null renderer but not the Zod schema line/tmp/copilotkit-catchall-highlight-main-fixed.png,/tmp/copilotkit-catchall-highlight-ms-agent-fixed.png,/tmp/copilotkit-tour-screenshots/tool-rendering-row-filter-dashboard-parity.pngcheck-binaries,lint-fix,test-and-check-packages,commitlintKnown local blockers unrelated to this PR:
npm --prefix showcase/shell-dashboard run typecheckis blocked by an existingsrc/components/__tests__/unified-cell.test.tsxfixture type error (isStaleCelloptional vs required).npm --prefix showcase/scripts exec -- tsc -p showcase/scripts/tsconfig.json --noEmitis blocked by an existingshowcase/scripts/generate-search-index.tstyped-platform error.ruff format --checkcould not run locally becauseruffis not installed in this worktree; the only Python change is a two-entry Google ADK agent alias mapping.