copilotkit 4.9.37 → 4.9.50

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 (67) hide show
  1. package/README.md +185 -7
  2. package/cli-build-info.json +7 -7
  3. package/index.js +7908 -4788
  4. package/onboarding/index.json +162 -1
  5. package/onboarding/prompts/authenticate/start.md +33 -16
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +13 -13
  8. package/onboarding/prompts/credentials/plan.md +20 -20
  9. package/onboarding/prompts/fallback/best-effort.md +6 -6
  10. package/onboarding/prompts/feature/a2ui/implement.md +32 -0
  11. package/onboarding/prompts/feature/a2ui/proof.md +34 -0
  12. package/onboarding/prompts/feature/a2ui/start.md +55 -0
  13. package/onboarding/prompts/feature/chat-suggestions/implement.md +28 -0
  14. package/onboarding/prompts/feature/chat-suggestions/proof.md +26 -0
  15. package/onboarding/prompts/feature/chat-suggestions/start.md +46 -0
  16. package/onboarding/prompts/feature/learning/implement.md +44 -0
  17. package/onboarding/prompts/feature/learning/proof.md +27 -0
  18. package/onboarding/prompts/feature/learning/start.md +52 -0
  19. package/onboarding/prompts/feature/open-generative-ui/implement.md +28 -0
  20. package/onboarding/prompts/feature/open-generative-ui/proof.md +27 -0
  21. package/onboarding/prompts/feature/open-generative-ui/start.md +47 -0
  22. package/onboarding/prompts/feature/realtime-sync/implement.md +38 -0
  23. package/onboarding/prompts/feature/realtime-sync/proof.md +28 -0
  24. package/onboarding/prompts/feature/realtime-sync/start.md +50 -0
  25. package/onboarding/prompts/feature/rich-threads/implement.md +41 -0
  26. package/onboarding/prompts/feature/rich-threads/proof.md +27 -0
  27. package/onboarding/prompts/feature/rich-threads/start.md +52 -0
  28. package/onboarding/prompts/feature/stop.md +41 -0
  29. package/onboarding/prompts/feature/voice/implement.md +28 -0
  30. package/onboarding/prompts/feature/voice/proof.md +27 -0
  31. package/onboarding/prompts/feature/voice/start.md +45 -0
  32. package/onboarding/prompts/framework/ag2.md +2 -2
  33. package/onboarding/prompts/framework/agno.md +2 -2
  34. package/onboarding/prompts/framework/built-in.md +2 -2
  35. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  36. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  37. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  38. package/onboarding/prompts/framework/deep-agents.md +2 -2
  39. package/onboarding/prompts/framework/google-adk.md +2 -2
  40. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  41. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  42. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  43. package/onboarding/prompts/framework/llamaindex.md +2 -2
  44. package/onboarding/prompts/framework/mastra.md +2 -2
  45. package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
  46. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  47. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  48. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  49. package/onboarding/prompts/framework/strands-python.md +2 -2
  50. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  51. package/onboarding/prompts/frontend/angular.md +3 -3
  52. package/onboarding/prompts/frontend/nextjs.md +3 -3
  53. package/onboarding/prompts/frontend/plan.md +6 -6
  54. package/onboarding/prompts/frontend/react-native.md +2 -2
  55. package/onboarding/prompts/frontend/react-spa.md +2 -2
  56. package/onboarding/prompts/frontend/vue.md +2 -2
  57. package/onboarding/prompts/implementation/build-and-validate.md +33 -13
  58. package/onboarding/prompts/proof/complete.md +20 -7
  59. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  60. package/onboarding/prompts/proof/round-trip.md +9 -9
  61. package/onboarding/prompts/starter/clone.md +5 -5
  62. package/onboarding/prompts/subagent/create-plan.md +11 -3
  63. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  64. package/onboarding/prompts/subagent/prove-round-trip.md +29 -11
  65. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  66. package/package.json +1 -1
  67. package/release/release-tool.js +37 -11
@@ -0,0 +1,45 @@
1
+ # Add voice input to the existing CopilotKit app
2
+
3
+ Treat voice as an OSS enhancement to an existing CopilotKit chat. Orchestrate with separate
4
+ read-only, implementation, and proof subagents, each restricted to the target project.
5
+
6
+ Before edits, inspect the runtime route, CopilotKit provider/chat composer, current agent,
7
+ existing provider credential variable names (presence only), package versions, browser
8
+ permissions approach, and test/dev commands. Prove the existing OSS baseline with `/info`,
9
+ `npx --yes copilotkit@4.9.50 verify --expect-runtime oss --round-trip --agent <agent-id> --json`,
10
+ and a real UI request when a browser is available. If that baseline is absent, change nothing
11
+ and direct the developer to generic onboarding first.
12
+
13
+ Wait for the inspection subagent to finish. Then report that the inspection came back:
14
+
15
+ ```text
16
+ npx --yes copilotkit@4.9.50 onboard checkpoint --phase research-returned
17
+ ```
18
+
19
+ A refused checkpoint prints its reason and leaves onboarding unaffected. It is not a
20
+ failed step.
21
+
22
+ If the inspection did not prove the baseline this intent extends, stop here without
23
+ changing files:
24
+
25
+ ```text
26
+ npx --yes copilotkit@4.9.50 onboard read feature/stop
27
+ ```
28
+
29
+ Do not run login, select Intelligence, create a credential, read a credential value, or
30
+ replace the existing chat/runtime. Fetch the official voice guide before planning:
31
+ https://docs.copilotkit.ai/voice.md
32
+ Retry it a second way if needed. Use an existing user-owned provider credential only when
33
+ the repository proves its variable name is configured; otherwise explain the setup gate and
34
+ stop rather than writing a placeholder.
35
+
36
+ Show a small plan for the documented transcription service, the existing composer, focused
37
+ tests, and a microphone/canned-transcript proof. Ask for approval separately.
38
+
39
+ After approval, report the plan this run is about to implement:
40
+
41
+ ```text
42
+ npx --yes copilotkit@4.9.50 onboard checkpoint --phase plan-written
43
+ ```
44
+
45
+ Then run `npx --yes copilotkit@4.9.50 onboard read feature/voice/implement`.
@@ -31,7 +31,7 @@ Record the selected framework, vendor, model, required credential variable names
31
31
  URLs, and the A2UI documentation gap.
32
32
 
33
33
  If the pages support the selection, run
34
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
34
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
35
35
 
36
36
  If the documentation does not support the selection, run
37
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
37
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -34,7 +34,7 @@ Record the selected framework, vendor, model, required credential variable names
34
34
  URLs, the documented dependencies and adapter, and the context documentation gap.
35
35
 
36
36
  If the pages support the selection, run
37
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
38
38
 
39
39
  If the documentation does not support the selection, run
40
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
40
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -27,7 +27,7 @@ Record the selected framework, vendor, model, required credential variable names
27
27
  these URLs.
28
28
 
29
29
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
30
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
31
31
 
32
32
  If the documentation does not support the selection, run
33
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -33,7 +33,7 @@ Record the selected framework, vendor, model, required credential variable names
33
33
  URLs, and the context limit.
34
34
 
35
35
  If the pages support the selection, run
36
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
36
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
37
37
 
38
38
  If the documentation does not support the selection, run
39
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
39
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -37,7 +37,7 @@ Record the selected framework, vendor, model, required credential variable names
37
37
  URLs, and the context limit.
38
38
 
39
39
  If the pages support the selection, run
40
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
40
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
41
41
 
42
42
  If the documentation does not support the selection, run
43
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
43
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -54,7 +54,7 @@ variable names the repository proves or the developer named, these URLs, the ada
54
54
  shared-state limit.
55
55
 
56
56
  If the pages support the selection, run
57
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
57
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
58
58
 
59
59
  If the documentation does not support the selection, run
60
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
60
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -29,7 +29,7 @@ Record the selected framework, language, vendor, model, required credential vari
29
29
  names, these URLs, and each documentation gap.
30
30
 
31
31
  If the pages support the selection, run
32
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
32
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
33
33
 
34
34
  If the documentation does not support the selection, run
35
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
35
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -28,7 +28,7 @@ Record the selected framework, vendor, model, required credential variable names
28
28
  these URLs.
29
29
 
30
30
  If the pages support the selection, run
31
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
31
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
32
32
 
33
33
  If the documentation does not support the selection, run
34
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
34
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -24,7 +24,7 @@ Record the selected framework, vendor, model, required credential variable names
24
24
  these URLs.
25
25
 
26
26
  If the pages support the selection, run
27
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
27
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
28
28
 
29
29
  If the documentation does not support the selection, run
30
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
30
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -15,7 +15,7 @@ Record the selected framework, vendor, model, required credential variable names
15
15
  these URLs.
16
16
 
17
17
  If the pages support the selection, run
18
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
19
19
 
20
20
  If the documentation does not support the selection, run
21
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
21
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -15,7 +15,7 @@ Record the selected framework, vendor, model, required credential variable names
15
15
  these URLs.
16
16
 
17
17
  If the pages support the selection, run
18
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
18
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
19
19
 
20
20
  If the documentation does not support the selection, run
21
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
21
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -34,7 +34,7 @@ Record the selected framework, vendor, model, required credential variable names
34
34
  URLs, the documented dependencies and adapter, and both documentation limits.
35
35
 
36
36
  If the pages support the selection, run
37
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
38
38
 
39
39
  If the documentation does not support the selection, run
40
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
40
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -45,7 +45,7 @@ Record the selected framework, vendor, model, required credential variable names
45
45
  these URLs.
46
46
 
47
47
  If the pages support the selection, run
48
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
48
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
49
49
 
50
50
  If the documentation does not support the selection, run
51
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
51
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -34,7 +34,7 @@ Record the selected framework, provider, model, required credential variable nam
34
34
  these URLs.
35
35
 
36
36
  If the pages support the selection, run
37
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
37
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
38
38
 
39
39
  If the documentation does not support the selection, run
40
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
40
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -44,7 +44,7 @@ Record the selected framework, provider, model, required credential variable nam
44
44
  URLs, and the quickstart gap.
45
45
 
46
46
  If the pages support the selection, run
47
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
47
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
48
48
 
49
49
  If the documentation does not support the selection, run
50
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
50
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -28,7 +28,7 @@ Record the selected framework, vendor, model, required credential variable names
28
28
  these URLs.
29
29
 
30
30
  If the pages support the selection, run
31
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
31
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
32
32
 
33
33
  If the documentation does not support the selection, run
34
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
34
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -43,7 +43,7 @@ Record the selected framework, vendor, model, required credential variable names
43
43
  URLs, and the two-step context route.
44
44
 
45
45
  If the pages support the selection, run
46
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
46
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
47
47
 
48
48
  If the documentation does not support the selection, run
49
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
49
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -27,7 +27,7 @@ Record the selected framework, vendor, model, required credential variable names
27
27
  URLs, and the context documentation gap.
28
28
 
29
29
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
30
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
31
31
 
32
32
  If the documentation does not support the selection, run
33
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -28,7 +28,7 @@ Record the selected framework, vendor, model, required credential variable names
28
28
  URLs, and the context documentation gap.
29
29
 
30
30
  If the pages support the selection, run
31
- `npx --yes copilotkit@4.9.37 onboard read frontend/plan`.
31
+ `npx --yes copilotkit@4.9.50 onboard read frontend/plan`.
32
32
 
33
33
  If the documentation does not support the selection, run
34
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
34
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -5,7 +5,7 @@ Preserve an existing Angular frontend. Use the selected page for a new frontend.
5
5
  Use the starter shortcut only if all these facts are true: the target directory contains
6
6
  no entries, its name is a valid `init` project name, and the selected framework is ADK.
7
7
  If all three facts are true, record Angular as the selected frontend. Then run
8
- `npx --yes copilotkit@4.9.37 onboard read starter/clone` before you fetch documentation.
8
+ `npx --yes copilotkit@4.9.50 onboard read starter/clone` before you fetch documentation.
9
9
 
10
10
  ## Documentation
11
11
 
@@ -63,7 +63,7 @@ you create or build an Angular project. If the installed version is lower, selec
63
63
  supported version first and use it for every later command in this project.
64
64
 
65
65
  If the pages support the selection, record Angular and these URLs. Then run
66
- `npx --yes copilotkit@4.9.37 onboard read credentials/finalize-plan`.
66
+ `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
67
67
 
68
68
  If the documentation does not support the selection, or the two version lines do not fit
69
- together, run `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
69
+ together, run `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -15,7 +15,7 @@ These TypeScript options have starters: Claude Agent SDK TypeScript, LangGraph T
15
15
  Mastra, and Strands Agents TypeScript. The .NET option is Microsoft Agent Framework .NET.
16
16
 
17
17
  If all shortcut conditions are true, record Next.js as the selected frontend. Then run
18
- `npx --yes copilotkit@4.9.37 onboard read starter/clone` before you fetch documentation.
18
+ `npx --yes copilotkit@4.9.50 onboard read starter/clone` before you fetch documentation.
19
19
 
20
20
  ## Documentation
21
21
 
@@ -27,7 +27,7 @@ agent as the default agent, which is correct only for a project that has no agen
27
27
  Do not replace the developer's existing agent with the built-in agent.
28
28
 
29
29
  If the page supports the selection, record Next.js and this URL. Then run
30
- `npx --yes copilotkit@4.9.37 onboard read credentials/finalize-plan`.
30
+ `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
31
31
 
32
32
  If the documentation does not support the selection, run
33
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -24,11 +24,11 @@ process.
24
24
 
25
25
  Use exactly one matching internal route:
26
26
 
27
- 1. React SPA: `npx --yes copilotkit@4.9.37 onboard read frontend/react-spa`
28
- 2. Next.js: `npx --yes copilotkit@4.9.37 onboard read frontend/nextjs`
29
- 3. Angular: `npx --yes copilotkit@4.9.37 onboard read frontend/angular`
30
- 4. Vue 3: `npx --yes copilotkit@4.9.37 onboard read frontend/vue`
31
- 5. React Native: `npx --yes copilotkit@4.9.37 onboard read frontend/react-native`
27
+ 1. React SPA: `npx --yes copilotkit@4.9.50 onboard read frontend/react-spa`
28
+ 2. Next.js: `npx --yes copilotkit@4.9.50 onboard read frontend/nextjs`
29
+ 3. Angular: `npx --yes copilotkit@4.9.50 onboard read frontend/angular`
30
+ 4. Vue 3: `npx --yes copilotkit@4.9.50 onboard read frontend/vue`
31
+ 5. React Native: `npx --yes copilotkit@4.9.50 onboard read frontend/react-native`
32
32
 
33
33
  If no listed frontend fits, run
34
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
34
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -15,7 +15,7 @@ documents `useRenderTool`, which is React Native's own hook for drawing a tool t
15
15
  already has. That is a different job and needs a tool in the agent.
16
16
 
17
17
  If the pages support the selection, record React Native and these URLs. Then run
18
- `npx --yes copilotkit@4.9.37 onboard read credentials/finalize-plan`.
18
+ `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
19
19
 
20
20
  If the documentation does not support the selection, run
21
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
21
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -11,7 +11,7 @@ not move the agent into it.
11
11
  - https://docs.copilotkit.ai/react-spa.md
12
12
 
13
13
  If the page supports the selection, record React SPA and this URL. Then run
14
- `npx --yes copilotkit@4.9.37 onboard read credentials/finalize-plan`.
14
+ `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
15
15
 
16
16
  If the documentation does not support the selection, run
17
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
17
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -16,7 +16,7 @@ page above. Vue has its own `useComponent`, which is not the React package. Take
16
16
  that reference page rather than from a Vue generative-UI guide, which is not published.
17
17
 
18
18
  If the pages support the selection, record Vue 3 and these URLs. Then run
19
- `npx --yes copilotkit@4.9.37 onboard read credentials/finalize-plan`.
19
+ `npx --yes copilotkit@4.9.50 onboard read credentials/finalize-plan`.
20
20
 
21
21
  If the documentation does not support the selection, run
22
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
22
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -2,12 +2,26 @@
2
2
 
3
3
  Do not implement the plan yourself. Use the step order in the approved plan.
4
4
 
5
+ ## Authorization requested by the plan
6
+
7
+ Approving the plan is the developer agreeing to every path it listed under
8
+ `Authorization requested`. Record each one before any implementation starts, from the target
9
+ app directory:
10
+
11
+ ```text
12
+ npx --yes copilotkit@4.9.50 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
13
+ ```
14
+
15
+ Consent has to be on the record before the file moves, so a call made after the change is
16
+ refused. Continue only if every result starts with `Status: passed`. If the plan listed
17
+ nothing there, skip this section.
18
+
5
19
  ## Protected-path audit
6
20
 
7
21
  Run the audit from the target app directory:
8
22
 
9
23
  ```text
10
- npx --yes copilotkit@4.9.37 onboard audit
24
+ npx --yes copilotkit@4.9.50 onboard audit
11
25
  ```
12
26
 
13
27
  It compares every protected path with the digest the CLI captured for it. Its result starts
@@ -18,18 +32,24 @@ the result starts with `Status: passed`.
18
32
  revert a protected path. Also do not retry the audit: it reads files, so a second run of it
19
33
  answers the same.
20
34
 
21
- Decide each path the audit names, one at a time. Accept a path only when you can show that
22
- this run did not write it. Every implementation subagent reports what it touched in its
23
- Files changed section, so the test is whether the path appears in any Files changed section
24
- this run collected. If it appears in one, or the sections do not settle it, the change is
25
- this run's own: use the route-out rules. The plan cannot name a protected path, so a plan
26
- that does not name it proves nothing on its own.
35
+ Decide each path the audit names, one at a time.
36
+
37
+ A path the audit lists under `Authorized to change:` is not a finding. The developer approved
38
+ it, the record says why, and the audit reports it rather than failing on it. Carry it into the
39
+ summary with its reason. Nothing else is needed for it.
40
+
41
+ For every other path, the rule is unchanged. Accept a path only when you can show that this
42
+ run did not write it. Every implementation subagent reports what it touched in its Files
43
+ changed section, so the test is whether the path appears in any Files changed section this
44
+ run collected. If it appears in one, or the sections do not settle it, the change is this
45
+ run's own: use the route-out rules. A plan names a protected path only under
46
+ `Authorization requested`, so a plan that does not name it there proves nothing on its own.
27
47
 
28
48
  A path that no Files changed section names changed outside the run, and it is the
29
49
  developer's own file. Accept it by name:
30
50
 
31
51
  ```text
32
- npx --yes copilotkit@4.9.37 onboard protect --accept-external --path <path>
52
+ npx --yes copilotkit@4.9.50 onboard protect --accept-external --path <path>
33
53
  ```
34
54
 
35
55
  Pass one `--path` for each path you accept. Accept only a path the audit named, and only
@@ -48,11 +68,11 @@ acceptance clears it, or route out. Do not send an audit result to a repair work
48
68
  Report the plan this run is about to implement:
49
69
 
50
70
  ```text
51
- npx --yes copilotkit@4.9.37 onboard checkpoint --phase plan-written
71
+ npx --yes copilotkit@4.9.50 onboard checkpoint --phase plan-written
52
72
  ```
53
73
 
54
74
  Spawn one implementation subagent. Tell it to run
55
- `npx --yes copilotkit@4.9.37 onboard read subagent/implement-and-validate` first and follow
75
+ `npx --yes copilotkit@4.9.50 onboard read subagent/implement-and-validate` first and follow
56
76
  the prompt it returns. If that read fails because the subagent cannot use the shell, stop that
57
77
  subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
58
78
  and the same handoff. Give it the plan, selected framework, frontend, model, exact target app
@@ -72,11 +92,11 @@ returned. Continue to proof only when that audit passes.
72
92
  After the selected implementation path passes, report it:
73
93
 
74
94
  ```text
75
- npx --yes copilotkit@4.9.37 onboard checkpoint --phase build-validated
95
+ npx --yes copilotkit@4.9.50 onboard checkpoint --phase build-validated
76
96
  ```
77
97
 
78
98
  Then run
79
- `npx --yes copilotkit@4.9.37 onboard read proof/round-trip`.
99
+ `npx --yes copilotkit@4.9.50 onboard read proof/round-trip`.
80
100
 
81
101
  ## Repair rules
82
102
 
@@ -94,4 +114,4 @@ Route out for `Status: blocked`. Route out only when the failure is not yours to
94
114
  failure is in code this run did not write, the fix requires changing the developer's existing
95
115
  agent or frontend, the same command still fails after three repair attempts, or the
96
116
  documentation does not support the plan. In those cases run
97
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
117
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.
@@ -64,7 +64,7 @@ Name the debugging surface this journey's frontend can reach, rather than the on
64
64
  of the documentation leads with. For a web frontend it is the CopilotKit Inspector. For
65
65
  React Native there is no Inspector: it is a browser overlay built on a DOM custom element,
66
66
  and `@copilotkit/react-native` does not ship it. Give a mobile developer
67
- `npx --yes copilotkit@4.9.37 verify --round-trip`, the runtime's own log, the AG-UI
67
+ `npx --yes copilotkit@4.9.50 verify --round-trip`, the runtime's own log, the AG-UI
68
68
  Event Inspector in the CopilotKit VS Code extension, and the Intelligence thread view
69
69
  instead. Naming the Inspector to a developer who cannot open it costs them the time it
70
70
  takes to conclude their own wiring is broken.
@@ -76,7 +76,7 @@ the friction commands without another developer question. The CLI telemetry gate
76
76
  whether the report is sent.
77
77
 
78
78
  ```text
79
- npx --yes copilotkit@4.9.37 onboard friction --category <slug> --cost-seconds <seconds>
79
+ npx --yes copilotkit@4.9.50 onboard friction --category <slug> --cost-seconds <seconds>
80
80
  ```
81
81
 
82
82
  Write one or two sentences on the command's standard input. Pick one category from
@@ -88,7 +88,7 @@ Pass --docs-path only for a docs-missing or docs-wrong report, naming the page t
88
88
  is about:
89
89
 
90
90
  ```text
91
- npx --yes copilotkit@4.9.37 onboard friction --category docs-wrong --cost-seconds 300 --docs-path /docs/threads/drawer
91
+ npx --yes copilotkit@4.9.50 onboard friction --category docs-wrong --cost-seconds 300 --docs-path /docs/threads/drawer
92
92
  ```
93
93
 
94
94
  Give the page's site-relative path or its full URL, with no spaces, query string, or
@@ -105,14 +105,14 @@ Tell the developer when you send a friction report. Do not quote or summarize th
105
105
  unless the developer asks. If the CLI says that telemetry is disabled or unavailable,
106
106
  state that the report was not sent and continue without another question.
107
107
 
108
- When the evidence is gathered, run `npx --yes copilotkit@4.9.37 onboard complete`, carrying
108
+ When the evidence is gathered, run `npx --yes copilotkit@4.9.50 onboard complete`, carrying
109
109
  the surface-check outcome the proof subagent returned. Pass exactly one flag, and pass the
110
110
  one that matches this journey's surface.
111
111
 
112
112
  For a web frontend -- React SPA, Next.js, Angular, Vue:
113
113
 
114
114
  ```text
115
- npx --yes copilotkit@4.9.37 onboard complete --visual-check <outcome>
115
+ npx --yes copilotkit@4.9.50 onboard complete --visual-check <outcome>
116
116
  ```
117
117
 
118
118
  The outcome is one of `performed`, `skipped-no-browser-tool`, or `failed`.
@@ -120,7 +120,7 @@ The outcome is one of `performed`, `skipped-no-browser-tool`, or `failed`.
120
120
  For React Native:
121
121
 
122
122
  ```text
123
- npx --yes copilotkit@4.9.37 onboard complete --device-check <outcome>
123
+ npx --yes copilotkit@4.9.50 onboard complete --device-check <outcome>
124
124
  ```
125
125
 
126
126
  The outcome is one of `performed`, `skipped-no-device`, or `failed`.
@@ -129,6 +129,19 @@ The two flags are not interchangeable and neither takes the other's outcomes. A
129
129
  proves nothing about a React Native view tree, and a device capture proves nothing about
130
130
  browser-origin CORS, so the flag you pass is how this run states which surface it proved.
131
131
 
132
+ For a web frontend, also pass the URL the browser opened:
133
+
134
+ ```text
135
+ npx --yes copilotkit@4.9.50 onboard complete --visual-check <outcome> \
136
+ --frontend-url <the url you opened>
137
+ ```
138
+
139
+ Pass the URL from the proof subagent's record, unchanged. Only the kind of host is
140
+ recorded -- a loopback hostname, a loopback IP literal, another IP literal, or another
141
+ name -- and never the host itself. A run that opened the loopback IP literal loses every
142
+ static chunk to a refusal, and the field is how that stops being invisible. Leave the flag
143
+ off for React Native, which opens no URL.
144
+
132
145
  Pass the outcome you were given rather than the one you wanted. Anything but `performed`
133
146
  prints what the missing check leaves unverified and ends this run as blocked. That output
134
147
  is the developer's finding, so carry it into the summary rather than restating it as a
@@ -138,7 +151,7 @@ If the round trip proved and something after it still blocked this run, add `--b
138
151
  to the same command:
139
152
 
140
153
  ```text
141
- npx --yes copilotkit@4.9.37 onboard complete --visual-check performed --blocked-by <cause>
154
+ npx --yes copilotkit@4.9.50 onboard complete --visual-check performed --blocked-by <cause>
142
155
  ```
143
156
 
144
157
  The cause is one of `inspector` for a debugging surface that did not open,
@@ -1,7 +1,7 @@
1
1
  # Prove the existing OSS baseline
2
2
 
3
3
  Do not prove the baseline yourself. Spawn one proof subagent. Tell it to run
4
- `npx --yes copilotkit@4.9.37 onboard read subagent/prove-oss-baseline` first and follow the
4
+ `npx --yes copilotkit@4.9.50 onboard read subagent/prove-oss-baseline` first and follow the
5
5
  prompt it returns. If that read fails because the subagent cannot use the shell, stop that
6
6
  subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
7
7
  and the same handoff. Give it the repository findings and exact CLI package spec.
@@ -17,7 +17,7 @@ Wait for the subagent to finish.
17
17
  Record what that proof returned before you route on it:
18
18
 
19
19
  ```text
20
- npx --yes copilotkit@4.9.37 onboard proof --step oss-baseline --outcome <passed|failed|skipped> [--predicate <1-6>]
20
+ npx --yes copilotkit@4.9.50 onboard proof --step oss-baseline --outcome <passed|failed|skipped> [--predicate <1-6>]
21
21
  ```
22
22
 
23
23
  Report the gate whatever it returned. Pass `passed` when the subagent proved a predicate,
@@ -35,14 +35,14 @@ Do not change project files before this proof ends. Starting existing developmen
35
35
  processes and their ignored runtime files is allowed.
36
36
 
37
37
  If the subagent proves the `both-oss` predicate, keep its evidence with the plan and run
38
- `npx --yes copilotkit@4.9.37 onboard read conversion/plan`. That project already works.
38
+ `npx --yes copilotkit@4.9.50 onboard read conversion/plan`. That project already works.
39
39
  What it needs is the conversion, not a build.
40
40
 
41
41
  If it proves another supported starting state, record that state and run
42
- `npx --yes copilotkit@4.9.37 onboard read credentials/plan`. This prompt is served
42
+ `npx --yes copilotkit@4.9.50 onboard read credentials/plan`. This prompt is served
43
43
  whenever a project looks like an OSS integration, so a baseline that did not prove is an
44
44
  ordinary starting state rather than a failure.
45
45
 
46
46
  If it cannot identify the running process safely, exposes a secret, or finds a baseline
47
47
  failure that cannot be classified, run
48
- `npx --yes copilotkit@4.9.37 onboard read unsupported/no-validated-path`.
48
+ `npx --yes copilotkit@4.9.50 onboard read unsupported/no-validated-path`.