@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.50.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Minor fixes and stability improvements
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @copilotkit/shared@1.50.0-beta.14
|
|
13
|
+
|
|
14
|
+
## 1.50.0-beta.13
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- Updating to the latest version of vnext
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @copilotkit/shared@1.50.0-beta.13
|
|
24
|
+
|
|
3
25
|
## 1.50.0-beta.12
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
publishConfig: {
|
|
73
73
|
access: "public"
|
|
74
74
|
},
|
|
75
|
-
version: "1.50.0-beta.
|
|
75
|
+
version: "1.50.0-beta.14",
|
|
76
76
|
sideEffects: false,
|
|
77
77
|
main: "./dist/index.js",
|
|
78
78
|
module: "./dist/index.mjs",
|
|
@@ -124,8 +124,8 @@ var require_package = __commonJS({
|
|
|
124
124
|
},
|
|
125
125
|
dependencies: {
|
|
126
126
|
"@copilotkit/shared": "workspace:*",
|
|
127
|
-
"@copilotkitnext/agent": "0.0.
|
|
128
|
-
"@copilotkitnext/runtime": "0.0.
|
|
127
|
+
"@copilotkitnext/agent": "0.0.30",
|
|
128
|
+
"@copilotkitnext/runtime": "0.0.30",
|
|
129
129
|
"@graphql-yoga/plugin-defer-stream": "^3.3.1",
|
|
130
130
|
"@hono/node-server": "^1.13.5",
|
|
131
131
|
"@langchain/core": "^0.3.38",
|
|
@@ -3504,6 +3504,7 @@ var CopilotRuntime = class {
|
|
|
3504
3504
|
}
|
|
3505
3505
|
handleServiceAdapter(serviceAdapter) {
|
|
3506
3506
|
this.runtimeArgs.agents = Promise.resolve(this.runtimeArgs.agents ?? {}).then(async (agents) => {
|
|
3507
|
+
var _a;
|
|
3507
3508
|
let agentsList = agents;
|
|
3508
3509
|
const isAgentsListEmpty = !Object.keys(agents).length;
|
|
3509
3510
|
const hasServiceAdapter = Boolean(serviceAdapter);
|
|
@@ -3521,10 +3522,11 @@ var CopilotRuntime = class {
|
|
|
3521
3522
|
model: `${serviceAdapter.provider}/${serviceAdapter.model}`
|
|
3522
3523
|
});
|
|
3523
3524
|
}
|
|
3524
|
-
|
|
3525
|
+
const actions = (_a = this.params) == null ? void 0 : _a.actions;
|
|
3526
|
+
if (actions) {
|
|
3525
3527
|
const mcpTools = await this.getToolsFromMCP();
|
|
3526
3528
|
agentsList = this.assignToolsToAgents(agents, [
|
|
3527
|
-
...this.getToolsFromActions(
|
|
3529
|
+
...this.getToolsFromActions(actions),
|
|
3528
3530
|
...mcpTools
|
|
3529
3531
|
]);
|
|
3530
3532
|
}
|