@copilotkit/runtime 1.1.3-feat-runtime-remote-actions.2 → 1.2.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 +17 -13
- package/__snapshots__/schema/schema.graphql +0 -41
- package/dist/{chunk-BJ2LVHWA.mjs → chunk-736EEICU.mjs} +3 -3
- package/dist/{chunk-W7RRKPE2.mjs → chunk-DMO6FA25.mjs} +2 -2
- package/dist/{chunk-JYLUCJP7.mjs → chunk-DYF5MUAH.mjs} +2 -2
- package/dist/{chunk-TBZGOJJX.mjs → chunk-GEIBJJQ4.mjs} +2 -14
- package/dist/chunk-GEIBJJQ4.mjs.map +1 -0
- package/dist/chunk-PB24CCIJ.mjs +158 -0
- package/dist/chunk-PB24CCIJ.mjs.map +1 -0
- package/dist/{chunk-7FSNQXPE.mjs → chunk-Q5ZTE7WH.mjs} +158 -786
- package/dist/chunk-Q5ZTE7WH.mjs.map +1 -0
- package/dist/{chunk-73NMP3DI.mjs → chunk-URMISMK2.mjs} +2 -2
- package/dist/{chunk-WRPRFRSL.mjs → chunk-YMUS43FR.mjs} +2 -2
- package/dist/graphql/types/converted/index.d.ts +1 -1
- package/dist/graphql/types/converted/index.js +0 -13
- package/dist/graphql/types/converted/index.js.map +1 -1
- package/dist/graphql/types/converted/index.mjs +1 -3
- package/dist/{index-079752b9.d.ts → index-13aa818e.d.ts} +1 -1
- package/dist/{index-0476e4f7.d.ts → index-aa091e3c.d.ts} +2 -24
- package/dist/index.d.ts +7 -7
- package/dist/index.js +245 -982
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/{langserve-d6073a3b.d.ts → langserve-a54438c6.d.ts} +11 -24
- package/dist/lib/index.d.ts +7 -7
- package/dist/lib/index.js +245 -982
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +8 -8
- package/dist/lib/integrations/index.d.ts +6 -6
- package/dist/lib/integrations/index.js +182 -437
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +6 -6
- package/dist/lib/integrations/nest/index.d.ts +5 -5
- package/dist/lib/integrations/nest/index.js +182 -437
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +4 -4
- package/dist/lib/integrations/node-express/index.d.ts +5 -5
- package/dist/lib/integrations/node-express/index.js +182 -437
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +4 -4
- package/dist/lib/integrations/node-http/index.d.ts +5 -5
- package/dist/lib/integrations/node-http/index.js +182 -437
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +3 -3
- package/dist/service-adapters/index.d.ts +3 -3
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +3 -3
- package/dist/{copilot-runtime-d427e991.d.ts → shared-c5362338.d.ts} +38 -65
- package/package.json +5 -7
- package/src/graphql/inputs/generate-copilot-response.input.ts +0 -11
- package/src/graphql/inputs/message.input.ts +0 -30
- package/src/graphql/resolvers/copilot.resolver.ts +12 -56
- package/src/graphql/types/converted/index.ts +0 -15
- package/src/graphql/types/copilot-response.type.ts +0 -29
- package/src/graphql/types/enums.ts +0 -1
- package/src/lib/copilot-runtime.ts +231 -0
- package/src/lib/index.ts +1 -1
- package/src/lib/integrations/shared.ts +1 -1
- package/src/service-adapters/conversion.ts +0 -16
- package/src/service-adapters/events.ts +19 -101
- package/dist/chunk-5TYP4A3G.mjs +0 -260
- package/dist/chunk-5TYP4A3G.mjs.map +0 -1
- package/dist/chunk-7FSNQXPE.mjs.map +0 -1
- package/dist/chunk-TBZGOJJX.mjs.map +0 -1
- package/src/agents/langgraph/event-source.ts +0 -222
- package/src/agents/langgraph/events.ts +0 -309
- package/src/graphql/inputs/agent-session.input.ts +0 -13
- package/src/graphql/inputs/agent-state.input.ts +0 -10
- package/src/lib/runtime/copilot-runtime.ts +0 -360
- package/src/lib/runtime/remote-actions.ts +0 -241
- /package/dist/{chunk-BJ2LVHWA.mjs.map → chunk-736EEICU.mjs.map} +0 -0
- /package/dist/{chunk-W7RRKPE2.mjs.map → chunk-DMO6FA25.mjs.map} +0 -0
- /package/dist/{chunk-JYLUCJP7.mjs.map → chunk-DYF5MUAH.mjs.map} +0 -0
- /package/dist/{chunk-73NMP3DI.mjs.map → chunk-URMISMK2.mjs.map} +0 -0
- /package/dist/{chunk-WRPRFRSL.mjs.map → chunk-YMUS43FR.mjs.map} +0 -0
package/dist/lib/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotRuntime,
|
|
3
3
|
flattenToolCallsNoDuplicates
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-PB24CCIJ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
GoogleGenerativeAIAdapter,
|
|
7
7
|
GroqAdapter,
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
OpenAIAdapter,
|
|
10
10
|
OpenAIAssistantAdapter,
|
|
11
11
|
UnifyAdapter
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-736EEICU.mjs";
|
|
13
13
|
import {
|
|
14
14
|
config,
|
|
15
15
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
16
16
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-DYF5MUAH.mjs";
|
|
18
18
|
import {
|
|
19
19
|
copilotRuntimeNestEndpoint
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-YMUS43FR.mjs";
|
|
21
21
|
import {
|
|
22
22
|
copilotRuntimeNodeExpressEndpoint
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-DMO6FA25.mjs";
|
|
24
24
|
import {
|
|
25
25
|
buildSchema,
|
|
26
26
|
copilotRuntimeNodeHttpEndpoint,
|
|
27
27
|
createContext,
|
|
28
28
|
getCommonConfig
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-Q5ZTE7WH.mjs";
|
|
30
|
+
import "../chunk-URMISMK2.mjs";
|
|
31
31
|
import "../chunk-U3V2BCGI.mjs";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-GEIBJJQ4.mjs";
|
|
33
33
|
import "../chunk-RMZWGQ46.mjs";
|
|
34
34
|
import "../chunk-44O2JGUY.mjs";
|
|
35
35
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../
|
|
2
|
-
export { g as CommonConfig, b as CopilotRequestContextProperties, e as buildSchema, d as createContext, h as getCommonConfig } from '../../
|
|
1
|
+
import { c as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../shared-c5362338.js';
|
|
2
|
+
export { g as CommonConfig, b as CopilotRequestContextProperties, e as buildSchema, d as createContext, h as getCommonConfig } from '../../shared-c5362338.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
|
+
import 'graphql';
|
|
9
|
+
import 'pino';
|
|
8
10
|
import '@copilotkit/shared';
|
|
9
|
-
import '../../langserve-
|
|
10
|
-
import '../../index-
|
|
11
|
+
import '../../langserve-a54438c6.js';
|
|
12
|
+
import '../../index-aa091e3c.js';
|
|
11
13
|
import '../../graphql/types/base/index.js';
|
|
12
14
|
import 'rxjs';
|
|
13
|
-
import 'graphql';
|
|
14
|
-
import 'pino';
|
|
15
15
|
import '../cloud/index.js';
|
|
16
16
|
|
|
17
17
|
declare function copilotRuntimeNextJSAppRouterEndpoint(options: CreateCopilotRuntimeServerOptions): {
|