@anuma/sdk 6.25.3 → 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.
@@ -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
  }
@@ -2,7 +2,7 @@ import {
2
2
  callPortalJsonCompletion,
3
3
  notifyConsolidationFallback,
4
4
  resolvePiiRedactor
5
- } from "./chunk-EDABJLYN.mjs";
5
+ } from "./chunk-N5CKISI3.mjs";
6
6
  import "./chunk-GYKJOWEO.mjs";
7
7
 
8
8
  // src/lib/memory/consolidate.ts
@@ -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
  };
@@ -19,7 +19,7 @@ import {
19
19
  taskTypeHeader,
20
20
  validateEndpointOverride,
21
21
  withInternalFlowMarker
22
- } from "./chunk-EDABJLYN.mjs";
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-5WM3CFKK.mjs");
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) {
@@ -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
  }
@@ -2,7 +2,7 @@ import {
2
2
  callPortalJsonCompletion,
3
3
  notifyConsolidationFallback,
4
4
  resolvePiiRedactor
5
- } from "./chunk-BPMINZPO.mjs";
5
+ } from "./chunk-LBIKGBXE.mjs";
6
6
  import "./chunk-GYKJOWEO.mjs";
7
7
 
8
8
  // src/lib/memory/consolidate.ts
@@ -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
  };
@@ -18,7 +18,7 @@ import {
18
18
  taskTypeHeader,
19
19
  validateEndpointOverride,
20
20
  withInternalFlowMarker
21
- } from "./chunk-BPMINZPO.mjs";
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-A2X3M47N.mjs");
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) {
@@ -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
  }
@@ -2,7 +2,7 @@ import {
2
2
  callPortalJsonCompletion,
3
3
  notifyConsolidationFallback,
4
4
  resolvePiiRedactor
5
- } from "./chunk-DWNEDXA5.mjs";
5
+ } from "./chunk-Z2QBL4HB.mjs";
6
6
  import "./chunk-3RPGXXPZ.mjs";
7
7
 
8
8
  // src/lib/memory/consolidate.ts
@@ -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
  };
@@ -13,7 +13,7 @@ import {
13
13
  taskTypeHeader,
14
14
  validateEndpointOverride,
15
15
  withInternalFlowMarker
16
- } from "./chunk-DWNEDXA5.mjs";
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-53I4CTD7.mjs");
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "6.25.3",
3
+ "version": "6.26.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",