@copilotkit/runtime 1.5.12-next.4 → 1.5.12-next.5

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 (40) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{chunk-U3DYEEGJ.mjs → chunk-MFDRA3BJ.mjs} +6 -6
  3. package/dist/{chunk-U3DYEEGJ.mjs.map → chunk-MFDRA3BJ.mjs.map} +1 -1
  4. package/dist/{chunk-6PZWWJ32.mjs → chunk-NORCONUM.mjs} +2 -2
  5. package/dist/{chunk-53ZLUGHX.mjs → chunk-QDMAQO2C.mjs} +2 -2
  6. package/dist/{chunk-CLGKEUOA.mjs → chunk-TPTCSIAR.mjs} +6 -4
  7. package/dist/chunk-TPTCSIAR.mjs.map +1 -0
  8. package/dist/{chunk-FOUJ36SV.mjs → chunk-XRW7ZSWJ.mjs} +2 -2
  9. package/dist/index.d.ts +1 -1
  10. package/dist/index.js +9 -6
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.mjs +7 -5
  13. package/dist/index.mjs.map +1 -1
  14. package/dist/lib/index.js +6 -6
  15. package/dist/lib/index.js.map +1 -1
  16. package/dist/lib/index.mjs +5 -5
  17. package/dist/lib/integrations/index.js +1 -1
  18. package/dist/lib/integrations/index.js.map +1 -1
  19. package/dist/lib/integrations/index.mjs +5 -5
  20. package/dist/lib/integrations/nest/index.js +1 -1
  21. package/dist/lib/integrations/nest/index.js.map +1 -1
  22. package/dist/lib/integrations/nest/index.mjs +3 -3
  23. package/dist/lib/integrations/node-express/index.js +1 -1
  24. package/dist/lib/integrations/node-express/index.js.map +1 -1
  25. package/dist/lib/integrations/node-express/index.mjs +3 -3
  26. package/dist/lib/integrations/node-http/index.js +1 -1
  27. package/dist/lib/integrations/node-http/index.js.map +1 -1
  28. package/dist/lib/integrations/node-http/index.mjs +2 -2
  29. package/dist/service-adapters/index.d.ts +5 -4
  30. package/dist/service-adapters/index.js +6 -3
  31. package/dist/service-adapters/index.js.map +1 -1
  32. package/dist/service-adapters/index.mjs +3 -1
  33. package/package.json +2 -2
  34. package/src/lib/runtime/copilot-runtime.ts +3 -3
  35. package/src/service-adapters/{experimental/empty → empty}/empty-adapter.ts +6 -4
  36. package/src/service-adapters/index.ts +1 -1
  37. package/dist/chunk-CLGKEUOA.mjs.map +0 -1
  38. /package/dist/{chunk-6PZWWJ32.mjs.map → chunk-NORCONUM.mjs.map} +0 -0
  39. /package/dist/{chunk-53ZLUGHX.mjs.map → chunk-QDMAQO2C.mjs.map} +0 -0
  40. /package/dist/{chunk-FOUJ36SV.mjs.map → chunk-XRW7ZSWJ.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.5.12-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 59de133: - fix: rename ExperimentalEmptyAdapter to EmptyAdapter
8
+ - @copilotkit/shared@1.5.12-next.5
9
+
3
10
  ## 1.5.12-next.4
4
11
 
5
12
  ### Patch Changes
@@ -1,8 +1,8 @@
1
1
  import {
2
- ExperimentalEmptyAdapter,
2
+ EmptyAdapter,
3
3
  RemoteChain,
4
4
  streamLangChainResponse
5
- } from "./chunk-CLGKEUOA.mjs";
5
+ } from "./chunk-TPTCSIAR.mjs";
6
6
  import {
7
7
  GuardrailsValidationFailureResponse,
8
8
  MessageStreamInterruptedResponse,
@@ -38,7 +38,7 @@ var require_package = __commonJS({
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
41
- version: "1.5.12-next.4",
41
+ version: "1.5.12-next.5",
42
42
  sideEffects: false,
43
43
  main: "./dist/index.js",
44
44
  module: "./dist/index.mjs",
@@ -2220,8 +2220,8 @@ var CopilotRuntime = class {
2220
2220
  if (agentSession) {
2221
2221
  return await this.processAgentRequest(request);
2222
2222
  }
2223
- if (serviceAdapter instanceof ExperimentalEmptyAdapter) {
2224
- throw new Error(`Invalid adapter configuration: ExperimentalEmptyAdapter is only meant to be used with agent lock mode.
2223
+ if (serviceAdapter instanceof EmptyAdapter) {
2224
+ throw new Error(`Invalid adapter configuration: EmptyAdapter is only meant to be used with agent lock mode.
2225
2225
  For non-agent components like useCopilotChatSuggestions, CopilotTextarea, or CopilotTask,
2226
2226
  please use an LLM adapter instead.`);
2227
2227
  }
@@ -3440,4 +3440,4 @@ export {
3440
3440
  getCommonConfig,
3441
3441
  copilotRuntimeNodeHttpEndpoint
3442
3442
  };
3443
- //# sourceMappingURL=chunk-U3DYEEGJ.mjs.map
3443
+ //# sourceMappingURL=chunk-MFDRA3BJ.mjs.map