@copilotkit/runtime 1.50.0-beta.12 → 1.50.0-beta.14
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/CHANGELOG.md +22 -0
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/lib/runtime/copilot-runtime.ts +3 -2
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.50.0-beta.
|
|
12
|
+
"version": "1.50.0-beta.14",
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"tsconfig": "1.4.6"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@copilotkitnext/agent": "0.0.
|
|
54
|
-
"@copilotkitnext/runtime": "0.0.
|
|
53
|
+
"@copilotkitnext/agent": "0.0.30",
|
|
54
|
+
"@copilotkitnext/runtime": "0.0.30",
|
|
55
55
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
56
56
|
"@hono/node-server": "^1.13.5",
|
|
57
57
|
"@langchain/core": "^0.3.38",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"rxjs": "7.8.1",
|
|
72
72
|
"type-graphql": "2.0.0-rc.1",
|
|
73
73
|
"zod": "^3.23.3",
|
|
74
|
-
"@copilotkit/shared": "1.50.0-beta.
|
|
74
|
+
"@copilotkit/shared": "1.50.0-beta.14"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@anthropic-ai/sdk": "^0.57.0",
|
|
@@ -385,10 +385,11 @@ export class CopilotRuntime<const T extends Parameter[] | [] = []> {
|
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
|
|
388
|
+
const actions = this.params?.actions;
|
|
389
|
+
if (actions) {
|
|
389
390
|
const mcpTools = await this.getToolsFromMCP();
|
|
390
391
|
agentsList = this.assignToolsToAgents(agents, [
|
|
391
|
-
...this.getToolsFromActions(
|
|
392
|
+
...this.getToolsFromActions(actions),
|
|
392
393
|
...mcpTools,
|
|
393
394
|
]);
|
|
394
395
|
}
|