copilotkit 4.23.0 → 4.24.0

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 (94) hide show
  1. package/README.md +91 -5
  2. package/cli-build-info.json +8 -8
  3. package/exporters/langgraph/README.md +33 -0
  4. package/exporters/langgraph/export_checkpointer.py +16 -0
  5. package/index.js +4384 -3590
  6. package/onboarding/index.json +2 -1
  7. package/onboarding/prompts/authenticate/start.md +15 -12
  8. package/onboarding/prompts/conversion/plan.md +3 -3
  9. package/onboarding/prompts/credentials/finalize-plan.md +8 -8
  10. package/onboarding/prompts/credentials/plan.md +23 -23
  11. package/onboarding/prompts/credentials/settle-credentials.md +14 -5
  12. package/onboarding/prompts/credentials/write-plan.md +6 -6
  13. package/onboarding/prompts/deployment/choose-local.md +24 -13
  14. package/onboarding/prompts/deployment/local-evaluation.md +31 -7
  15. package/onboarding/prompts/fallback/best-effort.md +8 -8
  16. package/onboarding/prompts/feature/a2ui/implement.md +6 -6
  17. package/onboarding/prompts/feature/a2ui/plan.md +4 -4
  18. package/onboarding/prompts/feature/a2ui/proof.md +5 -5
  19. package/onboarding/prompts/feature/a2ui/start.md +25 -8
  20. package/onboarding/prompts/feature/channels/implement.md +7 -7
  21. package/onboarding/prompts/feature/channels/plan.md +4 -4
  22. package/onboarding/prompts/feature/channels/proof.md +5 -5
  23. package/onboarding/prompts/feature/channels/start.md +23 -19
  24. package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
  25. package/onboarding/prompts/feature/chat-suggestions/plan.md +4 -4
  26. package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
  27. package/onboarding/prompts/feature/chat-suggestions/start.md +25 -8
  28. package/onboarding/prompts/feature/complete.md +2 -2
  29. package/onboarding/prompts/feature/learning/implement.md +13 -13
  30. package/onboarding/prompts/feature/learning/plan.md +4 -4
  31. package/onboarding/prompts/feature/learning/proof.md +49 -6
  32. package/onboarding/prompts/feature/learning/start.md +25 -8
  33. package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
  34. package/onboarding/prompts/feature/open-generative-ui/plan.md +4 -4
  35. package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
  36. package/onboarding/prompts/feature/open-generative-ui/start.md +25 -8
  37. package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
  38. package/onboarding/prompts/feature/realtime-sync/plan.md +4 -4
  39. package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
  40. package/onboarding/prompts/feature/realtime-sync/start.md +24 -7
  41. package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
  42. package/onboarding/prompts/feature/rich-threads/plan.md +4 -4
  43. package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
  44. package/onboarding/prompts/feature/rich-threads/start.md +24 -7
  45. package/onboarding/prompts/feature/stop.md +3 -3
  46. package/onboarding/prompts/feature/voice/implement.md +6 -6
  47. package/onboarding/prompts/feature/voice/plan.md +5 -5
  48. package/onboarding/prompts/feature/voice/proof.md +5 -5
  49. package/onboarding/prompts/feature/voice/start.md +25 -8
  50. package/onboarding/prompts/framework/ag2.md +2 -2
  51. package/onboarding/prompts/framework/agno.md +2 -2
  52. package/onboarding/prompts/framework/built-in.md +2 -2
  53. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  54. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  55. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  56. package/onboarding/prompts/framework/custom-ag-ui.md +2 -2
  57. package/onboarding/prompts/framework/deep-agents.md +2 -2
  58. package/onboarding/prompts/framework/google-adk.md +2 -2
  59. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  60. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  61. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  62. package/onboarding/prompts/framework/llamaindex.md +2 -2
  63. package/onboarding/prompts/framework/mastra.md +2 -2
  64. package/onboarding/prompts/framework/ms-agent-dotnet.md +3 -3
  65. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +3 -3
  66. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  67. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  68. package/onboarding/prompts/framework/strands-python.md +2 -2
  69. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  70. package/onboarding/prompts/frontend/angular.md +3 -3
  71. package/onboarding/prompts/frontend/nextjs.md +3 -3
  72. package/onboarding/prompts/frontend/plan.md +7 -7
  73. package/onboarding/prompts/frontend/react-native.md +2 -2
  74. package/onboarding/prompts/frontend/react-spa.md +2 -2
  75. package/onboarding/prompts/frontend/vue.md +2 -2
  76. package/onboarding/prompts/implementation/build-and-validate.md +16 -14
  77. package/onboarding/prompts/proof/complete.md +3 -3
  78. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  79. package/onboarding/prompts/proof/round-trip.md +8 -8
  80. package/onboarding/prompts/research/gather.md +5 -5
  81. package/onboarding/prompts/research/merge.md +2 -2
  82. package/onboarding/prompts/research/preflight.md +2 -2
  83. package/onboarding/prompts/research/route.md +5 -5
  84. package/onboarding/prompts/starter/clone.md +92 -7
  85. package/onboarding/prompts/stopped/run-failed.md +2 -2
  86. package/onboarding/prompts/subagent/create-plan.md +2 -2
  87. package/onboarding/prompts/subagent/implement-and-validate.md +2 -2
  88. package/onboarding/prompts/subagent/inspect-repository.md +1 -1
  89. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  90. package/onboarding/prompts/subagent/prove-round-trip.md +8 -6
  91. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  92. package/package.json +1 -1
  93. package/release/release-tool.js +12 -1
  94. package/services/local-auth-worker.js +175 -159
@@ -9,7 +9,7 @@ you change the project. If it fails, no .NET SDK is on this shell's PATH. Do not
9
9
  the project, and do not install the SDK yourself. Tell the developer to install the .NET
10
10
  SDK from https://dotnet.microsoft.com/download. Say that the coding agent's shell cannot
11
11
  see a new install until the developer restarts the coding agent. Give them
12
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard start --run <onboarding_run_id>` to resume the run
12
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard start --run <onboarding_run_id>` to resume the run
13
13
  after the restart. Then end your turn and wait for the developer.
14
14
 
15
15
  ## Documentation
@@ -49,7 +49,7 @@ Record the selected framework, provider, model, required credential variable nam
49
49
  URLs, and the quickstart gap.
50
50
 
51
51
  If the pages support the selection, run
52
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/plan`.
52
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/plan`.
53
53
 
54
54
  If the documentation does not support the selection, run
55
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
55
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -30,7 +30,7 @@ Record the selected framework, vendor, model, required credential variable names
30
30
  these URLs.
31
31
 
32
32
  If the pages support the selection, run
33
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/plan`.
33
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/plan`.
34
34
 
35
35
  If the documentation does not support the selection, run
36
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
36
+ `npx --prefer-offline --yes copilotkit@4.24.0 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 --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/plan`.
46
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/plan`.
47
47
 
48
48
  If the documentation does not support the selection, run
49
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
49
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -29,7 +29,7 @@ Record the selected framework, vendor, model, required credential variable names
29
29
  URLs, and the context documentation gap.
30
30
 
31
31
  If the pages support the selection, run
32
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/plan`.
32
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/plan`.
33
33
 
34
34
  If the documentation does not support the selection, run
35
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
35
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -30,7 +30,7 @@ Record the selected framework, vendor, model, required credential variable names
30
30
  URLs, and the context documentation gap.
31
31
 
32
32
  If the pages support the selection, run
33
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/plan`.
33
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/plan`.
34
34
 
35
35
  If the documentation does not support the selection, run
36
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
36
+ `npx --prefer-offline --yes copilotkit@4.24.0 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 holds no
6
6
  project, 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 --prefer-offline --yes copilotkit@4.23.0 onboard read starter/clone` before you fetch documentation.
8
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read starter/clone` before you fetch documentation.
9
9
 
10
10
  ## Documentation
11
11
 
@@ -52,7 +52,7 @@ you create or build an Angular project. If the installed version is lower, selec
52
52
  supported version first and use it for every later command in this project.
53
53
 
54
54
  If the pages support the selection, record Angular and these URLs. Then run
55
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/finalize-plan`.
55
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/finalize-plan`.
56
56
 
57
57
  If the documentation does not support the selection, or the two version lines do not fit
58
- together, run `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
58
+ together, run `npx --prefer-offline --yes copilotkit@4.24.0 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 --prefer-offline --yes copilotkit@4.23.0 onboard read starter/clone` before you fetch documentation.
18
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read starter/clone` before you fetch documentation.
19
19
 
20
20
  ## Documentation
21
21
 
@@ -40,7 +40,7 @@ developer's work.
40
40
  - Do not claim, revert, or delete these files. Name them in the report as Next.js output.
41
41
 
42
42
  If the page supports the selection, record Next.js and this URL. Then run
43
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/finalize-plan`.
43
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/finalize-plan`.
44
44
 
45
45
  If the documentation does not support the selection, run
46
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
46
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -37,15 +37,15 @@ CopilotKit web apps. Then recommend the one the developer names, and say what ea
37
37
 
38
38
  Use exactly one matching internal route:
39
39
 
40
- 1. React SPA: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/react-spa`
41
- 2. Next.js: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/nextjs`
42
- 3. Angular: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/angular`
43
- 4. Vue 3: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/vue`
44
- 5. React Native: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read frontend/react-native`
45
- 6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.23.0 onboard read feature/channels/start`
40
+ 1. React SPA: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/react-spa`
41
+ 2. Next.js: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/nextjs`
42
+ 3. Angular: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/angular`
43
+ 4. Vue 3: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/vue`
44
+ 5. React Native: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read frontend/react-native`
45
+ 6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.24.0 onboard read feature/channels/start`
46
46
 
47
47
  If they chose Slack or Microsoft Teams, tell that node which one they chose so it
48
48
  does not ask again.
49
49
 
50
50
  If no listed frontend fits, run
51
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
51
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -18,7 +18,7 @@ documents `useRenderTool`, which is React Native's own hook for drawing a tool t
18
18
  already has. That is a different job and needs a tool in the agent.
19
19
 
20
20
  If the pages support the selection, record React Native and these URLs. Then run
21
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/finalize-plan`.
21
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/finalize-plan`.
22
22
 
23
23
  If the documentation does not support the selection, run
24
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
24
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -14,7 +14,7 @@ not move the agent into it.
14
14
  - https://docs.copilotkit.ai/react-spa.md
15
15
 
16
16
  If the page supports the selection, record React SPA and this URL. Then run
17
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/finalize-plan`.
17
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/finalize-plan`.
18
18
 
19
19
  If the documentation does not support the selection, run
20
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
20
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -19,7 +19,7 @@ page above. Vue has its own `useComponent`, which is not the React package. Take
19
19
  that reference page rather than from a Vue generative-UI guide, which is not published.
20
20
 
21
21
  If the pages support the selection, record Vue 3 and these URLs. Then run
22
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/finalize-plan`.
22
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/finalize-plan`.
23
23
 
24
24
  If the documentation does not support the selection, run
25
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
25
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -12,7 +12,7 @@ acted on. Send one short report before you stop. The friction command follows th
12
12
  setting the developer already chose, so it needs no separate question.
13
13
 
14
14
  ```text
15
- npx --prefer-offline --yes copilotkit@4.23.0 onboard friction --phase stop --category <slug> --message "<sentences>"
15
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard friction --phase stop --category <slug> --message "<sentences>"
16
16
  ```
17
17
 
18
18
  `--message` takes one or two sentences: the step you stopped at and what stopped it.
@@ -67,7 +67,7 @@ Approving the plan is the developer agreeing to every path it listed under
67
67
  app directory:
68
68
 
69
69
  ```text
70
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
70
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
71
71
  ```
72
72
 
73
73
  Consent has to be on the record before the file moves, so a call made after the change is
@@ -75,8 +75,10 @@ refused. Continue only if every result starts with `Status: passed`. If the plan
75
75
  nothing there, skip this section.
76
76
 
77
77
  Do not authorize a path the plan lists under `Files the run writes itself`. The CLI refuses
78
- `--authorize` for `.env` and `.copilotkit/project.json`, because this run writes them. A
79
- copied model key is recorded with `--accept-credential`, after the copy.
78
+ `--authorize` for `.env` and `.copilotkit/project.json`, because this run writes them.
79
+ A copied model key is recorded by the command that copied it.
80
+ `onboard credentials --copy-to` protects the file it writes. Record a key that the run
81
+ copied another way with `--accept-credential`, after the copy.
80
82
 
81
83
  The implementation subagent cannot change a protected path unless it has the authorized
82
84
  list. Take that list from the CLI rather than from the plan: run `onboard audit` after the
@@ -99,7 +101,7 @@ No implementation step has run yet, so the change is theirs rather than this run
99
101
  consent over it by adding one flag:
100
102
 
101
103
  ```text
102
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>" --with-prior-change
104
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>" --with-prior-change
103
105
  ```
104
106
 
105
107
  The flag records their change as drift beside the consent, so the closing report names both
@@ -119,7 +121,7 @@ audit below describes, rather than use this section.
119
121
  Run the audit from the target app directory:
120
122
 
121
123
  ```text
122
- npx --prefer-offline --yes copilotkit@4.23.0 onboard audit
124
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard audit
123
125
  ```
124
126
 
125
127
  It compares every protected path with the digest the CLI captured for it. Its result starts
@@ -154,14 +156,14 @@ A path that no Files changed section names changed outside the run, and it is th
154
156
  developer's own file. Accept it by name:
155
157
 
156
158
  ```text
157
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --accept-external --path <path>
159
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --accept-external --path <path>
158
160
  ```
159
161
 
160
162
  A changed env file is its own case. This run asked the developer to place a credential
161
163
  there, so it takes the credential route rather than this one:
162
164
 
163
165
  ```text
164
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --accept-credential --path <path>
166
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --accept-credential --path <path>
165
167
  ```
166
168
 
167
169
  That route proves no recorded credential was lost, instead of taking the run's word that it
@@ -180,7 +182,7 @@ neither does a one-line fix. Never repair, reset, or revert it. Ask the develope
180
182
  the change, and record the answer they give:
181
183
 
182
184
  ```text
183
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
185
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
184
186
  ```
185
187
 
186
188
  Use it only for an answer a developer actually gave. It records the consent as taken
@@ -215,7 +217,7 @@ directory. The developer approved the id before it was made, so this is the firs
215
217
  which it can be created:
216
218
 
217
219
  ```text
218
- npx --prefer-offline --yes copilotkit@4.23.0 learning containers create --id <id> --name <name> --json
220
+ npx --prefer-offline --yes copilotkit@4.24.0 learning containers create --id <id> --name <name> --json
219
221
  ```
220
222
 
221
223
  Pass the id the plan names. Take the name from the selected project's own display name, so
@@ -232,7 +234,7 @@ plan names no container, skip this section.
232
234
  ## Implement the plan
233
235
 
234
236
  Spawn one implementation subagent. Tell it to run
235
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read subagent/implement-and-validate` first and follow
237
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read subagent/implement-and-validate` first and follow
236
238
  the prompt it returns. If that read fails because the subagent cannot use the shell, stop that
237
239
  subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
238
240
  and the same handoff. Give it the plan, selected framework, frontend, model, exact target app
@@ -260,7 +262,7 @@ names the same way as above, against the Files changed section that subagent jus
260
262
  returned. Continue to proof only when that audit passes.
261
263
 
262
264
  Then run
263
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read proof/round-trip`.
265
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read proof/round-trip`.
264
266
 
265
267
  ## Repair rules
266
268
 
@@ -286,9 +288,9 @@ the same command still fails after three repair attempts, a result starts with
286
288
  declined a file the plan does not name, or the run cannot ask them about it. A defect in a
287
289
  package this run installed is not a stack CopilotKit does not serve, a command this run cannot get to pass is not one either, and a blocked audit
288
290
  proved nothing about the stack. In those cases run
289
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`.
291
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`.
290
292
 
291
293
  A plan with no path to follow takes the unsupported ending: the fix requires changing the
292
294
  developer's existing agent or frontend, or the documentation does not support the plan. In
293
295
  those cases run
294
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read unsupported/no-validated-path`.
296
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read unsupported/no-validated-path`.
@@ -24,7 +24,7 @@ friction commands follow the telemetry setting the developer already chose, so t
24
24
  separate question.
25
25
 
26
26
  ```text
27
- npx --prefer-offline --yes copilotkit@4.23.0 onboard friction --category <slug> --cost-seconds <seconds> --message "<sentences>"
27
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard friction --category <slug> --cost-seconds <seconds> --message "<sentences>"
28
28
  ```
29
29
 
30
30
  Put one or two sentences in `--message`. Pick one category from docs-missing, docs-wrong,
@@ -46,7 +46,7 @@ Pass the surface-check outcome the proof subagent returned, not the one you want
46
46
  web frontend, pass `--visual-check` and the URL the browser opened, unchanged:
47
47
 
48
48
  ```text
49
- npx --prefer-offline --yes copilotkit@4.23.0 onboard complete --visual-check <outcome> \
49
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard complete --visual-check <outcome> \
50
50
  --frontend-url <the url you opened>
51
51
  ```
52
52
 
@@ -74,7 +74,7 @@ this graph opens.
74
74
  nothing drove the frontend:
75
75
 
76
76
  ```text
77
- npx --prefer-offline --yes copilotkit@4.23.0 onboard complete --visual-check failed --blocked-by browser-control-unresponsive
77
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard complete --visual-check failed --blocked-by browser-control-unresponsive
78
78
  ```
79
79
 
80
80
  ## Write the handoff
@@ -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 --prefer-offline --yes copilotkit@4.23.0 onboard read subagent/prove-oss-baseline` first and follow the
4
+ `npx --prefer-offline --yes copilotkit@4.24.0 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 --prefer-offline --yes copilotkit@4.23.0 onboard proof --step oss-baseline --outcome <passed|failed|skipped> [--predicate <1-6>]
20
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard proof --step oss-baseline --outcome <passed|failed|skipped> [--predicate <1-6>]
21
21
  ```
22
22
 
23
23
  Report the gate whatever it returned. Use the list below. A proof that never ran is `skipped`, not failed. The command prints one line and sends
@@ -39,12 +39,12 @@ Do not change project files before this proof ends. Starting existing developmen
39
39
  processes and their ignored runtime files is allowed.
40
40
 
41
41
  If the subagent proves the `both-oss` predicate, keep its evidence with the plan and run
42
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read conversion/plan`. That project already works.
42
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read conversion/plan`. That project already works.
43
43
  What it needs is the conversion, not a build.
44
44
 
45
45
  If the proof does not establish the baseline, record the starting state
46
46
  `both-copilotkit-unproved` and run
47
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/plan`. This prompt is served
47
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/plan`. This prompt is served
48
48
  whenever a project looks like an OSS integration, so a baseline that did not prove is an
49
49
  ordinary starting state rather than a failure. Keep the failing predicate with the plan.
50
50
 
@@ -58,5 +58,5 @@ and the plan preserves it rather than repeating it.
58
58
 
59
59
  If it cannot identify the running process safely, exposes a secret, or finds a baseline
60
60
  failure that cannot be classified, run
61
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`. None of those mean the
61
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`. None of those mean the
62
62
  project is unsupported: they mean this run did not establish what it needed to.
@@ -1,7 +1,7 @@
1
1
  # Prove the user journey
2
2
 
3
3
  Do not do the proof work yourself. Spawn one proof subagent. Tell it to run
4
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read subagent/prove-round-trip` first and follow the
4
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read subagent/prove-round-trip` 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 selected framework, frontend, model, approved plan, selected
@@ -40,7 +40,7 @@ pass the time.
40
40
  Record what that proof returned before you route on it:
41
41
 
42
42
  ```text
43
- npx --prefer-offline --yes copilotkit@4.23.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
43
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
44
44
  ```
45
45
 
46
46
  Report the gate whatever it returned. A proof that never ran is `skipped`, not failed. A
@@ -49,7 +49,7 @@ to record it as `skipped`. The command prints one line and sends nothing else. W
49
49
  record each attempt as it ends.
50
50
 
51
51
  For every protected-path audit in this prompt, run
52
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard audit` from the target app directory. If its result
52
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard audit` from the target app directory. If its result
53
53
  starts with `Status: blocked`, report the printed reason and use the route-out rules below.
54
54
  A blocked audit proved nothing changed and is not a preservation failure. If a
55
55
  protected-path audit reports a changed path, decide it the way the implementation prompt
@@ -58,7 +58,7 @@ returns none, so a finding with no Files changed section to test against routes
58
58
  path one of those sections names is this run's own change and routes out too. Accept a
59
59
  path only when a section this run collected covers the step that wrote it and does not
60
60
  name it:
61
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --accept-external --path <path>`. Then run
61
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --accept-external --path <path>`. Then run
62
62
  the audit again and name the path in the closing summary. Never repair, reset, or revert a
63
63
  protected path.
64
64
 
@@ -66,12 +66,12 @@ That holds for a repair cycle too. When the fix for a failing check lands on a p
66
66
  path, the path is still the developer's, however right the diagnosis is and however small
67
67
  the fix. Reading the file never settles who wrote it. Ask the developer to allow the
68
68
  change, and record their answer with
69
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"`,
69
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"`,
70
70
  or route out. Never repair it, and never send it to a repair worker.
71
71
 
72
72
  If the proof result starts with `Status: passed`, run the protected-path audit. Continue to
73
73
  `proof/complete` only if that audit passes. After the audit passes, run
74
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read proof/complete`. A performed surface outcome with
74
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read proof/complete`. A performed surface outcome with
75
75
  the full round trip is core success even if a continued-development tool fails. A skipped
76
76
  surface outcome still enters `proof/complete`. The CLI records `skipped-cloned-starter` and
77
77
  `skipped-no-browser-tool` after a passed round trip as complete, and `skipped-no-device` as
@@ -166,7 +166,7 @@ proof cycles, use the route-out rules below.
166
166
 
167
167
  Route out only when the failure is not yours to fix, when the same proof still fails after
168
168
  three attempts, or when no evidence of the round trip can be produced. In those cases run
169
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`. The stack is supported:
169
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`. The stack is supported:
170
170
  this run did not finish, which is a different ending and a different report. All three are
171
171
  about the round trip itself. A round trip that proved is not one of them, whatever failed
172
172
  after it.
@@ -177,7 +177,7 @@ friction command follows the telemetry setting the developer already chose, so i
177
177
  separate question.
178
178
 
179
179
  ```text
180
- npx --prefer-offline --yes copilotkit@4.23.0 onboard friction --phase stop --category <slug> --message "<sentences>"
180
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard friction --phase stop --category <slug> --message "<sentences>"
181
181
  ```
182
182
 
183
183
  `--message` takes one or two sentences: the step you stopped at and what stopped it.
@@ -45,7 +45,7 @@ Before you end your turn to wait for the developer where the prompt states no de
45
45
  report the pause:
46
46
 
47
47
  ```text
48
- npx --prefer-offline --yes copilotkit@4.23.0 onboard checkpoint --phase awaiting-developer
48
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard checkpoint --phase awaiting-developer
49
49
  ```
50
50
 
51
51
  When the answer or the result arrives, continue from the step that paused. Do not read an
@@ -65,7 +65,7 @@ Both research subagents failing means this harness has no working subagent at al
65
65
  is worth recording once:
66
66
 
67
67
  ```text
68
- npx --prefer-offline --yes copilotkit@4.23.0 onboard checkpoint --phase delegation-unavailable
68
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard checkpoint --phase delegation-unavailable
69
69
  ```
70
70
 
71
71
  Then say once, in your own words, that this environment has no working subagents, so you
@@ -78,7 +78,7 @@ Before you ask the developer any setup question, finish every read-only investig
78
78
  preflight check in this section.
79
79
 
80
80
  Prepare two research assignments. Give each research subagent one assignment. Tell it to run
81
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read subagent/inspect-repository` first and follow the
81
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read subagent/inspect-repository` first and follow the
82
82
  prompt it returns. If that read fails because the subagent cannot use the shell, stop that
83
83
  subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
84
84
  and the same handoff. Require only its assigned packet.
@@ -92,8 +92,8 @@ Start both research subagents in parallel:
92
92
  The research is under way. Continue to the surface-control preflight while it runs:
93
93
 
94
94
  ```text
95
- npx --prefer-offline --yes copilotkit@4.23.0 onboard read research/preflight
95
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard read research/preflight
96
96
  ```
97
97
 
98
98
  If inspection stops onboarding, run
99
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`.
99
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`.
@@ -49,7 +49,7 @@ Read the next step only after `login --json` has emitted `type: completed`. If s
49
49
  waits on the developer, end your turn and wait for it: that is a pause.
50
50
 
51
51
  When both research results are merged and sign-in is done, run
52
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read research/route`.
52
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read research/route`.
53
53
 
54
54
  If inspection stops onboarding, run
55
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`.
55
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`.
@@ -27,8 +27,8 @@ Where the device probe found no booted device, that is the whole finding.
27
27
  Then merge the research:
28
28
 
29
29
  ```text
30
- npx --prefer-offline --yes copilotkit@4.23.0 onboard read research/merge
30
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard read research/merge
31
31
  ```
32
32
 
33
33
  If inspection stops onboarding, run
34
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`.
34
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`.
@@ -9,7 +9,7 @@ sends the run down one path.
9
9
  Before you route on, run this from the target app directory:
10
10
 
11
11
  ```text
12
- npx --prefer-offline --yes copilotkit@4.23.0 onboard protect
12
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard protect
13
13
  ```
14
14
 
15
15
  It reads the working tree itself, records every changed or untracked path with a digest,
@@ -44,7 +44,7 @@ On any one of them, run this before you read the three findings below, and witho
44
44
  the purpose question:
45
45
 
46
46
  ```text
47
- npx --prefer-offline --yes copilotkit@4.23.0 onboard read feature/channels/start
47
+ npx --prefer-offline --yes copilotkit@4.24.0 onboard read feature/channels/start
48
48
  ```
49
49
 
50
50
  Name the provider to that node so it does not ask again. A `/slack` page names Slack. A
@@ -105,7 +105,7 @@ settle these three from your own reading of the project. Each one comes from the
105
105
  packets or it is not proved.
106
106
 
107
107
  If all three are proved, prove the live starting state before any project file changes. Run
108
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read proof/oss-baseline`.
108
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read proof/oss-baseline`.
109
109
 
110
110
  Route there before you ask the developer anything else. The questions after this prompt
111
111
  select a framework and a frontend that the findings already name, so a developer who
@@ -118,7 +118,7 @@ developer nor the repository findings prove what the project is for, ask one gui
118
118
  question about the user outcome. This asks what the developer wants to build before you
119
119
  select a framework. Give two or three short examples. Record the answer and give it to
120
120
  each later subagent. Then run
121
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read credentials/plan`.
121
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read credentials/plan`.
122
122
 
123
123
  Do not ask that question on the route above. A project carrying all three states its
124
124
  purpose in the application it already serves.
@@ -132,5 +132,5 @@ A purpose question here names a domain before that choice.
132
132
  Take the same read named above without asking.
133
133
 
134
134
  If authentication, inspection, or the baseline capture stops onboarding, run
135
- `npx --prefer-offline --yes copilotkit@4.23.0 onboard read stopped/run-failed`. None of them says anything
135
+ `npx --prefer-offline --yes copilotkit@4.24.0 onboard read stopped/run-failed`. None of them says anything
136
136
  about whether this project's stack is supported, which is not yet known at this point.