@copilotkit/runtime 1.3.8 → 1.3.9
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-73ZKFMNP.mjs → chunk-2DZSOIOY.mjs} +2 -2
- package/dist/{chunk-UCGUATSD.mjs → chunk-4P7KLP5E.mjs} +2 -2
- package/dist/{chunk-BAVB62FW.mjs → chunk-5SRBLSKR.mjs} +3 -3
- package/dist/chunk-5SRBLSKR.mjs.map +1 -0
- package/dist/{chunk-ISVFINMD.mjs → chunk-7XLHCKWX.mjs} +2 -2
- package/dist/{chunk-J3XK2PKQ.mjs → chunk-EALNEKZB.mjs} +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +2 -2
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +2 -2
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +4 -4
- package/src/graphql/resolvers/copilot.resolver.ts +5 -1
- package/dist/chunk-BAVB62FW.mjs.map +0 -1
- /package/dist/{chunk-73ZKFMNP.mjs.map → chunk-2DZSOIOY.mjs.map} +0 -0
- /package/dist/{chunk-UCGUATSD.mjs.map → chunk-4P7KLP5E.mjs.map} +0 -0
- /package/dist/{chunk-ISVFINMD.mjs.map → chunk-7XLHCKWX.mjs.map} +0 -0
- /package/dist/{chunk-J3XK2PKQ.mjs.map → chunk-EALNEKZB.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-EALNEKZB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AnthropicAdapter,
|
|
7
7
|
GoogleGenerativeAIAdapter,
|
|
@@ -16,19 +16,19 @@ import {
|
|
|
16
16
|
config,
|
|
17
17
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
18
18
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4P7KLP5E.mjs";
|
|
20
20
|
import {
|
|
21
21
|
copilotRuntimeNestEndpoint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2DZSOIOY.mjs";
|
|
23
23
|
import {
|
|
24
24
|
copilotRuntimeNodeExpressEndpoint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7XLHCKWX.mjs";
|
|
26
26
|
import {
|
|
27
27
|
buildSchema,
|
|
28
28
|
copilotRuntimeNodeHttpEndpoint,
|
|
29
29
|
createContext,
|
|
30
30
|
getCommonConfig
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5SRBLSKR.mjs";
|
|
32
32
|
import "./chunk-IZJFHNAB.mjs";
|
|
33
33
|
import {
|
|
34
34
|
GuardrailsValidationFailureResponse,
|
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.9",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -3274,7 +3274,7 @@ var CopilotResolver = class {
|
|
|
3274
3274
|
(0, import_rxjs4.takeWhile)((e) => e.type != RuntimeEventTypes.TextMessageEnd)
|
|
3275
3275
|
);
|
|
3276
3276
|
const streamingTextStatus = new import_rxjs4.Subject();
|
|
3277
|
-
const messageId =
|
|
3277
|
+
const messageId = (0, import_shared9.randomId)();
|
|
3278
3278
|
pushMessage({
|
|
3279
3279
|
id: messageId,
|
|
3280
3280
|
status: (0, import_rxjs4.firstValueFrom)(streamingTextStatus),
|