Commit Graph

143 Commits

Author SHA1 Message Date
Jordan Ritter 25f3f70ab2 fix(docs): update stale model names, fix broken quickstart examples
- gpt-5.2/gpt-5.2-mini → gpt-5.4/gpt-5.4-mini across 70 files
- Anthropic model IDs: dots → hyphens (claude-sonnet-4-5, not 4.5)
- LangGraph FastAPI: add missing uvicorn import, MemorySaver checkpointer,
  fix port string→int
- AG2: ContextVariables import moved to autogen.agentchat
- CrewAI Flows: comment out deprecated CLI option
- Pydantic: pin Starlette 0.45.3 (1.0.0 is incompatible)
- CopilotChat: add missing default export
- All quickstarts: add globals.css import to layout examples
- LangGraph quickstart tagged with doctest="server" for Phase 1

Supersedes #3655, #3656, #3658, #3660, #3661, #3665, #3667, #3669.
2026-04-08 18:55:11 -07:00
Markus Ecker 316c9c5102 docs: A2UI v0.9 guides, Open Generative UI reference, BYOC examples 2026-04-08 12:50:46 -07:00
Alem Tuzlak 0fd3ddf960 refactor(docs): create migration-guides section, move migration pages from troubleshooting
- New docs/(root)/migration-guides/ section with migrate-to-v2, migrate-attachments,
  migrate-to-1.10.X, migrate-to-1.8.2
- Troubleshooting now only contains error-debugging, observability-connectors, common-issues
- Update all @deprecated JSDoc URLs from /troubleshooting/ to /migration-guides/
- Update doc cross-links (multimodal-attachments page, snippet import)
- Move snippet to snippets/shared/migration-guides/
- Set minimum version to v1.56.0 (was vX.Y.Z placeholder)
2026-04-06 14:55:09 +02:00
Alem Tuzlak 18c7a6001d feat: multimodal attachments — UI polish, deprecations, docs, codemod
Attachment queue & previews:
- Image lightbox with View Transition API morph animation
- Video lightbox with native controls and play button overlay
- Document lightbox (PDF via blob URL, text inline, info card fallback)
- Drop zone overlay with upload icon
- Filename preservation via InputContent metadata
- Proper video thumbnail sizing and play/pause indicator
- Fix attachment queue positioning (max-w-3xl constraint)
- Padding between X button and content for audio/document cards
- Document filenames wrap instead of truncating

Attachments config:
- onUploadFailed callback for validation/upload errors (file-too-large, invalid-type, upload-failed)
- onUpload accepts sync or async returns
- AttachmentUploadResult discriminated union with explicit interfaces
- Metadata field on Attachment and onUpload return type

AG-UI version bump:
- Bump @ag-ui/client, @ag-ui/core, @ag-ui/encoder, @ag-ui/proto to 0.0.51
- Remove process.env Vite workaround (fixed upstream in 0.0.51)

Deprecation lifecycle:
- @deprecated JSDoc on all legacy image upload APIs
- ImageRenderer, ImageRendererProps, ImageUpload type, imageUploadsEnabled prop,
  inputFileAccept prop, ImageRenderer prop, AIMessage.image, ImageData
- Codemod at codemods/migrate-attachments.ts (15 tests)
- Migration guide updated with codemod instructions and new type shapes

Docs:
- New guide: docs/(root)/multimodal-attachments.mdx
- Updated migration guide with onUpload return type, metadata, codemod section
- Cross-links from prebuilt-components and migration guide
- Label change: "Add photos or files" → "Add attachments"

Tests:
- CopilotChat.attachments.test.tsx — 5 tests for onUploadFailed
- migrate-attachments codemod — 15 tests
2026-04-06 14:55:06 +02:00
Alem Tuzlak e92dcb9686 docs: add multimodal attachments migration guide and deprecation callouts 2026-04-06 14:54:35 +02:00
Maxim b039983f59 docs: extract performance tip into shared snippet
Moves the streaming performance tip into a reusable snippet and imports
it on both the root headless page and the v2 basics headless-ui snippet
(used by built-in-agent and a2a framework pages).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 20:00:02 +02:00
Claude ad629e1779 docs: rebrand LangGraph integration to LangChain across documentation
Update user-facing references from "LangGraph" to "LangChain" per CPK-7186.
The integration label, descriptions, and agent terminology now use "LangChain"
while preserving "LangGraph" for technical references (Platform, Studio, CLI,
StateGraph, code/package names, and API references).

- Rename integration label in integrations.ts, meta.json, integration-grid,
  feature-matrix, quickstart-dropdown, and link-validation
- Update ~47 MDX docs: "LangGraph agent(s)" → "LangChain agent(s)"
- Update FAQ, snippets, and learn section references
- Keep URL paths (/langgraph) unchanged for backward compatibility
- Keep all code imports, package names, and LangGraph Platform/Studio/CLI as-is

https://claude.ai/code/session_01JAQ7P3GEeP2bGZtc6V45WY
2026-04-02 17:21:00 +02:00
Maxim a655765460 docs: update MCP server URLs from SSE to HTTP transport
SSE transport is no longer available. Update all MCP server setup
instructions to use HTTP transport with the /mcp endpoint, and
remove the Tadata callout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:53:03 +02:00
Alem Tuzlak 43bf49f791 chore: remove legacy src/ directory
The src/v1.x/ and src/v2.x/ directories were leftover artifacts from
the package consolidation. They contained only outdated configs, old
Cursor rules, superseded docs, and stale GitHub workflows — none
referenced by any code, build config, or Nx project.

Also fixes 3 broken doc links that pointed to src/v1.x/ paths.
2026-03-31 11:10:07 +02:00
Tyler Slaton 96885b5959 refactor: consolidate V1/V2 packages into flat @copilotkit/* structure
Flatten all packages from packages/v1/* and packages/v2/* into packages/* —
every package now lives directly under the @copilotkit/ scope with no v1/v2
subdirectories.

- Move all v1 packages (react-core, react-ui, runtime, shared, etc.) from
  packages/v1/* to packages/*
- Absorb v2 react code into packages/react-core/src/v2/ (exported via /v2 subpath)
- Absorb v2 agent code into packages/runtime/src/agent/ (exported via /v2 subpath)
- Move v2 packages (core, angular, demo-agents, etc.) to packages/*
- Replace all @copilotkitnext/* imports with @copilotkit/* equivalents
- Keep @copilotkitnext/angular as the sole exception (angular remains on next)
- Update CI workflows, renovate config, release scripts for flat structure
- No public API surface changes — all exports fields are preserved

Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-28 16:45:10 -07:00
Ran Shemtov 9b2c840466 docs: add documentation about a2ui and mcpApps options in copilotkit (#3411) 2026-03-13 10:00:20 +01:00
Tyler Slaton 3051bd1ff1 fix(docs): correct quickstart errors and API examples across integrations
- Agent-spec: remove invalid CLI `-f agent-spec` option, link to manual setup
- A2A: fix env var (GEMINI_API_KEY) and port (10002) to match starter template
- AWS Strands: fix useRenderTool to use Zod schema and correct render props
- LangGraph: add auth guide cross-reference in configurable docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:53:40 -04:00
Ran Shem Tov 09d31e1230 docs: recommend runtime mcpApps by default and note A2UI auto-render 2026-03-12 13:52:56 +01:00
Tyler Slaton 8e1f1ec5f0 fix(docs): make shared snippets framework-aware for IframeSwitcher URLs
Shared MDX snippets had hardcoded langgraph URLs in IframeSwitcher
components. Now they accept a framework prop so each integration page
can specify its own feature viewer path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:56:20 -04:00
Ran Shem Tov 96740260ef docs: add documentation about a2ui and mcpApps options in copilotkit 2026-03-10 10:51:58 +01:00
Maxim 7a6f7ba1c3 docs: add v2 onError documentation for CopilotKitProvider and CopilotChat
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 16:25:16 -05:00
Tyler Slaton 5670c8c24e fix(docs): fix useAgent patterns, useRenderToolCall, useFrontendTool params, and missing deps
- useAgent: remove type params, change {agentState} to {agent}, use agent.state (35 files)
- useRenderToolCall replaced with useRenderTool across 9 tool-rendering pages
- useFrontendTool: plain array params replaced with Zod schemas (10 files)
- Mastra quickstart: add missing @ai-sdk/openai dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton 74dfd09d32 fix(docs): update shared snippets to correct V2 API patterns
- CopilotKit imports changed to V1 path (@copilotkit/react-core)
- useDefaultTool renamed to useDefaultRenderTool

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:54:03 -05:00
Tyler Slaton cc8c945893 refactor(docs): optimize structure, content and navigability
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-02 11:30:16 -05:00
Ran Shemtov 593859fd9f feat: add useComponent wrapper around useFrontendTool (#3175)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-20 00:38:31 -05:00
Max Korp 980d3f5b55 docs: add v2 interface reference docs (#3197)
Also fixing some linting/build issues.

Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-02-17 17:14:41 -05:00
Alem Tuzlak ef0f539867 feat: Added reasoning for improved information display (#3165)
Co-authored-by: Tyler Slaton <54378333+tylerslaton@users.noreply.github.com>
2026-02-17 11:11:47 +01:00
Tyler Slaton 86d0f7acfb docs: add Copilot Runtime guide across all integrations (#3219)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:27:10 -05:00
Pascal zhang c0f2f0bc20 docs(langChain): change langChain docs link (#3191) 2026-02-13 01:42:53 -05:00
Mike Ryan 98f2a7a93e revert: migrate reactmarkdown to streamdown 2026-01-28 10:23:14 -08:00
John Rae-Grant 9d6cc4873b Add Generative UI overview 2026-01-26 16:02:14 -08:00
Hayden Bleasel e9dafcb44b Migrate ReactMarkdown to Streamdown (#3018) 2026-01-16 23:38:56 -05:00
Markus Ecker c87af71792 fix(mcp-apps): improve performance and fix MCP server ports (#2989)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
Co-authored-by: Maximiliano Korp <max@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-01-14 15:31:49 -07:00
Ran Shemtov 5a24f28894 feat: create copilotkit langgraph middleware (#2928) 2026-01-09 16:46:40 +01:00
sonleoracle e1ad392d40 Docs: add docs for new AG-UI integration: Open Agent Spec (#2874)
Co-authored-by: Brandon McConnell <brandon@dreamthinkbuild.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-12-20 02:08:58 -05:00
Markus Ecker 036d5412cc refactor!: restructure repo for v1.x and add v2.x (#2794)
- Move original CopilotKit/CopilotKit directory to src/v1.x
- Introduce new v2 interfaces in src/v2.x
- Align CI paths and preview environments to new layout

Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Ran Shemtov <ran@copilotkit.ai>
Co-authored-by: Brandon McConnell <brandon@dreamthinkbuild.com>
Co-authored-by: Mike Ryan <mike.ryan52@gmail.com>
2025-12-18 13:09:14 -05:00
John Rae-Grant 4695d618dd feat: Docs Update for v1.5 announcement, GenUI specs and Agentic Protocols (#2815)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
2025-12-11 02:49:41 -05:00
Tyler Slaton 02c4095565 docs(aws-strands): add documentation tab (#2791)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-12-02 23:55:27 -05:00
Brandon McConnell 1a31f81e62 docs: remove all multi-agent-flows docs and references (#2789) 2025-12-02 18:14:27 -05:00
Brandon McConnell 83bdb889ec Canonical partner docs (LlamaIndex) (#2757) 2025-12-02 06:20:24 -05:00
Brandon McConnell 5dade7e044 Canonical partner docs (ADK) (#2754) 2025-11-29 02:55:15 -05:00
Brandon McConnell 7e757eb540 Canonical partner docs (Mastra) (#2756)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-28 19:05:45 -05:00
Brandon McConnell bc240dd42b Canonical partner docs (Agno) (#2759)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-28 14:23:42 -05:00
Brandon McConnell b3ce600ca5 chore: swap all package-install blocks for npm blocks (#2777) 2025-11-28 12:05:31 -05:00
Brandon McConnell e52961b5cb Canonical partner docs (Pydantic AI) (#2758)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-26 19:18:19 -05:00
Brandon McConnell 947a4b95e7 feat: persist language selection across sessions per integration (#2739) 2025-11-24 09:26:47 -05:00
Tyler Slaton 1ca902c568 docs: add default tool rendering guide (#2717)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-13 14:03:40 -05:00
Tyler Slaton a96b13b1db docs(maf): improve and release microsoft agent-framework docs (#2705)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-10 20:31:35 -05:00
Brandon McConnell d6a6c89d98 feat: add Microsoft Agent Framework to integrations docs (#2680)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2025-11-07 18:16:54 -05:00
Brandon McConnell f27f9748c4 fix: fix improper CopilotKit casing "Copilotkit" → "CopilotKit" 2025-11-06 11:46:51 -05:00
Tyler Slaton fcf114ac67 docs: implement prototypical docs structure for LangGraph (#2585)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Brandon McConnell <brandon@dreamthinkbuild.com>
2025-11-04 18:41:53 -05:00
Brandon McConnell bbf0a41fcf docs(mcp-server-setup): reorder Claude Code after Claude Web and Desktop 2025-10-09 16:45:28 -04:00
Chan Meng 9d538dac83 docs: add Claude Code setup instructions to MCP server guide (#2529)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-09 16:43:38 -04:00
John Rae-Grant 48453835ac Docs/broken links 20252008 (#2598)
Fixed a bunch of reported broken links
2025-10-08 16:57:17 -07:00
Brandon McConnell 92d369fcf3 docs: upgrade shiki and @shikijs/transformers to latest (v3) (#2565) 2025-10-02 18:03:22 -04:00