Repository navigation
feat(shell-docs)!: replace shell-docs with the Fumadocs rebuild - #8160
Closed
tylerslaton wants to merge 56 commits into
Closed
tylerslaton wants to merge 56 commits into
tylerslaton wants to merge 56 commits into
Conversation
Contributor
WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
Contributor
Production Digest-Pinning AuditAll 43 services digest-pinned. Run 2026-11-04 03:47:40 PST — 0 finding(s). |
tylerslaton
force-pushed
the
tylerslaton/docs-shell-docs-v2
branch
from
November 3, 2026 01:36
59395dd to
454577e
Compare
@copilotkit/a2ui-renderer
@copilotkit/agentcore-runner
@copilotkit/angular
@copilotkit/channels
@copilotkit/channels-core
@copilotkit/channels-discord
@copilotkit/channels-intelligence
@copilotkit/channels-slack
@copilotkit/channels-teams
@copilotkit/channels-ui
@copilotkit/channels-whatsapp
@copilotkit/core
@copilotkit/intelligence-langgraph
@copilotkit/intelligence-mastra
@copilotkit/learning
@copilotkit/mcp-apps-renderer
@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-components
@copilotkit/web-inspector
commit: |
Contributor
|
Size Change: 0 B Total Size: 2.41 MB ℹ️ View Unchanged
|
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
force-pushed
the
tylerslaton/docs-shell-docs-v2
branch
from
November 3, 2026 20:28
ae2f387 to
9468598
Compare
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]>
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]>
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]>
tylerslaton
requested review from
rainerhahnekamp and
wolfmanfx
as code owners
November 3, 2026 22:27
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
previously approved these changes
Nov 4, 2026
AlemTuzlak
left a comment
Contributor
There was a problem hiding this comment.
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
previously approved these changes
Nov 4, 2026
AlemTuzlak
enabled auto-merge
November 4, 2026 12:28
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
dismissed stale reviews from mme, mxmzb, and AlemTuzlak
via
November 4, 2026 18:51
c2f0ce6
auto-merge was automatically disabled
November 4, 2026 18:55
Pull request was closed
4 tasks done
Contributor
Author
|
See #8214 |
4 tasks done
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
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.
WIP - do not merge
What does this PR do?
It replaces
showcase/shell-docswith the Fumadocs rebuild of docs.copilotkit.ai, in place. There is no second docs app. The pages stay atshowcase/shell-docs/src/content, so git records them as edits to the files that were already there. The plan is to merge this intomainand then rebase2.0.0on top.What's in it
/ask./examples.main's pages change in only two mechanical ways: page imports are dropped, and pages with sub-pages move toX/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 onmain. Only new icons and logos are added.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)
info,agent/run,agent/connectandagent/stop, so the thread list, read and wipe calls are rejected./docs*URLs redirect as onmain, and unknown URLs answer 404./intelligenceis a 301 again, and Google Antigravity is back./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.node.test_unit-shell-docsbuilds and serves the app, then runs the redirect check and a request to every page. The telemetry emitter now finds the new app'strackEventcalls.What merging does
showcase_buildredeploys shell-docs, so docs.staging.copilotkit.ai serves the new app. It also redeploys shell, dojo, dashboard and the harness, becauseshowcase/scripts/**changed. Production changes only on promote.markdown_copied,open_in_llm_clicked,docs.framework_selected,docs.frontend_selected.Not in this PR
OPENAI_API_KEYis set on the Railway docs service.src/proto.threads-importnote ona2uiGenerationToolNameswaits for feat(deps): bump @ag-ui/a2ui-middleware to 0.0.15 #8137.Verification
Run on this branch:
npm cipasses on npm 10 and 11, andnext build,tscand oxlint pass.next start:check-redirectspasses 1000/1000, andcheck-live-pages841/841./docs/quickstartreturns a 301 to/quickstart./no-such-pagereturns 404..mdexports have no import lines and no raw JSX.Related PRs and Issues
Checklist
!(for examplefeat(react-core)!: ...) and the description has aBREAKING CHANGE:line with migration steps. See VERSIONING.mdBREAKING CHANGE:
showcase/shell-docsis a new app. Its scripts, source layout and dev server follow the Fumadocs rebuild; run it withnpm install && npm run devinshowcase/shell-docs(see its README).🤖 Generated with Claude Code