copilotkit 4.28.0 → 4.29.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.
- package/README.md +6 -3
- package/cli-build-info.json +5 -5
- package/index.js +555 -196
- package/onboarding/index.json +2 -2
- package/onboarding/prompts/authenticate/start.md +32 -20
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +15 -15
- package/onboarding/prompts/credentials/plan.md +24 -24
- package/onboarding/prompts/credentials/settle-credentials.md +7 -7
- package/onboarding/prompts/credentials/write-plan.md +34 -26
- package/onboarding/prompts/deployment/choose-local.md +9 -9
- package/onboarding/prompts/deployment/local-evaluation.md +12 -12
- package/onboarding/prompts/fallback/best-effort.md +6 -6
- package/onboarding/prompts/feature/a2ui/implement.md +4 -4
- package/onboarding/prompts/feature/a2ui/plan.md +3 -3
- package/onboarding/prompts/feature/a2ui/proof.md +5 -5
- package/onboarding/prompts/feature/a2ui/start.md +17 -8
- package/onboarding/prompts/feature/channels/implement.md +7 -7
- package/onboarding/prompts/feature/channels/plan.md +5 -5
- package/onboarding/prompts/feature/channels/proof.md +5 -5
- package/onboarding/prompts/feature/channels/start.md +18 -9
- package/onboarding/prompts/feature/chat-suggestions/implement.md +4 -4
- package/onboarding/prompts/feature/chat-suggestions/plan.md +3 -3
- package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
- package/onboarding/prompts/feature/chat-suggestions/start.md +17 -8
- package/onboarding/prompts/feature/complete.md +2 -2
- package/onboarding/prompts/feature/learning/implement.md +12 -12
- package/onboarding/prompts/feature/learning/plan.md +4 -4
- package/onboarding/prompts/feature/learning/proof.md +13 -13
- package/onboarding/prompts/feature/learning/start.md +17 -8
- package/onboarding/prompts/feature/open-generative-ui/implement.md +4 -4
- package/onboarding/prompts/feature/open-generative-ui/plan.md +3 -3
- package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
- package/onboarding/prompts/feature/open-generative-ui/start.md +17 -8
- package/onboarding/prompts/feature/realtime-sync/implement.md +5 -5
- package/onboarding/prompts/feature/realtime-sync/plan.md +3 -3
- package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
- package/onboarding/prompts/feature/realtime-sync/start.md +16 -7
- package/onboarding/prompts/feature/rich-threads/implement.md +6 -6
- package/onboarding/prompts/feature/rich-threads/plan.md +3 -3
- package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
- package/onboarding/prompts/feature/rich-threads/start.md +16 -7
- package/onboarding/prompts/feature/stop.md +4 -4
- package/onboarding/prompts/feature/voice/implement.md +4 -4
- package/onboarding/prompts/feature/voice/plan.md +4 -4
- package/onboarding/prompts/feature/voice/proof.md +5 -5
- package/onboarding/prompts/feature/voice/start.md +17 -8
- package/onboarding/prompts/framework/ag2.md +3 -3
- package/onboarding/prompts/framework/agno.md +3 -3
- package/onboarding/prompts/framework/built-in.md +3 -3
- package/onboarding/prompts/framework/claude-sdk-python.md +3 -3
- package/onboarding/prompts/framework/claude-sdk-typescript.md +3 -3
- package/onboarding/prompts/framework/crewai-flows.md +5 -5
- package/onboarding/prompts/framework/custom-ag-ui.md +4 -4
- package/onboarding/prompts/framework/deep-agents.md +3 -3
- package/onboarding/prompts/framework/google-adk.md +3 -3
- package/onboarding/prompts/framework/langgraph-fastapi.md +3 -3
- package/onboarding/prompts/framework/langgraph-python.md +3 -3
- package/onboarding/prompts/framework/langgraph-typescript.md +3 -3
- package/onboarding/prompts/framework/llamaindex.md +3 -3
- package/onboarding/prompts/framework/mastra.md +3 -3
- package/onboarding/prompts/framework/ms-agent-dotnet.md +5 -5
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +5 -5
- package/onboarding/prompts/framework/ms-agent-python.md +3 -3
- package/onboarding/prompts/framework/pydantic-ai.md +3 -3
- package/onboarding/prompts/framework/strands-python.md +3 -3
- package/onboarding/prompts/framework/strands-typescript.md +3 -3
- package/onboarding/prompts/frontend/angular.md +4 -4
- package/onboarding/prompts/frontend/nextjs.md +4 -4
- package/onboarding/prompts/frontend/plan.md +10 -10
- package/onboarding/prompts/frontend/react-native.md +3 -3
- package/onboarding/prompts/frontend/react-spa.md +3 -3
- package/onboarding/prompts/frontend/vue.md +3 -3
- package/onboarding/prompts/implementation/build-and-validate.md +26 -10
- package/onboarding/prompts/proof/complete.md +3 -3
- package/onboarding/prompts/proof/oss-baseline.md +21 -5
- package/onboarding/prompts/proof/round-trip.md +33 -11
- package/onboarding/prompts/research/gather.md +58 -41
- package/onboarding/prompts/research/merge.md +3 -3
- package/onboarding/prompts/research/preflight.md +2 -2
- package/onboarding/prompts/research/route.md +5 -5
- package/onboarding/prompts/setup/questions.md +6 -6
- package/onboarding/prompts/starter/clone.md +28 -28
- package/onboarding/prompts/stopped/run-failed.md +3 -3
- package/onboarding/prompts/subagent/create-plan.md +27 -2
- package/onboarding/prompts/subagent/implement-and-validate.md +31 -3
- package/onboarding/prompts/subagent/inspect-repository.md +17 -4
- package/onboarding/prompts/subagent/prove-oss-baseline.md +24 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +29 -6
- package/onboarding/prompts/unsupported/no-validated-path.md +3 -3
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ runs, and do not write an adapter yet.
|
|
|
44
44
|
Before you end your turn to wait for the developer, report the pause:
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
47
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about stack-choice
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
## Documentation
|
|
@@ -94,7 +94,7 @@ it.
|
|
|
94
94
|
Before you end your turn to wait for the developer, report the pause:
|
|
95
95
|
|
|
96
96
|
```text
|
|
97
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
97
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about agent-change
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## Keep the agent working on a clone
|
|
@@ -135,7 +135,7 @@ URLs. For case 3, record the credential variable of the recorded vendor, such as
|
|
|
135
135
|
`OPENAI_API_KEY`.
|
|
136
136
|
|
|
137
137
|
If the pages support the selection, run
|
|
138
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
138
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
139
139
|
|
|
140
140
|
If the documentation does not support the selection, run
|
|
141
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
141
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Deep Agents
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ Record the selected framework, language, vendor, model, required credential vari
|
|
|
51
51
|
names, these URLs, and how the agent reads `context`.
|
|
52
52
|
|
|
53
53
|
If the pages support the selection, run
|
|
54
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
54
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
55
55
|
|
|
56
56
|
If the documentation does not support the selection, run
|
|
57
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
57
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure ADK
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -43,7 +43,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
43
43
|
these URLs.
|
|
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.29.0 onboard read frontend/plan`.
|
|
47
47
|
|
|
48
48
|
If the documentation does not support the selection, run
|
|
49
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
49
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure LangGraph FastAPI
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -43,7 +43,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
43
43
|
these URLs.
|
|
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.29.0 onboard read frontend/plan`.
|
|
47
47
|
|
|
48
48
|
If the documentation does not support the selection, run
|
|
49
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
49
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure LangGraph Python
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
37
37
|
these URLs.
|
|
38
38
|
|
|
39
39
|
If the pages support the selection, run
|
|
40
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
40
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
41
41
|
|
|
42
42
|
If the documentation does not support the selection, run
|
|
43
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
43
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure LangGraph TypeScript
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
42
42
|
start command, and these URLs.
|
|
43
43
|
|
|
44
44
|
If the pages support the selection, run
|
|
45
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
45
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
46
46
|
|
|
47
47
|
If the documentation does not support the selection, run
|
|
48
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
48
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure LlamaIndex
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -51,7 +51,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
51
51
|
URLs, the documented dependencies and adapter, and both documentation limits.
|
|
52
52
|
|
|
53
53
|
If the pages support the selection, run
|
|
54
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
54
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
55
55
|
|
|
56
56
|
If the documentation does not support the selection, run
|
|
57
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
57
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Mastra
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
63
63
|
these URLs.
|
|
64
64
|
|
|
65
65
|
If the pages support the selection, run
|
|
66
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
66
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
67
67
|
|
|
68
68
|
If the documentation does not support the selection, run
|
|
69
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
69
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Microsoft Agent Framework for .NET
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -33,13 +33,13 @@ Run `dotnet --version` before you change the project. If it fails, no .NET SDK i
|
|
|
33
33
|
shell's PATH. Do not change the project, and do not install the SDK yourself. Tell the
|
|
34
34
|
developer to install the .NET SDK from https://dotnet.microsoft.com/download. Say that the
|
|
35
35
|
coding agent's shell cannot see a new install until the developer restarts the coding
|
|
36
|
-
agent. Give them `npx --prefer-offline --yes copilotkit@4.
|
|
36
|
+
agent. Give them `npx --prefer-offline --yes copilotkit@4.29.0 onboard start --run <onboarding_run_id>`
|
|
37
37
|
to resume the run after the restart.
|
|
38
38
|
|
|
39
39
|
Before you end your turn to wait for the developer, report the pause:
|
|
40
40
|
|
|
41
41
|
```text
|
|
42
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
42
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about environment-fix
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Then end your turn and wait for the developer.
|
|
@@ -67,7 +67,7 @@ Record the selected framework, provider, model, required credential variable nam
|
|
|
67
67
|
these URLs.
|
|
68
68
|
|
|
69
69
|
If the pages support the selection, run
|
|
70
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
70
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
71
71
|
|
|
72
72
|
If the documentation does not support the selection, run
|
|
73
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
73
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure MS Agent Harness for .NET
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -28,13 +28,13 @@ you change the project. If it fails, no .NET SDK is on this shell's PATH. Do not
|
|
|
28
28
|
the project, and do not install the SDK yourself. Tell the developer to install the .NET
|
|
29
29
|
SDK from https://dotnet.microsoft.com/download. Say that the coding agent's shell cannot
|
|
30
30
|
see a new install until the developer restarts the coding agent. Give them
|
|
31
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
31
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard start --run <onboarding_run_id>` to resume the run
|
|
32
32
|
after the restart.
|
|
33
33
|
|
|
34
34
|
Before you end your turn to wait for the developer, report the pause:
|
|
35
35
|
|
|
36
36
|
```text
|
|
37
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
37
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about environment-fix
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Then end your turn and wait for the developer.
|
|
@@ -76,7 +76,7 @@ Record the selected framework, provider, model, required credential variable nam
|
|
|
76
76
|
URLs, and the quickstart gap.
|
|
77
77
|
|
|
78
78
|
If the pages support the selection, run
|
|
79
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
79
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
80
80
|
|
|
81
81
|
If the documentation does not support the selection, run
|
|
82
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
82
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Microsoft Agent Framework for Python
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -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.29.0 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.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Pydantic AI
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -59,7 +59,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
59
59
|
URLs, and the two-step context route.
|
|
60
60
|
|
|
61
61
|
If the pages support the selection, run
|
|
62
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
62
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
63
63
|
|
|
64
64
|
If the documentation does not support the selection, run
|
|
65
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
65
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Strands Agents Python
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -48,7 +48,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
48
48
|
URLs, and how the agent reads `context`.
|
|
49
49
|
|
|
50
50
|
If the pages support the selection, run
|
|
51
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
51
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/plan`.
|
|
52
52
|
|
|
53
53
|
If the documentation does not support the selection, run
|
|
54
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
54
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Configure Strands Agents TypeScript
|
|
2
2
|
|
|
3
|
-
First run `npx --prefer-offline --yes copilotkit@4.
|
|
3
|
+
First run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers`. Its `vendor` is the
|
|
4
4
|
vendor the framework step recorded, even after this conversation lost it, with
|
|
5
5
|
`vendor.baseUrl` and `vendor.modelId` for an OpenAI-compatible provider.
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ Record the selected framework, vendor, model, required credential variable names
|
|
|
49
49
|
URLs, and how the agent reads `context`.
|
|
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.29.0 onboard read frontend/plan`.
|
|
53
53
|
|
|
54
54
|
If the documentation does not support the selection, run
|
|
55
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
55
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -6,13 +6,13 @@ This step asks the developer nothing. If the run must wait for the developer any
|
|
|
6
6
|
the pause first:
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
9
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about other
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Use the starter shortcut only if all these facts are true: the target directory holds no
|
|
13
13
|
project, its name is a valid `init` project name, and the selected framework is ADK.
|
|
14
14
|
If all three facts are true, record Angular as the selected frontend. Then run
|
|
15
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
15
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read starter/clone` before you fetch documentation.
|
|
16
16
|
|
|
17
17
|
## Documentation
|
|
18
18
|
|
|
@@ -59,7 +59,7 @@ you create or build an Angular project. If the installed version is lower, selec
|
|
|
59
59
|
supported version first and use it for every later command in this project.
|
|
60
60
|
|
|
61
61
|
If the pages support the selection, record Angular and these URLs. Then run
|
|
62
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
62
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read credentials/finalize-plan`.
|
|
63
63
|
|
|
64
64
|
If the documentation does not support the selection, or the two version lines do not fit
|
|
65
|
-
together, run `npx --prefer-offline --yes copilotkit@4.
|
|
65
|
+
together, run `npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -6,7 +6,7 @@ This step asks the developer nothing. If the run must wait for the developer any
|
|
|
6
6
|
the pause first:
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
9
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about other
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Use the starter shortcut only if the target directory holds no project and its name is
|
|
@@ -22,7 +22,7 @@ These TypeScript options have starters: Claude Agent SDK TypeScript, LangGraph T
|
|
|
22
22
|
Mastra, and Strands Agents TypeScript. The .NET option is Microsoft Agent Framework .NET.
|
|
23
23
|
|
|
24
24
|
If all shortcut conditions are true, record Next.js as the selected frontend. Then run
|
|
25
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
25
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read starter/clone` before you fetch documentation.
|
|
26
26
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
@@ -73,7 +73,7 @@ also sets `outputFileTracingRoot`. Do not set `outputFileTracingRoot` to a
|
|
|
73
73
|
different folder. For an existing frontend, name this change in the report.
|
|
74
74
|
|
|
75
75
|
If the page supports the selection, record Next.js and this URL. Then run
|
|
76
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
76
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read credentials/finalize-plan`.
|
|
77
77
|
|
|
78
78
|
If the documentation does not support the selection, run
|
|
79
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
79
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -15,18 +15,18 @@ Every rule below is for a run that named neither.
|
|
|
15
15
|
|
|
16
16
|
## Use the recorded frontend
|
|
17
17
|
|
|
18
|
-
Run `npx --prefer-offline --yes copilotkit@4.
|
|
18
|
+
Run `npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers` and use its `frontend`. It holds
|
|
19
19
|
the answer that `setup/questions` recorded, even after this conversation lost it. If the
|
|
20
20
|
project has a frontend, preserve it and use the matching route below. Do not change
|
|
21
21
|
application code in this phase. If neither settles it, ask one line as the options view
|
|
22
22
|
of `onboard setup-message` does: the recommendation first, in bold, and the alternatives on one `Other:` line, from
|
|
23
23
|
React SPA, Next.js, Angular, Vue 3, React Native, Slack, and Microsoft Teams. Record the answer with
|
|
24
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
24
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard setup-answers --frontend <name>`.
|
|
25
25
|
|
|
26
26
|
Before you end your turn to wait for the developer, report the pause:
|
|
27
27
|
|
|
28
28
|
```text
|
|
29
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
29
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about stack-choice
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
When the recorded frontend is not Next.js, tell the developer in one sentence where it runs
|
|
@@ -38,15 +38,15 @@ words instead.
|
|
|
38
38
|
|
|
39
39
|
Use exactly one matching internal route:
|
|
40
40
|
|
|
41
|
-
1. React SPA: `npx --prefer-offline --yes copilotkit@4.
|
|
42
|
-
2. Next.js: `npx --prefer-offline --yes copilotkit@4.
|
|
43
|
-
3. Angular: `npx --prefer-offline --yes copilotkit@4.
|
|
44
|
-
4. Vue 3: `npx --prefer-offline --yes copilotkit@4.
|
|
45
|
-
5. React Native: `npx --prefer-offline --yes copilotkit@4.
|
|
46
|
-
6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.
|
|
41
|
+
1. React SPA: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/react-spa`
|
|
42
|
+
2. Next.js: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/nextjs`
|
|
43
|
+
3. Angular: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/angular`
|
|
44
|
+
4. Vue 3: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/vue`
|
|
45
|
+
5. React Native: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read frontend/react-native`
|
|
46
|
+
6. Slack or Microsoft Teams: `npx --prefer-offline --yes copilotkit@4.29.0 onboard read feature/channels/start`
|
|
47
47
|
|
|
48
48
|
If they chose Slack or Microsoft Teams, tell that node which one they chose so it
|
|
49
49
|
does not ask again.
|
|
50
50
|
|
|
51
51
|
If no listed frontend fits, run
|
|
52
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
52
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -6,7 +6,7 @@ This step asks the developer nothing. If the run must wait for the developer any
|
|
|
6
6
|
the pause first:
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
9
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about other
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
React Native has no starter. For a target directory that holds no project, build the new
|
|
@@ -25,7 +25,7 @@ documents `useRenderTool`, which is React Native's own hook for drawing a tool t
|
|
|
25
25
|
already has. That is a different job and needs a tool in the agent.
|
|
26
26
|
|
|
27
27
|
If the pages support the selection, record React Native and these URLs. Then run
|
|
28
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
28
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read credentials/finalize-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.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -6,7 +6,7 @@ This step asks the developer nothing. If the run must wait for the developer any
|
|
|
6
6
|
the pause first:
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
9
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about other
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
React SPA has no starter. For a target directory that holds no project, build the new
|
|
@@ -26,7 +26,7 @@ that import when Vite leaves the package external.
|
|
|
26
26
|
- https://docs.copilotkit.ai/react-spa.md
|
|
27
27
|
|
|
28
28
|
If the page supports the selection, record React SPA and this URL. Then run
|
|
29
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
29
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read credentials/finalize-plan`.
|
|
30
30
|
|
|
31
31
|
If the documentation does not support the selection, run
|
|
32
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
32
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -6,7 +6,7 @@ This step asks the developer nothing. If the run must wait for the developer any
|
|
|
6
6
|
the pause first:
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
9
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about other
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Vue 3 has no starter. For a target directory that holds no project, build the new
|
|
@@ -26,7 +26,7 @@ page above. Vue has its own `useComponent`, which is not the React package. Take
|
|
|
26
26
|
that reference page rather than from a Vue generative-UI guide, which is not published.
|
|
27
27
|
|
|
28
28
|
If the pages support the selection, record Vue 3 and these URLs. Then run
|
|
29
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
29
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read credentials/finalize-plan`.
|
|
30
30
|
|
|
31
31
|
If the documentation does not support the selection, run
|
|
32
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
32
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -13,7 +13,7 @@ acted on. Send one short report before you stop. The friction command follows th
|
|
|
13
13
|
setting the developer already chose, so it needs no separate question.
|
|
14
14
|
|
|
15
15
|
```text
|
|
16
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
16
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard friction --phase stop --category <slug> --message "<sentences>"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
`--message` takes one or two sentences: the step you stopped at and what stopped it.
|
|
@@ -57,7 +57,7 @@ This prompt pauses for the developer in several places. Before you end your turn
|
|
|
57
57
|
for the developer, report the pause:
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
60
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about uncommitted-file
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
The existing agent's behavior is never a departure to record and carry on from. It is four
|
|
@@ -74,7 +74,7 @@ declines, use the route-out rules below.
|
|
|
74
74
|
Before you end your turn to wait for the developer, report the pause:
|
|
75
75
|
|
|
76
76
|
```text
|
|
77
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
77
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about agent-change
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
## The developer's uncommitted files
|
|
@@ -97,12 +97,12 @@ or from an environment variable.
|
|
|
97
97
|
If the CLI prints `## Stop: this run deleted or moved the developer's work` instead of a
|
|
98
98
|
step, show the developer the list it printed, and run what they choose:
|
|
99
99
|
the `onboard restore` command the tripwire stop prints, which names each deleted file, or
|
|
100
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
100
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard tripwire --continue`. Then read the step again. If
|
|
101
101
|
you cannot ask, use the route-out rules below. Before you end your turn to wait for the
|
|
102
102
|
developer, report the pause:
|
|
103
103
|
|
|
104
104
|
```text
|
|
105
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
105
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase awaiting-developer --about restore-files
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
## Implement the plan
|
|
@@ -116,7 +116,7 @@ Run this from the target app directory. The developer saw the id in the plan, so
|
|
|
116
116
|
the first point at which it can be created:
|
|
117
117
|
|
|
118
118
|
```text
|
|
119
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
119
|
+
npx --prefer-offline --yes copilotkit@4.29.0 learning containers create --id <id> --name <name> --json
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
Pass the id the plan names. Take the name from the selected project's own display name, so
|
|
@@ -133,7 +133,7 @@ When you start a subagent in the background, tell the developer in one sentence
|
|
|
133
133
|
does. Then send nothing more until it returns.
|
|
134
134
|
|
|
135
135
|
Spawn one implementation subagent. Tell it to run
|
|
136
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
136
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read subagent/implement-and-validate` first and
|
|
137
137
|
follow the prompt it returns. Tell it to return at once, and say so, if that read is refused
|
|
138
138
|
or fails, and not to wait for an approval. If it returns that way, stop that subagent. Run
|
|
139
139
|
the same command yourself, then spawn a fresh subagent with the returned prompt and the same
|
|
@@ -144,6 +144,22 @@ conversion, also give it the frozen criterion. Give it the paths that had uncomm
|
|
|
144
144
|
changes when the run started. Require it to implement every step in plan order
|
|
145
145
|
and run the full validation list. Wait for it.
|
|
146
146
|
|
|
147
|
+
If only its closing `subagent-returned` checkpoint was refused, the subagent finished.
|
|
148
|
+
Record no `refused` return and spawn nothing: run that checkpoint yourself, with the result
|
|
149
|
+
the subagent returned.
|
|
150
|
+
|
|
151
|
+
If the subagent returns because its harness refused any other command, record that return:
|
|
152
|
+
|
|
153
|
+
```text
|
|
154
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard checkpoint --phase subagent-returned --brief implement-and-validate --result refused
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Then run that command yourself, from the directory the subagent named. Spawn at most one
|
|
158
|
+
fresh subagent for each refused command, with the same handoff and that command's result.
|
|
159
|
+
If the fresh subagent is refused a command too, spawn no other. Follow the
|
|
160
|
+
`subagent/implement-and-validate` brief yourself, as "When a subagent cannot work" in
|
|
161
|
+
`research/gather` says.
|
|
162
|
+
|
|
147
163
|
One subagent implements the whole plan. Do not divide the work across concurrent subagents,
|
|
148
164
|
and do not spawn a second subagent to reconcile a split.
|
|
149
165
|
|
|
@@ -167,7 +183,7 @@ Report it and take the failure ending.
|
|
|
167
183
|
If the implementation result does not start with `Status: passed`, do not continue to proof.
|
|
168
184
|
|
|
169
185
|
Then run
|
|
170
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
186
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read proof/round-trip`.
|
|
171
187
|
|
|
172
188
|
## Repair rules
|
|
173
189
|
|
|
@@ -195,9 +211,9 @@ developer
|
|
|
195
211
|
declined a file the plan does not name, or the run cannot ask them about it. A defect in a
|
|
196
212
|
package this run installed is not a stack CopilotKit does not serve, and a command this run
|
|
197
213
|
cannot get to pass is not one either. In those cases run
|
|
198
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
214
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read stopped/run-failed`.
|
|
199
215
|
|
|
200
216
|
A plan with no path to follow takes the unsupported ending: the fix requires changing the
|
|
201
217
|
developer's existing agent or frontend, or the documentation does not support the plan. In
|
|
202
218
|
those cases run
|
|
203
|
-
`npx --prefer-offline --yes copilotkit@4.
|
|
219
|
+
`npx --prefer-offline --yes copilotkit@4.29.0 onboard read unsupported/no-validated-path`.
|
|
@@ -24,7 +24,7 @@ friction commands follow the telemetry setting the developer already chose, so t
|
|
|
24
24
|
separate question.
|
|
25
25
|
|
|
26
26
|
```text
|
|
27
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
27
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard friction --category <slug> --cost-seconds <seconds> --message "<sentences>"
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Put one or two sentences in `--message`. Pick one category from docs-missing, docs-wrong,
|
|
@@ -46,7 +46,7 @@ Pass the surface-check outcome the proof subagent returned, not the one you want
|
|
|
46
46
|
web frontend, pass `--visual-check` and the URL the browser opened, unchanged:
|
|
47
47
|
|
|
48
48
|
```text
|
|
49
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
49
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard complete --visual-check <outcome> \
|
|
50
50
|
--frontend-url <the url you opened>
|
|
51
51
|
```
|
|
52
52
|
|
|
@@ -74,7 +74,7 @@ this graph opens.
|
|
|
74
74
|
nothing drove the frontend:
|
|
75
75
|
|
|
76
76
|
```text
|
|
77
|
-
npx --prefer-offline --yes copilotkit@4.
|
|
77
|
+
npx --prefer-offline --yes copilotkit@4.29.0 onboard complete --visual-check failed --blocked-by browser-control-unresponsive
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
## Write the handoff
|