@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.
- package/CHANGELOG.md +9 -0
- package/__snapshots__/schema/schema.graphql +1 -0
- package/dist/{chunk-U6LFW34R.mjs → chunk-5KJYPVQJ.mjs} +16 -8
- package/dist/chunk-5KJYPVQJ.mjs.map +1 -0
- package/dist/{chunk-CDXNOPUW.mjs → chunk-CGGI46KC.mjs} +2 -2
- package/dist/{chunk-DOQSOWZS.mjs → chunk-EU52BTKR.mjs} +2 -2
- package/dist/{chunk-3KW7FFG5.mjs → chunk-KO4QCMY4.mjs} +2 -2
- package/dist/{chunk-OKQVDDJ2.mjs → chunk-W7GP2EOT.mjs} +50 -2
- package/dist/chunk-W7GP2EOT.mjs.map +1 -0
- package/dist/{copilot-runtime-12e7ac40.d.ts → copilot-runtime-1c5bf72b.d.ts} +1 -1
- package/dist/{groq-adapter-24abe931.d.ts → groq-adapter-b6a40422.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +83 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{langserve-f021ab9c.d.ts → langserve-6245df39.d.ts} +2 -1
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +14 -6
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.d.ts +3 -3
- package/dist/lib/integrations/index.js +10 -3
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +5 -5
- package/dist/lib/integrations/nest/index.d.ts +2 -2
- package/dist/lib/integrations/nest/index.js +10 -3
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +3 -3
- package/dist/lib/integrations/node-express/index.d.ts +2 -2
- package/dist/lib/integrations/node-express/index.js +10 -3
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +3 -3
- package/dist/lib/integrations/node-http/index.d.ts +2 -2
- package/dist/lib/integrations/node-http/index.js +10 -3
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +2 -2
- package/dist/service-adapters/index.d.ts +35 -4
- package/dist/service-adapters/index.js +50 -0
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +5 -1
- package/package.json +2 -2
- package/src/graphql/inputs/forwarded-parameters.input.ts +3 -0
- package/src/lib/logger.ts +1 -1
- package/src/lib/runtime/remote-action-constructors.ts +61 -57
- package/src/service-adapters/experimental/empty/empty-adapter.ts +33 -0
- package/src/service-adapters/index.ts +7 -1
- package/dist/chunk-OKQVDDJ2.mjs.map +0 -1
- package/dist/chunk-U6LFW34R.mjs.map +0 -1
- /package/dist/{chunk-CDXNOPUW.mjs.map → chunk-CGGI46KC.mjs.map} +0 -0
- /package/dist/{chunk-DOQSOWZS.mjs.map → chunk-EU52BTKR.mjs.map} +0 -0
- /package/dist/{chunk-3KW7FFG5.mjs.map → chunk-KO4QCMY4.mjs.map} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
config,
|
|
3
3
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
4
4
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-EU52BTKR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
copilotRuntimeNestEndpoint
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-KO4QCMY4.mjs";
|
|
9
9
|
import {
|
|
10
10
|
copilotRuntimeNodeExpressEndpoint
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-CGGI46KC.mjs";
|
|
12
12
|
import {
|
|
13
13
|
buildSchema,
|
|
14
14
|
copilotRuntimeNodeHttpEndpoint,
|
|
15
15
|
createContext,
|
|
16
16
|
getCommonConfig
|
|
17
|
-
} from "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
} from "../../chunk-5KJYPVQJ.mjs";
|
|
18
|
+
import "../../chunk-W7GP2EOT.mjs";
|
|
19
19
|
import "../../chunk-U3V2BCGI.mjs";
|
|
20
20
|
import "../../chunk-B74M7FXG.mjs";
|
|
21
21
|
import "../../chunk-D2WLFQS6.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as graphql_yoga from 'graphql-yoga';
|
|
2
|
-
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-
|
|
2
|
+
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-1c5bf72b.js';
|
|
3
3
|
import '@copilotkit/shared';
|
|
4
|
-
import '../../../langserve-
|
|
4
|
+
import '../../../langserve-6245df39.js';
|
|
5
5
|
import '../../../index-10b1c870.js';
|
|
6
6
|
import '../../../graphql/types/base/index.js';
|
|
7
7
|
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.
|
|
47
|
+
version: "1.4.8-next.1",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -590,6 +590,7 @@ var ForwardedParametersInput = class {
|
|
|
590
590
|
stop;
|
|
591
591
|
toolChoice;
|
|
592
592
|
toolChoiceFunctionName;
|
|
593
|
+
temperature;
|
|
593
594
|
};
|
|
594
595
|
__name(ForwardedParametersInput, "ForwardedParametersInput");
|
|
595
596
|
_ts_decorate7([
|
|
@@ -624,6 +625,12 @@ _ts_decorate7([
|
|
|
624
625
|
}),
|
|
625
626
|
_ts_metadata7("design:type", String)
|
|
626
627
|
], ForwardedParametersInput.prototype, "toolChoiceFunctionName", void 0);
|
|
628
|
+
_ts_decorate7([
|
|
629
|
+
(0, import_type_graphql8.Field)(() => Number, {
|
|
630
|
+
nullable: true
|
|
631
|
+
}),
|
|
632
|
+
_ts_metadata7("design:type", Number)
|
|
633
|
+
], ForwardedParametersInput.prototype, "temperature", void 0);
|
|
627
634
|
ForwardedParametersInput = _ts_decorate7([
|
|
628
635
|
(0, import_type_graphql8.InputType)()
|
|
629
636
|
], ForwardedParametersInput);
|
|
@@ -1820,8 +1827,8 @@ function createLogger(options) {
|
|
|
1820
1827
|
level: process.env.LOG_LEVEL || level || "error",
|
|
1821
1828
|
redact: {
|
|
1822
1829
|
paths: [
|
|
1823
|
-
"
|
|
1824
|
-
"
|
|
1830
|
+
"pid",
|
|
1831
|
+
"hostname"
|
|
1825
1832
|
],
|
|
1826
1833
|
remove: true
|
|
1827
1834
|
}
|