copilotkit 4.22.0 → 4.23.1
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 +390 -17
- package/cli-build-info.json +8 -8
- package/index.js +52224 -34474
- package/onboarding/index.json +83 -9
- package/onboarding/prompts/authenticate/start.md +44 -34
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +12 -7
- package/onboarding/prompts/credentials/plan.md +23 -23
- package/onboarding/prompts/credentials/settle-credentials.md +10 -7
- package/onboarding/prompts/credentials/write-plan.md +17 -7
- package/onboarding/prompts/deployment/choose-local.md +46 -0
- package/onboarding/prompts/deployment/local-evaluation.md +71 -0
- package/onboarding/prompts/fallback/best-effort.md +8 -8
- package/onboarding/prompts/feature/a2ui/implement.md +6 -6
- package/onboarding/prompts/feature/a2ui/plan.md +72 -0
- package/onboarding/prompts/feature/a2ui/proof.md +5 -5
- package/onboarding/prompts/feature/a2ui/start.md +11 -32
- package/onboarding/prompts/feature/channels/implement.md +23 -16
- package/onboarding/prompts/feature/channels/plan.md +85 -0
- package/onboarding/prompts/feature/channels/proof.md +5 -5
- package/onboarding/prompts/feature/channels/start.md +14 -41
- package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
- package/onboarding/prompts/feature/chat-suggestions/plan.md +71 -0
- package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
- package/onboarding/prompts/feature/chat-suggestions/start.md +11 -30
- package/onboarding/prompts/feature/complete.md +2 -2
- package/onboarding/prompts/feature/learning/implement.md +13 -13
- package/onboarding/prompts/feature/learning/plan.md +82 -0
- package/onboarding/prompts/feature/learning/proof.md +6 -6
- package/onboarding/prompts/feature/learning/start.md +11 -40
- package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
- package/onboarding/prompts/feature/open-generative-ui/plan.md +70 -0
- package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
- package/onboarding/prompts/feature/open-generative-ui/start.md +11 -30
- package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
- package/onboarding/prompts/feature/realtime-sync/plan.md +75 -0
- package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
- package/onboarding/prompts/feature/realtime-sync/start.md +10 -33
- package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
- package/onboarding/prompts/feature/rich-threads/plan.md +77 -0
- package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
- package/onboarding/prompts/feature/rich-threads/start.md +10 -35
- package/onboarding/prompts/feature/stop.md +3 -3
- package/onboarding/prompts/feature/voice/implement.md +6 -6
- package/onboarding/prompts/feature/voice/plan.md +74 -0
- package/onboarding/prompts/feature/voice/proof.md +5 -5
- package/onboarding/prompts/feature/voice/start.md +11 -29
- 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/custom-ag-ui.md +5 -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 +3 -3
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +3 -3
- package/onboarding/prompts/framework/ms-agent-python.md +2 -2
- package/onboarding/prompts/framework/pydantic-ai.md +2 -2
- package/onboarding/prompts/framework/strands-python.md +2 -2
- package/onboarding/prompts/framework/strands-typescript.md +2 -2
- package/onboarding/prompts/frontend/angular.md +3 -3
- package/onboarding/prompts/frontend/nextjs.md +3 -3
- package/onboarding/prompts/frontend/plan.md +7 -7
- 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 +14 -13
- package/onboarding/prompts/proof/complete.md +3 -3
- package/onboarding/prompts/proof/oss-baseline.md +5 -5
- package/onboarding/prompts/proof/round-trip.md +16 -11
- package/onboarding/prompts/research/gather.md +9 -8
- package/onboarding/prompts/research/merge.md +6 -3
- package/onboarding/prompts/research/preflight.md +2 -2
- package/onboarding/prompts/research/route.md +22 -14
- package/onboarding/prompts/starter/clone.md +5 -5
- package/onboarding/prompts/stopped/run-failed.md +2 -2
- package/onboarding/prompts/subagent/create-plan.md +9 -2
- package/onboarding/prompts/subagent/implement-and-validate.md +34 -2
- package/onboarding/prompts/subagent/inspect-repository.md +1 -1
- package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +39 -21
- package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
- package/package.json +4 -1
- package/release/release-tool.js +167 -18
- package/services/local-auth-worker.js +21465 -0
|
@@ -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.
|
|
33
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
34
34
|
|
|
35
35
|
If the documentation does not support the selection, run
|
|
36
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
36
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -25,7 +25,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
25
25
|
these URLs.
|
|
26
26
|
|
|
27
27
|
If the pages support the selection, run
|
|
28
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
28
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
29
29
|
|
|
30
30
|
If the documentation does not support the selection, run
|
|
31
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
31
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -19,7 +19,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
19
19
|
these URLs.
|
|
20
20
|
|
|
21
21
|
If the pages support the selection, run
|
|
22
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
22
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
23
23
|
|
|
24
24
|
If the documentation does not support the selection, run
|
|
25
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
25
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -19,7 +19,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
19
19
|
these URLs.
|
|
20
20
|
|
|
21
21
|
If the pages support the selection, run
|
|
22
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
22
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
23
23
|
|
|
24
24
|
If the documentation does not support the selection, run
|
|
25
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
25
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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 --prefer-offline --yes copilotkit@4.
|
|
37
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
38
38
|
|
|
39
39
|
If the documentation does not support the selection, run
|
|
40
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
40
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -47,7 +47,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
47
47
|
these URLs.
|
|
48
48
|
|
|
49
49
|
If the pages support the selection, run
|
|
50
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
50
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
51
51
|
|
|
52
52
|
If the documentation does not support the selection, run
|
|
53
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
53
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -15,7 +15,7 @@ Run `dotnet --version` before you change the project. If it fails, no .NET SDK i
|
|
|
15
15
|
shell's PATH. Do not change the project, and do not install the SDK yourself. Tell the
|
|
16
16
|
developer to install the .NET SDK from https://dotnet.microsoft.com/download. Say that the
|
|
17
17
|
coding agent's shell cannot see a new install until the developer restarts the coding
|
|
18
|
-
agent. Give them `npx --prefer-offline --yes copilotkit@4.
|
|
18
|
+
agent. Give them `npx --prefer-offline --yes copilotkit@4.23.1 onboard start --run <onboarding_run_id>`
|
|
19
19
|
to resume the run after the restart. Then end your turn and wait for the developer.
|
|
20
20
|
|
|
21
21
|
## Documentation
|
|
@@ -41,7 +41,7 @@ Record the selected framework, provider, model, required credential variable nam
|
|
|
41
41
|
these URLs.
|
|
42
42
|
|
|
43
43
|
If the pages support the selection, run
|
|
44
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
44
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
45
45
|
|
|
46
46
|
If the documentation does not support the selection, run
|
|
47
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
47
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read unsupported/no-validated-path`.
|
|
@@ -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.
|
|
12
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
52
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
53
53
|
|
|
54
54
|
If the documentation does not support the selection, run
|
|
55
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
55
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
33
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
34
34
|
|
|
35
35
|
If the documentation does not support the selection, run
|
|
36
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
36
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
46
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
47
47
|
|
|
48
48
|
If the documentation does not support the selection, run
|
|
49
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
49
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
32
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
33
33
|
|
|
34
34
|
If the documentation does not support the selection, run
|
|
35
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
35
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
33
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/plan`.
|
|
34
34
|
|
|
35
35
|
If the documentation does not support the selection, run
|
|
36
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
36
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
8
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
55
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
58
|
+
together, run `npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
18
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
43
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
46
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
41
|
-
2. Next.js: `npx --prefer-offline --yes copilotkit@4.
|
|
42
|
-
3. Angular: `npx --prefer-offline --yes copilotkit@4.
|
|
43
|
-
4. Vue 3: `npx --prefer-offline --yes copilotkit@4.
|
|
44
|
-
5. React Native: `npx --prefer-offline --yes copilotkit@4.
|
|
45
|
-
6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.
|
|
40
|
+
1. React SPA: `npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/react-spa`
|
|
41
|
+
2. Next.js: `npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/nextjs`
|
|
42
|
+
3. Angular: `npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/angular`
|
|
43
|
+
4. Vue 3: `npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/vue`
|
|
44
|
+
5. React Native: `npx --prefer-offline --yes copilotkit@4.23.1 onboard read frontend/react-native`
|
|
45
|
+
6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
51
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
21
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
24
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
17
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
20
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
22
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
25
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
15
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
70
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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
|
|
@@ -99,7 +99,7 @@ No implementation step has run yet, so the change is theirs rather than this run
|
|
|
99
99
|
consent over it by adding one flag:
|
|
100
100
|
|
|
101
101
|
```text
|
|
102
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
102
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --authorize --path <path> --reason "<the plan's sentence>" --with-prior-change
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
The flag records their change as drift beside the consent, so the closing report names both
|
|
@@ -119,7 +119,7 @@ audit below describes, rather than use this section.
|
|
|
119
119
|
Run the audit from the target app directory:
|
|
120
120
|
|
|
121
121
|
```text
|
|
122
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
122
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard audit
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
It compares every protected path with the digest the CLI captured for it. Its result starts
|
|
@@ -154,14 +154,14 @@ A path that no Files changed section names changed outside the run, and it is th
|
|
|
154
154
|
developer's own file. Accept it by name:
|
|
155
155
|
|
|
156
156
|
```text
|
|
157
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
157
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --accept-external --path <path>
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
A changed env file is its own case. This run asked the developer to place a credential
|
|
161
161
|
there, so it takes the credential route rather than this one:
|
|
162
162
|
|
|
163
163
|
```text
|
|
164
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
164
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --accept-credential --path <path>
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
That route proves no recorded credential was lost, instead of taking the run's word that it
|
|
@@ -180,7 +180,7 @@ neither does a one-line fix. Never repair, reset, or revert it. Ask the develope
|
|
|
180
180
|
the change, and record the answer they give:
|
|
181
181
|
|
|
182
182
|
```text
|
|
183
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
183
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
Use it only for an answer a developer actually gave. It records the consent as taken
|
|
@@ -215,7 +215,7 @@ directory. The developer approved the id before it was made, so this is the firs
|
|
|
215
215
|
which it can be created:
|
|
216
216
|
|
|
217
217
|
```text
|
|
218
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
218
|
+
npx --prefer-offline --yes copilotkit@4.23.1 learning containers create --id <id> --name <name> --json
|
|
219
219
|
```
|
|
220
220
|
|
|
221
221
|
Pass the id the plan names. Take the name from the selected project's own display name, so
|
|
@@ -232,14 +232,15 @@ plan names no container, skip this section.
|
|
|
232
232
|
## Implement the plan
|
|
233
233
|
|
|
234
234
|
Spawn one implementation subagent. Tell it to run
|
|
235
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
235
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read subagent/implement-and-validate` first and follow
|
|
236
236
|
the prompt it returns. If that read fails because the subagent cannot use the shell, stop that
|
|
237
237
|
subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
|
|
238
238
|
and the same handoff. Give it the plan, selected framework, frontend, model, exact target app
|
|
239
239
|
directory, selected documentation URLs, and the
|
|
240
240
|
documentation policy recorded during framework selection or conversion planning. On a
|
|
241
241
|
conversion, also give it the frozen criterion. Give it the protected path list and the
|
|
242
|
-
authorized list.
|
|
242
|
+
authorized list. Give it the developer's answer on the Skills install, so that it runs an
|
|
243
|
+
approved install and skips a declined one. Require it
|
|
243
244
|
to implement every step in plan order and run the full validation list. Wait for it.
|
|
244
245
|
|
|
245
246
|
One subagent implements the whole plan. Do not divide the work across concurrent subagents,
|
|
@@ -259,7 +260,7 @@ names the same way as above, against the Files changed section that subagent jus
|
|
|
259
260
|
returned. Continue to proof only when that audit passes.
|
|
260
261
|
|
|
261
262
|
Then run
|
|
262
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
263
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read proof/round-trip`.
|
|
263
264
|
|
|
264
265
|
## Repair rules
|
|
265
266
|
|
|
@@ -285,9 +286,9 @@ the same command still fails after three repair attempts, a result starts with
|
|
|
285
286
|
declined a file the plan does not name, or the run cannot ask them about it. A defect in a
|
|
286
287
|
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
|
|
287
288
|
proved nothing about the stack. In those cases run
|
|
288
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
289
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read stopped/run-failed`.
|
|
289
290
|
|
|
290
291
|
A plan with no path to follow takes the unsupported ending: the fix requires changing the
|
|
291
292
|
developer's existing agent or frontend, or the documentation does not support the plan. In
|
|
292
293
|
those cases run
|
|
293
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
294
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
27
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
49
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
77
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
4
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
20
|
+
npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
42
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
47
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
61
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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,13 +1,18 @@
|
|
|
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.
|
|
4
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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
|
|
8
8
|
documentation URLs, and validation evidence. Give it the documentation policy recorded during
|
|
9
9
|
framework selection or conversion planning. On a conversion, also give it the frozen
|
|
10
|
-
criterion. Give it the protected path list.
|
|
10
|
+
criterion. Give it the protected path list. Give it the developer's answer on the Skills
|
|
11
|
+
install and the Skills result the implementation returned.
|
|
12
|
+
|
|
13
|
+
Give it the frontend files that publish the page context and register the tools, by path,
|
|
14
|
+
from the Files changed sections the implementation returned. The subagent sends what those
|
|
15
|
+
files send, and without their paths it searches the project and its dependencies for them.
|
|
11
16
|
|
|
12
17
|
Give it the browser or device control you recorded in the preflight as well. The subagent
|
|
13
18
|
drives the surface and cannot see your environment, so without that finding it spends the
|
|
@@ -35,7 +40,7 @@ pass the time.
|
|
|
35
40
|
Record what that proof returned before you route on it:
|
|
36
41
|
|
|
37
42
|
```text
|
|
38
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
43
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard proof --step round-trip --outcome <passed|failed|skipped>
|
|
39
44
|
```
|
|
40
45
|
|
|
41
46
|
Report the gate whatever it returned. A proof that never ran is `skipped`, not failed. A
|
|
@@ -44,7 +49,7 @@ to record it as `skipped`. The command prints one line and sends nothing else. W
|
|
|
44
49
|
record each attempt as it ends.
|
|
45
50
|
|
|
46
51
|
For every protected-path audit in this prompt, run
|
|
47
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
52
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard audit` from the target app directory. If its result
|
|
48
53
|
starts with `Status: blocked`, report the printed reason and use the route-out rules below.
|
|
49
54
|
A blocked audit proved nothing changed and is not a preservation failure. If a
|
|
50
55
|
protected-path audit reports a changed path, decide it the way the implementation prompt
|
|
@@ -53,7 +58,7 @@ returns none, so a finding with no Files changed section to test against routes
|
|
|
53
58
|
path one of those sections names is this run's own change and routes out too. Accept a
|
|
54
59
|
path only when a section this run collected covers the step that wrote it and does not
|
|
55
60
|
name it:
|
|
56
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
61
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --accept-external --path <path>`. Then run
|
|
57
62
|
the audit again and name the path in the closing summary. Never repair, reset, or revert a
|
|
58
63
|
protected path.
|
|
59
64
|
|
|
@@ -61,12 +66,12 @@ That holds for a repair cycle too. When the fix for a failing check lands on a p
|
|
|
61
66
|
path, the path is still the developer's, however right the diagnosis is and however small
|
|
62
67
|
the fix. Reading the file never settles who wrote it. Ask the developer to allow the
|
|
63
68
|
change, and record their answer with
|
|
64
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
69
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard protect --authorize --unplanned --path <path> --reason "<what the developer said>"`,
|
|
65
70
|
or route out. Never repair it, and never send it to a repair worker.
|
|
66
71
|
|
|
67
72
|
If the proof result starts with `Status: passed`, run the protected-path audit. Continue to
|
|
68
73
|
`proof/complete` only if that audit passes. After the audit passes, run
|
|
69
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
74
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read proof/complete`. A performed surface outcome with
|
|
70
75
|
the full round trip is core success even if a continued-development tool fails. A skipped
|
|
71
76
|
surface outcome still enters `proof/complete`. The CLI records `skipped-cloned-starter` and
|
|
72
77
|
`skipped-no-browser-tool` after a passed round trip as complete, and `skipped-no-device` as
|
|
@@ -140,8 +145,8 @@ way `implementation/build-and-validate` does: pause and ask the developer, add t
|
|
|
140
145
|
the handoff if they allow it, and use the route-out rules below if they decline. For a
|
|
141
146
|
protected file, record their answer with `--authorize --unplanned` and run the audit again
|
|
142
147
|
first. Then spawn a fresh repair worker with this repair handoff, not the whole-plan
|
|
143
|
-
implementation handoff: the plan, the proof evidence, the protected path list,
|
|
144
|
-
authorized list from that audit.
|
|
148
|
+
implementation handoff: the plan, the proof evidence, the protected path list, the
|
|
149
|
+
authorized list from that audit, and the developer's answer on the Skills install.
|
|
145
150
|
|
|
146
151
|
Run the protected-path audit again after validation passes. Continue only if its result
|
|
147
152
|
starts with `Status: passed`.
|
|
@@ -161,7 +166,7 @@ proof cycles, use the route-out rules below.
|
|
|
161
166
|
|
|
162
167
|
Route out only when the failure is not yours to fix, when the same proof still fails after
|
|
163
168
|
three attempts, or when no evidence of the round trip can be produced. In those cases run
|
|
164
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
169
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read stopped/run-failed`. The stack is supported:
|
|
165
170
|
this run did not finish, which is a different ending and a different report. All three are
|
|
166
171
|
about the round trip itself. A round trip that proved is not one of them, whatever failed
|
|
167
172
|
after it.
|
|
@@ -172,7 +177,7 @@ friction command follows the telemetry setting the developer already chose, so i
|
|
|
172
177
|
separate question.
|
|
173
178
|
|
|
174
179
|
```text
|
|
175
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
180
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard friction --phase stop --category <slug> --message "<sentences>"
|
|
176
181
|
```
|
|
177
182
|
|
|
178
183
|
`--message` takes one or two sentences: the step you stopped at and what stopped it.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Gather the evidence this run routes on
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The developer can still be signing in. Keep reading the login process as
|
|
4
|
+
`authenticate/start` says while this phase runs. This phase inspects the project and proves
|
|
5
|
+
what this environment can drive. Do not change application code here, and do not ask the
|
|
6
|
+
developer a setup question yet: every read-only investigation finishes first.
|
|
6
7
|
|
|
7
8
|
## How to wait for a subagent
|
|
8
9
|
|
|
@@ -44,7 +45,7 @@ Before you end your turn to wait for the developer where the prompt states no de
|
|
|
44
45
|
report the pause:
|
|
45
46
|
|
|
46
47
|
```text
|
|
47
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
48
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard checkpoint --phase awaiting-developer
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
When the answer or the result arrives, continue from the step that paused. Do not read an
|
|
@@ -64,7 +65,7 @@ Both research subagents failing means this harness has no working subagent at al
|
|
|
64
65
|
is worth recording once:
|
|
65
66
|
|
|
66
67
|
```text
|
|
67
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
68
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard checkpoint --phase delegation-unavailable
|
|
68
69
|
```
|
|
69
70
|
|
|
70
71
|
Then say once, in your own words, that this environment has no working subagents, so you
|
|
@@ -77,7 +78,7 @@ Before you ask the developer any setup question, finish every read-only investig
|
|
|
77
78
|
preflight check in this section.
|
|
78
79
|
|
|
79
80
|
Prepare two research assignments. Give each research subagent one assignment. Tell it to run
|
|
80
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
81
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read subagent/inspect-repository` first and follow the
|
|
81
82
|
prompt it returns. If that read fails because the subagent cannot use the shell, stop that
|
|
82
83
|
subagent. Run the same command yourself, then spawn a fresh subagent with the returned prompt
|
|
83
84
|
and the same handoff. Require only its assigned packet.
|
|
@@ -91,8 +92,8 @@ Start both research subagents in parallel:
|
|
|
91
92
|
The research is under way. Continue to the surface-control preflight while it runs:
|
|
92
93
|
|
|
93
94
|
```text
|
|
94
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
95
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard read research/preflight
|
|
95
96
|
```
|
|
96
97
|
|
|
97
98
|
If inspection stops onboarding, run
|
|
98
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
99
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read stopped/run-failed`.
|
|
@@ -45,8 +45,11 @@ environment row. If either packet gives no match or more than one match, send ea
|
|
|
45
45
|
worker a focused directory check. Continue only when both workers return the same one target
|
|
46
46
|
app directory. Both results must start with `Status: passed`. Otherwise, use the stop route.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Read the next step only after `login --json` has emitted `type: completed`. If sign-in still
|
|
49
|
+
waits on the developer, end your turn and wait for it: that is a pause.
|
|
50
|
+
|
|
51
|
+
When both research results are merged and sign-in is done, run
|
|
52
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read research/route`.
|
|
50
53
|
|
|
51
54
|
If inspection stops onboarding, run
|
|
52
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
55
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 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.
|
|
30
|
+
npx --prefer-offline --yes copilotkit@4.23.1 onboard read research/merge
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
If inspection stops onboarding, run
|
|
34
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
34
|
+
`npx --prefer-offline --yes copilotkit@4.23.1 onboard read stopped/run-failed`.
|