@copilotkit/runtime 1.5.12-next.7 → 1.5.12

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 (30) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{chunk-WTUPF3W3.mjs → chunk-4LRVKGBI.mjs} +2 -2
  3. package/dist/{chunk-DLESGNLO.mjs → chunk-IS3QAGOU.mjs} +2 -2
  4. package/dist/{chunk-34276UUU.mjs → chunk-PFELVFS7.mjs} +7 -7
  5. package/dist/chunk-PFELVFS7.mjs.map +1 -0
  6. package/dist/{chunk-UBYSQI43.mjs → chunk-W6EE6OTN.mjs} +2 -2
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +9 -9
  10. package/dist/lib/index.js +1 -1
  11. package/dist/lib/index.js.map +1 -1
  12. package/dist/lib/index.mjs +5 -5
  13. package/dist/lib/integrations/index.js +1 -1
  14. package/dist/lib/integrations/index.js.map +1 -1
  15. package/dist/lib/integrations/index.mjs +5 -5
  16. package/dist/lib/integrations/nest/index.js +1 -1
  17. package/dist/lib/integrations/nest/index.js.map +1 -1
  18. package/dist/lib/integrations/nest/index.mjs +3 -3
  19. package/dist/lib/integrations/node-express/index.js +1 -1
  20. package/dist/lib/integrations/node-express/index.js.map +1 -1
  21. package/dist/lib/integrations/node-express/index.mjs +3 -3
  22. package/dist/lib/integrations/node-http/index.js +1 -1
  23. package/dist/lib/integrations/node-http/index.js.map +1 -1
  24. package/dist/lib/integrations/node-http/index.mjs +2 -2
  25. package/package.json +2 -2
  26. package/src/lib/runtime/copilot-runtime.ts +3 -0
  27. package/dist/chunk-34276UUU.mjs.map +0 -1
  28. /package/dist/{chunk-WTUPF3W3.mjs.map → chunk-4LRVKGBI.mjs.map} +0 -0
  29. /package/dist/{chunk-DLESGNLO.mjs.map → chunk-IS3QAGOU.mjs.map} +0 -0
  30. /package/dist/{chunk-UBYSQI43.mjs.map → chunk-W6EE6OTN.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.5.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 768b3a5: - chore: add documentation for empty llm adapter
8
+ - fix: throw error when empty adapter is misused
9
+ - a2129f4: - fix(streaming): end streaming on error to enable continuity of chat after failed tool call
10
+ - 926499b: - Load the previous state of an agent if `threadId` is provided to CopilotKit, including all messages
11
+ - 59de133: - fix: rename ExperimentalEmptyAdapter to EmptyAdapter
12
+ - 6136a57: - fix(errors): add custom error classes to better describe library errors
13
+ - fix(errors): use new errors in error handling
14
+ - chore: add documentation and links to respective errors
15
+ - Updated dependencies [6136a57]
16
+ - @copilotkit/shared@1.5.12
17
+
3
18
  ## 1.5.12-next.7
4
19
 
5
20
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-34276UUU.mjs";
5
+ } from "./chunk-PFELVFS7.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-44O2JGUY.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNodeExpressEndpoint, "copilotRuntimeNodeExpressEndpoint");
22
22
  export {
23
23
  copilotRuntimeNodeExpressEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-WTUPF3W3.mjs.map
25
+ //# sourceMappingURL=chunk-4LRVKGBI.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  copilotRuntimeNodeHttpEndpoint,
3
3
  getRuntimeInstanceTelemetryInfo,
4
4
  telemetry_client_default
5
- } from "./chunk-34276UUU.mjs";
5
+ } from "./chunk-PFELVFS7.mjs";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-44O2JGUY.mjs";
@@ -22,4 +22,4 @@ __name(copilotRuntimeNestEndpoint, "copilotRuntimeNestEndpoint");
22
22
  export {
23
23
  copilotRuntimeNestEndpoint
24
24
  };
25
- //# sourceMappingURL=chunk-DLESGNLO.mjs.map
25
+ //# sourceMappingURL=chunk-IS3QAGOU.mjs.map
@@ -1,8 +1,3 @@
1
- import {
2
- EmptyAdapter,
3
- RemoteChain,
4
- streamLangChainResponse
5
- } from "./chunk-S3KKBII4.mjs";
6
1
  import {
7
2
  GuardrailsValidationFailureResponse,
8
3
  MessageStreamInterruptedResponse,
@@ -10,6 +5,11 @@ import {
10
5
  SuccessResponseStatus,
11
6
  UnknownErrorResponse
12
7
  } from "./chunk-U3V2BCGI.mjs";
8
+ import {
9
+ EmptyAdapter,
10
+ RemoteChain,
11
+ streamLangChainResponse
12
+ } from "./chunk-S3KKBII4.mjs";
13
13
  import {
14
14
  ActionExecutionMessage,
15
15
  AgentStateMessage,
@@ -38,7 +38,7 @@ var require_package = __commonJS({
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
41
- version: "1.5.12-next.7",
41
+ version: "1.5.12",
42
42
  sideEffects: false,
43
43
  main: "./dist/index.js",
44
44
  module: "./dist/index.mjs",
@@ -3807,4 +3807,4 @@ export {
3807
3807
  getCommonConfig,
3808
3808
  copilotRuntimeNodeHttpEndpoint
3809
3809
  };
3810
- //# sourceMappingURL=chunk-34276UUU.mjs.map
3810
+ //# sourceMappingURL=chunk-PFELVFS7.mjs.map