@copilotkit/runtime 1.3.9 → 1.3.10
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-UAWTV7LL.mjs → chunk-7MQDBRXJ.mjs} +2 -2
- package/dist/{chunk-2DZSOIOY.mjs → chunk-IZJNKQHP.mjs} +2 -2
- package/dist/{chunk-5SRBLSKR.mjs → chunk-NKDEG3EX.mjs} +3 -3
- package/dist/chunk-NKDEG3EX.mjs.map +1 -0
- package/dist/{chunk-EALNEKZB.mjs → chunk-OLB4EIHX.mjs} +3 -3
- package/dist/{chunk-4P7KLP5E.mjs → chunk-OYGYKCM3.mjs} +2 -2
- package/dist/{chunk-IZJFHNAB.mjs → chunk-V7SK6QZN.mjs} +4 -11
- package/dist/chunk-V7SK6QZN.mjs.map +1 -0
- package/dist/{chunk-7XLHCKWX.mjs → chunk-ZN4RBLGR.mjs} +2 -2
- package/dist/index.js +4 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/lib/index.js +4 -11
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +7 -7
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- package/dist/service-adapters/index.js +3 -10
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +2 -2
- package/package.json +4 -4
- package/src/service-adapters/langchain/utils.ts +3 -3
- package/dist/chunk-5SRBLSKR.mjs.map +0 -1
- package/dist/chunk-IZJFHNAB.mjs.map +0 -1
- /package/dist/{chunk-UAWTV7LL.mjs.map → chunk-7MQDBRXJ.mjs.map} +0 -0
- /package/dist/{chunk-2DZSOIOY.mjs.map → chunk-IZJNKQHP.mjs.map} +0 -0
- /package/dist/{chunk-EALNEKZB.mjs.map → chunk-OLB4EIHX.mjs.map} +0 -0
- /package/dist/{chunk-4P7KLP5E.mjs.map → chunk-OYGYKCM3.mjs.map} +0 -0
- /package/dist/{chunk-7XLHCKWX.mjs.map → chunk-ZN4RBLGR.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotRuntime,
|
|
3
3
|
flattenToolCallsNoDuplicates
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OLB4EIHX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AnthropicAdapter,
|
|
7
7
|
GoogleGenerativeAIAdapter,
|
|
@@ -11,25 +11,25 @@ import {
|
|
|
11
11
|
OpenAIAssistantAdapter,
|
|
12
12
|
RemoteChain,
|
|
13
13
|
UnifyAdapter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7MQDBRXJ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
config,
|
|
17
17
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
18
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OYGYKCM3.mjs";
|
|
20
20
|
import {
|
|
21
21
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IZJNKQHP.mjs";
|
|
23
23
|
import {
|
|
24
24
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZN4RBLGR.mjs";
|
|
26
26
|
import {
|
|
27
27
|
buildSchema,
|
|
28
28
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
29
|
createContext,
|
|
30
30
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-NKDEG3EX.mjs";
|
|
32
|
+
import "./chunk-V7SK6QZN.mjs";
|
|
33
33
|
import {
|
|
34
34
|
GuardrailsValidationFailureResponse,
|
|
35
35
|
MessageStreamInterruptedResponse,
|
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.3.
|
|
47
|
+
version: "1.3.10",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -525,23 +525,16 @@ function convertActionInputToLangChainTool(actionInput) {
|
|
|
525
525
|
});
|
|
526
526
|
}
|
|
527
527
|
__name(convertActionInputToLangChainTool, "convertActionInputToLangChainTool");
|
|
528
|
-
function getConstructorName(object) {
|
|
529
|
-
if (object && typeof object === "object" && object.constructor && object.constructor.name) {
|
|
530
|
-
return object.constructor.name;
|
|
531
|
-
}
|
|
532
|
-
return "";
|
|
533
|
-
}
|
|
534
|
-
__name(getConstructorName, "getConstructorName");
|
|
535
528
|
function isAIMessage(message) {
|
|
536
|
-
return
|
|
529
|
+
return Object.prototype.toString.call(message) === "[object AIMessage]";
|
|
537
530
|
}
|
|
538
531
|
__name(isAIMessage, "isAIMessage");
|
|
539
532
|
function isAIMessageChunk(message) {
|
|
540
|
-
return
|
|
533
|
+
return Object.prototype.toString.call(message) === "[object AIMessageChunk]";
|
|
541
534
|
}
|
|
542
535
|
__name(isAIMessageChunk, "isAIMessageChunk");
|
|
543
536
|
function isBaseMessageChunk(message) {
|
|
544
|
-
return
|
|
537
|
+
return Object.prototype.toString.call(message) === "[object BaseMessageChunk]";
|
|
545
538
|
}
|
|
546
539
|
__name(isBaseMessageChunk, "isBaseMessageChunk");
|
|
547
540
|
function maybeSendActionExecutionResultIsMessage(eventStream$, actionExecution) {
|