copilotkit 4.8.1 → 4.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +54 -4
  2. package/cli-build-info.json +8 -8
  3. package/index.js +40381 -19515
  4. package/onboarding/index.json +318 -0
  5. package/onboarding/prompts/authenticate/start.md +47 -0
  6. package/onboarding/prompts/credentials/finalize-plan.md +57 -0
  7. package/onboarding/prompts/credentials/plan.md +64 -0
  8. package/onboarding/prompts/framework/ag2.md +22 -0
  9. package/onboarding/prompts/framework/agno.md +23 -0
  10. package/onboarding/prompts/framework/built-in.md +21 -0
  11. package/onboarding/prompts/framework/claude-sdk-python.md +21 -0
  12. package/onboarding/prompts/framework/claude-sdk-typescript.md +21 -0
  13. package/onboarding/prompts/framework/crewai-flows.md +22 -0
  14. package/onboarding/prompts/framework/deep-agents.md +21 -0
  15. package/onboarding/prompts/framework/google-adk.md +22 -0
  16. package/onboarding/prompts/framework/langgraph-fastapi.md +23 -0
  17. package/onboarding/prompts/framework/langgraph-python.md +23 -0
  18. package/onboarding/prompts/framework/langgraph-typescript.md +23 -0
  19. package/onboarding/prompts/framework/llamaindex.md +23 -0
  20. package/onboarding/prompts/framework/mastra.md +21 -0
  21. package/onboarding/prompts/framework/ms-agent-dotnet.md +21 -0
  22. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +22 -0
  23. package/onboarding/prompts/framework/ms-agent-python.md +21 -0
  24. package/onboarding/prompts/framework/pydantic-ai.md +23 -0
  25. package/onboarding/prompts/framework/strands-python.md +23 -0
  26. package/onboarding/prompts/framework/strands-typescript.md +23 -0
  27. package/onboarding/prompts/frontend/angular.md +18 -0
  28. package/onboarding/prompts/frontend/nextjs.md +18 -0
  29. package/onboarding/prompts/frontend/plan.md +32 -0
  30. package/onboarding/prompts/frontend/react-native.md +18 -0
  31. package/onboarding/prompts/frontend/react-spa.md +12 -0
  32. package/onboarding/prompts/frontend/slack.md +20 -0
  33. package/onboarding/prompts/frontend/teams.md +20 -0
  34. package/onboarding/prompts/frontend/vue.md +18 -0
  35. package/onboarding/prompts/implementation/build-and-validate.md +13 -0
  36. package/onboarding/prompts/proof/complete.md +7 -0
  37. package/onboarding/prompts/proof/round-trip.md +16 -0
  38. package/onboarding/prompts/subagent/create-plan.md +14 -0
  39. package/onboarding/prompts/subagent/implement-and-validate.md +13 -0
  40. package/onboarding/prompts/subagent/inspect-repository.md +14 -0
  41. package/onboarding/prompts/subagent/prove-round-trip.md +20 -0
  42. package/onboarding/prompts/unsupported/no-validated-path.md +17 -0
  43. package/package.json +4 -1
  44. package/release/release-tool.js +8 -2
@@ -0,0 +1,23 @@
1
+ # Configure LangGraph FastAPI
2
+
3
+ Preserve an existing LangGraph FastAPI model setup. Start with OpenAI for a new agent.
4
+ Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
+ name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/langgraph-fastapi/quickstart.md
13
+ - https://docs.copilotkit.ai/langgraph-fastapi/inspector.md
14
+ - https://docs.copilotkit.ai/langgraph-fastapi/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure LangGraph Python
2
+
3
+ Preserve an existing LangGraph Python model setup. Start with OpenAI for a new agent.
4
+ Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
+ name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/langgraph-python/quickstart.md
13
+ - https://docs.copilotkit.ai/langgraph-python/inspector.md
14
+ - https://docs.copilotkit.ai/langgraph-python/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure LangGraph TypeScript
2
+
3
+ Preserve an existing LangGraph TypeScript model setup. Start with OpenAI for a new agent.
4
+ Offer another vendor only after an exact CopilotKit Markdown page names it. The page must
5
+ name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/langgraph-typescript/quickstart.md
13
+ - https://docs.copilotkit.ai/langgraph-typescript/inspector.md
14
+ - https://docs.copilotkit.ai/langgraph-typescript/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure LlamaIndex
2
+
3
+ Preserve an existing LlamaIndex model setup. Start with OpenAI for a new agent. Offer
4
+ another vendor only after the selected CopilotKit Markdown pages document it. The pages must
5
+ name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/llamaindex/quickstart.md
13
+ - https://docs.copilotkit.ai/llamaindex/inspector.md
14
+ - https://docs.copilotkit.ai/llamaindex/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,21 @@
1
+ # Configure Mastra
2
+
3
+ Preserve an existing Mastra model setup. Start with OpenAI for a new agent. Before offering another vendor, an exact CopilotKit Markdown page must name the vendor, credential variables, and setup steps.
4
+
5
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
6
+ store, or request a secret value.
7
+
8
+ ## Documentation
9
+
10
+ - https://docs.copilotkit.ai/mastra/quickstart.md
11
+ - https://docs.copilotkit.ai/mastra/inspector.md
12
+ - https://docs.copilotkit.ai/mastra/generative-ui/a2ui/fixed-schema.md
13
+
14
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
15
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
16
+
17
+ If the pages support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
19
+
20
+ If a page does not load or support the selection, run
21
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,21 @@
1
+ # Configure Microsoft Agent Framework .NET
2
+
3
+ Preserve an existing Microsoft Agent Framework .NET setup. Start with GitHub Models for a new agent. Ask the developer to choose the model. Record the required credential variable names.
4
+
5
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
6
+ store, or request a secret value.
7
+
8
+ ## Documentation
9
+
10
+ - https://docs.copilotkit.ai/ms-agent-dotnet/quickstart.md
11
+ - https://docs.copilotkit.ai/ms-agent-dotnet/inspector.md
12
+ - https://docs.copilotkit.ai/ms-agent-dotnet/generative-ui/a2ui/fixed-schema.md
13
+
14
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
15
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
16
+
17
+ If the pages support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
19
+
20
+ If a page does not load or support the selection, run
21
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,22 @@
1
+ # Configure Microsoft Agent Framework Harness .NET
2
+
3
+ If the repository uses this framework, preserve it. Preserve its model vendor and model
4
+ setup. Record the required credential variable names from the selected CopilotKit pages.
5
+
6
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
7
+ store, or request a secret value.
8
+
9
+ ## Documentation
10
+
11
+ - https://docs.copilotkit.ai/ms-agent-harness-dotnet/quickstart.md
12
+ - https://docs.copilotkit.ai/ms-agent-harness-dotnet/inspector.md
13
+ - https://docs.copilotkit.ai/ms-agent-harness-dotnet/generative-ui/a2ui/fixed-schema.md
14
+
15
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
16
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
17
+
18
+ If the pages support the selection, run
19
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
20
+
21
+ If a page does not load or support the selection, run
22
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,21 @@
1
+ # Configure Microsoft Agent Framework Python
2
+
3
+ Preserve an existing Microsoft Agent Framework Python setup. Offer OpenAI or Azure OpenAI for a new agent. Ask the developer to choose the vendor and model. Record the required credential variable names.
4
+
5
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
6
+ store, or request a secret value.
7
+
8
+ ## Documentation
9
+
10
+ - https://docs.copilotkit.ai/ms-agent-python/quickstart.md
11
+ - https://docs.copilotkit.ai/ms-agent-python/inspector.md
12
+ - https://docs.copilotkit.ai/ms-agent-python/generative-ui/a2ui/fixed-schema.md
13
+
14
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
15
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
16
+
17
+ If the pages support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
19
+
20
+ If a page does not load or support the selection, run
21
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure PydanticAI
2
+
3
+ Preserve an existing PydanticAI model setup. Start with OpenAI for a new agent. Offer
4
+ another vendor only after the selected CopilotKit Markdown pages document it. The pages must
5
+ name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/pydantic-ai/quickstart.md
13
+ - https://docs.copilotkit.ai/pydantic-ai/inspector.md
14
+ - https://docs.copilotkit.ai/pydantic-ai/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure AWS Strands Python
2
+
3
+ Preserve an existing AWS Strands Python model setup. Start with OpenAI for a new agent.
4
+ Offer another vendor only after the selected CopilotKit Markdown pages document it. The
5
+ pages must name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/strands/quickstart.md
13
+ - https://docs.copilotkit.ai/strands/inspector.md
14
+ - https://docs.copilotkit.ai/strands/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,23 @@
1
+ # Configure AWS Strands TypeScript
2
+
3
+ Preserve an existing AWS Strands TypeScript model setup. Start with OpenAI for a new agent.
4
+ Offer another vendor only after the selected CopilotKit Markdown pages document it. The
5
+ pages must name its credential variables and setup steps.
6
+
7
+ Keep `INTELLIGENCE_API_KEY` separate from model-vendor credentials. Do not read, show,
8
+ store, or request a secret value.
9
+
10
+ ## Documentation
11
+
12
+ - https://docs.copilotkit.ai/strands-typescript/quickstart.md
13
+ - https://docs.copilotkit.ai/strands-typescript/inspector.md
14
+ - https://docs.copilotkit.ai/strands-typescript/generative-ui/a2ui/fixed-schema.md
15
+
16
+ Fetch all three pages. Record the selected framework, vendor, model, required credential
17
+ variable names, and these URLs. Do not use remembered CopilotKit instructions.
18
+
19
+ If the pages support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read frontend/plan`.
21
+
22
+ If a page does not load or support the selection, run
23
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,18 @@
1
+ # Configure Angular
2
+
3
+ Preserve an existing Angular frontend. Use the selected page for a new frontend.
4
+
5
+ ## Documentation
6
+
7
+ - Credentials and plan: `Not applicable`
8
+ - Implementation and validation: https://docs.copilotkit.ai/angular.md
9
+ - Proof: https://docs.copilotkit.ai/angular.md
10
+
11
+ Fetch the selected documentation page. Record Angular as the selected frontend and keep
12
+ this URL. Do not use remembered CopilotKit instructions.
13
+
14
+ If the page supports the selection, run
15
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
16
+
17
+ If the page does not load or support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,18 @@
1
+ # Configure Next.js
2
+
3
+ Preserve an existing Next.js frontend. Use the selected pages for a new frontend.
4
+
5
+ ## Documentation
6
+
7
+ - Credentials and plan: `Not applicable`
8
+ - Implementation and validation: https://docs.copilotkit.ai/quickstart.md
9
+ - Proof: https://docs.copilotkit.ai/quickstart.md
10
+
11
+ Fetch each selected documentation URL. Record Next.js as the selected frontend and keep
12
+ these URLs. Do not use remembered CopilotKit instructions.
13
+
14
+ If the pages support the selection, run
15
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
16
+
17
+ If a page does not load or support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,32 @@
1
+ # Select the frontend
2
+
3
+ Use the repository findings to select the frontend. Ask the developer only for choices
4
+ that the repository does not show. Do not change application code in this phase.
5
+
6
+ If the project has a frontend, preserve it. Use the matching route below. If the project
7
+ needs a frontend, show the valid choices for its starting state.
8
+
9
+ | Starting state | Frontend choices |
10
+ | --------------- | ----------------------------------------------------------------- |
11
+ | `empty` | React SPA, Next.js, Angular, Vue 3, React Native, Slack, or Teams |
12
+ | `agent-only` | React SPA, Next.js, Angular, Vue 3, React Native, Slack, or Teams |
13
+ | `frontend-only` | React SPA, Next.js, Angular, Vue 3, or React Native |
14
+ | `both` | React SPA, Next.js, Angular, Vue 3, or React Native |
15
+
16
+ Slack and Teams are valid only for `empty` and `agent-only`.
17
+
18
+ Show the public options and one recommendation based on repository evidence. If the
19
+ project has no frontend, ask the developer to choose. Do not show the internal route.
20
+
21
+ Use exactly one matching internal route:
22
+
23
+ 1. React SPA: `npx copilotkit@4.8.3 onboard read frontend/react-spa`
24
+ 2. Next.js: `npx copilotkit@4.8.3 onboard read frontend/nextjs`
25
+ 3. Angular: `npx copilotkit@4.8.3 onboard read frontend/angular`
26
+ 4. Vue 3: `npx copilotkit@4.8.3 onboard read frontend/vue`
27
+ 5. React Native: `npx copilotkit@4.8.3 onboard read frontend/react-native`
28
+ 6. Slack: `npx copilotkit@4.8.3 onboard read frontend/slack`
29
+ 7. Microsoft Teams: `npx copilotkit@4.8.3 onboard read frontend/teams`
30
+
31
+ If no listed frontend fits, run
32
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,18 @@
1
+ # Configure React Native
2
+
3
+ Preserve an existing React Native frontend. Use the selected page for a new frontend.
4
+
5
+ ## Documentation
6
+
7
+ - Credentials and plan: `Not applicable`
8
+ - Implementation and validation: https://docs.copilotkit.ai/react-native.md
9
+ - Proof: https://docs.copilotkit.ai/react-native.md
10
+
11
+ Fetch the selected documentation page. Record React Native as the selected frontend and
12
+ keep this URL. Do not use remembered CopilotKit instructions.
13
+
14
+ If the page supports the selection, run
15
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
16
+
17
+ If the page does not load or support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,12 @@
1
+ # Configure React SPA
2
+
3
+ Preserve an existing React SPA. This release has no documented implementation or proof
4
+ path for React SPA. Do not change the project from remembered CopilotKit instructions.
5
+
6
+ ## Documentation
7
+
8
+ - Credentials and plan: `Not applicable`
9
+ - Implementation and validation: `Not documented`
10
+ - Proof: `Not documented`
11
+
12
+ Run `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,20 @@
1
+ # Configure Slack
2
+
3
+ Use Slack only for an empty or agent-only starting state. Preserve an existing Slack
4
+ frontend in those states. Record each required credential variable name. Do not read,
5
+ show, store, or request a secret value.
6
+
7
+ ## Documentation
8
+
9
+ - Credentials and plan: https://docs.copilotkit.ai/slack/intelligence.md
10
+ - Implementation and validation: https://docs.copilotkit.ai/slack/connect.md
11
+ - Proof: https://docs.copilotkit.ai/slack/deploy-and-operate.md
12
+
13
+ Fetch each selected documentation URL. Record Slack as the selected frontend and keep
14
+ these URLs. Do not use remembered CopilotKit instructions.
15
+
16
+ If the pages support the selection, run
17
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
18
+
19
+ If a page does not load or support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,20 @@
1
+ # Configure Microsoft Teams
2
+
3
+ Use Microsoft Teams only for an empty or agent-only starting state. Preserve an existing
4
+ Teams frontend in those states. Record each required credential variable name. Do not
5
+ read, show, store, or request a secret value.
6
+
7
+ ## Documentation
8
+
9
+ - Credentials and plan: https://docs.copilotkit.ai/teams/intelligence.md
10
+ - Implementation and validation: https://docs.copilotkit.ai/teams/connect.md
11
+ - Proof: https://docs.copilotkit.ai/teams/deploy-and-operate.md
12
+
13
+ Fetch each selected documentation URL. Record Microsoft Teams as the selected frontend
14
+ and keep these URLs. Do not use remembered CopilotKit instructions.
15
+
16
+ If the pages support the selection, run
17
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
18
+
19
+ If a page does not load or support the selection, run
20
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,18 @@
1
+ # Configure Vue 3
2
+
3
+ Preserve an existing Vue 3 frontend. Use the selected page for a new frontend.
4
+
5
+ ## Documentation
6
+
7
+ - Credentials and plan: `Not applicable`
8
+ - Implementation and validation: https://docs.copilotkit.ai/vue.md
9
+ - Proof: https://docs.copilotkit.ai/vue.md
10
+
11
+ Fetch the selected documentation page. Record Vue 3 as the selected frontend and keep
12
+ this URL. Do not use remembered CopilotKit instructions.
13
+
14
+ If the page supports the selection, run
15
+ `npx copilotkit@4.8.3 onboard read credentials/finalize-plan`.
16
+
17
+ If the page does not load or support the selection, run
18
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,13 @@
1
+ # Implement and validate the plan
2
+
3
+ Do not implement the plan yourself. Spawn one implementation subagent. Tell it to run
4
+ `npx copilotkit@4.8.3 onboard read subagent/implement-and-validate`.
5
+
6
+ Give the subagent the approved plan, selected framework, frontend, model, repository
7
+ findings, and selected documentation URLs. Wait for the subagent to finish.
8
+
9
+ If all implementation and validation steps pass, run
10
+ `npx copilotkit@4.8.3 onboard read proof/round-trip`.
11
+
12
+ If a step fails or the documentation does not support the plan, run
13
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,7 @@
1
+ # Complete onboarding
2
+
3
+ Report the selected framework, frontend, model, and complete round-trip evidence to the developer.
4
+ Report the exact interaction, visible result, validation commands, and evidence locations.
5
+
6
+ Do not complete onboarding without this evidence. When the evidence is complete, run
7
+ `npx copilotkit@4.8.3 onboard complete`.
@@ -0,0 +1,16 @@
1
+ # Prove the user journey
2
+
3
+ Do not do the proof work yourself. Spawn one proof subagent. Tell it to run
4
+ `npx copilotkit@4.8.3 onboard read subagent/prove-round-trip`.
5
+
6
+ Give the subagent the selected framework, frontend, model, approved plan, selected
7
+ documentation URLs, and validation evidence. Wait for the subagent to finish.
8
+
9
+ Give the subagent this guide for continued-development tools:
10
+ https://docs.copilotkit.ai/build-with-agents.md
11
+
12
+ If the subagent proves the complete round trip and configures the tools, run
13
+ `npx copilotkit@4.8.3 onboard read proof/complete`.
14
+
15
+ If the round trip fails or lacks evidence, run
16
+ `npx copilotkit@4.8.3 onboard read unsupported/no-validated-path`.
@@ -0,0 +1,14 @@
1
+ # Create the onboarding plan
2
+
3
+ Use the selected framework, frontend, model, repository findings, and documentation URLs
4
+ from the main coding agent. Fetch each selected URL. Do not use remembered CopilotKit
5
+ instructions.
6
+
7
+ List the required credential variable names. Do not read or return credential values.
8
+ Preserve each agent or frontend that already exists.
9
+
10
+ Create one plan for implementation, validation, and proof. Name each file or area that can
11
+ change. Name the commands that can validate the result.
12
+
13
+ Return the plan, the URLs that you read, and each documentation gap. Stop after you return
14
+ the findings to the main coding agent.
@@ -0,0 +1,13 @@
1
+ # Implement and validate the approved plan
2
+
3
+ Use only the approved plan and the selected documentation URLs. Fetch each URL before you
4
+ change the project. Do not use remembered CopilotKit instructions.
5
+
6
+ Preserve each agent or frontend that already exists. Add only the missing parts and the
7
+ CopilotKit connection. Do not read, show, store, or return secret values.
8
+
9
+ Run the validation commands from the approved plan. Record the changed files, command
10
+ results, and each error. Do not claim that the real user journey works in this phase.
11
+
12
+ Return the implementation result and validation evidence to the main coding agent. Stop
13
+ after you return the result.
@@ -0,0 +1,14 @@
1
+ # Inspect the repository
2
+
3
+ Inspect the repository without changing it. Find evidence for:
4
+
5
+ - any existing agent framework
6
+ - any existing frontend
7
+ - current CopilotKit packages and configuration
8
+ - authentication boundaries
9
+ - names of required credential variables, without reading their values
10
+ - the commands or user path that can prove a real generative-UI round trip
11
+
12
+ Return the file paths and a short finding for each item. State each absent or unproved item.
13
+ Do not read, print, or return secret values. Do not run or return another
14
+ onboarding command. Stop after returning the findings to the main coding agent.
@@ -0,0 +1,20 @@
1
+ # Prove the complete round trip
2
+
3
+ Use the proof steps and documentation URLs from the approved plan. Fetch each selected URL
4
+ before you start. Do not use remembered CopilotKit instructions.
5
+
6
+ Start the agent and the selected frontend. Send one real request through the frontend.
7
+ Make sure that the request passes through CopilotKit and reaches the selected agent.
8
+
9
+ Make sure that the frontend receives working generative UI from the agent. Record the input,
10
+ visible result, relevant process status, and evidence locations. Do not return secret values.
11
+
12
+ After the round trip works, fetch the continued-development guide from the main coding agent.
13
+ Use it to install the project-scoped CopilotKit Skills.
14
+ Use it to configure the CopilotKit documentation MCP server for the current coding agent.
15
+
16
+ Record the installed Skills and the configured MCP server. If either tool step fails, return
17
+ the exact documentation gap or error.
18
+
19
+ Return the proof or the exact failed step to the main coding agent. Stop after you return the
20
+ result.
@@ -0,0 +1,17 @@
1
+ # No validated path in this release
2
+
3
+ Stop onboarding without making more repository changes. Keep the developer's current agent,
4
+ frontend, authentication, and package choices.
5
+
6
+ Explain the exact step that failed. State whether authentication, project selection, project
7
+ credentials, the journey, a documentation URL, implementation, validation, or proof caused
8
+ the stop. Do not invent an adapter or claim that an untested path works.
9
+
10
+ If useful, send one short report without secrets, source code, logs, or command output:
11
+
12
+ ```text
13
+ npx copilotkit@4.8.3 onboard feedback
14
+ ```
15
+
16
+ Write the feedback message to the command's standard input. Stop after the explanation or
17
+ optional feedback. This unsupported outcome does not complete onboarding.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copilotkit",
3
- "version": "4.8.1",
3
+ "version": "4.8.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,5 +9,8 @@
9
9
  },
10
10
  "bin": {
11
11
  "copilotkit": "./index.js"
12
+ },
13
+ "dependencies": {
14
+ "@microsoft/teams.cli": "3.0.3"
12
15
  }
13
16
  }
@@ -14683,7 +14683,7 @@ import * as path4 from "node:path";
14683
14683
 
14684
14684
  // apps/cli/src/config.ts
14685
14685
  function getTemplateRef() {
14686
- return true ? "7e502dd4a452feee7d26c6355fd262948f8c25e6" : "main";
14686
+ return true ? "e0a2f00cca326c76739217e8ca40902e609539a4" : "main";
14687
14687
  }
14688
14688
 
14689
14689
  // apps/cli/src/services/agentcore-config.ts
@@ -14859,7 +14859,13 @@ var TELEMETRY_ERROR_CODES = {
14859
14859
  AUTH_FAILED: "AUTH_FAILED",
14860
14860
  USER_ABORTED: "USER_ABORTED",
14861
14861
  NON_INTERACTIVE: "NON_INTERACTIVE",
14862
- FILESYSTEM_WRITE_FAILED: "FILESYSTEM_WRITE_FAILED"
14862
+ FILESYSTEM_WRITE_FAILED: "FILESYSTEM_WRITE_FAILED",
14863
+ CLI_PRODUCT_BINARY_TOO_LARGE: "CLI_PRODUCT_BINARY_TOO_LARGE",
14864
+ LEARNING_CONTAINER_ID_INVALID: "LEARNING_CONTAINER_ID_INVALID",
14865
+ LEARNING_PROJECT_ID_INVALID: "LEARNING_PROJECT_ID_INVALID",
14866
+ LEARNING_SKILLS_BUNDLE_INVALID: "LEARNING_SKILLS_BUNDLE_INVALID",
14867
+ LEARNING_SKILLS_INTEGRITY_FAILED: "LEARNING_SKILLS_INTEGRITY_FAILED",
14868
+ LEARNING_SKILLS_OUTPUT_EXISTS: "LEARNING_SKILLS_OUTPUT_EXISTS"
14863
14869
  };
14864
14870
  function tagError(err, code) {
14865
14871
  err.code = code;