copilotkit 4.9.17 → 4.9.31
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.
- package/README.md +152 -51
- package/cli-build-info.json +8 -8
- package/index.js +4590 -3234
- package/onboarding/index.json +1 -1
- package/onboarding/prompts/authenticate/start.md +27 -8
- package/onboarding/prompts/conversion/plan.md +24 -13
- package/onboarding/prompts/credentials/finalize-plan.md +119 -45
- package/onboarding/prompts/credentials/plan.md +20 -20
- package/onboarding/prompts/fallback/best-effort.md +19 -10
- package/onboarding/prompts/framework/ag2.md +2 -2
- package/onboarding/prompts/framework/agno.md +2 -2
- package/onboarding/prompts/framework/built-in.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
- package/onboarding/prompts/framework/crewai-flows.md +2 -2
- package/onboarding/prompts/framework/deep-agents.md +2 -2
- package/onboarding/prompts/framework/google-adk.md +2 -2
- package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
- package/onboarding/prompts/framework/langgraph-python.md +2 -2
- package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
- package/onboarding/prompts/framework/llamaindex.md +2 -2
- package/onboarding/prompts/framework/mastra.md +2 -2
- package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
- package/onboarding/prompts/framework/ms-agent-python.md +2 -2
- package/onboarding/prompts/framework/pydantic-ai.md +3 -3
- package/onboarding/prompts/framework/strands-python.md +2 -2
- package/onboarding/prompts/framework/strands-typescript.md +2 -2
- package/onboarding/prompts/frontend/angular.md +32 -4
- package/onboarding/prompts/frontend/nextjs.md +3 -3
- package/onboarding/prompts/frontend/plan.md +6 -6
- package/onboarding/prompts/frontend/react-native.md +2 -2
- package/onboarding/prompts/frontend/react-spa.md +2 -2
- package/onboarding/prompts/frontend/vue.md +2 -2
- package/onboarding/prompts/implementation/build-and-validate.md +32 -10
- package/onboarding/prompts/proof/complete.md +33 -12
- package/onboarding/prompts/proof/oss-baseline.md +13 -6
- package/onboarding/prompts/proof/round-trip.md +20 -12
- package/onboarding/prompts/starter/clone.md +17 -8
- package/onboarding/prompts/subagent/create-plan.md +31 -3
- package/onboarding/prompts/subagent/implement-and-validate.md +30 -1
- package/onboarding/prompts/subagent/inspect-repository.md +1 -1
- package/onboarding/prompts/subagent/prove-oss-baseline.md +16 -7
- package/onboarding/prompts/subagent/prove-round-trip.md +31 -10
- package/onboarding/prompts/unsupported/no-validated-path.md +6 -2
- package/package.json +1 -1
- package/release/release-tool.js +15 -1
|
@@ -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.
|
|
18
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
19
19
|
|
|
20
20
|
If the documentation does not support the selection, run
|
|
21
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
18
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
19
19
|
|
|
20
20
|
If the documentation does not support the selection, run
|
|
21
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.31 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
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
38
38
|
|
|
39
39
|
If the documentation does not support the selection, run
|
|
40
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
48
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
49
49
|
|
|
50
50
|
If the documentation does not support the selection, run
|
|
51
|
-
`npx --yes copilotkit@4.9.
|
|
51
|
+
`npx --yes copilotkit@4.9.31 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
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
38
38
|
|
|
39
39
|
If the documentation does not support the selection, run
|
|
40
|
-
`npx --yes copilotkit@4.9.
|
|
40
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
47
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
48
48
|
|
|
49
49
|
If the documentation does not support the selection, run
|
|
50
|
-
`npx --yes copilotkit@4.9.
|
|
50
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
31
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
32
32
|
|
|
33
33
|
If the documentation does not support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`.
|
|
@@ -19,7 +19,7 @@ documented backend set with
|
|
|
19
19
|
`uv add 'pydantic-ai-slim[ag-ui,openai]>=2,<3' 'starlette>=0.46.2' uvicorn`.
|
|
20
20
|
Keep the Starlette endpoint that calls `AGUIAdapter.dispatch_request`, unless the app
|
|
21
21
|
context route below replaces it with the two-step form. Register it in Copilot Runtime
|
|
22
|
-
with `HttpAgent
|
|
22
|
+
with `HttpAgent`. Do not replace this transport with a different Pydantic AI adapter.
|
|
23
23
|
|
|
24
24
|
A2UI is not on this path. If the developer asks for it, say first that the documented
|
|
25
25
|
Python setup does not support `action_handlers` on `a2ui.render`, so its button callback
|
|
@@ -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.
|
|
46
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
47
47
|
|
|
48
48
|
If the documentation does not support the selection, run
|
|
49
|
-
`npx --yes copilotkit@4.9.
|
|
49
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
30
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
31
31
|
|
|
32
32
|
If the documentation does not support the selection, run
|
|
33
|
-
`npx --yes copilotkit@4.9.
|
|
33
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
31
|
+
`npx --yes copilotkit@4.9.31 onboard read frontend/plan`.
|
|
32
32
|
|
|
33
33
|
If the documentation does not support the selection, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
8
|
+
`npx --yes copilotkit@4.9.31 onboard read starter/clone` before you fetch documentation.
|
|
9
9
|
|
|
10
10
|
## Documentation
|
|
11
11
|
|
|
@@ -30,12 +30,40 @@ same `component` and `handler: async () => {}` instead, and record that substitu
|
|
|
30
30
|
not give the handler a body: a display-only tool that returns a value writes it into the
|
|
31
31
|
thread as the tool's result.
|
|
32
32
|
|
|
33
|
+
## Version lines
|
|
34
|
+
|
|
35
|
+
`@copilotkit/angular` publishes on a `0.x` line of its own. Every other `@copilotkit/*`
|
|
36
|
+
package publishes on the `1.x` line. Never move either onto the other's line.
|
|
37
|
+
|
|
38
|
+
The two lines are released separately, so a published `@copilotkit/angular` declares a
|
|
39
|
+
`@copilotkit/core` chosen when that Angular release was cut, not when this run happens.
|
|
40
|
+
Read that declaration before you plan any dependency change:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
npm view @copilotkit/angular@latest dependencies
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
If the `@copilotkit/core` it declares cannot be satisfied by the version the floor
|
|
47
|
+
requires, the two published packages do not fit together. Installing both resolves two
|
|
48
|
+
copies of `@copilotkit/core`, the Angular package's calls land on the copy that does not
|
|
49
|
+
export what they need, and the threads drawer and the Inspector threads view throw in the
|
|
50
|
+
browser while every command-line check passes.
|
|
51
|
+
|
|
52
|
+
That is a version-line mismatch. Report it naming both versions -- the `@copilotkit/core`
|
|
53
|
+
the Angular package declares, and the one the floor requires -- and take the unsupported
|
|
54
|
+
route at the end of this page. Do not add an `overrides`, `resolutions`, or
|
|
55
|
+
`pnpm.overrides` block to force them together. That is a repair the developer did not
|
|
56
|
+
approve, it silently pins their whole tree, and it hides a mismatch between two packages
|
|
57
|
+
CopilotKit publishes rather than reporting it.
|
|
58
|
+
|
|
59
|
+
## Node
|
|
60
|
+
|
|
33
61
|
Angular CLI 22 requires Node `^22.22.3 || ^24.15.0 || >=26`. Check the Node version before
|
|
34
62
|
you create or build an Angular project. If the installed version is lower, select a
|
|
35
63
|
supported version first and use it for every later command in this project.
|
|
36
64
|
|
|
37
65
|
If the pages support the selection, record Angular and these URLs. Then run
|
|
38
|
-
`npx --yes copilotkit@4.9.
|
|
66
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/finalize-plan`.
|
|
39
67
|
|
|
40
|
-
If the documentation does not support the selection,
|
|
41
|
-
`npx --yes copilotkit@4.9.
|
|
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.31 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.
|
|
18
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
30
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/finalize-plan`.
|
|
31
31
|
|
|
32
32
|
If the documentation does not support the selection, run
|
|
33
|
-
`npx --yes copilotkit@4.9.
|
|
33
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
28
|
-
2. Next.js: `npx --yes copilotkit@4.9.
|
|
29
|
-
3. Angular: `npx --yes copilotkit@4.9.
|
|
30
|
-
4. Vue 3: `npx --yes copilotkit@4.9.
|
|
31
|
-
5. React Native: `npx --yes copilotkit@4.9.
|
|
27
|
+
1. React SPA: `npx --yes copilotkit@4.9.31 onboard read frontend/react-spa`
|
|
28
|
+
2. Next.js: `npx --yes copilotkit@4.9.31 onboard read frontend/nextjs`
|
|
29
|
+
3. Angular: `npx --yes copilotkit@4.9.31 onboard read frontend/angular`
|
|
30
|
+
4. Vue 3: `npx --yes copilotkit@4.9.31 onboard read frontend/vue`
|
|
31
|
+
5. React Native: `npx --yes copilotkit@4.9.31 onboard read frontend/react-native`
|
|
32
32
|
|
|
33
33
|
If no listed frontend fits, run
|
|
34
|
-
`npx --yes copilotkit@4.9.
|
|
34
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
18
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/finalize-plan`.
|
|
19
19
|
|
|
20
20
|
If the documentation does not support the selection, run
|
|
21
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
14
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/finalize-plan`.
|
|
15
15
|
|
|
16
16
|
If the documentation does not support the selection, run
|
|
17
|
-
`npx --yes copilotkit@4.9.
|
|
17
|
+
`npx --yes copilotkit@4.9.31 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.
|
|
19
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/finalize-plan`.
|
|
20
20
|
|
|
21
21
|
If the documentation does not support the selection, run
|
|
22
|
-
`npx --yes copilotkit@4.9.
|
|
22
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`.
|
|
@@ -7,25 +7,46 @@ Do not implement the plan yourself. Use the step order in the approved plan.
|
|
|
7
7
|
Run the audit from the target app directory:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
|
-
npx --yes copilotkit@4.9.
|
|
10
|
+
npx --yes copilotkit@4.9.31 onboard audit
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
It compares every protected path with the digest the CLI captured for it. Its result starts
|
|
14
14
|
with `Status: passed`, `Status: failed`, or `Status: blocked`. The audit passes only when
|
|
15
15
|
the result starts with `Status: passed`.
|
|
16
16
|
|
|
17
|
-
`Status: failed` names each protected path that changed and how.
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
`Status: failed` names each protected path that changed and how. Never repair, reset, or
|
|
18
|
+
revert a protected path. Also do not retry the audit: it reads files, so a second run of it
|
|
19
|
+
answers the same.
|
|
20
|
+
|
|
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.
|
|
27
|
+
|
|
28
|
+
A path that no Files changed section names changed outside the run, and it is the
|
|
29
|
+
developer's own file. Accept it by name:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
npx --yes copilotkit@4.9.31 onboard protect --accept-external --path <path>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Pass one `--path` for each path you accept. Accept only a path the audit named, and only
|
|
36
|
+
when no step of this run wrote it. The command re-captures that path, records that this
|
|
37
|
+
run accepted the change, and prints it. Run the audit again afterwards: it passes and
|
|
38
|
+
names every accepted path, and the closing summary must name them too. An acceptance is
|
|
39
|
+
not a repair. It proves nothing about what the file now holds.
|
|
20
40
|
|
|
21
41
|
`Status: blocked` means the audit has no baseline to read. A blocked audit compared
|
|
22
42
|
nothing and proved nothing changed. It is not a preservation failure: do not report a
|
|
23
43
|
protected path as changed. Report the printed reason and use the route-out rules.
|
|
24
44
|
|
|
25
|
-
|
|
45
|
+
An audit that has not passed never continues the run by itself. Continue only after an
|
|
46
|
+
acceptance clears it, or route out. Do not send an audit result to a repair worker.
|
|
26
47
|
|
|
27
48
|
Spawn one implementation subagent. Tell it to run
|
|
28
|
-
`npx --yes copilotkit@4.9.
|
|
49
|
+
`npx --yes copilotkit@4.9.31 onboard read subagent/implement-and-validate` first and follow
|
|
29
50
|
the prompt it returns. If that read fails because the subagent cannot use the shell, stop that
|
|
30
51
|
subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
|
|
31
52
|
and the same handoff. Give it the plan, selected framework, frontend, model, exact target app
|
|
@@ -38,11 +59,12 @@ One subagent implements the whole plan. Do not divide the work across concurrent
|
|
|
38
59
|
and do not spawn a second subagent to reconcile a split.
|
|
39
60
|
|
|
40
61
|
If the implementation result does not start with `Status: passed`, do not continue to proof.
|
|
41
|
-
Run the protected-path audit after the implementation subagent passes.
|
|
42
|
-
|
|
62
|
+
Run the protected-path audit after the implementation subagent passes. Decide each path it
|
|
63
|
+
names the same way as above, against the Files changed section that subagent just
|
|
64
|
+
returned. Continue to proof only when that audit passes.
|
|
43
65
|
|
|
44
66
|
After the selected implementation path passes, run
|
|
45
|
-
`npx --yes copilotkit@4.9.
|
|
67
|
+
`npx --yes copilotkit@4.9.31 onboard read proof/round-trip`.
|
|
46
68
|
|
|
47
69
|
## Repair rules
|
|
48
70
|
|
|
@@ -60,4 +82,4 @@ Route out for `Status: blocked`. Route out only when the failure is not yours to
|
|
|
60
82
|
failure is in code this run did not write, the fix requires changing the developer's existing
|
|
61
83
|
agent or frontend, the same command still fails after three repair attempts, or the
|
|
62
84
|
documentation does not support the plan. In those cases run
|
|
63
|
-
`npx --yes copilotkit@4.9.
|
|
85
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`.
|
|
@@ -37,17 +37,34 @@ The handoff must include:
|
|
|
37
37
|
- The URL of the running app.
|
|
38
38
|
- The command that starts the app in the future.
|
|
39
39
|
- The debugging surface this journey's frontend can reach, named below.
|
|
40
|
-
- How to use https://intelligence.copilotkit.ai to manage the Intelligence
|
|
40
|
+
- How to use https://intelligence.copilotkit.ai to manage the Intelligence
|
|
41
|
+
installation. Do not open it. This item makes the developer aware the dashboard is
|
|
42
|
+
there, and it is a sentence to write rather than a check to perform. Nothing in this
|
|
43
|
+
graph gates on the dashboard, so a dashboard this run never opened is not a finding,
|
|
44
|
+
not a caveat, and not a blocker.
|
|
41
45
|
- The process IDs and stop commands for the running agent and frontend.
|
|
42
46
|
- The `@copilotkit/*` versions this conversion changed, and what they were before.
|
|
43
47
|
- On a conversion, the criterion this run was judged against, in the words the run was
|
|
44
48
|
given.
|
|
49
|
+
- Any path this run created that git does not ignore, and what to do with each.
|
|
50
|
+
- Any protected path this run accepted as changed from outside it, and what changed. The
|
|
51
|
+
command at the end of this prompt prints each one, so copy them from its output rather
|
|
52
|
+
than from memory. This run did not change them and cannot say what did, so the developer
|
|
53
|
+
decides what to do about each.
|
|
54
|
+
|
|
55
|
+
A run leaves paths beside the credential file. Tool output such as `.playwright-mcp/` and
|
|
56
|
+
`.langgraph_api/` is regenerable, so the developer normally wants it ignored.
|
|
57
|
+
`.copilotkit/` is not debris: `project.json` and `channels.json` are the project's own
|
|
58
|
+
declared state and belong in the commit, while `.copilotkit/artifacts/` holds regenerable
|
|
59
|
+
manifests and does not. Name each path and say which of the two it is. Do not add an
|
|
60
|
+
ignore line for any of them yourself. None of these carries a secret, unlike the
|
|
61
|
+
credential path, so the developer decides.
|
|
45
62
|
|
|
46
63
|
Name the debugging surface this journey's frontend can reach, rather than the one the rest
|
|
47
64
|
of the documentation leads with. For a web frontend it is the CopilotKit Inspector. For
|
|
48
65
|
React Native there is no Inspector: it is a browser overlay built on a DOM custom element,
|
|
49
66
|
and `@copilotkit/react-native` does not ship it. Give a mobile developer
|
|
50
|
-
`npx --yes copilotkit@4.9.
|
|
67
|
+
`npx --yes copilotkit@4.9.31 verify --round-trip`, the runtime's own log, the AG-UI
|
|
51
68
|
Event Inspector in the CopilotKit VS Code extension, and the Intelligence thread view
|
|
52
69
|
instead. Naming the Inspector to a developer who cannot open it costs them the time it
|
|
53
70
|
takes to conclude their own wiring is broken.
|
|
@@ -59,7 +76,7 @@ the friction commands without another developer question. The CLI telemetry gate
|
|
|
59
76
|
whether the report is sent.
|
|
60
77
|
|
|
61
78
|
```text
|
|
62
|
-
npx --yes copilotkit@4.9.
|
|
79
|
+
npx --yes copilotkit@4.9.31 onboard friction --category <slug> --cost-seconds <seconds>
|
|
63
80
|
```
|
|
64
81
|
|
|
65
82
|
Write one or two sentences on the command's standard input. Pick one category from
|
|
@@ -76,14 +93,14 @@ Tell the developer when you send a friction report. Do not quote or summarize th
|
|
|
76
93
|
unless the developer asks. If the CLI says that telemetry is disabled or unavailable,
|
|
77
94
|
state that the report was not sent and continue without another question.
|
|
78
95
|
|
|
79
|
-
When the evidence is gathered, run `npx --yes copilotkit@4.9.
|
|
96
|
+
When the evidence is gathered, run `npx --yes copilotkit@4.9.31 onboard complete`, carrying
|
|
80
97
|
the surface-check outcome the proof subagent returned. Pass exactly one flag, and pass the
|
|
81
98
|
one that matches this journey's surface.
|
|
82
99
|
|
|
83
100
|
For a web frontend -- React SPA, Next.js, Angular, Vue:
|
|
84
101
|
|
|
85
102
|
```text
|
|
86
|
-
npx --yes copilotkit@4.9.
|
|
103
|
+
npx --yes copilotkit@4.9.31 onboard complete --visual-check <outcome>
|
|
87
104
|
```
|
|
88
105
|
|
|
89
106
|
The outcome is one of `performed`, `skipped-no-browser-tool`, or `failed`.
|
|
@@ -91,7 +108,7 @@ The outcome is one of `performed`, `skipped-no-browser-tool`, or `failed`.
|
|
|
91
108
|
For React Native:
|
|
92
109
|
|
|
93
110
|
```text
|
|
94
|
-
npx --yes copilotkit@4.9.
|
|
111
|
+
npx --yes copilotkit@4.9.31 onboard complete --device-check <outcome>
|
|
95
112
|
```
|
|
96
113
|
|
|
97
114
|
The outcome is one of `performed`, `skipped-no-device`, or `failed`.
|
|
@@ -109,14 +126,18 @@ If the round trip proved and something after it still blocked this run, add `--b
|
|
|
109
126
|
to the same command:
|
|
110
127
|
|
|
111
128
|
```text
|
|
112
|
-
npx --yes copilotkit@4.9.
|
|
129
|
+
npx --yes copilotkit@4.9.31 onboard complete --visual-check performed --blocked-by <cause>
|
|
113
130
|
```
|
|
114
131
|
|
|
115
|
-
The cause is one of `
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
132
|
+
The cause is one of `inspector` for a debugging surface that did not open,
|
|
133
|
+
`plan-excluded-capability` for a capability the approved plan had already excluded for this
|
|
134
|
+
framework, and `other` for anything else. Pick `other` rather than leaving the flag off.
|
|
135
|
+
The command ends the run as blocked and prints what the blocker leaves unverified.
|
|
136
|
+
|
|
137
|
+
The managed Intelligence dashboard is not among these, because nothing in this graph asks a
|
|
138
|
+
run to open it. A run that records a blocker for a surface it was never sent to looks worse
|
|
139
|
+
than an identical run that wrote the same handoff sentence, and the two are then not
|
|
140
|
+
comparable.
|
|
120
141
|
|
|
121
142
|
This is the flag for a journey that worked. It is not a way to report an unsupported path,
|
|
122
143
|
and a blocked run here is still owed the full handoff above: the URL, the start command,
|
|
@@ -1,24 +1,31 @@
|
|
|
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.
|
|
4
|
+
`npx --yes copilotkit@4.9.31 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
|
-
and the same handoff. Give it the repository findings and exact CLI package spec.
|
|
8
|
-
|
|
7
|
+
and the same handoff. Give it the repository findings and exact CLI package spec.
|
|
8
|
+
|
|
9
|
+
Give it the browser or device control you recorded in the preflight as well. The subagent
|
|
10
|
+
proves the runtime from a shell and needs no browser for that. The control is for the one
|
|
11
|
+
predicate that drives the existing frontend. Where the preflight recorded `unavailable`, say
|
|
12
|
+
so, so the subagent records that predicate as skipped instead of spending the step looking
|
|
13
|
+
for a substitute.
|
|
14
|
+
|
|
15
|
+
Wait for the subagent to finish.
|
|
9
16
|
|
|
10
17
|
Do not change project files before this proof ends. Starting existing development
|
|
11
18
|
processes and their ignored runtime files is allowed.
|
|
12
19
|
|
|
13
20
|
If the subagent proves the `both-oss` predicate, keep its evidence with the plan and run
|
|
14
|
-
`npx --yes copilotkit@4.9.
|
|
21
|
+
`npx --yes copilotkit@4.9.31 onboard read conversion/plan`. That project already works.
|
|
15
22
|
What it needs is the conversion, not a build.
|
|
16
23
|
|
|
17
24
|
If it proves another supported starting state, record that state and run
|
|
18
|
-
`npx --yes copilotkit@4.9.
|
|
25
|
+
`npx --yes copilotkit@4.9.31 onboard read credentials/plan`. This prompt is served
|
|
19
26
|
whenever a project looks like an OSS integration, so a baseline that did not prove is an
|
|
20
27
|
ordinary starting state rather than a failure.
|
|
21
28
|
|
|
22
29
|
If it cannot identify the running process safely, exposes a secret, or finds a baseline
|
|
23
30
|
failure that cannot be classified, run
|
|
24
|
-
`npx --yes copilotkit@4.9.
|
|
31
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`.
|
|
@@ -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 --yes copilotkit@4.9.
|
|
4
|
+
`npx --yes copilotkit@4.9.31 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
|
|
@@ -17,27 +17,35 @@ this frontend needs reports the skip outcome rather than looking for a way aroun
|
|
|
17
17
|
Give the subagent this guide for continued-development tools:
|
|
18
18
|
https://docs.copilotkit.ai/build-with-agents.md
|
|
19
19
|
|
|
20
|
-
Wait for the subagent to finish.
|
|
20
|
+
Wait for the subagent to finish. Its result arrives as a notification. Do not sleep to
|
|
21
|
+
pass the time.
|
|
21
22
|
|
|
22
23
|
For every protected-path audit in this prompt, run
|
|
23
|
-
`npx --yes copilotkit@4.9.
|
|
24
|
+
`npx --yes copilotkit@4.9.31 onboard audit` from the target app directory. If its result
|
|
24
25
|
starts with `Status: blocked`, report the printed reason and use the route-out rules below.
|
|
25
26
|
A blocked audit proved nothing changed and is not a preservation failure. If a
|
|
26
|
-
protected-path audit reports a changed path,
|
|
27
|
-
|
|
27
|
+
protected-path audit reports a changed path, decide it the way the implementation prompt
|
|
28
|
+
does, against the Files changed sections this run has collected. The proof subagent
|
|
29
|
+
returns none, so a finding with no Files changed section to test against routes out. A
|
|
30
|
+
path one of those sections names is this run's own change and routes out too. Accept a
|
|
31
|
+
path only when a section this run collected covers the step that wrote it and does not
|
|
32
|
+
name it:
|
|
33
|
+
`npx --yes copilotkit@4.9.31 onboard protect --accept-external --path <path>`. Then run
|
|
34
|
+
the audit again and name the path in the closing summary. Never repair, reset, or revert a
|
|
35
|
+
protected path.
|
|
28
36
|
|
|
29
37
|
If the proof result starts with `Status: passed`, run the protected-path audit. Continue to
|
|
30
38
|
`proof/complete` only if that audit passes. After the audit passes, run
|
|
31
|
-
`npx --yes copilotkit@4.9.
|
|
39
|
+
`npx --yes copilotkit@4.9.31 onboard read proof/complete`. A performed surface outcome with
|
|
32
40
|
the full round trip is core success even if a continued-development tool fails. A skipped
|
|
33
41
|
surface outcome still enters `proof/complete` so the CLI records the blocked result. Do not
|
|
34
42
|
describe a skipped surface as proved. Keep the Skills and MCP results separate from the proof
|
|
35
43
|
result.
|
|
36
44
|
|
|
37
|
-
If the round trip proves and something after it blocks this run anyway -- the
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
If the round trip proves and something after it blocks this run anyway -- the debugging
|
|
46
|
+
surface, or a capability the approved plan already excluded for this framework -- read
|
|
47
|
+
`proof/complete` all the same, with the command above, and carry the blocker there with
|
|
48
|
+
`--blocked-by`.
|
|
41
49
|
The stop terminal is for a journey this release cannot carry. It is
|
|
42
50
|
not for a journey that worked and then hit a wall: routing a proved run there tells the
|
|
43
51
|
developer that a framework and frontend that just worked are unsupported, and hands them a
|
|
@@ -95,7 +103,7 @@ and proof cycles.
|
|
|
95
103
|
|
|
96
104
|
Route out only when the failure is not yours to fix, when the same proof still fails after
|
|
97
105
|
three attempts, or when no evidence of the round trip can be produced. In those cases run
|
|
98
|
-
`npx --yes copilotkit@4.9.
|
|
106
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`. All three are
|
|
99
107
|
about the round trip itself. A round trip that proved is not one of them, whatever failed
|
|
100
108
|
after it.
|
|
101
109
|
|
|
@@ -105,7 +113,7 @@ Run the feedback command without another developer question. The CLI telemetry g
|
|
|
105
113
|
whether the report is sent.
|
|
106
114
|
|
|
107
115
|
```text
|
|
108
|
-
npx --yes copilotkit@4.9.
|
|
116
|
+
npx --yes copilotkit@4.9.31 onboard feedback
|
|
109
117
|
```
|
|
110
118
|
|
|
111
119
|
Write at most four lines to standard input: the step you stopped at and what stopped it.
|
|
@@ -34,11 +34,18 @@ selected pair is not in the table, or the directory name is not valid, stop the
|
|
|
34
34
|
Do not run `init`. Treat this result as a failed shortcut and follow the final failure
|
|
35
35
|
instruction in this prompt.
|
|
36
36
|
|
|
37
|
-
If the developer did not name an Intelligence project,
|
|
37
|
+
If the developer did not name an Intelligence project, create one for the app being
|
|
38
|
+
cloned. This directory is new, so no existing project is already its own: take the project
|
|
39
|
+
name from the target directory name derived above, and ask the developer to confirm it or
|
|
40
|
+
give another. Do not list the projects in the organization. If no developer answers, use
|
|
41
|
+
the derived name.
|
|
38
42
|
|
|
39
|
-
|
|
43
|
+
Only if the developer asks for an existing project, or asks to see the projects they have,
|
|
44
|
+
read the choices:
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
`npx --yes copilotkit@4.9.31 project list --json`
|
|
47
|
+
|
|
48
|
+
Then ask which one to use. Do not order the projects by creation time. If the developer
|
|
42
49
|
already gave this answer, do not ask again. Do not read a secret value. Do not show or
|
|
43
50
|
store a secret value.
|
|
44
51
|
|
|
@@ -46,10 +53,12 @@ Run the command from the parent directory. Do not inspect another entry in the p
|
|
|
46
53
|
directory. Replace each placeholder with the recorded value. Do not run a placeholder as
|
|
47
54
|
a shell argument.
|
|
48
55
|
|
|
49
|
-
`npx --yes copilotkit@4.9.
|
|
56
|
+
`npx --yes copilotkit@4.9.31 init --name <project-name> --framework <framework-id> --channel none --no-banner --create <name> --install`
|
|
50
57
|
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
Pass the confirmed name to both `--name` and `--create`: the app directory and its
|
|
59
|
+
Intelligence project take the same name here. If the developer names an existing project,
|
|
60
|
+
use `--project <slug-or-id>` instead of `--create <name>`. If the developer asked to skip
|
|
61
|
+
the dependency install, use
|
|
53
62
|
`--no-install` instead of `--install`. Do not wait for an interactive prompt. Pass every
|
|
54
63
|
answer as a flag.
|
|
55
64
|
|
|
@@ -60,8 +69,8 @@ account. The command does not need terminal input.
|
|
|
60
69
|
If the command succeeds, do not rebuild the starter by hand. Inspect only the generated
|
|
61
70
|
paths inside the target directory. Record the files, install result, project connection,
|
|
62
71
|
and validation commands. Then run
|
|
63
|
-
`npx --yes copilotkit@4.9.
|
|
72
|
+
`npx --yes copilotkit@4.9.31 onboard read proof/round-trip`.
|
|
64
73
|
|
|
65
74
|
If the command fails, report its exact error and do not claim that the starter is ready.
|
|
66
75
|
Then run
|
|
67
|
-
`npx --yes copilotkit@4.9.
|
|
76
|
+
`npx --yes copilotkit@4.9.31 onboard read unsupported/no-validated-path`.
|