@copilotkit/runtime 1.9.2-next.0 → 1.9.2-next.1
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 +8 -0
- package/dist/{chunk-ESXPDYNT.mjs → chunk-C3SWOFLO.mjs} +2 -2
- package/dist/{chunk-YXL4PSJM.mjs → chunk-KPFOAXRX.mjs} +2 -2
- package/dist/{chunk-44FYLJJJ.mjs → chunk-RIPQZJB5.mjs} +2 -2
- package/dist/{chunk-YMIOUUPV.mjs → chunk-XGBY45FP.mjs} +7 -2
- package/dist/{chunk-YMIOUUPV.mjs.map → chunk-XGBY45FP.mjs.map} +1 -1
- package/dist/{chunk-O6KXX5R5.mjs → chunk-YV3YXRMR.mjs} +2 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +6 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +2 -2
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +2 -2
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/runtime/copilot-runtime.ts +8 -0
- /package/dist/{chunk-ESXPDYNT.mjs.map → chunk-C3SWOFLO.mjs.map} +0 -0
- /package/dist/{chunk-YXL4PSJM.mjs.map → chunk-KPFOAXRX.mjs.map} +0 -0
- /package/dist/{chunk-44FYLJJJ.mjs.map → chunk-RIPQZJB5.mjs.map} +0 -0
- /package/dist/{chunk-O6KXX5R5.mjs.map → chunk-YV3YXRMR.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XGBY45FP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNestEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-C3SWOFLO.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XGBY45FP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNodeExpressEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-KPFOAXRX.mjs.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XGBY45FP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
config,
|
|
78
78
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-RIPQZJB5.mjs.map
|
|
@@ -40,7 +40,7 @@ var require_package = __commonJS({
|
|
|
40
40
|
publishConfig: {
|
|
41
41
|
access: "public"
|
|
42
42
|
},
|
|
43
|
-
version: "1.9.2-next.
|
|
43
|
+
version: "1.9.2-next.1",
|
|
44
44
|
sideEffects: false,
|
|
45
45
|
main: "./dist/index.js",
|
|
46
46
|
module: "./dist/index.mjs",
|
|
@@ -3322,6 +3322,11 @@ var CopilotRuntime = class {
|
|
|
3322
3322
|
const requestStartTime = Date.now();
|
|
3323
3323
|
const streamedChunks = [];
|
|
3324
3324
|
try {
|
|
3325
|
+
if (Object.keys(this.agents).length && (agentSession == null ? void 0 : agentSession.agentName) && !this.delegateAgentProcessingToServiceAdapter) {
|
|
3326
|
+
this.agents = {
|
|
3327
|
+
[agentSession.agentName]: this.agents[agentSession.agentName]
|
|
3328
|
+
};
|
|
3329
|
+
}
|
|
3325
3330
|
if (agentSession && !this.delegateAgentProcessingToServiceAdapter) {
|
|
3326
3331
|
return await this.processAgentRequest(request);
|
|
3327
3332
|
}
|
|
@@ -5320,4 +5325,4 @@ export {
|
|
|
5320
5325
|
getCommonConfig,
|
|
5321
5326
|
copilotRuntimeNodeHttpEndpoint
|
|
5322
5327
|
};
|
|
5323
|
-
//# sourceMappingURL=chunk-
|
|
5328
|
+
//# sourceMappingURL=chunk-XGBY45FP.mjs.map
|