@remnic/core 9.3.682 → 9.3.684
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-boundary.d.ts +4 -4
- package/dist/access-boundary.js +12 -11
- package/dist/access-cli.js +29 -29
- package/dist/access-http.d.ts +4 -4
- package/dist/access-http.js +17 -16
- package/dist/access-mcp.d.ts +4 -4
- package/dist/access-mcp.js +14 -13
- package/dist/access-operations.d.ts +4 -4
- package/dist/access-operations.js +13 -12
- package/dist/{access-service-DvA6jyHL.d.ts → access-service-D-siI-xJ.d.ts} +2 -2
- package/dist/access-service.d.ts +4 -4
- package/dist/access-service.js +11 -10
- package/dist/access-surface-catalog.d.ts +4 -4
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +3 -3
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +4 -3
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +5 -4
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-O2WELT5C.js → chunk-2IBGHRIO.js} +2 -2
- package/dist/{chunk-I3HSKQT7.js → chunk-2L3KLWOV.js} +27 -27
- package/dist/{chunk-V254FAT5.js → chunk-3EVIMVQU.js} +2 -2
- package/dist/{chunk-H4BDNIKQ.js → chunk-3MY4W5V4.js} +8 -8
- package/dist/{chunk-3IND7N4X.js → chunk-3Z7NPD5T.js} +2 -2
- package/dist/{chunk-TY5NT3T3.js → chunk-53FDU4CE.js} +13 -8
- package/dist/chunk-53FDU4CE.js.map +1 -0
- package/dist/{chunk-QVWM4C24.js → chunk-5N5DXYDW.js} +6 -6
- package/dist/{chunk-FDSOMA6M.js → chunk-5OE4PYY5.js} +4 -4
- package/dist/{chunk-IUZWBCJX.js → chunk-6QM24CP7.js} +9 -6
- package/dist/chunk-6QM24CP7.js.map +1 -0
- package/dist/{chunk-H6PMGMNP.js → chunk-6VMIHVGO.js} +2 -2
- package/dist/{chunk-APJQ6UEA.js → chunk-AGNBY3VG.js} +4 -4
- package/dist/{chunk-GSTYVG5L.js → chunk-BFVPIKDY.js} +3 -3
- package/dist/{chunk-EG4TCVMU.js → chunk-DQY7NJ5L.js} +2 -2
- package/dist/{chunk-ARLRTZZZ.js → chunk-FMEKEF47.js} +2 -2
- package/dist/{chunk-NHFXF4ZO.js → chunk-FYEVFGJD.js} +2 -2
- package/dist/{chunk-OHX52AOS.js → chunk-GTDH3IUH.js} +2 -2
- package/dist/{chunk-ODWI5XU2.js → chunk-GWKCEM3S.js} +2 -2
- package/dist/{chunk-UAODC6GJ.js → chunk-J2FBJ63F.js} +3 -3
- package/dist/{chunk-KV6CX4ON.js → chunk-K6ZN34WC.js} +2 -2
- package/dist/{chunk-6VP3YUCS.js → chunk-LLONI6PY.js} +2 -2
- package/dist/{chunk-GNAMDNGT.js → chunk-LXH3DIF2.js} +4 -4
- package/dist/{chunk-TOQEZ63C.js → chunk-M3FWYURP.js} +5 -5
- package/dist/{chunk-B2B2IHUH.js → chunk-M6BVYHBU.js} +2 -2
- package/dist/{chunk-FMSDA2D3.js → chunk-NGFEWFNK.js} +1 -1
- package/dist/chunk-NGFEWFNK.js.map +1 -0
- package/dist/{chunk-QUA2JPH2.js → chunk-NHQGDVJF.js} +3 -3
- package/dist/{chunk-KACIOX42.js → chunk-OMLIFZ4I.js} +2 -2
- package/dist/{chunk-M4I3TREG.js → chunk-OXNOINIP.js} +21 -21
- package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-UJDV2NLT.js → chunk-ROHLEUTH.js} +4 -4
- package/dist/{chunk-WEPMT6SC.js → chunk-V25ZAOSB.js} +5 -5
- package/dist/{chunk-L5MUA6Q7.js → chunk-WI7JKV2T.js} +2 -2
- package/dist/{chunk-NQMBSSWW.js → chunk-WRE3JPAW.js} +2 -2
- package/dist/{chunk-I75DF4FZ.js → chunk-XEA4Z7JU.js} +2 -2
- package/dist/{chunk-G7Z3C2X6.js → chunk-XWEXT4XU.js} +2 -2
- package/dist/chunk-ZPQVJEVQ.js +184 -0
- package/dist/chunk-ZPQVJEVQ.js.map +1 -0
- package/dist/{cli-feUe-x3I.d.ts → cli-ooj6JQBS.d.ts} +3 -3
- package/dist/cli.d.ts +5 -5
- package/dist/cli.js +32 -32
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +4 -3
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +4 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +7 -7
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +5 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +3 -3
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-FF7YFGRP.js → first-start-migration-PG5HBC3K.js} +4 -4
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +79 -79
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +5 -5
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +5 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -3
- package/dist/maintenance/rebuild-memory-projection.js +6 -4
- package/dist/mcp-memory-inspector-app.d.ts +4 -4
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +1 -1
- package/dist/namespaces/migrate.js +8 -7
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +3 -3
- package/dist/namespaces/storage.d.ts +1 -1
- package/dist/namespaces/storage.js +5 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +11 -11
- package/dist/{orchestrator-7zPqGupX.d.ts → orchestrator-DIDDvwDw.d.ts} +2 -2
- package/dist/orchestrator.d.ts +3 -3
- package/dist/orchestrator.js +23 -22
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +94 -0
- package/dist/provenance.js +17 -0
- package/dist/provenance.js.map +1 -0
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +3 -3
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +2 -2
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +4 -4
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-BX9Z9_aK.d.ts → semantic-consolidation-CWch5uM7.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +5 -4
- package/dist/semantic-rule-promotion.js +5 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +5 -3
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +4 -2
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +1 -1
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/import-sqlite.js +2 -2
- package/dist/transfer/types.d.ts +12 -12
- package/dist/{types-D3pm4NhH.d.ts → types-Dm5xxVrr.d.ts} +61 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +5 -3
- package/package.json +2 -2
- package/src/config.test.ts +112 -0
- package/src/config.ts +5 -5
- package/src/provenance-frontmatter.test.ts +596 -0
- package/src/provenance.ts +305 -0
- package/src/storage.ts +5 -5
- package/src/types.ts +76 -0
- package/dist/chunk-FMSDA2D3.js.map +0 -1
- package/dist/chunk-IUZWBCJX.js.map +0 -1
- package/dist/chunk-PHK3HARR.js +0 -32
- package/dist/chunk-PHK3HARR.js.map +0 -1
- package/dist/chunk-TY5NT3T3.js.map +0 -1
- /package/dist/{chunk-O2WELT5C.js.map → chunk-2IBGHRIO.js.map} +0 -0
- /package/dist/{chunk-I3HSKQT7.js.map → chunk-2L3KLWOV.js.map} +0 -0
- /package/dist/{chunk-V254FAT5.js.map → chunk-3EVIMVQU.js.map} +0 -0
- /package/dist/{chunk-H4BDNIKQ.js.map → chunk-3MY4W5V4.js.map} +0 -0
- /package/dist/{chunk-3IND7N4X.js.map → chunk-3Z7NPD5T.js.map} +0 -0
- /package/dist/{chunk-QVWM4C24.js.map → chunk-5N5DXYDW.js.map} +0 -0
- /package/dist/{chunk-FDSOMA6M.js.map → chunk-5OE4PYY5.js.map} +0 -0
- /package/dist/{chunk-H6PMGMNP.js.map → chunk-6VMIHVGO.js.map} +0 -0
- /package/dist/{chunk-APJQ6UEA.js.map → chunk-AGNBY3VG.js.map} +0 -0
- /package/dist/{chunk-GSTYVG5L.js.map → chunk-BFVPIKDY.js.map} +0 -0
- /package/dist/{chunk-EG4TCVMU.js.map → chunk-DQY7NJ5L.js.map} +0 -0
- /package/dist/{chunk-ARLRTZZZ.js.map → chunk-FMEKEF47.js.map} +0 -0
- /package/dist/{chunk-NHFXF4ZO.js.map → chunk-FYEVFGJD.js.map} +0 -0
- /package/dist/{chunk-OHX52AOS.js.map → chunk-GTDH3IUH.js.map} +0 -0
- /package/dist/{chunk-ODWI5XU2.js.map → chunk-GWKCEM3S.js.map} +0 -0
- /package/dist/{chunk-UAODC6GJ.js.map → chunk-J2FBJ63F.js.map} +0 -0
- /package/dist/{chunk-KV6CX4ON.js.map → chunk-K6ZN34WC.js.map} +0 -0
- /package/dist/{chunk-6VP3YUCS.js.map → chunk-LLONI6PY.js.map} +0 -0
- /package/dist/{chunk-GNAMDNGT.js.map → chunk-LXH3DIF2.js.map} +0 -0
- /package/dist/{chunk-TOQEZ63C.js.map → chunk-M3FWYURP.js.map} +0 -0
- /package/dist/{chunk-B2B2IHUH.js.map → chunk-M6BVYHBU.js.map} +0 -0
- /package/dist/{chunk-QUA2JPH2.js.map → chunk-NHQGDVJF.js.map} +0 -0
- /package/dist/{chunk-KACIOX42.js.map → chunk-OMLIFZ4I.js.map} +0 -0
- /package/dist/{chunk-M4I3TREG.js.map → chunk-OXNOINIP.js.map} +0 -0
- /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-UJDV2NLT.js.map → chunk-ROHLEUTH.js.map} +0 -0
- /package/dist/{chunk-WEPMT6SC.js.map → chunk-V25ZAOSB.js.map} +0 -0
- /package/dist/{chunk-L5MUA6Q7.js.map → chunk-WI7JKV2T.js.map} +0 -0
- /package/dist/{chunk-NQMBSSWW.js.map → chunk-WRE3JPAW.js.map} +0 -0
- /package/dist/{chunk-I75DF4FZ.js.map → chunk-XEA4Z7JU.js.map} +0 -0
- /package/dist/{chunk-G7Z3C2X6.js.map → chunk-XWEXT4XU.js.map} +0 -0
- /package/dist/{first-start-migration-FF7YFGRP.js.map → first-start-migration-PG5HBC3K.js.map} +0 -0
package/dist/storage.js
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
parseEntityFile,
|
|
10
10
|
serializeEntityFile,
|
|
11
11
|
stripAttributesSuffix
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-53FDU4CE.js";
|
|
13
13
|
import "./chunk-M7XQSUBB.js";
|
|
14
14
|
import "./chunk-5UZXUTVO.js";
|
|
15
15
|
import "./chunk-5GPPACXK.js";
|
|
16
16
|
import "./chunk-J6A3CX5N.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-NGFEWFNK.js";
|
|
18
18
|
import "./chunk-MB5RSUW6.js";
|
|
19
19
|
import "./chunk-6KYMPV2O.js";
|
|
20
20
|
import "./chunk-AWJ2FHCF.js";
|
|
@@ -30,7 +30,9 @@ import "./chunk-J2HSAU72.js";
|
|
|
30
30
|
import "./chunk-A6XUJE5D.js";
|
|
31
31
|
import "./chunk-P7FMDTKL.js";
|
|
32
32
|
import "./chunk-VS2IYZRU.js";
|
|
33
|
+
import "./chunk-ZPQVJEVQ.js";
|
|
33
34
|
import "./chunk-4DJQYKMN.js";
|
|
35
|
+
import "./chunk-JUC24CTX.js";
|
|
34
36
|
import "./chunk-2ODBA7MQ.js";
|
|
35
37
|
import "./chunk-PZ5AY32C.js";
|
|
36
38
|
export {
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, _ as TranscriptEntry, a0 as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, _ as TranscriptEntry, a0 as HourlySummary } from './types-Dm5xxVrr.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './types-ByK7T3L6.js';
|
|
5
5
|
import './index-DJ9QWMw-.js';
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, _ as TranscriptEntry, $ as Checkpoint } from './types-Dm5xxVrr.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-ByK7T3L6.js';
|
|
4
4
|
import './index-DJ9QWMw-.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importSqlite
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-G4IAEX6D.js";
|
|
3
|
+
} from "../chunk-AGNBY3VG.js";
|
|
5
4
|
import "../chunk-Z734BLO3.js";
|
|
5
|
+
import "../chunk-G4IAEX6D.js";
|
|
6
6
|
import "../chunk-6KYMPV2O.js";
|
|
7
7
|
import "../chunk-GCGJW34D.js";
|
|
8
8
|
import "../chunk-PZ5AY32C.js";
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
schemaVersion: string;
|
|
317
316
|
includes: {
|
|
318
317
|
procedural: boolean;
|
|
319
318
|
taxonomy: boolean;
|
|
320
319
|
identityAnchors: boolean;
|
|
321
320
|
peerProfiles: boolean;
|
|
322
321
|
};
|
|
322
|
+
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
description: string;
|
|
325
325
|
version: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
directAnswerEnabled: boolean;
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
|
-
schemaVersion: string;
|
|
338
337
|
includes: {
|
|
339
338
|
procedural: boolean;
|
|
340
339
|
taxonomy: boolean;
|
|
341
340
|
identityAnchors: boolean;
|
|
342
341
|
peerProfiles: boolean;
|
|
343
342
|
};
|
|
343
|
+
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
description: string;
|
|
346
346
|
version: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
schemaVersion: string;
|
|
468
467
|
includes: {
|
|
469
468
|
procedural: boolean;
|
|
470
469
|
taxonomy: boolean;
|
|
471
470
|
identityAnchors: boolean;
|
|
472
471
|
peerProfiles: boolean;
|
|
473
472
|
};
|
|
473
|
+
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
description: string;
|
|
476
476
|
version: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
directAnswerEnabled: boolean;
|
|
486
486
|
};
|
|
487
487
|
}, {
|
|
488
|
-
schemaVersion: string;
|
|
489
488
|
includes: {
|
|
490
489
|
procedural: boolean;
|
|
491
490
|
taxonomy: boolean;
|
|
492
491
|
identityAnchors: boolean;
|
|
493
492
|
peerProfiles: boolean;
|
|
494
493
|
};
|
|
494
|
+
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
description: string;
|
|
497
497
|
version: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
-
schemaVersion: string;
|
|
522
521
|
includes: {
|
|
523
522
|
procedural: boolean;
|
|
524
523
|
taxonomy: boolean;
|
|
525
524
|
identityAnchors: boolean;
|
|
526
525
|
peerProfiles: boolean;
|
|
527
526
|
};
|
|
527
|
+
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
description: string;
|
|
530
530
|
version: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
-
schemaVersion: string;
|
|
555
554
|
includes: {
|
|
556
555
|
procedural: boolean;
|
|
557
556
|
taxonomy: boolean;
|
|
558
557
|
identityAnchors: boolean;
|
|
559
558
|
peerProfiles: boolean;
|
|
560
559
|
};
|
|
560
|
+
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
description: string;
|
|
563
563
|
version: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
-
schemaVersion: string;
|
|
687
686
|
includes: {
|
|
688
687
|
procedural: boolean;
|
|
689
688
|
taxonomy: boolean;
|
|
690
689
|
identityAnchors: boolean;
|
|
691
690
|
peerProfiles: boolean;
|
|
692
691
|
};
|
|
692
|
+
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
description: string;
|
|
695
695
|
version: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
directAnswerEnabled: boolean;
|
|
705
705
|
};
|
|
706
706
|
}, {
|
|
707
|
-
schemaVersion: string;
|
|
708
707
|
includes: {
|
|
709
708
|
procedural: boolean;
|
|
710
709
|
taxonomy: boolean;
|
|
711
710
|
identityAnchors: boolean;
|
|
712
711
|
peerProfiles: boolean;
|
|
713
712
|
};
|
|
713
|
+
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
description: string;
|
|
716
716
|
version: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
-
schemaVersion: string;
|
|
741
740
|
includes: {
|
|
742
741
|
procedural: boolean;
|
|
743
742
|
taxonomy: boolean;
|
|
744
743
|
identityAnchors: boolean;
|
|
745
744
|
peerProfiles: boolean;
|
|
746
745
|
};
|
|
746
|
+
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
description: string;
|
|
749
749
|
version: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
-
schemaVersion: string;
|
|
774
773
|
includes: {
|
|
775
774
|
procedural: boolean;
|
|
776
775
|
taxonomy: boolean;
|
|
777
776
|
identityAnchors: boolean;
|
|
778
777
|
peerProfiles: boolean;
|
|
779
778
|
};
|
|
779
|
+
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
description: string;
|
|
782
782
|
version: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
-
schemaVersion: string;
|
|
819
818
|
includes: {
|
|
820
819
|
procedural: boolean;
|
|
821
820
|
taxonomy: boolean;
|
|
822
821
|
identityAnchors: boolean;
|
|
823
822
|
peerProfiles: boolean;
|
|
824
823
|
};
|
|
824
|
+
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
description: string;
|
|
827
827
|
version: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
-
schemaVersion: string;
|
|
858
857
|
includes: {
|
|
859
858
|
procedural: boolean;
|
|
860
859
|
taxonomy: boolean;
|
|
861
860
|
identityAnchors: boolean;
|
|
862
861
|
peerProfiles: boolean;
|
|
863
862
|
};
|
|
863
|
+
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
description: string;
|
|
866
866
|
version: string;
|
|
@@ -704,6 +704,28 @@ interface ProceduralConfig {
|
|
|
704
704
|
/** Max procedure memories to inject on task-initiation recall (1–10). */
|
|
705
705
|
recallMaxProcedures: number;
|
|
706
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* Claim-level provenance spans (issue #1575). Controls whether extracted
|
|
709
|
+
* facts carry verbatim source-utterance excerpts and the strength tag that
|
|
710
|
+
* downstream features (faithfulness gate #1576, correction UX #1580/#1583,
|
|
711
|
+
* tombstone matching #1579, TrustScore #1577) consume.
|
|
712
|
+
*
|
|
713
|
+
* PR 1 parses the block + schema only; the extraction prompt and validator
|
|
714
|
+
* land in PR 2. When `enabled` is false, extraction prompt/output are
|
|
715
|
+
* byte-identical to pre-feature behavior (rule 39).
|
|
716
|
+
*/
|
|
717
|
+
interface ProvenanceConfig {
|
|
718
|
+
/** Emit provenance spans on new extractions. Default true. */
|
|
719
|
+
enabled: boolean;
|
|
720
|
+
/** Maximum characters stored per quote; longer quotes truncate at a word boundary. Default 300. */
|
|
721
|
+
maxQuoteChars: number;
|
|
722
|
+
/**
|
|
723
|
+
* When true, facts whose quote cannot be located are routed to
|
|
724
|
+
* `pending_review` instead of `active`. Stays false until #1576 lands and
|
|
725
|
+
* the bench shows the gate is safe (rule 48).
|
|
726
|
+
*/
|
|
727
|
+
requireSpans: boolean;
|
|
728
|
+
}
|
|
707
729
|
/**
|
|
708
730
|
* Coding-agent mode config (issue #569).
|
|
709
731
|
*
|
|
@@ -1214,6 +1236,12 @@ interface PluginConfig {
|
|
|
1214
1236
|
*/
|
|
1215
1237
|
dreamsPhases: DreamsPhasesConfig;
|
|
1216
1238
|
procedural: ProceduralConfig;
|
|
1239
|
+
/**
|
|
1240
|
+
* Claim-level provenance spans (issue #1575). Parsed from the
|
|
1241
|
+
* `provenance` config block; see `ProvenanceConfig` for the documented
|
|
1242
|
+
* defaults. PR 1 parses + persists only; extraction wiring lands in PR 2.
|
|
1243
|
+
*/
|
|
1244
|
+
provenance: ProvenanceConfig;
|
|
1217
1245
|
/**
|
|
1218
1246
|
* Wearable transcript ingestion (Limitless / Bee / Omi connectors).
|
|
1219
1247
|
* Disabled by default; see docs/wearables.md.
|
|
@@ -2646,6 +2674,14 @@ interface MemoryFrontmatter {
|
|
|
2646
2674
|
* is absent.
|
|
2647
2675
|
*/
|
|
2648
2676
|
last_reinforced_at?: string;
|
|
2677
|
+
/** Literal source-utterance excerpts backing this fact (issue #1575). */
|
|
2678
|
+
sources?: ProvenanceSource[];
|
|
2679
|
+
/**
|
|
2680
|
+
* Coarse provenance strength: `"verified"` (span located in source text),
|
|
2681
|
+
* `"unverified"` (span present but not locatable), or `"none"` (no span
|
|
2682
|
+
* recorded). Readers treat absent as `"none"` for legacy memories.
|
|
2683
|
+
*/
|
|
2684
|
+
provenance?: "verified" | "unverified" | "none";
|
|
2649
2685
|
}
|
|
2650
2686
|
/** Memory link relationship types */
|
|
2651
2687
|
type MemoryLinkType = "follows" | "references" | "contradicts" | "supports" | "related";
|
|
@@ -2656,6 +2692,30 @@ interface MemoryLink {
|
|
|
2656
2692
|
strength: number;
|
|
2657
2693
|
reason?: string;
|
|
2658
2694
|
}
|
|
2695
|
+
/**
|
|
2696
|
+
* A verbatim source-utterance excerpt that grounds an extracted fact
|
|
2697
|
+
* (issue #1575). Emitted by the PR 2 extraction validator; round-tripped
|
|
2698
|
+
* through storage in PR 1.
|
|
2699
|
+
*
|
|
2700
|
+
* `quote` is the only strictly-required field — without it the entry is
|
|
2701
|
+
* meaningless and is dropped on read. `charStart` / `charEnd` are
|
|
2702
|
+
* best-effort offsets within the buffered turn text at write time and
|
|
2703
|
+
* form a half-open interval [charStart, charEnd) (rule 35).
|
|
2704
|
+
*/
|
|
2705
|
+
interface ProvenanceSource {
|
|
2706
|
+
/** Session key of the source turn (e.g. `project/<name>/<ts>`). */
|
|
2707
|
+
sessionKey: string;
|
|
2708
|
+
/** Host-supplied turn identifier, when one was provided. */
|
|
2709
|
+
turnId?: string;
|
|
2710
|
+
/** ISO 8601 timestamp of the source turn. */
|
|
2711
|
+
observedAt: string;
|
|
2712
|
+
/** Verbatim utterance excerpt, capped at `provenance.maxQuoteChars`. */
|
|
2713
|
+
quote: string;
|
|
2714
|
+
/** Offset within the buffered turn text where the quote begins, when located. */
|
|
2715
|
+
charStart?: number;
|
|
2716
|
+
/** Half-open end offset within the buffered turn text (rule 35). */
|
|
2717
|
+
charEnd?: number;
|
|
2718
|
+
}
|
|
2659
2719
|
interface ConversationThread {
|
|
2660
2720
|
id: string;
|
|
2661
2721
|
title: string;
|
|
@@ -3274,4 +3334,4 @@ interface HourlySummary {
|
|
|
3274
3334
|
generatedAt: string;
|
|
3275
3335
|
}
|
|
3276
3336
|
|
|
3277
|
-
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type BriefingFocus as S, type TopicScore as T, type CalendarSource as U, type CalendarEvent as V, type BriefingActiveThread as W, type BriefingResult as X, type BriefingRecentEntity as Y, type BufferTurn as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a,
|
|
3337
|
+
export { type Checkpoint as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CompressionGuidelineOptimizerState as C, type MemorySummary as D, type EntityStructuredSection as E, type FileHygieneConfig as F, type GatewayConfig as G, type RecallPlanMode as H, type ImportanceScore as I, type IdentityInjectionMode as J, type RecallDisclosure as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type BriefingSections as N, type BriefingFollowup as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type BriefingFocus as S, type TopicScore as T, type CalendarSource as U, type CalendarEvent as V, type BriefingActiveThread as W, type BriefingResult as X, type BriefingRecentEntity as Y, type BufferTurn as Z, type TranscriptEntry as _, type ActiveRecallQueryMode as a, RECALL_DISCLOSURE_LEVELS as a$, type HourlySummary as a0, type SessionObserverBandConfig as a1, type LifecycleState as a2, type VerificationState as a3, type PolicyClass as a4, type ImportanceLevel as a5, type SecretRef as a6, type AgentAccessAuthToken as a7, type CompressionGuidelineOptimizerEventCounts as a8, type CompressionGuidelineOptimizerActionSummary as a9, type WearableConversation as aA, type WearableSourceSettings as aB, type WearableNativeMemory as aC, type WearableMemoryMode as aD, type WearableSourceConnector as aE, type WearablesConfig as aF, type WearableSyncSummary as aG, type WearableSourceStatus as aH, type WearableDayTranscript as aI, type WearableCorrectionRule as aJ, type CodingContext as aK, type BootstrapOptions as aL, type BootstrapResult as aM, type ConsolidationObservation as aN, type EntityTimelineEntry as aO, type CodingModeConfig as aP, type WearableCleanupSettings as aQ, type WearableDayTranscriptMeta as aR, type BriefingConfig as aS, type BriefingOpenCommitment as aT, type BriefingWindow as aU, type CodexCompatConfig as aV, DEFAULT_RECALL_DISCLOSURE as aW, type ExtractedFact as aX, type MemoryActionEligibilitySource as aY, type MemoryObservation as aZ, type MemoryScope as a_, type CompressionGuidelineOptimizerRuleUpdate as aa, type MemoryActionType as ab, type EntityMention as ac, type EntitySchemaDefinition as ad, type EntitySchemaSectionDefinition as ae, type ExtractionResult as af, type ConsolidationResult as ag, type DaySummaryResult as ah, type MemoryIntent as ai, type QmdSearchExplain as aj, type MemoryActionEligibilityContext as ak, type MemoryActionPolicyResult as al, type MemoryLifecycleEventType as am, type MemoryLifecycleStateSummary as an, type ModelProviderConfig as ao, type NativeKnowledgeConfig as ap, type ProvenanceConfig as aq, type ProvenanceSource as ar, type RetrievalTier as as, type SignalScanResult as at, type ConversationThread as au, type ScopeProfileLayerId as av, type ScopeProfilePromotionTarget as aw, type DreamsStatusResult as ax, type DreamsPhase as ay, type DreamsRunResult as az, type ActiveRecallPromptStyle as b, type NotionLiveConnectorConfig as b$, type WearableAuthCheck as b0, type WearableFetchOptions as b1, type WearableFetchPage as b2, type WearableNativeMemoryPage as b3, type WearableTranscriptSegment as b4, isRecallDisclosure as b5, type AgentAccessHttpConfig as b6, type AgentDefaultsConfig as b7, type AgentPersona as b8, type BehaviorLoopAdjustment as b9, type DreamsRemConfig as bA, type EngramTraceEvent as bB, type ExtractedProcedureStep as bC, type ExtractedQuestion as bD, type ExtractedReasoningTrace as bE, type ExtractedReasoningTraceStep as bF, type ExtractedRelationship as bG, type ExtractionPassSource as bH, type GitHubLiveConnectorConfig as bI, type GmailLiveConnectorConfig as bJ, type GoogleDriveLiveConnectorConfig as bK, type HeartbeatConfig as bL, type HeartbeatDetectionMode as bM, type LlmTraceCallback as bN, type LlmTraceEvent as bO, type MemoryActionOutcome as bP, type MemoryActionPolicyDecision as bQ, type MemoryActionStatus as bR, type MemoryLinkType as bS, type MemoryOsPresetName as bT, type ModelApi as bU, type ModelDefinitionConfig as bV, type ModelProviderAuthMode as bW, type NamespacePolicy as bX, type NativeKnowledgeFolderRuleConfig as bY, type NativeKnowledgeObsidianVaultConfig as bZ, type NativeKnowledgeOpenClawWorkspaceConfig as b_, type BehaviorSignalDirection as ba, type BehaviorSignalType as bb, type BriefingCalendarSourceError as bc, type BufferEntryState as bd, type CaptureMode as be, type CodexCliReasoningEffort as bf, type CodexCompactionFlushMode as bg, type CodexConnectorConfig as bh, type CodingKnowledgeConfig as bi, type CompressionGuidelineActivationState as bj, type CompressionGuidelineOptimizerSourceWindow as bk, type ConfidenceTier as bl, type ConsolidationAction as bm, type ConsolidationItem as bn, type ContinuityIncidentState as bo, type ContinuityLoopCadence as bp, type ContinuityLoopStatus as bq, type ContradictionScanConfig as br, type CronConversationRecallMode as bs, type CronRecallMode as bt, type DreamingConfig as bu, type DreamingNarrativePromptStyle as bv, type DreamsDeepSleepConfig as bw, type DreamsLightSleepConfig as bx, type DreamsPhaseStatus as by, type DreamsPhasesConfig as bz, type ActiveRecallThinking as c, type PrincipalFromSessionKeyMode as c0, type PrincipalRule as c1, type ProceduralConfig as c2, type QuestionEntry as c3, type ReasoningEffort as c4, type RecallPipelineConfig as c5, type RecallSectionConfig as c6, type RecallTraceEvent as c7, type RelevanceFeedback as c8, SPECULATIVE_TTL_DAYS as c9, type ScopeProfileAutoPromoteConfig as ca, type ScopeProfileConfig as cb, type ScopeProfileTeamProjectConfig as cc, type ScopeTeamConfig as cd, type ScoredEntity as ce, type SemanticChunkingConfigShape as cf, type SignalLevel as cg, type SlotBehaviorConfig as ch, type SlotMismatchMode as ci, type TriggerMode as cj, confidenceTier as ck, type ActiveRecallModelFallbackPolicy as d, type BehaviorLoopPolicyState as e, type AgentPersonaModelConfig as f, type MemoryFile as g, type MemoryStatus as h, type MemoryLink as i, type MemoryFrontmatter as j, type BufferState as k, type MetaState as l, type MemoryActionEvent as m, type MemoryLifecycleEvent as n, type BufferSurpriseEvent as o, type ContinuityIncidentOpenInput as p, type ContinuityIncidentRecord as q, type ContinuityIncidentCloseInput as r, type ContinuityImprovementLoop as s, type ContinuityLoopUpsertInput as t, type ContinuityLoopReviewInput as u, type EntityRelationship as v, type EntityActivityEntry as w, type EntityFile as x, type AccessTrackingEntry as y, type MemoryProjectionCurrentState as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './types-ByK7T3L6.js';
|
|
2
2
|
import './index-DJ9QWMw-.js';
|
|
3
|
-
export { y as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, a7 as AgentAccessAuthToken,
|
|
3
|
+
export { y as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, a7 as AgentAccessAuthToken, b6 as AgentAccessHttpConfig, b7 as AgentDefaultsConfig, b8 as AgentPersona, f as AgentPersonaModelConfig, b9 as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, ba as BehaviorSignalDirection, B as BehaviorSignalEvent, bb as BehaviorSignalType, aL as BootstrapOptions, aM as BootstrapResult, W as BriefingActiveThread, bc as BriefingCalendarSourceError, aS as BriefingConfig, S as BriefingFocus, O as BriefingFollowup, aT as BriefingOpenCommitment, Y as BriefingRecentEntity, X as BriefingResult, N as BriefingSections, aU as BriefingWindow, bd as BufferEntryState, k as BufferState, o as BufferSurpriseEvent, Z as BufferTurn, V as CalendarEvent, U as CalendarSource, be as CaptureMode, $ as Checkpoint, bf as CodexCliReasoningEffort, bg as CodexCompactionFlushMode, aV as CodexCompatConfig, bh as CodexConnectorConfig, aK as CodingContext, bi as CodingKnowledgeConfig, aP as CodingModeConfig, bj as CompressionGuidelineActivationState, a9 as CompressionGuidelineOptimizerActionSummary, a8 as CompressionGuidelineOptimizerEventCounts, aa as CompressionGuidelineOptimizerRuleUpdate, bk as CompressionGuidelineOptimizerSourceWindow, C as CompressionGuidelineOptimizerState, bl as ConfidenceTier, bm as ConsolidationAction, bn as ConsolidationItem, aN as ConsolidationObservation, ag as ConsolidationResult, s as ContinuityImprovementLoop, r as ContinuityIncidentCloseInput, p as ContinuityIncidentOpenInput, q as ContinuityIncidentRecord, bo as ContinuityIncidentState, bp as ContinuityLoopCadence, u as ContinuityLoopReviewInput, bq as ContinuityLoopStatus, t as ContinuityLoopUpsertInput, br as ContradictionScanConfig, au as ConversationThread, bs as CronConversationRecallMode, bt as CronRecallMode, aW as DEFAULT_RECALL_DISCLOSURE, ah as DaySummaryResult, bu as DreamingConfig, bv as DreamingNarrativePromptStyle, bw as DreamsDeepSleepConfig, bx as DreamsLightSleepConfig, ay as DreamsPhase, by as DreamsPhaseStatus, bz as DreamsPhasesConfig, bA as DreamsRemConfig, az as DreamsRunResult, ax as DreamsStatusResult, bB as EngramTraceEvent, w as EntityActivityEntry, x as EntityFile, ac as EntityMention, v as EntityRelationship, ad as EntitySchemaDefinition, ae as EntitySchemaSectionDefinition, E as EntityStructuredSection, aO as EntityTimelineEntry, aX as ExtractedFact, bC as ExtractedProcedureStep, bD as ExtractedQuestion, bE as ExtractedReasoningTrace, bF as ExtractedReasoningTraceStep, bG as ExtractedRelationship, bH as ExtractionPassSource, af as ExtractionResult, F as FileHygieneConfig, G as GatewayConfig, bI as GitHubLiveConnectorConfig, bJ as GmailLiveConnectorConfig, bK as GoogleDriveLiveConnectorConfig, bL as HeartbeatConfig, bM as HeartbeatDetectionMode, a0 as HourlySummary, J as IdentityInjectionMode, a5 as ImportanceLevel, I as ImportanceScore, a2 as LifecycleState, L as LiveConnectorsConfig, bN as LlmTraceCallback, bO as LlmTraceEvent, ak as MemoryActionEligibilityContext, aY as MemoryActionEligibilitySource, m as MemoryActionEvent, bP as MemoryActionOutcome, bQ as MemoryActionPolicyDecision, al as MemoryActionPolicyResult, bR as MemoryActionStatus, ab as MemoryActionType, M as MemoryCategory, g as MemoryFile, j as MemoryFrontmatter, ai as MemoryIntent, n as MemoryLifecycleEvent, am as MemoryLifecycleEventType, an as MemoryLifecycleStateSummary, i as MemoryLink, bS as MemoryLinkType, aZ as MemoryObservation, bT as MemoryOsPresetName, z as MemoryProjectionCurrentState, a_ as MemoryScope, h as MemoryStatus, D as MemorySummary, l as MetaState, bU as ModelApi, bV as ModelDefinitionConfig, bW as ModelProviderAuthMode, ao as ModelProviderConfig, bX as NamespacePolicy, ap as NativeKnowledgeConfig, bY as NativeKnowledgeFolderRuleConfig, bZ as NativeKnowledgeObsidianVaultConfig, b_ as NativeKnowledgeOpenClawWorkspaceConfig, b$ as NotionLiveConnectorConfig, P as PluginConfig, a4 as PolicyClass, c0 as PrincipalFromSessionKeyMode, c1 as PrincipalRule, c2 as ProceduralConfig, aq as ProvenanceConfig, ar as ProvenanceSource, aj as QmdSearchExplain, Q as QmdSearchResult, c3 as QuestionEntry, a$ as RECALL_DISCLOSURE_LEVELS, c4 as ReasoningEffort, K as RecallDisclosure, c5 as RecallPipelineConfig, H as RecallPlanMode, c6 as RecallSectionConfig, R as RecallTierExplain, c7 as RecallTraceEvent, c8 as RelevanceFeedback, as as RetrievalTier, c9 as SPECULATIVE_TTL_DAYS, ca as ScopeProfileAutoPromoteConfig, cb as ScopeProfileConfig, av as ScopeProfileLayerId, aw as ScopeProfilePromotionTarget, cc as ScopeProfileTeamProjectConfig, cd as ScopeTeamConfig, ce as ScoredEntity, a6 as SecretRef, cf as SemanticChunkingConfigShape, a1 as SessionObserverBandConfig, cg as SignalLevel, at as SignalScanResult, ch as SlotBehaviorConfig, ci as SlotMismatchMode, T as TopicScore, _ as TranscriptEntry, cj as TriggerMode, a3 as VerificationState, ck as confidenceTier, b5 as isRecallDisclosure } from './types-Dm5xxVrr.js';
|
package/dist/types.js
CHANGED
package/dist/verified-recall.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XEA4Z7JU.js";
|
|
5
5
|
import "./chunk-HQ6NIBL6.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-53FDU4CE.js";
|
|
7
7
|
import "./chunk-M7XQSUBB.js";
|
|
8
8
|
import "./chunk-5UZXUTVO.js";
|
|
9
9
|
import "./chunk-5GPPACXK.js";
|
|
10
10
|
import "./chunk-J6A3CX5N.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-NGFEWFNK.js";
|
|
12
12
|
import "./chunk-MB5RSUW6.js";
|
|
13
13
|
import "./chunk-6KYMPV2O.js";
|
|
14
14
|
import "./chunk-AWJ2FHCF.js";
|
|
@@ -24,7 +24,9 @@ import "./chunk-J2HSAU72.js";
|
|
|
24
24
|
import "./chunk-A6XUJE5D.js";
|
|
25
25
|
import "./chunk-P7FMDTKL.js";
|
|
26
26
|
import "./chunk-VS2IYZRU.js";
|
|
27
|
+
import "./chunk-ZPQVJEVQ.js";
|
|
27
28
|
import "./chunk-4DJQYKMN.js";
|
|
29
|
+
import "./chunk-JUC24CTX.js";
|
|
28
30
|
import "./chunk-2ODBA7MQ.js";
|
|
29
31
|
import "./chunk-ZBJMUXZH.js";
|
|
30
32
|
import "./chunk-PZ5AY32C.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.684",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -2931,7 +2931,7 @@
|
|
|
2931
2931
|
"core"
|
|
2932
2932
|
],
|
|
2933
2933
|
"peerDependencies": {
|
|
2934
|
-
"@remnic/coding-graph": "^9.3.
|
|
2934
|
+
"@remnic/coding-graph": "^9.3.684"
|
|
2935
2935
|
},
|
|
2936
2936
|
"peerDependenciesMeta": {
|
|
2937
2937
|
"@remnic/coding-graph": {
|
package/src/config.test.ts
CHANGED
|
@@ -1920,3 +1920,115 @@ test("parseConfig schema-default-detection round-4 contract (round 8: runtimeSet
|
|
|
1920
1920
|
);
|
|
1921
1921
|
});
|
|
1922
1922
|
});
|
|
1923
|
+
|
|
1924
|
+
// ---------------------------------------------------------------------------
|
|
1925
|
+
// Issue #1575 PR 1 — provenance config block: defaults + coercion.
|
|
1926
|
+
//
|
|
1927
|
+
// The characterization test pins the documented defaults table from the issue
|
|
1928
|
+
// so a future edit to the parsing defaults is caught here rather than in a
|
|
1929
|
+
// downstream extraction test. Env-var reads are isolated so the REMNIC_/
|
|
1930
|
+
// ENGRAM_ override path is exercised deterministically.
|
|
1931
|
+
// ---------------------------------------------------------------------------
|
|
1932
|
+
|
|
1933
|
+
test("parseConfig provenance defaults deep-equal the documented table (issue #1575)", () => {
|
|
1934
|
+
const prevEnabled = process.env.REMNIC_PROVENANCE_ENABLED;
|
|
1935
|
+
const prevEngram = process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
1936
|
+
delete process.env.REMNIC_PROVENANCE_ENABLED;
|
|
1937
|
+
delete process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
1938
|
+
try {
|
|
1939
|
+
const result = parseConfig({ openaiApiKey: "sk-test" });
|
|
1940
|
+
assert.deepEqual(result.provenance, {
|
|
1941
|
+
enabled: true,
|
|
1942
|
+
maxQuoteChars: 300,
|
|
1943
|
+
requireSpans: false,
|
|
1944
|
+
});
|
|
1945
|
+
} finally {
|
|
1946
|
+
if (prevEnabled !== undefined) process.env.REMNIC_PROVENANCE_ENABLED = prevEnabled;
|
|
1947
|
+
if (prevEngram !== undefined) process.env.ENGRAM_PROVENANCE_ENABLED = prevEngram;
|
|
1948
|
+
}
|
|
1949
|
+
});
|
|
1950
|
+
|
|
1951
|
+
test("parseConfig provenance.enabled coerces boolean-like strings and rejects garbage (issue #1575)", () => {
|
|
1952
|
+
for (const v of [true, "true", "1", "yes", "on"] as const) {
|
|
1953
|
+
const result = parseConfig({ provenance: { enabled: v } });
|
|
1954
|
+
assert.equal(result.provenance.enabled, true, `enabled ${JSON.stringify(v)} -> true`);
|
|
1955
|
+
}
|
|
1956
|
+
for (const v of [false, "false", "0", "no", "off"] as const) {
|
|
1957
|
+
const result = parseConfig({ provenance: { enabled: v } });
|
|
1958
|
+
assert.equal(result.provenance.enabled, false, `enabled ${JSON.stringify(v)} -> false`);
|
|
1959
|
+
}
|
|
1960
|
+
assert.throws(
|
|
1961
|
+
() => parseConfig({ provenance: { enabled: "definitely" } }),
|
|
1962
|
+
/provenance\.enabled/,
|
|
1963
|
+
);
|
|
1964
|
+
});
|
|
1965
|
+
|
|
1966
|
+
test("parseConfig provenance.maxQuoteChars rejects present-but-invalid (issue #1575)", () => {
|
|
1967
|
+
assert.equal(parseConfig({ provenance: { maxQuoteChars: 500 } }).provenance.maxQuoteChars, 500);
|
|
1968
|
+
// String coercion (CLI --config style).
|
|
1969
|
+
assert.equal(parseConfig({ provenance: { maxQuoteChars: "150" } }).provenance.maxQuoteChars, 150);
|
|
1970
|
+
// Omitted key uses the documented default.
|
|
1971
|
+
assert.equal(parseConfig({}).provenance.maxQuoteChars, 300);
|
|
1972
|
+
// Present-but-invalid values are rejected loudly (review thread 3 / AGENTS.md input-validation).
|
|
1973
|
+
for (const v of [0, -5, "garbage", 3.7, Infinity, null] as unknown[]) {
|
|
1974
|
+
assert.throws(
|
|
1975
|
+
() => parseConfig({ provenance: { maxQuoteChars: v } }),
|
|
1976
|
+
/provenance\.maxQuoteChars must be a positive integer/,
|
|
1977
|
+
);
|
|
1978
|
+
}
|
|
1979
|
+
});
|
|
1980
|
+
|
|
1981
|
+
test("parseConfig provenance.requireSpans defaults false and coerces (issue #1575)", () => {
|
|
1982
|
+
assert.equal(parseConfig({}).provenance.requireSpans, false);
|
|
1983
|
+
assert.equal(parseConfig({ provenance: { requireSpans: true } }).provenance.requireSpans, true);
|
|
1984
|
+
assert.equal(parseConfig({ provenance: { requireSpans: "true" } }).provenance.requireSpans, true);
|
|
1985
|
+
assert.equal(parseConfig({ provenance: { requireSpans: "no" } }).provenance.requireSpans, false);
|
|
1986
|
+
// Present-but-invalid values are rejected loudly (review thread 2 / AGENTS.md input-validation).
|
|
1987
|
+
assert.throws(
|
|
1988
|
+
() => parseConfig({ provenance: { requireSpans: "treu" } }),
|
|
1989
|
+
/provenance\.requireSpans must be a boolean/,
|
|
1990
|
+
);
|
|
1991
|
+
});
|
|
1992
|
+
|
|
1993
|
+
test("parseConfig provenance non-object shape rejects loudly (issue #1575)", () => {
|
|
1994
|
+
for (const v of [false, null, "true", 0, []] as unknown[]) {
|
|
1995
|
+
assert.throws(
|
|
1996
|
+
() => parseConfig({ provenance: v } as Record<string, unknown>),
|
|
1997
|
+
/provenance must be an object/,
|
|
1998
|
+
);
|
|
1999
|
+
}
|
|
2000
|
+
});
|
|
2001
|
+
|
|
2002
|
+
test("parseConfig provenance.enabled honors REMNIC_/ENGRAM_ env fallback (issue #1575)", () => {
|
|
2003
|
+
const prevR = process.env.REMNIC_PROVENANCE_ENABLED;
|
|
2004
|
+
const prevE = process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
2005
|
+
delete process.env.REMNIC_PROVENANCE_ENABLED;
|
|
2006
|
+
delete process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
2007
|
+
try {
|
|
2008
|
+
process.env.ENGRAM_PROVENANCE_ENABLED = "off";
|
|
2009
|
+
assert.equal(parseConfig({}).provenance.enabled, false, "ENGRAM_ fallback flips to false");
|
|
2010
|
+
delete process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
2011
|
+
process.env.REMNIC_PROVENANCE_ENABLED = "yes";
|
|
2012
|
+
assert.equal(parseConfig({}).provenance.enabled, true, "REMNIC_ takes precedence");
|
|
2013
|
+
process.env.ENGRAM_PROVENANCE_ENABLED = "off";
|
|
2014
|
+
assert.equal(
|
|
2015
|
+
parseConfig({}).provenance.enabled,
|
|
2016
|
+
true,
|
|
2017
|
+
"REMNIC_ wins over ENGRAM_ when both set",
|
|
2018
|
+
);
|
|
2019
|
+
delete process.env.REMNIC_PROVENANCE_ENABLED;
|
|
2020
|
+
delete process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
2021
|
+
// Explicit config wins over env.
|
|
2022
|
+
process.env.REMNIC_PROVENANCE_ENABLED = "off";
|
|
2023
|
+
assert.equal(
|
|
2024
|
+
parseConfig({ provenance: { enabled: true } }).provenance.enabled,
|
|
2025
|
+
true,
|
|
2026
|
+
"explicit config beats env",
|
|
2027
|
+
);
|
|
2028
|
+
} finally {
|
|
2029
|
+
if (prevR !== undefined) process.env.REMNIC_PROVENANCE_ENABLED = prevR;
|
|
2030
|
+
else delete process.env.REMNIC_PROVENANCE_ENABLED;
|
|
2031
|
+
if (prevE !== undefined) process.env.ENGRAM_PROVENANCE_ENABLED = prevE;
|
|
2032
|
+
else delete process.env.ENGRAM_PROVENANCE_ENABLED;
|
|
2033
|
+
}
|
|
2034
|
+
});
|
package/src/config.ts
CHANGED
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
resolveNamespaceCatalogEnabled,
|
|
46
46
|
} from "./emit-legacy-tools.js";
|
|
47
47
|
import { parseWearablesConfig } from "./wearables/config.js";
|
|
48
|
+
import { parseProvenanceConfig } from "./provenance.js";
|
|
48
49
|
import { parseCodingKnowledgeConfig } from "./coding/coding-knowledge-config.js";
|
|
49
50
|
const DEFAULT_MEMORY_DIR = path.join(
|
|
50
51
|
resolveHomeDir(),
|
|
@@ -1471,18 +1472,16 @@ export function parseConfig(
|
|
|
1471
1472
|
recallMaxProcedures,
|
|
1472
1473
|
};
|
|
1473
1474
|
|
|
1474
|
-
// Wearable transcript ingestion (Limitless / Bee / Omi)
|
|
1475
|
-
// delegated to the wearables module; it follows the same loud-reject
|
|
1476
|
-
// conventions as the `procedural` block above.
|
|
1475
|
+
// Wearable transcript ingestion (Limitless / Bee / Omi) — delegated to the wearables module.
|
|
1477
1476
|
const wearables = parseWearablesConfig(cfg.wearables);
|
|
1478
1477
|
|
|
1478
|
+
const provenance = parseProvenanceConfig(cfg.provenance);
|
|
1479
1479
|
// Coding-agent project/branch scoping (issue #569)
|
|
1480
1480
|
const rawCodingMode =
|
|
1481
1481
|
cfg.codingMode && typeof cfg.codingMode === "object" && !Array.isArray(cfg.codingMode)
|
|
1482
1482
|
? (cfg.codingMode as Record<string, unknown>)
|
|
1483
1483
|
: {};
|
|
1484
|
-
// Default: projectScope=true
|
|
1485
|
-
// `coerceBool` treats "false"/"0"/"no"/"off" as false (CLAUDE.md #36).
|
|
1484
|
+
// Default: projectScope=true, branchScope=false (opt-in; CLAUDE.md #36).
|
|
1486
1485
|
const codingProjectScopeRaw = coerceBool(rawCodingMode.projectScope);
|
|
1487
1486
|
const codingBranchScopeRaw = coerceBool(rawCodingMode.branchScope);
|
|
1488
1487
|
const codingGlobalFallbackRaw = coerceBool(rawCodingMode.globalFallback);
|
|
@@ -2431,6 +2430,7 @@ export function parseConfig(
|
|
|
2431
2430
|
dreamsPhases,
|
|
2432
2431
|
procedural,
|
|
2433
2432
|
wearables,
|
|
2433
|
+
provenance,
|
|
2434
2434
|
// At-rest encryption (issue #690 PR 3/4)
|
|
2435
2435
|
// coerceBool handles CLI string inputs: `--config secureStoreEnabled=true`
|
|
2436
2436
|
// arrives as the string "true" which `=== true` would reject (CLAUDE.md #36).
|