@anuma/sdk 6.25.2 → 6.26.0
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-EDABJLYN.mjs → chunk-N5CKISI3.mjs} +1 -1
- package/dist/expo/{consolidate-5WM3CFKK.mjs → consolidate-N56RXPCW.mjs} +1 -1
- package/dist/expo/index.cjs +6 -3
- package/dist/expo/index.mjs +7 -4
- package/dist/react/{chunk-BPMINZPO.mjs → chunk-LBIKGBXE.mjs} +1 -1
- package/dist/react/{consolidate-A2X3M47N.mjs → consolidate-2NLZAEWR.mjs} +1 -1
- package/dist/react/index.cjs +6 -3
- package/dist/react/index.mjs +7 -4
- package/dist/server/{chunk-DWNEDXA5.mjs → chunk-Z2QBL4HB.mjs} +1 -1
- package/dist/server/{consolidate-53I4CTD7.mjs → consolidate-QWVI25WQ.mjs} +1 -1
- package/dist/server/index.cjs +6 -3
- package/dist/server/index.mjs +7 -4
- package/package.json +1 -1
|
@@ -709,7 +709,7 @@ function supportsResponseFormat(model, variant = "json_object") {
|
|
|
709
709
|
const allow = variant === "json_schema" ? RESPONSE_SCHEMA_OK : RESPONSE_FORMAT_OK;
|
|
710
710
|
return model.split("/").some((seg) => allow.has(seg));
|
|
711
711
|
}
|
|
712
|
-
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
712
|
+
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
713
713
|
function requiresResponsesTransport(model) {
|
|
714
714
|
return model.split("/").some((seg) => RESPONSES_ONLY_MODEL_PREFIXES.some((prefix) => seg.startsWith(prefix)));
|
|
715
715
|
}
|
package/dist/expo/index.cjs
CHANGED
|
@@ -1174,7 +1174,7 @@ var init_portalLlm = __esm({
|
|
|
1174
1174
|
RESPONSE_FORMAT_OK = /* @__PURE__ */ new Set(["openai", "inclusionai", "deepseek"]);
|
|
1175
1175
|
RESPONSE_SCHEMA_OK = /* @__PURE__ */ new Set(["openai"]);
|
|
1176
1176
|
JSON_CONTRACT_REMINDER = "Output ONLY the strict JSON object requested. No prose, no explanation, no markdown.";
|
|
1177
|
-
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
1177
|
+
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
1178
1178
|
CHAT_TO_RESPONSES_FIELDS = {
|
|
1179
1179
|
max_completion_tokens: "max_output_tokens"
|
|
1180
1180
|
};
|
|
@@ -18202,7 +18202,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
18202
18202
|
return [...new Set(ids)].sort().join("\n");
|
|
18203
18203
|
}
|
|
18204
18204
|
function facetsSignature(facets) {
|
|
18205
|
-
return
|
|
18205
|
+
return [
|
|
18206
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
18207
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
18208
|
+
].join("\n");
|
|
18206
18209
|
}
|
|
18207
18210
|
function trendsEqual(a, b) {
|
|
18208
18211
|
if (!a) return false;
|
|
@@ -18424,7 +18427,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
18424
18427
|
Rules:
|
|
18425
18428
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
18426
18429
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
18427
|
-
- Write in
|
|
18430
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
18428
18431
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
18429
18432
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
18430
18433
|
function buildFacetUserInstructions(facet) {
|
package/dist/expo/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
taskTypeHeader,
|
|
20
20
|
validateEndpointOverride,
|
|
21
21
|
withInternalFlowMarker
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N5CKISI3.mjs";
|
|
23
23
|
import {
|
|
24
24
|
BASE_URL,
|
|
25
25
|
MCP_R2_DOMAIN,
|
|
@@ -13876,7 +13876,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
|
|
|
13876
13876
|
content: m.content,
|
|
13877
13877
|
similarity: m.similarity
|
|
13878
13878
|
}));
|
|
13879
|
-
const { consolidateMemory: doConsolidate } = await import("./consolidate-
|
|
13879
|
+
const { consolidateMemory: doConsolidate } = await import("./consolidate-N56RXPCW.mjs");
|
|
13880
13880
|
const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
|
|
13881
13881
|
if (decision.action === "create") return decision.fallbackReason ? null : { create: true };
|
|
13882
13882
|
if (decision.action === "supersede" && decision.content) {
|
|
@@ -16549,7 +16549,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
16549
16549
|
return [...new Set(ids)].sort().join("\n");
|
|
16550
16550
|
}
|
|
16551
16551
|
function facetsSignature(facets) {
|
|
16552
|
-
return
|
|
16552
|
+
return [
|
|
16553
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
16554
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
16555
|
+
].join("\n");
|
|
16553
16556
|
}
|
|
16554
16557
|
function trendsEqual(a, b) {
|
|
16555
16558
|
if (!a) return false;
|
|
@@ -16771,7 +16774,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
16771
16774
|
Rules:
|
|
16772
16775
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
16773
16776
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
16774
|
-
- Write in
|
|
16777
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
16775
16778
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
16776
16779
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
16777
16780
|
function buildFacetUserInstructions(facet) {
|
|
@@ -709,7 +709,7 @@ function supportsResponseFormat(model, variant = "json_object") {
|
|
|
709
709
|
const allow = variant === "json_schema" ? RESPONSE_SCHEMA_OK : RESPONSE_FORMAT_OK;
|
|
710
710
|
return model.split("/").some((seg) => allow.has(seg));
|
|
711
711
|
}
|
|
712
|
-
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
712
|
+
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
713
713
|
function requiresResponsesTransport(model) {
|
|
714
714
|
return model.split("/").some((seg) => RESPONSES_ONLY_MODEL_PREFIXES.some((prefix) => seg.startsWith(prefix)));
|
|
715
715
|
}
|
package/dist/react/index.cjs
CHANGED
|
@@ -1174,7 +1174,7 @@ var init_portalLlm = __esm({
|
|
|
1174
1174
|
RESPONSE_FORMAT_OK = /* @__PURE__ */ new Set(["openai", "inclusionai", "deepseek"]);
|
|
1175
1175
|
RESPONSE_SCHEMA_OK = /* @__PURE__ */ new Set(["openai"]);
|
|
1176
1176
|
JSON_CONTRACT_REMINDER = "Output ONLY the strict JSON object requested. No prose, no explanation, no markdown.";
|
|
1177
|
-
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
1177
|
+
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
1178
1178
|
CHAT_TO_RESPONSES_FIELDS = {
|
|
1179
1179
|
max_completion_tokens: "max_output_tokens"
|
|
1180
1180
|
};
|
|
@@ -19505,7 +19505,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
19505
19505
|
return [...new Set(ids)].sort().join("\n");
|
|
19506
19506
|
}
|
|
19507
19507
|
function facetsSignature(facets) {
|
|
19508
|
-
return
|
|
19508
|
+
return [
|
|
19509
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
19510
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
19511
|
+
].join("\n");
|
|
19509
19512
|
}
|
|
19510
19513
|
function trendsEqual(a, b) {
|
|
19511
19514
|
if (!a) return false;
|
|
@@ -19727,7 +19730,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
19727
19730
|
Rules:
|
|
19728
19731
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
19729
19732
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
19730
|
-
- Write in
|
|
19733
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
19731
19734
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
19732
19735
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
19733
19736
|
function buildFacetUserInstructions(facet) {
|
package/dist/react/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
taskTypeHeader,
|
|
19
19
|
validateEndpointOverride,
|
|
20
20
|
withInternalFlowMarker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LBIKGBXE.mjs";
|
|
22
22
|
import {
|
|
23
23
|
BASE_URL,
|
|
24
24
|
MCP_R2_DOMAIN,
|
|
@@ -14932,7 +14932,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
|
|
|
14932
14932
|
content: m.content,
|
|
14933
14933
|
similarity: m.similarity
|
|
14934
14934
|
}));
|
|
14935
|
-
const { consolidateMemory: doConsolidate } = await import("./consolidate-
|
|
14935
|
+
const { consolidateMemory: doConsolidate } = await import("./consolidate-2NLZAEWR.mjs");
|
|
14936
14936
|
const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
|
|
14937
14937
|
if (decision.action === "create") return decision.fallbackReason ? null : { create: true };
|
|
14938
14938
|
if (decision.action === "supersede" && decision.content) {
|
|
@@ -17605,7 +17605,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
17605
17605
|
return [...new Set(ids)].sort().join("\n");
|
|
17606
17606
|
}
|
|
17607
17607
|
function facetsSignature(facets) {
|
|
17608
|
-
return
|
|
17608
|
+
return [
|
|
17609
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
17610
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
17611
|
+
].join("\n");
|
|
17609
17612
|
}
|
|
17610
17613
|
function trendsEqual(a, b) {
|
|
17611
17614
|
if (!a) return false;
|
|
@@ -17827,7 +17830,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
17827
17830
|
Rules:
|
|
17828
17831
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
17829
17832
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
17830
|
-
- Write in
|
|
17833
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
17831
17834
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
17832
17835
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
17833
17836
|
function buildFacetUserInstructions(facet) {
|
|
@@ -57,7 +57,7 @@ function supportsResponseFormat(model, variant = "json_object") {
|
|
|
57
57
|
const allow = variant === "json_schema" ? RESPONSE_SCHEMA_OK : RESPONSE_FORMAT_OK;
|
|
58
58
|
return model.split("/").some((seg) => allow.has(seg));
|
|
59
59
|
}
|
|
60
|
-
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
60
|
+
var RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
61
61
|
function requiresResponsesTransport(model) {
|
|
62
62
|
return model.split("/").some((seg) => RESPONSES_ONLY_MODEL_PREFIXES.some((prefix) => seg.startsWith(prefix)));
|
|
63
63
|
}
|
package/dist/server/index.cjs
CHANGED
|
@@ -15422,7 +15422,7 @@ var init_portalLlm = __esm({
|
|
|
15422
15422
|
RESPONSE_FORMAT_OK = /* @__PURE__ */ new Set(["openai", "inclusionai", "deepseek"]);
|
|
15423
15423
|
RESPONSE_SCHEMA_OK = /* @__PURE__ */ new Set(["openai"]);
|
|
15424
15424
|
JSON_CONTRACT_REMINDER = "Output ONLY the strict JSON object requested. No prose, no explanation, no markdown.";
|
|
15425
|
-
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6"];
|
|
15425
|
+
RESPONSES_ONLY_MODEL_PREFIXES = ["gpt-5.6", "gpt-6-sol", "gpt-6-luna", "gpt-6-astra"];
|
|
15426
15426
|
CHAT_TO_RESPONSES_FIELDS = {
|
|
15427
15427
|
max_completion_tokens: "max_output_tokens"
|
|
15428
15428
|
};
|
|
@@ -31337,7 +31337,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
31337
31337
|
return [...new Set(ids)].sort().join("\n");
|
|
31338
31338
|
}
|
|
31339
31339
|
function facetsSignature(facets) {
|
|
31340
|
-
return
|
|
31340
|
+
return [
|
|
31341
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
31342
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
31343
|
+
].join("\n");
|
|
31341
31344
|
}
|
|
31342
31345
|
function trendsEqual(a, b) {
|
|
31343
31346
|
if (!a) return false;
|
|
@@ -31559,7 +31562,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
31559
31562
|
Rules:
|
|
31560
31563
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
31561
31564
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
31562
|
-
- Write in
|
|
31565
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
31563
31566
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
31564
31567
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
31565
31568
|
function buildFacetUserInstructions(facet) {
|
package/dist/server/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
taskTypeHeader,
|
|
14
14
|
validateEndpointOverride,
|
|
15
15
|
withInternalFlowMarker
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Z2QBL4HB.mjs";
|
|
17
17
|
import {
|
|
18
18
|
BASE_URL,
|
|
19
19
|
__commonJS,
|
|
@@ -27922,7 +27922,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
|
|
|
27922
27922
|
content: m.content,
|
|
27923
27923
|
similarity: m.similarity
|
|
27924
27924
|
}));
|
|
27925
|
-
const { consolidateMemory: doConsolidate } = await import("./consolidate-
|
|
27925
|
+
const { consolidateMemory: doConsolidate } = await import("./consolidate-QWVI25WQ.mjs");
|
|
27926
27926
|
const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
|
|
27927
27927
|
if (decision.action === "create") return decision.fallbackReason ? null : { create: true };
|
|
27928
27928
|
if (decision.action === "supersede" && decision.content) {
|
|
@@ -29610,7 +29610,10 @@ function reviewedMemoryIdsSignature(ids) {
|
|
|
29610
29610
|
return [...new Set(ids)].sort().join("\n");
|
|
29611
29611
|
}
|
|
29612
29612
|
function facetsSignature(facets) {
|
|
29613
|
-
return
|
|
29613
|
+
return [
|
|
29614
|
+
JSON.stringify(FACET_SYSTEM_PROMPT),
|
|
29615
|
+
...facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance, facetResponseSchema(f.key)])).sort()
|
|
29616
|
+
].join("\n");
|
|
29614
29617
|
}
|
|
29615
29618
|
function trendsEqual(a, b) {
|
|
29616
29619
|
if (!a) return false;
|
|
@@ -29832,7 +29835,7 @@ var FACET_SYSTEM_PROMPT = `You are writing one section of a person's shareable p
|
|
|
29832
29835
|
Rules:
|
|
29833
29836
|
- Ground every claim in the supplied memories \u2014 never invent, infer beyond, or embellish what they support.
|
|
29834
29837
|
- If the memories don't cover this section, return an empty summary with hasEvidence=false. Do not pad or guess.
|
|
29835
|
-
- Write in
|
|
29838
|
+
- Write in a pronoun-free profile voice: lead with the descriptor or the verb ("Thoughtful, detail-oriented builder. Values clear communication."). Never use "they"/"he"/"she", "I", "you", or the person's name \u2014 the person publishes this as their own profile, and strangers read it there.
|
|
29836
29839
|
- Be concise and specific; no preamble, hedging, or meta-commentary.
|
|
29837
29840
|
- Respond as JSON in exactly the shape the user turn states, with no extra fields.`;
|
|
29838
29841
|
function buildFacetUserInstructions(facet) {
|