copilotkit 4.9.50 → 4.9.60

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 (67) hide show
  1. package/README.md +44 -4
  2. package/cli-build-info.json +7 -7
  3. package/index.js +1504 -210
  4. package/onboarding/index.json +1 -1
  5. package/onboarding/prompts/authenticate/start.md +41 -14
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +54 -13
  8. package/onboarding/prompts/credentials/plan.md +20 -20
  9. package/onboarding/prompts/fallback/best-effort.md +6 -6
  10. package/onboarding/prompts/feature/a2ui/implement.md +3 -3
  11. package/onboarding/prompts/feature/a2ui/proof.md +3 -3
  12. package/onboarding/prompts/feature/a2ui/start.md +5 -5
  13. package/onboarding/prompts/feature/chat-suggestions/implement.md +3 -3
  14. package/onboarding/prompts/feature/chat-suggestions/proof.md +3 -3
  15. package/onboarding/prompts/feature/chat-suggestions/start.md +5 -5
  16. package/onboarding/prompts/feature/learning/implement.md +70 -8
  17. package/onboarding/prompts/feature/learning/proof.md +25 -7
  18. package/onboarding/prompts/feature/learning/start.md +11 -7
  19. package/onboarding/prompts/feature/open-generative-ui/implement.md +3 -3
  20. package/onboarding/prompts/feature/open-generative-ui/proof.md +3 -3
  21. package/onboarding/prompts/feature/open-generative-ui/start.md +5 -5
  22. package/onboarding/prompts/feature/realtime-sync/implement.md +4 -4
  23. package/onboarding/prompts/feature/realtime-sync/proof.md +3 -3
  24. package/onboarding/prompts/feature/realtime-sync/start.md +4 -4
  25. package/onboarding/prompts/feature/rich-threads/implement.md +5 -5
  26. package/onboarding/prompts/feature/rich-threads/proof.md +3 -3
  27. package/onboarding/prompts/feature/rich-threads/start.md +4 -4
  28. package/onboarding/prompts/feature/stop.md +4 -4
  29. package/onboarding/prompts/feature/voice/implement.md +3 -3
  30. package/onboarding/prompts/feature/voice/proof.md +3 -3
  31. package/onboarding/prompts/feature/voice/start.md +5 -5
  32. package/onboarding/prompts/framework/ag2.md +2 -2
  33. package/onboarding/prompts/framework/agno.md +2 -2
  34. package/onboarding/prompts/framework/built-in.md +2 -2
  35. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  36. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  37. package/onboarding/prompts/framework/crewai-flows.md +2 -2
  38. package/onboarding/prompts/framework/deep-agents.md +2 -2
  39. package/onboarding/prompts/framework/google-adk.md +2 -2
  40. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  41. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  42. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  43. package/onboarding/prompts/framework/llamaindex.md +2 -2
  44. package/onboarding/prompts/framework/mastra.md +2 -2
  45. package/onboarding/prompts/framework/ms-agent-dotnet.md +2 -2
  46. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +2 -2
  47. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  48. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  49. package/onboarding/prompts/framework/strands-python.md +2 -2
  50. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  51. package/onboarding/prompts/frontend/angular.md +3 -3
  52. package/onboarding/prompts/frontend/nextjs.md +3 -3
  53. package/onboarding/prompts/frontend/plan.md +6 -6
  54. package/onboarding/prompts/frontend/react-native.md +2 -2
  55. package/onboarding/prompts/frontend/react-spa.md +2 -2
  56. package/onboarding/prompts/frontend/vue.md +2 -2
  57. package/onboarding/prompts/implementation/build-and-validate.md +58 -8
  58. package/onboarding/prompts/proof/complete.md +10 -10
  59. package/onboarding/prompts/proof/oss-baseline.md +16 -7
  60. package/onboarding/prompts/proof/round-trip.md +16 -9
  61. package/onboarding/prompts/starter/clone.md +5 -5
  62. package/onboarding/prompts/subagent/create-plan.md +1 -1
  63. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  64. package/onboarding/prompts/subagent/prove-round-trip.md +13 -10
  65. package/onboarding/prompts/unsupported/no-validated-path.md +4 -4
  66. package/package.json +1 -1
  67. package/release/release-tool.js +1 -1
package/README.md CHANGED
@@ -72,6 +72,22 @@ copilotkit project select --create "My App" --json # create one and select it
72
72
  against the organization's real projects, so a typo fails with the available
73
73
  slugs instead of recording a selection that points at nothing.
74
74
 
75
+ A `--create` name that an existing project already uses is refused, and the
76
+ refusal names a free name computed from the list the CLI already holds, so a
77
+ caller retries once rather than guessing. Under `--json` the same name is
78
+ carried as `suggested_name`:
79
+
80
+ ```json
81
+ {
82
+ "error": "You already have a project named \"My App\". \"My App-2\" is free.",
83
+ "suggested_name": "My App-2",
84
+ "type": "failed"
85
+ }
86
+ ```
87
+
88
+ The interactive picker offers the same name and never applies it silently:
89
+ press Enter again to take it, or type a different one.
90
+
75
91
  `--json` emits one object on stdout:
76
92
 
77
93
  ```json
@@ -402,6 +418,7 @@ Run the Learning commands from a directory with a selected hosted project:
402
418
  copilotkit learning containers list
403
419
  copilotkit learning containers get support-quality
404
420
  copilotkit learning containers create
421
+ copilotkit learning containers select
405
422
  copilotkit learning containers update support-quality
406
423
  copilotkit learning containers delete support-quality
407
424
  ```
@@ -410,6 +427,17 @@ The create and update commands prompt for missing fields in a human terminal.
410
427
  The delete command shows the exact container and asks for approval. The CLI
411
428
  cannot delete a container with bound Threads or Learning history.
412
429
 
430
+ `select` offers the containers this project already has and prints the one you
431
+ pick, and its create form opens on an id derived from the project slug, because
432
+ one container per project is the default scope. Route runs to different
433
+ containers per user or per tier from `getLearningContainerId` in your own
434
+ runtime, which receives the resolved application user; a container per user
435
+ rarely reaches the 15 distinct conversations a first Learning run needs. Choose `Create a new container` to make one instead. It reads the first
436
+ page before it draws the list and reads a later page only when you choose
437
+ `Show more`, so a project with one container costs one read. `select` needs a
438
+ terminal: with `--json`, or with no TTY, it refuses and names `list` and
439
+ `create` instead.
440
+
413
441
  Pass flags for a script or coding agent:
414
442
 
415
443
  ```bash
@@ -722,7 +750,11 @@ present** says the credential exists somewhere in this repository, and **The app
722
750
  can load the project API key** says the directory the app runs in supplies it.
723
751
  The second is `UNKNOWN` rather than `FAIL` wherever it cannot decide: no package
724
752
  declaring a `@copilotkit/*` dependency was found, more than one was, or a script
725
- in the app names an env file itself with `dotenv`, `env-cmd`, or `--env-file`.
753
+ in the app — or in any package above it, up to the project root — names an env
754
+ file itself with `dotenv`, `env-cmd`, or `--env-file`. It is also `UNKNOWN` when
755
+ a runtime answered and reported an Intelligence entitlement, because a runtime
756
+ cannot report one without having loaded a key: the report then names the
757
+ disagreement instead of claiming the app cannot load a key the runtime is using.
726
758
 
727
759
  That last check is the one a passing build cannot give you. A key in `.env`
728
760
  proves only that one was provisioned: the runtime reads no environment variable
@@ -818,9 +850,17 @@ closed.
818
850
  A runtime mounted `mode: "single-route"` refuses `GET /info`, so `verify` asks
819
851
  the same question again through the POST envelope that mount does answer.
820
852
  Reaching it that way counts as reachable, and the report says which shape
821
- answered. That mount carries no thread or memory route, though, so a licensed
822
- project on it fails the thread-route check with the mount named as the cause.
823
- Removing `mode: "single-route"` fixes it.
853
+ answered.
854
+
855
+ That mount serves its thread and memory routes too, inside the same envelope as
856
+ the `resource/request` method, and the client rewrites every such fetch into it.
857
+ So the thread-route check passes there and says the routes were served that way,
858
+ rather than as REST paths. It reads the `singleRoute` block of `/info` to decide,
859
+ because the top-level `threadEndpoints` block reports the routes absent on that
860
+ mount whatever it serves: the runtime resolves that block from whether the
861
+ request in hand is a `resource/request`, and an `info` call never is. A runtime
862
+ below `@copilotkit/runtime` 1.70.2 reports no `singleRoute` block and therefore
863
+ cannot say, so the check is `UNKNOWN` there and names the upgrade.
824
864
 
825
865
  ### Proving the agent runs, not just that it is configured
826
866
 
@@ -2,20 +2,20 @@
2
2
  "schemaVersion": 1,
3
3
  "package": {
4
4
  "name": "copilotkit",
5
- "version": "4.9.50"
5
+ "version": "4.9.60"
6
6
  },
7
7
  "intelligence": {
8
- "commit": "1e703c3c476af7d0a52f801e34fbce2997f6a926"
8
+ "commit": "5f0f9a7cf15492544f1341f562fa5cd55387099c"
9
9
  },
10
10
  "copilotKit": {
11
- "submittedInput": "380ad1220a7bc78104baedc469c4d086c8910494",
12
- "commit": "380ad1220a7bc78104baedc469c4d086c8910494"
11
+ "submittedInput": "d1584b840f904674b470be5d2b16c4ccca99c4f4",
12
+ "commit": "d1584b840f904674b470be5d2b16c4ccca99c4f4"
13
13
  },
14
14
  "channel": "production",
15
15
  "triggeringActor": "BenTaylorDev",
16
16
  "workflow": {
17
- "runId": "34486444519",
18
- "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/34486444519"
17
+ "runId": "34616405214",
18
+ "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/34616405214"
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-10T14:04:08Z"
27
+ "builtAt": "2026-09-11T15:30:58Z"
28
28
  }