@remnic/core 9.3.671 → 9.3.673
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-audit.js +2 -2
- package/dist/access-cli.js +27 -25
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.js +12 -12
- package/dist/access-mcp.js +11 -11
- package/dist/access-schema.d.ts +36 -36
- package/dist/access-schema.js +3 -3
- package/dist/access-service.js +9 -9
- package/dist/active-recall.js +3 -1
- package/dist/active-recall.js.map +1 -1
- package/dist/chunk-3BQOQYRB.js +33 -0
- package/dist/chunk-3BQOQYRB.js.map +1 -0
- package/dist/{chunk-UOBLE67F.js → chunk-3IE22DJ2.js} +4 -4
- package/dist/chunk-52LZ42LI.js +25 -0
- package/dist/chunk-52LZ42LI.js.map +1 -0
- package/dist/{chunk-CRO4LCQ6.js → chunk-7OGJQP7T.js} +5 -5
- package/dist/{chunk-23EBQ27U.js → chunk-B55KFEGS.js} +2 -2
- package/dist/{chunk-BTLNC5YM.js → chunk-GNAMDNGT.js} +5 -13
- package/dist/chunk-GNAMDNGT.js.map +1 -0
- package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
- package/dist/{chunk-MLVMBV2C.js → chunk-IUZWBCJX.js} +8 -40
- package/dist/chunk-IUZWBCJX.js.map +1 -0
- package/dist/{chunk-PYTATYUV.js → chunk-ODWI5XU2.js} +2 -2
- package/dist/{chunk-F7OWUP3G.js → chunk-OG7A6AZX.js} +4 -4
- package/dist/{chunk-XS2CWEHZ.js → chunk-Q6MIDQEL.js} +2 -2
- package/dist/{chunk-UDJLF3BO.js → chunk-QLRYXOAD.js} +2 -2
- package/dist/chunk-QO3AILZN.js +89 -0
- package/dist/chunk-QO3AILZN.js.map +1 -0
- package/dist/{chunk-ZI6A7X4V.js → chunk-R37A3BEW.js} +26 -26
- package/dist/{chunk-CPVV2UEL.js → chunk-SDLJ2W7S.js} +6 -6
- package/dist/{chunk-Z4GALEO3.js → chunk-SF45RQDX.js} +3 -3
- package/dist/{chunk-LXVOZ2O6.js → chunk-T2AOOHDA.js} +2 -2
- package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
- package/dist/{chunk-32RD3GIW.js → chunk-XVVEKF5I.js} +19 -19
- package/dist/{chunk-TGN4M5MB.js → chunk-ZLINDOBG.js} +4 -4
- package/dist/cli.js +24 -22
- package/dist/coding/optional-coding-graph.d.ts +63 -0
- package/dist/coding/optional-coding-graph.js +119 -0
- package/dist/coding/optional-coding-graph.js.map +1 -0
- package/dist/coding-graph-types-Dd2tGrnm.d.ts +106 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.js +3 -1
- package/dist/connectors/index.d.ts +6 -2
- package/dist/connectors/index.js +6 -2
- package/dist/conversation-index/backend.js +2 -2
- package/dist/emit-legacy-tools.d.ts +61 -0
- package/dist/emit-legacy-tools.js +12 -0
- package/dist/emit-legacy-tools.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +54 -46
- package/dist/index.js.map +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +2 -2
- package/dist/namespaces/migrate.js +5 -5
- package/dist/namespaces/search.js +4 -4
- package/dist/operator-toolkit.js +10 -8
- package/dist/orchestrator.js +16 -16
- package/dist/resume-bundles.js +4 -2
- package/dist/schemas.d.ts +42 -42
- package/dist/search/factory.js +3 -3
- package/dist/search/index.js +3 -3
- package/dist/shared-context/manager.d.ts +2 -2
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/package.json +19 -1
- package/src/coding/coding-graph-types.ts +180 -0
- package/src/coding/optional-coding-graph-cache.test.ts +86 -0
- package/src/coding/optional-coding-graph-cacheread.test.ts +78 -0
- package/src/coding/optional-coding-graph-concurrent.test.ts +48 -0
- package/src/coding/optional-coding-graph-incompatible.test.ts +98 -0
- package/src/coding/optional-coding-graph-probe.test.ts +34 -0
- package/src/coding/optional-coding-graph.test.ts +117 -0
- package/src/coding/optional-coding-graph.ts +370 -0
- package/src/config.test.ts +408 -6
- package/src/config.ts +12 -56
- package/src/connectors/index.ts +2 -15
- package/src/connectors/paths.ts +50 -0
- package/src/emit-legacy-tools.test.ts +297 -0
- package/src/emit-legacy-tools.ts +204 -0
- package/src/index.ts +22 -0
- package/dist/chunk-BTLNC5YM.js.map +0 -1
- package/dist/chunk-MLVMBV2C.js.map +0 -1
- /package/dist/{chunk-UOBLE67F.js.map → chunk-3IE22DJ2.js.map} +0 -0
- /package/dist/{chunk-CRO4LCQ6.js.map → chunk-7OGJQP7T.js.map} +0 -0
- /package/dist/{chunk-23EBQ27U.js.map → chunk-B55KFEGS.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
- /package/dist/{chunk-PYTATYUV.js.map → chunk-ODWI5XU2.js.map} +0 -0
- /package/dist/{chunk-F7OWUP3G.js.map → chunk-OG7A6AZX.js.map} +0 -0
- /package/dist/{chunk-XS2CWEHZ.js.map → chunk-Q6MIDQEL.js.map} +0 -0
- /package/dist/{chunk-UDJLF3BO.js.map → chunk-QLRYXOAD.js.map} +0 -0
- /package/dist/{chunk-ZI6A7X4V.js.map → chunk-R37A3BEW.js.map} +0 -0
- /package/dist/{chunk-CPVV2UEL.js.map → chunk-SDLJ2W7S.js.map} +0 -0
- /package/dist/{chunk-Z4GALEO3.js.map → chunk-SF45RQDX.js.map} +0 -0
- /package/dist/{chunk-LXVOZ2O6.js.map → chunk-T2AOOHDA.js.map} +0 -0
- /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
- /package/dist/{chunk-32RD3GIW.js.map → chunk-XVVEKF5I.js.map} +0 -0
- /package/dist/{chunk-TGN4M5MB.js.map → chunk-ZLINDOBG.js.map} +0 -0
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
cloneDefaultSessionObserverBands
|
|
12
12
|
} from "./chunk-Z5LAYHGJ.js";
|
|
13
|
+
import {
|
|
14
|
+
resolveEmitLegacyTools,
|
|
15
|
+
resolveNamespaceCatalogEnabled
|
|
16
|
+
} from "./chunk-QO3AILZN.js";
|
|
13
17
|
import {
|
|
14
18
|
normalizeEntitySchemas
|
|
15
19
|
} from "./chunk-4DJQYKMN.js";
|
|
@@ -867,42 +871,6 @@ function coerceBooleanLike(value) {
|
|
|
867
871
|
}
|
|
868
872
|
return void 0;
|
|
869
873
|
}
|
|
870
|
-
function resolveEmitLegacyTools(configValue) {
|
|
871
|
-
const ACCEPTED = "true/false/1/0/yes/no/on/off";
|
|
872
|
-
if (configValue !== void 0 && configValue !== null) {
|
|
873
|
-
const coerced = coerceBooleanLike(configValue);
|
|
874
|
-
if (coerced === void 0) {
|
|
875
|
-
throw new Error(
|
|
876
|
-
`emitLegacyTools must be a boolean-like value (${ACCEPTED}); got ${JSON.stringify(configValue)}`
|
|
877
|
-
);
|
|
878
|
-
}
|
|
879
|
-
return coerced;
|
|
880
|
-
}
|
|
881
|
-
const envRaw = readEnvVar("REMNIC_EMIT_LEGACY_TOOLS") ?? readEnvVar("ENGRAM_EMIT_LEGACY_TOOLS");
|
|
882
|
-
if (envRaw !== void 0) {
|
|
883
|
-
const coerced = coerceBooleanLike(envRaw);
|
|
884
|
-
if (coerced === void 0) {
|
|
885
|
-
throw new Error(
|
|
886
|
-
`REMNIC_EMIT_LEGACY_TOOLS must be a boolean-like value (${ACCEPTED}); got "${envRaw}"`
|
|
887
|
-
);
|
|
888
|
-
}
|
|
889
|
-
return coerced;
|
|
890
|
-
}
|
|
891
|
-
return true;
|
|
892
|
-
}
|
|
893
|
-
function resolveNamespaceCatalogEnabled(configValue) {
|
|
894
|
-
const ACCEPTED = "true/false/1/0/yes/no/on/off";
|
|
895
|
-
if (configValue !== void 0 && configValue !== null) {
|
|
896
|
-
const coerced = coerceBooleanLike(configValue);
|
|
897
|
-
if (coerced === void 0) {
|
|
898
|
-
throw new Error(
|
|
899
|
-
`namespaceCatalogEnabled must be a boolean-like value (${ACCEPTED}); got ${JSON.stringify(configValue)}`
|
|
900
|
-
);
|
|
901
|
-
}
|
|
902
|
-
return coerced;
|
|
903
|
-
}
|
|
904
|
-
return true;
|
|
905
|
-
}
|
|
906
874
|
function readNestedConfig(cfg, blockName, key) {
|
|
907
875
|
const block = validateNestedConfigBlock(cfg, blockName);
|
|
908
876
|
if (!block) return void 0;
|
|
@@ -1199,7 +1167,7 @@ function resolveMemoryOsPreset(value) {
|
|
|
1199
1167
|
}
|
|
1200
1168
|
return MEMORY_OS_PRESET_ALIASES[normalized];
|
|
1201
1169
|
}
|
|
1202
|
-
function parseConfig(raw) {
|
|
1170
|
+
function parseConfig(raw, rawOperatorConfig, runtimeSet) {
|
|
1203
1171
|
const baseCfg = raw && typeof raw === "object" && !Array.isArray(raw) ? raw : {};
|
|
1204
1172
|
const memoryOsPreset = resolveMemoryOsPreset(baseCfg.memoryOsPreset);
|
|
1205
1173
|
let cfg;
|
|
@@ -2313,7 +2281,7 @@ function parseConfig(raw) {
|
|
|
2313
2281
|
// a PRESENT but unrecognized value ("flase", 2) is REJECTED rather than
|
|
2314
2282
|
// silently defaulting to enabled (CLAUDE.md rule #51); default to enabled
|
|
2315
2283
|
// only when the value is absent.
|
|
2316
|
-
namespaceCatalogEnabled: resolveNamespaceCatalogEnabled(cfg.namespaceCatalogEnabled),
|
|
2284
|
+
namespaceCatalogEnabled: resolveNamespaceCatalogEnabled(cfg.namespaceCatalogEnabled, rawOperatorConfig, runtimeSet),
|
|
2317
2285
|
// NOTE: namespace identifiers are intentionally NOT sanitized here — the
|
|
2318
2286
|
// codebase rejects unsafe namespaces at the point of use (see
|
|
2319
2287
|
// codex-materialize-runner and NamespaceStorageRouter / resolveNamespaceDir),
|
|
@@ -2955,7 +2923,7 @@ function parseConfig(raw) {
|
|
|
2955
2923
|
// Legacy MCP tool aliases opt-out (issue #1427). Config field wins; then
|
|
2956
2924
|
// the REMNIC_/ENGRAM_ env var (gotcha #9); default true for back-compat.
|
|
2957
2925
|
// Malformed values fail fast rather than silently defaulting (gotcha #51).
|
|
2958
|
-
emitLegacyTools: resolveEmitLegacyTools(cfg.emitLegacyTools),
|
|
2926
|
+
emitLegacyTools: resolveEmitLegacyTools(cfg.emitLegacyTools, rawOperatorConfig, runtimeSet),
|
|
2959
2927
|
// Codex citation parity (issue #379)
|
|
2960
2928
|
citationsEnabled: cfg.citationsEnabled === true,
|
|
2961
2929
|
citationsAutoDetect: cfg.citationsAutoDetect !== false,
|
|
@@ -3243,4 +3211,4 @@ export {
|
|
|
3243
3211
|
VALID_MEMORY_CATEGORIES,
|
|
3244
3212
|
parseConfig
|
|
3245
3213
|
};
|
|
3246
|
-
//# sourceMappingURL=chunk-
|
|
3214
|
+
//# sourceMappingURL=chunk-IUZWBCJX.js.map
|