@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.
Files changed (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{chunk-7X5R75DH.mjs → chunk-I32ZVLQF.mjs} +2 -2
  3. package/dist/{chunk-66YYMUU2.mjs → chunk-IJGSJSXO.mjs} +136 -20
  4. package/dist/chunk-IJGSJSXO.mjs.map +1 -0
  5. package/dist/{chunk-BYQ7M4HT.mjs → chunk-UIQ6VQVO.mjs} +2 -2
  6. package/dist/{chunk-KFTZCVAE.mjs → chunk-ZRT6C4KZ.mjs} +2 -2
  7. package/dist/{copilot-runtime-5103c7e7.d.ts → copilot-runtime-eb953402.d.ts} +78 -46
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.js +135 -19
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +4 -4
  12. package/dist/lib/index.d.ts +1 -1
  13. package/dist/lib/index.js +135 -19
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/index.mjs +4 -4
  16. package/dist/lib/integrations/index.d.ts +2 -2
  17. package/dist/lib/integrations/index.js +2 -2
  18. package/dist/lib/integrations/index.js.map +1 -1
  19. package/dist/lib/integrations/index.mjs +4 -4
  20. package/dist/lib/integrations/nest/index.d.ts +1 -1
  21. package/dist/lib/integrations/nest/index.js +2 -2
  22. package/dist/lib/integrations/nest/index.js.map +1 -1
  23. package/dist/lib/integrations/nest/index.mjs +2 -2
  24. package/dist/lib/integrations/node-express/index.d.ts +1 -1
  25. package/dist/lib/integrations/node-express/index.js +2 -2
  26. package/dist/lib/integrations/node-express/index.js.map +1 -1
  27. package/dist/lib/integrations/node-express/index.mjs +2 -2
  28. package/dist/lib/integrations/node-http/index.d.ts +1 -1
  29. package/dist/lib/integrations/node-http/index.js +2 -2
  30. package/dist/lib/integrations/node-http/index.js.map +1 -1
  31. package/dist/lib/integrations/node-http/index.mjs +1 -1
  32. package/package.json +2 -2
  33. package/src/graphql/resolvers/copilot.resolver.ts +1 -1
  34. package/src/lib/logger.ts +0 -48
  35. package/src/lib/observability.ts +73 -0
  36. package/src/lib/runtime/copilot-runtime.ts +182 -22
  37. package/dist/chunk-66YYMUU2.mjs.map +0 -1
  38. /package/dist/{chunk-7X5R75DH.mjs.map → chunk-I32ZVLQF.mjs.map} +0 -0
  39. /package/dist/{chunk-BYQ7M4HT.mjs.map → chunk-UIQ6VQVO.mjs.map} +0 -0
  40. /package/dist/{chunk-KFTZCVAE.mjs.map → chunk-ZRT6C4KZ.mjs.map} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "../chunk-7X5R75DH.mjs";
6
+ } from "../chunk-I32ZVLQF.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "../chunk-BYQ7M4HT.mjs";
9
+ } from "../chunk-UIQ6VQVO.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "../chunk-KFTZCVAE.mjs";
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-66YYMUU2.mjs";
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-5103c7e7.js';
2
- export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-5103c7e7.js';
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.0",
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: void 0,
2014
+ publicApiKey: copilotCloudPublicApiKey,
2015
2015
  outputMessagesPromise,
2016
2016
  graphqlContext: ctx,
2017
2017
  forwardedParameters: data.forwardedParameters,