copilotkit 4.5.0 → 4.6.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 +87 -0
- package/cli-build-info.json +7 -7
- package/index.js +12432 -7036
- package/package.json +1 -1
- package/release/release-tool.js +28 -5
package/README.md
CHANGED
|
@@ -85,6 +85,87 @@ already have a valid CLI session, the CLI reuses that workspace connection;
|
|
|
85
85
|
otherwise it opens browser sign-in. This workspace connection is required for
|
|
86
86
|
project creation and is separate from license issuance.
|
|
87
87
|
|
|
88
|
+
## Managed Channels
|
|
89
|
+
|
|
90
|
+
`copilotkit channels` connects a hosted Intelligence project to Slack or
|
|
91
|
+
Microsoft Teams. The supported path today is a project scaffolded by
|
|
92
|
+
`copilotkit init`, which offers a Channel during setup and writes the hosted
|
|
93
|
+
`INTELLIGENCE_*` values the runtime needs.
|
|
94
|
+
|
|
95
|
+
The commands also run in a project that already exists, but that path is not
|
|
96
|
+
hardened yet: `copilotkit project select` provisions the project API key without
|
|
97
|
+
the hosted URLs, so a Channel can attach and still be unable to connect. See
|
|
98
|
+
OSS-714.
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
copilotkit channels add support
|
|
102
|
+
copilotkit channels add support --adapter teams
|
|
103
|
+
copilotkit channels status
|
|
104
|
+
copilotkit channels list
|
|
105
|
+
copilotkit channels rotate support --adapter slack
|
|
106
|
+
copilotkit channels setup
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
This configures **managed Intelligence Channels**. It does not configure the
|
|
110
|
+
open-source `@copilotkit/channels` adapter packages, which are a separate product
|
|
111
|
+
that shares the words "channels" and "Slack".
|
|
112
|
+
|
|
113
|
+
`channels add` does the next undone step and is safe to re-run: it declares the
|
|
114
|
+
Channel in `.copilotkit/channels.json`, creates it on the server, writes the
|
|
115
|
+
provider app manifest, and attaches the adapter once your credentials are
|
|
116
|
+
available. Where the flow needs you to do something in a provider console it
|
|
117
|
+
stops and tells you what, why, which variables to set, and the exact command to
|
|
118
|
+
resume with. A stop is a normal outcome and exits 0.
|
|
119
|
+
|
|
120
|
+
No flag accepts a credential value. Credentials are read from your project's
|
|
121
|
+
`.env`, from a named environment variable, or from a JSON document on stdin; at a
|
|
122
|
+
terminal the CLI offers a masked prompt instead.
|
|
123
|
+
|
|
124
|
+
### Agent-assisted setup
|
|
125
|
+
|
|
126
|
+
Most of Slack setup is browser work — creating the app, collecting its tokens,
|
|
127
|
+
installing it into a workspace. `channels setup` hands that to your coding
|
|
128
|
+
agent instead of walking it yourself:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
copilotkit channels setup
|
|
132
|
+
copilotkit channels setup --no-clipboard
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
It prints a setup prompt and copies it to your clipboard; paste it into Claude
|
|
136
|
+
(or your coding agent) to start. The prompt is always printed, so you can read
|
|
137
|
+
it before handing it over. Pass `--no-clipboard` in a headless or remote shell.
|
|
138
|
+
|
|
139
|
+
The prompt points at the `setup-slack-channel` skill, so install the skills
|
|
140
|
+
first:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npx copilotkit@latest skills install --skill setup-slack-channel
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
`channels setup` does not install or check for the skill, so the prompt itself
|
|
147
|
+
tells the agent to stop and ask for that command if the skill is missing —
|
|
148
|
+
rather than fall back to setting Slack up from memory against a live workspace.
|
|
149
|
+
|
|
150
|
+
`copilotkit skills onboard --channels` does both in one pass — installs the
|
|
151
|
+
skills, signs you in, and hands over the same prompt.
|
|
152
|
+
|
|
153
|
+
`channels setup` reaches no server and provisions nothing. It needs no hosted
|
|
154
|
+
project and no sign-in, so it works from any directory.
|
|
155
|
+
|
|
156
|
+
`channels status` compares three things that all have to agree — your declared
|
|
157
|
+
configuration, your project's source, and the server — and names whichever one is
|
|
158
|
+
missing. That includes the failure worth knowing about: some runtime mounts defer
|
|
159
|
+
opening the gateway connection until an awaited `channels.ready()` call, so on
|
|
160
|
+
those a project that never makes the call serves HTTP normally, reports no error,
|
|
161
|
+
and answers nothing. Mounts that own their process lifetime start on their own,
|
|
162
|
+
and `status` distinguishes the two rather than warning about both.
|
|
163
|
+
|
|
164
|
+
`--json` emits a versioned envelope on stdout for agents and scripts, never
|
|
165
|
+
prompts, and never opens a browser. See
|
|
166
|
+
[Managed Channel CLI contracts](../../docs/channels-cli-contracts.md) for the
|
|
167
|
+
declared-Channels file, the envelope shape, and the credential resolution order.
|
|
168
|
+
|
|
88
169
|
## Skills And Agent-Assisted Onboarding
|
|
89
170
|
|
|
90
171
|
Use `copilotkit create` to start a **new** project. Use `copilotkit skills onboard`
|
|
@@ -97,8 +178,14 @@ copilotkit skills install --skill react-core,runtime --agent claude-code
|
|
|
97
178
|
copilotkit skills install --list
|
|
98
179
|
copilotkit skills onboard
|
|
99
180
|
copilotkit skills onboard --no-clipboard
|
|
181
|
+
copilotkit skills onboard --channels
|
|
100
182
|
```
|
|
101
183
|
|
|
184
|
+
`--channels` hands over the Slack Channel setup prompt instead of the generic
|
|
185
|
+
add-CopilotKit-to-my-app prompt. It is the same prompt
|
|
186
|
+
`copilotkit channels setup` prints; only the prompt differs, and the install
|
|
187
|
+
and sign-in are unchanged.
|
|
188
|
+
|
|
102
189
|
`copilotkit skills install` installs CopilotKit agent skills for your coding
|
|
103
190
|
agent (Claude Code, Codex, Cursor, Gemini, and others) by running the standalone
|
|
104
191
|
`skills` installer under the hood.
|
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.6.0"
|
|
6
6
|
},
|
|
7
7
|
"intelligence": {
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "bbe66a43632d05b5206cebdf49518d7335cc0f78"
|
|
9
9
|
},
|
|
10
10
|
"copilotKit": {
|
|
11
|
-
"submittedInput": "
|
|
12
|
-
"commit": "
|
|
11
|
+
"submittedInput": "bc80efb17f5b729cc96a50cbbefca163079dc781",
|
|
12
|
+
"commit": "bc80efb17f5b729cc96a50cbbefca163079dc781"
|
|
13
13
|
},
|
|
14
14
|
"channel": "production",
|
|
15
15
|
"triggeringActor": "MikeRyanDev",
|
|
16
16
|
"workflow": {
|
|
17
|
-
"runId": "
|
|
18
|
-
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/
|
|
17
|
+
"runId": "30914059582",
|
|
18
|
+
"runUrl": "https://github.com/CopilotKit/Intelligence/actions/runs/30914059582"
|
|
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-08-04T13:31:09Z"
|
|
28
28
|
}
|