Skip to content

feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild - #8160

Closed
tylerslaton wants to merge 56 commits into
mainfrom
tylerslaton/docs-shell-docs-v2
Closed

tylerslaton wants to merge 56 commits into
mainfrom
tylerslaton/docs-shell-docs-v2

Conversation

@tylerslaton

@tylerslaton tylerslaton commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

WIP - do not merge

What does this PR do?

It replaces showcase/shell-docs with the Fumadocs rebuild of docs.copilotkit.ai, in place. There is no second docs app. The pages stay at showcase/shell-docs/src/content, so git records them as edits to the files that were already there. The plan is to merge this into main and then rebase 2.0.0 on top.

What's in it

  • The new app. It has the Spacious layout and brand theme, and a framework and frontend picker that opens the chosen frontend's page. Each frontend gets its own sidebar (Slack, Teams, Angular, Vue, React Native).
    • Ask CopilotKit runs in the sidebar and at /ask.
    • It adds the standard catalog Story pages and an examples playground. That playground loads its catalog, generated from the showcase data, only on /examples.
    • It also brings Orama search that keeps the reader's scope, an MCP server, llms.txt and Markdown routes (with the demo and setup code inlined), telemetry, and the legacy redirect tables.
  • Pages. main's pages change in only two mechanical ways: page imports are dropped, and pages with sub-pages move to X/index.mdx (13 renames). On top of that, the docs review's fixes are a separate diff, as are a round of accuracy and link fixes from code review.
  • public/. It keeps every file it had on main. Only new icons and logos are added.
  • Code that read the old app's files. The showcase shell's search index keeps the old sidebar-reachability rules in showcase/scripts/lib/docs-searchable, with the old app's tests ported next to them. The shell image and the workflows, tests, skills and docs that named old paths are updated too.

Review fixes (two code reviews)

  • Security: Ask's API route now accepts only info, agent/run, agent/connect and agent/stop, so the thread list, read and wipe calls are rejected.
    • The CopilotKit packages are on 1.84.1, which has the runtime's thread-owner check and the scroll-to-bottom fix (fix(react-core): show scroll-to-bottom only when messages are below #8159), so no patch is needed.
    • Every run is capped: a limit across all readers on top of the per-IP one, size caps on context, state, tools and the whole request, the docs' own tools only, and 10 steps.
  • Routing:
    • Legacy /docs* URLs redirect as on main, and unknown URLs answer 404.
    • Framework landings render instead of redirecting, /intelligence is a 301 again, and Google Antigravity is back.
    • Each framework's docs mode now comes from its manifest.
  • Deploy:
    • The docs deploy check now verifies the runtime config the new app serves (/api/telemetry/config, with a real PostHog key required in production). The old app's server-written Clerk config, which the new app doesn't have, is no longer required.
    • The Docker image smoke-tests itself before it is pushed and runs as node.
    • Hosts (sign-up, Cloud, showcase, demos) come from the environment per request, so staging no longer links to production.
  • CI: test_unit-shell-docs builds and serves the app, then runs the redirect check and a request to every page. The telemetry emitter now finds the new app's trackEvent calls.

What merging does

  • Deploys: showcase_build redeploys shell-docs, so docs.staging.copilotkit.ai serves the new app. It also redeploys shell, dojo, dashboard and the harness, because showcase/scripts/** changed. Production changes only on promote.
  • Telemetry: the registry update after merge will drop 9 docs events the new app doesn't send. Examples: markdown_copied, open_in_llm_clicked, docs.framework_selected, docs.frontend_selected.

Not in this PR

  • A spend-capped OpenAI key and a shared rate-limit store for Ask; the code limits are per instance. Also confirm OPENAI_API_KEY is set on the Railway docs service.
  • Moving the live layout out of src/proto.
  • Held back: the Strands threads-import note on a2uiGenerationToolNames waits for feat(deps): bump @ag-ui/a2ui-middleware to 0.0.15 #8137.

Verification

Run on this branch:

  • shell-docs:
    • npm ci passes on npm 10 and 11, and next build, tsc and oxlint pass.
    • All 947 pages compile.
    • Against next start: check-redirects passes 1000/1000, and check-live-pages 841/841.
  • Repo suites:
    • showcase-scripts 3189/3189, root docs tests 106/106, deprecated imports 8/8, Angular 569/569.
    • The model-name, env-name, config-allowlist and zizmor checks are clean.
  • Spot checks:
    • The thread endpoints return 404.
    • /docs/quickstart returns a 301 to /quickstart.
    • /no-such-page returns 404.
    • The .md exports have no import lines and no raw JSX.

Related PRs and Issues

Checklist

  • I have read the Contribution Guide
  • If the PR changes or adds functionality, I have updated the relevant documentation
  • If the PR contains a breaking change, the title has ! (for example feat(react-core)!: ...) and the description has a BREAKING CHANGE: line with migration steps. See VERSIONING.md
  • "Allow edits by maintainers" is checked (lets us help iterate on your PR directly — faster turnaround for everyone)

BREAKING CHANGE: showcase/shell-docs is a new app. Its scripts, source layout and dev server follow the Fumadocs rebuild; run it with npm install && npm run dev in showcase/shell-docs (see its README).

🤖 Generated with Claude Code

@tylerslaton
tylerslaton requested review from jpr5 and mme as code owners November 3, 2026 01:13
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 43 services digest-pinned.

Run 2026-11-04 03:47:40 PST — 0 finding(s).

@tylerslaton
tylerslaton force-pushed the tylerslaton/docs-shell-docs-v2 branch from 59395dd to 454577e Compare November 3, 2026 01:36
@tylerslaton tylerslaton changed the title docs: fix the live docs and add the Fumadocs rebuild beside them feat(shell-docs-v2): add the Fumadocs rebuild of the docs beside an untouched shell-docs Nov 3, 2026
@pkg-pr-new

pkg-pr-new Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@8160

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@8160

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@8160

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@8160

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@8160

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@8160

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@8160

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@8160

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@8160

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@8160

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@8160

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@8160

@copilotkit/intelligence-langgraph

pnpm add https://pkg.pr.new/@copilotkit/intelligence-langgraph@8160

@copilotkit/intelligence-mastra

pnpm add https://pkg.pr.new/@copilotkit/intelligence-mastra@8160

@copilotkit/learning

pnpm add https://pkg.pr.new/@copilotkit/learning@8160

@copilotkit/mcp-apps-renderer

pnpm add https://pkg.pr.new/@copilotkit/mcp-apps-renderer@8160

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@8160

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@8160

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/@copilotkit/react-textarea@8160

@copilotkit/react-ui

pnpm add https://pkg.pr.new/@copilotkit/react-ui@8160

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@8160

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/@copilotkit/runtime-client-gql@8160

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@8160

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@8160

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@8160

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@8160

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@8160

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@8160

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@8160

commit: c8551cd

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 2.41 MB

ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 472 B
packages/a2ui-renderer/dist/a2ui-types.mjs 469 B
packages/a2ui-renderer/dist/index.cjs 979 B
packages/a2ui-renderer/dist/index.mjs 637 B
packages/a2ui-renderer/dist/index.umd.js 12.8 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.46 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1.03 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 622 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 845 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 435 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.11 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.65 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.58 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 446 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.11 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 919 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 504 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.22 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.15 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 594 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 571 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 989 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 584 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 930 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 875 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 427 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/core/dist/index.cjs 108 kB
packages/core/dist/index.mjs 107 kB
packages/core/dist/index.umd.js 114 kB
packages/mcp-apps-renderer/dist/activity.cjs 259 B
packages/mcp-apps-renderer/dist/activity.mjs 170 B
packages/mcp-apps-renderer/dist/activity.umd.js 2.24 kB
packages/mcp-apps-renderer/dist/constants.cjs 714 B
packages/mcp-apps-renderer/dist/constants.mjs 712 B
packages/mcp-apps-renderer/dist/content-schema.cjs 768 B
packages/mcp-apps-renderer/dist/content-schema.mjs 765 B
packages/mcp-apps-renderer/dist/follow-up.cjs 796 B
packages/mcp-apps-renderer/dist/follow-up.mjs 794 B
packages/mcp-apps-renderer/dist/index.mjs 369 B
packages/mcp-apps-renderer/dist/request-queue.mjs 2.39 kB
packages/mcp-apps-renderer/dist/sandbox.mjs 2 kB
packages/mcp-apps-renderer/dist/session.mjs 6.91 kB
packages/react-core/dist/copilotkit-BezhVj0g.mjs 156 kB
packages/react-core/dist/copilotkit-BvZwkY5s.cjs 152 kB
packages/react-core/dist/index.cjs 17.9 kB
packages/react-core/dist/index.mjs 17.8 kB
packages/react-core/dist/index.umd.js 114 kB
packages/react-core/dist/MarkdownSurfaces-DV9P0Gi9.mjs 38 kB
packages/react-core/dist/MarkdownSurfaces-IUaWSJ0E.cjs 38.6 kB
packages/react-core/dist/v2/context.cjs 1.58 kB
packages/react-core/dist/v2/context.mjs 1.5 kB
packages/react-core/dist/v2/generative-ui.cjs 70.7 kB
packages/react-core/dist/v2/generative-ui.mjs 70.1 kB
packages/react-core/dist/v2/headless.cjs 17.7 kB
packages/react-core/dist/v2/headless.mjs 17.2 kB
packages/react-core/dist/v2/index.cjs 4.34 kB
packages/react-core/dist/v2/index.mjs 4.33 kB
packages/react-core/dist/v2/index.umd.js 188 kB
packages/react-native/dist/chunk-C0xms8kb.cjs 546 B
packages/react-native/dist/components/index.cjs 8.8 kB
packages/react-native/dist/components/index.mjs 8.61 kB
packages/react-native/dist/CopilotKitProvider-CjoPnabW.cjs 1.55 kB
packages/react-native/dist/CopilotKitProvider-D8sn7G_C.mjs 1.43 kB
packages/react-native/dist/headless.cjs 632 B
packages/react-native/dist/headless.mjs 373 B
packages/react-native/dist/index.cjs 6.79 kB
packages/react-native/dist/index.mjs 6.4 kB
packages/react-native/dist/polyfills.cjs 193 B
packages/react-native/dist/polyfills.mjs 195 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 332 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 371 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-Bm91EsRc.cjs 2.36 kB
packages/react-native/dist/streaming-fetch-Dm1oN4f2.mjs 2.31 kB
packages/react-textarea/dist/index.cjs 17.7 kB
packages/react-textarea/dist/index.mjs 17 kB
packages/react-textarea/dist/index.umd.js 18.5 kB
packages/react-ui/dist/index.cjs 25.3 kB
packages/react-ui/dist/index.mjs 24.6 kB
packages/react-ui/dist/index.umd.js 26.6 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-catalog-schema.cjs 4.01 kB
packages/shared/dist/a2ui-catalog-schema.mjs 3.94 kB
packages/shared/dist/a2ui-envelope.cjs 2.44 kB
packages/shared/dist/a2ui-envelope.mjs 2.42 kB
packages/shared/dist/a2ui-prompts.cjs 4.57 kB
packages/shared/dist/a2ui-prompts.mjs 4.54 kB
packages/shared/dist/attachments/content.cjs 255 B
packages/shared/dist/attachments/content.mjs 253 B
packages/shared/dist/attachments/utils.cjs 1.83 kB
packages/shared/dist/attachments/utils.mjs 1.79 kB
packages/shared/dist/constants/index.cjs 501 B
packages/shared/dist/constants/index.mjs 480 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/event-transforms/index.cjs 335 B
packages/shared/dist/event-transforms/index.mjs 165 B
packages/shared/dist/event-transforms/open-generative-ui-middleware.cjs 2.42 kB
packages/shared/dist/event-transforms/open-generative-ui-middleware.mjs 2.35 kB
packages/shared/dist/event-transforms/recorded-events.cjs 988 B
packages/shared/dist/event-transforms/recorded-events.mjs 925 B
packages/shared/dist/finalize-events.cjs 1.94 kB
packages/shared/dist/finalize-events.mjs 1.88 kB
packages/shared/dist/generative-ui/basic-functions.cjs 2.5 kB
packages/shared/dist/generative-ui/basic-functions.mjs 2.45 kB
packages/shared/dist/generative-ui/child-refs.cjs 2.34 kB
packages/shared/dist/generative-ui/child-refs.mjs 2.27 kB
packages/shared/dist/generative-ui/compact-schema.cjs 2.97 kB
packages/shared/dist/generative-ui/compact-schema.mjs 2.94 kB
packages/shared/dist/generative-ui/is-record.cjs 226 B
packages/shared/dist/generative-ui/is-record.mjs 223 B
packages/shared/dist/generative-ui/prompt-spec.cjs 8.13 kB
packages/shared/dist/generative-ui/prompt-spec.mjs 8.1 kB
packages/shared/dist/generative-ui/prompt.cjs 1.64 kB
packages/shared/dist/generative-ui/prompt.mjs 1.6 kB
packages/shared/dist/generative-ui/render-ui-args.cjs 1.48 kB
packages/shared/dist/generative-ui/render-ui-args.mjs 1.46 kB
packages/shared/dist/generative-ui/schema-render.cjs 3.91 kB
packages/shared/dist/generative-ui/schema-render.mjs 3.87 kB
packages/shared/dist/generative-ui/types.cjs 1.57 kB
packages/shared/dist/generative-ui/types.mjs 1.51 kB
packages/shared/dist/generative-ui/validate-operation.cjs 5.61 kB
packages/shared/dist/generative-ui/validate-operation.mjs 5.55 kB
packages/shared/dist/index.cjs 4.13 kB
packages/shared/dist/index.mjs 3.46 kB
packages/shared/dist/index.umd.js 65.6 kB
packages/shared/dist/intelligence-routing-fields.cjs 778 B
packages/shared/dist/intelligence-routing-fields.mjs 775 B
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/open-generative-ui-prompts.cjs 1.59 kB
packages/shared/dist/open-generative-ui-prompts.mjs 1.59 kB
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/index.cjs 358 B
packages/shared/dist/telemetry/index.mjs 250 B
packages/shared/dist/telemetry/lambda-client.cjs 1.59 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.58 kB
packages/shared/dist/telemetry/model-host.cjs 1.63 kB
packages/shared/dist/telemetry/model-host.mjs 1.63 kB
packages/shared/dist/telemetry/sampling.cjs 956 B
packages/shared/dist/telemetry/sampling.mjs 935 B
packages/shared/dist/telemetry/telemetry-client.cjs 1.89 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.83 kB
packages/shared/dist/telemetry/telemetry-disabled.cjs 454 B
packages/shared/dist/telemetry/telemetry-disabled.mjs 451 B
packages/shared/dist/telemetry/utils.cjs 271 B
packages/shared/dist/telemetry/utils.mjs 268 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.23 kB
packages/shared/dist/utils/console-styling.mjs 1.21 kB
packages/shared/dist/utils/dashboard-url.cjs 415 B
packages/shared/dist/utils/dashboard-url.mjs 413 B
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.5 kB
packages/shared/dist/utils/index.mjs 1.82 kB
packages/shared/dist/utils/inspector-learning.cjs 2.74 kB
packages/shared/dist/utils/inspector-learning.mjs 2.73 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.44 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.43 kB
packages/shared/dist/utils/inspector-visibility.cjs 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/row-render-keys.cjs 3.38 kB
packages/shared/dist/utils/row-render-keys.mjs 3.36 kB
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/components/generative-ui-view.cjs 7.95 kB
packages/web-inspector/dist/components/generative-ui-view.mjs 7.93 kB
packages/web-inspector/dist/components/learning-view.cjs 11.2 kB
packages/web-inspector/dist/components/learning-view.mjs 11.2 kB
packages/web-inspector/dist/index.cjs 132 kB
packages/web-inspector/dist/index.mjs 132 kB
packages/web-inspector/dist/index.umd.js 209 kB
packages/web-inspector/dist/lib/context-helpers.cjs 866 B
packages/web-inspector/dist/lib/context-helpers.mjs 835 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.8 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.79 kB
packages/web-inspector/dist/lib/hud-config.cjs 1.34 kB
packages/web-inspector/dist/lib/hud-config.mjs 1.33 kB
packages/web-inspector/dist/lib/hud-defaults.cjs 287 B
packages/web-inspector/dist/lib/hud-defaults.mjs 285 B
packages/web-inspector/dist/lib/hud-loader.cjs 557 B
packages/web-inspector/dist/lib/hud-loader.mjs 546 B
packages/web-inspector/dist/lib/inspector-learning.cjs 754 B
packages/web-inspector/dist/lib/inspector-learning.mjs 732 B
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 685 B
packages/web-inspector/dist/lib/inspector-nav.mjs 661 B
packages/web-inspector/dist/lib/json-block.cjs 1.95 kB
packages/web-inspector/dist/lib/json-block.mjs 1.91 kB
packages/web-inspector/dist/lib/learning-setup.cjs 1.12 kB
packages/web-inspector/dist/lib/learning-setup.mjs 1.09 kB
packages/web-inspector/dist/lib/notification-loader.cjs 792 B
packages/web-inspector/dist/lib/notification-loader.mjs 786 B
packages/web-inspector/dist/lib/notifications.cjs 2.39 kB
packages/web-inspector/dist/lib/notifications.mjs 2.37 kB
packages/web-inspector/dist/lib/onboarding-prompt.cjs 2.38 kB
packages/web-inspector/dist/lib/onboarding-prompt.mjs 2.37 kB
packages/web-inspector/dist/lib/persistence.cjs 3.61 kB
packages/web-inspector/dist/lib/persistence.mjs 3.52 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 5.59 kB
packages/web-inspector/dist/lib/telemetry.mjs 5.38 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 20.1 kB
packages/web-inspector/dist/styles/generated.mjs 20 kB
packages/web-inspector/dist/styles/notification-article.cjs 1.44 kB
packages/web-inspector/dist/styles/notification-article.mjs 1.44 kB

compressed-size-action

tylerslaton and others added 3 commits November 3, 2026 12:27
docs.copilotkit.ai moves to a from-scratch rebuild on Fumadocs 16. It
replaces the old app in showcase/shell-docs instead of sitting beside it,
so the docs keep one home and one history.

- The pages stay in src/content. Components resolve by name, so page
  imports are dropped except `.mdx` snippets, and a page with sub-pages
  moves to `X/index.mdx`. Otherwise this commit leaves the pages as they
  were.
- Spacious docs layout and a home page in the copilotkit.ai brand, with
  a framework picker, a sidebar per topic, and SDK and partner logos.
- Ask CopilotKit, in the sidebar and as a full page at /ask.
- Standard catalog component pages on Fumadocs Story, an examples
  playground that embeds the showcase demos, Orama search, an MCP
  server, llms.txt and Markdown routes, telemetry, and the legacy
  redirect tables.
- public/ keeps only icons and the images pages show; page images go
  through Git LFS.
- The Dockerfile builds the app from the repo root for the docs service
  (port 10000, the commit and branch build args, the Node 22.23.4 check)
  and fetches LFS images when the checkout has pointer files.
- patches/ carries the react-core scroll-to-bottom fix from #8159 until
  a release with it is installed.

BREAKING CHANGE: showcase/shell-docs is a new app. Its scripts, source
layout and dev port (3003) follow the Fumadocs rebuild; see its README.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ss the docs

Every docs page was graded against the source in two passes, and its
findings fixed:

- Accuracy: wrong hook, prop, and option names; defaults the code does
  not have; samples that did not compile or run; broken links and
  anchors.
- Structure: each page opens on the reader's problem and ends on a
  result they can check, rewritten to simple-english rules, with no em
  or en dashes, exclamation marks, or preambles.
- Visual: full-width images, code samples cut to the part the prose
  explains, readable tables, and cards in place of hand-built boxes.
- Removed the retired ai-todo-app and ai-powered-textarea tutorials
  (their URLs already redirect), a stale duplicate useCapabilities page,
  and four unused snippets.
- Build with agents shows MCP setup in one tab per coding tool, and
  What's new drops the MCP Apps video that no host serves.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Code outside showcase/shell-docs read files the old app had. Now:

- The showcase shell's search index keeps its "reachable from a sidebar"
  rules in showcase/scripts/lib/docs-searchable (moved unchanged from the
  old app, which no longer has them), run with shell-docs as the working
  directory. The shell image no longer stages shell-docs' lib, scripts
  and tsconfig.
- test_unit-shell-docs runs the new app's checks: showcase data,
  typecheck, lint, and a compile of every page.
- The docs-prompt telemetry pin reads the onboarding events from the new
  prompt component; verify-shell-docs reads its named snippets; the
  hosting test checks that showcase-data bundles Angular, not Vue,
  source.
- The config allowlist names next.config.mjs, the Mastra A2UI workflow
  watches the new snippet renderer, and docs, skills and comments point
  at the new files.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@tylerslaton
tylerslaton force-pushed the tylerslaton/docs-shell-docs-v2 branch from ae2f387 to 9468598 Compare November 3, 2026 20:28
@tylerslaton tylerslaton changed the title feat(shell-docs-v2): add the Fumadocs rebuild of the docs beside an untouched shell-docs feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild Nov 3, 2026
tylerslaton and others added 15 commits November 3, 2026 12:33
The docs review had added deprecated v1 imports to 14 pages (the LangGraph
agent-native-app tutorial, migrate/1.8.2, and v1 reference samples), and
scripts/docs-deprecated-imports-baseline.json may only shrink. Those pages
keep their main version, and the baseline drops the 12 entries the review
removed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The checkout has Git LFS pointer files for the images in public/, and
compiling a page reads the size of each image it shows.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
actions/setup-dotnet moved its v6 tag to v6.1.0, so the `# v6` comments
on our v6.0.0 pin (a98b5685) no longer match and zizmor fails
ref-version-mismatch on every PR that touches a workflow. The pinned
commit is unchanged; the comments now say v6.0.0.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
doc-tests joins every block on a page that shares a title into one file.
The built-in agent MCP Apps page now shows a second, alternative route file
for Intelligence, so the test compiled both together and failed. Only the
first block is a doc test now.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…and the public/ cleanup

- The Fumadocs scaffold pages under content/ (/docs: a starter
  quickstart, the theme sheet and the design-ideas pages) and their
  routes, the /proto variant pages, and the .impeccable design-tool state
  are prototype leftovers, so they go with the code only they used.
- patches/ and patch-package are gone. The scroll-to-bottom fix they
  carried for @copilotkit/react-core 1.82.0 ships in a release instead.
- public/ keeps every file it had on main; only the new icons and logos
  are added, so no v1 asset URL breaks. The app's .gitattributes, which
  moved existing webp and svg files into LFS, is gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…cker

The stack picker's frontend row only wrote the choice to localStorage, so
on /mastra/frontend-tools picking Vue relabelled the picker while the page,
which takes its frontend from the URL, still rendered React.

The row now shows the URL's frontend (React when it names none) and opens
the same page under the one picked, mapped as shell-docs' picker did:
/mastra/frontend-tools on Vue is /vue/mastra/frontend-tools, and an app
page switched to Slack or Teams opens the channel's overview. A page only
another frontend has (an Angular guide on Vue, a Slack guide on React)
redirects to that frontend's quickstart instead of a 404. The picker now
also renders on frontend URLs, and the framework row keeps the frontend.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…r does

ProtoStackAgent's switch tool saved the frontend to localStorage and pushed
a framework URL without the frontend prefix, so the agent could say it
opened the docs on Vue while the page rendered React.

It now reads the frontend from the URL, like the stack picker, and opens
the same page on the new stack: a new framework keeps the URL's frontend
(/vue/mastra/x to /vue/langgraph-python/x), and a new frontend goes
through frontendHref (/mastra/x on Vue is /vue/mastra/x, on Slack the
channel's overview).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Every frontend URL got React's sidebar, so /slack and /angular listed
107 React links and missed /slack/connect, /slack/tools and the Angular
guides. Port v1's frontend navigation: Slack and Teams get the channel
guide, React Native its quickstart and reference, and Vue and Angular
React's sidebar cut to the pages their frontend policy says they serve,
with Angular's guides added and React topics they cover folded in.

The layout now carries each frontend's served pages, read from page
frontmatter and the meta.json `frontend` policy the meta schema now
keeps. /vue/using-these-docs opens Vue's own page, as v1 did.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The old reference route opened every reference/v1 page with a deprecation
warning linking to the v2 migration guide and the export map. LiveArticle
dropped it, so only the Markdown export still carried it.

The notice text now lives in src/lib/v1-deprecation.ts, and both the HTML
page and the Markdown export read it from there.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…e-launch notes

No page uses StackVariants, and it throws without a stack provider, so it
leaves the MDX map. PRODUCT.md no longer says the app is not deployed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… the sidebar

Fumadocs shows a folder's index.mdx as the folder's page whether or not its
meta.json lists "index", and the docs pages no longer list it. The search
index rules required the entry, so the ADK and CrewAI Flows human-in-the-loop
pages dropped out of the showcase shell's header search.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…current files

- skills/intelligence-docs lists live-sidebar.ts, which hard-codes the
  Intelligence sidebar, and describes the current cards and hero.
- Comments in the search-index generator and its rules name the files that
  exist now, and the generator no longer sets a NODE_PATH that does nothing
  for this ESM package.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Page Markdown (`.md`, llms-full.txt, MCP get_page) left <Snippet>,
<FrameworkSetup>, <AngularSnippet> and <InlineDemo> as tags and kept every
<FrontendOnly>, <WhenAngularBackend> and <WhenFrameworkHas> branch, so
machine readers got none of the showcase code and all of the mutually
exclusive variants.

The renderer now resolves them for the page's framework and frontend, the
way the page does: code as fenced blocks titled with the file, the
framework's setup MDX inlined, the branches the page hides dropped, and
the missing-demo note when the framework lacks the page's cell. The
<Snippet>, <InlineDemo>, setup and gate lookups move into pure functions
the components and the Markdown share, so the two can't drift.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
6cb5e9c reset these pages to main to keep the deprecated-import
baseline from growing, which also dropped the review's corrections. They
are back, minus the 15 import lines the ratchet counts:

- v1 adapter samples no longer end in a module-level return. They build
  serviceAdapter and say where it goes, without importing the deprecated
  copilotRuntimeNextJSAppRouterEndpoint.
- useCopilotChat marks id, headers, initialMessages, makeSystemMessage and
  disableSystemMessage as ignored, and lists isAvailable.
- useCopilotAction documents the optional handler, "*", "frontend",
  webmcp and the render return type.
- migrate/1.8.2 gets the typo fix, the slots link and the preview.
- The agent-native-app steps use the tutorial repo's file names, labels
  and pins.

The baseline is unchanged: 81 known, 0 new.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
tylerslaton and others added 3 commits November 3, 2026 14:21
The allowlist's recognize tier is every real model name the docs may
mention, and the docs app's own agent (src/lib/docs-agent.ts) runs on
gpt-6-luna, which it didn't list. The validator reads the docs and the
starters, not the app's source, so nothing failed; the list was just out of
date. Whether it belongs in ship, the tier starters may pin, is a separate
call.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…iption

/examples renders the playground, but its metadata came from the hidden
examples.mdx page ("CopilotKit in Action").

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…exports

Fumadocs builds a page's processed Markdown from its source plus each
remark plugin's edits. remarkInlineSnippets swapped snippet nodes into the
tree without telling it, so the export kept the `.mdx` import lines and
the snippet tags, and the snippets' heading IDs landed at the same offsets
of the page: mid-sentence, inside code, or inside a tag
(`<BuildWithAge [#mcp-docs-server]nts />`), which then never inlined.
The plugin now embeds each snippet's source (`embedSource`) and drops the
imports it removes (`replaceSource`).

Framework landings exported their `<FrameworkOverview>` JSX. A remark
plugin now writes it out as Markdown: the hero, the capabilities with
their links, the CLI and quickstart, and the "Connect your agent" code,
with links scoped to the URL's framework.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
AlemTuzlak and others added 7 commits November 4, 2026 12:33
A nested .oxlintrc.json replaces the root config for its subtree, so the
root lint stopped applying copilotkit/no-public-env-shell-read and the
correctness and suspicious categories to showcase/shell-docs. Declare
them in the nested config with app-relative globs.

The guard test passed -c, which turns nested configs off and hid this.
Lint the fixtures the way pnpm run lint does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every non-text message part counted as an image and was left out of the
request size cap, but the runtime also passes document, audio, video
and binary parts to the model, and fetches URL sources. A few hundred
bytes of JSON could point the model at large files on every step.
Reject any attachment that is not an image with inline data, which is
what CopilotChat sends.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With one navbar menu open, hovering another trigger switches the popup
to it, but Base UI 1.9 then forgets that a hover opened it. The click
that usually follows closed the menu the reader had just reached, so a
second click was needed. Give a hover switch the same 500ms grace Base
UI already gives a hover that opens a closed menu.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rebuild dropped four docs events whose controls still exist. Send
them again with the old names and properties, so the PostHog dashboards
keep working:
- markdown_copied and open_in_llm_clicked from the page actions
  (Fumadocs MarkdownCopyButton and ViewOptionsPopover)
- docs.frontend_selected and docs.framework_selected from the sidebar
  stack picker

The other dropped events belong to controls the rebuild no longer has,
so the analytics comment now says which are gone instead of claiming
exact parity.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar menus were the only see-through surface in the docs: frosted
glass with a sky-to-lilac wash, translucent cards and white glyphs on
blue tiles. Their color changed with whatever was behind them, and they
broke the design rules every other surface follows.

Draw them as the home page draws its card grids: the solid lilac-grey
tray with its rim, white cards borderless at rest with the lilac
border-action edge on hover, and plain plum glyphs that turn lilac on
hover. Drop the unused GlyphTile component and the frost token, and
update DESIGN.md to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The repo's docs/ symlink points at showcase/shell-docs, so the root lint
also loaded the nested .oxlintrc.json through docs/, where its relative
jsPlugins path left the repo and the oxlint job failed. Drop the nested
config, as on main, so the root lint applies the root rules to
shell-docs again, and point the app's own npm run lint at the root
config.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
AlemTuzlak
AlemTuzlak previously approved these changes Nov 4, 2026

@AlemTuzlak AlemTuzlak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and ran locally. I pushed fixes for the lint config (the root rules apply to shell-docs again), Ask attachment caps (inline images only), switching between navbar menus, four analytics events that were dropped, and navbar menu styling consistent with the rest of the app. All checks pass on c8551cd.

mxmzb
mxmzb previously approved these changes Nov 4, 2026
@AlemTuzlak
AlemTuzlak enabled auto-merge November 4, 2026 12:28
mme
mme previously approved these changes Nov 4, 2026
…mage

Railway rejects the flag ("flag '--network=none' is not supported"), so
the docs PR preview build fails before it starts. The page-render check
still runs on every image build; it only talks to loopback.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tylerslaton
tylerslaton dismissed stale reviews from mme, mxmzb, and AlemTuzlak via c2f0ce6 November 4, 2026 18:51
@tylerslaton tylerslaton closed this Nov 4, 2026
auto-merge was automatically disabled November 4, 2026 18:55

Pull request was closed

@tylerslaton tylerslaton reopened this Nov 4, 2026
@tylerslaton tylerslaton closed this Nov 4, 2026
@tylerslaton

Copy link
Copy Markdown
Contributor Author

See #8214

tylerslaton added a commit that referenced this pull request Nov 12, 2026
One PR for the docs rebuild. It replaces #8214 and the
`tylerslaton/docs-shell-docs-v2` stack (#8320, #8321, #8322, #8325),
which had drifted onto two branches with different work on each. Both
old branches stay on origin, unchanged, as archives.

## What does this PR do?

It replaces `showcase/shell-docs` with the Fumadocs rebuild of
docs.copilotkit.ai, in place. There is no second docs app. The pages
stay at `showcase/shell-docs/src/content`, so git records them as edits
to the files that were already there. The plan is to merge this into
`main` and then rebase `2.0.0` on top.

### How this branch was put together
- **Base:** today's `main` (`4d647b76e8`).
- **#8214's 64 commits**, unchanged. `main`'s 8 newer commits don't
touch the docs or the showcase, so they replayed cleanly.
- **The stack's 19 commits** from `docs-shell-docs-v2`, on top. Where
they met work that #8214 had and the stack didn't, the conflicts were
resolved by hand, and each commit message says what changed:
- **Model pins.** The stack's setup snippets were written before #8214
pinned `gpt-6-luna`. A new last commit pins the 32 setup files the same
way the rest of the docs and each integration's own agent code do.
- **Angular.** `main`'s native generative UI guide
(`/angular/guides/generative-ui-components`) moves to
`/angular/generative-ui/native`, like the other Angular guides. It gets
a redirect and a row in the Angular generative UI overview.
- **Dark mode.** The `globals.css` sync and the scroll fix are applied
on top of `main`'s dark mode. They also cover `openai-agents-python`,
which `main` added since.
- **Checked:** every commit of both old branches has a counterpart here,
and a file-by-file three-way check found no content from either branch
missing. The few differences are newer `main` work (for example
`setup-dotnet` v6.1.0), #8214's adaptations to `main`, and the model
pins.

### What's in it
- **The new app.** It has the Spacious layout and brand theme, and a
framework and frontend picker that opens the chosen frontend's page.
Each frontend gets its own sidebar (Slack, Teams, Angular, Vue, React
Native).
  - Ask CopilotKit runs in the sidebar and at `/ask`.
- It adds the standard catalog Story pages and an examples playground.
That playground loads its catalog, generated from the showcase data,
only on `/examples`.
- It also brings Orama search that keeps the reader's scope, an MCP
server, llms.txt and Markdown routes (with the demo and setup code
inlined), telemetry, and the legacy redirect tables.
- **Pages.** `main`'s pages change in only two mechanical ways: page
imports are dropped, and pages with sub-pages move to `X/index.mdx` (13
renames). On top of that, the docs review's fixes are a separate diff,
as are a round of accuracy and link fixes from code review.
- **`public/`.** It keeps every file it had on `main`. Only new icons
and logos are added.
- **Code that read the old app's files.** The showcase shell's search
index keeps the old sidebar-reachability rules in
`showcase/scripts/lib/docs-searchable`, with the old app's tests ported
next to them. The shell image and the workflows, tests, skills and docs
that named old paths are updated too.

### From the stack (#8320–#8325)
- **One page per feature.** Each framework's copies of the shared pages
fold into the shared pages, which gate sections on the showcase's
supported features. The setup steps the copies carried move into each
integration's `docs/setup/*.mdx`. Stale URLs redirect, and a folded page
a framework can't show sends readers to that framework's overview.
- **Frontends by one rule.** Each frontend gets the pages it has, and
each page is listed and indexed once. The showcase decides a frontend's
own feature pages too.
- **Angular and React Native at React's URLs.** Angular's eight combined
guides become pages at React's slugs, with one-hop redirects from
`/angular/guides/*`. React Native gets 19 feature pages. The showcase
search reads both from their React slugs. The app frontends' "Using
these docs" pages and Angular's feature catalog page are gone.
- **Showcase demos.** Full-page chats fill the page in every
integration. Every integration's `globals.css` is now
langgraph-python's, `create-integration` copies it, and a test fails on
drift. The three tall demo pages scroll inside the page.
- **CrewAI docs links** point at the folded pages, and their test finds
pages in the `(shared)` route group.

### Review fixes (two code reviews)
- **Security:** Ask's API route now accepts only `info`, `agent/run`,
`agent/connect` and `agent/stop`, so the thread list, read and wipe
calls are rejected.
- The CopilotKit packages are on 1.84.1, which has the runtime's
thread-owner check and the scroll-to-bottom fix (#8159), so no patch is
needed.
- Every run is capped: a limit across all readers on top of the per-IP
one, size caps on context, state, tools and the whole request, the docs'
own tools only, and 10 steps.
- **Routing:**
- Legacy `/docs*` URLs redirect as on `main`, and unknown URLs answer
404.
- Framework landings render instead of redirecting, `/intelligence` is a
301 again, and Google Antigravity is back.
  - Each framework's docs mode now comes from its manifest.
- **Deploy:**
- The docs deploy check now verifies the runtime config the new app
serves (`/api/telemetry/config`, with a real PostHog key required in
production). The old app's server-written Clerk config, which the new
app doesn't have, is no longer required.
- The Docker image smoke-tests itself before it is pushed and runs as
`node`.
- Hosts (sign-up, Cloud, showcase, demos) come from the environment per
request, so staging no longer links to production.
- **CI:** `test_unit-shell-docs` builds and serves the app, then runs
the redirect check and a request to every page. The telemetry emitter
now finds the new app's `trackEvent` calls.

### Carried over from `main`
The rebuild uses `main`'s shared theme bridge from
`showcase/integrations/_shared/ts/theme.ts`. Where `main` had changed
the old app or the same pages, its changes are carried into the rebuild
in their own commits:
- **Models:** `main` moved every OpenAI sample to `gpt-6-luna` and made
it the only OpenAI model the allowlist ships. This branch's samples
follow, with `main`'s `reasoning_effort="none"` call shapes.
- **Generative UI:** `main`'s Angular, Vue and React Native additions to
the component guides, the React Native guide and its reference are kept.
Its two docs-pinning tests (`react-native-generative-ui-docs`,
`vue-generative-ui-docs`) now run in the showcase-scripts suite, under
`__tests__/docs-content`.
- **Telemetry:** `main`'s personless, bot-filterable `docs_pageview` and
`seo_redirect` (cookie `ph_docs_id`) are ported into
`src/lib/telemetry/proxy.ts`.
- **llms.txt:** `main`'s OpenBot section is in the new index.
- **Antigravity:** the real Antigravity mark from `main` is used.

## What merging does
- **Deploys:** `showcase_build` redeploys shell-docs, so
docs.staging.copilotkit.ai serves the new app. It also redeploys shell,
dojo, dashboard, the harness and every integration whose files changed.
Production changes only on promote.
- **Telemetry:** the registry update after merge will drop 9 docs events
the new app doesn't send. Examples: `markdown_copied`,
`open_in_llm_clicked`, `docs.framework_selected`,
`docs.frontend_selected`.

## Not in this PR
- A spend-capped OpenAI key and a shared rate-limit store for Ask; the
code limits are per instance. Also confirm `OPENAI_API_KEY` is set on
the Railway docs service.
- Moving the live layout out of `src/proto`.
- Held back: the Strands `threads-import` note on
`a2uiGenerationToolNames` waits for #8137.
- Two showcase integrations still link to docs pages that no longer
exist in `docs-links.json`: spring-ai (2 links) and built-in-agent (1).
No test checks them.

## Verification
Run on this branch:
- **shell-docs** (the `test_unit-shell-docs` steps):
  - `showcase-data`, `tsc`, oxlint, the LFS fetch and `next build` pass.
  - All 616 pages compile.
- Against `next start`: `check-redirects` passes 1034/1034, and
`check-live-pages` 506/506.
- **Repo suites:**
- showcase-scripts 3464/3464, including the `globals.css` drift guard
across all 23 integrations and `main`'s two generative UI docs tests.
  - The CrewAI docs-link tests pass for both CrewAI integrations.
  - The packaged-skill drift checks pass 8/8.
- The deprecated-import ratchet passes 8/8. Its baseline is regenerated
for the moved pages and shrinks from 81 to 74 entries, with nothing new
taught.
  - The model-name and Intelligence env-name checks are clean.
- **Nothing lost:**
- `git range-diff` pairs all 64 of #8214's commits unchanged. 72 of the
stack branch's 75 have a counterpart. The other three are a
`setup-dotnet` comment fix (superseded by `main`'s v6.1.0 pin), its
`gpt-6-luna` allowlist commit (covered by #8214's own), and the scroll
fix, rewritten here on top of dark mode.
- A three-way check of every file either branch changed found nothing
missing. The differences that remain are newer `main` work, the folded
pages, and the model pins.

## Related PRs and Issues
- Replaces #8214 (and #8160 before it), and the stack #8320, #8321,
#8322 and #8325, which merged into `tylerslaton/docs-shell-docs-v2`.
- Supersedes #8162 (its Dockerfile and LFS fetch are here).

## Checklist

- [x] I have read the [Contribution
Guide](https://github.com/copilotkit/copilotkit/blob/master/CONTRIBUTING.md)
- [x] If the PR changes or adds functionality, I have updated the
relevant documentation
- [x] If the PR contains a breaking change, the title has `!` (for
example `feat(react-core)!: ...`) and the description has a `BREAKING
CHANGE:` line with migration steps. See
[VERSIONING.md](https://github.com/CopilotKit/CopilotKit/blob/main/VERSIONING.md)
- [x] "Allow edits by maintainers" is checked (lets us help iterate on
your PR directly — faster turnaround for everyone)

BREAKING CHANGE: `showcase/shell-docs` is a new app. Its scripts, source
layout and dev server follow the Fumadocs rebuild; run it with `npm
install && npm run dev` in `showcase/shell-docs` (see its README).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

This branch had an error being deployed

1 failed deployment
showcase / CopilotKit-pr-8214 — c2f0ce6a Deployed Nov 4, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants