@anuma/sdk 6.18.0 → 6.19.1

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/dist/expo/{chunk-JXN7LD6B.mjs → chunk-GRU24OP4.mjs} +13 -9
  2. package/dist/expo/{chunk-4Z2X4UYQ.mjs → chunk-WUG6GTHO.mjs} +10 -1
  3. package/dist/expo/{chunk-A2G6TRUK.mjs → chunk-XDBX4FZY.mjs} +1 -1
  4. package/dist/{react/consolidate-7NMKF7UC.mjs → expo/consolidate-XBYKAFKT.mjs} +2 -2
  5. package/dist/expo/index.cjs +24 -10
  6. package/dist/expo/index.d.mts +30 -3
  7. package/dist/expo/index.d.ts +30 -3
  8. package/dist/expo/index.mjs +6 -5
  9. package/dist/expo/{recall-TGRI5MN4.mjs → recall-PI7FZQNO.mjs} +2 -2
  10. package/dist/index.d.mts +1 -1
  11. package/dist/index.d.ts +1 -1
  12. package/dist/react/{chunk-TVPCH7ZZ.mjs → chunk-2EEPAOHJ.mjs} +13 -9
  13. package/dist/react/{chunk-7X7BNMGS.mjs → chunk-AVYB5IXC.mjs} +1 -1
  14. package/dist/react/{chunk-4Z2X4UYQ.mjs → chunk-WUG6GTHO.mjs} +10 -1
  15. package/dist/{expo/consolidate-ZM5JNULQ.mjs → react/consolidate-URHGJT7I.mjs} +2 -2
  16. package/dist/react/index.cjs +24 -10
  17. package/dist/react/index.d.mts +30 -3
  18. package/dist/react/index.d.ts +30 -3
  19. package/dist/react/index.mjs +6 -5
  20. package/dist/react/{recall-OKNLU335.mjs → recall-D6ODL36R.mjs} +2 -2
  21. package/dist/server/{chunk-4LPSEROP.mjs → chunk-RKQ4MRS2.mjs} +1 -1
  22. package/dist/server/{chunk-K7H7ICPK.mjs → chunk-SPHKT76E.mjs} +13 -9
  23. package/dist/server/{chunk-BSCEZOIW.mjs → chunk-YXL5VKCO.mjs} +10 -1
  24. package/dist/server/{consolidate-MSAXASHL.mjs → consolidate-54P6QZKU.mjs} +2 -2
  25. package/dist/server/index.cjs +24 -10
  26. package/dist/server/index.d.mts +30 -3
  27. package/dist/server/index.d.ts +30 -3
  28. package/dist/server/index.mjs +6 -5
  29. package/dist/server/{recall-YXJATOSD.mjs → recall-NLCZUGXN.mjs} +2 -2
  30. package/package.json +1 -1
@@ -141,12 +141,12 @@ import {
141
141
  updateVaultMemoryOp,
142
142
  upsertMessageOp,
143
143
  vaultMemoryToStored
144
- } from "./chunk-K7H7ICPK.mjs";
144
+ } from "./chunk-SPHKT76E.mjs";
145
145
  import {
146
146
  createStreamingDeAnonymizer,
147
147
  notifyConsolidationFallback,
148
148
  resolvePiiRedactor
149
- } from "./chunk-4LPSEROP.mjs";
149
+ } from "./chunk-RKQ4MRS2.mjs";
150
150
  import {
151
151
  INTERNAL_FLOW_MARKER,
152
152
  callPortalJsonCompletion,
@@ -159,7 +159,7 @@ import {
159
159
  taskTypeHeader,
160
160
  validateEndpointOverride,
161
161
  withInternalFlowMarker
162
- } from "./chunk-BSCEZOIW.mjs";
162
+ } from "./chunk-YXL5VKCO.mjs";
163
163
  import {
164
164
  BASE_URL,
165
165
  __commonJS,
@@ -5743,7 +5743,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
5743
5743
  content: m.content,
5744
5744
  similarity: m.similarity
5745
5745
  }));
5746
- const { consolidateMemory: doConsolidate } = await import("./consolidate-MSAXASHL.mjs");
5746
+ const { consolidateMemory: doConsolidate } = await import("./consolidate-54P6QZKU.mjs");
5747
5747
  const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
5748
5748
  if (decision.action === "create") return null;
5749
5749
  if (decision.action === "supersede" && decision.content) {
@@ -5985,7 +5985,8 @@ Extract durable user facts.`,
5985
5985
  ...options.maxAttempts !== void 0 && { maxAttempts: options.maxAttempts },
5986
5986
  ...options.timeoutMs !== void 0 && { timeoutMs: options.timeoutMs },
5987
5987
  ...options.totalTimeoutMs !== void 0 && { totalTimeoutMs: options.totalTimeoutMs },
5988
- ...options.backoffMs && { backoffMs: options.backoffMs }
5988
+ ...options.backoffMs && { backoffMs: options.backoffMs },
5989
+ ...options.onAttempt && { onAttempt: options.onAttempt }
5989
5990
  });
5990
5991
  if (parsed === null) {
5991
5992
  options.onExhaustedEmpty?.(failure ?? { reason: "empty-content", attempts: 1 });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  recall
3
- } from "./chunk-K7H7ICPK.mjs";
4
- import "./chunk-BSCEZOIW.mjs";
3
+ } from "./chunk-SPHKT76E.mjs";
4
+ import "./chunk-YXL5VKCO.mjs";
5
5
  import "./chunk-3RPGXXPZ.mjs";
6
6
  export {
7
7
  recall
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "6.18.0",
3
+ "version": "6.19.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",