@copilotkit/runtime 1.8.14-next.3 → 1.8.14-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 (39) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{chunk-6P6VMQLZ.mjs → chunk-A6TYJF5H.mjs} +9 -5
  3. package/dist/chunk-A6TYJF5H.mjs.map +1 -0
  4. package/dist/{chunk-MVKCCH5U.mjs → chunk-GEZX4PJT.mjs} +16 -3
  5. package/dist/chunk-GEZX4PJT.mjs.map +1 -0
  6. package/dist/{chunk-T2RKWYXN.mjs → chunk-QNIEFAO6.mjs} +2 -2
  7. package/dist/{chunk-BMA7V5T7.mjs → chunk-XNS4UOAA.mjs} +2 -2
  8. package/dist/{chunk-C7XHY7LW.mjs → chunk-Y6MICBVG.mjs} +2 -2
  9. package/dist/index.js +24 -7
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +5 -5
  12. package/dist/lib/index.js +17 -6
  13. package/dist/lib/index.js.map +1 -1
  14. package/dist/lib/index.mjs +5 -5
  15. package/dist/lib/integrations/index.js +1 -1
  16. package/dist/lib/integrations/index.js.map +1 -1
  17. package/dist/lib/integrations/index.mjs +5 -5
  18. package/dist/lib/integrations/nest/index.js +1 -1
  19. package/dist/lib/integrations/nest/index.js.map +1 -1
  20. package/dist/lib/integrations/nest/index.mjs +3 -3
  21. package/dist/lib/integrations/node-express/index.js +1 -1
  22. package/dist/lib/integrations/node-express/index.js.map +1 -1
  23. package/dist/lib/integrations/node-express/index.mjs +3 -3
  24. package/dist/lib/integrations/node-http/index.js +1 -1
  25. package/dist/lib/integrations/node-http/index.js.map +1 -1
  26. package/dist/lib/integrations/node-http/index.mjs +2 -2
  27. package/dist/service-adapters/index.js +15 -2
  28. package/dist/service-adapters/index.js.map +1 -1
  29. package/dist/service-adapters/index.mjs +1 -1
  30. package/package.json +2 -2
  31. package/src/lib/runtime/agui-action.ts +5 -2
  32. package/src/service-adapters/anthropic/anthropic-adapter.ts +14 -1
  33. package/src/service-adapters/google/google-genai-adapter.test.ts +104 -0
  34. package/src/service-adapters/google/google-genai-adapter.ts +19 -1
  35. package/dist/chunk-6P6VMQLZ.mjs.map +0 -1
  36. package/dist/chunk-MVKCCH5U.mjs.map +0 -1
  37. /package/dist/{chunk-T2RKWYXN.mjs.map → chunk-QNIEFAO6.mjs.map} +0 -0
  38. /package/dist/{chunk-BMA7V5T7.mjs.map → chunk-XNS4UOAA.mjs.map} +0 -0
  39. /package/dist/{chunk-C7XHY7LW.mjs.map → chunk-Y6MICBVG.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @copilotkit/runtime
2
2
 
3
+ ## 1.8.14-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
8
+ - fix(runtime): filter empty text messages in AnthropicAdapter
9
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
10
+ - @copilotkit/shared@1.8.14-next.5
11
+
12
+ ## 1.8.14-next.4
13
+
14
+ ### Patch Changes
15
+
16
+ - 12b8ca8: - fix: fix cpk agui wiring for langgraph
17
+ - @copilotkit/shared@1.8.14-next.4
18
+
3
19
  ## 1.8.14-next.3
4
20
 
5
21
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  EmptyAdapter,
3
3
  RemoteChain,
4
4
  streamLangChainResponse
5
- } from "./chunk-MVKCCH5U.mjs";
5
+ } from "./chunk-GEZX4PJT.mjs";
6
6
  import {
7
7
  GuardrailsValidationFailureResponse,
8
8
  MessageStreamInterruptedResponse,
@@ -40,7 +40,7 @@ var require_package = __commonJS({
40
40
  publishConfig: {
41
41
  access: "public"
42
42
  },
43
- version: "1.8.14-next.3",
43
+ version: "1.8.14-next.5",
44
44
  sideEffects: false,
45
45
  main: "./dist/index.js",
46
46
  module: "./dist/index.mjs",
@@ -2733,10 +2733,14 @@ function constructAGUIRemoteAction({ logger: logger2, messages, agentStates, age
2733
2733
  parameters: JSON.parse(input.jsonSchema)
2734
2734
  };
2735
2735
  });
2736
+ const forwardedProps = metaEvents.length ? {
2737
+ command: {
2738
+ resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
2739
+ }
2740
+ } : void 0;
2736
2741
  return agent.legacy_to_be_removed_runAgentBridged({
2737
2742
  tools,
2738
- // @ts-ignore
2739
- resume: (_a = metaEvents[0]) == null ? void 0 : _a.response
2743
+ forwardedProps
2740
2744
  });
2741
2745
  }
2742
2746
  };
@@ -5094,4 +5098,4 @@ export {
5094
5098
  getCommonConfig,
5095
5099
  copilotRuntimeNodeHttpEndpoint
5096
5100
  };
5097
- //# sourceMappingURL=chunk-6P6VMQLZ.mjs.map
5101
+ //# sourceMappingURL=chunk-A6TYJF5H.mjs.map