copilotkit 4.20.0 → 4.21.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.
- package/README.md +28 -0
- package/cli-build-info.json +8 -8
- package/index.js +3530 -2868
- package/onboarding/prompts/authenticate/start.md +8 -8
- package/onboarding/prompts/conversion/plan.md +3 -3
- package/onboarding/prompts/credentials/finalize-plan.md +7 -7
- package/onboarding/prompts/credentials/plan.md +22 -22
- package/onboarding/prompts/credentials/settle-credentials.md +3 -3
- package/onboarding/prompts/credentials/write-plan.md +5 -5
- package/onboarding/prompts/fallback/best-effort.md +8 -8
- package/onboarding/prompts/feature/a2ui/implement.md +6 -6
- package/onboarding/prompts/feature/a2ui/proof.md +5 -5
- package/onboarding/prompts/feature/a2ui/start.md +9 -9
- package/onboarding/prompts/feature/channels/implement.md +7 -7
- package/onboarding/prompts/feature/channels/proof.md +5 -5
- package/onboarding/prompts/feature/channels/start.md +9 -9
- package/onboarding/prompts/feature/chat-suggestions/implement.md +6 -6
- package/onboarding/prompts/feature/chat-suggestions/proof.md +5 -5
- package/onboarding/prompts/feature/chat-suggestions/start.md +9 -9
- package/onboarding/prompts/feature/complete.md +2 -2
- package/onboarding/prompts/feature/learning/implement.md +13 -13
- package/onboarding/prompts/feature/learning/proof.md +6 -6
- package/onboarding/prompts/feature/learning/start.md +9 -9
- package/onboarding/prompts/feature/open-generative-ui/implement.md +6 -6
- package/onboarding/prompts/feature/open-generative-ui/proof.md +5 -5
- package/onboarding/prompts/feature/open-generative-ui/start.md +9 -9
- package/onboarding/prompts/feature/realtime-sync/implement.md +7 -7
- package/onboarding/prompts/feature/realtime-sync/proof.md +5 -5
- package/onboarding/prompts/feature/realtime-sync/start.md +8 -8
- package/onboarding/prompts/feature/rich-threads/implement.md +8 -8
- package/onboarding/prompts/feature/rich-threads/proof.md +5 -5
- package/onboarding/prompts/feature/rich-threads/start.md +8 -8
- package/onboarding/prompts/feature/stop.md +3 -3
- package/onboarding/prompts/feature/voice/implement.md +6 -6
- package/onboarding/prompts/feature/voice/proof.md +5 -5
- package/onboarding/prompts/feature/voice/start.md +9 -9
- 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 +3 -3
- package/onboarding/prompts/framework/ms-agent-harness-dotnet.md +3 -3
- 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 +7 -7
- 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 +12 -12
- package/onboarding/prompts/proof/complete.md +3 -3
- package/onboarding/prompts/proof/oss-baseline.md +5 -5
- package/onboarding/prompts/proof/round-trip.md +8 -8
- package/onboarding/prompts/research/gather.md +5 -5
- package/onboarding/prompts/research/merge.md +2 -2
- package/onboarding/prompts/research/preflight.md +2 -2
- package/onboarding/prompts/research/route.md +5 -5
- package/onboarding/prompts/starter/clone.md +5 -5
- package/onboarding/prompts/stopped/run-failed.md +2 -2
- package/onboarding/prompts/subagent/create-plan.md +1 -1
- package/onboarding/prompts/subagent/inspect-repository.md +1 -1
- package/onboarding/prompts/subagent/prove-oss-baseline.md +1 -1
- package/onboarding/prompts/subagent/prove-round-trip.md +10 -10
- package/onboarding/prompts/unsupported/no-validated-path.md +2 -2
- package/package.json +1 -1
- package/release/release-tool.js +9 -5
package/README.md
CHANGED
|
@@ -1545,3 +1545,31 @@ copilotkit import --source langgraph --langgraph-snapshot native.jsonl \
|
|
|
1545
1545
|
The destination frontend must register that catalog. This option works with all import sources and applies to every selected conversation; import applications with different defaults separately. Explicit native `catalogId` values and native A2UI operation payloads take precedence. Native tool arguments/results are preserved; the setting only controls reconstructed UI. Without the option, existing replay behavior is unchanged. Invalid empty/whitespace identifiers fail before upload. No catalog is inferred from message prose.
|
|
1546
1546
|
|
|
1547
1547
|
API callers can set `replayConfig: { defaultCatalogId: "copilotkit://app-dashboard-catalog" }` on each normalized conversation. An unchanged source identity is still deduplicated: changing this option does not update an existing import. Use the existing `--replace` workflow to regenerate its imported history, after accounting for any destination changes.
|
|
1548
|
+
|
|
1549
|
+
## Claude Managed Agents starter
|
|
1550
|
+
|
|
1551
|
+
```bash
|
|
1552
|
+
copilotkit init --template claude-managed-agents
|
|
1553
|
+
```
|
|
1554
|
+
|
|
1555
|
+
The command clones the Claude Managed Agents starter from CopilotKit, creates a Learning Container and runtime key in the selected Intelligence project, installs dependencies, and provisions the Anthropic agent and environment with Ant. The frontend contains the SDK thread drawer and CopilotChat with the Beautiful Chat styles. The Inspector uses the SDK defaults and is available during local development. The generated README covers daily development and links to the component docs. A separate `REFERENCE.md` covers configuration and deployment. New threads bind to the Learning Container; the starter fetches published Skill files through the Intelligence SDK, uploads them to Anthropic, and pins their native versions for each new session. Existing sessions retain their skills.
|
|
1556
|
+
|
|
1557
|
+
Requires Node.js 20.19+, Git, npm, Ant, Intelligence Learning access, and a Claude Console workspace with Managed Agents access and credits. Ant owns and refreshes its OAuth credentials; the CLI never copies them into the app. The project runtime key, container ID, and local app-user ID go into gitignored `.env.local` with private file permissions.
|
|
1558
|
+
|
|
1559
|
+
Interactive setup asks for the app directory, opens Intelligence login when needed, and uses the existing project picker to select or create a project. If Ant is missing, setup offers to install it with Homebrew or Go when either is available. Otherwise it prints both installation methods and the [Ant installation guide](https://github.com/anthropics/anthropic-cli#installation). Installation must finish with Ant available on `PATH`. Setup opens Ant login when needed and asks before starting the dev server. Between prompts, setup stops reading terminal input so Ant and npm can receive input and Ctrl-C.
|
|
1560
|
+
|
|
1561
|
+
Pass `--name my-app` to name the directory, `--project <slug>` to select a project, or `--create "Project name"` to create one. Use `--profile work` for an Ant profile, `--no-dev` to skip the dev-server offer, and `--skip-install` (or `--no-install`) to install app dependencies yourself. The destination must be a new child directory. `copilotkit with-claude [directory]` opens the same setup flow.
|
|
1562
|
+
|
|
1563
|
+
For automation, sign in to both services first, then run:
|
|
1564
|
+
|
|
1565
|
+
```bash
|
|
1566
|
+
copilotkit init --template claude-managed-agents --name my-app --project your-project-slug --yes
|
|
1567
|
+
```
|
|
1568
|
+
|
|
1569
|
+
With `--yes` or no terminal, setup never opens prompts, installs Ant, or starts the dev server. It requires existing logins and Ant on `PATH`. Without project flags it uses the current directory's selected Intelligence project; without a name it uses `my-claude-app`.
|
|
1570
|
+
|
|
1571
|
+
A failed install leaves the configured app in place: run `npm install`, then `npm run agent:apply`, then `npm run dev` there. Failed Ant provisioning can be retried with `npm run agent:apply`. Neither failure prints Ready. A Learning or key error stops setup and reports the remaining step; remote resources are not deleted automatically.
|
|
1572
|
+
|
|
1573
|
+
The starter listens on localhost and uses one local developer identity. Before deployment, add verified user authentication, request limits, and durable Managed Agents session mappings. Intelligence thread storage does not replace that adapter mapping.
|
|
1574
|
+
|
|
1575
|
+
Release ordering: merge the CopilotKit starter before releasing this command. The shared starter catalog includes `examples/integrations/claude-managed-agents`, so the release source gate rejects a template revision that omits it. The command uses the build-pinned CopilotKit revision, like the existing starters.
|
package/cli-build-info.json
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "copilotkit",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.21.0"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "83dc327eb0243ab1d5a74b9fd1496b9f8679d3df"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "3dc45f8bdca6665af9b4cc5cecfbcb8ab057e426",
|
|
12
|
+
"commit": "3dc45f8bdca6665af9b4cc5cecfbcb8ab057e426"
|
|
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": "36646329163",
|
|
18
|
+
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/36646329163"
|
|
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-29T23:
|
|
27
|
+
"builtAt": "2026-09-29T23:41:18Z"
|
|
28
28
|
}
|