copilotkit 4.9.0 → 4.9.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.
Files changed (42) hide show
  1. package/README.md +24 -0
  2. package/cli-build-info.json +7 -7
  3. package/index.js +542 -95
  4. package/onboarding/prompts/authenticate/start.md +37 -17
  5. package/onboarding/prompts/credentials/finalize-plan.md +32 -7
  6. package/onboarding/prompts/credentials/plan.md +26 -20
  7. package/onboarding/prompts/fallback/best-effort.md +10 -3
  8. package/onboarding/prompts/framework/ag2.md +2 -2
  9. package/onboarding/prompts/framework/agno.md +2 -2
  10. package/onboarding/prompts/framework/built-in.md +2 -2
  11. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  12. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  13. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  14. package/onboarding/prompts/framework/deep-agents.md +2 -2
  15. package/onboarding/prompts/framework/google-adk.md +2 -2
  16. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  17. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  18. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  19. package/onboarding/prompts/framework/llamaindex.md +2 -2
  20. package/onboarding/prompts/framework/mastra.md +2 -2
  21. package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
  22. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  23. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  24. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  25. package/onboarding/prompts/framework/strands-python.md +2 -2
  26. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  27. package/onboarding/prompts/frontend/angular.md +2 -2
  28. package/onboarding/prompts/frontend/nextjs.md +2 -2
  29. package/onboarding/prompts/frontend/plan.md +12 -6
  30. package/onboarding/prompts/frontend/react-native.md +2 -2
  31. package/onboarding/prompts/frontend/react-spa.md +2 -2
  32. package/onboarding/prompts/frontend/vue.md +2 -2
  33. package/onboarding/prompts/implementation/build-and-validate.md +2 -2
  34. package/onboarding/prompts/proof/complete.md +40 -14
  35. package/onboarding/prompts/proof/oss-baseline.md +3 -3
  36. package/onboarding/prompts/proof/round-trip.md +29 -17
  37. package/onboarding/prompts/subagent/inspect-repository.md +6 -1
  38. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  39. package/onboarding/prompts/subagent/prove-round-trip.md +27 -15
  40. package/onboarding/prompts/unsupported/no-validated-path.md +6 -5
  41. package/package.json +1 -1
  42. package/release/release-tool.js +1 -1
@@ -14,24 +14,38 @@ question from the documentation this graph gives you. Another checkout on this m
14
14
  not a source. The developer running this has none, so an answer taken from one is an
15
15
  answer they cannot get, and it hides the documentation gap that blocks them.
16
16
 
17
- Tell the developer that onboarding can send feedback outside this machine. Explain that
18
- the reports contain short descriptions of CLI or documentation problems. Ask whether the
19
- developer permits these reports before project work starts. Record the answer. Do not send
20
- feedback unless the developer permits it.
17
+ Before you run a command or spawn a subagent, send this exact message:
21
18
 
22
- Run `npx --yes copilotkit@4.9.0 login --json` before any project work. This command checks the
23
- current session. It starts sign-in only as needed.
19
+ Welcome to CopilotKit. I will check sign-in, inspect your project, recommend a setup, and
20
+ show you a plan before I change files. After you approve the plan, I will build the
21
+ integration, prove the full round trip, and leave the app running with its URLs.
24
22
 
25
- Read its JSON Lines output in order:
23
+ Do not ask for separate feedback consent. The feedback commands enforce the developer's
24
+ CLI telemetry setting when a later step tries to send a report.
26
25
 
27
- 1. If it emits `authentication_url`, show only that URL to the developer.
26
+ Run `npx --yes copilotkit@4.9.1 login --json` before any project work. This command
27
+ checks the current session. It starts sign-in only as needed. Treat this as a long-lived
28
+ streaming process. Do not wait for the command to exit before you read its standard output.
29
+
30
+ Read each JSON Lines record as the running command writes it:
31
+
32
+ 1. If the process emits `authentication_url`, show the `authentication_url` to the
33
+ developer as soon as that line arrives. The process is still running.
28
34
  2. Tell the developer to open the URL and finish sign-in.
29
- 3. Wait for the command to emit `type: completed`.
30
- 4. If it emits `type: failed`, report the error and stop onboarding.
35
+ 3. Keep monitoring the same process after you show the URL. Do not start a second login
36
+ command.
37
+ 4. Continue onboarding only after that same process emits `type: completed`.
38
+ 5. If that process emits `type: failed`, report the error and stop onboarding.
31
39
 
32
40
  Do not use `whoami` for this check. It has no JSON output and some failures exit with code
33
41
  zero. Do not put account tokens or credentials in the conversation.
34
42
 
43
+ Before you ask the developer any setup question, finish every read-only investigation and
44
+ preflight check in this section. Record whether your coding-agent environment has browser
45
+ or device control. Use the control that matches the selected surface later. Do not install
46
+ a browser or device tool during this preflight. Do not ask the developer about this tool
47
+ limit.
48
+
35
49
  Spawn one research subagent. Give it the full text of the research brief at the end of this
36
50
  prompt and tell it to follow that brief and return only its findings. Add these tasks:
37
51
 
@@ -46,9 +60,10 @@ prompt and tell it to follow that brief and return only its findings. Add these
46
60
  Do not print either file or any secret value. Return only paths, presence checks, and missing
47
61
  field names. Wait for the subagent to finish.
48
62
 
49
- If the findings show an empty project and do not prove its purpose, ask what the developer
50
- wants to build before you select a framework. Ask this question immediately. Record the
51
- answer and give it to each later subagent.
63
+ If the findings show an empty project and do not prove its purpose, ask one guided question
64
+ about the user outcome. This asks what the developer wants to build before you select a
65
+ framework. Give two or three short examples and offer a minimal starter. Record the answer
66
+ and give it to each later subagent.
52
67
 
53
68
  If a repository file exists, each finding must cite it. For an empty project, the subagent
54
69
  must cite its directory check and report absent parts.
@@ -60,13 +75,13 @@ that the repository answers.
60
75
  Do not infer a working OSS path from packages, imports, project files, or keys. If an
61
76
  agent, frontend, and CopilotKit integration are present, prove the live starting state
62
77
  before any project file changes. Run
63
- `npx --yes copilotkit@4.9.0 onboard read proof/oss-baseline`.
78
+ `npx --yes copilotkit@4.9.1 onboard read proof/oss-baseline`.
64
79
 
65
80
  For every other inspected state, run
66
- `npx --yes copilotkit@4.9.0 onboard read credentials/plan`.
81
+ `npx --yes copilotkit@4.9.1 onboard read credentials/plan`.
67
82
 
68
83
  If authentication or inspection stops onboarding, run
69
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
84
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
70
85
 
71
86
  ## Research subagent brief
72
87
 
@@ -84,6 +99,10 @@ Inspect the repository without changing it. Find evidence for:
84
99
  - current CopilotKit packages and configuration
85
100
  - authentication boundaries
86
101
  - names of required credential variables, without reading their values
102
+ - package manager and lockfile
103
+ - required toolchains and their installed versions
104
+ - declared ports and whether each port is available
105
+ - CopilotKit package versions and package compatibility risks
87
106
 
88
107
  A project states what it is for in its `README.md`, in its package description, or in
89
108
  the prompt of an agent it already has. Quote that statement rather than rewriting it. An
@@ -92,7 +111,8 @@ evidence. State the purpose as unproved when the project never says.
92
111
 
93
112
  Gather what you need in as few commands as possible. Combine independent reads into one
94
113
  command rather than running them one at a time. Split a command only when its result decides
95
- what you run next.
114
+ what you run next. Keep this preflight read-only. Do not install packages, stop processes,
115
+ or change a port. Check only the toolchains and ports that repository files require.
96
116
 
97
117
  Return the file paths and a short finding for each item. State each absent or unproved item.
98
118
  Do not read, print, or return secret values. Do not read a file outside the project
@@ -5,6 +5,31 @@ repository findings. Ask the developer only for choices that the repository does
5
5
  show. Do not change application code in this phase. Do not read, show, store, or request
6
6
  a secret value.
7
7
 
8
+ Use a gentle wizard. Ask one short question at a time. Do not combine separate choices in
9
+ one question. Put the recommendation first, give its evidence in one sentence, and keep
10
+ the alternatives short. When project selection is unknown, ask only which Intelligence
11
+ project to use. Keep final plan approval as its own later question.
12
+
13
+ ## Record the audit cell
14
+
15
+ Use the repository findings and selected choices to record the path before project work
16
+ starts. Choose one starting state: empty, agent-only, frontend-only, both, both-oss.
17
+
18
+ - `empty`: no agent and no frontend.
19
+ - `agent-only`: an agent and no frontend.
20
+ - `frontend-only`: a frontend and no agent.
21
+ - `both`: an agent and frontend that do not have a proved CopilotKit round trip.
22
+ - `both-oss`: an agent and frontend with the proved OSS CopilotKit baseline.
23
+
24
+ Run this command with the exact selected slugs:
25
+
26
+ ```text
27
+ npx --yes copilotkit@4.9.1 onboard classify --starting-state <starting-state> --agent-framework <agent-framework> --frontend <frontend>
28
+ ```
29
+
30
+ Do not continue if a value is refused. Fix the value from the choices that the earlier
31
+ prompts gave, then run the command again.
32
+
8
33
  ## Select the Intelligence project
9
34
 
10
35
  Use the target app or runtime directory from the repository findings. If a nested app owns
@@ -23,7 +48,7 @@ target directory. Do not send the developer to another terminal.
23
48
  Read the choices first:
24
49
 
25
50
  ```text
26
- npx --yes copilotkit@4.9.0 project list --json
51
+ npx --yes copilotkit@4.9.1 project list --json
27
52
  ```
28
53
 
29
54
  With `--json` the payload is the only thing on standard output, so it is safe to parse.
@@ -34,17 +59,17 @@ developer asks.
34
59
  If the developer searches, run:
35
60
 
36
61
  ```text
37
- npx --yes copilotkit@4.9.0 project list --search <query> --json
62
+ npx --yes copilotkit@4.9.1 project list --search <query> --json
38
63
  ```
39
64
 
40
65
  If the developer asks for all projects, show the result of the first list command. Ask
41
- which project to use, or ask for a new project name. Ask this with the frontend and model
42
- choices when those choices remain unknown.
66
+ which project to use, or ask for a new project name. Do not combine this question with a
67
+ frontend, framework, model, credential, or plan-approval question.
43
68
 
44
69
  Then record their answer, from the target directory:
45
70
 
46
71
  ```text
47
- npx --yes copilotkit@4.9.0 project select --project <slug-or-id> --json
72
+ npx --yes copilotkit@4.9.1 project select --project <slug-or-id> --json
48
73
  ```
49
74
 
50
75
  Use `--create <name> --json` instead when they want a new project. The two flags cannot be
@@ -116,10 +141,10 @@ values.
116
141
  Show only the selected framework, frontend, model, planned file changes, validation commands, and proof steps.
117
142
 
118
143
  If the developer approves the plan, run
119
- `npx --yes copilotkit@4.9.0 onboard read implementation/build-and-validate`.
144
+ `npx --yes copilotkit@4.9.1 onboard read implementation/build-and-validate`.
120
145
 
121
146
  If no exact supported path or documentation URL exists, run
122
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
147
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
123
148
 
124
149
  ## Planning subagent brief
125
150
 
@@ -4,6 +4,12 @@ Use the repository findings to select the agent framework. Ask the developer onl
4
4
  choices that the repository does not show. Do not change application code in this phase.
5
5
  Do not read, show, store, or request a secret value.
6
6
 
7
+ Use a gentle wizard. Ask one short question at a time. Do not combine separate choices in
8
+ one question. Put the recommendation first, give its evidence in one sentence, and keep
9
+ the alternatives short. When the framework is unknown, ask only whether to use the
10
+ recommended framework. If the developer declines it, ask one follow-up question that lists
11
+ the valid framework choices. Do not ask about the frontend, model, or project in this step.
12
+
7
13
  These are the agent frameworks and their default vendors:
8
14
 
9
15
  | Framework | Default vendor |
@@ -45,26 +51,26 @@ another framework. Do not show the internal route.
45
51
 
46
52
  Use exactly one matching internal route:
47
53
 
48
- 1. AG2: `npx --yes copilotkit@4.9.0 onboard read framework/ag2`
49
- 2. Agno: `npx --yes copilotkit@4.9.0 onboard read framework/agno`
50
- 3. Built-in CopilotKit agent: `npx --yes copilotkit@4.9.0 onboard read framework/built-in`
51
- 4. Claude Agent SDK Python: `npx --yes copilotkit@4.9.0 onboard read framework/claude-sdk-python`
52
- 5. Claude Agent SDK TypeScript: `npx --yes copilotkit@4.9.0 onboard read framework/claude-sdk-typescript`
53
- 6. CrewAI Flows: `npx --yes copilotkit@4.9.0 onboard read framework/crewai-flows`
54
- 7. Deep Agents: `npx --yes copilotkit@4.9.0 onboard read framework/deep-agents`
55
- 8. LangGraph Python: `npx --yes copilotkit@4.9.0 onboard read framework/langgraph-python`
56
- 9. LangGraph FastAPI: `npx --yes copilotkit@4.9.0 onboard read framework/langgraph-fastapi`
57
- 10. LangGraph TypeScript: `npx --yes copilotkit@4.9.0 onboard read framework/langgraph-typescript`
58
- 11. LlamaIndex: `npx --yes copilotkit@4.9.0 onboard read framework/llamaindex`
59
- 12. ADK: `npx --yes copilotkit@4.9.0 onboard read framework/google-adk`
60
- 13. Microsoft Agent Framework Python: `npx --yes copilotkit@4.9.0 onboard read framework/ms-agent-python`
61
- 14. Microsoft Agent Framework .NET: `npx --yes copilotkit@4.9.0 onboard read framework/ms-agent-dotnet`
62
- 15. Mastra: `npx --yes copilotkit@4.9.0 onboard read framework/mastra`
63
- 16. MS Agent Harness .NET: `npx --yes copilotkit@4.9.0 onboard read framework/ms-agent-harness-dotnet`
64
- 17. Pydantic AI: `npx --yes copilotkit@4.9.0 onboard read framework/pydantic-ai`
65
- 18. Strands Agents Python: `npx --yes copilotkit@4.9.0 onboard read framework/strands-python`
66
- 19. Strands Agents TypeScript: `npx --yes copilotkit@4.9.0 onboard read framework/strands-typescript`
54
+ 1. AG2: `npx --yes copilotkit@4.9.1 onboard read framework/ag2`
55
+ 2. Agno: `npx --yes copilotkit@4.9.1 onboard read framework/agno`
56
+ 3. Built-in CopilotKit agent: `npx --yes copilotkit@4.9.1 onboard read framework/built-in`
57
+ 4. Claude Agent SDK Python: `npx --yes copilotkit@4.9.1 onboard read framework/claude-sdk-python`
58
+ 5. Claude Agent SDK TypeScript: `npx --yes copilotkit@4.9.1 onboard read framework/claude-sdk-typescript`
59
+ 6. CrewAI Flows: `npx --yes copilotkit@4.9.1 onboard read framework/crewai-flows`
60
+ 7. Deep Agents: `npx --yes copilotkit@4.9.1 onboard read framework/deep-agents`
61
+ 8. LangGraph Python: `npx --yes copilotkit@4.9.1 onboard read framework/langgraph-python`
62
+ 9. LangGraph FastAPI: `npx --yes copilotkit@4.9.1 onboard read framework/langgraph-fastapi`
63
+ 10. LangGraph TypeScript: `npx --yes copilotkit@4.9.1 onboard read framework/langgraph-typescript`
64
+ 11. LlamaIndex: `npx --yes copilotkit@4.9.1 onboard read framework/llamaindex`
65
+ 12. ADK: `npx --yes copilotkit@4.9.1 onboard read framework/google-adk`
66
+ 13. Microsoft Agent Framework Python: `npx --yes copilotkit@4.9.1 onboard read framework/ms-agent-python`
67
+ 14. Microsoft Agent Framework .NET: `npx --yes copilotkit@4.9.1 onboard read framework/ms-agent-dotnet`
68
+ 15. Mastra: `npx --yes copilotkit@4.9.1 onboard read framework/mastra`
69
+ 16. MS Agent Harness .NET: `npx --yes copilotkit@4.9.1 onboard read framework/ms-agent-harness-dotnet`
70
+ 17. Pydantic AI: `npx --yes copilotkit@4.9.1 onboard read framework/pydantic-ai`
71
+ 18. Strands Agents Python: `npx --yes copilotkit@4.9.1 onboard read framework/strands-python`
72
+ 19. Strands Agents TypeScript: `npx --yes copilotkit@4.9.1 onboard read framework/strands-typescript`
67
73
 
68
74
  If the project has an agent in another framework, or no listed framework fits, keep the
69
75
  developer's current agent and run
70
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
76
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -21,9 +21,16 @@ the application passes proof. Report each tool result separately.
21
21
  Report the documentation gap and each assumption with the proof evidence. Do not claim
22
22
  that the selected documentation proved an inferred step.
23
23
 
24
- When the proof is complete, run `npx --yes copilotkit@4.9.0 onboard complete`, carrying the
25
- visual-check result:
24
+ When the proof is complete, run `npx --yes copilotkit@4.9.1 onboard complete`, carrying the
25
+ surface-check result the proof subagent returned. Pass exactly one flag, matching this
26
+ journey's surface:
26
27
 
27
28
  ```text
28
- npx --yes copilotkit@4.9.0 onboard complete --visual-check <outcome>
29
+ npx --yes copilotkit@4.9.1 onboard complete --visual-check <outcome>
30
+ npx --yes copilotkit@4.9.1 onboard complete --device-check <outcome>
29
31
  ```
32
+
33
+ `--visual-check` is for a web frontend and takes `performed`, `skipped-no-browser-tool`, or
34
+ `failed`. `--device-check` is for React Native and takes `performed`, `skipped-no-device`,
35
+ or `failed`. Anything but `performed` ends this run as blocked, and the command's output
36
+ names the evidence that is missing. Report it that way.
@@ -42,7 +42,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
42
42
  unavailable only after a second method also fails.
43
43
 
44
44
  If the pages support the selection, run
45
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
45
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
46
46
 
47
47
  If a second method also fails, or a page that loads does not support the selection, run
48
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
48
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -42,7 +42,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
42
42
  unavailable only after a second method also fails.
43
43
 
44
44
  If the pages support the selection, run
45
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
45
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
46
46
 
47
47
  If a second method also fails, or a page that loads does not support the selection, run
48
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
48
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -37,7 +37,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
37
37
  unavailable only after a second method also fails.
38
38
 
39
39
  If the pages support the selection, run
40
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
40
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
41
41
 
42
42
  If a second method also fails, or a page that loads does not support the selection, run
43
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
43
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -43,7 +43,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
43
43
  unavailable only after a second method also fails.
44
44
 
45
45
  If the pages support the selection, run
46
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
46
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
47
47
 
48
48
  If a second method also fails, or a page that loads does not support the selection, run
49
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
49
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -47,7 +47,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
47
47
  unavailable only after a second method also fails.
48
48
 
49
49
  If the pages support the selection, run
50
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
50
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
51
51
 
52
52
  If a second method also fails, or a page that loads does not support the selection, run
53
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
53
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -50,7 +50,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
50
50
  unavailable only after a second method also fails.
51
51
 
52
52
  If the pages support the selection, run
53
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
53
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
54
54
 
55
55
  If a second method also fails, or a page that loads does not support the selection, run
56
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
56
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -39,7 +39,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
39
39
  unavailable only after a second method also fails.
40
40
 
41
41
  If the pages support the selection, run
42
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
42
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
43
43
 
44
44
  If a second method also fails, or a page that loads does not support the selection, run
45
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
45
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -40,7 +40,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
40
40
  unavailable only after a second method also fails.
41
41
 
42
42
  If the pages support the selection, run
43
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
43
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
44
44
 
45
45
  If a second method also fails, or a page that loads does not support the selection, run
46
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
46
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -36,7 +36,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
36
36
  unavailable only after a second method also fails.
37
37
 
38
38
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
39
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
40
40
 
41
41
  If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
42
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -27,7 +27,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
27
27
  unavailable only after a second method also fails.
28
28
 
29
29
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
30
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
31
31
 
32
32
  If a second method also fails, or a page that loads does not support the selection, run
33
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -27,7 +27,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
27
27
  unavailable only after a second method also fails.
28
28
 
29
29
  If the pages support the selection, run
30
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
30
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
31
31
 
32
32
  If a second method also fails, or a page that loads does not support the selection, run
33
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -45,7 +45,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
45
45
  unavailable only after a second method also fails.
46
46
 
47
47
  If the pages support the selection, run
48
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
48
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
49
49
 
50
50
  If a second method also fails, or a page that loads does not support the selection, run
51
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
51
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -57,7 +57,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
57
57
  unavailable only after a second method also fails.
58
58
 
59
59
  If the pages support the selection, run
60
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
60
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
61
61
 
62
62
  If a second method also fails, or a page that loads does not support the selection, run
63
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
63
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -65,7 +65,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
65
65
  unavailable only after a second method also fails.
66
66
 
67
67
  If the pages support the selection, run
68
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
68
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
69
69
 
70
70
  If a second method also fails, or a page that loads does not support the selection, run
71
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
71
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -56,7 +56,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
56
56
  unavailable only after a second method also fails.
57
57
 
58
58
  If the pages support the selection, run
59
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
59
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
60
60
 
61
61
  If a second method also fails, or a page that loads does not support the selection, run
62
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
62
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -40,7 +40,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
40
40
  unavailable only after a second method also fails.
41
41
 
42
42
  If the pages support the selection, run
43
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
43
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
44
44
 
45
45
  If a second method also fails, or a page that loads does not support the selection, run
46
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
46
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -42,7 +42,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
42
42
  unavailable only after a second method also fails.
43
43
 
44
44
  If the pages support the selection, run
45
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
45
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
46
46
 
47
47
  If a second method also fails, or a page that loads does not support the selection, run
48
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
48
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -36,7 +36,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
36
36
  unavailable only after a second method also fails.
37
37
 
38
38
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
39
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
40
40
 
41
41
  If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
42
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -36,7 +36,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
36
36
  unavailable only after a second method also fails.
37
37
 
38
38
  If the pages support the selection, run
39
- `npx --yes copilotkit@4.9.0 onboard read frontend/plan`.
39
+ `npx --yes copilotkit@4.9.1 onboard read frontend/plan`.
40
40
 
41
41
  If a second method also fails, or a page that loads does not support the selection, run
42
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
42
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -26,8 +26,8 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
26
26
  unavailable only after a second method also fails.
27
27
 
28
28
  If the page supports the selection, run
29
- `npx --yes copilotkit@4.9.0 onboard read credentials/finalize-plan`.
29
+ `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
30
30
 
31
31
  If a second method also fails, or the page that loads does not support the selection,
32
32
  run
33
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
33
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -22,7 +22,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
22
22
  unavailable only after a second method also fails.
23
23
 
24
24
  If the pages support the selection, run
25
- `npx --yes copilotkit@4.9.0 onboard read credentials/finalize-plan`.
25
+ `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
26
26
 
27
27
  If a second method also fails, or a page that loads does not support the selection, run
28
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
28
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -3,6 +3,12 @@
3
3
  Use the repository findings to select the frontend. Ask the developer only for choices
4
4
  that the repository does not show. Do not change application code in this phase.
5
5
 
6
+ Use a gentle wizard. Ask one short question at a time. Do not combine separate choices in
7
+ one question. Put the recommendation first, give its evidence in one sentence, and keep
8
+ the alternatives short. When the frontend is unknown, ask only whether to use the
9
+ recommended frontend. If the developer declines it, ask one follow-up question that lists
10
+ the valid frontend choices. Do not ask about the model or project in this step.
11
+
6
12
  If the project has a frontend, preserve it and use the matching route below. If the project
7
13
  needs a frontend, show the valid choices and one recommendation based on repository
8
14
  evidence, then ask the developer to choose.
@@ -23,11 +29,11 @@ unavailable only after a second method also fails.
23
29
 
24
30
  Use exactly one matching internal route:
25
31
 
26
- 1. React SPA: `npx --yes copilotkit@4.9.0 onboard read frontend/react-spa`
27
- 2. Next.js: `npx --yes copilotkit@4.9.0 onboard read frontend/nextjs`
28
- 3. Angular: `npx --yes copilotkit@4.9.0 onboard read frontend/angular`
29
- 4. Vue 3: `npx --yes copilotkit@4.9.0 onboard read frontend/vue`
30
- 5. React Native: `npx --yes copilotkit@4.9.0 onboard read frontend/react-native`
32
+ 1. React SPA: `npx --yes copilotkit@4.9.1 onboard read frontend/react-spa`
33
+ 2. Next.js: `npx --yes copilotkit@4.9.1 onboard read frontend/nextjs`
34
+ 3. Angular: `npx --yes copilotkit@4.9.1 onboard read frontend/angular`
35
+ 4. Vue 3: `npx --yes copilotkit@4.9.1 onboard read frontend/vue`
36
+ 5. React Native: `npx --yes copilotkit@4.9.1 onboard read frontend/react-native`
31
37
 
32
38
  If no listed frontend fits, run
33
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
39
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -17,8 +17,8 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
17
17
  unavailable only after a second method also fails.
18
18
 
19
19
  If the page supports the selection, run
20
- `npx --yes copilotkit@4.9.0 onboard read credentials/finalize-plan`.
20
+ `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
21
21
 
22
22
  If a second method also fails, or the page that loads does not support the selection,
23
23
  run
24
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
24
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -21,7 +21,7 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
21
21
  unavailable only after a second method also fails.
22
22
 
23
23
  If the page supports the selection, run
24
- `npx --yes copilotkit@4.9.0 onboard read credentials/finalize-plan`.
24
+ `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
25
25
 
26
26
  If a second method also fails, or a page that loads does not support the selection, run
27
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
27
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -17,8 +17,8 @@ not a fact about the page. Retrieve the same URL a second way before you judge i
17
17
  unavailable only after a second method also fails.
18
18
 
19
19
  If the page supports the selection, run
20
- `npx --yes copilotkit@4.9.0 onboard read credentials/finalize-plan`.
20
+ `npx --yes copilotkit@4.9.1 onboard read credentials/finalize-plan`.
21
21
 
22
22
  If a second method also fails, or the page that loads does not support the selection,
23
23
  run
24
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
24
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
@@ -8,7 +8,7 @@ documentation URLs.
8
8
  Wait for the subagent to finish.
9
9
 
10
10
  If all implementation and validation steps pass, run
11
- `npx --yes copilotkit@4.9.0 onboard read proof/round-trip`.
11
+ `npx --yes copilotkit@4.9.1 onboard read proof/round-trip`.
12
12
 
13
13
  If a validation command fails, decide which kind of failure it is before you route.
14
14
 
@@ -20,7 +20,7 @@ Route out only when the failure is not yours to fix: the failure is in code this
20
20
  not write, or the fix requires changing the developer's existing agent or frontend,
21
21
  or the same command still fails after three repair attempts, or the documentation does not
22
22
  support the plan. In those cases run
23
- `npx --yes copilotkit@4.9.0 onboard read unsupported/no-validated-path`.
23
+ `npx --yes copilotkit@4.9.1 onboard read unsupported/no-validated-path`.
24
24
 
25
25
  ## Implementation subagent brief
26
26