@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.
- package/dist/expo/{chunk-JXN7LD6B.mjs → chunk-GRU24OP4.mjs} +13 -9
- package/dist/expo/{chunk-4Z2X4UYQ.mjs → chunk-WUG6GTHO.mjs} +10 -1
- package/dist/expo/{chunk-A2G6TRUK.mjs → chunk-XDBX4FZY.mjs} +1 -1
- package/dist/{react/consolidate-7NMKF7UC.mjs → expo/consolidate-XBYKAFKT.mjs} +2 -2
- package/dist/expo/index.cjs +24 -10
- package/dist/expo/index.d.mts +30 -3
- package/dist/expo/index.d.ts +30 -3
- package/dist/expo/index.mjs +6 -5
- package/dist/expo/{recall-TGRI5MN4.mjs → recall-PI7FZQNO.mjs} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/react/{chunk-TVPCH7ZZ.mjs → chunk-2EEPAOHJ.mjs} +13 -9
- package/dist/react/{chunk-7X7BNMGS.mjs → chunk-AVYB5IXC.mjs} +1 -1
- package/dist/react/{chunk-4Z2X4UYQ.mjs → chunk-WUG6GTHO.mjs} +10 -1
- package/dist/{expo/consolidate-ZM5JNULQ.mjs → react/consolidate-URHGJT7I.mjs} +2 -2
- package/dist/react/index.cjs +24 -10
- package/dist/react/index.d.mts +30 -3
- package/dist/react/index.d.ts +30 -3
- package/dist/react/index.mjs +6 -5
- package/dist/react/{recall-OKNLU335.mjs → recall-D6ODL36R.mjs} +2 -2
- package/dist/server/{chunk-4LPSEROP.mjs → chunk-RKQ4MRS2.mjs} +1 -1
- package/dist/server/{chunk-K7H7ICPK.mjs → chunk-SPHKT76E.mjs} +13 -9
- package/dist/server/{chunk-BSCEZOIW.mjs → chunk-YXL5VKCO.mjs} +10 -1
- package/dist/server/{consolidate-MSAXASHL.mjs → consolidate-54P6QZKU.mjs} +2 -2
- package/dist/server/index.cjs +24 -10
- package/dist/server/index.d.mts +30 -3
- package/dist/server/index.d.ts +30 -3
- package/dist/server/index.mjs +6 -5
- package/dist/server/{recall-YXJATOSD.mjs → recall-NLCZUGXN.mjs} +2 -2
- package/package.json +1 -1
package/dist/server/index.mjs
CHANGED
|
@@ -141,12 +141,12 @@ import {
|
|
|
141
141
|
updateVaultMemoryOp,
|
|
142
142
|
upsertMessageOp,
|
|
143
143
|
vaultMemoryToStored
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-SPHKT76E.mjs";
|
|
145
145
|
import {
|
|
146
146
|
createStreamingDeAnonymizer,
|
|
147
147
|
notifyConsolidationFallback,
|
|
148
148
|
resolvePiiRedactor
|
|
149
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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 });
|