@copilotkit/runtime 1.9.2-next.6 → 1.9.2-next.7

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 (33) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{chunk-6FLO2QTT.mjs → chunk-2PQGAIVB.mjs} +19 -2
  3. package/dist/chunk-2PQGAIVB.mjs.map +1 -0
  4. package/dist/{chunk-JZWHLURE.mjs → chunk-2UAJCT5X.mjs} +2 -2
  5. package/dist/{chunk-K4JQLKXK.mjs → chunk-GW6ERFKI.mjs} +2 -2
  6. package/dist/{chunk-RCIYK6YJ.mjs → chunk-HB4D2KJC.mjs} +7 -7
  7. package/dist/{chunk-RCIYK6YJ.mjs.map → chunk-HB4D2KJC.mjs.map} +1 -1
  8. package/dist/{chunk-6AD7VT26.mjs → chunk-LSB3QZHS.mjs} +2 -2
  9. package/dist/index.js +18 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +10 -10
  12. package/dist/lib/index.d.ts +2 -1
  13. package/dist/lib/index.js +18 -1
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/index.mjs +6 -6
  16. package/dist/lib/integrations/index.js +1 -1
  17. package/dist/lib/integrations/index.js.map +1 -1
  18. package/dist/lib/integrations/index.mjs +5 -5
  19. package/dist/lib/integrations/nest/index.js +1 -1
  20. package/dist/lib/integrations/nest/index.js.map +1 -1
  21. package/dist/lib/integrations/nest/index.mjs +3 -3
  22. package/dist/lib/integrations/node-express/index.js +1 -1
  23. package/dist/lib/integrations/node-express/index.js.map +1 -1
  24. package/dist/lib/integrations/node-express/index.mjs +3 -3
  25. package/dist/lib/integrations/node-http/index.js +1 -1
  26. package/dist/lib/integrations/node-http/index.js.map +1 -1
  27. package/dist/lib/integrations/node-http/index.mjs +2 -2
  28. package/package.json +2 -2
  29. package/src/lib/runtime/langgraph/langgraph-agent.ts +12 -0
  30. package/dist/chunk-6FLO2QTT.mjs.map +0 -1
  31. /package/dist/{chunk-JZWHLURE.mjs.map → chunk-2UAJCT5X.mjs.map} +0 -0
  32. /package/dist/{chunk-K4JQLKXK.mjs.map → chunk-GW6ERFKI.mjs.map} +0 -0
  33. /package/dist/{chunk-6AD7VT26.mjs.map → chunk-LSB3QZHS.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  getCommonConfig,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-RCIYK6YJ.mjs";
5
+ } from "./chunk-HB4D2KJC.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -77,4 +77,4 @@ export {
77
77
  config,
78
78
  copilotRuntimeNextJSPagesRouterEndpoint
79
79
  };
80
- //# sourceMappingURL=chunk-6AD7VT26.mjs.map
80
+ //# sourceMappingURL=chunk-LSB3QZHS.mjs.map
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.9.2-next.6",
47
+ version: "1.9.2-next.7",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -7667,6 +7667,23 @@ var LangGraphAgent = class extends import_langgraph.LangGraphAgent {
7667
7667
  }
7668
7668
  };
7669
7669
  }
7670
+ async getSchemaKeys() {
7671
+ const CONSTANT_KEYS = [
7672
+ "copilotkit"
7673
+ ];
7674
+ const schemaKeys = await super.getSchemaKeys();
7675
+ return {
7676
+ config: schemaKeys.config,
7677
+ input: schemaKeys.input ? [
7678
+ ...schemaKeys.input,
7679
+ ...CONSTANT_KEYS
7680
+ ] : null,
7681
+ output: schemaKeys.output ? [
7682
+ ...schemaKeys.output,
7683
+ ...CONSTANT_KEYS
7684
+ ] : null
7685
+ };
7686
+ }
7670
7687
  };
7671
7688
  __name(LangGraphAgent, "LangGraphAgent");
7672
7689
  // Annotate the CommonJS export names for ESM import in node: