@copilotkit/runtime 1.4.8-next.0 → 1.4.8-next.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 (52) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/__snapshots__/schema/schema.graphql +1 -0
  3. package/dist/{chunk-U6LFW34R.mjs → chunk-5KJYPVQJ.mjs} +16 -8
  4. package/dist/chunk-5KJYPVQJ.mjs.map +1 -0
  5. package/dist/{chunk-CDXNOPUW.mjs → chunk-CGGI46KC.mjs} +2 -2
  6. package/dist/{chunk-DOQSOWZS.mjs → chunk-EU52BTKR.mjs} +2 -2
  7. package/dist/{chunk-3KW7FFG5.mjs → chunk-KO4QCMY4.mjs} +2 -2
  8. package/dist/{chunk-OKQVDDJ2.mjs → chunk-W7GP2EOT.mjs} +50 -2
  9. package/dist/chunk-W7GP2EOT.mjs.map +1 -0
  10. package/dist/{copilot-runtime-12e7ac40.d.ts → copilot-runtime-1c5bf72b.d.ts} +1 -1
  11. package/dist/{groq-adapter-24abe931.d.ts → groq-adapter-b6a40422.d.ts} +1 -1
  12. package/dist/index.d.ts +4 -4
  13. package/dist/index.js +83 -25
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +9 -5
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/{langserve-f021ab9c.d.ts → langserve-6245df39.d.ts} +2 -1
  18. package/dist/lib/index.d.ts +3 -3
  19. package/dist/lib/index.js +14 -6
  20. package/dist/lib/index.js.map +1 -1
  21. package/dist/lib/index.mjs +5 -5
  22. package/dist/lib/integrations/index.d.ts +3 -3
  23. package/dist/lib/integrations/index.js +10 -3
  24. package/dist/lib/integrations/index.js.map +1 -1
  25. package/dist/lib/integrations/index.mjs +5 -5
  26. package/dist/lib/integrations/nest/index.d.ts +2 -2
  27. package/dist/lib/integrations/nest/index.js +10 -3
  28. package/dist/lib/integrations/nest/index.js.map +1 -1
  29. package/dist/lib/integrations/nest/index.mjs +3 -3
  30. package/dist/lib/integrations/node-express/index.d.ts +2 -2
  31. package/dist/lib/integrations/node-express/index.js +10 -3
  32. package/dist/lib/integrations/node-express/index.js.map +1 -1
  33. package/dist/lib/integrations/node-express/index.mjs +3 -3
  34. package/dist/lib/integrations/node-http/index.d.ts +2 -2
  35. package/dist/lib/integrations/node-http/index.js +10 -3
  36. package/dist/lib/integrations/node-http/index.js.map +1 -1
  37. package/dist/lib/integrations/node-http/index.mjs +2 -2
  38. package/dist/service-adapters/index.d.ts +35 -4
  39. package/dist/service-adapters/index.js +50 -0
  40. package/dist/service-adapters/index.js.map +1 -1
  41. package/dist/service-adapters/index.mjs +5 -1
  42. package/package.json +2 -2
  43. package/src/graphql/inputs/forwarded-parameters.input.ts +3 -0
  44. package/src/lib/logger.ts +1 -1
  45. package/src/lib/runtime/remote-action-constructors.ts +61 -57
  46. package/src/service-adapters/experimental/empty/empty-adapter.ts +33 -0
  47. package/src/service-adapters/index.ts +7 -1
  48. package/dist/chunk-OKQVDDJ2.mjs.map +0 -1
  49. package/dist/chunk-U6LFW34R.mjs.map +0 -1
  50. /package/dist/{chunk-CDXNOPUW.mjs.map → chunk-CGGI46KC.mjs.map} +0 -0
  51. /package/dist/{chunk-DOQSOWZS.mjs.map → chunk-EU52BTKR.mjs.map} +0 -0
  52. /package/dist/{chunk-3KW7FFG5.mjs.map → chunk-KO4QCMY4.mjs.map} +0 -0
@@ -3,13 +3,13 @@ import {
3
3
  config,
4
4
  copilotRuntimeNextJSAppRouterEndpoint,
5
5
  copilotRuntimeNextJSPagesRouterEndpoint
6
- } from "../chunk-DOQSOWZS.mjs";
6
+ } from "../chunk-EU52BTKR.mjs";
7
7
  import {
8
8
  copilotRuntimeNestEndpoint
9
- } from "../chunk-3KW7FFG5.mjs";
9
+ } from "../chunk-KO4QCMY4.mjs";
10
10
  import {
11
11
  copilotRuntimeNodeExpressEndpoint
12
- } from "../chunk-CDXNOPUW.mjs";
12
+ } from "../chunk-CGGI46KC.mjs";
13
13
  import {
14
14
  CopilotRuntime,
15
15
  buildSchema,
@@ -20,7 +20,7 @@ import {
20
20
  getCommonConfig,
21
21
  langGraphPlatformEndpoint,
22
22
  resolveEndpointType
23
- } from "../chunk-U6LFW34R.mjs";
23
+ } from "../chunk-5KJYPVQJ.mjs";
24
24
  import {
25
25
  GoogleGenerativeAIAdapter,
26
26
  GroqAdapter,
@@ -28,7 +28,7 @@ import {
28
28
  OpenAIAdapter,
29
29
  OpenAIAssistantAdapter,
30
30
  UnifyAdapter
31
- } from "../chunk-OKQVDDJ2.mjs";
31
+ } from "../chunk-W7GP2EOT.mjs";
32
32
  import "../chunk-U3V2BCGI.mjs";
33
33
  import "../chunk-B74M7FXG.mjs";
34
34
  import "../chunk-D2WLFQS6.mjs";
@@ -1,12 +1,12 @@
1
- import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-12e7ac40.js';
2
- export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-12e7ac40.js';
1
+ import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-1c5bf72b.js';
2
+ export { h as CommonConfig, b as CopilotRequestContextProperties, g as buildSchema, e as createContext, i as getCommonConfig } from '../../copilot-runtime-1c5bf72b.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';
6
6
  export { copilotRuntimeNodeExpressEndpoint } from './node-express/index.js';
7
7
  export { copilotRuntimeNestEndpoint } from './nest/index.js';
8
8
  import '@copilotkit/shared';
9
- import '../../langserve-f021ab9c.js';
9
+ import '../../langserve-6245df39.js';
10
10
  import '../../index-10b1c870.js';
11
11
  import '../../graphql/types/base/index.js';
12
12
  import 'rxjs';
@@ -44,7 +44,7 @@ var require_package = __commonJS({
44
44
  publishConfig: {
45
45
  access: "public"
46
46
  },
47
- version: "1.4.8-next.0",
47
+ version: "1.4.8-next.1",
48
48
  sideEffects: false,
49
49
  main: "./dist/index.js",
50
50
  module: "./dist/index.mjs",
@@ -595,6 +595,7 @@ var ForwardedParametersInput = class {
595
595
  stop;
596
596
  toolChoice;
597
597
  toolChoiceFunctionName;
598
+ temperature;
598
599
  };
599
600
  __name(ForwardedParametersInput, "ForwardedParametersInput");
600
601
  _ts_decorate7([
@@ -629,6 +630,12 @@ _ts_decorate7([
629
630
  }),
630
631
  _ts_metadata7("design:type", String)
631
632
  ], ForwardedParametersInput.prototype, "toolChoiceFunctionName", void 0);
633
+ _ts_decorate7([
634
+ (0, import_type_graphql8.Field)(() => Number, {
635
+ nullable: true
636
+ }),
637
+ _ts_metadata7("design:type", Number)
638
+ ], ForwardedParametersInput.prototype, "temperature", void 0);
632
639
  ForwardedParametersInput = _ts_decorate7([
633
640
  (0, import_type_graphql8.InputType)()
634
641
  ], ForwardedParametersInput);
@@ -1825,8 +1832,8 @@ function createLogger(options) {
1825
1832
  level: process.env.LOG_LEVEL || level || "error",
1826
1833
  redact: {
1827
1834
  paths: [
1828
- "*.pid",
1829
- "*.hostname"
1835
+ "pid",
1836
+ "hostname"
1830
1837
  ],
1831
1838
  remove: true
1832
1839
  }