copilotkit 4.8.1 → 4.8.3
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 +54 -4
- package/cli-build-info.json +8 -8
- package/index.js +40381 -19515
- package/onboarding/index.json +318 -0
- package/onboarding/prompts/authenticate/start.md +47 -0
- package/onboarding/prompts/credentials/finalize-plan.md +57 -0
- package/onboarding/prompts/credentials/plan.md +64 -0
- package/onboarding/prompts/framework/ag2.md +22 -0
- package/onboarding/prompts/framework/agno.md +23 -0
- package/onboarding/prompts/framework/built-in.md +21 -0
- package/onboarding/prompts/framework/claude-sdk-python.md +21 -0
- package/onboarding/prompts/framework/claude-sdk-typescript.md +21 -0
- package/onboarding/prompts/framework/crewai-flows.md +22 -0
- package/onboarding/prompts/framework/deep-agents.md +21 -0
- package/onboarding/prompts/framework/google-adk.md +22 -0
- package/onboarding/prompts/framework/langgraph-fastapi.md +23 -0
- package/onboarding/prompts/framework/langgraph-python.md +23 -0
- package/onboarding/prompts/framework/langgraph-typescript.md +23 -0
- package/onboarding/prompts/framework/llamaindex.md +23 -0
- package/onboarding/prompts/framework/mastra.md +21 -0
- package/onboarding/prompts/framework/ms-agent-dotnet.md +21 -0
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +22 -0
- package/onboarding/prompts/framework/ms-agent-python.md +21 -0
- package/onboarding/prompts/framework/pydantic-ai.md +23 -0
- package/onboarding/prompts/framework/strands-python.md +23 -0
- package/onboarding/prompts/framework/strands-typescript.md +23 -0
- package/onboarding/prompts/frontend/angular.md +18 -0
- package/onboarding/prompts/frontend/nextjs.md +18 -0
- package/onboarding/prompts/frontend/plan.md +32 -0
- package/onboarding/prompts/frontend/react-native.md +18 -0
- package/onboarding/prompts/frontend/react-spa.md +12 -0
- package/onboarding/prompts/frontend/slack.md +20 -0
- package/onboarding/prompts/frontend/teams.md +20 -0
- package/onboarding/prompts/frontend/vue.md +18 -0
- package/onboarding/prompts/implementation/build-and-validate.md +13 -0
- package/onboarding/prompts/proof/complete.md +7 -0
- package/onboarding/prompts/proof/round-trip.md +16 -0
- package/onboarding/prompts/subagent/create-plan.md +14 -0
- package/onboarding/prompts/subagent/implement-and-validate.md +13 -0
- package/onboarding/prompts/subagent/inspect-repository.md +14 -0
- package/onboarding/prompts/subagent/prove-round-trip.md +20 -0
- package/onboarding/prompts/unsupported/no-validated-path.md +17 -0
- package/package.json +4 -1
- package/release/release-tool.js +8 -2
package/README.md
CHANGED
|
@@ -60,6 +60,16 @@ commands. It stores the local CLI session used by `whoami`, `license`, and the
|
|
|
60
60
|
`init`/`create` workspace connection; it does not scaffold a project or issue a
|
|
61
61
|
license key by itself.
|
|
62
62
|
|
|
63
|
+
For a coding agent that needs an agent-readable sign-in flow, use:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
copilotkit login --json
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The command prints JSON lines for the sign-in URL, the action to take, and the
|
|
70
|
+
final result. It does not open a browser. A failed sign-in prints one final
|
|
71
|
+
failure object and exits nonzero.
|
|
72
|
+
|
|
63
73
|
The onboarding commands are:
|
|
64
74
|
|
|
65
75
|
- `copilotkit init`
|
|
@@ -134,6 +144,12 @@ available. Where the flow needs you to do something in a provider console it
|
|
|
134
144
|
stops and tells you what, why, which variables to set, and the exact command to
|
|
135
145
|
resume with. A stop is a normal outcome and exits 0.
|
|
136
146
|
|
|
147
|
+
At an interactive terminal, `channels add support --adapter teams` sets up the
|
|
148
|
+
Microsoft app automatically when it finds no existing credential input. Existing
|
|
149
|
+
Teams credentials in `.env` or the process environment keep the by-hand attach
|
|
150
|
+
path. Pass `--no-provision` to choose that path yourself. Non-interactive runs
|
|
151
|
+
stay on the by-hand path unless they pass `--provision`.
|
|
152
|
+
|
|
137
153
|
No flag accepts a credential value. Credentials are read from your project's
|
|
138
154
|
`.env`, from a named environment variable, or from a JSON document on stdin; at a
|
|
139
155
|
terminal the CLI offers a masked prompt instead.
|
|
@@ -210,8 +226,20 @@ copilotkit skills install --list
|
|
|
210
226
|
copilotkit skills onboard
|
|
211
227
|
copilotkit skills onboard --no-clipboard
|
|
212
228
|
copilotkit skills onboard --channels
|
|
229
|
+
# Run `copilotkit project select` in this directory first.
|
|
230
|
+
copilotkit skills download <learning-container-id> --output ./learned-skills
|
|
213
231
|
```
|
|
214
232
|
|
|
233
|
+
When the `learning.platform-v1` rollout flag is on, `copilotkit skills download`
|
|
234
|
+
signs in through the existing CLI session, reads the project selected in the
|
|
235
|
+
current directory, fetches that container's immutable ZIP through a
|
|
236
|
+
project-scoped app-api route, checks its SHA-256 ETag when present, and extracts
|
|
237
|
+
each skill directory into the new `--output` path.
|
|
238
|
+
It stops if the output path already exists. A malformed archive, unsafe path,
|
|
239
|
+
symbolic link, collision, or partial write leaves no output directory behind.
|
|
240
|
+
The CLI rejects downloads over 20 MiB and bundles with more than 1,000 files,
|
|
241
|
+
a file over 256 KiB, or more than 16 MiB of extracted content.
|
|
242
|
+
|
|
215
243
|
`--channels` hands over the Slack Channel setup prompt instead of the generic
|
|
216
244
|
add-CopilotKit-to-my-app prompt. It is the same prompt
|
|
217
245
|
`copilotkit channels setup` prints; only the prompt differs, and the install
|
|
@@ -365,12 +393,34 @@ revalidate the live Clerk organization before using local auth as needed. If a
|
|
|
365
393
|
workspace or organization check fails because the cached session is stale, the
|
|
366
394
|
CLI may clear local auth and rerun browser login before continuing.
|
|
367
395
|
|
|
396
|
+
### A command, subcommand, or flag that should exist is rejected
|
|
397
|
+
|
|
398
|
+
`npx` keys its cache on the spec string, so `copilotkit@latest` can keep serving
|
|
399
|
+
a build it installed while `latest` was an older version. Input that ships in the
|
|
400
|
+
published CLI then looks unshipped. Sandboxed environments with a prepopulated
|
|
401
|
+
npm cache, and a global `copilotkit` earlier on `PATH`, produce the same symptom.
|
|
402
|
+
|
|
403
|
+
Every rejection path — unknown command, unknown subcommand, and unknown option —
|
|
404
|
+
names the version that actually ran. Read it before concluding something was
|
|
405
|
+
never released, and compare it against the registry:
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
npm view copilotkit version # what is published
|
|
409
|
+
npx --yes copilotkit@<version> ... # pin it explicitly; bypasses the cached spec
|
|
410
|
+
rm -rf ~/.npm/_npx # if the pin is not enough
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
`copilotkit version` reports the same version alongside the build and commit.
|
|
414
|
+
Adding `@latest` does not force a re-resolve; only an exact-version spec or a
|
|
415
|
+
cache clear does.
|
|
416
|
+
|
|
368
417
|
## Telemetry
|
|
369
418
|
|
|
370
|
-
The CLI collects
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
419
|
+
The CLI collects usage data such as command names, results, and timing. While
|
|
420
|
+
you are signed in, the data is linked to your CopilotKit account. The onboarding
|
|
421
|
+
feedback command can also send up to 2,048 UTF-8 bytes of text. Collection is
|
|
422
|
+
enabled by default; the first interactive run prints a one-time notice that
|
|
423
|
+
explains the data and how to opt out.
|
|
374
424
|
|
|
375
425
|
Manage the preference at any time:
|
|
376
426
|
|
package/cli-build-info.json
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "copilotkit",
|
|
5
|
-
"version": "4.8.
|
|
5
|
+
"version": "4.8.3"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "a000695b07fd11c83d6a82d51079f839a876be66"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "e0a2f00cca326c76739217e8ca40902e609539a4",
|
|
12
|
+
"commit": "e0a2f00cca326c76739217e8ca40902e609539a4"
|
|
13
13
|
},
|
|
14
14
|
"channel": "production",
|
|
15
|
-
"triggeringActor": "
|
|
15
|
+
"triggeringActor": "MikeRyanDev",
|
|
16
16
|
"workflow": {
|
|
17
|
-
"runId": "
|
|
18
|
-
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/
|
|
17
|
+
"runId": "32159069979",
|
|
18
|
+
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/32159069979"
|
|
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-08-
|
|
27
|
+
"builtAt": "2026-08-18T16:14:50Z"
|
|
28
28
|
}
|