@copilotkit/channels-core 0.8.0 → 0.9.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 +9 -8
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,10 +4,12 @@ The supported platform-neutral foundation behind `@copilotkit/channels`.
|
|
|
4
4
|
Most applications should use the batteries-included `@copilotkit/channels` package;
|
|
5
5
|
install core directly when building an adapter or intentionally selecting one platform.
|
|
6
6
|
|
|
7
|
-
**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
**Channels run through a channel runner.** CopilotKit Intelligence provides the
|
|
8
|
+
managed runner, available on a free plan: the `CopilotRuntime` starts and owns
|
|
9
|
+
each Channel once Intelligence is configured — see "Running a Channel" below.
|
|
10
|
+
Building and operating your own channel runner on the SDK primitives is also a
|
|
11
|
+
supported path; teams choosing it own their state, persistence, concurrency,
|
|
12
|
+
locking, retries, and race-condition handling.
|
|
11
13
|
|
|
12
14
|
## Selective install
|
|
13
15
|
|
|
@@ -65,10 +67,9 @@ A `Channel` has no public `start()` / `stop()` — lifecycle is runtime-owned
|
|
|
65
67
|
|
|
66
68
|
## Running a Channel
|
|
67
69
|
|
|
68
|
-
|
|
69
|
-
`CopilotRuntime
|
|
70
|
-
|
|
71
|
-
handler:
|
|
70
|
+
In the managed path, a Channel runs when it's declared on an
|
|
71
|
+
Intelligence-configured `CopilotRuntime`. Pass the `Channel` in `channels`,
|
|
72
|
+
then drive activation through the returned handler:
|
|
72
73
|
|
|
73
74
|
```ts
|
|
74
75
|
import { createChannel } from "@copilotkit/channels-core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/channels-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Platform-agnostic JSX channel engine for CopilotKit (createChannel, Thread, PlatformAdapter, ActionStore).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@ag-ui/client": "0.0.57",
|
|
52
52
|
"@ag-ui/core": "0.0.57",
|
|
53
53
|
"zod-to-json-schema": "^3.24.1",
|
|
54
|
-
"@copilotkit/channels-ui": "~0.
|
|
55
|
-
"@copilotkit/
|
|
56
|
-
"@copilotkit/
|
|
54
|
+
"@copilotkit/channels-ui": "~0.9.0",
|
|
55
|
+
"@copilotkit/shared": "^1.68.0",
|
|
56
|
+
"@copilotkit/core": "^1.68.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^22.10.0",
|