@copilotkit/runtime 1.5.20 → 1.6.0-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 +10 -0
- package/__snapshots__/schema/schema.graphql +1 -0
- package/dist/{chunk-BLOO7P5D.mjs → chunk-A4P5YLJQ.mjs} +2 -2
- package/dist/{chunk-YAEZPJTK.mjs → chunk-AMKPW7KT.mjs} +32 -14
- package/dist/chunk-AMKPW7KT.mjs.map +1 -0
- package/dist/{chunk-U4EZU7AQ.mjs → chunk-EYEJ5L3X.mjs} +2 -2
- package/dist/{chunk-HEILVP57.mjs → chunk-RGSZK24X.mjs} +2 -2
- package/dist/{copilot-runtime-084fb9c7.d.ts → copilot-runtime-67033bfa.d.ts} +1 -1
- package/dist/{groq-adapter-3b894689.d.ts → groq-adapter-9d15c927.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +26 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/{langserve-3a591089.d.ts → langserve-7cc5be48.d.ts} +1 -0
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +26 -8
- 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 +8 -1
- 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 +8 -1
- 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 +8 -1
- 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 +8 -1
- 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 +3 -3
- package/package.json +2 -2
- package/src/graphql/inputs/agent-state.input.ts +3 -0
- package/src/lib/runtime/remote-action-constructors.ts +10 -4
- package/src/lib/runtime/remote-lg-action.ts +5 -0
- package/dist/chunk-YAEZPJTK.mjs.map +0 -1
- /package/dist/{chunk-BLOO7P5D.mjs.map → chunk-A4P5YLJQ.mjs.map} +0 -0
- /package/dist/{chunk-U4EZU7AQ.mjs.map → chunk-EYEJ5L3X.mjs.map} +0 -0
- /package/dist/{chunk-HEILVP57.mjs.map → chunk-RGSZK24X.mjs.map} +0 -0
package/dist/lib/index.mjs
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
config,
|
|
4
4
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
5
5
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-RGSZK24X.mjs";
|
|
7
7
|
import {
|
|
8
8
|
copilotRuntimeNestEndpoint
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-EYEJ5L3X.mjs";
|
|
10
10
|
import {
|
|
11
11
|
copilotRuntimeNodeExpressEndpoint
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-A4P5YLJQ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
CopilotRuntime,
|
|
15
15
|
addCustomHeaderPlugin,
|
|
@@ -21,7 +21,8 @@ import {
|
|
|
21
21
|
getCommonConfig,
|
|
22
22
|
langGraphPlatformEndpoint,
|
|
23
23
|
resolveEndpointType
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-AMKPW7KT.mjs";
|
|
25
|
+
import "../chunk-5BIEM2UU.mjs";
|
|
25
26
|
import {
|
|
26
27
|
GoogleGenerativeAIAdapter,
|
|
27
28
|
GroqAdapter,
|
|
@@ -30,7 +31,6 @@ import {
|
|
|
30
31
|
OpenAIAssistantAdapter,
|
|
31
32
|
UnifyAdapter
|
|
32
33
|
} from "../chunk-OS5YD32G.mjs";
|
|
33
|
-
import "../chunk-5BIEM2UU.mjs";
|
|
34
34
|
import "../chunk-RTFJTJMA.mjs";
|
|
35
35
|
import "../chunk-2OZAGFV3.mjs";
|
|
36
36
|
import "../chunk-FHD4JECV.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-
|
|
2
|
-
export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-
|
|
1
|
+
import { e as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../copilot-runtime-67033bfa.js';
|
|
2
|
+
export { i as CommonConfig, d as CopilotRequestContextProperties, b as addCustomHeaderPlugin, h as buildSchema, g as createContext, j as getCommonConfig } from '../../copilot-runtime-67033bfa.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-
|
|
9
|
+
import '../../langserve-7cc5be48.js';
|
|
10
10
|
import '../../index-f6d1f30b.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.
|
|
47
|
+
version: "1.6.0-next.0",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -720,6 +720,7 @@ __name(_ts_metadata9, "_ts_metadata");
|
|
|
720
720
|
var AgentStateInput = class {
|
|
721
721
|
agentName;
|
|
722
722
|
state;
|
|
723
|
+
configurable;
|
|
723
724
|
};
|
|
724
725
|
__name(AgentStateInput, "AgentStateInput");
|
|
725
726
|
_ts_decorate9([
|
|
@@ -730,6 +731,12 @@ _ts_decorate9([
|
|
|
730
731
|
(0, import_type_graphql10.Field)(() => String),
|
|
731
732
|
_ts_metadata9("design:type", String)
|
|
732
733
|
], AgentStateInput.prototype, "state", void 0);
|
|
734
|
+
_ts_decorate9([
|
|
735
|
+
(0, import_type_graphql10.Field)(() => String, {
|
|
736
|
+
nullable: true
|
|
737
|
+
}),
|
|
738
|
+
_ts_metadata9("design:type", String)
|
|
739
|
+
], AgentStateInput.prototype, "configurable", void 0);
|
|
733
740
|
AgentStateInput = _ts_decorate9([
|
|
734
741
|
(0, import_type_graphql10.InputType)()
|
|
735
742
|
], AgentStateInput);
|