copilotkit 4.10.0 → 4.10.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 +10 -3
- package/cli-build-info.json +8 -8
- package/index.js +16 -14
- package/onboarding/index.json +26 -1
- package/onboarding/prompts/authenticate/start.md +6 -6
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +7 -7
- package/onboarding/prompts/credentials/plan.md +20 -20
- package/onboarding/prompts/credentials/settle-credentials.md +7 -7
- package/onboarding/prompts/credentials/write-plan.md +5 -5
- package/onboarding/prompts/fallback/best-effort.md +6 -6
- package/onboarding/prompts/feature/a2ui/implement.md +6 -6
- package/onboarding/prompts/feature/a2ui/proof.md +6 -6
- package/onboarding/prompts/feature/a2ui/start.md +7 -7
- package/onboarding/prompts/feature/channels/implement.md +70 -0
- package/onboarding/prompts/feature/channels/proof.md +60 -0
- package/onboarding/prompts/feature/channels/start.md +87 -0
- package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
- package/onboarding/prompts/feature/chat-suggestions/proof.md +6 -6
- package/onboarding/prompts/feature/chat-suggestions/start.md +7 -7
- package/onboarding/prompts/feature/complete.md +1 -1
- package/onboarding/prompts/feature/learning/implement.md +12 -12
- package/onboarding/prompts/feature/learning/proof.md +7 -7
- package/onboarding/prompts/feature/learning/start.md +6 -6
- package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
- package/onboarding/prompts/feature/open-generative-ui/proof.md +6 -6
- package/onboarding/prompts/feature/open-generative-ui/start.md +7 -7
- package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
- package/onboarding/prompts/feature/realtime-sync/proof.md +6 -6
- package/onboarding/prompts/feature/realtime-sync/start.md +6 -6
- package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
- package/onboarding/prompts/feature/rich-threads/proof.md +6 -6
- package/onboarding/prompts/feature/rich-threads/start.md +6 -6
- package/onboarding/prompts/feature/stop.md +10 -4
- package/onboarding/prompts/feature/voice/implement.md +6 -6
- package/onboarding/prompts/feature/voice/proof.md +6 -6
- package/onboarding/prompts/feature/voice/start.md +7 -7
- package/onboarding/prompts/framework/ag2.md +2 -2
- package/onboarding/prompts/framework/agno.md +2 -2
- package/onboarding/prompts/framework/built-in.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
- package/onboarding/prompts/framework/crewai-flows.md +2 -2
- package/onboarding/prompts/framework/deep-agents.md +2 -2
- package/onboarding/prompts/framework/google-adk.md +2 -2
- package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
- package/onboarding/prompts/framework/langgraph-python.md +2 -2
- package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
- package/onboarding/prompts/framework/llamaindex.md +2 -2
- package/onboarding/prompts/framework/mastra.md +2 -2
- package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
- package/onboarding/prompts/framework/ms-agent-python.md +2 -2
- package/onboarding/prompts/framework/pydantic-ai.md +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 +6 -6
- package/onboarding/prompts/frontend/react-native.md +2 -2
- package/onboarding/prompts/frontend/react-spa.md +2 -2
- package/onboarding/prompts/frontend/vue.md +2 -2
- package/onboarding/prompts/implementation/build-and-validate.md +15 -15
- package/onboarding/prompts/proof/complete.md +8 -8
- package/onboarding/prompts/proof/oss-baseline.md +5 -5
- package/onboarding/prompts/proof/round-trip.md +10 -10
- package/onboarding/prompts/research/gather.md +4 -4
- package/onboarding/prompts/research/route.md +4 -4
- package/onboarding/prompts/starter/clone.md +5 -5
- package/onboarding/prompts/stopped/run-failed.md +1 -1
- package/onboarding/prompts/subagent/create-plan.md +1 -1
- package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +7 -7
- package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
- package/package.json +1 -1
- package/release/release-tool.js +1 -1
|
@@ -153,7 +153,7 @@ here is work the developer did not ask for.
|
|
|
153
153
|
Plan the threads drawer itself: add it from the selected drawer page, where this frontend
|
|
154
154
|
does not already render one. Where this journey's frontend framework ships no threads
|
|
155
155
|
drawer -- React Native --, plan that the thread is proved by
|
|
156
|
-
`npx --yes copilotkit@4.10.
|
|
156
|
+
`npx --yes copilotkit@4.10.1 verify --round-trip`, which needs no browser. Do not plan a
|
|
157
157
|
step that opens the managed Intelligence dashboard.
|
|
158
158
|
|
|
159
159
|
## Order the plan into steps
|
|
@@ -19,7 +19,7 @@ Prove the live runtime in this order:
|
|
|
19
19
|
4. Confirm from project files that the runtime constructor passes a `runner` option rather
|
|
20
20
|
than an `intelligence` option. A package, import, project file, or key is not use proof.
|
|
21
21
|
5. Run
|
|
22
|
-
`npx --yes copilotkit@4.10.
|
|
22
|
+
`npx --yes copilotkit@4.10.1 verify --expect-runtime oss --round-trip --agent <expected-agent-id> --json`,
|
|
23
23
|
with the runtime URL or auth header options that this project needs. Require exit zero
|
|
24
24
|
and the JSON `ok` field to be `true`.
|
|
25
25
|
6. Drive one real request through the existing frontend, CopilotKit runtime, and expected
|
|
@@ -135,7 +135,7 @@ IPv6 only, so an IPv4 literal fails against the correct port.
|
|
|
135
135
|
## Step 4 -- Check the wiring
|
|
136
136
|
|
|
137
137
|
With both running, check the wiring in one command before you open a browser:
|
|
138
|
-
`npx --yes copilotkit@4.10.
|
|
138
|
+
`npx --yes copilotkit@4.10.1 verify --json`. It reads the port from this project, so a
|
|
139
139
|
non-default port needs no flag. The payload reports `runtimeUrl` and `runtimeUrlSource`. A
|
|
140
140
|
`runtimeUrlSource` of `default` means nothing in the project named a port, so pass
|
|
141
141
|
`--runtime-url` with the URL from step 1 in that case. Read the individual checks rather than
|
|
@@ -150,7 +150,7 @@ used the Intelligence credential. `api_key_authenticates` proves only that the k
|
|
|
150
150
|
will not read. `verify` searches upward for the credential and a framework's env loader
|
|
151
151
|
does not, so a key at the repository root is invisible to an app in a subdirectory. The
|
|
152
152
|
check names the file to write instead. Write the key there, or run
|
|
153
|
-
`npx --yes copilotkit@4.10.
|
|
153
|
+
`npx --yes copilotkit@4.10.1 project select` from the app directory. Do not link,
|
|
154
154
|
copy, or symlink the file to work around it, and do not treat the credential as missing:
|
|
155
155
|
the check above already reported that it exists.
|
|
156
156
|
|
|
@@ -168,7 +168,7 @@ named no port the CLI can read: keep step 2's URL, and rewrite its host as `loca
|
|
|
168
168
|
before you use it.
|
|
169
169
|
|
|
170
170
|
Then run the command once more with the URL you are about to open:
|
|
171
|
-
`npx --yes copilotkit@4.10.
|
|
171
|
+
`npx --yes copilotkit@4.10.1 verify --frontend-url <that url> --json`. The
|
|
172
172
|
`frontend_assets_served` check asks that server for its page and for one of the page's own
|
|
173
173
|
assets, on that exact host. A `fail` there means the dev server refuses its own static
|
|
174
174
|
assets on the host you were about to use, and the check names the URL to use instead. This
|
|
@@ -176,7 +176,7 @@ is the cheapest step that can save the most expensive one, so run it before the
|
|
|
176
176
|
|
|
177
177
|
## Step 5 -- Prove that the agent runs
|
|
178
178
|
|
|
179
|
-
Run `npx --yes copilotkit@4.10.
|
|
179
|
+
Run `npx --yes copilotkit@4.10.1 verify --round-trip --json`. It sends one request through
|
|
180
180
|
the runtime and reads the answer back from the thread, so it separates an agent that is
|
|
181
181
|
configured from an agent that works. Use `--agent <id>` when the runtime declares more
|
|
182
182
|
than one. If it reports `user-not-identified`, this project's `identifyUser` reads a
|
|
@@ -189,7 +189,7 @@ Where this run settled a Learning Container, add the flag to the call above rath
|
|
|
189
189
|
running a second round trip:
|
|
190
190
|
|
|
191
191
|
```text
|
|
192
|
-
npx --yes copilotkit@4.10.
|
|
192
|
+
npx --yes copilotkit@4.10.1 verify --round-trip --expect-learning-container <container id> --json
|
|
193
193
|
```
|
|
194
194
|
|
|
195
195
|
The check reads the thread that this run created, so a second round trip proves a second
|
|
@@ -285,7 +285,7 @@ For a recorded `both-oss` starting state, this step has no component to render.
|
|
|
285
285
|
same request the baseline recorded, require the same kind of user-visible result the
|
|
286
286
|
baseline produced, and require that the thread for that request is listed in the drawer.
|
|
287
287
|
Where this journey's frontend framework ships no threads drawer -- React Native --, prove
|
|
288
|
-
that thread with `npx --yes copilotkit@4.10.
|
|
288
|
+
that thread with `npx --yes copilotkit@4.10.1 verify --round-trip`, which reads the
|
|
289
289
|
answer back off the thread and needs no browser. Record which of the two you proved.
|
|
290
290
|
|
|
291
291
|
Use the surface control the main coding agent recorded for your environment. It either had
|
|
@@ -313,7 +313,7 @@ request never exercises. Drive it with the browser control step 6 named.
|
|
|
313
313
|
the page to finish loading. Do not retype the host, and do not substitute a URL a tool
|
|
314
314
|
offers you by default. Where the page loads but its styling is missing or the chat
|
|
315
315
|
control is dead, run
|
|
316
|
-
`npx --yes copilotkit@4.10.
|
|
316
|
+
`npx --yes copilotkit@4.10.1 verify --frontend-url <the url you opened> --json`
|
|
317
317
|
before you diagnose anything else. A dev server can serve its page and refuse every
|
|
318
318
|
static chunk behind it, and on screen that is indistinguishable from a broken
|
|
319
319
|
integration. The `frontend_assets_served` check tells the two apart.
|
|
@@ -30,13 +30,13 @@ Before you show the best-effort plan, require this complete packet:
|
|
|
30
30
|
- Give the ordered proof rules.
|
|
31
31
|
|
|
32
32
|
After the developer approves the best-effort plan, run
|
|
33
|
-
`npx --yes copilotkit@4.10.
|
|
33
|
+
`npx --yes copilotkit@4.10.1 onboard read fallback/best-effort`.
|
|
34
34
|
|
|
35
35
|
Send one short report. Run the friction command without another developer question. The
|
|
36
36
|
CLI telemetry gate decides whether the report is sent.
|
|
37
37
|
|
|
38
38
|
```text
|
|
39
|
-
npx --yes copilotkit@4.10.
|
|
39
|
+
npx --yes copilotkit@4.10.1 onboard friction --phase stop --category <slug>
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Write one or two sentences to standard input: the step you stopped at and what stopped it.
|
package/package.json
CHANGED
package/release/release-tool.js
CHANGED
|
@@ -14698,7 +14698,7 @@ import * as path4 from "node:path";
|
|
|
14698
14698
|
|
|
14699
14699
|
// apps/cli/src/config.ts
|
|
14700
14700
|
function getTemplateRef() {
|
|
14701
|
-
return true ? "
|
|
14701
|
+
return true ? "7e6964fc11092b685bbea62bc331d5d177b738c1" : "main";
|
|
14702
14702
|
}
|
|
14703
14703
|
|
|
14704
14704
|
// apps/cli/src/services/agentcore-config.ts
|