copilotkit 4.9.4 → 4.9.24
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 +26 -12
- package/cli-build-info.json +8 -8
- package/index.js +3508 -2375
- package/onboarding/index.json +15 -1
- package/onboarding/prompts/authenticate/start.md +129 -65
- package/onboarding/prompts/conversion/plan.md +113 -0
- package/onboarding/prompts/credentials/finalize-plan.md +174 -138
- package/onboarding/prompts/credentials/plan.md +26 -21
- package/onboarding/prompts/fallback/best-effort.md +103 -22
- package/onboarding/prompts/framework/ag2.md +7 -7
- package/onboarding/prompts/framework/agno.md +11 -8
- package/onboarding/prompts/framework/built-in.md +2 -2
- package/onboarding/prompts/framework/claude-sdk-python.md +7 -7
- package/onboarding/prompts/framework/claude-sdk-typescript.md +9 -9
- package/onboarding/prompts/framework/crewai-flows.md +27 -11
- package/onboarding/prompts/framework/deep-agents.md +8 -7
- package/onboarding/prompts/framework/google-adk.md +3 -3
- package/onboarding/prompts/framework/langgraph-fastapi.md +3 -3
- package/onboarding/prompts/framework/langgraph-python.md +3 -3
- package/onboarding/prompts/framework/langgraph-typescript.md +3 -3
- package/onboarding/prompts/framework/llamaindex.md +6 -6
- package/onboarding/prompts/framework/mastra.md +3 -3
- package/onboarding/prompts/framework/ms-agent-dotnet.md +3 -3
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +7 -9
- package/onboarding/prompts/framework/ms-agent-python.md +3 -3
- package/onboarding/prompts/framework/pydantic-ai.md +26 -15
- package/onboarding/prompts/framework/strands-python.md +7 -6
- package/onboarding/prompts/framework/strands-typescript.md +9 -7
- package/onboarding/prompts/frontend/angular.md +16 -3
- package/onboarding/prompts/frontend/nextjs.md +3 -3
- package/onboarding/prompts/frontend/plan.md +6 -6
- package/onboarding/prompts/frontend/react-native.md +7 -2
- package/onboarding/prompts/frontend/react-spa.md +2 -2
- package/onboarding/prompts/frontend/vue.md +7 -2
- package/onboarding/prompts/implementation/build-and-validate.md +45 -79
- package/onboarding/prompts/proof/complete.md +31 -12
- package/onboarding/prompts/proof/oss-baseline.md +15 -50
- package/onboarding/prompts/proof/round-trip.md +88 -268
- package/onboarding/prompts/starter/clone.md +17 -8
- package/onboarding/prompts/subagent/create-plan.md +52 -1
- package/onboarding/prompts/subagent/implement-and-validate.md +70 -44
- package/onboarding/prompts/subagent/inspect-repository.md +26 -4
- package/onboarding/prompts/subagent/prove-oss-baseline.md +2 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +156 -36
- package/onboarding/prompts/unsupported/no-validated-path.md +10 -2
- package/package.json +1 -1
- package/release/release-tool.js +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ node dist/apps/cli/index.js project select
|
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
`project select` selects or creates a hosted Intelligence project and provisions
|
|
35
|
-
its project-scoped `
|
|
35
|
+
its project-scoped `CPK_INTELLIGENCE_API_KEY`. Threads-enabled `init` and `create`
|
|
36
36
|
scaffolds run the same hosted project selection and API-key provisioning path;
|
|
37
37
|
use the built entrypoint when manually validating those steps too.
|
|
38
38
|
|
|
@@ -86,7 +86,7 @@ that needs the key.
|
|
|
86
86
|
**Check all four summary fields, not just the exit code.** Key provisioning is
|
|
87
87
|
deliberately non-fatal: if it fails, the selection is still persisted, a warning
|
|
88
88
|
goes to stderr, and the command still exits 0 — leaving a scaffold with no
|
|
89
|
-
`
|
|
89
|
+
`CPK_INTELLIGENCE_API_KEY`, whose first run fails with an opaque "Failed to
|
|
90
90
|
initialize thread". `api_key_provisioned` and `environment_file_written` are
|
|
91
91
|
false in this state.
|
|
92
92
|
Re-running `project select` is a valid recovery.
|
|
@@ -145,9 +145,10 @@ copilotkit create --name my-agent --framework langgraph-py
|
|
|
145
145
|
```
|
|
146
146
|
|
|
147
147
|
Every supported framework ships with CopilotKit Intelligence (durable threads,
|
|
148
|
-
persistence, insights)
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
persistence, insights). Managed `init` selects an Intelligence project and
|
|
149
|
+
writes its project-scoped API key; it does not issue or write a managed license
|
|
150
|
+
token. Local/self-hosted builds retain legacy license setup where required. The
|
|
151
|
+
`-i`/`--intelligence` flag is a deprecated no-op kept for compatibility.
|
|
151
152
|
|
|
152
153
|
Rather than maintaining the list of framework values here, ask the CLI:
|
|
153
154
|
|
|
@@ -385,17 +386,17 @@ The CLI expects:
|
|
|
385
386
|
- The .NET SDK for the Microsoft Agent Framework .NET template.
|
|
386
387
|
|
|
387
388
|
Project creation requires a CopilotKit workspace connection through Ops/Clerk
|
|
388
|
-
(browser sign-in when no session exists).
|
|
389
|
-
connection
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
(browser sign-in when no session exists). Managed threads-framework templates
|
|
390
|
+
use that connection to select a project and provision
|
|
391
|
+
`CPK_INTELLIGENCE_API_KEY`; they do not request or write a license token.
|
|
392
|
+
Local/self-hosted builds can still issue the legacy license where required.
|
|
392
393
|
|
|
393
394
|
## Environment Files
|
|
394
395
|
|
|
395
396
|
The scaffold step copies `.env.example` to `.env` when a template provides one.
|
|
396
|
-
|
|
397
|
-
`COPILOTKIT_LICENSE_TOKEN` is present
|
|
398
|
-
|
|
397
|
+
Managed scaffolds write `CPK_INTELLIGENCE_API_KEY` after project selection.
|
|
398
|
+
Local/self-hosted scaffolds still ensure `COPILOTKIT_LICENSE_TOKEN` is present
|
|
399
|
+
when the selected starter requires the legacy license.
|
|
399
400
|
|
|
400
401
|
During scaffolding, `copilotkit init` interactively prompts for any required LLM vendor API key (`OPENAI_API_KEY` or `GOOGLE_API_KEY`) and writes it into `.env` for you — press Enter to skip and set it manually later.
|
|
401
402
|
|
|
@@ -423,6 +424,19 @@ The Microsoft Agent Framework .NET template uses GitHub Models. Set its C# agent
|
|
|
423
424
|
|
|
424
425
|
Do not commit generated `.env` files or personal secrets.
|
|
425
426
|
|
|
427
|
+
Before writing a credential, `copilotkit license --write` and
|
|
428
|
+
`copilotkit project select` ask git whether it ignores the target `.env`. When it
|
|
429
|
+
does not, they append `.env`, `.env.*` and `!.env.example` to your `.gitignore` as
|
|
430
|
+
one marked block, leaving your existing lines untouched. A `.gitignore` listing
|
|
431
|
+
only `.env` does not cover `.env.local`, so a credential written beside it is
|
|
432
|
+
staged by the next `git add -A`.
|
|
433
|
+
|
|
434
|
+
Appending a pattern cannot untrack a file git already tracks. In that one case
|
|
435
|
+
neither command writes the credential: `license` prints the `COPILOTKIT_LICENSE_TOKEN`
|
|
436
|
+
line on stdout so an already-issued token is not lost, and `project select` reports
|
|
437
|
+
`api_key_provisioned: false`. Untrack the file, then re-run. Outside a git work tree
|
|
438
|
+
there is nothing to protect and both write as before.
|
|
439
|
+
|
|
426
440
|
## Version Control
|
|
427
441
|
|
|
428
442
|
Outside a repository, `copilotkit init` runs `git init` in the new app and makes
|
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.24"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "2294aa96b17fd0ef36647b1b414064e107472912"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "2d44d3ff00910e9f3494d5e57aaa7bdd69a82e04",
|
|
12
|
+
"commit": "2d44d3ff00910e9f3494d5e57aaa7bdd69a82e04"
|
|
13
13
|
},
|
|
14
14
|
"channel": "production",
|
|
15
|
-
"triggeringActor": "
|
|
15
|
+
"triggeringActor": "maxkorp",
|
|
16
16
|
"workflow": {
|
|
17
|
-
"runId": "
|
|
18
|
-
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/
|
|
17
|
+
"runId": "33517811596",
|
|
18
|
+
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/33517811596"
|
|
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-
|
|
27
|
+
"builtAt": "2026-09-01T14:12:01Z"
|
|
28
28
|
}
|