@copilotkit/channels 0.11.0 → 0.12.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 +0 -1
- package/dist/takumi.d.ts +2 -0
- package/dist/takumi.d.ts.map +1 -0
- package/dist/takumi.js +1 -0
- package/dist/umbrella.smoke.test.js +14 -2
- package/package.json +17 -15
- package/dist/telegram.d.ts +0 -2
- package/dist/telegram.d.ts.map +0 -1
- package/dist/telegram.js +0 -1
package/README.md
CHANGED
|
@@ -73,7 +73,6 @@ await listener.channels.ready(); // listener.channels.stop() tears it down
|
|
|
73
73
|
- `@copilotkit/channels/slack` (plus `/slack/codec` and `/slack/render`)
|
|
74
74
|
- `@copilotkit/channels/teams` (plus `/teams/render`)
|
|
75
75
|
- `@copilotkit/channels/discord`
|
|
76
|
-
- `@copilotkit/channels/telegram`
|
|
77
76
|
- `@copilotkit/channels/whatsapp`
|
|
78
77
|
|
|
79
78
|
One package version gives you a tested snapshot of the core engine, JSX/UI vocabulary,
|
package/dist/takumi.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"takumi.d.ts","sourceRoot":"","sources":["../src/takumi.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|
package/dist/takumi.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@copilotkit/channels-core/takumi";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@copilotkit/channels/jsx-runtime";
|
|
2
|
+
import { execFileSync } from "node:child_process";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
2
4
|
import { describe, expect, it } from "vitest";
|
|
3
5
|
import { createChannel, Message, Button } from "@copilotkit/channels";
|
|
4
6
|
import { runStateStoreConformance } from "@copilotkit/channels/testing";
|
|
5
7
|
import { slack } from "@copilotkit/channels/slack";
|
|
6
8
|
import { teams } from "@copilotkit/channels/teams";
|
|
7
9
|
import { discord } from "@copilotkit/channels/discord";
|
|
8
|
-
import { telegram } from "@copilotkit/channels/telegram";
|
|
9
10
|
import { whatsapp } from "@copilotkit/channels/whatsapp";
|
|
10
11
|
import { slackCodec } from "@copilotkit/channels/slack/codec";
|
|
11
12
|
import { renderSlackMessage } from "@copilotkit/channels/slack/render";
|
|
@@ -22,7 +23,6 @@ describe("@copilotkit/channels umbrella", () => {
|
|
|
22
23
|
slack,
|
|
23
24
|
teams,
|
|
24
25
|
discord,
|
|
25
|
-
telegram,
|
|
26
26
|
whatsapp,
|
|
27
27
|
renderSlackMessage,
|
|
28
28
|
renderAdaptiveCard,
|
|
@@ -31,4 +31,16 @@ describe("@copilotkit/channels umbrella", () => {
|
|
|
31
31
|
}
|
|
32
32
|
expect(typeof slackCodec).toBe("object");
|
|
33
33
|
});
|
|
34
|
+
it("does not resolve the retired /telegram entry", () => {
|
|
35
|
+
const result = execFileSync(process.execPath, [
|
|
36
|
+
"--input-type=module",
|
|
37
|
+
"--eval",
|
|
38
|
+
"try { console.log(import.meta.resolve(process.argv[1])); } catch (error) { console.log(error.code); }",
|
|
39
|
+
"@copilotkit/channels/telegram",
|
|
40
|
+
], {
|
|
41
|
+
cwd: fileURLToPath(new URL("..", import.meta.url)),
|
|
42
|
+
encoding: "utf8",
|
|
43
|
+
});
|
|
44
|
+
expect(result.trim()).toBe("ERR_PACKAGE_PATH_NOT_EXPORTED");
|
|
45
|
+
});
|
|
34
46
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/channels",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.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": {
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"teams",
|
|
21
21
|
"intelligence",
|
|
22
22
|
"discord",
|
|
23
|
-
"telegram",
|
|
24
23
|
"whatsapp",
|
|
25
24
|
"copilotkit",
|
|
26
25
|
"ag-ui"
|
|
@@ -52,6 +51,10 @@
|
|
|
52
51
|
"types": "./dist/ui.d.ts",
|
|
53
52
|
"import": "./dist/ui.js"
|
|
54
53
|
},
|
|
54
|
+
"./takumi": {
|
|
55
|
+
"types": "./dist/takumi.d.ts",
|
|
56
|
+
"import": "./dist/takumi.js"
|
|
57
|
+
},
|
|
55
58
|
"./slack": {
|
|
56
59
|
"types": "./dist/slack.d.ts",
|
|
57
60
|
"import": "./dist/slack.js"
|
|
@@ -76,10 +79,6 @@
|
|
|
76
79
|
"types": "./dist/discord.d.ts",
|
|
77
80
|
"import": "./dist/discord.js"
|
|
78
81
|
},
|
|
79
|
-
"./telegram": {
|
|
80
|
-
"types": "./dist/telegram.d.ts",
|
|
81
|
-
"import": "./dist/telegram.js"
|
|
82
|
-
},
|
|
83
82
|
"./whatsapp": {
|
|
84
83
|
"types": "./dist/whatsapp.d.ts",
|
|
85
84
|
"import": "./dist/whatsapp.js"
|
|
@@ -89,13 +88,12 @@
|
|
|
89
88
|
"dist"
|
|
90
89
|
],
|
|
91
90
|
"dependencies": {
|
|
92
|
-
"@copilotkit/channels-
|
|
93
|
-
"@copilotkit/channels-
|
|
94
|
-
"@copilotkit/channels-slack": "0.
|
|
95
|
-
"@copilotkit/channels-discord": "0.
|
|
96
|
-
"@copilotkit/channels-
|
|
97
|
-
"@copilotkit/channels-teams": "0.
|
|
98
|
-
"@copilotkit/channels-whatsapp": "0.11.0"
|
|
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"
|
|
99
97
|
},
|
|
100
98
|
"devDependencies": {
|
|
101
99
|
"@microsoft/agents-activity": "^1.5.3",
|
|
@@ -110,7 +108,8 @@
|
|
|
110
108
|
"@microsoft/agents-activity": "^1.5.3",
|
|
111
109
|
"@microsoft/agents-hosting": "^1.5.3",
|
|
112
110
|
"express": "^4.18.0 || ^5.0.0",
|
|
113
|
-
"
|
|
111
|
+
"react": ">=18",
|
|
112
|
+
"takumi-js": "^2.7.3"
|
|
114
113
|
},
|
|
115
114
|
"peerDependenciesMeta": {
|
|
116
115
|
"@microsoft/agents-activity": {
|
|
@@ -122,7 +121,10 @@
|
|
|
122
121
|
"express": {
|
|
123
122
|
"optional": true
|
|
124
123
|
},
|
|
125
|
-
"
|
|
124
|
+
"react": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"takumi-js": {
|
|
126
128
|
"optional": true
|
|
127
129
|
}
|
|
128
130
|
},
|
package/dist/telegram.d.ts
DELETED
package/dist/telegram.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telegram.d.ts","sourceRoot":"","sources":["../src/telegram.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
package/dist/telegram.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@copilotkit/channels-telegram";
|