@remnic/core 9.3.636 → 9.3.637
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/access-cli.js +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/{chunk-W25I7G6U.js → chunk-3EJ5OOZ3.js} +2 -2
- package/dist/{chunk-VTH5SKQW.js → chunk-3XNMN242.js} +2 -2
- package/dist/{chunk-7H5WCPBS.js → chunk-A3HKTPPV.js} +21 -6
- package/dist/chunk-A3HKTPPV.js.map +1 -0
- package/dist/{chunk-JYFO32V4.js → chunk-QJGTSCJN.js} +4 -4
- package/dist/cli.js +4 -4
- package/dist/config.js +1 -1
- package/dist/index.js +4 -4
- package/dist/operator-toolkit.js +2 -2
- package/dist/resume-bundles.js +2 -2
- package/dist/schemas.d.ts +22 -22
- package/dist/transfer/types.d.ts +12 -12
- package/package.json +1 -1
- package/src/config.test.ts +118 -0
- package/src/config.ts +45 -10
- package/dist/chunk-7H5WCPBS.js.map +0 -1
- /package/dist/{chunk-W25I7G6U.js.map → chunk-3EJ5OOZ3.js.map} +0 -0
- /package/dist/{chunk-VTH5SKQW.js.map → chunk-3XNMN242.js.map} +0 -0
- /package/dist/{chunk-JYFO32V4.js.map → chunk-QJGTSCJN.js.map} +0 -0
package/dist/access-cli.js
CHANGED
|
@@ -110,7 +110,7 @@ import "./chunk-L2EXJQJP.js";
|
|
|
110
110
|
import "./chunk-RK6F44Y6.js";
|
|
111
111
|
import {
|
|
112
112
|
parseConfig
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-A3HKTPPV.js";
|
|
114
114
|
import "./chunk-PHK3HARR.js";
|
|
115
115
|
import "./chunk-NDAH7BJ5.js";
|
|
116
116
|
import "./chunk-Z5LAYHGJ.js";
|
package/dist/active-recall.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-LMDRGRJ2.js";
|
|
12
12
|
import {
|
|
13
13
|
parseConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-A3HKTPPV.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveObjectiveStateStoreDir,
|
|
17
17
|
validateObjectiveStateSnapshot
|
|
@@ -268,4 +268,4 @@ export {
|
|
|
268
268
|
recordResumeBundle,
|
|
269
269
|
getResumeBundleStatus
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-3EJ5OOZ3.js.map
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-AJU4PJGY.js";
|
|
33
33
|
import {
|
|
34
34
|
parseConfig
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-A3HKTPPV.js";
|
|
36
36
|
import {
|
|
37
37
|
listMemoryGovernanceRuns,
|
|
38
38
|
readMemoryGovernanceRunArtifact
|
|
@@ -1336,4 +1336,4 @@ export {
|
|
|
1336
1336
|
runBenchmarkRecall,
|
|
1337
1337
|
runOperatorRepair
|
|
1338
1338
|
};
|
|
1339
|
-
//# sourceMappingURL=chunk-
|
|
1339
|
+
//# sourceMappingURL=chunk-3XNMN242.js.map
|
|
@@ -887,7 +887,11 @@ function parseConfig(raw) {
|
|
|
887
887
|
} else {
|
|
888
888
|
apiKey = readEnvVar("OPENAI_API_KEY");
|
|
889
889
|
}
|
|
890
|
-
const
|
|
890
|
+
const taskModelChain = parseModelChainConfig(cfg.taskModelChain, "taskModelChain");
|
|
891
|
+
const taskModelFallback = modelSource === "gateway" ? taskModelChain?.primary ?? "" : DEFAULT_REASONING_MODEL;
|
|
892
|
+
const explicitModel = typeof cfg.model === "string" && cfg.model.length > 0 ? cfg.model : "";
|
|
893
|
+
const model = explicitModel || DEFAULT_REASONING_MODEL;
|
|
894
|
+
const gatewayTaskModel = (value) => modelSource === "gateway" && !value.includes("/") ? "" : value;
|
|
891
895
|
const captureMode = cfg.captureMode === "explicit" || cfg.captureMode === "hybrid" ? cfg.captureMode : "implicit";
|
|
892
896
|
const rawEffort = cfg.reasoningEffort;
|
|
893
897
|
const reasoningEffort = rawEffort && VALID_EFFORTS.includes(rawEffort) ? rawEffort : "low";
|
|
@@ -1551,8 +1555,14 @@ function parseConfig(raw) {
|
|
|
1551
1555
|
nightlyGovernanceCronAutoRegister: dreamsDeepSleep.enabled && cfg.nightlyGovernanceCronAutoRegister === true,
|
|
1552
1556
|
summaryRecallHours: typeof cfg.summaryRecallHours === "number" ? cfg.summaryRecallHours : 24,
|
|
1553
1557
|
maxSummaryCount: typeof cfg.maxSummaryCount === "number" ? cfg.maxSummaryCount : 6,
|
|
1554
|
-
|
|
1555
|
-
//
|
|
1558
|
+
// Gateway-routed (memory flush plan + hourly summary cron). Precedence:
|
|
1559
|
+
// explicit summaryModel → explicit base model → gateway task-chain primary →
|
|
1560
|
+
// "" (omit, so the Gateway default wins). In gateway mode bare ids (incl. the
|
|
1561
|
+
// injected `model` schema default) are dropped via `gatewayTaskModel`, so the
|
|
1562
|
+
// Gateway is never sent an unroutable `<provider>/gpt-5.5` (issue #1469).
|
|
1563
|
+
summaryModel: gatewayTaskModel(
|
|
1564
|
+
typeof cfg.summaryModel === "string" && cfg.summaryModel.length > 0 ? cfg.summaryModel : ""
|
|
1565
|
+
) || gatewayTaskModel(explicitModel) || taskModelFallback,
|
|
1556
1566
|
// v2.4 Extended hourly summaries (default off)
|
|
1557
1567
|
hourlySummariesExtendedEnabled: cfg.hourlySummariesExtendedEnabled === true,
|
|
1558
1568
|
hourlySummariesIncludeToolStats: cfg.hourlySummariesIncludeToolStats === true,
|
|
@@ -1855,7 +1865,7 @@ function parseConfig(raw) {
|
|
|
1855
1865
|
modelSource,
|
|
1856
1866
|
gatewayAgentId: typeof cfg.gatewayAgentId === "string" && cfg.gatewayAgentId.length > 0 ? cfg.gatewayAgentId : "",
|
|
1857
1867
|
fastGatewayAgentId: typeof cfg.fastGatewayAgentId === "string" && cfg.fastGatewayAgentId.length > 0 ? cfg.fastGatewayAgentId : "",
|
|
1858
|
-
taskModelChain
|
|
1868
|
+
taskModelChain,
|
|
1859
1869
|
// v3.0 namespaces (default off)
|
|
1860
1870
|
namespacesEnabled: cfg.namespacesEnabled === true,
|
|
1861
1871
|
// NOTE: namespace identifiers are intentionally NOT sanitized here — the
|
|
@@ -2070,7 +2080,12 @@ function parseConfig(raw) {
|
|
|
2070
2080
|
// CLI/env surfaces (`--config recallPlannerLlmEnabled=true`) actually
|
|
2071
2081
|
// enable it (gotcha #36); defaults off.
|
|
2072
2082
|
recallPlannerLlmEnabled: coerceBooleanLike(cfg.recallPlannerLlmEnabled) ?? false,
|
|
2073
|
-
|
|
2083
|
+
// Gateway-routed via FallbackLlmClient (qualifiedPlannerModel drops bare ids).
|
|
2084
|
+
// Drop the bare schema-default model in gateway mode too so the resolved value
|
|
2085
|
+
// reflects the actual gateway route (task-chain primary) instead of "gpt-5.5".
|
|
2086
|
+
recallPlannerModel: gatewayTaskModel(
|
|
2087
|
+
typeof cfg.recallPlannerModel === "string" && cfg.recallPlannerModel.trim().length > 0 ? cfg.recallPlannerModel.trim() : ""
|
|
2088
|
+
) || taskModelFallback,
|
|
2074
2089
|
recallPlannerTimeoutMs: typeof cfg.recallPlannerTimeoutMs === "number" ? cfg.recallPlannerTimeoutMs : 1500,
|
|
2075
2090
|
recallPlannerUseResponsesApi: coerceBooleanLike(cfg.recallPlannerUseResponsesApi) ?? true,
|
|
2076
2091
|
recallPlannerMaxPromptChars: typeof cfg.recallPlannerMaxPromptChars === "number" ? cfg.recallPlannerMaxPromptChars : 4e3,
|
|
@@ -2779,4 +2794,4 @@ export {
|
|
|
2779
2794
|
VALID_MEMORY_CATEGORIES,
|
|
2780
2795
|
parseConfig
|
|
2781
2796
|
};
|
|
2782
|
-
//# sourceMappingURL=chunk-
|
|
2797
|
+
//# sourceMappingURL=chunk-A3HKTPPV.js.map
|