@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/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomEventNames,
|
|
3
3
|
LangGraphAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YV3YXRMR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
config,
|
|
7
7
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
8
8
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RIPQZJB5.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNestEndpoint
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C3SWOFLO.mjs";
|
|
13
13
|
import {
|
|
14
14
|
copilotRuntimeNodeExpressEndpoint
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KPFOAXRX.mjs";
|
|
16
16
|
import {
|
|
17
17
|
CopilotRuntime,
|
|
18
18
|
addCustomHeaderPlugin,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
getCommonConfig,
|
|
29
29
|
langGraphPlatformEndpoint,
|
|
30
30
|
resolveEndpointType
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XGBY45FP.mjs";
|
|
32
32
|
import {
|
|
33
33
|
AnthropicAdapter,
|
|
34
34
|
BedrockAdapter,
|
package/dist/lib/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.9.2-next.
|
|
47
|
+
version: "1.9.2-next.1",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -4785,6 +4785,11 @@ var CopilotRuntime = class {
|
|
|
4785
4785
|
const requestStartTime = Date.now();
|
|
4786
4786
|
const streamedChunks = [];
|
|
4787
4787
|
try {
|
|
4788
|
+
if (Object.keys(this.agents).length && (agentSession == null ? void 0 : agentSession.agentName) && !this.delegateAgentProcessingToServiceAdapter) {
|
|
4789
|
+
this.agents = {
|
|
4790
|
+
[agentSession.agentName]: this.agents[agentSession.agentName]
|
|
4791
|
+
};
|
|
4792
|
+
}
|
|
4788
4793
|
if (agentSession && !this.delegateAgentProcessingToServiceAdapter) {
|
|
4789
4794
|
return await this.processAgentRequest(request);
|
|
4790
4795
|
}
|