@copilotkit/runtime 1.5.16-next.2 → 1.5.17-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 +20 -0
- package/dist/chunk-44O2JGUY.mjs +12 -0
- package/dist/{chunk-2OZAGFV3.mjs → chunk-D2WLFQS6.mjs} +2 -2
- package/dist/{chunk-UHUC2NVB.mjs → chunk-F6JB7EXM.mjs} +3 -3
- package/dist/{chunk-RTFJTJMA.mjs → chunk-HNUNXFTW.mjs} +3 -3
- package/dist/{chunk-TBPOHFA4.mjs → chunk-LKSLJZC6.mjs} +3 -3
- package/dist/{chunk-ISPCKW3E.mjs → chunk-Q5VYBQBA.mjs} +3 -3
- package/dist/{chunk-OS5YD32G.mjs → chunk-S3KKBII4.mjs} +2 -2
- package/dist/{chunk-5BIEM2UU.mjs → chunk-U3V2BCGI.mjs} +2 -2
- package/dist/{chunk-U5OA7VEB.mjs → chunk-ZT3RB4JF.mjs} +9 -18
- package/dist/chunk-ZT3RB4JF.mjs.map +1 -0
- package/dist/{copilot-runtime-084fb9c7.d.ts → copilot-runtime-3e7f1c7b.d.ts} +1 -6
- package/dist/graphql/types/base/index.mjs +2 -2
- package/dist/graphql/types/converted/index.mjs +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -11
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +2 -11
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +9 -11
- package/dist/lib/integrations/index.d.ts +2 -2
- package/dist/lib/integrations/index.js +2 -11
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +9 -11
- package/dist/lib/integrations/nest/index.d.ts +1 -1
- package/dist/lib/integrations/nest/index.js +2 -9
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +7 -7
- package/dist/lib/integrations/node-express/index.d.ts +1 -1
- package/dist/lib/integrations/node-express/index.js +2 -9
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +7 -7
- package/dist/lib/integrations/node-http/index.d.ts +1 -1
- package/dist/lib/integrations/node-http/index.js +2 -9
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +6 -6
- package/dist/service-adapters/index.mjs +2 -2
- package/dist/utils/index.mjs +2 -2
- package/package.json +2 -2
- package/src/lib/integrations/shared.ts +1 -9
- package/tsconfig.json +0 -1
- package/dist/chunk-FHD4JECV.mjs +0 -33
- package/dist/chunk-U5OA7VEB.mjs.map +0 -1
- /package/dist/{chunk-FHD4JECV.mjs.map → chunk-44O2JGUY.mjs.map} +0 -0
- /package/dist/{chunk-2OZAGFV3.mjs.map → chunk-D2WLFQS6.mjs.map} +0 -0
- /package/dist/{chunk-UHUC2NVB.mjs.map → chunk-F6JB7EXM.mjs.map} +0 -0
- /package/dist/{chunk-RTFJTJMA.mjs.map → chunk-HNUNXFTW.mjs.map} +0 -0
- /package/dist/{chunk-TBPOHFA4.mjs.map → chunk-LKSLJZC6.mjs.map} +0 -0
- /package/dist/{chunk-ISPCKW3E.mjs.map → chunk-Q5VYBQBA.mjs.map} +0 -0
- /package/dist/{chunk-OS5YD32G.mjs.map → chunk-S3KKBII4.mjs.map} +0 -0
- /package/dist/{chunk-5BIEM2UU.mjs.map → chunk-U3V2BCGI.mjs.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
copilotRuntimeNestEndpoint
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-Q5VYBQBA.mjs";
|
|
4
|
+
import "../../../chunk-ZT3RB4JF.mjs";
|
|
5
|
+
import "../../../chunk-S3KKBII4.mjs";
|
|
6
|
+
import "../../../chunk-U3V2BCGI.mjs";
|
|
7
|
+
import "../../../chunk-HNUNXFTW.mjs";
|
|
8
|
+
import "../../../chunk-D2WLFQS6.mjs";
|
|
9
|
+
import "../../../chunk-44O2JGUY.mjs";
|
|
10
10
|
export {
|
|
11
11
|
copilotRuntimeNestEndpoint
|
|
12
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as graphql_yoga from 'graphql-yoga';
|
|
2
|
-
import {
|
|
2
|
+
import { d as CreateCopilotRuntimeServerOptions, G as GraphQLContext } from '../../../copilot-runtime-3e7f1c7b.js';
|
|
3
3
|
import '@copilotkit/shared';
|
|
4
4
|
import '../../../langserve-3a591089.js';
|
|
5
5
|
import '../../../index-f6d1f30b.js';
|
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.5.
|
|
47
|
+
version: "1.5.17-next.0",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -2556,13 +2556,7 @@ StateResolver = _ts_decorate22([
|
|
|
2556
2556
|
], StateResolver);
|
|
2557
2557
|
|
|
2558
2558
|
// src/lib/integrations/shared.ts
|
|
2559
|
-
var packageJson2 = __toESM(require_package());
|
|
2560
2559
|
var logger = createLogger();
|
|
2561
|
-
var addCustomHeaderPlugin = {
|
|
2562
|
-
onResponse({ response }) {
|
|
2563
|
-
response.headers.set("X-CopilotKit-Runtime-Version", packageJson2.version);
|
|
2564
|
-
}
|
|
2565
|
-
};
|
|
2566
2560
|
async function createContext(initialContext, copilotKitContext, contextLogger, properties = {}) {
|
|
2567
2561
|
logger.debug({
|
|
2568
2562
|
copilotKitContext
|
|
@@ -2628,8 +2622,7 @@ function getCommonConfig(options) {
|
|
|
2628
2622
|
}),
|
|
2629
2623
|
schema: buildSchema(),
|
|
2630
2624
|
plugins: [
|
|
2631
|
-
(0, import_plugin_defer_stream.useDeferStream)()
|
|
2632
|
-
addCustomHeaderPlugin
|
|
2625
|
+
(0, import_plugin_defer_stream.useDeferStream)()
|
|
2633
2626
|
],
|
|
2634
2627
|
context: (ctx) => createContext(ctx, options, contextLogger, options.properties)
|
|
2635
2628
|
};
|