@copilotkit/runtime 1.8.5-next.3 → 1.8.5-next.4
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-2PVUPC44.mjs → chunk-574FKWP5.mjs} +2 -2
- package/dist/{chunk-UOCZJTXN.mjs → chunk-GGXHVDCG.mjs} +2 -2
- package/dist/{chunk-UTUGZIQI.mjs → chunk-PKO7BUPS.mjs} +24 -7
- package/dist/chunk-PKO7BUPS.mjs.map +1 -0
- package/dist/{chunk-TDPCQIMB.mjs → chunk-WQZQTGHT.mjs} +2 -2
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/index.js +18 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/index.mjs +4 -4
- 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/runtime/remote-lg-action.ts +24 -2
- package/dist/chunk-UTUGZIQI.mjs.map +0 -1
- /package/dist/{chunk-2PVUPC44.mjs.map → chunk-574FKWP5.mjs.map} +0 -0
- /package/dist/{chunk-UOCZJTXN.mjs.map → chunk-GGXHVDCG.mjs.map} +0 -0
- /package/dist/{chunk-TDPCQIMB.mjs.map → chunk-WQZQTGHT.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-PKO7BUPS.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-WQZQTGHT.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.8.5-next.
|
|
47
|
+
version: "1.8.5-next.4",
|
|
48
48
|
sideEffects: false,
|
|
49
49
|
main: "./dist/index.js",
|
|
50
50
|
module: "./dist/index.mjs",
|
|
@@ -2900,6 +2900,23 @@ async function execute(args) {
|
|
|
2900
2900
|
await streamEvents(controller, args);
|
|
2901
2901
|
controller.close();
|
|
2902
2902
|
} catch (err) {
|
|
2903
|
+
const cause = err == null ? void 0 : err.cause;
|
|
2904
|
+
const errorCode = (cause == null ? void 0 : cause.code) || (err == null ? void 0 : err.code);
|
|
2905
|
+
if (errorCode === "ECONNREFUSED") {
|
|
2906
|
+
throw new import_shared9.CopilotKitMisuseError({
|
|
2907
|
+
message: `
|
|
2908
|
+
The LangGraph client could not connect to the graph. Please further check previous logs, which includes further details.
|
|
2909
|
+
|
|
2910
|
+
See more: https://docs.copilotkit.ai/troubleshooting/common-issues`
|
|
2911
|
+
});
|
|
2912
|
+
} else {
|
|
2913
|
+
throw new import_shared9.CopilotKitMisuseError({
|
|
2914
|
+
message: `
|
|
2915
|
+
The LangGraph client threw unhandled error ${err}.
|
|
2916
|
+
|
|
2917
|
+
See more: https://docs.copilotkit.ai/troubleshooting/common-issues`
|
|
2918
|
+
});
|
|
2919
|
+
}
|
|
2903
2920
|
}
|
|
2904
2921
|
}
|
|
2905
2922
|
});
|