@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
package/dist/lib/index.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-I32ZVLQF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-UIQ6VQVO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ZRT6C4KZ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
addCustomHeaderPlugin,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getCommonConfig,
|
|
23
23
|
langGraphPlatformEndpoint,
|
|
24
24
|
resolveEndpointType
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-IJGSJSXO.mjs";
|
|
26
26
|
import {
|
|
27
27
|
GoogleGenerativeAIAdapter,
|
|
28
28
|
GroqAdapter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-
|
|
2
|
-
export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-
|
|
1
|
+
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-eb953402.js';
|
|
2
|
+
export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-eb953402.js';
|
|
3
3
|
import * as graphql_yoga from 'graphql-yoga';
|
|
4
4
|
import { YogaServerInstance } from 'graphql-yoga';
|
|
5
5
|
export { copilotRuntimeNodeHttpEndpoint } from './node-http/index.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",
|
|
@@ -2011,7 +2011,7 @@ var CopilotResolver = class {
|
|
|
2011
2011
|
actions: data.frontend.actions.filter((action) => action.available !== ActionInputAvailability.disabled),
|
|
2012
2012
|
threadId: data.threadId,
|
|
2013
2013
|
runId: data.runId,
|
|
2014
|
-
publicApiKey:
|
|
2014
|
+
publicApiKey: copilotCloudPublicApiKey,
|
|
2015
2015
|
outputMessagesPromise,
|
|
2016
2016
|
graphqlContext: ctx,
|
|
2017
2017
|
forwardedParameters: data.forwardedParameters,
|