copilotkit 4.15.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.
Files changed (79) hide show
  1. package/README.md +49 -6
  2. package/cli-build-info.json +8 -8
  3. package/index.js +22447 -2987
  4. package/onboarding/index.json +1 -1
  5. package/onboarding/prompts/authenticate/start.md +8 -8
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +7 -7
  8. package/onboarding/prompts/credentials/plan.md +21 -21
  9. package/onboarding/prompts/credentials/settle-credentials.md +9 -9
  10. package/onboarding/prompts/credentials/write-plan.md +5 -5
  11. package/onboarding/prompts/fallback/best-effort.md +6 -6
  12. package/onboarding/prompts/feature/a2ui/implement.md +6 -6
  13. package/onboarding/prompts/feature/a2ui/proof.md +6 -6
  14. package/onboarding/prompts/feature/a2ui/start.md +7 -7
  15. package/onboarding/prompts/feature/channels/implement.md +7 -7
  16. package/onboarding/prompts/feature/channels/proof.md +6 -6
  17. package/onboarding/prompts/feature/channels/start.md +7 -7
  18. package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
  19. package/onboarding/prompts/feature/chat-suggestions/proof.md +6 -6
  20. package/onboarding/prompts/feature/chat-suggestions/start.md +7 -7
  21. package/onboarding/prompts/feature/complete.md +2 -2
  22. package/onboarding/prompts/feature/learning/implement.md +15 -15
  23. package/onboarding/prompts/feature/learning/proof.md +7 -7
  24. package/onboarding/prompts/feature/learning/start.md +8 -8
  25. package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
  26. package/onboarding/prompts/feature/open-generative-ui/proof.md +6 -6
  27. package/onboarding/prompts/feature/open-generative-ui/start.md +7 -7
  28. package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
  29. package/onboarding/prompts/feature/realtime-sync/proof.md +6 -6
  30. package/onboarding/prompts/feature/realtime-sync/start.md +6 -6
  31. package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
  32. package/onboarding/prompts/feature/rich-threads/proof.md +6 -6
  33. package/onboarding/prompts/feature/rich-threads/start.md +6 -6
  34. package/onboarding/prompts/feature/stop.md +3 -3
  35. package/onboarding/prompts/feature/voice/implement.md +6 -6
  36. package/onboarding/prompts/feature/voice/proof.md +6 -6
  37. package/onboarding/prompts/feature/voice/start.md +7 -7
  38. package/onboarding/prompts/framework/ag2.md +2 -2
  39. package/onboarding/prompts/framework/agno.md +2 -2
  40. package/onboarding/prompts/framework/built-in.md +2 -2
  41. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  42. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  43. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  44. package/onboarding/prompts/framework/deep-agents.md +2 -2
  45. package/onboarding/prompts/framework/google-adk.md +2 -2
  46. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  47. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  48. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  49. package/onboarding/prompts/framework/llamaindex.md +2 -2
  50. package/onboarding/prompts/framework/mastra.md +2 -2
  51. package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
  52. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  53. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  54. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  55. package/onboarding/prompts/framework/strands-python.md +2 -2
  56. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  57. package/onboarding/prompts/frontend/angular.md +3 -3
  58. package/onboarding/prompts/frontend/nextjs.md +3 -3
  59. package/onboarding/prompts/frontend/plan.md +7 -7
  60. package/onboarding/prompts/frontend/react-native.md +2 -2
  61. package/onboarding/prompts/frontend/react-spa.md +2 -2
  62. package/onboarding/prompts/frontend/vue.md +2 -2
  63. package/onboarding/prompts/implementation/build-and-validate.md +15 -15
  64. package/onboarding/prompts/proof/complete.md +8 -8
  65. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  66. package/onboarding/prompts/proof/round-trip.md +10 -10
  67. package/onboarding/prompts/research/gather.md +6 -6
  68. package/onboarding/prompts/research/merge.md +3 -3
  69. package/onboarding/prompts/research/preflight.md +4 -4
  70. package/onboarding/prompts/research/route.md +5 -5
  71. package/onboarding/prompts/starter/clone.md +22 -15
  72. package/onboarding/prompts/stopped/run-failed.md +8 -2
  73. package/onboarding/prompts/subagent/create-plan.md +1 -1
  74. package/onboarding/prompts/subagent/inspect-repository.md +1 -1
  75. package/onboarding/prompts/subagent/prove-oss-baseline.md +7 -1
  76. package/onboarding/prompts/subagent/prove-round-trip.md +17 -7
  77. package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
  78. package/package.json +1 -1
  79. package/release/release-tool.js +52 -7
package/README.md CHANGED
@@ -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
@@ -432,13 +450,21 @@ copilotkit init -n my-agent -f langgraph-py \
432
450
  - `--project <slug-or-id>` selects an existing hosted Intelligence project, and
433
451
  `--create <name>` makes one. They are mutually exclusive, and they resolve the
434
452
  same way `copilotkit project select` does: a typo fails with the available
435
- 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.
436
455
  - `-y`/`--yes` installs dependencies without asking; `--no-install` answers the
437
456
  same question without installing. `--install` is a longhand for `--yes`.
438
457
  - `--no-key-prompt` skips the question about a missing model key. Use it where the
439
458
  shell is a pseudo-terminal but nobody types, such as a coding agent's shell:
440
459
  there `init` sees a terminal and would ask anyway. The next steps still name
441
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.
442
468
 
443
469
  A run with no terminal is refused only for what it has not answered, and every
444
470
  missing flag is named at once. Sign-in is the one answer no flag supplies:
@@ -1271,7 +1297,8 @@ projects created with the CLI. See the [package license map](../../docs/licensin
1271
1297
  ### Add existing threads to Learning
1272
1298
 
1273
1299
  Use `learning threads` to add prior conversations to a Container. A thread can
1274
- join one Container permanently. Already-bound threads are ineligible.
1300
+ join this Container without changing their other memberships. Threads already
1301
+ in this Container are ineligible for another addition.
1275
1302
 
1276
1303
  ```bash
1277
1304
  copilotkit learning threads list support --binding all --json
@@ -1289,15 +1316,31 @@ The binding filter accepts `all`, `unbound`, `this_container`, or `other_contain
1289
1316
  The source filter accepts `all`, `app`, `slack`, or `teams`, where `app` means the
1290
1317
  thread arrived straight from the Runtime and the provider values select threads a
1291
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.
1292
1322
 
1293
- Read the preview before commit. `--yes` approves permanent assignment of that
1294
- saved selection. Each operation accepts at most 10,000 threads. New matching
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
1295
1325
  threads cannot enter an existing preview, and a repeated commit cannot bind a
1296
- second batch. Threads bound by another action after preview are skipped and
1297
- 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.
1298
1328
 
1299
1329
  Results distinguish threads bound, runs harvested, runs unrecoverable, other
1300
1330
  skipped runs, and pending runs. Pending work is not a completed harvest. The
1301
1331
  preview reflects retained history at its timestamp; delayed events or retention
1302
1332
  changes can change the final result. `--json` prints a versioned result envelope
1303
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.
@@ -2,20 +2,20 @@
2
2
  "schemaVersion": 1,
3
3
  "package": {
4
4
  "name": "copilotkit",
5
- "version": "4.15.0"
5
+ "version": "4.16.0"
6
6
  },
7
7
  "intelligence": {
8
- "commit": "f6de0940e2aac5d2e323767f3d6431354715d2e6"
8
+ "commit": "9b0c17ef9b25db5614653a69190290fadaf9fe59"
9
9
  },
10
10
  "copilotKit": {
11
- "submittedInput": "33db9a81ccfd",
12
- "commit": "33db9a81ccfd2d6e820defe3c1616594909439af"
11
+ "submittedInput": "a933af0b132e",
12
+ "commit": "a933af0b132e61d2d04be7ce0a8f55743af21ccc"
13
13
  },
14
14
  "channel": "production",
15
- "triggeringActor": "AlemTuzlak",
15
+ "triggeringActor": "BenTaylorDev",
16
16
  "workflow": {
17
- "runId": "36016174452",
18
- "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/36016174452"
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-24T14:55:57Z"
27
+ "builtAt": "2026-09-24T19:54:09Z"
28
28
  }