Commit Graph

550 Commits

Author SHA1 Message Date
Tyler Slaton 8c20384ea5 Merge branch 'main' into tyler/slack-platform-docs 2026-06-10 16:39:00 -07:00
Tyler Slaton a8d43a9c2e docs(shell-docs): Slack platform quickstart + Bots API reference
- New Platforms entry: /platform/slack quickstart — manifest-based app
  creation, Socket Mode tokens, minimal createBot bot run with tsx,
  interactive JSX with inline onClick, slash commands, production split
- New "Bots" SDK tab in the reference picker with per-symbol pages for
  @copilotkit/bot, @copilotkit/bot-ui, and @copilotkit/bot-slack
  (Components / Functions / Classes / Types)
- Rename reference picker labels to React (V2) / React (V1)
- Remove the retired /reference/sdk pages (LangGraph/CrewAI SDK,
  Remote Endpoints); search/sitemap/llms indexes derive from the
  content tree, so they de-index with the deletion
- Retarget the one inbound link to its /reference/v1 copy

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-10 16:33:15 -07:00
Benjamin Taylor ff2b59f934 fix(shell-docs): record location on hero_command_copied for surface attribution (closes OSS-299)
The hero_command_copied event fired by the landing-hero command cards carried
no surface discriminator. HeroStartActions renders on both the home hero and
every framework landing hero; the "onboard" card's command is byte-identical
on every page, so onboard copies could not be attributed to a surface from the
event alone (only the "create" card embeds the framework in `command`).

Add `location: window.location.pathname` to the payload, mirroring the
`cli_command_copied` event the global <CopyTracker> already emits for the same
copy so the two paired events join on the same dimension. Guarded for SSR to
match the sibling.

Adds a source-assertion guard test in the shell-docs node-env convention.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 15:52:43 -05:00
Austin Merrick d8ed70a26b feat(shell-docs): recommend create + skills onboard commands in landing heroes (#5248)
## What

Replaces the landing-page CTA with **three entry points**, framed by
situation, and renders the **identical action block on the home hero and
every framework landing hero**:

| | action |
|---|---|
| **New project** | `npx copilotkit create` |
| **Existing project** | `npx copilotkit skills onboard` |
| **Guided walkthrough** | **Quickstart** button (preserved from the
previous hero) |

- **Unified `<HeroStartActions>` block**: two equal-weight command cards
plus a quickstart row beneath, shared verbatim by the home hero and the
framework landing heroes (per review: the two surfaces previously
diverged).
- **Quickstart preserved** in its original accent treatment. On the home
hero it is the framework-picker dropdown (`<HeroQuickstartDropdown>`,
restored); on framework pages it links straight to that framework's
quickstart guide. The home hero also keeps the "Learn more about
building with agents" link in the same row.
- **Framework landing heroes** (e.g. `/langgraph-typescript`): the
create command **pre-fills the framework** via the CLI's `--framework`
flag (e.g. `--framework langgraph-js`).

**Framework-flag mapping**: docs slug to CLI `--framework` value,
verified against the CLI's `AGENT_FRAMEWORKS` enum
(`langgraph-typescript`→`langgraph-js`,
`langgraph-python`→`langgraph-py`, `google-adk`→`adk`,
`strands`→`aws-strands-py`,
`ms-agent-dotnet`→`microsoft-agent-framework-dotnet`, identical for
`mastra`/`pydantic-ai`/`llamaindex`/`agno`/`ag2`). Slugs with **no** 1:1
CLI template fall back to a bare `npx copilotkit create`, notably
`crewai-crews` (the CLI ships *CrewAI Flows*, not Crews), plus
`langgraph-fastapi`, `claude-sdk-*`, `langroid`, `spring-ai`,
`agent-spec`, `deepagents`. `skills onboard` has no framework flag, so
it is identical everywhere. Frameworks with bespoke setup (`a2a` `git
clone`, `ms-agent-dotnet`) keep the pre-cards layout: quickstart button
plus their own copy-command chip.

**Responsive, with all text always visible.** Commands **wrap, never
truncate**:

- Wraps happen at spaces only; every token is non-breaking, so
`--framework` can never split into a dangling `-` at a line edge.
- `text-wrap: balance` splits multi-line commands evenly, typically
right at the flag boundary (`npx copilotkit@latest create` /
`--framework langgraph-js`).
- The block caps at 740px with 12px mono, the narrowest cap where both
home commands fit one line with enough headroom to survive platform
mono-font width differences.
- Cards sit two-up from `sm` and stack below it; the grid (`min-w-0`,
`items-stretch`) keeps long commands inside their track and the card
pair equal-height.

## Screenshots

**Home**: two cards, quickstart dropdown, learn-more link


![home](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/home.png)

**Home, quickstart dropdown open** (framework picker preserved)

![home
dropdown](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/home-dropdown.png)

**Framework landing (LangGraph)**: same block, framework pre-filled,
create command balanced across two lines, quickstart links to the guide


![framework](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/framework-langgraph.png)

**Worst case (Microsoft Agent Framework, Python)**: longest CLI flag
value, three balanced lines, fully readable

![long
command](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/framework-msagent-long.png)

**Bespoke setup (A2A)**: quickstart button plus own command chip
(pre-cards layout preserved)


![a2a](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/a2a-bespoke.png)

**Mobile (375px)**: cards stack, quickstart goes full-width

| home | framework |
|---|---|
| ![home
mobile](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/home-mobile.png)
| ![framework
mobile](https://raw.githubusercontent.com/CopilotKit/CopilotKit/screenshots/oss-195/framework-mobile.png)
|

## Telemetry

Both hero copy buttons are now explicitly instrumented: each click
captures **`hero_command_copied`** (`command_id`: `create` | `onboard`,
full `command` string, `clipboard_blocked`), so create-vs-onboard
funnels are queryable per landing page. The pre-existing global
`cli_command_copied` (fired by `CopyTracker` on any clipboard copy)
still fires for volume metrics; the new event uses a different name so
that funnel is not double-counted. Validated locally against a live
PostHog client: each click POSTs both events (plus `$autocapture`) to
`/ingest/e` with HTTP 200.

## Notes

- Both cards equal weight; accent only on hover. Copy rows copy on click
with `aria-live` feedback plus a clipboard-blocked fallback; cursor is
`pointer`.
- Removes `agent-start-prompt.tsx` and `hero-command-copy.tsx`.
`hero-quickstart-dropdown.tsx` is back (restored unchanged after review
feedback).
2026-06-10 13:03:10 -07:00
Ran Shemtov 0a76aa1ff7 Merge branch 'main' into ran/oss-248-a2ui-shared-params 2026-06-10 09:29:57 +02:00
Austin Merrick af4cd629aa feat(shell-docs): instrument hero command copies with hero_command_copied
The global CopyTracker already emits the generic cli_command_copied on
any clipboard copy, but it cannot distinguish which hero card was used.
Each card now also captures hero_command_copied with command_id
(create | onboard), the full command string, and clipboard_blocked, so
create-vs-onboard funnels are queryable per landing page.

Validated locally against a live PostHog client: each click POSTs one
$autocapture, one cli_command_copied, and one hero_command_copied to
/ingest/e (HTTP 200) with the expected properties.
2026-06-09 16:37:53 -07:00
Austin Merrick 2502533cd9 feat(shell-docs): restore quickstart CTA and unify landing hero layouts
Review follow-up: bring back the quickstart button alongside the two
recommended commands, and render the identical <HeroStartActions> block
on the home hero and every framework landing hero.

- Quickstart returns in its original accent treatment: the framework
  dropdown on home, a direct guide link on framework pages; bespoke-init
  frameworks (a2a, ms-agent-dotnet) get back the old button + chip row.
- One layout everywhere: cards are always two-up from sm (no more
  stacked framework variant); commands wrap balanced at token boundaries
  instead of truncating, so long framework-pinned commands stay fully
  readable at every width.
2026-06-09 16:02:06 -07:00
Ran Shemtov e241d37cb4 Merge branch 'main' into ran/oss-248-a2ui-shared-params 2026-06-09 17:39:18 +02:00
Ran Shem Tov 2587c8dfeb chore(showcase): align a2ui to single-arg get_a2ui_tools API 2026-06-09 13:09:45 +02:00
Sam Julien 703129cc13 fix(shell-docs): keep docs headings block-level 2026-06-08 17:02:40 -07:00
Sam Julien 8407b59628 docs(shell-docs): polish showcase docs follow-up 2026-06-08 14:00:42 -07:00
Sam Julien 946babfc8b docs: fill Pathfinder-identified gaps in shell-docs (backend, MAF/Mastra, reference, troubleshooting, shared-state) (#5306)
## Summary
Fills documentation gaps that Pathfinder (our docs-indexing /
gap-analysis system) flagged in `showcase/shell-docs` — new backend,
Microsoft Agent Framework / Mastra integration, reference-hook,
troubleshooting, and shared-state pages, plus accuracy corrections to
existing v1/v2 pages. 43 files, 6 by-area commits, rebased onto current
`main`.

## Corrections (source-verified across two review passes)
- **.NET MAF samples:** tool names now match the frontend (`Name =
"get_weather"` / `"step_progress"`) so the renderer/middleware actually
fire.
- **v1/v2 provider identity:** v2-specific examples (e.g.
`showDevConsole="auto"`) now use `<CopilotKitProvider>` — `<CopilotKit>`
exported from `@copilotkit/react-core/v2` is the v1 backward-compat
component, which has no `"auto"` mode.
- **Imports / snippets:** added missing `useRenderTool` / `z` /
`useAgent` imports + `"use client"`; removed a nonexistent
`mcpApps.serverId` field; fixed an off-by-2 code-highlight range.
- **API accuracy:** Express legacy factory is
`copilotRuntimeNodeExpressEndpoint`; v1 `useAgent` `runAgent` signature
+ `UseAgentProps` type name; `useRenderToolCall` falls back to the
default renderer (not `null`); `useComponent` also registers a tool; v1
`enableInspector` localhost/`0.0.0.0` default vs v2 `"auto"` nuance.
- **Nav / icons:** registered `lucide/Map`; wired new pages into
`meta.json`.
- **Deletion:** removed the orphaned
`content/docs/reference/v2/hooks/useAgent.mdx` — verified safe (the
canonical `content/reference/hooks/useAgent.mdx` is intact and all
inbound links resolve).

## Notes for reviewer
- The working tree had no `node_modules`, so the docs build was **not
run locally — relying on CI** for the build / lint / commitlint gate.
- Deferred polish (follow-up): state-rendering "in the chat" framing,
decorative `AgentState` types, `agentId`-key explanation,
`useFrontendTool` migration example, error-reference dev-warn nuance.

## Test plan
- [ ] CI green (shell-docs build, lint, commitlint)
2026-06-08 13:56:24 -07:00
Ran Shem Tov c0ea5078f9 fix(showcase): render AgentCore deploy partial with framework-scoped command tabs
The /strands/deploy-agentcore and /langgraph/deploy-agentcore pages
rendered only their title — the body was empty. <Content> resolved to a
dead stub in the MDX component registry that rendered nothing, despite
the content being authored in the shared agentcore partial.

- mdx-registry.tsx: replace the dead Content stub with a dedicated
  component that renders the agentcore partial via PartialLoader and
  threads the page's framework into MDX scope.
- mdx-registry-loader.tsx: PartialLoader accepts an optional scope,
  forwarded to MDXRemote options.scope so partials can read bare scope
  identifiers (next-mdx-remote binds scope as module identifiers, not as
  the rendered component's props).
- agentcore/index.mdx: reference {framework} (bare scope var) instead of
  props.framework so AgentCoreCommandTabs collapses to the single
  relevant framework per page.
2026-06-08 17:18:44 +02:00
Ran Shem Tov 5b821a44dc chore: fix showcase agentcore link per framework 2026-06-08 12:50:46 +02:00
Jordan Ritter 79d61b68ee docs(shell-docs): add shared-state/prebuilt guides, sidebar wiring, css, model-selection, whats-new 2026-06-06 16:10:13 -07:00
Jordan Ritter aade9d0e86 docs(shell-docs): add troubleshooting, migration, and concepts guides 2026-06-06 16:10:09 -07:00
Jordan Ritter 1c33e99f49 docs(shell-docs): add reference hook pages and retire orphaned v2 useAgent 2026-06-06 16:10:04 -07:00
Jordan Ritter e529593650 docs(shell-docs): add MS Agent Framework + Mastra integration samples 2026-06-06 16:10:00 -07:00
Jordan Ritter 58887baeda docs(shell-docs): add backend runtime/runner/self-managed docs 2026-06-06 16:09:56 -07:00
Austin Merrick e30cbbfc52 feat(shell-docs): unify framework landing heroes on the two-command CTA
Framework landing heroes (e.g. /langgraph-typescript) now show the same
two StartCommandCards as the home hero, and the "new project" command
pre-fills the framework via the CLI's --framework flag (e.g.
--framework langgraph-js). The mapping from docs slug to CLI framework is
verified against the CLI's AGENT_FRAMEWORKS enum; slugs with no 1:1
template fall back to a bare `npx copilotkit@latest create`. Frameworks
with bespoke setup (a2a git clone, ms-agent-dotnet) keep their own single
copy-command chip. Drops the old "Start the quickstart" button and the
legacy `npx copilotkit@latest init` chip.
2026-06-05 11:35:24 -07:00
Austin Merrick 7112d2daf2 feat(shell-docs): recommend create + skills onboard on the home hero
Replace the home landing hero's Quickstart dropdown + command-copy chip
with a two-card <HeroStartCommands> block, framed by situation:

  - Start a new project        -> npx copilotkit@latest create
  - Add to an existing project -> npx copilotkit@latest skills onboard

Both cards are equal weight with no pre-selected default. Each command
row copies on click with an aria-live announcement and a clipboard-blocked
fallback. Commands pin @latest so npx never reuses a stale cached CLI.
Removes the now-unused hero-quickstart-dropdown and hero-command-copy
components.
2026-06-05 11:35:24 -07:00
Benjamin Taylor 1c92a69f58 fix(links): point cloud.copilotkit.ai web links at the Intelligence dashboard
New users were still discovering cloud.copilotkit.ai through docs pages,
the README, example READMEs, and in-app banners/console messages. Replace
all user-facing web links with dashboard.operations.copilotkit.ai (the
destination the marketing-site CTAs already use). Functional API endpoints
(api.cloud.copilotkit.ai) are deliberately untouched since existing cloud
customers depend on them.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 11:20:44 -05:00
Ran Shemtov a5037cafd4 Merge branch 'main' into chore/upgrade-showcase-a2ui-deps 2026-06-05 17:55:27 +02:00
Tyler Slaton ca6115850b docs: unify theme (#5269)
Our previous doc site had a fumadocs/shadcn theme that was a bit
hodge-podge. This brings all of it into one clean and visually appealing
design. The border radii are standardized, colors are standardized and
bunch of passes for mobile/tablet have been done. An added bonus is that
the header nav has been redone to feel more natural to the eyes.

<img width="1850" height="1256" alt="Screenshot 2026-06-05 at 7 48
00 AM"
src="https://github.com/user-attachments/assets/0c6032f2-e406-4e51-9c31-d69a9d258d61"
/>
2026-06-05 08:19:55 -07:00
Tyler Slaton 563d8a7986 docs(shell-docs): align docs page rendering
Updates the shell-docs route wrappers, MDX component chrome, page actions, snippets, and registry rendering so content pages inherit the refreshed theme and responsive sizing consistently.

Call-site enumeration:

- DocsPageView and mdx-components remain the route-level rendering path for docs, framework, AG-UI, and reference pages.

- CopyButton/Snippet/PropertyReference changes stay within MDX-rendered content surfaces.
2026-06-05 07:38:53 -07:00
Tyler Slaton f5d7a7617b docs(shell-docs): refresh landing surfaces
Applies the updated shell-docs theme treatment to the overview cards, sample tabs, framework selectors, hero command controls, and Copilot Cloud CTAs.

Call-site enumeration:

- FrameworkSelector/FrameworkTabs/IntegrationGrid changes stay on the docs landing and framework overview surfaces that already own those controls.

- OpsPlatformCTA and LinkToCopilotCloud keep their existing call sites while switching to shared chrome variables.
2026-06-05 07:35:42 -07:00
Tyler Slaton 7510d9d6b4 docs(shell-docs): unify docs chrome
Refreshes the shell docs chrome around the shared theme tokens, announcement banner, desktop and mobile navigation, search trigger, theme toggle, and sidebar footer actions.

Call-site enumeration:

- PrimaryDocsTabs: rendered by MobileTopNav for tablet header tabs and ShellDocsLayout for mobile sidebar tabs.

- MobileSidebarFooterTalk: rendered by ShellDocsLayout sidebar.footer and hidden outside mobile/tablet sidebar usage via responsive classes.

- INTELLIGENCE_CTA_HREF and TALK_TO_ENGINEER_HREF: exported from BrandNav and reused by BrandNav/MobileSidebarFooterTalk so CTA destinations stay centralized.
2026-06-05 07:34:22 -07:00
Ran Shem Tov 2d733d0094 docs(a2ui): rewrite dynamic-schema for the middleware flow
Drop the hand-rolled render_a2ui/generate_a2ui + a2ui_prompt framing.
Document the two real paths: prebuilt agent (add CopilotKitMiddleware)
and graph agent (wire get_a2ui_tools). injectA2UITool stays the single
on/off switch. Fixes langgraph + deepagents + the generic page;
corrects the streamed op names (createSurface/updateComponents/
updateDataModel).
2026-06-04 20:31:32 +02:00
Austin Merrick 14bfd3bf83 docs(shell-docs): reference documentation for @copilotkit/core (#5154)
Adds reference documentation for **`@copilotkit/core`** and turns the
reference landing into a multi-SDK **Overview**.

## What changed
- **3-way SDK picker** — React v2 / React v1 / **Core (TypeScript)**
(was a v1/v2 toggle).
- **"API Reference" → "Overview"**, with a "Choose your SDK" chooser.
- **12 hand-written core reference pages** — index, 2 classes, 6 types,
3 enums — matching the existing v2 React convention, every
signature/default/behavior verified against `@copilotkit/core` source.
- **Fixed reference code-block rendering** — the reference route was
missing syntax highlighting + the styled code block (bare `<pre>`); now
wired to the same pipeline as the main docs. Improves all reference SDKs
(v1/v2/core).

## Screenshots
**Overview + "Choose your SDK"**

<img width="1512" height="805" alt="overview"
src="https://github.com/user-attachments/assets/478d6839-4a21-4ba7-917e-5f8b2b74ea12"
/>


**3-way SDK picker**

<img width="1512" height="805" alt="picker"
src="https://github.com/user-attachments/assets/43a094d4-1f62-476b-82f2-d293714471f0"
/>

**Core reference page (syntax-highlighted code + copy button)**

<img width="1512" height="805" alt="core-page"
src="https://github.com/user-attachments/assets/92b661a9-5859-4719-8a39-aa9ade739950"
/>


## Why hand-written (not auto-generated)
The generator can't extract enums/type-aliases (which dominate core's
surface) and overwrites hand-edits; the existing v2 React docs are
themselves hand-written. The ticket explicitly allows deferring
auto-gen.
2026-06-04 08:50:09 -07:00
Austin Merrick 6a64689d98 docs(build-with-agents): tighten install-step wording
Drop the 'same terminal you'd use for git or npm' aside and replace the
em-dash parenthetical listing the agents with plain parentheses.
2026-06-03 12:35:48 -07:00
Austin Merrick 78da034765 docs(build-with-agents): show Skills section on every build-with-agents page
Previously only the top-level /build-with-agents and built-in-agent pages
rendered the Skills section (via <BuildWithAgents />). Every framework
integration page used the MCP-only <CodingAgents /> snippet (or, for
langgraph, <MCPSetup /> directly), so Skills — the recommended path — was
hidden there.

Point the shared coding-agents.mdx snippet at <BuildWithAgents /> so all
pages that reference CodingAgents now render Skills + MCP, and switch the
langgraph page from <MCPSetup /> to <BuildWithAgents />. The snippet inliner
recurses with cycle protection, so no duplication is needed.
2026-06-03 12:29:12 -07:00
Austin Merrick f55aa96be2 docs(build-with-agents): flesh out skills section and fix MCP heading nesting
Addresses review feedback on the Build with agents page:

- Add a top-three skills table (copilotkit-setup / -develop / -integrations)
  and call out that copilotkit-contribute is for working on CopilotKit
  itself, not building with it, so the skills directory's build-vs-contribute
  split is clear from the docs page.
- Clarify where to run `npx skills add`: from the project root, where any
  coding agent (Claude Code, Codex, Cursor, Gemini CLI) discovers the skills
  automatically — answering 'in your agent environment'.
- Demote the MCP per-tool section headers (Cursor, Claude Web, Claude Code,
  ...) from H2 to H3 so they nest under 'MCP Docs Server' in the on-this-page
  TOC instead of sitting as flat siblings; demote the 'Other' subsections to
  H4 accordingly.
2026-06-03 12:14:18 -07:00
Austin Merrick c77624f14c docs(shell-docs): drop verbose install explanation paragraph 2026-06-03 10:31:35 -07:00
Austin Merrick 2beb091441 docs(shell-docs): scope skills install to /skills subpath, project scope
Use `CopilotKit/CopilotKit/skills -y` instead of the repo root: root
discovery sweeps in the internal `showcase-demo-debugging` skill
(metadata.internal, lives in .claude/.agents, not skills/), so users got
12 skills incl. one internal. The /skills subpath yields exactly the 11
published skills. Drop -g so install defaults to project scope, letting each
project pin the skills version matching its CopilotKit dependencies.
2026-06-03 10:27:18 -07:00
Austin Merrick 9ef80f787a docs(shell-docs): make skills install one-shot with -g -y
The build-with-agents guide recommended a bare `npx skills add` that drops
human users into a multi-step interactive flow (skill multiselect, agent
selection, scope, install method, confirm). Recommend `-g -y` so all skills
install globally in one shot, with a Callout pointing to the flag-less command
for users who want to choose interactively.
2026-06-03 10:21:45 -07:00
Tyler Slaton f878892761 docs(shell-docs): recommend v2 CopilotKit provider import (#5163)
## Problem

Shell-docs had conflicting v2 guidance around the provider import path.
Some migration/reference/quickstart pages either recommended
`CopilotKitProvider` or kept `CopilotKit` examples on the root
`@copilotkit/react-core` package even though v2 docs should import the
`CopilotKit` component from `@copilotkit/react-core/v2`.

## Why

The correct recommendation is the `CopilotKit` component name, imported
from the v2 entrypoint. Leaving root-package imports in v2-facing docs
makes the migration and reference guidance contradict the v2 package
layout.

## Fix

- Recommend `CopilotKit` from `@copilotkit/react-core/v2`, not
`CopilotKitProvider`.
- Update v2 migration, reference, and quickstart examples to use the v2
provider/style entrypoints.
- Leave root `@copilotkit/react-core` imports only in v1 docs and
explicit migration “Before” examples.
- Add regression coverage for stale provider/style package paths.
- Fix the shell-docs SignupLink SSR test typing exposed by typecheck.

Closes #5153
2026-06-02 15:17:09 -07:00
Austin Merrick 19370f9bf9 Merge branch 'main' into austin/oss-85-reference-documentation-for-copilotkitcore 2026-06-02 12:08:32 -07:00
github-actions[bot] 601e7f17dc style: auto-fix formatting 2026-06-02 18:49:04 +00:00
Austin Merrick 83769e17ee fix(shell-docs): render reference code blocks with syntax highlighting
The reference route rendered fenced code blocks as bare, unstyled
<pre> (no highlighting, no copy button) because its MDXRemote call
omitted the rehypeCode plugin and the pre: MdxCodeBlock override that
the main docs pipeline uses. Wire both in (verbatim from the framework
route) so reference code blocks match the rest of the docs. Fixes
rendering for all reference SDKs (React v2/v1 + Core).
2026-06-02 11:46:44 -07:00
Tyler Slaton 2e540efdd4 docs(shell-docs): remove cookbook section header 2026-06-02 11:31:18 -07:00
Tyler Slaton 5d9f66c2ce docs(shell-docs): simplify cookbook navigation 2026-06-02 11:27:42 -07:00
Tyler Slaton a4fc41aae2 docs(shell-docs): audit v2 package guidance 2026-06-02 10:53:41 -07:00
Tyler Slaton 9ad9e736ff docs(shell-docs): clarify v2 CopilotKit provider import 2026-06-02 10:47:56 -07:00
Tyler Slaton f73771e865 docs(shell-docs): import CopilotKit from v2 2026-06-02 10:08:50 -07:00
Tyler Slaton 5b0ff5a844 test(shell-docs): fix signup link ssr typing 2026-06-02 10:00:28 -07:00
Tyler Slaton 959ad33738 docs(shell-docs): recommend root CopilotKit provider 2026-06-02 09:56:01 -07:00
Austin Merrick a98c4b67bc docs(shell-docs): add @copilotkit/core API reference
Hand-written reference for the framework-agnostic TypeScript client,
matching the v2 React reference convention and verified against source:
- index + 2 classes (CopilotKitCore, ProxiedCopilotRuntimeAgent)
- 6 types (configs, FrontendTool, CopilotKitCoreSubscriber, Suggestion,
  SuggestionsConfig)
- 3 enums (ToolCallStatus, CopilotKitCoreErrorCode,
  CopilotKitCoreRuntimeConnectionStatus)
2026-06-02 09:12:16 -07:00
Austin Merrick 987d4892d6 feat(shell-docs): add @copilotkit/core to the reference SDK picker
Introduces a third SDK in the reference docs alongside React v2 and v1:
- reference-items.ts: add the 'core' version, generalize root-vs-nested
  routing, add 'types'/'enums' subdirs + categories, recognize a core/
  slug prefix (literal strip), and emit its static params
- reference-version-selector.tsx: relabel the picker as an SDK switch
  (React v2 / React v1 / Core (TypeScript)), import ReferenceVersion from
  reference-items, give listbox options role=option/aria-selected
- app/reference/page.tsx: rename 'API Reference' to 'Overview' and add a
  'Choose your SDK' card chooser
2026-06-02 09:12:16 -07:00
github-actions[bot] 38c381c48c style: auto-fix formatting 2026-05-30 17:23:55 +00:00
Jordan Ritter 9871d06671 refactor(showcase): rename getRuntimeConfigEdge to getRuntimeConfigForMiddleware
Clarify the wrapper's role (it forces noStore:false because unstable_noStore is
unavailable in middleware/Edge). Pure rename across shell, shell-docs, and
shell-dashboard: definitions, middleware call sites, and tests. No behavior
change.
2026-05-30 10:22:35 -07:00