copilotkit 4.11.0 → 4.13.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 (82) hide show
  1. package/LICENSE +11 -0
  2. package/README.md +155 -12
  3. package/cli-build-info.json +8 -8
  4. package/index.js +5969 -4751
  5. package/onboarding/index.json +27 -2
  6. package/onboarding/prompts/authenticate/start.md +45 -38
  7. package/onboarding/prompts/conversion/plan.md +3 -3
  8. package/onboarding/prompts/credentials/finalize-plan.md +14 -13
  9. package/onboarding/prompts/credentials/plan.md +26 -20
  10. package/onboarding/prompts/credentials/settle-credentials.md +55 -23
  11. package/onboarding/prompts/credentials/write-plan.md +19 -6
  12. package/onboarding/prompts/fallback/best-effort.md +6 -6
  13. package/onboarding/prompts/feature/a2ui/implement.md +7 -7
  14. package/onboarding/prompts/feature/a2ui/proof.md +6 -6
  15. package/onboarding/prompts/feature/a2ui/start.md +10 -8
  16. package/onboarding/prompts/feature/blocked-by-plan.md +32 -0
  17. package/onboarding/prompts/feature/channels/implement.md +68 -13
  18. package/onboarding/prompts/feature/channels/proof.md +13 -6
  19. package/onboarding/prompts/feature/channels/start.md +30 -11
  20. package/onboarding/prompts/feature/chat-suggestions/implement.md +7 -7
  21. package/onboarding/prompts/feature/chat-suggestions/proof.md +6 -6
  22. package/onboarding/prompts/feature/chat-suggestions/start.md +10 -8
  23. package/onboarding/prompts/feature/complete.md +1 -1
  24. package/onboarding/prompts/feature/learning/implement.md +73 -14
  25. package/onboarding/prompts/feature/learning/proof.md +10 -9
  26. package/onboarding/prompts/feature/learning/start.md +61 -7
  27. package/onboarding/prompts/feature/open-generative-ui/implement.md +7 -7
  28. package/onboarding/prompts/feature/open-generative-ui/proof.md +6 -6
  29. package/onboarding/prompts/feature/open-generative-ui/start.md +10 -8
  30. package/onboarding/prompts/feature/realtime-sync/implement.md +8 -8
  31. package/onboarding/prompts/feature/realtime-sync/proof.md +6 -6
  32. package/onboarding/prompts/feature/realtime-sync/start.md +9 -7
  33. package/onboarding/prompts/feature/rich-threads/implement.md +9 -9
  34. package/onboarding/prompts/feature/rich-threads/proof.md +6 -6
  35. package/onboarding/prompts/feature/rich-threads/start.md +9 -7
  36. package/onboarding/prompts/feature/stop.md +2 -2
  37. package/onboarding/prompts/feature/voice/implement.md +7 -7
  38. package/onboarding/prompts/feature/voice/proof.md +6 -6
  39. package/onboarding/prompts/feature/voice/start.md +10 -8
  40. package/onboarding/prompts/framework/ag2.md +2 -2
  41. package/onboarding/prompts/framework/agno.md +2 -2
  42. package/onboarding/prompts/framework/built-in.md +4 -2
  43. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  44. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  45. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  46. package/onboarding/prompts/framework/deep-agents.md +5 -2
  47. package/onboarding/prompts/framework/google-adk.md +4 -2
  48. package/onboarding/prompts/framework/langgraph-fastapi.md +4 -3
  49. package/onboarding/prompts/framework/langgraph-python.md +6 -2
  50. package/onboarding/prompts/framework/langgraph-typescript.md +6 -2
  51. package/onboarding/prompts/framework/llamaindex.md +2 -2
  52. package/onboarding/prompts/framework/mastra.md +4 -2
  53. package/onboarding/prompts/framework/ms-agent-dotnet.md +4 -2
  54. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  55. package/onboarding/prompts/framework/ms-agent-python.md +4 -2
  56. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  57. package/onboarding/prompts/framework/strands-python.md +4 -2
  58. package/onboarding/prompts/framework/strands-typescript.md +4 -2
  59. package/onboarding/prompts/frontend/angular.md +5 -5
  60. package/onboarding/prompts/frontend/nextjs.md +4 -4
  61. package/onboarding/prompts/frontend/plan.md +21 -10
  62. package/onboarding/prompts/frontend/react-native.md +2 -2
  63. package/onboarding/prompts/frontend/react-spa.md +2 -2
  64. package/onboarding/prompts/frontend/vue.md +2 -2
  65. package/onboarding/prompts/implementation/build-and-validate.md +39 -16
  66. package/onboarding/prompts/proof/complete.md +35 -15
  67. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  68. package/onboarding/prompts/proof/round-trip.md +23 -12
  69. package/onboarding/prompts/research/gather.md +33 -91
  70. package/onboarding/prompts/research/merge.md +60 -0
  71. package/onboarding/prompts/research/preflight.md +75 -0
  72. package/onboarding/prompts/research/route.md +49 -4
  73. package/onboarding/prompts/starter/clone.md +5 -5
  74. package/onboarding/prompts/stopped/run-failed.md +30 -1
  75. package/onboarding/prompts/subagent/create-plan.md +24 -1
  76. package/onboarding/prompts/subagent/implement-and-validate.md +32 -1
  77. package/onboarding/prompts/subagent/inspect-repository.md +43 -16
  78. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  79. package/onboarding/prompts/subagent/prove-round-trip.md +37 -10
  80. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  81. package/package.json +7 -3
  82. package/release/release-tool.js +1 -1
@@ -5,12 +5,57 @@ valid existing Intelligence selection. If it is absent, use the documented strea
5
5
  `login --json` session, let the developer select or create the Intelligence project, and
6
6
  require the secret-safe project/key provisioning summary before wiring the runtime.
7
7
 
8
+ ## If you stop in this phase
9
+
10
+ Four rules below end this run without completing it: an entitlement the platform will not
11
+ resolve, a container id that never resolves, an audit that stays blocked, and validation
12
+ that cannot pass. Each one stops onboarding for a developer who has already approved a
13
+ plan. Name the exact command, id, and error code that stopped you: a report that names only
14
+ the step cannot be acted on. Send one short report before you stop. Run the friction
15
+ command without another developer question. Do not ask the developer about telemetry: the
16
+ command applies the setting they already have.
17
+
18
+ ```text
19
+ npx --yes copilotkit@4.13.0 onboard friction --phase stop --category <slug>
20
+ ```
21
+
22
+ Write one or two sentences to standard input: the step you stopped at and what stopped it.
23
+ Pick the category that fits from docs-missing, docs-wrong, docs-sequential, cli-gap,
24
+ sdk-gap, environment, port-collision, credential, validation-loop, and other. Leave
25
+ --cost-seconds off. A run that stopped cannot separate one papercut's cost from the cost of
26
+ the whole run, so the estimate is optional on a stop report and only there. Send no secrets,
27
+ source code, logs, or command output. The command refuses a report that carries any of
28
+ those, prints the reason, and exits zero. A refused report is not a failed step. Send the
29
+ report, then stop.
30
+
31
+ A refusal by the platform is the one exception. It reaches `feature/blocked-by-plan`, which
32
+ reports the ending by itself and says to file nothing further.
33
+
8
34
  After the project is selected, settle the container from the terminal.
9
35
 
36
+ Whichever of the two reads below runs first also answers the entitlement question, because
37
+ a read carries the same availability gate as the create. Read `status` and `error.code`
38
+ from its payload. Route on the code rather than on the exit status.
39
+ `LEARNING_NOT_ENABLED` means the platform refused Learning to this organization. That is a
40
+ settled refusal rather than a missing baseline, so stop here, before any file change, and
41
+ take its own ending:
42
+
43
+ ```text
44
+ npx --yes copilotkit@4.13.0 onboard read feature/blocked-by-plan
45
+ ```
46
+
47
+ `LEARNING_AVAILABILITY_UNAVAILABLE` means the platform did not resolve the answer. It is
48
+ unknown rather than denied. Run the same command once more. If the second call answers the
49
+ same way, report the code and stop onboarding.
50
+
51
+ `feature/learning/start` asks this question first, and a run that arrives here already
52
+ signed in has its answer. A run that reached this prompt signed out could not be asked
53
+ then, so the read below is where its refusal surfaces.
54
+
10
55
  When the plan or the repository already names an id, ask about that one id and nothing else:
11
56
 
12
57
  ```text
13
- npx --yes copilotkit@4.11.0 learning containers get <id> --json
58
+ npx --yes copilotkit@4.13.0 learning containers get <id> --json
14
59
  ```
15
60
 
16
61
  One call answers it, and no list is needed.
@@ -18,7 +63,7 @@ One call answers it, and no list is needed.
18
63
  When no id is in hand, survey what the project holds:
19
64
 
20
65
  ```text
21
- npx --yes copilotkit@4.11.0 learning containers list --json
66
+ npx --yes copilotkit@4.13.0 learning containers list --json
22
67
  ```
23
68
 
24
69
  One call returns at most 500 containers. When `nextCursor` in the result is not null, read
@@ -29,7 +74,7 @@ second container for work the first one already covers.
29
74
  Report what the read found before asking anyone anything:
30
75
 
31
76
  ```text
32
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase container-surveyed
77
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase container-surveyed
33
78
  ```
34
79
 
35
80
  Everything after this waits on a person, so a run that stops past this point stopped on a
@@ -47,10 +92,24 @@ person. Route per user only when the developer asks for it, and do it in their s
47
92
  rather than in more containers: `getLearningContainerId` receives the resolved application
48
93
  user, so the callback can return a different id per tier or per customer.
49
94
 
50
- Use a descriptive lowercase hyphenated id of 1-64 characters:
95
+ Ask the CLI for the id rather than spelling one yourself:
96
+
97
+ ```text
98
+ npx --yes copilotkit@4.13.0 learning containers default-id --json
99
+ ```
100
+
101
+ It derives the project-scoped id from the selected project's slug, reads the local project
102
+ record only, and needs no credential. `"status": "success"` carries it in `containerId`.
103
+ `"status": "skipped"` means there is no id to derive: `slug-unusable` for a slug that
104
+ leaves nothing the id contract accepts, and `no-project-record` for a directory with no
105
+ selected project. Only then pick a descriptive lowercase hyphenated id of 1-64 characters.
106
+
107
+ Both this intent and a first onboarding run settle the same project's container, and the
108
+ run that spells the id differently gives one project two containers, each below the line
109
+ above on its own. One command is what keeps the two spellings identical.
51
110
 
52
111
  ```text
53
- npx --yes copilotkit@4.11.0 learning containers create --id <id> --name <name> --json
112
+ npx --yes copilotkit@4.13.0 learning containers create --id <id> --name <name> --json
54
113
  ```
55
114
 
56
115
  An id already in use answers `LEARNING_CONTAINER_ALREADY_EXISTS`. That is a container to
@@ -65,7 +124,7 @@ or a guessed id.
65
124
  Then report that the container is settled, before any edit:
66
125
 
67
126
  ```text
68
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase container-settled
127
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase container-settled
69
128
  ```
70
129
 
71
130
  Everything above happens between two prompts, so a run that stopped on a developer who could
@@ -86,16 +145,16 @@ non-zero on an app that is working. Pass what `identifyUser` reads with a repeat
86
145
  It is not a defect to repair.
87
146
 
88
147
  Run focused tests and
89
- `npx --yes copilotkit@4.11.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --json`.
148
+ `npx --yes copilotkit@4.13.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --json`.
90
149
  Repair changed-file failures and record secret-safe evidence.
91
150
 
92
151
  After validation and each repair, run:
93
152
 
94
153
  ```text
95
- npx --yes copilotkit@4.11.0 onboard audit
154
+ npx --yes copilotkit@4.13.0 onboard audit
96
155
  ```
97
156
 
98
- Continue only when it starts with `Status: passed`. A path under `Authorized to change:` is
157
+ Continue only when it starts with `Status: passed`. A path under `Authorized to modify:` is
99
158
  not a finding. Carry it into the final summary with its reason.
100
159
 
101
160
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -103,7 +162,7 @@ with the implementation subagent's `Files changed` section. If that section does
103
162
  the path, accept the developer's external change:
104
163
 
105
164
  ```text
106
- npx --yes copilotkit@4.11.0 onboard protect --accept-external --path <path>
165
+ npx --yes copilotkit@4.13.0 onboard protect --accept-external --path <path>
107
166
  ```
108
167
 
109
168
  For an env file where the developer placed a requested credential, use
@@ -112,24 +171,24 @@ or its report does not settle who changed it, ask the developer to allow the unp
112
171
  change. Only after they agree, record their answer:
113
172
 
114
173
  ```text
115
- npx --yes copilotkit@4.11.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
174
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
116
175
  ```
117
176
 
118
177
  Run the audit again after each accepted or authorized change. If it still fails, or starts
119
178
  with `Status: blocked`, route out and stop:
120
179
 
121
180
  ```text
122
- npx --yes copilotkit@4.11.0 onboard read feature/stop
181
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
123
182
  ```
124
183
 
125
184
  When implementation validation passes, report it:
126
185
 
127
186
  ```text
128
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase build-validated
187
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase build-validated
129
188
  ```
130
189
 
131
190
  If validation cannot pass, or this intent needs a prerequisite the app does not have, use
132
191
  the feature stop route above without further changes.
133
192
 
134
193
  Otherwise run
135
- `npx --yes copilotkit@4.11.0 onboard read feature/learning/proof`.
194
+ `npx --yes copilotkit@4.13.0 onboard read feature/learning/proof`.
@@ -7,7 +7,7 @@ Container. Confirm the thread remains associated with the expected user.
7
7
  One command decides it:
8
8
 
9
9
  ```text
10
- npx --yes copilotkit@4.11.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --expect-learning-container <id> --json
10
+ npx --yes copilotkit@4.13.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --expect-learning-container <id> --json
11
11
  ```
12
12
 
13
13
  It reads the thread back from the platform, so it answers for any runtime mount, and it
@@ -25,30 +25,31 @@ process IDs, and safe stop commands. Repair changed-file defects and repeat.
25
25
  Tell the developer what happens next, because a correct run looks like a broken one
26
26
  otherwise. Learning runs on its own: the first automatic run needs new threads from 15
27
27
  distinct conversations in this container, and only the newest snapshot of each thread
28
- counts. Threads that already ran before this change are never pulled in, because a thread
29
- takes its container before its first agent run. So the container starts empty on purpose.
28
+ counts. Existing threads can join this container if they never belonged to another one.
29
+ Their surviving earlier history then becomes eligible for collection and counts toward the
30
+ same threshold. Existing threads do not join automatically just because a container exists.
30
31
 
31
32
  Report each attempt at the proof as it ends, counting from one:
32
33
 
33
34
  ```text
34
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase journey-attempted --attempt 1
35
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase journey-attempted --attempt 1
35
36
  ```
36
37
 
37
38
  Report each repair cycle the same way, counting from one:
38
39
 
39
40
  ```text
40
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase repair-attempted --attempt 1
41
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase repair-attempted --attempt 1
41
42
  ```
42
43
 
43
44
  After the final attempt, report the gate exactly once:
44
45
 
45
46
  ```text
46
- npx --yes copilotkit@4.11.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
47
+ npx --yes copilotkit@4.13.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
47
48
  ```
48
49
 
49
50
  Use `passed` only for a proved Container assignment, `failed` for an attempted proof that
50
51
  failed, and `skipped` when the proof could not run. Then run
51
- `npx --yes copilotkit@4.11.0 onboard audit`. Continue only when it starts with
52
+ `npx --yes copilotkit@4.13.0 onboard audit`. Continue only when it starts with
52
53
  `Status: passed`.
53
54
 
54
55
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -63,9 +64,9 @@ Run the audit again after each accepted or authorized change.
63
64
  If the audit still fails, or starts with `Status: blocked`, route out and stop:
64
65
 
65
66
  ```text
66
- npx --yes copilotkit@4.11.0 onboard read feature/stop
67
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
67
68
  ```
68
69
 
69
70
  When the audit passes, run
70
- `npx --yes copilotkit@4.11.0 onboard read feature/complete` with the actual surface
71
+ `npx --yes copilotkit@4.13.0 onboard read feature/complete` with the actual surface
71
72
  outcome.
@@ -4,10 +4,62 @@ Treat Learning as a managed Intelligence feature that assigns real threads to a
4
4
  Learning Container. Orchestrate with separate read-only, implementation, and proof
5
5
  subagents. Work only inside the target project and preserve its existing agent and chat.
6
6
 
7
+ ## If you stop in this phase
8
+
9
+ Name the exact command, code, or check that stopped you, then send one short report. Run the
10
+ friction command without another developer question. Do not ask the developer about
11
+ telemetry: the command applies the setting they already have.
12
+
13
+ ```text
14
+ npx --yes copilotkit@4.13.0 onboard friction --phase stop --category <slug>
15
+ ```
16
+
17
+ Write one or two sentences to standard input: the step you stopped at and what stopped it.
18
+ Pick the category that fits from docs-missing, docs-wrong, docs-sequential, cli-gap,
19
+ sdk-gap, environment, port-collision, credential, validation-loop, and other. Leave
20
+ --cost-seconds off. A run that stopped cannot separate one papercut's cost from the cost of
21
+ the whole run, so the estimate is optional on a stop report and only there. Send no secrets,
22
+ source code, logs, or command output. A refused report is not a failed step: reword it and
23
+ send it again, or stop without a report.
24
+
25
+ Ask the platform whether this organization may use Learning before doing any work. The
26
+ read carries the same availability gate as the create, so it answers the entitlement
27
+ question in one call and writes nothing:
28
+
29
+ ```text
30
+ copilotkit learning containers list --json
31
+ ```
32
+
33
+ Read `status` and `error.code` from the payload. Route on the code rather than on the exit
34
+ status:
35
+
36
+ - `"status": "success"` means Learning is available here. Continue with the capture below.
37
+ - `LEARNING_NOT_ENABLED` means the platform refused Learning to this organization. Stop
38
+ before the capture, the inspection, and any edit:
39
+
40
+ ```text
41
+ npx --yes copilotkit@4.13.0 onboard read feature/blocked-by-plan
42
+ ```
43
+
44
+ - `LEARNING_AVAILABILITY_UNAVAILABLE` means the platform did not resolve the answer. It is
45
+ unknown rather than denied. Run the same command once more. If the second call answers
46
+ the same way, report the code and stop onboarding.
47
+ - `AUTH_FAILED` and `PREREQUISITE_MISSING` mean the probe could not ask. This run reaches
48
+ this prompt before any login or project selection, so the CLI holds no session yet, or
49
+ this directory has no selected Intelligence project. Neither is a refusal. Do not stop,
50
+ and do not read `feature/blocked-by-plan`. Continue with the capture below.
51
+ `feature/learning/implement` signs in, selects the project, and asks the same question
52
+ there, still before any file changes.
53
+ - Any other code: report it and stop onboarding.
54
+
55
+ A refusal is not a missing prerequisite. It has its own ending, and `feature/stop` below is
56
+ for a baseline this project does not have. A run that has no session yet is a third thing
57
+ again: it has no answer, so it carries the question forward rather than ending on it.
58
+
7
59
  Before any subagent or project process runs, capture the developer's existing work:
8
60
 
9
61
  ```text
10
- npx --yes copilotkit@4.11.0 onboard protect
62
+ npx --yes copilotkit@4.13.0 onboard protect
11
63
  ```
12
64
 
13
65
  Keep the exact protected path list it prints and give that list to every subagent. No
@@ -23,7 +75,7 @@ onboarding.
23
75
  Wait for the inspection subagent to finish. Then report that the inspection came back:
24
76
 
25
77
  ```text
26
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase research-returned
78
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase research-returned
27
79
  ```
28
80
 
29
81
  A refused checkpoint prints its reason and leaves onboarding unaffected. It is not a
@@ -33,7 +85,7 @@ If the inspection did not prove the baseline this intent extends, stop here with
33
85
  changing files:
34
86
 
35
87
  ```text
36
- npx --yes copilotkit@4.11.0 onboard read feature/stop
88
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
37
89
  ```
38
90
 
39
91
  Fetch the current official guides before planning:
@@ -58,12 +110,14 @@ the documented `getLearningContainerId` selector, validation, and a visible assi
58
110
  proof. Ask for approval separately.
59
111
 
60
112
  The plan must list every protected path it needs to change under `Authorization requested`,
61
- with one sentence explaining why. Write `None` when it needs none.
113
+ with one sentence explaining why. Write `None` when it needs none. Authorization covers
114
+ changing a protected path, not removing it, so the plan must not delete, move, or rename
115
+ one.
62
116
 
63
117
  After approval, record each approved path before implementation:
64
118
 
65
119
  ```text
66
- npx --yes copilotkit@4.11.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
120
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
67
121
  ```
68
122
 
69
123
  If an approved path changed after capture and no implementation step has run, add
@@ -73,7 +127,7 @@ authorize a path the approved plan did not list.
73
127
  Then report the plan this run is about to implement:
74
128
 
75
129
  ```text
76
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase plan-written
130
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase plan-written
77
131
  ```
78
132
 
79
- Then run `npx --yes copilotkit@4.11.0 onboard read feature/learning/implement`.
133
+ Then run `npx --yes copilotkit@4.13.0 onboard read feature/learning/implement`.
@@ -16,10 +16,10 @@ validation results without secrets.
16
16
  After validation and each repair, run:
17
17
 
18
18
  ```text
19
- npx --yes copilotkit@4.11.0 onboard audit
19
+ npx --yes copilotkit@4.13.0 onboard audit
20
20
  ```
21
21
 
22
- Continue only when it starts with `Status: passed`. A path under `Authorized to change:` is
22
+ Continue only when it starts with `Status: passed`. A path under `Authorized to modify:` is
23
23
  not a finding. Carry it into the final summary with its reason.
24
24
 
25
25
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -27,7 +27,7 @@ with the implementation subagent's `Files changed` section. If that section does
27
27
  the path, accept the developer's external change:
28
28
 
29
29
  ```text
30
- npx --yes copilotkit@4.11.0 onboard protect --accept-external --path <path>
30
+ npx --yes copilotkit@4.13.0 onboard protect --accept-external --path <path>
31
31
  ```
32
32
 
33
33
  For an env file where the developer placed a requested credential, use
@@ -36,24 +36,24 @@ or its report does not settle who changed it, ask the developer to allow the unp
36
36
  change. Only after they agree, record their answer:
37
37
 
38
38
  ```text
39
- npx --yes copilotkit@4.11.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
39
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
40
40
  ```
41
41
 
42
42
  Run the audit again after each accepted or authorized change. If it still fails, or starts
43
43
  with `Status: blocked`, route out and stop:
44
44
 
45
45
  ```text
46
- npx --yes copilotkit@4.11.0 onboard read feature/stop
46
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
47
47
  ```
48
48
 
49
49
  When implementation validation passes, report it:
50
50
 
51
51
  ```text
52
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase build-validated
52
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase build-validated
53
53
  ```
54
54
 
55
55
  If validation cannot pass, or this intent needs a prerequisite the app does not have, use
56
56
  the feature stop route above without further changes.
57
57
 
58
58
  Otherwise run
59
- `npx --yes copilotkit@4.11.0 onboard read feature/open-generative-ui/proof`.
59
+ `npx --yes copilotkit@4.13.0 onboard read feature/open-generative-ui/proof`.
@@ -13,23 +13,23 @@ the missing visual proof honestly.
13
13
  Report each attempt at the proof as it ends, counting from one:
14
14
 
15
15
  ```text
16
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase journey-attempted --attempt 1
16
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase journey-attempted --attempt 1
17
17
  ```
18
18
 
19
19
  Report each repair cycle the same way, counting from one:
20
20
 
21
21
  ```text
22
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase repair-attempted --attempt 1
22
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase repair-attempted --attempt 1
23
23
  ```
24
24
 
25
25
  After the final attempt, report the gate exactly once:
26
26
 
27
27
  ```text
28
- npx --yes copilotkit@4.11.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
28
+ npx --yes copilotkit@4.13.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
29
29
  ```
30
30
 
31
31
  Use `passed` only for a proved generated UI, `failed` for an attempted proof that failed,
32
- and `skipped` when the proof could not run. Then run `npx --yes copilotkit@4.11.0 onboard audit`.
32
+ and `skipped` when the proof could not run. Then run `npx --yes copilotkit@4.13.0 onboard audit`.
33
33
  Continue only when it starts with `Status: passed`.
34
34
 
35
35
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -44,9 +44,9 @@ Run the audit again after each accepted or authorized change.
44
44
  If the audit still fails, or starts with `Status: blocked`, route out and stop:
45
45
 
46
46
  ```text
47
- npx --yes copilotkit@4.11.0 onboard read feature/stop
47
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
48
48
  ```
49
49
 
50
50
  When the audit passes, run
51
- `npx --yes copilotkit@4.11.0 onboard read feature/complete` with the outcome actually
51
+ `npx --yes copilotkit@4.13.0 onboard read feature/complete` with the outcome actually
52
52
  observed.
@@ -6,7 +6,7 @@ implementation, and proof subagents, all restricted to the target project direct
6
6
  Before any subagent or project process runs, capture the developer's existing work:
7
7
 
8
8
  ```text
9
- npx --yes copilotkit@4.11.0 onboard protect
9
+ npx --yes copilotkit@4.13.0 onboard protect
10
10
  ```
11
11
 
12
12
  Keep the exact protected path list it prints and give that list to every subagent. No
@@ -16,7 +16,7 @@ approved authorization before implementation.
16
16
  Before edits, have a research subagent identify the current CopilotKit runtime route,
17
17
  provider/chat component, agent id, package versions, existing middleware, sandbox/CSP
18
18
  constraints, and normal test/dev commands. Prove the existing app first with `/info`,
19
- `npx --yes copilotkit@4.11.0 verify --expect-runtime oss --round-trip --agent <agent-id> --json`,
19
+ `npx --yes copilotkit@4.13.0 verify --expect-runtime oss --round-trip --agent <agent-id> --json`,
20
20
  and a real frontend request when browser control is available. If the app is not an existing
21
21
  OSS CopilotKit app with a proven round trip, change nothing and direct the developer to the
22
22
  generic onboarding path first.
@@ -24,7 +24,7 @@ generic onboarding path first.
24
24
  Wait for the inspection subagent to finish. Then report that the inspection came back:
25
25
 
26
26
  ```text
27
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase research-returned
27
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase research-returned
28
28
  ```
29
29
 
30
30
  A refused checkpoint prints its reason and leaves onboarding unaffected. It is not a
@@ -34,7 +34,7 @@ If the inspection did not prove the baseline this intent extends, stop here with
34
34
  changing files:
35
35
 
36
36
  ```text
37
- npx --yes copilotkit@4.11.0 onboard read feature/stop
37
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
38
38
  ```
39
39
 
40
40
  Do not sign in, select an Intelligence project, create credentials, change the existing
@@ -49,12 +49,14 @@ Show a small plan covering that runtime option, the existing provider's renderer
49
49
  likely CSP/sandbox implications, tests, and a user-visible generated UI proof. Ask for approval separately.
50
50
 
51
51
  The plan must list every protected path it needs to change under `Authorization requested`,
52
- with one sentence explaining why. Write `None` when it needs none.
52
+ with one sentence explaining why. Write `None` when it needs none. Authorization covers
53
+ changing a protected path, not removing it, so the plan must not delete, move, or rename
54
+ one.
53
55
 
54
56
  After approval, record each approved path before implementation:
55
57
 
56
58
  ```text
57
- npx --yes copilotkit@4.11.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
59
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
58
60
  ```
59
61
 
60
62
  If an approved path changed after capture and no implementation step has run, add
@@ -64,7 +66,7 @@ authorize a path the approved plan did not list.
64
66
  Then report the plan this run is about to implement:
65
67
 
66
68
  ```text
67
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase plan-written
69
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase plan-written
68
70
  ```
69
71
 
70
- Then run `npx --yes copilotkit@4.11.0 onboard read feature/open-generative-ui/implement`.
72
+ Then run `npx --yes copilotkit@4.13.0 onboard read feature/open-generative-ui/implement`.
@@ -17,17 +17,17 @@ non-zero on an app that is working. Pass what `identifyUser` reads with a repeat
17
17
  It is not a defect to repair.
18
18
 
19
19
  Run focused tests and
20
- `npx --yes copilotkit@4.11.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --json`.
20
+ `npx --yes copilotkit@4.13.0 verify --expect-runtime intelligence --round-trip --agent <agent-id> --json`.
21
21
  Repair changed-file failures and record changed paths and secret-safe validation
22
22
  evidence.
23
23
 
24
24
  After validation and each repair, run:
25
25
 
26
26
  ```text
27
- npx --yes copilotkit@4.11.0 onboard audit
27
+ npx --yes copilotkit@4.13.0 onboard audit
28
28
  ```
29
29
 
30
- Continue only when it starts with `Status: passed`. A path under `Authorized to change:` is
30
+ Continue only when it starts with `Status: passed`. A path under `Authorized to modify:` is
31
31
  not a finding. Carry it into the final summary with its reason.
32
32
 
33
33
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -35,7 +35,7 @@ with the implementation subagent's `Files changed` section. If that section does
35
35
  the path, accept the developer's external change:
36
36
 
37
37
  ```text
38
- npx --yes copilotkit@4.11.0 onboard protect --accept-external --path <path>
38
+ npx --yes copilotkit@4.13.0 onboard protect --accept-external --path <path>
39
39
  ```
40
40
 
41
41
  For an env file where the developer placed a requested credential, use
@@ -44,24 +44,24 @@ or its report does not settle who changed it, ask the developer to allow the unp
44
44
  change. Only after they agree, record their answer:
45
45
 
46
46
  ```text
47
- npx --yes copilotkit@4.11.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
47
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
48
48
  ```
49
49
 
50
50
  Run the audit again after each accepted or authorized change. If it still fails, or starts
51
51
  with `Status: blocked`, route out and stop:
52
52
 
53
53
  ```text
54
- npx --yes copilotkit@4.11.0 onboard read feature/stop
54
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
55
55
  ```
56
56
 
57
57
  When implementation validation passes, report it:
58
58
 
59
59
  ```text
60
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase build-validated
60
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase build-validated
61
61
  ```
62
62
 
63
63
  If validation cannot pass, or this intent needs a prerequisite the app does not have, use
64
64
  the feature stop route above without further changes.
65
65
 
66
66
  Otherwise run
67
- `npx --yes copilotkit@4.11.0 onboard read feature/realtime-sync/proof`.
67
+ `npx --yes copilotkit@4.13.0 onboard read feature/realtime-sync/proof`.
@@ -14,23 +14,23 @@ the missing proof rather than claiming realtime works.
14
14
  Report each attempt at the proof as it ends, counting from one:
15
15
 
16
16
  ```text
17
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase journey-attempted --attempt 1
17
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase journey-attempted --attempt 1
18
18
  ```
19
19
 
20
20
  Report each repair cycle the same way, counting from one:
21
21
 
22
22
  ```text
23
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase repair-attempted --attempt 1
23
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase repair-attempted --attempt 1
24
24
  ```
25
25
 
26
26
  After the final attempt, report the gate exactly once:
27
27
 
28
28
  ```text
29
- npx --yes copilotkit@4.11.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
29
+ npx --yes copilotkit@4.13.0 onboard proof --step round-trip --outcome <passed|failed|skipped>
30
30
  ```
31
31
 
32
32
  Use `passed` only for proved two-client sync, `failed` for an attempted proof that failed,
33
- and `skipped` when the proof could not run. Then run `npx --yes copilotkit@4.11.0 onboard audit`.
33
+ and `skipped` when the proof could not run. Then run `npx --yes copilotkit@4.13.0 onboard audit`.
34
34
  Continue only when it starts with `Status: passed`.
35
35
 
36
36
  If the audit fails, never repair, reset, or revert a protected path. Compare each named path
@@ -45,8 +45,8 @@ Run the audit again after each accepted or authorized change.
45
45
  If the audit still fails, or starts with `Status: blocked`, route out and stop:
46
46
 
47
47
  ```text
48
- npx --yes copilotkit@4.11.0 onboard read feature/stop
48
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
49
49
  ```
50
50
 
51
51
  When the audit passes, run
52
- `npx --yes copilotkit@4.11.0 onboard read feature/complete` with the actual outcome.
52
+ `npx --yes copilotkit@4.13.0 onboard read feature/complete` with the actual outcome.
@@ -7,7 +7,7 @@ two-context proof to subagents within the target project.
7
7
  Before any subagent or project process runs, capture the developer's existing work:
8
8
 
9
9
  ```text
10
- npx --yes copilotkit@4.11.0 onboard protect
10
+ npx --yes copilotkit@4.13.0 onboard protect
11
11
  ```
12
12
 
13
13
  Keep the exact protected path list it prints and give that list to every subagent. No
@@ -23,7 +23,7 @@ unchanged and direct the developer to generic onboarding first.
23
23
  Wait for the inspection subagent to finish. Then report that the inspection came back:
24
24
 
25
25
  ```text
26
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase research-returned
26
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase research-returned
27
27
  ```
28
28
 
29
29
  A refused checkpoint prints its reason and leaves onboarding unaffected. It is not a
@@ -33,7 +33,7 @@ If the inspection did not prove the baseline this intent extends, stop here with
33
33
  changing files:
34
34
 
35
35
  ```text
36
- npx --yes copilotkit@4.11.0 onboard read feature/stop
36
+ npx --yes copilotkit@4.13.0 onboard read feature/stop
37
37
  ```
38
38
 
39
39
  Fetch the current official guides before planning:
@@ -52,12 +52,14 @@ from explicit developer-owned values; never derive one from the other. The clien
52
52
  need a `wsUrl`. Ask for approval separately.
53
53
 
54
54
  The plan must list every protected path it needs to change under `Authorization requested`,
55
- with one sentence explaining why. Write `None` when it needs none.
55
+ with one sentence explaining why. Write `None` when it needs none. Authorization covers
56
+ changing a protected path, not removing it, so the plan must not delete, move, or rename
57
+ one.
56
58
 
57
59
  After approval, record each approved path before implementation:
58
60
 
59
61
  ```text
60
- npx --yes copilotkit@4.11.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
62
+ npx --yes copilotkit@4.13.0 onboard protect --authorize --path <path> --reason "<the plan's sentence>"
61
63
  ```
62
64
 
63
65
  If an approved path changed after capture and no implementation step has run, add
@@ -67,7 +69,7 @@ authorize a path the approved plan did not list.
67
69
  Then report the plan this run is about to implement:
68
70
 
69
71
  ```text
70
- npx --yes copilotkit@4.11.0 onboard checkpoint --phase plan-written
72
+ npx --yes copilotkit@4.13.0 onboard checkpoint --phase plan-written
71
73
  ```
72
74
 
73
- Then run `npx --yes copilotkit@4.11.0 onboard read feature/realtime-sync/implement`.
75
+ Then run `npx --yes copilotkit@4.13.0 onboard read feature/realtime-sync/implement`.