copilotkit 4.14.0 → 4.16.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 +91 -13
- package/cli-build-info.json +7 -7
- package/index.js +53190 -33002
- package/onboarding/index.json +1 -1
- package/onboarding/prompts/authenticate/start.md +17 -8
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +8 -8
- package/onboarding/prompts/credentials/plan.md +21 -21
- package/onboarding/prompts/credentials/settle-credentials.md +10 -10
- package/onboarding/prompts/credentials/write-plan.md +6 -6
- package/onboarding/prompts/fallback/best-effort.md +7 -7
- 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 +7 -7
- package/onboarding/prompts/feature/channels/proof.md +6 -6
- package/onboarding/prompts/feature/channels/start.md +7 -7
- 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 +3 -3
- package/onboarding/prompts/feature/learning/implement.md +16 -16
- package/onboarding/prompts/feature/learning/proof.md +7 -7
- package/onboarding/prompts/feature/learning/start.md +9 -9
- 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 +5 -5
- 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 +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 +16 -16
- package/onboarding/prompts/proof/complete.md +9 -9
- package/onboarding/prompts/proof/oss-baseline.md +5 -5
- package/onboarding/prompts/proof/round-trip.md +11 -11
- package/onboarding/prompts/research/gather.md +6 -6
- package/onboarding/prompts/research/merge.md +3 -3
- package/onboarding/prompts/research/preflight.md +4 -4
- package/onboarding/prompts/research/route.md +5 -5
- package/onboarding/prompts/starter/clone.md +22 -15
- package/onboarding/prompts/stopped/run-failed.md +10 -4
- package/onboarding/prompts/subagent/create-plan.md +1 -1
- package/onboarding/prompts/subagent/inspect-repository.md +1 -1
- package/onboarding/prompts/subagent/prove-oss-baseline.md +14 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +28 -16
- package/onboarding/prompts/unsupported/no-validated-path.md +3 -3
- package/package.json +1 -1
- package/release/release-tool.js +52 -7
package/README.md
CHANGED
|
@@ -327,8 +327,8 @@ npx --yes copilotkit@latest onboard start \
|
|
|
327
327
|
| `add-voice` | Add documented voice transcription to the existing composer |
|
|
328
328
|
| `add-realtime-sync` | Prove managed thread changes sync between active clients |
|
|
329
329
|
|
|
330
|
-
Run `copilotkit channels setup` to
|
|
331
|
-
prompt as the website CTA. There is no `--intent add-channels`. The copied
|
|
330
|
+
Run `copilotkit channels setup` to continue an unfinished Channels onboarding
|
|
331
|
+
run, or copy the same onboarding URL prompt as the website CTA for a new run. There is no `--intent add-channels`. The copied
|
|
332
332
|
prompt has no Channel sentence. When the project has no frontend, the root graph
|
|
333
333
|
asks which frontend they want and offers Slack and Microsoft Teams there. If the
|
|
334
334
|
copied prompt came from a Slack or Teams docs page, that page is the named
|
|
@@ -350,6 +350,24 @@ subagent returns, when the plan is approved, when implementation validation
|
|
|
350
350
|
passes, and on each proof attempt and repair cycle. A run that cannot go on
|
|
351
351
|
reads `feature/stop`, reports from there, and does not run `onboard complete`.
|
|
352
352
|
|
|
353
|
+
### Onboarding for an existing Intelligence project
|
|
354
|
+
|
|
355
|
+
Use the optional `--project` flag when the developer already chose a hosted
|
|
356
|
+
Intelligence project, for example from the Threads or Analytics page of that
|
|
357
|
+
project. It takes the numeric project id. The run then selects that project at
|
|
358
|
+
the project-selection step instead of asking which project to use or creating
|
|
359
|
+
one. The CLI still checks that the signed-in organization holds the project, so a
|
|
360
|
+
link cannot point a run at another organization's project.
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
npx --yes copilotkit@latest onboard start \
|
|
364
|
+
--project <project-id> \
|
|
365
|
+
--run <12-character-id>
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
`--project` accepts digits only and refuses anything else before a run starts.
|
|
369
|
+
A later `onboard start` that re-enters the same run keeps its project.
|
|
370
|
+
|
|
353
371
|
### Coming back after a run that broke
|
|
354
372
|
|
|
355
373
|
A run whose stack this release serves, and which broke anyway, reads
|
|
@@ -361,11 +379,13 @@ The developer can widen the scope the graph will not. The agent names one fix an
|
|
|
361
379
|
asks. When the developer approves it, the agent makes that one fix and runs:
|
|
362
380
|
|
|
363
381
|
```bash
|
|
364
|
-
npx --yes copilotkit@latest onboard resume
|
|
382
|
+
npx --yes copilotkit@latest onboard resume --message "<the approved fix>"
|
|
365
383
|
```
|
|
366
384
|
|
|
367
|
-
The approval goes
|
|
368
|
-
characters. The command
|
|
385
|
+
The approval goes in `--message`, in one or two sentences and at most 500
|
|
386
|
+
characters. The command also reads the approval from standard input when
|
|
387
|
+
`--message` is absent. A piped approval puts its text in the command that a Codex
|
|
388
|
+
approval covers, so the next call needs a new approval. The command puts the run back on the step that failed, keeps the same
|
|
369
389
|
run id, and records both the approval and the step it re-entered. So the repair
|
|
370
390
|
and the second proof attempt belong to the run that stopped, rather than to
|
|
371
391
|
nothing at all. The approval is guarded and sent under the same telemetry setting
|
|
@@ -430,13 +450,21 @@ copilotkit init -n my-agent -f langgraph-py \
|
|
|
430
450
|
- `--project <slug-or-id>` selects an existing hosted Intelligence project, and
|
|
431
451
|
`--create <name>` makes one. They are mutually exclusive, and they resolve the
|
|
432
452
|
same way `copilotkit project select` does: a typo fails with the available
|
|
433
|
-
slugs instead of creating something you did not ask for.
|
|
453
|
+
slugs instead of creating something you did not ask for. A refused value fails
|
|
454
|
+
before `init` writes any file, so you can retry into the same directory.
|
|
434
455
|
- `-y`/`--yes` installs dependencies without asking; `--no-install` answers the
|
|
435
456
|
same question without installing. `--install` is a longhand for `--yes`.
|
|
436
457
|
- `--no-key-prompt` skips the question about a missing model key. Use it where the
|
|
437
458
|
shell is a pseudo-terminal but nobody types, such as a coding agent's shell:
|
|
438
459
|
there `init` sees a terminal and would ask anyway. The next steps still name
|
|
439
460
|
each missing key.
|
|
461
|
+
- `--model-key-file <path>` copies the model key the starter needs from an env
|
|
462
|
+
file you name into the new app. Only that variable is copied, into the file the
|
|
463
|
+
starter reads (`agent/.env` for the Microsoft Agent Framework Python starter).
|
|
464
|
+
`init` prints the variable name and never the value. A real value already in
|
|
465
|
+
the app is kept. A missing or unreadable file stops `init` before it clones
|
|
466
|
+
anything. The .NET starter keeps its key in `dotnet user-secrets`, so this flag
|
|
467
|
+
does not fill it.
|
|
440
468
|
|
|
441
469
|
A run with no terminal is refused only for what it has not answered, and every
|
|
442
470
|
missing flag is named at once. Sign-in is the one answer no flag supplies:
|
|
@@ -508,6 +536,10 @@ Teams credentials in `.env` or the process environment keep the by-hand attach
|
|
|
508
536
|
path. Pass `--no-provision` to choose that path yourself. Non-interactive runs
|
|
509
537
|
stay on the by-hand path unless they pass `--provision`.
|
|
510
538
|
|
|
539
|
+
If Microsoft sign-in fails, check the browser page for an `AADSTS` error code.
|
|
540
|
+
The CLI shows a known code or `invalid_request` when Microsoft returns one in
|
|
541
|
+
the terminal. It does not print the full Microsoft response.
|
|
542
|
+
|
|
511
543
|
No flag accepts a credential value. Credentials are read from your project's
|
|
512
544
|
`.env`, from a named environment variable, or from a JSON document on stdin; at a
|
|
513
545
|
terminal the CLI offers a masked prompt instead.
|
|
@@ -523,7 +555,22 @@ copilotkit channels setup
|
|
|
523
555
|
copilotkit channels setup --no-clipboard
|
|
524
556
|
```
|
|
525
557
|
|
|
526
|
-
|
|
558
|
+
If this project already has an unfinished Channels run, the command prints its
|
|
559
|
+
existing ID and instructions to continue its route. It installs nothing, generates
|
|
560
|
+
no ID, and leaves the clipboard unchanged. This includes paused runs and older
|
|
561
|
+
bindings without timestamps; runs do not expire while waiting for you.
|
|
562
|
+
|
|
563
|
+
Use `--run <id>` to name this project's unfinished run explicitly. Unknown,
|
|
564
|
+
completed, or mismatched IDs are refused. Use `--new-run` instead to deliberately
|
|
565
|
+
start another journey. The flags cannot be combined. A completed run or a run
|
|
566
|
+
for another feature does not block a fresh Channels setup automatically.
|
|
567
|
+
`copilotkit skills onboard --channels` honors the same run choices.
|
|
568
|
+
If completion state cannot be saved, onboarding still completes and prints a
|
|
569
|
+
warning. The next setup may require `--new-run` to start a fresh run.
|
|
570
|
+
|
|
571
|
+
For a new run, the command copies an onboarding URL containing a fresh run ID.
|
|
572
|
+
Before installing, it names the `channels-setup` skill, its
|
|
573
|
+
`CopilotKit/CopilotKit/skills` source, and its project scope for all supported agents.
|
|
527
574
|
It installs the `channels-setup` skill, then prints that prompt to paste
|
|
528
575
|
into your coding agent and copies it to your clipboard. The prompt is always
|
|
529
576
|
printed, so you can read it before handing it over. Pass `--no-clipboard` in a
|
|
@@ -565,6 +612,16 @@ those a project that never makes the call serves HTTP normally, reports no error
|
|
|
565
612
|
and answers nothing. Mounts that own their process lifetime start on their own,
|
|
566
613
|
and `status` distinguishes the two rather than warning about both.
|
|
567
614
|
|
|
615
|
+
Managed API and realtime URLs have defaults; preflight needs the project API key,
|
|
616
|
+
not an explicit WebSocket URL override. Runtime diagnostics refer to
|
|
617
|
+
`CopilotRuntime`. Dynamic options and unresolved `channels` shorthand remain
|
|
618
|
+
undetermined, while awaited optional chaining is recognized.
|
|
619
|
+
|
|
620
|
+
If an onboarding run is already in progress, use `copilotkit onboard route` and
|
|
621
|
+
`copilotkit onboard read <step>` to continue its current served step. Runtime
|
|
622
|
+
wiring is covered by `feature/channels/implement`; paused runs must follow their
|
|
623
|
+
stop instructions first. Outside a run, begin with `copilotkit channels setup`.
|
|
624
|
+
|
|
568
625
|
`--json` emits a versioned envelope on stdout for agents and scripts, never
|
|
569
626
|
prompts, and never opens a browser. See
|
|
570
627
|
[Managed Channel CLI contracts](../../docs/channels-cli-contracts.md) for the
|
|
@@ -1240,10 +1297,12 @@ projects created with the CLI. See the [package license map](../../docs/licensin
|
|
|
1240
1297
|
### Add existing threads to Learning
|
|
1241
1298
|
|
|
1242
1299
|
Use `learning threads` to add prior conversations to a Container. A thread can
|
|
1243
|
-
join
|
|
1300
|
+
join this Container without changing their other memberships. Threads already
|
|
1301
|
+
in this Container are ineligible for another addition.
|
|
1244
1302
|
|
|
1245
1303
|
```bash
|
|
1246
1304
|
copilotkit learning threads list support --binding all --json
|
|
1305
|
+
copilotkit learning threads list support --source slack --json
|
|
1247
1306
|
copilotkit learning threads preview support --all --agent support-agent --from 2026-09-01 --to 2026-10-01 --json
|
|
1248
1307
|
copilotkit learning threads commit support <operation-id> --yes --json
|
|
1249
1308
|
copilotkit learning threads status support <operation-id> --json
|
|
@@ -1254,15 +1313,34 @@ repeated `--thread <id>` flags instead of `--all` to select specific threads.
|
|
|
1254
1313
|
Filters apply to thread creation time. `--from` is inclusive and `--to` is
|
|
1255
1314
|
exclusive; date-only values use UTC. `list` accepts `--cursor` for the next page.
|
|
1256
1315
|
The binding filter accepts `all`, `unbound`, `this_container`, or `other_container`.
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1316
|
+
The source filter accepts `all`, `app`, `slack`, or `teams`, where `app` means the
|
|
1317
|
+
thread arrived straight from the Runtime and the provider values select threads a
|
|
1318
|
+
Channel created.
|
|
1319
|
+
`unbound` means no active Container membership. `other_container` means active
|
|
1320
|
+
membership elsewhere, without membership in this Container. Those threads remain
|
|
1321
|
+
eligible for addition to this Container.
|
|
1322
|
+
|
|
1323
|
+
Read the preview before commit. `--yes` adds or restores memberships for that
|
|
1324
|
+
saved selection. Existing memberships in other Containers stay active. Each operation accepts at most 10,000 threads. New matching
|
|
1260
1325
|
threads cannot enter an existing preview, and a repeated commit cannot bind a
|
|
1261
|
-
second batch. Threads
|
|
1262
|
-
reported. Recovery continues in the background after the CLI exits.
|
|
1326
|
+
second batch. Threads already added to the same Container after preview are skipped and
|
|
1327
|
+
reported. A retry of a committed operation does not undo a later removal. Recovery continues in the background after the CLI exits.
|
|
1263
1328
|
|
|
1264
1329
|
Results distinguish threads bound, runs harvested, runs unrecoverable, other
|
|
1265
1330
|
skipped runs, and pending runs. Pending work is not a completed harvest. The
|
|
1266
1331
|
preview reflects retained history at its timestamp; delayed events or retention
|
|
1267
1332
|
changes can change the final result. `--json` prints a versioned result envelope
|
|
1268
1333
|
on stdout, including errors, and failures exit nonzero.
|
|
1334
|
+
|
|
1335
|
+
## Download skills from several containers
|
|
1336
|
+
|
|
1337
|
+
```bash
|
|
1338
|
+
copilotkit skills download support company-wide --output ./skills
|
|
1339
|
+
```
|
|
1340
|
+
|
|
1341
|
+
Several container IDs produce separate directories, such as `./skills/support/refund-policy/SKILL.md`.
|
|
1342
|
+
A single container keeps the existing flat layout, such as `./skills/refund-policy/SKILL.md`.
|
|
1343
|
+
The destination must not already exist. The CLI validates every bundle before it creates the destination.
|
|
1344
|
+
If a download or validation fails, the CLI leaves no partial destination.
|
|
1345
|
+
Container IDs must be unique and belong to the selected project. Select up to 50 containers.
|
|
1346
|
+
Multiple containers use one product API batch request. If any container fails, the whole request fails.
|
package/cli-build-info.json
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "copilotkit",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.16.0"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "9b0c17ef9b25db5614653a69190290fadaf9fe59"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "a933af0b132e",
|
|
12
|
+
"commit": "a933af0b132e61d2d04be7ce0a8f55743af21ccc"
|
|
13
13
|
},
|
|
14
14
|
"channel": "production",
|
|
15
15
|
"triggeringActor": "BenTaylorDev",
|
|
16
16
|
"workflow": {
|
|
17
|
-
"runId": "
|
|
18
|
-
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/
|
|
17
|
+
"runId": "36051066331",
|
|
18
|
+
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/36051066331"
|
|
19
19
|
},
|
|
20
20
|
"validationResult": "passed",
|
|
21
21
|
"ag2": {
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"revision": "main",
|
|
25
25
|
"pinned": false
|
|
26
26
|
},
|
|
27
|
-
"builtAt": "2026-09-
|
|
27
|
+
"builtAt": "2026-09-24T19:54:09Z"
|
|
28
28
|
}
|