copilotkit 4.25.1 → 4.26.0

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 (91) hide show
  1. package/README.md +15 -10
  2. package/cli-build-info.json +6 -6
  3. package/index.js +795 -716
  4. package/onboarding/index.json +2 -2
  5. package/onboarding/prompts/authenticate/start.md +13 -13
  6. package/onboarding/prompts/conversion/plan.md +3 -3
  7. package/onboarding/prompts/credentials/finalize-plan.md +13 -13
  8. package/onboarding/prompts/credentials/plan.md +23 -23
  9. package/onboarding/prompts/credentials/settle-credentials.md +8 -7
  10. package/onboarding/prompts/credentials/write-plan.md +7 -7
  11. package/onboarding/prompts/deployment/choose-local.md +10 -10
  12. package/onboarding/prompts/deployment/local-evaluation.md +7 -7
  13. package/onboarding/prompts/fallback/best-effort.md +6 -6
  14. package/onboarding/prompts/feature/a2ui/implement.md +4 -4
  15. package/onboarding/prompts/feature/a2ui/plan.md +3 -3
  16. package/onboarding/prompts/feature/a2ui/proof.md +5 -5
  17. package/onboarding/prompts/feature/a2ui/start.md +8 -8
  18. package/onboarding/prompts/feature/channels/implement.md +6 -6
  19. package/onboarding/prompts/feature/channels/plan.md +3 -3
  20. package/onboarding/prompts/feature/channels/proof.md +5 -5
  21. package/onboarding/prompts/feature/channels/start.md +8 -8
  22. package/onboarding/prompts/feature/chat-suggestions/implement.md +4 -4
  23. package/onboarding/prompts/feature/chat-suggestions/plan.md +3 -3
  24. package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
  25. package/onboarding/prompts/feature/chat-suggestions/start.md +8 -8
  26. package/onboarding/prompts/feature/complete.md +2 -2
  27. package/onboarding/prompts/feature/learning/implement.md +12 -12
  28. package/onboarding/prompts/feature/learning/plan.md +4 -4
  29. package/onboarding/prompts/feature/learning/proof.md +12 -12
  30. package/onboarding/prompts/feature/learning/start.md +8 -8
  31. package/onboarding/prompts/feature/open-generative-ui/implement.md +4 -4
  32. package/onboarding/prompts/feature/open-generative-ui/plan.md +3 -3
  33. package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
  34. package/onboarding/prompts/feature/open-generative-ui/start.md +8 -8
  35. package/onboarding/prompts/feature/realtime-sync/implement.md +5 -5
  36. package/onboarding/prompts/feature/realtime-sync/plan.md +3 -3
  37. package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
  38. package/onboarding/prompts/feature/realtime-sync/start.md +7 -7
  39. package/onboarding/prompts/feature/rich-threads/implement.md +6 -6
  40. package/onboarding/prompts/feature/rich-threads/plan.md +3 -3
  41. package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
  42. package/onboarding/prompts/feature/rich-threads/start.md +7 -7
  43. package/onboarding/prompts/feature/stop.md +4 -4
  44. package/onboarding/prompts/feature/voice/implement.md +4 -4
  45. package/onboarding/prompts/feature/voice/plan.md +4 -4
  46. package/onboarding/prompts/feature/voice/proof.md +5 -5
  47. package/onboarding/prompts/feature/voice/start.md +8 -8
  48. package/onboarding/prompts/framework/ag2.md +2 -2
  49. package/onboarding/prompts/framework/agno.md +2 -2
  50. package/onboarding/prompts/framework/built-in.md +2 -2
  51. package/onboarding/prompts/framework/claude-sdk-python.md +2 -2
  52. package/onboarding/prompts/framework/claude-sdk-typescript.md +2 -2
  53. package/onboarding/prompts/framework/crewai-flows.md +3 -3
  54. package/onboarding/prompts/framework/custom-ag-ui.md +3 -3
  55. package/onboarding/prompts/framework/deep-agents.md +2 -2
  56. package/onboarding/prompts/framework/google-adk.md +2 -2
  57. package/onboarding/prompts/framework/langgraph-fastapi.md +2 -2
  58. package/onboarding/prompts/framework/langgraph-python.md +2 -2
  59. package/onboarding/prompts/framework/langgraph-typescript.md +2 -2
  60. package/onboarding/prompts/framework/llamaindex.md +2 -2
  61. package/onboarding/prompts/framework/mastra.md +2 -2
  62. package/onboarding/prompts/framework/ms-agent-dotnet.md +4 -4
  63. package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +4 -4
  64. package/onboarding/prompts/framework/ms-agent-python.md +2 -2
  65. package/onboarding/prompts/framework/pydantic-ai.md +2 -2
  66. package/onboarding/prompts/framework/strands-python.md +2 -2
  67. package/onboarding/prompts/framework/strands-typescript.md +2 -2
  68. package/onboarding/prompts/frontend/angular.md +4 -4
  69. package/onboarding/prompts/frontend/nextjs.md +4 -4
  70. package/onboarding/prompts/frontend/plan.md +8 -8
  71. package/onboarding/prompts/frontend/react-native.md +3 -3
  72. package/onboarding/prompts/frontend/react-spa.md +3 -3
  73. package/onboarding/prompts/frontend/vue.md +3 -3
  74. package/onboarding/prompts/implementation/build-and-validate.md +10 -10
  75. package/onboarding/prompts/proof/complete.md +3 -3
  76. package/onboarding/prompts/proof/oss-baseline.md +5 -5
  77. package/onboarding/prompts/proof/round-trip.md +10 -10
  78. package/onboarding/prompts/research/gather.md +8 -8
  79. package/onboarding/prompts/research/merge.md +3 -3
  80. package/onboarding/prompts/research/preflight.md +2 -2
  81. package/onboarding/prompts/research/route.md +4 -4
  82. package/onboarding/prompts/setup/questions.md +31 -29
  83. package/onboarding/prompts/starter/clone.md +23 -23
  84. package/onboarding/prompts/stopped/run-failed.md +3 -3
  85. package/onboarding/prompts/subagent/create-plan.md +9 -5
  86. package/onboarding/prompts/subagent/implement-and-validate.md +6 -3
  87. package/onboarding/prompts/subagent/inspect-repository.md +1 -1
  88. package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
  89. package/onboarding/prompts/subagent/prove-round-trip.md +5 -5
  90. package/onboarding/prompts/unsupported/no-validated-path.md +3 -3
  91. package/package.json +1 -1
package/README.md CHANGED
@@ -1044,14 +1044,19 @@ line on stdout so an already-issued token is not lost, and `project select` repo
1044
1044
  `api_key_provisioned: false` and exits 75. Untrack the file, then re-run. Outside a
1045
1045
  git work tree there is nothing to protect and both write as before.
1046
1046
 
1047
- For a Next.js app, which reads `.env.local` before `.env`, you can keep a tracked
1048
- `.env` and put the key in `.env.local` instead. Pass `--env-name .env.local` to
1049
- `project select`, or to `onboard credentials`, whose `env-file-exposed` question
1050
- offers this choice as `question.alternative`. Only `.env.local` must then be
1051
- ignored: the command adds `/.env.local` to `.gitignore` when it is not, and it
1052
- leaves `.env` as it is. The onboarding run keeps the choice, so later
1053
- `onboard credentials` and `onboard model-key` calls use `.env.local` without the
1054
- flag.
1047
+ For a Next.js app that hosts the CopilotKit runtime in its own route, or will,
1048
+ because the repository has no CopilotKit runtime yet, you can keep a tracked
1049
+ `.env` and put the key in `.env.local` instead: Next.js reads it before `.env`. Pass `--env-name .env.local` to `project select`, or to
1050
+ `onboard credentials`, whose `env-file-exposed` question offers this choice as
1051
+ `question.alternative`. Where the runtime is a separate server the flag is
1052
+ refused, because that server does not read `.env.local`. A runtime import
1053
+ anywhere inside the Next.js app folder counts as the app's own. The search for a
1054
+ separate runtime reads source files up to 12 folders below the repository root
1055
+ and skips `node_modules`, build output and dot folders. The command adds `.env.*` and
1056
+ `!.env.example` to `.gitignore` when they are missing, and leaves `.env` as it
1057
+ is. The onboarding run keeps the choice for that directory only, so later
1058
+ `onboard credentials` and `onboard model-key` calls from there use `.env.local`
1059
+ without the flag, and calls from any other directory use `.env`.
1055
1060
 
1056
1061
  ## Onboarding backups and restore
1057
1062
 
@@ -1944,8 +1949,8 @@ JSON and non-interactive setup require a prior `copilotkit login`.
1944
1949
  Local setup obtains the license after sign-in. The license belongs to the selected
1945
1950
  organization; Ops records the signed-in person who requests it.
1946
1951
  The [local evaluation EULA flow](../../docs/licensing/local-evaluation-eula-cli.md)
1947
- adds acceptance before new setup and renewal licenses. Enforcement defaults off in every environment
1948
- until the CLI ships; development can opt in with a labeled template. Interactive commands show a
1952
+ adds acceptance before new setup and renewal licenses. Hosted dev, staging, and production
1953
+ require acceptance; use CLI 4.25.1 or newer. Interactive commands show a
1949
1954
  short developer-license summary, version, organization, and user, then open the full EULA in the
1950
1955
  browser. Review it, type `accept` exactly, and press Enter. The link stays visible for manual review
1951
1956
  if the browser cannot open. Opening the page does not accept; there is no scroll requirement.
@@ -2,20 +2,20 @@
2
2
  "schemaVersion": 1,
3
3
  "package": {
4
4
  "name": "copilotkit",
5
- "version": "4.25.1"
5
+ "version": "4.26.0"
6
6
  },
7
7
  "intelligence": {
8
- "commit": "a10c17350078f78341c11e534f041224926553b1"
8
+ "commit": "65a719934521967a682f8881d2dd5725b8b5cb4f"
9
9
  },
10
10
  "copilotKit": {
11
11
  "submittedInput": "6c428329c9b81b3aa7e92b602ab1c0a9431d36a3",
12
12
  "commit": "6c428329c9b81b3aa7e92b602ab1c0a9431d36a3"
13
13
  },
14
14
  "channel": "production",
15
- "triggeringActor": "dustywusty",
15
+ "triggeringActor": "BenTaylorDev",
16
16
  "workflow": {
17
- "runId": "37696292513",
18
- "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/37696292513"
17
+ "runId": "37726987302",
18
+ "runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/37726987302"
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-10-07T22:29:19Z"
27
+ "builtAt": "2026-10-08T04:22:13Z"
28
28
  }