@remnic/core 9.3.736 → 9.3.738
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 +17 -6
- package/dist/access-boundary.js +10 -10
- package/dist/access-cli.js +26 -26
- package/dist/access-http.d.ts +17 -6
- package/dist/access-http.js +15 -15
- package/dist/access-mcp.d.ts +17 -6
- package/dist/access-mcp.js +14 -14
- package/dist/access-operations-batch.js +12 -12
- package/dist/access-operations.d.ts +17 -6
- package/dist/access-operations.js +13 -13
- package/dist/{access-service-CdC0q4pr.d.ts → access-service-DwQ6BIQw.d.ts} +3 -3
- package/dist/access-service.d.ts +16 -5
- package/dist/access-service.js +9 -9
- package/dist/access-surface-catalog.d.ts +17 -6
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-memory-bridge.js +3 -3
- package/dist/active-recall.d.ts +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +16 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/buffer.js +2 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +99 -2
- package/dist/capabilities.js +7 -1
- package/dist/{catalog-D2NLDg4S.d.ts → catalog-_Bap6vfD.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-G54IDCD3.js → chunk-23PLOBWT.js} +30 -27
- package/dist/chunk-23PLOBWT.js.map +1 -0
- package/dist/{chunk-K3Y2SJTN.js → chunk-56LP72AD.js} +6 -6
- package/dist/{chunk-ZBZ4XULO.js → chunk-66RZ4EIT.js} +3 -3
- package/dist/{chunk-IPI45Q4S.js → chunk-75PDC7VT.js} +9 -8
- package/dist/chunk-75PDC7VT.js.map +1 -0
- package/dist/{chunk-GB2FZOWB.js → chunk-7B7IPPN5.js} +5 -5
- package/dist/{chunk-QNTLWH3T.js → chunk-A7INTIC5.js} +3 -3
- package/dist/{chunk-FLPKEMSO.js → chunk-AKKFHN3I.js} +2 -2
- package/dist/{chunk-AAIHDIMD.js → chunk-BHJAMSVC.js} +7 -7
- package/dist/{chunk-BXPG5AVX.js → chunk-BHQQVUEQ.js} +6 -6
- package/dist/{chunk-HFXZIF3V.js → chunk-BVG2IZOB.js} +3 -3
- package/dist/{chunk-NDKW67ER.js → chunk-C53JDEH3.js} +4 -4
- package/dist/{chunk-AESC5OQJ.js → chunk-CKHPUOAP.js} +2 -2
- package/dist/{chunk-OYHYBHHI.js → chunk-DS3FZ7GS.js} +4 -4
- package/dist/{chunk-AE2HPUP7.js → chunk-EKQ3LWBM.js} +428 -370
- package/dist/chunk-EKQ3LWBM.js.map +1 -0
- package/dist/{chunk-UO6MPN77.js → chunk-EU543UDC.js} +10 -9
- package/dist/chunk-EU543UDC.js.map +1 -0
- package/dist/{chunk-E4LYJ7PY.js → chunk-IFCM6OLK.js} +6 -6
- package/dist/{chunk-5BOQNB2K.js → chunk-JQSP7YBJ.js} +3 -3
- package/dist/{chunk-2T2N7ISV.js → chunk-L3TYGUTH.js} +3 -3
- package/dist/{chunk-AB2E5DCN.js → chunk-MAU7DFCJ.js} +2 -2
- package/dist/{chunk-P6VLG7KE.js → chunk-N2O23WYA.js} +2 -2
- package/dist/{chunk-HYNHLBKA.js → chunk-OQQRWPFZ.js} +5 -2
- package/dist/chunk-OQQRWPFZ.js.map +1 -0
- package/dist/{chunk-IXGXALRV.js → chunk-QTJOORGN.js} +2 -2
- package/dist/{chunk-JWDE7OVJ.js → chunk-RJBW4EOU.js} +46 -2
- package/dist/{chunk-JWDE7OVJ.js.map → chunk-RJBW4EOU.js.map} +1 -1
- package/dist/{chunk-AE7NTZ75.js → chunk-TNLXCSXV.js} +3 -3
- package/dist/{chunk-NNJKEAP2.js → chunk-VRBBZH4U.js} +4 -4
- package/dist/{chunk-VOEVVIP3.js → chunk-W2FBVBQ4.js} +4 -4
- package/dist/{chunk-WNGXQMRI.js → chunk-WFNH4UDF.js} +5 -2
- package/dist/chunk-WFNH4UDF.js.map +1 -0
- package/dist/{chunk-CHJIWG2H.js → chunk-WVAEIKUY.js} +2 -2
- package/dist/{chunk-FF36YNKY.js → chunk-XIQAOGAA.js} +11 -10
- package/dist/chunk-XIQAOGAA.js.map +1 -0
- package/dist/{chunk-HLPYL6LC.js → chunk-Y5OOHER4.js} +14 -12
- package/dist/chunk-Y5OOHER4.js.map +1 -0
- package/dist/{chunk-GYICIICQ.js → chunk-YF2MMBKA.js} +9 -7
- package/dist/chunk-YF2MMBKA.js.map +1 -0
- package/dist/{chunk-IX4L7E5G.js → chunk-YXOXAQ5Y.js} +2 -2
- package/dist/{cli-BHy6Bo6u.d.ts → cli-BlEIWDQw.d.ts} +3 -3
- package/dist/cli.d.ts +9 -7
- package/dist/cli.js +21 -21
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +2 -2
- 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/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- 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/contradiction/index.js +2 -2
- package/dist/{contradiction-scan-2B4AE4TI.js → contradiction-scan-CWO3LIWV.js} +3 -3
- 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/embedding-fallback.js +2 -2
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +2 -2
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +16 -4
- package/dist/explicit-capture.js +2 -2
- package/dist/extraction-faithfulness.d.ts +1 -1
- 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/extraction.js +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-2RQYDIZ7.js → first-start-migration-5DXD3TF2.js} +2 -2
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +20 -18
- package/dist/index.js +32 -32
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- 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/local-llm.js +2 -2
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/mcp-memory-inspector-app.d.ts +17 -6
- 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 +2 -2
- package/dist/namespaces/migrate.js +6 -6
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/principal.js +2 -2
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +2 -2
- 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/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/compression-guideline-coordinator.js +2 -2
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +6 -6
- package/dist/{orchestrator-C-xp_rtZ.d.ts → orchestrator-CJZ21ZiB.d.ts} +78 -12
- package/dist/orchestrator.d.ts +16 -4
- package/dist/orchestrator.js +21 -21
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- 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-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-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- 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/embed-helper.js +2 -2
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -3
- 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-COdwU-me.d.ts → semantic-consolidation-DsIEiCka.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-rule-verifier.d.ts +1 -1
- 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/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- 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/{tier-stats-KPDIISG7.js → tier-stats-QID73BBB.js} +2 -2
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/types.d.ts +12 -12
- package/dist/trust-score-stage.d.ts +2 -2
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-w3Y232yi.d.ts → types-CglNn2V-.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-service.ts +7 -8
- package/src/buffer.ts +2 -1
- package/src/capabilities.test.ts +137 -0
- package/src/capabilities.ts +209 -0
- package/src/cli/creation-ledger-commands.ts +3 -3
- package/src/cli/research-status-commands.ts +4 -4
- package/src/cli.ts +9 -10
- package/src/compounding/engine.ts +7 -7
- package/src/correction/correction-access-wiring.ts +3 -2
- package/src/extraction.ts +8 -10
- package/src/operator-toolkit.ts +6 -7
- package/src/orchestration/entity-synthesis-coordinator.ts +2 -1
- package/src/orchestration/maintenance.ts +5 -7
- package/src/orchestration/recall-result-formatter.ts +438 -0
- package/src/orchestration/semantic-consolidation-coordinator.ts +2 -2
- package/src/orchestrator.ts +71 -355
- package/dist/chunk-AE2HPUP7.js.map +0 -1
- package/dist/chunk-FF36YNKY.js.map +0 -1
- package/dist/chunk-G54IDCD3.js.map +0 -1
- package/dist/chunk-GYICIICQ.js.map +0 -1
- package/dist/chunk-HLPYL6LC.js.map +0 -1
- package/dist/chunk-HYNHLBKA.js.map +0 -1
- package/dist/chunk-IPI45Q4S.js.map +0 -1
- package/dist/chunk-UO6MPN77.js.map +0 -1
- package/dist/chunk-WNGXQMRI.js.map +0 -1
- /package/dist/{chunk-K3Y2SJTN.js.map → chunk-56LP72AD.js.map} +0 -0
- /package/dist/{chunk-ZBZ4XULO.js.map → chunk-66RZ4EIT.js.map} +0 -0
- /package/dist/{chunk-GB2FZOWB.js.map → chunk-7B7IPPN5.js.map} +0 -0
- /package/dist/{chunk-QNTLWH3T.js.map → chunk-A7INTIC5.js.map} +0 -0
- /package/dist/{chunk-FLPKEMSO.js.map → chunk-AKKFHN3I.js.map} +0 -0
- /package/dist/{chunk-AAIHDIMD.js.map → chunk-BHJAMSVC.js.map} +0 -0
- /package/dist/{chunk-BXPG5AVX.js.map → chunk-BHQQVUEQ.js.map} +0 -0
- /package/dist/{chunk-HFXZIF3V.js.map → chunk-BVG2IZOB.js.map} +0 -0
- /package/dist/{chunk-NDKW67ER.js.map → chunk-C53JDEH3.js.map} +0 -0
- /package/dist/{chunk-AESC5OQJ.js.map → chunk-CKHPUOAP.js.map} +0 -0
- /package/dist/{chunk-OYHYBHHI.js.map → chunk-DS3FZ7GS.js.map} +0 -0
- /package/dist/{chunk-E4LYJ7PY.js.map → chunk-IFCM6OLK.js.map} +0 -0
- /package/dist/{chunk-5BOQNB2K.js.map → chunk-JQSP7YBJ.js.map} +0 -0
- /package/dist/{chunk-2T2N7ISV.js.map → chunk-L3TYGUTH.js.map} +0 -0
- /package/dist/{chunk-AB2E5DCN.js.map → chunk-MAU7DFCJ.js.map} +0 -0
- /package/dist/{chunk-P6VLG7KE.js.map → chunk-N2O23WYA.js.map} +0 -0
- /package/dist/{chunk-IXGXALRV.js.map → chunk-QTJOORGN.js.map} +0 -0
- /package/dist/{chunk-AE7NTZ75.js.map → chunk-TNLXCSXV.js.map} +0 -0
- /package/dist/{chunk-NNJKEAP2.js.map → chunk-VRBBZH4U.js.map} +0 -0
- /package/dist/{chunk-VOEVVIP3.js.map → chunk-W2FBVBQ4.js.map} +0 -0
- /package/dist/{chunk-CHJIWG2H.js.map → chunk-WVAEIKUY.js.map} +0 -0
- /package/dist/{chunk-IX4L7E5G.js.map → chunk-YXOXAQ5Y.js.map} +0 -0
- /package/dist/{contradiction-scan-2B4AE4TI.js.map → contradiction-scan-CWO3LIWV.js.map} +0 -0
- /package/dist/{first-start-migration-2RQYDIZ7.js.map → first-start-migration-5DXD3TF2.js.map} +0 -0
- /package/dist/{tier-stats-KPDIISG7.js.map → tier-stats-QID73BBB.js.map} +0 -0
package/dist/signal.d.ts
CHANGED
package/dist/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, f as MemoryStatus, M as MemoryCategory,
|
|
1
|
+
import { P as PluginConfig, f as MemoryStatus, M as MemoryCategory, ab as ImportanceScore, ap as MemoryLink, k as MemoryFrontmatter, F as FaithfulnessFrontmatter, J as ProvenanceSource, g as MemoryFile, a4 as EntityStructuredSection, aq as BufferState, ar as MetaState, $ as MemoryActionEvent, m as MemoryLifecycleEvent, O as BufferSurpriseEvent, B as BehaviorSignalEvent, a0 as CompressionGuidelineOptimizerState, a7 as ContinuityIncidentOpenInput, a5 as ContinuityIncidentRecord, a6 as ContinuityIncidentCloseInput, a8 as ContinuityImprovementLoop, aa as ContinuityLoopUpsertInput, a9 as ContinuityLoopReviewInput, as as FileHygieneConfig, at as EntityRelationship, au as EntityActivityEntry, E as EntityFile, av as AccessTrackingEntry, l as MemoryProjectionCurrentState, aw as MemorySummary, ao as TopicScore } from './types-CglNn2V-.js';
|
|
2
2
|
import { VersioningConfig } from './page-versioning.js';
|
|
3
3
|
import { ConsolidationOperator } from './consolidation-operator.js';
|
|
4
4
|
import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
|
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, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-CglNn2V-.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/summarizer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HourlySummarizer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BVG2IZOB.js";
|
|
4
4
|
import "./chunk-3FAMU5TX.js";
|
|
5
5
|
import "./chunk-PWFWCGOO.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-YXOXAQ5Y.js";
|
|
7
7
|
import "./chunk-S4DDLTPX.js";
|
|
8
8
|
import "./chunk-FF4KLI5W.js";
|
|
9
9
|
import "./chunk-O75CRYGF.js";
|
|
@@ -14,7 +14,7 @@ import "./chunk-L2EXJQJP.js";
|
|
|
14
14
|
import "./chunk-VL7DP3OW.js";
|
|
15
15
|
import "./chunk-RGMVMVMF.js";
|
|
16
16
|
import "./chunk-N7RWREIQ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RJBW4EOU.js";
|
|
18
18
|
import "./chunk-EYIEWJNI.js";
|
|
19
19
|
import "./chunk-JUC24CTX.js";
|
|
20
20
|
import "./chunk-NU3CSQ4H.js";
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
resolveQmdCapabilities,
|
|
16
16
|
resolveUtilityLearningCapabilities
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RJBW4EOU.js";
|
|
18
18
|
import "./chunk-A2IYSXDQ.js";
|
|
19
19
|
import "./chunk-LPSF4OQH.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -153,4 +153,4 @@ export {
|
|
|
153
153
|
formatTierSummaryText,
|
|
154
154
|
summarizeTiers
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=tier-stats-
|
|
156
|
+
//# sourceMappingURL=tier-stats-QID73BBB.js.map
|
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, v as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, v as Checkpoint } from './types-CglNn2V-.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.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
|
version: string;
|
|
325
325
|
description: 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
|
version: string;
|
|
346
346
|
description: 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
|
version: string;
|
|
476
476
|
description: 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
|
version: string;
|
|
497
497
|
description: 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
|
version: string;
|
|
530
530
|
description: 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
|
version: string;
|
|
563
563
|
description: 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
|
version: string;
|
|
695
695
|
description: 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
|
version: string;
|
|
716
716
|
description: 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
|
version: string;
|
|
749
749
|
description: 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
|
version: string;
|
|
782
782
|
description: 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
|
version: string;
|
|
827
827
|
description: 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
|
version: string;
|
|
866
866
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as FaithfulnessFrontmatter,
|
|
1
|
+
import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
+
import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-CglNn2V-.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
|
package/dist/trust-score.d.ts
CHANGED
|
@@ -3659,4 +3659,4 @@ interface HourlySummary {
|
|
|
3659
3659
|
generatedAt: string;
|
|
3660
3660
|
}
|
|
3661
3661
|
|
|
3662
|
-
export { type
|
|
3662
|
+
export { type MemoryActionEvent as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DaySummaryResult as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryCategory as M, type ImportanceLevel as N, type BufferSurpriseEvent as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallTierExplain as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type SecretRef as U, type VerificationState as V, type AgentAccessAuthToken as W, type CompressionGuidelineOptimizerEventCounts as X, type CompressionGuidelineOptimizerActionSummary as Y, type CompressionGuidelineOptimizerRuleUpdate as Z, type MemoryActionType as _, type ActiveRecallQueryMode as a, type MemoryActionEligibilitySource as a$, type CompressionGuidelineOptimizerState as a0, type EntityMention as a1, type EntitySchemaDefinition as a2, type EntitySchemaSectionDefinition as a3, type EntityStructuredSection as a4, type ContinuityIncidentRecord as a5, type ContinuityIncidentCloseInput as a6, type ContinuityIncidentOpenInput as a7, type ContinuityImprovementLoop as a8, type ContinuityLoopReviewInput as a9, type CodingContext as aA, type DreamsStatusResult as aB, type DreamsPhase as aC, type DreamsRunResult as aD, type WearableConversation as aE, type WearableSourceSettings as aF, type WearableNativeMemory as aG, type WearableMemoryMode as aH, type WearableSourceConnector as aI, type WearablesConfig as aJ, type WearableSyncSummary as aK, type WearableSourceStatus as aL, type WearableDayTranscript as aM, type WearableCorrectionRule as aN, type BootstrapOptions as aO, type BootstrapResult as aP, type ConsolidationObservation as aQ, type CodingModeConfig as aR, type CodingKnowledgeConfig as aS, type WearableCleanupSettings as aT, type WearableDayTranscriptMeta as aU, type BriefingConfig as aV, type BriefingOpenCommitment as aW, type BriefingWindow as aX, type CodexCompatConfig as aY, DEFAULT_RECALL_DISCLOSURE as aZ, type ExtractedFact as a_, type ContinuityLoopUpsertInput as aa, type ImportanceScore as ab, type MemoryIntent as ac, type QmdSearchExplain as ad, type MemoryActionEligibilityContext as ae, type MemoryActionPolicyResult as af, type MemoryLifecycleEventType as ag, type MemoryLifecycleStateSummary as ah, type ModelProviderConfig as ai, type NativeKnowledgeConfig as aj, type ProvenanceConfig as ak, type RetrievalTier as al, type SignalScanResult as am, type ConversationThread as an, type TopicScore as ao, type MemoryLink as ap, type BufferState as aq, type MetaState as ar, type FileHygieneConfig as as, type EntityRelationship as at, type EntityActivityEntry as au, type AccessTrackingEntry as av, type MemorySummary as aw, type ScopeProfileLayerId as ax, type ScopeProfilePromotionTarget as ay, type ScopeProfileConfig as az, type ActiveRecallPromptStyle as b, type NamespacePolicy as b$, type MemoryObservation as b0, type MemoryScope as b1, RECALL_DISCLOSURE_LEVELS as b2, type WearableAuthCheck as b3, type WearableFetchOptions as b4, type WearableFetchPage as b5, type WearableNativeMemoryPage as b6, type WearableTranscriptSegment as b7, isRecallDisclosure as b8, type AgentAccessHttpConfig as b9, type DreamsLightSleepConfig as bA, type DreamsPhaseStatus as bB, type DreamsPhasesConfig as bC, type DreamsRemConfig as bD, type EngramTraceEvent as bE, type EntityTimelineEntry as bF, type ExtractedProcedureStep as bG, type ExtractedQuestion as bH, type ExtractedReasoningTrace as bI, type ExtractedReasoningTraceStep as bJ, type ExtractedRelationship as bK, type ExtractionPassSource as bL, type GitHubLiveConnectorConfig as bM, type GmailLiveConnectorConfig as bN, type GoogleDriveLiveConnectorConfig as bO, type HeartbeatConfig as bP, type HeartbeatDetectionMode as bQ, type LlmTraceCallback as bR, type LlmTraceEvent as bS, type MemoryActionOutcome as bT, type MemoryActionPolicyDecision as bU, type MemoryActionStatus as bV, type MemoryLinkType as bW, type MemoryOsPresetName as bX, type ModelApi as bY, type ModelDefinitionConfig as bZ, type ModelProviderAuthMode as b_, type AgentDefaultsConfig as ba, type AgentPersona as bb, type BehaviorLoopAdjustment as bc, type BehaviorSignalDirection as bd, type BehaviorSignalType as be, type BriefingCalendarSourceError as bf, type BufferEntryState as bg, type CaptureMode as bh, type ChatConfig as bi, type CodexCliReasoningEffort as bj, type CodexCompactionFlushMode as bk, type CodexConnectorConfig as bl, type CompressionGuidelineActivationState as bm, type CompressionGuidelineOptimizerSourceWindow as bn, type ConfidenceTier as bo, type ConsolidationAction as bp, type ConsolidationItem as bq, type ContinuityIncidentState as br, type ContinuityLoopCadence as bs, type ContinuityLoopStatus as bt, type ContradictionScanConfig as bu, type CronConversationRecallMode as bv, type CronRecallMode as bw, type DreamingConfig as bx, type DreamingNarrativePromptStyle as by, type DreamsDeepSleepConfig as bz, type ActiveRecallThinking as c, type NativeKnowledgeFolderRuleConfig as c0, type NativeKnowledgeObsidianVaultConfig as c1, type NativeKnowledgeOpenClawWorkspaceConfig as c2, type NotionLiveConnectorConfig as c3, type PrincipalFromSessionKeyMode as c4, type PrincipalRule as c5, type ProceduralConfig as c6, type QuestionEntry as c7, type ReasoningEffort as c8, type RecallPipelineConfig as c9, type RecallSectionConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallModelFallbackPolicy as d, type BehaviorLoopPolicyState as e, type MemoryStatus as f, type MemoryFile as g, type RecallPlanMode as h, type RecallDisclosure as i, type AgentPersonaModelConfig as j, type MemoryFrontmatter as k, type MemoryProjectionCurrentState as l, type MemoryLifecycleEvent as m, type BriefingSections as n, type BriefingFollowup as o, type BriefingFocus as p, type CalendarEvent as q, type BriefingActiveThread as r, type BriefingResult as s, type BriefingRecentEntity as t, type BufferTurn as u, type Checkpoint as v, type LifecycleState as w, type PolicyClass as x, type ExtractionResult as y, type ConsolidationResult as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './types-gb_SNtjR.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
|
-
export { av as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking,
|
|
3
|
+
export { av as AccessTrackingEntry, A as ActiveRecallChatType, d as ActiveRecallModelFallbackPolicy, b as ActiveRecallPromptStyle, a as ActiveRecallQueryMode, c as ActiveRecallThinking, W as AgentAccessAuthToken, b9 as AgentAccessHttpConfig, ba as AgentDefaultsConfig, bb as AgentPersona, j as AgentPersonaModelConfig, bc as BehaviorLoopAdjustment, e as BehaviorLoopPolicyState, bd as BehaviorSignalDirection, B as BehaviorSignalEvent, be as BehaviorSignalType, aO as BootstrapOptions, aP as BootstrapResult, r as BriefingActiveThread, bf as BriefingCalendarSourceError, aV as BriefingConfig, p as BriefingFocus, o as BriefingFollowup, aW as BriefingOpenCommitment, t as BriefingRecentEntity, s as BriefingResult, n as BriefingSections, aX as BriefingWindow, bg as BufferEntryState, aq as BufferState, O as BufferSurpriseEvent, u as BufferTurn, q as CalendarEvent, C as CalendarSource, bh as CaptureMode, bi as ChatConfig, v as Checkpoint, bj as CodexCliReasoningEffort, bk as CodexCompactionFlushMode, aY as CodexCompatConfig, bl as CodexConnectorConfig, aA as CodingContext, aS as CodingKnowledgeConfig, aR as CodingModeConfig, bm as CompressionGuidelineActivationState, Y as CompressionGuidelineOptimizerActionSummary, X as CompressionGuidelineOptimizerEventCounts, Z as CompressionGuidelineOptimizerRuleUpdate, bn as CompressionGuidelineOptimizerSourceWindow, a0 as CompressionGuidelineOptimizerState, bo as ConfidenceTier, bp as ConsolidationAction, bq as ConsolidationItem, aQ as ConsolidationObservation, z as ConsolidationResult, a8 as ContinuityImprovementLoop, a6 as ContinuityIncidentCloseInput, a7 as ContinuityIncidentOpenInput, a5 as ContinuityIncidentRecord, br as ContinuityIncidentState, bs as ContinuityLoopCadence, a9 as ContinuityLoopReviewInput, bt as ContinuityLoopStatus, aa as ContinuityLoopUpsertInput, bu as ContradictionScanConfig, an as ConversationThread, bv as CronConversationRecallMode, bw as CronRecallMode, aZ as DEFAULT_RECALL_DISCLOSURE, D as DaySummaryResult, bx as DreamingConfig, by as DreamingNarrativePromptStyle, bz as DreamsDeepSleepConfig, bA as DreamsLightSleepConfig, aC as DreamsPhase, bB as DreamsPhaseStatus, bC as DreamsPhasesConfig, bD as DreamsRemConfig, aD as DreamsRunResult, aB as DreamsStatusResult, bE as EngramTraceEvent, au as EntityActivityEntry, E as EntityFile, a1 as EntityMention, at as EntityRelationship, a2 as EntitySchemaDefinition, a3 as EntitySchemaSectionDefinition, a4 as EntityStructuredSection, bF as EntityTimelineEntry, a_ as ExtractedFact, bG as ExtractedProcedureStep, bH as ExtractedQuestion, bI as ExtractedReasoningTrace, bJ as ExtractedReasoningTraceStep, bK as ExtractedRelationship, bL as ExtractionPassSource, y as ExtractionResult, F as FaithfulnessFrontmatter, as as FileHygieneConfig, G as GatewayConfig, bM as GitHubLiveConnectorConfig, bN as GmailLiveConnectorConfig, bO as GoogleDriveLiveConnectorConfig, bP as HeartbeatConfig, bQ as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, N as ImportanceLevel, ab as ImportanceScore, w as LifecycleState, L as LiveConnectorsConfig, bR as LlmTraceCallback, bS as LlmTraceEvent, ae as MemoryActionEligibilityContext, a$ as MemoryActionEligibilitySource, $ as MemoryActionEvent, bT as MemoryActionOutcome, bU as MemoryActionPolicyDecision, af as MemoryActionPolicyResult, bV as MemoryActionStatus, _ as MemoryActionType, M as MemoryCategory, g as MemoryFile, k as MemoryFrontmatter, ac as MemoryIntent, m as MemoryLifecycleEvent, ag as MemoryLifecycleEventType, ah as MemoryLifecycleStateSummary, ap as MemoryLink, bW as MemoryLinkType, b0 as MemoryObservation, bX as MemoryOsPresetName, l as MemoryProjectionCurrentState, b1 as MemoryScope, f as MemoryStatus, aw as MemorySummary, ar as MetaState, bY as ModelApi, bZ as ModelDefinitionConfig, b_ as ModelProviderAuthMode, ai as ModelProviderConfig, b$ as NamespacePolicy, aj as NativeKnowledgeConfig, c0 as NativeKnowledgeFolderRuleConfig, c1 as NativeKnowledgeObsidianVaultConfig, c2 as NativeKnowledgeOpenClawWorkspaceConfig, c3 as NotionLiveConnectorConfig, P as PluginConfig, x as PolicyClass, c4 as PrincipalFromSessionKeyMode, c5 as PrincipalRule, c6 as ProceduralConfig, ak as ProvenanceConfig, J as ProvenanceSource, ad as QmdSearchExplain, Q as QmdSearchResult, c7 as QuestionEntry, b2 as RECALL_DISCLOSURE_LEVELS, c8 as ReasoningEffort, i as RecallDisclosure, c9 as RecallPipelineConfig, h as RecallPlanMode, ca as RecallSectionConfig, R as RecallTierExplain, cb as RecallTraceEvent, cc as RelevanceFeedback, al as RetrievalTier, cd as SPECULATIVE_TTL_DAYS, ce as ScopeProfileAutoPromoteConfig, az as ScopeProfileConfig, ax as ScopeProfileLayerId, ay as ScopeProfilePromotionTarget, cf as ScopeProfileTeamProjectConfig, cg as ScopeTeamConfig, ch as ScoredEntity, U as SecretRef, ci as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cj as SignalLevel, am as SignalScanResult, ck as SlotBehaviorConfig, cl as SlotMismatchMode, ao as TopicScore, T as TranscriptEntry, cm as TriggerMode, K as TrustWeights, V as VerificationState, cn as confidenceTier, b8 as isRecallDisclosure } from './types-CglNn2V-.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.738",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"core"
|
|
3001
3001
|
],
|
|
3002
3002
|
"peerDependencies": {
|
|
3003
|
-
"@remnic/coding-graph": "^9.3.
|
|
3003
|
+
"@remnic/coding-graph": "^9.3.738"
|
|
3004
3004
|
},
|
|
3005
3005
|
"peerDependenciesMeta": {
|
|
3006
3006
|
"@remnic/coding-graph": {
|
package/src/access-service.ts
CHANGED
|
@@ -5,12 +5,11 @@ import { readdirSync, unlinkSync } from "node:fs";
|
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { ZodError } from "zod";
|
|
7
7
|
import { AccessIdempotencyStore, hashAccessIdempotencyPayload } from "./access-idempotency.js";
|
|
8
|
-
import {
|
|
9
|
-
resolveNamespaceCapabilities,
|
|
8
|
+
import { resolveNamespaceCapabilities,
|
|
10
9
|
resolveMemoryLifecycleCapabilities,
|
|
11
10
|
resolveQmdCapabilities,
|
|
12
11
|
resolveIdentityContinuityCapabilities,
|
|
13
|
-
resolveSecurityCapabilities, resolveObjectiveStateCapabilities, resolveCompressionCapabilities} from "./capabilities.js";
|
|
12
|
+
resolveSecurityCapabilities, resolveObjectiveStateCapabilities, resolveCompressionCapabilities, resolveConsolidationCapabilities, resolveRecallAuxiliaryCapabilities } from "./capabilities.js";
|
|
14
13
|
import { AccessAuditAdapter, type AccessAuditConfig, type AccessAuditResult } from "./access-audit.js";
|
|
15
14
|
import type { AnomalyDetectorResult } from "./recall-audit-anomaly.js";
|
|
16
15
|
import { resolveGitContext } from "./coding/git-context.js";
|
|
@@ -2984,7 +2983,7 @@ export class EngramAccessService {
|
|
|
2984
2983
|
async daySummary(
|
|
2985
2984
|
request: EngramAccessDaySummaryRequest,
|
|
2986
2985
|
): Promise<import("./types.js").DaySummaryResult | null> {
|
|
2987
|
-
if (!this.orchestrator.config.
|
|
2986
|
+
if (!resolveRecallAuxiliaryCapabilities(this.orchestrator.config).daySummary) {
|
|
2988
2987
|
throw new EngramAccessInputError("day summary is disabled");
|
|
2989
2988
|
}
|
|
2990
2989
|
|
|
@@ -6832,7 +6831,7 @@ export class EngramAccessService {
|
|
|
6832
6831
|
if (!resolveIdentityContinuityCapabilities(this.orchestrator.config).identityContinuity) {
|
|
6833
6832
|
return { enabled: false, reason: "Identity continuity is disabled. Enable `identityContinuityEnabled: true`." };
|
|
6834
6833
|
}
|
|
6835
|
-
if (!this.orchestrator.config.
|
|
6834
|
+
if (!resolveConsolidationCapabilities(this.orchestrator.config).continuityAudit) {
|
|
6836
6835
|
return { enabled: false, reason: "Continuity audits are disabled. Enable `continuityAuditEnabled: true`." };
|
|
6837
6836
|
}
|
|
6838
6837
|
if (!this.orchestrator.compounding) {
|
|
@@ -6854,7 +6853,7 @@ export class EngramAccessService {
|
|
|
6854
6853
|
if (!resolveIdentityContinuityCapabilities(this.orchestrator.config).identityContinuity) {
|
|
6855
6854
|
return { enabled: false, reason: "Identity continuity is disabled. Enable `identityContinuityEnabled: true`." };
|
|
6856
6855
|
}
|
|
6857
|
-
if (!this.orchestrator.config.
|
|
6856
|
+
if (!resolveRecallAuxiliaryCapabilities(this.orchestrator.config).continuityIncidentLogging) {
|
|
6858
6857
|
return { enabled: false, reason: "Continuity incident logging is disabled. Enable `continuityIncidentLoggingEnabled: true`." };
|
|
6859
6858
|
}
|
|
6860
6859
|
const symptom = request.symptom?.trim();
|
|
@@ -6880,7 +6879,7 @@ export class EngramAccessService {
|
|
|
6880
6879
|
if (!resolveIdentityContinuityCapabilities(this.orchestrator.config).identityContinuity) {
|
|
6881
6880
|
return { enabled: false, reason: "Identity continuity is disabled." };
|
|
6882
6881
|
}
|
|
6883
|
-
if (!this.orchestrator.config.
|
|
6882
|
+
if (!resolveRecallAuxiliaryCapabilities(this.orchestrator.config).continuityIncidentLogging) {
|
|
6884
6883
|
return { enabled: false, reason: "Continuity incident logging is disabled." };
|
|
6885
6884
|
}
|
|
6886
6885
|
const id = request.id?.trim();
|
|
@@ -8234,7 +8233,7 @@ export class EngramAccessService {
|
|
|
8234
8233
|
const root = explicitRoot ?? storage.dir;
|
|
8235
8234
|
const memoryDir = explicitMemoryDir ?? this.orchestrator.config.memoryDir;
|
|
8236
8235
|
const versioning = importOptions.versioning ?? {
|
|
8237
|
-
enabled: this.orchestrator.config.
|
|
8236
|
+
enabled: resolveRecallAuxiliaryCapabilities(this.orchestrator.config).versioning,
|
|
8238
8237
|
maxVersionsPerPage: this.orchestrator.config.versioningMaxPerPage,
|
|
8239
8238
|
sidecarDir: this.orchestrator.config.versioningSidecarDir,
|
|
8240
8239
|
};
|
package/src/buffer.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type {
|
|
|
9
9
|
PluginConfig,
|
|
10
10
|
SignalLevel,
|
|
11
11
|
} from "./types.js";
|
|
12
|
+
import { resolvePresentationCapabilities } from "./capabilities.js";
|
|
12
13
|
|
|
13
14
|
export type TriggerDecision = "extract_now" | "extract_batch" | "keep_buffering";
|
|
14
15
|
|
|
@@ -286,7 +287,7 @@ export class SmartBuffer {
|
|
|
286
287
|
// *reduce* extraction frequency.
|
|
287
288
|
if (
|
|
288
289
|
decision === "keep_buffering" &&
|
|
289
|
-
this.config.
|
|
290
|
+
resolvePresentationCapabilities(this.config).bufferSurpriseTrigger &&
|
|
290
291
|
this.surpriseProbe !== null &&
|
|
291
292
|
// Matching the existing "smart" branch: surprise is a lower-tier
|
|
292
293
|
// novelty signal that should not second-guess a high-signal hit
|
package/src/capabilities.test.ts
CHANGED
|
@@ -14,6 +14,9 @@ import {
|
|
|
14
14
|
resolveUtilityLearningCapabilities,
|
|
15
15
|
resolveObjectiveStateCapabilities,
|
|
16
16
|
resolveCompressionCapabilities,
|
|
17
|
+
resolvePresentationCapabilities,
|
|
18
|
+
resolveConsolidationCapabilities,
|
|
19
|
+
resolveRecallAuxiliaryCapabilities,
|
|
17
20
|
type CapabilitySet,
|
|
18
21
|
type AccessSetupCapabilitySet,
|
|
19
22
|
type NamespaceCapabilitySet,
|
|
@@ -25,6 +28,9 @@ import {
|
|
|
25
28
|
type UtilityLearningCapabilitySet,
|
|
26
29
|
type ObjectiveStateCapabilitySet,
|
|
27
30
|
type CompressionCapabilitySet,
|
|
31
|
+
type PresentationCapabilitySet,
|
|
32
|
+
type ConsolidationCapabilitySet,
|
|
33
|
+
type RecallAuxiliaryCapabilitySet,
|
|
28
34
|
} from "./capabilities.js";
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -1021,3 +1027,134 @@ test("resolveCompressionCapabilities returns a frozen object", () => {
|
|
|
1021
1027
|
const caps = resolveCompressionCapabilities(parseConfig({}));
|
|
1022
1028
|
assert.equal(Object.isFrozen(caps), true, "CompressionCapabilitySet must be frozen");
|
|
1023
1029
|
});
|
|
1030
|
+
|
|
1031
|
+
// ---------------------------------------------------------------------------
|
|
1032
|
+
// PresentationCapabilitySet — gate-parity tests (issue #1523 batch 8).
|
|
1033
|
+
// ---------------------------------------------------------------------------
|
|
1034
|
+
|
|
1035
|
+
const PRESENTATION_FIELD_TO_FLAG: Record<keyof PresentationCapabilitySet, string> = {
|
|
1036
|
+
verbatimArtifacts: "verbatimArtifactsEnabled",
|
|
1037
|
+
memoryBoxes: "memoryBoxesEnabled",
|
|
1038
|
+
bufferSurpriseTrigger: "bufferSurpriseTriggerEnabled",
|
|
1039
|
+
threading: "threadingEnabled",
|
|
1040
|
+
episodeNoteMode: "episodeNoteModeEnabled",
|
|
1041
|
+
transcript: "transcriptEnabled",
|
|
1042
|
+
entitySummary: "entitySummaryEnabled",
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
const PRESENTATION_FIELDS = Object.keys(PRESENTATION_FIELD_TO_FLAG) as Array<keyof PresentationCapabilitySet>;
|
|
1046
|
+
|
|
1047
|
+
test("resolvePresentationCapabilities projects every field from its flag (true variant)", () => {
|
|
1048
|
+
const overrides: Record<string, boolean> = {};
|
|
1049
|
+
for (const flag of Object.values(PRESENTATION_FIELD_TO_FLAG)) overrides[flag] = true;
|
|
1050
|
+
const config = parseConfig(overrides);
|
|
1051
|
+
const caps = resolvePresentationCapabilities(config);
|
|
1052
|
+
for (const field of PRESENTATION_FIELDS) {
|
|
1053
|
+
assert.equal(caps[field], true, `${field} must be true`);
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
|
|
1057
|
+
test("resolvePresentationCapabilities projects every field from its flag (false variant)", () => {
|
|
1058
|
+
const overrides: Record<string, boolean> = {};
|
|
1059
|
+
for (const flag of Object.values(PRESENTATION_FIELD_TO_FLAG)) overrides[flag] = false;
|
|
1060
|
+
const config = parseConfig(overrides);
|
|
1061
|
+
const caps = resolvePresentationCapabilities(config);
|
|
1062
|
+
for (const field of PRESENTATION_FIELDS) {
|
|
1063
|
+
assert.equal(caps[field], false, `${field} must be false`);
|
|
1064
|
+
}
|
|
1065
|
+
});
|
|
1066
|
+
|
|
1067
|
+
test("resolvePresentationCapabilities returns a frozen object", () => {
|
|
1068
|
+
const caps = resolvePresentationCapabilities(parseConfig({}));
|
|
1069
|
+
assert.equal(Object.isFrozen(caps), true, "PresentationCapabilitySet must be frozen");
|
|
1070
|
+
});
|
|
1071
|
+
|
|
1072
|
+
// ---------------------------------------------------------------------------
|
|
1073
|
+
// ConsolidationCapabilitySet — gate-parity tests (issue #1523 batch 8).
|
|
1074
|
+
// ---------------------------------------------------------------------------
|
|
1075
|
+
|
|
1076
|
+
const CONSOLIDATION_FIELD_TO_FLAG: Record<keyof ConsolidationCapabilitySet, string> = {
|
|
1077
|
+
compoundingSemantic: "compoundingSemanticEnabled",
|
|
1078
|
+
abstractionAnchors: "abstractionAnchorsEnabled",
|
|
1079
|
+
compounding: "compoundingEnabled",
|
|
1080
|
+
calibration: "calibrationEnabled",
|
|
1081
|
+
semanticConsolidation: "semanticConsolidationEnabled",
|
|
1082
|
+
patternReinforcement: "patternReinforcementEnabled",
|
|
1083
|
+
continuityAudit: "continuityAuditEnabled",
|
|
1084
|
+
graphEdgeDecay: "graphEdgeDecayEnabled",
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
const CONSOLIDATION_FIELDS = Object.keys(CONSOLIDATION_FIELD_TO_FLAG) as Array<keyof ConsolidationCapabilitySet>;
|
|
1088
|
+
|
|
1089
|
+
test("resolveConsolidationCapabilities projects every field from its flag (true variant)", () => {
|
|
1090
|
+
const overrides: Record<string, boolean> = {};
|
|
1091
|
+
for (const flag of Object.values(CONSOLIDATION_FIELD_TO_FLAG)) overrides[flag] = true;
|
|
1092
|
+
const config = parseConfig(overrides);
|
|
1093
|
+
const caps = resolveConsolidationCapabilities(config);
|
|
1094
|
+
for (const field of CONSOLIDATION_FIELDS) {
|
|
1095
|
+
assert.equal(caps[field], true, `${field} must be true`);
|
|
1096
|
+
}
|
|
1097
|
+
});
|
|
1098
|
+
|
|
1099
|
+
test("resolveConsolidationCapabilities projects every field from its flag (false variant)", () => {
|
|
1100
|
+
const overrides: Record<string, boolean> = {};
|
|
1101
|
+
for (const flag of Object.values(CONSOLIDATION_FIELD_TO_FLAG)) overrides[flag] = false;
|
|
1102
|
+
const config = parseConfig(overrides);
|
|
1103
|
+
const caps = resolveConsolidationCapabilities(config);
|
|
1104
|
+
for (const field of CONSOLIDATION_FIELDS) {
|
|
1105
|
+
assert.equal(caps[field], false, `${field} must be false`);
|
|
1106
|
+
}
|
|
1107
|
+
});
|
|
1108
|
+
|
|
1109
|
+
test("resolveConsolidationCapabilities returns a frozen object", () => {
|
|
1110
|
+
const caps = resolveConsolidationCapabilities(parseConfig({}));
|
|
1111
|
+
assert.equal(Object.isFrozen(caps), true, "ConsolidationCapabilitySet must be frozen");
|
|
1112
|
+
});
|
|
1113
|
+
|
|
1114
|
+
// ---------------------------------------------------------------------------
|
|
1115
|
+
// RecallAuxiliaryCapabilitySet — gate-parity tests (issue #1523 batch 8).
|
|
1116
|
+
// ---------------------------------------------------------------------------
|
|
1117
|
+
|
|
1118
|
+
const RECALL_AUX_FIELD_TO_FLAG: Record<keyof RecallAuxiliaryCapabilitySet, string> = {
|
|
1119
|
+
causalRuleExtraction: "causalRuleExtractionEnabled",
|
|
1120
|
+
correction: "correctionEnabled",
|
|
1121
|
+
continuityIncidentLogging: "continuityIncidentLoggingEnabled",
|
|
1122
|
+
daySummary: "daySummaryEnabled",
|
|
1123
|
+
versioning: "versioningEnabled",
|
|
1124
|
+
verifiedRecall: "verifiedRecallEnabled",
|
|
1125
|
+
semanticRuleVerification: "semanticRuleVerificationEnabled",
|
|
1126
|
+
workProductRecall: "workProductRecallEnabled",
|
|
1127
|
+
secureStore: "secureStoreEnabled",
|
|
1128
|
+
knowledgeIndex: "knowledgeIndexEnabled",
|
|
1129
|
+
factDeduplication: "factDeduplicationEnabled",
|
|
1130
|
+
compactionReset: "compactionResetEnabled",
|
|
1131
|
+
entityRetrieval: "entityRetrievalEnabled",
|
|
1132
|
+
cronRecallPolicy: "cronRecallPolicyEnabled",
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
const RECALL_AUX_FIELDS = Object.keys(RECALL_AUX_FIELD_TO_FLAG) as Array<keyof RecallAuxiliaryCapabilitySet>;
|
|
1136
|
+
|
|
1137
|
+
test("resolveRecallAuxiliaryCapabilities projects every field from its flag (true variant)", () => {
|
|
1138
|
+
const overrides: Record<string, boolean> = {};
|
|
1139
|
+
for (const flag of Object.values(RECALL_AUX_FIELD_TO_FLAG)) overrides[flag] = true;
|
|
1140
|
+
const config = parseConfig(overrides);
|
|
1141
|
+
const caps = resolveRecallAuxiliaryCapabilities(config);
|
|
1142
|
+
for (const field of RECALL_AUX_FIELDS) {
|
|
1143
|
+
assert.equal(caps[field], true, `${field} must be true`);
|
|
1144
|
+
}
|
|
1145
|
+
});
|
|
1146
|
+
|
|
1147
|
+
test("resolveRecallAuxiliaryCapabilities projects every field from its flag (false variant)", () => {
|
|
1148
|
+
const overrides: Record<string, boolean> = {};
|
|
1149
|
+
for (const flag of Object.values(RECALL_AUX_FIELD_TO_FLAG)) overrides[flag] = false;
|
|
1150
|
+
const config = parseConfig(overrides);
|
|
1151
|
+
const caps = resolveRecallAuxiliaryCapabilities(config);
|
|
1152
|
+
for (const field of RECALL_AUX_FIELDS) {
|
|
1153
|
+
assert.equal(caps[field], false, `${field} must be false`);
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
|
|
1157
|
+
test("resolveRecallAuxiliaryCapabilities returns a frozen object", () => {
|
|
1158
|
+
const caps = resolveRecallAuxiliaryCapabilities(parseConfig({}));
|
|
1159
|
+
assert.equal(Object.isFrozen(caps), true, "RecallAuxiliaryCapabilitySet must be frozen");
|
|
1160
|
+
});
|