copilotkit 4.3.0 → 4.4.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 +25 -2
- package/index.js +7708 -1144
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,10 +15,33 @@ npx copilotkit@latest init
|
|
|
15
15
|
For this workspace, build and run the local CLI with Nx:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
pnpm nx build cli
|
|
18
|
+
CLI_ENV=local pnpm nx build cli
|
|
19
19
|
node dist/apps/cli/index.js --help
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
## Manual local validation
|
|
23
|
+
|
|
24
|
+
For manual login/session and hosted-project validation, run the supported built
|
|
25
|
+
artifact:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
CLI_ENV=local pnpm nx build cli
|
|
29
|
+
node dist/apps/cli/index.js login
|
|
30
|
+
node dist/apps/cli/index.js whoami
|
|
31
|
+
node dist/apps/cli/index.js project select
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`project select` selects or creates a hosted Intelligence project and provisions
|
|
35
|
+
its project-scoped `INTELLIGENCE_API_KEY`. Threads-enabled `init` and `create`
|
|
36
|
+
scaffolds run the same hosted project selection and API-key provisioning path;
|
|
37
|
+
use the built entrypoint when manually validating those steps too.
|
|
38
|
+
|
|
39
|
+
Do not run raw CLI source with commands such as
|
|
40
|
+
`pnpm exec tsx apps/cli/src/index.ts login`; source execution bypasses the
|
|
41
|
+
supported bundle, build-time defines, and packaging behavior, so it does not
|
|
42
|
+
validate the CLI users receive. An explicitly approved workspace wrapper is
|
|
43
|
+
acceptable only when it runs the built artifact.
|
|
44
|
+
|
|
22
45
|
## Discover Commands
|
|
23
46
|
|
|
24
47
|
Run help first when exploring the CLI:
|
|
@@ -54,7 +77,7 @@ persistence, insights), and `init` provisions a free license automatically —
|
|
|
54
77
|
you sign in with your browser during scaffolding. The `-i`/`--intelligence`
|
|
55
78
|
flag is retained as a deprecated no-op for backward compatibility.
|
|
56
79
|
|
|
57
|
-
Supported framework values include `langgraph-py`, `langgraph-js`, `mastra`, `pydantic-ai`, `aws-strands-py`, `adk`, `a2a`, `microsoft-agent-framework-dotnet`, `microsoft-agent-framework-py`, `flows`, `llamaindex`, `agno`, `ag2`, `mcp-apps`, `agentcore-langgraph`, `agentcore-strands`, `a2ui`, and `opengenui`.
|
|
80
|
+
Supported framework values include `langgraph-py`, `langgraph-js`, `claude-sdk-typescript`, `claude-sdk-python`, `mastra`, `pydantic-ai`, `aws-strands-py`, `adk`, `a2a`, `microsoft-agent-framework-dotnet`, `microsoft-agent-framework-py`, `flows`, `llamaindex`, `agno`, `ag2`, `mcp-apps`, `agentcore-langgraph`, `agentcore-strands`, `a2ui`, and `opengenui`.
|
|
58
81
|
|
|
59
82
|
`init` and `create` collect your starter choices, then connect project creation
|
|
60
83
|
to your CopilotKit workspace through Ops/Clerk before scaffolding. If you
|