@copilotkit/channels 0.4.1-canary.parallel1 → 0.5.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 CHANGED
@@ -28,11 +28,8 @@ Configure TypeScript to use the Channels JSX runtime:
28
28
  ```tsx
29
29
  import { createChannel, Message, Section } from "@copilotkit/channels";
30
30
  import { slack } from "@copilotkit/channels/slack";
31
- import {
32
- CopilotRuntime,
33
- CopilotKitIntelligence,
34
- createCopilotRuntimeHandler,
35
- } from "@copilotkit/runtime/v2";
31
+ import { CopilotRuntime, CopilotKitIntelligence } from "@copilotkit/runtime/v2";
32
+ import { createCopilotNodeListener } from "@copilotkit/runtime/v2/node";
36
33
 
37
34
  const channel = createChannel({
38
35
  name: "support-bot", // project-unique Intelligence Channel name
@@ -63,8 +60,10 @@ const runtime = new CopilotRuntime({
63
60
  channels: [channel],
64
61
  });
65
62
 
66
- const handler = createCopilotRuntimeHandler({ runtime });
67
- await handler.channels.ready(); // starts the channel; handler.channels.stop() tears it down
63
+ // Creating the listener starts the Channel's connection.
64
+ const listener = createCopilotNodeListener({ runtime });
65
+ // Optional: await that activation so a broken config fails startup loudly.
66
+ await listener.channels.ready(); // listener.channels.stop() tears it down
68
67
  ```
69
68
 
70
69
  ## Adapter entry points
@@ -74,7 +73,6 @@ await handler.channels.ready(); // starts the channel; handler.channels.stop() t
74
73
  - `@copilotkit/channels/discord`
75
74
  - `@copilotkit/channels/telegram`
76
75
  - `@copilotkit/channels/whatsapp`
77
- - `@copilotkit/channels/intelligence` for the curated `intelligenceAdapter` factory and `IntelligenceAdapterOptions` type
78
76
 
79
77
  One package version gives you a tested snapshot of the core engine, JSX/UI vocabulary,
80
78
  testing helpers, and every adapter listed above.
@@ -4,8 +4,6 @@ import { createChannel, Message, Button } from "@copilotkit/channels";
4
4
  import { runStateStoreConformance } from "@copilotkit/channels/testing";
5
5
  import { slack } from "@copilotkit/channels/slack";
6
6
  import { teams } from "@copilotkit/channels/teams";
7
- import { intelligenceAdapter } from "@copilotkit/channels/intelligence";
8
- import * as intelligence from "@copilotkit/channels/intelligence";
9
7
  import { discord } from "@copilotkit/channels/discord";
10
8
  import { telegram } from "@copilotkit/channels/telegram";
11
9
  import { whatsapp } from "@copilotkit/channels/whatsapp";
@@ -23,7 +21,6 @@ describe("@copilotkit/channels umbrella", () => {
23
21
  for (const value of [
24
22
  slack,
25
23
  teams,
26
- intelligenceAdapter,
27
24
  discord,
28
25
  telegram,
29
26
  whatsapp,
@@ -34,7 +31,4 @@ describe("@copilotkit/channels umbrella", () => {
34
31
  }
35
32
  expect(typeof slackCodec).toBe("object");
36
33
  });
37
- it("keeps Intelligence gateway and bootstrap internals private", () => {
38
- expect(Object.keys(intelligence).sort()).toEqual(["intelligenceAdapter"]);
39
- });
40
34
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/channels",
3
- "version": "0.4.1-canary.parallel1",
3
+ "version": "0.5.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
6
  "repository": {
@@ -72,10 +72,6 @@
72
72
  "types": "./dist/teams/render.d.ts",
73
73
  "import": "./dist/teams/render.js"
74
74
  },
75
- "./intelligence": {
76
- "types": "./dist/intelligence.d.ts",
77
- "import": "./dist/intelligence.js"
78
- },
79
75
  "./discord": {
80
76
  "types": "./dist/discord.d.ts",
81
77
  "import": "./dist/discord.js"
@@ -93,14 +89,13 @@
93
89
  "dist"
94
90
  ],
95
91
  "dependencies": {
96
- "@copilotkit/channels-teams": "0.4.1-canary.parallel1",
97
- "@copilotkit/channels-core": "0.4.1-canary.parallel1",
98
- "@copilotkit/channels-ui": "0.4.1-canary.parallel1",
99
- "@copilotkit/channels-intelligence": "0.4.1-canary.parallel1",
100
- "@copilotkit/channels-slack": "0.4.1-canary.parallel1",
101
- "@copilotkit/channels-discord": "0.4.1-canary.parallel1",
102
- "@copilotkit/channels-whatsapp": "0.4.1-canary.parallel1",
103
- "@copilotkit/channels-telegram": "0.4.1-canary.parallel1"
92
+ "@copilotkit/channels-core": "0.5.0",
93
+ "@copilotkit/channels-ui": "0.5.0",
94
+ "@copilotkit/channels-slack": "0.5.0",
95
+ "@copilotkit/channels-telegram": "0.5.0",
96
+ "@copilotkit/channels-discord": "0.5.0",
97
+ "@copilotkit/channels-teams": "0.5.0",
98
+ "@copilotkit/channels-whatsapp": "0.5.0"
104
99
  },
105
100
  "devDependencies": {
106
101
  "@types/node": "^22.10.0",
@@ -1,3 +0,0 @@
1
- export { intelligenceAdapter } from "@copilotkit/channels-intelligence";
2
- export type { IntelligenceAdapterOptions } from "@copilotkit/channels-intelligence";
3
- //# sourceMappingURL=intelligence.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"intelligence.d.ts","sourceRoot":"","sources":["../src/intelligence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,YAAY,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC"}
@@ -1 +0,0 @@
1
- export { intelligenceAdapter } from "@copilotkit/channels-intelligence";