@copilotkit/channels 0.12.0 → 0.13.0-rc.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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  provides the engine, JSX vocabulary, UI primitives, testing API, and every supported adapter.
5
5
 
6
6
  **Channels run through a channel runner.** CopilotKit Intelligence provides the
7
- managed runner, available on a free plan: the `CopilotRuntime` starts and owns
7
+ managed runner, available on a free plan: the `CopilotKitRuntime` starts and owns
8
8
  each Channel's lifecycle once Intelligence is configured. You can also build and
9
9
  operate your own channel runner on the lower-level SDK primitives, with no
10
10
  Intelligence dependency — a supported path where your team owns state,
@@ -30,8 +30,8 @@ Configure TypeScript to use the Channels JSX runtime:
30
30
  ```tsx
31
31
  import { createChannel, Message, Section } from "@copilotkit/channels";
32
32
  import { slack } from "@copilotkit/channels/slack";
33
- import { CopilotRuntime, CopilotKitIntelligence } from "@copilotkit/runtime/v2";
34
- import { createCopilotNodeListener } from "@copilotkit/runtime/v2/node";
33
+ import { CopilotKitRuntime, CopilotKitIntelligence } from "@copilotkit/runtime";
34
+ import { createCopilotKitNodeListener } from "@copilotkit/runtime/node";
35
35
 
36
36
  const channel = createChannel({
37
37
  name: "support-bot", // project-unique Intelligence Channel name
@@ -53,7 +53,7 @@ channel.onMessage(({ thread, message }) =>
53
53
  );
54
54
 
55
55
  // The runtime owns the Channel's lifecycle — there is no `channel.start()`.
56
- const runtime = new CopilotRuntime({
56
+ const runtime = new CopilotKitRuntime({
57
57
  intelligence: new CopilotKitIntelligence({
58
58
  // apiUrl and wsUrl default to cloud-hosted CopilotKit Intelligence — override
59
59
  // both together only for a self-hosted deployment.
@@ -63,7 +63,7 @@ const runtime = new CopilotRuntime({
63
63
  });
64
64
 
65
65
  // Creating the listener starts the Channel's connection.
66
- const listener = createCopilotNodeListener({ runtime });
66
+ const listener = createCopilotKitNodeListener({ runtime });
67
67
  // Optional: await that activation so a broken config fails startup loudly.
68
68
  await listener.channels.ready(); // listener.channels.stop() tears it down
69
69
  ```
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@copilotkit/channels",
3
- "version": "0.12.0",
3
+ "version": "0.13.0-rc.0",
4
4
  "description": "Batteries-included CopilotKit Channels package with the core engine, JSX UI, and every supported platform adapter.",
5
5
  "license": "MIT",
6
+ "engines": {
7
+ "node": "^20.19.3 || >=22.13.0"
8
+ },
6
9
  "repository": {
7
10
  "type": "git",
8
11
  "url": "https://github.com/CopilotKit/CopilotKit.git",
@@ -88,12 +91,12 @@
88
91
  "dist"
89
92
  ],
90
93
  "dependencies": {
91
- "@copilotkit/channels-core": "0.12.0",
92
- "@copilotkit/channels-ui": "0.12.0",
93
- "@copilotkit/channels-slack": "0.12.0",
94
- "@copilotkit/channels-discord": "0.12.0",
95
- "@copilotkit/channels-whatsapp": "0.12.0",
96
- "@copilotkit/channels-teams": "0.12.0"
94
+ "@copilotkit/channels-core": "0.13.0-rc.0",
95
+ "@copilotkit/channels-ui": "0.13.0-rc.0",
96
+ "@copilotkit/channels-slack": "0.13.0-rc.0",
97
+ "@copilotkit/channels-teams": "0.13.0-rc.0",
98
+ "@copilotkit/channels-discord": "0.13.0-rc.0",
99
+ "@copilotkit/channels-whatsapp": "0.13.0-rc.0"
97
100
  },
98
101
  "devDependencies": {
99
102
  "@microsoft/agents-activity": "^1.5.3",