@copilotkit/runtime 1.5.16 → 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 +11 -0
- package/dist/chunk-44O2JGUY.mjs +12 -0
- package/dist/{chunk-2OZAGFV3.mjs → chunk-D2WLFQS6.mjs} +2 -2
- package/dist/{chunk-TWUMUUCQ.mjs → chunk-F6JB7EXM.mjs} +3 -3
- package/dist/{chunk-RTFJTJMA.mjs → chunk-HNUNXFTW.mjs} +3 -3
- package/dist/{chunk-FHRPZT3X.mjs → chunk-LKSLJZC6.mjs} +3 -3
- package/dist/{chunk-N6X67FPO.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-HHBTKTJ5.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-HHBTKTJ5.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-TWUMUUCQ.mjs.map → chunk-F6JB7EXM.mjs.map} +0 -0
- /package/dist/{chunk-RTFJTJMA.mjs.map → chunk-HNUNXFTW.mjs.map} +0 -0
- /package/dist/{chunk-FHRPZT3X.mjs.map → chunk-LKSLJZC6.mjs.map} +0 -0
- /package/dist/{chunk-N6X67FPO.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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @copilotkit/runtime
|
|
2
2
|
|
|
3
|
+
## 1.5.17-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1fc3902: - Revert "fix: detect and alert on version mismatch (#1333)"
|
|
8
|
+
|
|
9
|
+
This reverts commit 48b7c7b1bd48ced82ffb9a00d6eddc1f7581e0c1.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [1fc3902]
|
|
12
|
+
- @copilotkit/shared@1.5.17-next.0
|
|
13
|
+
|
|
3
14
|
## 1.5.16
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
4
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
5
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
__name,
|
|
10
|
+
__commonJS
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=chunk-44O2JGUY.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__name
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
4
4
|
|
|
5
5
|
// src/graphql/types/base/index.ts
|
|
6
6
|
import { Field, InputType } from "type-graphql";
|
|
@@ -40,4 +40,4 @@ BaseMessageInput = _ts_decorate([
|
|
|
40
40
|
export {
|
|
41
41
|
BaseMessageInput
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-D2WLFQS6.mjs.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getCommonConfig,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZT3RB4JF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/lib/integrations/nextjs/app-router.ts
|
|
11
11
|
import { createYoga } from "graphql-yoga";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
config,
|
|
78
78
|
copilotRuntimeNextJSPagesRouterEndpoint
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-F6JB7EXM.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseMessageInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D2WLFQS6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/graphql/types/converted/index.ts
|
|
9
9
|
var Message = class extends BaseMessageInput {
|
|
@@ -126,4 +126,4 @@ export {
|
|
|
126
126
|
ResultMessage,
|
|
127
127
|
AgentStateMessage
|
|
128
128
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
129
|
+
//# sourceMappingURL=chunk-HNUNXFTW.mjs.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZT3RB4JF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/lib/integrations/node-express/index.ts
|
|
11
11
|
function copilotRuntimeNodeExpressEndpoint(options) {
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNodeExpressEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-LKSLJZC6.mjs.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZT3RB4JF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/lib/integrations/nest/index.ts
|
|
11
11
|
function copilotRuntimeNestEndpoint(options) {
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNestEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-Q5VYBQBA.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__name
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
4
4
|
|
|
5
5
|
// src/service-adapters/langchain/langserve.ts
|
|
6
6
|
import { RemoteRunnable } from "langchain/runnables/remote";
|
|
@@ -1419,4 +1419,4 @@ export {
|
|
|
1419
1419
|
EmptyAdapter,
|
|
1420
1420
|
ExperimentalEmptyAdapter
|
|
1421
1421
|
};
|
|
1422
|
-
//# sourceMappingURL=chunk-
|
|
1422
|
+
//# sourceMappingURL=chunk-S3KKBII4.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__name
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
4
4
|
|
|
5
5
|
// src/graphql/types/response-status.type.ts
|
|
6
6
|
import { GraphQLJSON } from "graphql-scalars";
|
|
@@ -149,4 +149,4 @@ export {
|
|
|
149
149
|
MessageStreamInterruptedResponse,
|
|
150
150
|
UnknownErrorResponse
|
|
151
151
|
};
|
|
152
|
-
//# sourceMappingURL=chunk-
|
|
152
|
+
//# sourceMappingURL=chunk-U3V2BCGI.mjs.map
|
|
@@ -2,28 +2,27 @@ import {
|
|
|
2
2
|
EmptyAdapter,
|
|
3
3
|
RemoteChain,
|
|
4
4
|
streamLangChainResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S3KKBII4.mjs";
|
|
6
6
|
import {
|
|
7
7
|
GuardrailsValidationFailureResponse,
|
|
8
8
|
MessageStreamInterruptedResponse,
|
|
9
9
|
ResponseStatusUnion,
|
|
10
10
|
SuccessResponseStatus,
|
|
11
11
|
UnknownErrorResponse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U3V2BCGI.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ActionExecutionMessage,
|
|
15
15
|
AgentStateMessage,
|
|
16
16
|
ResultMessage,
|
|
17
17
|
TextMessage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HNUNXFTW.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BaseMessageInput
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-D2WLFQS6.mjs";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
|
-
__name
|
|
25
|
-
|
|
26
|
-
} from "./chunk-FHD4JECV.mjs";
|
|
24
|
+
__name
|
|
25
|
+
} from "./chunk-44O2JGUY.mjs";
|
|
27
26
|
|
|
28
27
|
// package.json
|
|
29
28
|
var require_package = __commonJS({
|
|
@@ -39,7 +38,7 @@ var require_package = __commonJS({
|
|
|
39
38
|
publishConfig: {
|
|
40
39
|
access: "public"
|
|
41
40
|
},
|
|
42
|
-
version: "1.5.
|
|
41
|
+
version: "1.5.17-next.0",
|
|
43
42
|
sideEffects: false,
|
|
44
43
|
main: "./dist/index.js",
|
|
45
44
|
module: "./dist/index.mjs",
|
|
@@ -4074,13 +4073,7 @@ StateResolver = _ts_decorate20([
|
|
|
4074
4073
|
], StateResolver);
|
|
4075
4074
|
|
|
4076
4075
|
// src/lib/integrations/shared.ts
|
|
4077
|
-
var packageJson2 = __toESM(require_package());
|
|
4078
4076
|
var logger = createLogger();
|
|
4079
|
-
var addCustomHeaderPlugin = {
|
|
4080
|
-
onResponse({ response }) {
|
|
4081
|
-
response.headers.set("X-CopilotKit-Runtime-Version", packageJson2.version);
|
|
4082
|
-
}
|
|
4083
|
-
};
|
|
4084
4077
|
async function createContext(initialContext, copilotKitContext, contextLogger, properties = {}) {
|
|
4085
4078
|
logger.debug({
|
|
4086
4079
|
copilotKitContext
|
|
@@ -4146,8 +4139,7 @@ function getCommonConfig(options) {
|
|
|
4146
4139
|
}),
|
|
4147
4140
|
schema: buildSchema(),
|
|
4148
4141
|
plugins: [
|
|
4149
|
-
useDeferStream()
|
|
4150
|
-
addCustomHeaderPlugin
|
|
4142
|
+
useDeferStream()
|
|
4151
4143
|
],
|
|
4152
4144
|
context: (ctx) => createContext(ctx, options, contextLogger, options.properties)
|
|
4153
4145
|
};
|
|
@@ -4187,10 +4179,9 @@ export {
|
|
|
4187
4179
|
copilotKitEndpoint,
|
|
4188
4180
|
langGraphPlatformEndpoint,
|
|
4189
4181
|
resolveEndpointType,
|
|
4190
|
-
addCustomHeaderPlugin,
|
|
4191
4182
|
createContext,
|
|
4192
4183
|
buildSchema,
|
|
4193
4184
|
getCommonConfig,
|
|
4194
4185
|
copilotRuntimeNodeHttpEndpoint
|
|
4195
4186
|
};
|
|
4196
|
-
//# sourceMappingURL=chunk-
|
|
4187
|
+
//# sourceMappingURL=chunk-ZT3RB4JF.mjs.map
|