@copilotkit/runtime 1.9.3 → 1.10.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 +7 -0
- package/dist/{chunk-27ICMTNV.mjs → chunk-HB5Z72TJ.mjs} +2 -2
- package/dist/{chunk-YKUWJR33.mjs → chunk-I5VNKUWI.mjs} +2 -2
- package/dist/{chunk-TPT4AKCH.mjs → chunk-IMZSBLG7.mjs} +2 -2
- package/dist/{chunk-IWD3ZNTV.mjs → chunk-X76SZ4PE.mjs} +3 -2
- package/dist/chunk-X76SZ4PE.mjs.map +1 -0
- package/dist/{chunk-DC55PN5M.mjs → chunk-Z5WUVWW7.mjs} +2 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +5 -5
- package/dist/lib/integrations/index.js +1 -1
- package/dist/lib/integrations/index.js.map +1 -1
- package/dist/lib/integrations/index.mjs +4 -4
- package/dist/lib/integrations/nest/index.js +1 -1
- package/dist/lib/integrations/nest/index.js.map +1 -1
- package/dist/lib/integrations/nest/index.mjs +2 -2
- package/dist/lib/integrations/node-express/index.js +1 -1
- package/dist/lib/integrations/node-express/index.js.map +1 -1
- package/dist/lib/integrations/node-express/index.mjs +2 -2
- package/dist/lib/integrations/node-http/index.js +1 -1
- package/dist/lib/integrations/node-http/index.js.map +1 -1
- package/dist/lib/integrations/node-http/index.mjs +1 -1
- package/package.json +2 -2
- package/src/lib/streaming.ts +1 -0
- package/dist/chunk-IWD3ZNTV.mjs.map +0 -1
- /package/dist/{chunk-27ICMTNV.mjs.map → chunk-HB5Z72TJ.mjs.map} +0 -0
- /package/dist/{chunk-YKUWJR33.mjs.map → chunk-I5VNKUWI.mjs.map} +0 -0
- /package/dist/{chunk-TPT4AKCH.mjs.map → chunk-IMZSBLG7.mjs.map} +0 -0
- /package/dist/{chunk-DC55PN5M.mjs.map → chunk-Z5WUVWW7.mjs.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
copilotRuntimeNodeHttpEndpoint,
|
|
3
3
|
getRuntimeInstanceTelemetryInfo,
|
|
4
4
|
telemetry_client_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X76SZ4PE.mjs";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-FHD4JECV.mjs";
|
|
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
|
|
|
22
22
|
export {
|
|
23
23
|
copilotRuntimeNestEndpoint
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-Z5WUVWW7.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ var require_package = __commonJS({
|
|
|
44
44
|
publishConfig: {
|
|
45
45
|
access: "public"
|
|
46
46
|
},
|
|
47
|
-
version: "1.
|
|
47
|
+
version: "1.10.0-next.0",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -3831,6 +3831,7 @@ function convertStreamingErrorToStructured(error) {
|
|
|
3831
3831
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
3832
3832
|
let helpfulMessage = generateHelpfulErrorMessage(error);
|
|
3833
3833
|
if (((_a = error == null ? void 0 : error.message) == null ? void 0 : _a.includes("fetch failed")) || ((_b = error == null ? void 0 : error.message) == null ? void 0 : _b.includes("ECONNREFUSED")) || ((_c = error == null ? void 0 : error.message) == null ? void 0 : _c.includes("ENOTFOUND")) || ((_d = error == null ? void 0 : error.message) == null ? void 0 : _d.includes("ETIMEDOUT")) || ((_e = error == null ? void 0 : error.message) == null ? void 0 : _e.includes("terminated")) || ((_f = error == null ? void 0 : error.cause) == null ? void 0 : _f.code) === "UND_ERR_SOCKET" || ((_g = error == null ? void 0 : error.message) == null ? void 0 : _g.includes("other side closed")) || (error == null ? void 0 : error.code) === "UND_ERR_SOCKET") {
|
|
3834
|
+
console.log("error", error);
|
|
3834
3835
|
return new import_shared15.CopilotKitLowLevelError({
|
|
3835
3836
|
error: error instanceof Error ? error : new Error(String(error)),
|
|
3836
3837
|
url: "streaming connection",
|