copilotkit 4.9.2 → 4.9.17

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 (47) hide show
  1. package/README.md +13 -12
  2. package/cli-build-info.json +8 -8
  3. package/index.js +1879 -685
  4. package/onboarding/index.json +15 -0
  5. package/onboarding/prompts/authenticate/start.md +180 -71
  6. package/onboarding/prompts/conversion/plan.md +103 -0
  7. package/onboarding/prompts/credentials/finalize-plan.md +105 -135
  8. package/onboarding/prompts/credentials/plan.md +42 -25
  9. package/onboarding/prompts/fallback/best-effort.md +107 -16
  10. package/onboarding/prompts/framework/ag2.md +8 -19
  11. package/onboarding/prompts/framework/agno.md +12 -20
  12. package/onboarding/prompts/framework/built-in.md +4 -14
  13. package/onboarding/prompts/framework/claude-sdk-python.md +8 -18
  14. package/onboarding/prompts/framework/claude-sdk-typescript.md +10 -20
  15. package/onboarding/prompts/framework/crewai-flows.md +31 -27
  16. package/onboarding/prompts/framework/deep-agents.md +10 -20
  17. package/onboarding/prompts/framework/google-adk.md +4 -16
  18. package/onboarding/prompts/framework/langgraph-fastapi.md +4 -16
  19. package/onboarding/prompts/framework/langgraph-python.md +4 -16
  20. package/onboarding/prompts/framework/langgraph-typescript.md +4 -16
  21. package/onboarding/prompts/framework/llamaindex.md +8 -19
  22. package/onboarding/prompts/framework/mastra.md +4 -16
  23. package/onboarding/prompts/framework/ms-agent-dotnet.md +19 -50
  24. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +24 -36
  25. package/onboarding/prompts/framework/ms-agent-python.md +4 -16
  26. package/onboarding/prompts/framework/pydantic-ai.md +27 -26
  27. package/onboarding/prompts/framework/strands-python.md +9 -18
  28. package/onboarding/prompts/framework/strands-typescript.md +10 -18
  29. package/onboarding/prompts/frontend/angular.md +22 -19
  30. package/onboarding/prompts/frontend/nextjs.md +6 -16
  31. package/onboarding/prompts/frontend/plan.md +9 -14
  32. package/onboarding/prompts/frontend/react-native.md +11 -14
  33. package/onboarding/prompts/frontend/react-spa.md +5 -15
  34. package/onboarding/prompts/frontend/vue.md +12 -14
  35. package/onboarding/prompts/implementation/build-and-validate.md +61 -101
  36. package/onboarding/prompts/proof/complete.md +24 -5
  37. package/onboarding/prompts/proof/oss-baseline.md +15 -50
  38. package/onboarding/prompts/proof/round-trip.md +96 -271
  39. package/onboarding/prompts/starter/clone.md +4 -4
  40. package/onboarding/prompts/subagent/create-plan.md +49 -11
  41. package/onboarding/prompts/subagent/implement-and-validate.md +71 -51
  42. package/onboarding/prompts/subagent/inspect-repository.md +38 -9
  43. package/onboarding/prompts/subagent/prove-oss-baseline.md +2 -1
  44. package/onboarding/prompts/subagent/prove-round-trip.md +154 -51
  45. package/onboarding/prompts/unsupported/no-validated-path.md +10 -2
  46. package/package.json +1 -1
  47. 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 `INTELLIGENCE_API_KEY`. Threads-enabled `init` and `create`
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
- `INTELLIGENCE_API_KEY`, whose first run fails with an opaque "Failed to
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), and `init` provisions a free license automatically —
149
- you sign in with your browser during scaffolding. The `-i`/`--intelligence`
150
- flag is retained as a deprecated no-op for backward compatibility.
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). Standard framework templates use that
389
- connection only to authorize creation; they do not request or write a license
390
- key. Threads-framework templates additionally issue a CopilotKit license key and
391
- write it into the generated project.
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
- If the selected starter requires a license, the CLI also ensures
397
- `COPILOTKIT_LICENSE_TOKEN` is present in `.env`. Standard starters do not receive
398
- a license token.
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
 
@@ -2,20 +2,20 @@
2
2
  "schemaVersion": 1,
3
3
  "package": {
4
4
  "name": "copilotkit",
5
- "version": "4.9.2"
5
+ "version": "4.9.17"
6
6
  },
7
7
  "intelligence": {
8
- "commit": "bc4cd3dc36cef218051ef6236acdef7033d2a7b0"
8
+ "commit": "2e15855e40f342daf1805da34a8ac3d9e708e082"
9
9
  },
10
10
  "copilotKit": {
11
- "submittedInput": "e432fd161b9114fb15080dbd9d9208e29f5e8960",
12
- "commit": "e432fd161b9114fb15080dbd9d9208e29f5e8960"
11
+ "submittedInput": "f08f478cf73c46d34e8db03dedcc61f695f9b9b5",
12
+ "commit": "f08f478cf73c46d34e8db03dedcc61f695f9b9b5"
13
13
  },
14
14
  "channel": "production",
15
- "triggeringActor": "MikeRyanDev",
15
+ "triggeringActor": "maxkorp",
16
16
  "workflow": {
17
- "runId": "33012065996",
18
- "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/33012065996"
17
+ "runId": "33436603154",
18
+ "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/33436603154"
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-26T20:47:57Z"
27
+ "builtAt": "2026-08-31T20:34:20Z"
28
28
  }