@copilotkit/runtime 1.7.0 → 1.7.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 +14 -0
- package/dist/{chunk-7X5R75DH.mjs → chunk-I32ZVLQF.mjs} +2 -2
- package/dist/{chunk-66YYMUU2.mjs → chunk-IJGSJSXO.mjs} +136 -20
- package/dist/chunk-IJGSJSXO.mjs.map +1 -0
- package/dist/{chunk-BYQ7M4HT.mjs → chunk-UIQ6VQVO.mjs} +2 -2
- package/dist/{chunk-KFTZCVAE.mjs → chunk-ZRT6C4KZ.mjs} +2 -2
- package/dist/{copilot-runtime-5103c7e7.d.ts → copilot-runtime-eb953402.d.ts} +78 -46
- package/dist/index.d.ts +1 -1
- package/dist/index.js +135 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +135 -19
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- package/dist/lib/integrations/index.d.ts +2 -2
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- 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 +2 -2
- package/src/graphql/resolvers/copilot.resolver.ts +1 -1
- package/src/lib/logger.ts +0 -48
- package/src/lib/observability.ts +73 -0
- package/src/lib/runtime/copilot-runtime.ts +182 -22
- package/dist/chunk-66YYMUU2.mjs.map +0 -1
- /package/dist/{chunk-7X5R75DH.mjs.map → chunk-I32ZVLQF.mjs.map} +0 -0
- /package/dist/{chunk-BYQ7M4HT.mjs.map → chunk-UIQ6VQVO.mjs.map} +0 -0
- /package/dist/{chunk-KFTZCVAE.mjs.map → chunk-ZRT6C4KZ.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copilotRuntimeNestEndpoint
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-UIQ6VQVO.mjs";
|
|
4
|
+
import "../../../chunk-IJGSJSXO.mjs";
|
|
5
5
|
import "../../../chunk-FZJAYGIR.mjs";
|
|
6
6
|
import "../../../chunk-5BIEM2UU.mjs";
|
|
7
7
|
import "../../../chunk-RTFJTJMA.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as graphql_yoga from 'graphql-yoga';
|
|
2
|
-
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-
|
|
2
|
+
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-eb953402.js';
|
|
3
3
|
import '@copilotkit/shared';
|
|
4
4
|
import '../../../langserve-6f7af8d3.js';
|
|
5
5
|
import '../../../index-5bec5424.js';
|
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.7.
|
|
47
|
+
version: "1.7.1",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -2005,7 +2005,7 @@ var CopilotResolver = class {
|
|
|
2005
2005
|
actions: data.frontend.actions.filter((action) => action.available !== ActionInputAvailability.disabled),
|
|
2006
2006
|
threadId: data.threadId,
|
|
2007
2007
|
runId: data.runId,
|
|
2008
|
-
publicApiKey:
|
|
2008
|
+
publicApiKey: copilotCloudPublicApiKey,
|
|
2009
2009
|
outputMessagesPromise,
|
|
2010
2010
|
graphqlContext: ctx,
|
|
2011
2011
|
forwardedParameters: data.forwardedParameters,
|