@copilotkit/runtime 1.7.0 → 1.7.1-next.0
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 +7 -0
- package/dist/{chunk-KFTZCVAE.mjs → chunk-5PFBYGDX.mjs} +2 -2
- package/dist/{chunk-66YYMUU2.mjs → chunk-ANTSN7W3.mjs} +136 -20
- package/dist/chunk-ANTSN7W3.mjs.map +1 -0
- package/dist/{chunk-BYQ7M4HT.mjs → chunk-LOGYVH7X.mjs} +2 -2
- package/dist/{chunk-7X5R75DH.mjs → chunk-SJPSYQ4P.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-KFTZCVAE.mjs.map → chunk-5PFBYGDX.mjs.map} +0 -0
- /package/dist/{chunk-BYQ7M4HT.mjs.map → chunk-LOGYVH7X.mjs.map} +0 -0
- /package/dist/{chunk-7X5R75DH.mjs.map → chunk-SJPSYQ4P.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copilotRuntimeNodeExpressEndpoint
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-5PFBYGDX.mjs";
|
|
4
|
+
import "../../../chunk-ANTSN7W3.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.0",
|
|
47
|
+
version: "1.7.1-next.0",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -2003,7 +2003,7 @@ var CopilotResolver = class {
|
|
|
2003
2003
|
actions: data.frontend.actions.filter((action) => action.available !== ActionInputAvailability.disabled),
|
|
2004
2004
|
threadId: data.threadId,
|
|
2005
2005
|
runId: data.runId,
|
|
2006
|
-
publicApiKey:
|
|
2006
|
+
publicApiKey: copilotCloudPublicApiKey,
|
|
2007
2007
|
outputMessagesPromise,
|
|
2008
2008
|
graphqlContext: ctx,
|
|
2009
2009
|
forwardedParameters: data.forwardedParameters,
|