@copilotkit/runtime 1.9.3-next.4 → 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.
Files changed (32) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{chunk-VM2GXVSW.mjs → chunk-HB5Z72TJ.mjs} +2 -2
  3. package/dist/{chunk-TOTCMKGV.mjs → chunk-I5VNKUWI.mjs} +2 -2
  4. package/dist/{chunk-M52XCCYL.mjs → chunk-IMZSBLG7.mjs} +2 -2
  5. package/dist/{chunk-UNXHBYJH.mjs → chunk-X76SZ4PE.mjs} +3 -2
  6. package/dist/chunk-X76SZ4PE.mjs.map +1 -0
  7. package/dist/{chunk-L5XBPLH4.mjs → chunk-Z5WUVWW7.mjs} +2 -2
  8. package/dist/index.js +2 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +5 -5
  11. package/dist/lib/index.js +2 -1
  12. package/dist/lib/index.js.map +1 -1
  13. package/dist/lib/index.mjs +5 -5
  14. package/dist/lib/integrations/index.js +1 -1
  15. package/dist/lib/integrations/index.js.map +1 -1
  16. package/dist/lib/integrations/index.mjs +4 -4
  17. package/dist/lib/integrations/nest/index.js +1 -1
  18. package/dist/lib/integrations/nest/index.js.map +1 -1
  19. package/dist/lib/integrations/nest/index.mjs +2 -2
  20. package/dist/lib/integrations/node-express/index.js +1 -1
  21. package/dist/lib/integrations/node-express/index.js.map +1 -1
  22. package/dist/lib/integrations/node-express/index.mjs +2 -2
  23. package/dist/lib/integrations/node-http/index.js +1 -1
  24. package/dist/lib/integrations/node-http/index.js.map +1 -1
  25. package/dist/lib/integrations/node-http/index.mjs +1 -1
  26. package/package.json +2 -2
  27. package/src/lib/streaming.ts +1 -0
  28. package/dist/chunk-UNXHBYJH.mjs.map +0 -1
  29. /package/dist/{chunk-VM2GXVSW.mjs.map → chunk-HB5Z72TJ.mjs.map} +0 -0
  30. /package/dist/{chunk-TOTCMKGV.mjs.map → chunk-I5VNKUWI.mjs.map} +0 -0
  31. /package/dist/{chunk-M52XCCYL.mjs.map → chunk-IMZSBLG7.mjs.map} +0 -0
  32. /package/dist/{chunk-L5XBPLH4.mjs.map → chunk-Z5WUVWW7.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.10.0-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8674da1]
8
+ - @copilotkit/shared@1.10.0-next.0
9
+
10
+ ## 1.9.3
11
+
12
+ ### Patch Changes
13
+
14
+ - 1bda332: - chore(telemetry): integrate Scarf for usage analytics
15
+ - df25f34: - feat: add agui fastAPI compatible langgraph agent
16
+ - chore: release 0.1.55 with agui langgraph fastapi support
17
+ - 589ae52: - adds scarf deps to runtime
18
+ - 88ceae2: - upgrade AG-UI packages
19
+ - Updated dependencies [1bda332]
20
+ - @copilotkit/shared@1.9.3
21
+
3
22
  ## 1.9.3-next.4
4
23
 
5
24
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-UNXHBYJH.mjs";
5
+ } from "./chunk-X76SZ4PE.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
22
22
  export {
23
23
  copilotRuntimeNodeExpressEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-VM2GXVSW.mjs.map
25
+ //# sourceMappingURL=chunk-HB5Z72TJ.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LangGraphEventTypes
3
- } from "./chunk-UNXHBYJH.mjs";
3
+ } from "./chunk-X76SZ4PE.mjs";
4
4
  import {
5
5
  __name
6
6
  } from "./chunk-FHD4JECV.mjs";
@@ -156,4 +156,4 @@ export {
156
156
  CustomEventNames,
157
157
  LangGraphAgent
158
158
  };
159
- //# sourceMappingURL=chunk-TOTCMKGV.mjs.map
159
+ //# sourceMappingURL=chunk-I5VNKUWI.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  getCommonConfig,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-UNXHBYJH.mjs";
5
+ } from "./chunk-X76SZ4PE.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-FHD4JECV.mjs";
@@ -77,4 +77,4 @@ export {
77
77
  config,
78
78
  copilotRuntimeNextJSPagesRouterEndpoint
79
79
  };
80
- //# sourceMappingURL=chunk-M52XCCYL.mjs.map
80
+ //# sourceMappingURL=chunk-IMZSBLG7.mjs.map
@@ -40,7 +40,7 @@ var require_package = __commonJS({
40
40
  publishConfig: {
41
41
  access: "public"
42
42
  },
43
- version: "1.9.3-next.4",
43
+ version: "1.10.0-next.0",
44
44
  sideEffects: false,
45
45
  main: "./dist/index.js",
46
46
  module: "./dist/index.mjs",
@@ -1859,6 +1859,7 @@ function convertStreamingErrorToStructured(error) {
1859
1859
  var _a, _b, _c, _d, _e, _f, _g;
1860
1860
  let helpfulMessage = generateHelpfulErrorMessage(error);
1861
1861
  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") {
1862
+ console.log("error", error);
1862
1863
  return new CopilotKitLowLevelError({
1863
1864
  error: error instanceof Error ? error : new Error(String(error)),
1864
1865
  url: "streaming connection",
@@ -5918,4 +5919,4 @@ export {
5918
5919
  getCommonConfig,
5919
5920
  copilotRuntimeNodeHttpEndpoint
5920
5921
  };
5921
- //# sourceMappingURL=chunk-UNXHBYJH.mjs.map
5922
+ //# sourceMappingURL=chunk-X76SZ4PE.mjs.map