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.
- package/README.md +44 -4
- package/cli-build-info.json +7 -7
- package/index.js +1504 -210
- package/onboarding/index.json +1 -1
- package/onboarding/prompts/authenticate/start.md +41 -14
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +54 -13
- package/onboarding/prompts/credentials/plan.md +20 -20
- package/onboarding/prompts/fallback/best-effort.md +6 -6
- package/onboarding/prompts/feature/a2ui/implement.md +3 -3
- package/onboarding/prompts/feature/a2ui/proof.md +3 -3
- package/onboarding/prompts/feature/a2ui/start.md +5 -5
- package/onboarding/prompts/feature/chat-suggestions/implement.md +3 -3
- package/onboarding/prompts/feature/chat-suggestions/proof.md +3 -3
- package/onboarding/prompts/feature/chat-suggestions/start.md +5 -5
- package/onboarding/prompts/feature/learning/implement.md +70 -8
- package/onboarding/prompts/feature/learning/proof.md +25 -7
- package/onboarding/prompts/feature/learning/start.md +11 -7
- package/onboarding/prompts/feature/open-generative-ui/implement.md +3 -3
- package/onboarding/prompts/feature/open-generative-ui/proof.md +3 -3
- package/onboarding/prompts/feature/open-generative-ui/start.md +5 -5
- package/onboarding/prompts/feature/realtime-sync/implement.md +4 -4
- package/onboarding/prompts/feature/realtime-sync/proof.md +3 -3
- package/onboarding/prompts/feature/realtime-sync/start.md +4 -4
- package/onboarding/prompts/feature/rich-threads/implement.md +5 -5
- package/onboarding/prompts/feature/rich-threads/proof.md +3 -3
- package/onboarding/prompts/feature/rich-threads/start.md +4 -4
- package/onboarding/prompts/feature/stop.md +4 -4
- package/onboarding/prompts/feature/voice/implement.md +3 -3
- package/onboarding/prompts/feature/voice/proof.md +3 -3
- package/onboarding/prompts/feature/voice/start.md +5 -5
- 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 +58 -8
- package/onboarding/prompts/proof/complete.md +10 -10
- package/onboarding/prompts/proof/oss-baseline.md +16 -7
- package/onboarding/prompts/proof/round-trip.md +16 -9
- package/onboarding/prompts/starter/clone.md +5 -5
- 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 +13 -10
- package/onboarding/prompts/unsupported/no-validated-path.md +4 -4
- package/package.json +1 -1
- 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
|
|
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.
|
|
822
|
-
|
|
823
|
-
|
|
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
|
|
package/cli-build-info.json
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "copilotkit",
|
|
5
|
-
"version": "4.9.
|
|
5
|
+
"version": "4.9.60"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "5f0f9a7cf15492544f1341f562fa5cd55387099c"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "d1584b840f904674b470be5d2b16c4ccca99c4f4",
|
|
12
|
+
"commit": "d1584b840f904674b470be5d2b16c4ccca99c4f4"
|
|
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": "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-
|
|
27
|
+
"builtAt": "2026-09-11T15:30:58Z"
|
|
28
28
|
}
|