@copilotkit/runtime 0.37.0 → 0.38.0-mme-alpha.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/.turbo/turbo-build.log +69 -54
- package/CHANGELOG.md +11 -0
- package/__snapshots__/schema/schema.graphql +15 -4
- package/dist/{chunk-NFCPM5AM.mjs → chunk-6NZ4UMOD.mjs} +4 -4
- package/dist/chunk-6NZ4UMOD.mjs.map +1 -0
- package/dist/{chunk-2CCVVJDU.mjs → chunk-6OJ47NCG.mjs} +13 -15
- package/dist/chunk-6OJ47NCG.mjs.map +1 -0
- package/dist/chunk-BYB2LNMK.mjs +152 -0
- package/dist/chunk-BYB2LNMK.mjs.map +1 -0
- package/dist/{chunk-XPAUPJMW.mjs → chunk-EWS5TMDA.mjs} +411 -206
- package/dist/chunk-EWS5TMDA.mjs.map +1 -0
- package/dist/{chunk-7IFP53C6.mjs → chunk-FRK6BXXV.mjs} +49 -11
- package/dist/chunk-FRK6BXXV.mjs.map +1 -0
- package/dist/{chunk-BLTAUVRP.mjs → chunk-OZMCHYYR.mjs} +5 -3
- package/dist/{chunk-BLTAUVRP.mjs.map → chunk-OZMCHYYR.mjs.map} +1 -1
- package/dist/chunk-RHQLCJGG.mjs +7 -0
- package/dist/chunk-RHQLCJGG.mjs.map +1 -0
- package/dist/{chunk-5HGYI6EG.mjs → chunk-XI3HBDMA.mjs} +13 -5
- package/dist/chunk-XI3HBDMA.mjs.map +1 -0
- package/dist/{chunk-4UA4RB4C.mjs → chunk-XXYCNRFT.mjs} +12 -10
- package/dist/chunk-XXYCNRFT.mjs.map +1 -0
- package/dist/failed-response-status-reasons-0ab19e06.d.ts +49 -0
- package/dist/graphql/types/base/index.mjs +2 -1
- package/dist/graphql/types/converted/index.mjs +3 -2
- package/dist/{index-f0875df3.d.ts → index-d5ba24be.d.ts} +24 -23
- package/dist/index.d.ts +7 -4
- package/dist/index.js +486 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{langchain-adapter-9ce103f3.d.ts → langchain-adapter-54784d29.d.ts} +1 -1
- package/dist/{langserve-fd5066ee.d.ts → langserve-63794237.d.ts} +24 -7
- package/dist/lib/cloud/index.d.ts +6 -0
- package/dist/lib/cloud/index.js +18 -0
- package/dist/lib/cloud/index.js.map +1 -0
- package/dist/lib/cloud/index.mjs +1 -0
- package/dist/lib/cloud/index.mjs.map +1 -0
- package/dist/lib/index.d.ts +6 -4
- package/dist/lib/index.js +480 -96
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +9 -7
- package/dist/lib/integrations/index.d.ts +5 -3
- package/dist/lib/integrations/index.js +419 -80
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +7 -5
- package/dist/lib/integrations/node-http/index.d.ts +4 -2
- package/dist/lib/integrations/node-http/index.js +409 -68
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +6 -4
- package/dist/pages-router-d94f01da.d.ts +21 -0
- package/dist/service-adapters/index.d.ts +2 -2
- package/dist/service-adapters/index.js +54 -8
- package/dist/service-adapters/index.js.map +1 -1
- package/dist/service-adapters/index.mjs +5 -4
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +174 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +12 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +6 -4
- package/src/graphql/inputs/cloud-guardrails.input.ts +2 -5
- package/src/graphql/inputs/cloud.input.ts +2 -2
- package/src/graphql/resolvers/copilot.resolver.ts +269 -30
- package/src/graphql/types/response-status.type.ts +16 -2
- package/src/index.ts +1 -0
- package/src/lib/cloud/index.ts +4 -0
- package/src/lib/copilot-runtime.ts +13 -37
- package/src/lib/integrations/nextjs/app-router.ts +9 -17
- package/src/lib/integrations/nextjs/pages-router.ts +9 -15
- package/src/lib/integrations/node-http/index.ts +6 -14
- package/src/lib/integrations/shared.ts +37 -17
- package/src/lib/logger.ts +28 -0
- package/src/service-adapters/events.ts +20 -2
- package/src/service-adapters/google/google-genai-adapter.ts +3 -0
- package/src/service-adapters/google/utils.ts +1 -1
- package/src/service-adapters/index.ts +1 -1
- package/src/service-adapters/langchain/langserve.ts +10 -4
- package/src/service-adapters/langchain/utils.ts +58 -9
- package/src/utils/failed-response-status-reasons.ts +48 -0
- package/src/utils/index.ts +1 -0
- package/dist/chunk-2CCVVJDU.mjs.map +0 -1
- package/dist/chunk-4UA4RB4C.mjs.map +0 -1
- package/dist/chunk-5HGYI6EG.mjs.map +0 -1
- package/dist/chunk-7IFP53C6.mjs.map +0 -1
- package/dist/chunk-NFCPM5AM.mjs.map +0 -1
- package/dist/chunk-XPAUPJMW.mjs.map +0 -1
- package/dist/pages-router-b6bc6c60.d.ts +0 -30
- package/src/lib/guardrails.ts +0 -3
package/dist/lib/index.mjs
CHANGED
|
@@ -4,27 +4,29 @@ import {
|
|
|
4
4
|
CopilotRuntime,
|
|
5
5
|
RemoteCopilotCloud,
|
|
6
6
|
flattenToolCallsNoDuplicates
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XXYCNRFT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
GoogleGenerativeAIAdapter,
|
|
10
10
|
LangChainAdapter,
|
|
11
11
|
OpenAIAdapter,
|
|
12
12
|
OpenAIAssistantAdapter
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-XI3HBDMA.mjs";
|
|
14
14
|
import {
|
|
15
15
|
config,
|
|
16
16
|
copilotRuntimeNextJSAppRouterEndpoint,
|
|
17
17
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-6OJ47NCG.mjs";
|
|
19
19
|
import {
|
|
20
20
|
buildSchema,
|
|
21
21
|
copilotRuntimeNodeHttpEndpoint,
|
|
22
22
|
createContext,
|
|
23
23
|
getCommonConfig
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
24
|
+
} from "../chunk-EWS5TMDA.mjs";
|
|
25
|
+
import "../chunk-FRK6BXXV.mjs";
|
|
26
|
+
import "../chunk-BYB2LNMK.mjs";
|
|
27
|
+
import "../chunk-OZMCHYYR.mjs";
|
|
28
|
+
import "../chunk-6NZ4UMOD.mjs";
|
|
29
|
+
import "../chunk-RHQLCJGG.mjs";
|
|
28
30
|
export {
|
|
29
31
|
CopilotBackend,
|
|
30
32
|
CopilotCloud,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export { g as CopilotRequestContextProperties, h as CreateCopilotRuntimeServerOptions, G as GraphQLContext, j as buildSchema,
|
|
2
|
-
export { C as CopilotRuntimeServerInstance, a as config, c as copilotRuntimeNextJSAppRouterEndpoint, b as copilotRuntimeNextJSPagesRouterEndpoint } from '../../pages-router-
|
|
1
|
+
export { k as CommonConfig, g as CopilotRequestContextProperties, h as CreateCopilotRuntimeServerOptions, G as GraphQLContext, j as buildSchema, m as copilotRuntimeNodeHttpEndpoint, i as createContext, l as getCommonConfig } from '../../index-d5ba24be.js';
|
|
2
|
+
export { C as CopilotRuntimeServerInstance, a as config, c as copilotRuntimeNextJSAppRouterEndpoint, b as copilotRuntimeNextJSPagesRouterEndpoint } from '../../pages-router-d94f01da.js';
|
|
3
3
|
import 'graphql-yoga';
|
|
4
4
|
import 'graphql';
|
|
5
|
+
import 'pino';
|
|
5
6
|
import '@copilotkit/shared';
|
|
6
|
-
import '../../langserve-
|
|
7
|
+
import '../../langserve-63794237.js';
|
|
7
8
|
import '../../index-aa091e3c.js';
|
|
8
9
|
import '../../graphql/types/base/index.js';
|
|
9
10
|
import 'rxjs';
|
|
11
|
+
import '../cloud/index.js';
|