@remnic/core 9.3.729 → 9.3.730
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 +6 -5
- package/dist/access-boundary.js +13 -13
- package/dist/access-cli.js +34 -33
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +6 -5
- package/dist/access-http.js +19 -19
- package/dist/access-mcp.d.ts +6 -5
- package/dist/access-mcp.js +18 -18
- package/dist/access-operations-batch.js +16 -16
- package/dist/access-operations.d.ts +11 -10
- package/dist/access-operations.js +17 -17
- package/dist/access-schema.d.ts +42 -42
- package/dist/{access-service-BXMJqkTA.d.ts → access-service-Byoe3HsT.d.ts} +18 -3
- package/dist/access-service.d.ts +6 -5
- package/dist/access-service.js +12 -12
- package/dist/access-surface-catalog.d.ts +6 -5
- 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/{auto-sync-F3KCSQFJ.js → auto-sync-G3V5AN4C.js} +2 -2
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +5 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +3 -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 +55 -2
- package/dist/capabilities.js +5 -1
- package/dist/{catalog-bMczlO2G.d.ts → catalog-DM1nk7cM.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 +4 -4
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-4NOI577P.js → chunk-24ZLC5QN.js} +2 -2
- package/dist/{chunk-DMQWV6SQ.js → chunk-5RZOFIDL.js} +2 -2
- package/dist/{chunk-UM5AWJNQ.js → chunk-646B5ERJ.js} +62 -37
- package/dist/chunk-646B5ERJ.js.map +1 -0
- package/dist/{chunk-H5BWGCRZ.js → chunk-6TUWSUUD.js} +51 -47
- package/dist/{chunk-H5BWGCRZ.js.map → chunk-6TUWSUUD.js.map} +1 -1
- package/dist/{chunk-36SEDFAU.js → chunk-C5WN74HH.js} +2 -2
- package/dist/{chunk-MLKWJOAJ.js → chunk-CGPHMNL4.js} +2 -2
- package/dist/{chunk-R6OVFAX6.js → chunk-DJECGBBM.js} +7 -2
- package/dist/{chunk-R6OVFAX6.js.map → chunk-DJECGBBM.js.map} +1 -1
- package/dist/{chunk-3RCBIOOJ.js → chunk-ESF7TRYJ.js} +18 -2
- package/dist/{chunk-3RCBIOOJ.js.map → chunk-ESF7TRYJ.js.map} +1 -1
- package/dist/{chunk-EY6MDMHK.js → chunk-F6OEXJQQ.js} +2 -2
- package/dist/{chunk-M4V2JVSZ.js → chunk-FFUCCKPN.js} +2 -2
- package/dist/{chunk-O6YH5F47.js → chunk-FYWUNVFZ.js} +8 -8
- package/dist/{chunk-37436GML.js → chunk-GEXI357K.js} +2 -2
- package/dist/{chunk-YGIQORJ3.js → chunk-GGL34GCW.js} +3 -3
- package/dist/{chunk-4H4F3BFL.js → chunk-GXTYEG7Q.js} +3 -3
- package/dist/{chunk-4H4F3BFL.js.map → chunk-GXTYEG7Q.js.map} +1 -1
- package/dist/{chunk-WAS3NV46.js → chunk-H3MB3F62.js} +2 -2
- package/dist/{chunk-UTHQPSRC.js → chunk-HHNSLPX7.js} +11 -8
- package/dist/chunk-HHNSLPX7.js.map +1 -0
- package/dist/{chunk-76NHR6ZL.js → chunk-HJWQJUKQ.js} +4 -4
- package/dist/{chunk-Y4YD5TYW.js → chunk-IIBFCZA7.js} +3 -3
- package/dist/{chunk-UVPL565C.js → chunk-IQOEW5YV.js} +2 -2
- package/dist/{chunk-V4GNSDFH.js → chunk-KQYGNGON.js} +2 -2
- package/dist/{chunk-CBWI22JN.js → chunk-KSJCXXOU.js} +2 -2
- package/dist/{chunk-M4AYVEWS.js → chunk-LUCARK4W.js} +12 -11
- package/dist/chunk-LUCARK4W.js.map +1 -0
- package/dist/{chunk-I5REUWLH.js → chunk-NIZQH6AU.js} +3 -3
- package/dist/{chunk-4ESAR77N.js → chunk-NOU77OHX.js} +2 -2
- package/dist/{chunk-BQCHEV7O.js → chunk-O4ZIBPIW.js} +3 -3
- package/dist/{chunk-HOHVIVDR.js → chunk-OBJUKYDO.js} +2 -2
- package/dist/{chunk-YKBHOBJK.js → chunk-OEHCMALU.js} +56 -4
- package/dist/chunk-OEHCMALU.js.map +1 -0
- package/dist/{chunk-YOLZS7NY.js → chunk-OTQE66IX.js} +2 -2
- package/dist/{chunk-HEDZUSCS.js → chunk-OUITHS6V.js} +246 -368
- package/dist/chunk-OUITHS6V.js.map +1 -0
- package/dist/{chunk-4T3BMHKD.js → chunk-OZECYVGI.js} +20 -7
- package/dist/chunk-OZECYVGI.js.map +1 -0
- package/dist/{chunk-C2PG7IEH.js → chunk-P3VJCTVE.js} +2 -2
- package/dist/{chunk-EH5ED3C6.js → chunk-PMAQRUN4.js} +4 -4
- package/dist/chunk-PMAQRUN4.js.map +1 -0
- package/dist/{chunk-7RLCCNHU.js → chunk-Q6BAA57B.js} +4 -3
- package/dist/chunk-Q6BAA57B.js.map +1 -0
- package/dist/{chunk-HGNOCPZX.js → chunk-QZHF4BWN.js} +6 -6
- package/dist/chunk-SYX73XD7.js +283 -0
- package/dist/chunk-SYX73XD7.js.map +1 -0
- package/dist/{chunk-ASKXIAHD.js → chunk-WDJCZQB4.js} +2 -2
- package/dist/{chunk-AQLOP5F4.js → chunk-WNGXQMRI.js} +95 -6
- package/dist/chunk-WNGXQMRI.js.map +1 -0
- package/dist/{chunk-JYLFZWUX.js → chunk-XYUFGHUW.js} +2 -2
- package/dist/{chunk-3TSTGI6F.js → chunk-ZQUAVZNG.js} +2 -2
- package/dist/{chunk-4NR2PDZ5.js → chunk-ZVHRSR2R.js} +14 -4
- package/dist/chunk-ZVHRSR2R.js.map +1 -0
- package/dist/{cli-DmAiDd8A.d.ts → cli-Dt-tuiYH.d.ts} +3 -3
- package/dist/cli.d.ts +7 -6
- package/dist/cli.js +35 -35
- package/dist/compounding/engine.d.ts +12 -1
- package/dist/compounding/engine.js +3 -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 +3 -3
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +3 -3
- 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 +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/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 +3 -3
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -4
- package/dist/explicit-capture.js +1 -1
- 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-22LPFHD5.js → first-start-migration-OOR57AYR.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 +296 -11
- package/dist/index.js +359 -47
- package/dist/index.js.map +1 -1
- 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-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +3 -3
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
- package/dist/maintenance/rebuild-memory-projection.js +4 -4
- package/dist/mcp-memory-inspector-app.d.ts +6 -5
- 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 +9 -9
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +3 -3
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +14 -14
- package/dist/orchestration/compression-guideline-coordinator.d.ts +105 -0
- package/dist/orchestration/compression-guideline-coordinator.js +12 -0
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +5 -5
- package/dist/{orchestrator-BR0sGsME.d.ts → orchestrator-B4KjaOtY.d.ts} +24 -8
- package/dist/orchestrator.d.ts +5 -4
- package/dist/orchestrator.js +28 -26
- 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/provenance.js +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/{resolution-MN36NW5P.js → resolution-33PIX3TT.js} +2 -2
- package/dist/resolution-33PIX3TT.js.map +1 -0
- 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 +84 -84
- 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 +4 -4
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +8 -8
- 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-Cl15ksZy.d.ts → semantic-consolidation-CstTvHPo.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +3 -3
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +3 -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 +3 -3
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +22 -3
- package/dist/storage.js +2 -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/types.d.ts +46 -46
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-ChQb9D6s.d.ts → types-VkxElCHR.d.ts} +8 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +3 -3
- package/package.json +12 -2
- package/src/access-service-coding-write.test.ts +2 -2
- package/src/access-service.ts +33 -14
- package/src/bitemporal-dedup-backfill.test.ts +10 -10
- package/src/bitemporal-frontmatter.test.ts +3 -3
- package/src/capabilities.test.ts +185 -0
- package/src/capabilities.ts +110 -0
- package/src/cli/creation-ledger-commands.ts +22 -21
- package/src/coding/architecture-surfaces.test.ts +25 -1
- package/src/coding/architecture-surfaces.ts +47 -19
- package/src/coding/decision-surfaces.ts +12 -3
- package/src/coding/review-context-structural.test.ts +303 -0
- package/src/coding/review-context.ts +79 -0
- package/src/coding/structural-context.test.ts +259 -0
- package/src/coding/structural-context.ts +315 -0
- package/src/coding/structural-subprocess-provider.test.ts +430 -0
- package/src/coding/structural-subprocess-provider.ts +355 -0
- package/src/compounding/engine.test.ts +90 -0
- package/src/compounding/engine.ts +25 -1
- package/src/contradiction/contradiction.test.ts +1 -1
- package/src/contradiction/resolution.ts +9 -1
- package/src/correction/correction-access-wiring.ts +21 -3
- package/src/correction/correction-contract.ts +7 -0
- package/src/correction/correction-planner.test.ts +231 -0
- package/src/correction/correction-planner.ts +73 -0
- package/src/correction/correction-service.ts +29 -0
- package/src/correction/correction-storage-integration.test.ts +2 -2
- package/src/dedup/semantic.test.ts +1 -1
- package/src/explicit-capture.ts +7 -4
- package/src/extraction-eventtime-wiring.test.ts +3 -3
- package/src/extraction-redaction-rules.test.ts +172 -0
- package/src/index.ts +29 -0
- package/src/maintenance/forget.test.ts +1 -1
- package/src/maintenance/memory-governance.test.ts +1 -1
- package/src/maintenance/pattern-reinforcement.test.ts +2 -2
- package/src/operator-toolkit.ts +4 -3
- package/src/orchestration/compression-guideline-coordinator.ts +449 -0
- package/src/orchestrator.ts +345 -464
- package/src/procedural/procedure-miner.test.ts +2 -2
- package/src/provenance-extraction.test.ts +382 -4
- package/src/provenance.ts +158 -22
- package/src/recall-handles-wiring.test.ts +1 -1
- package/src/search/factory.ts +4 -3
- package/src/semantic-rule-promotion.ts +1 -1
- package/src/source-attribution-roundtrip.test.ts +2 -2
- package/src/storage-contract/atomicity.test.ts +1 -1
- package/src/storage-contract/cache-coherence.test.ts +2 -2
- package/src/storage-contract/content-hash.test.ts +1 -1
- package/src/storage-contract/namespace-routing.test.ts +1 -1
- package/src/storage-contract/round-trip.test.ts +3 -3
- package/src/storage.ts +23 -2
- package/src/temporal-supersession.test.ts +12 -11
- package/src/temporal-validity.test.ts +11 -11
- package/src/wearables/cli.test.ts +30 -0
- package/src/wearables/cli.ts +3 -0
- package/src/wearables/memory-gen.test.ts +57 -1
- package/src/wearables/memory-gen.ts +31 -7
- package/src/wearables/pipeline.test.ts +40 -1
- package/src/wearables/pipeline.ts +4 -0
- package/src/wearables/service.test.ts +2 -2
- package/src/wearables/storage-io.test.ts +3 -3
- package/src/wearables/types.ts +7 -0
- package/dist/chunk-4NR2PDZ5.js.map +0 -1
- package/dist/chunk-4T3BMHKD.js.map +0 -1
- package/dist/chunk-7RLCCNHU.js.map +0 -1
- package/dist/chunk-AQLOP5F4.js.map +0 -1
- package/dist/chunk-EH5ED3C6.js.map +0 -1
- package/dist/chunk-HEDZUSCS.js.map +0 -1
- package/dist/chunk-M4AYVEWS.js.map +0 -1
- package/dist/chunk-UM5AWJNQ.js.map +0 -1
- package/dist/chunk-UTHQPSRC.js.map +0 -1
- package/dist/chunk-YKBHOBJK.js.map +0 -1
- /package/dist/{auto-sync-F3KCSQFJ.js.map → auto-sync-G3V5AN4C.js.map} +0 -0
- /package/dist/{chunk-4NOI577P.js.map → chunk-24ZLC5QN.js.map} +0 -0
- /package/dist/{chunk-DMQWV6SQ.js.map → chunk-5RZOFIDL.js.map} +0 -0
- /package/dist/{chunk-36SEDFAU.js.map → chunk-C5WN74HH.js.map} +0 -0
- /package/dist/{chunk-MLKWJOAJ.js.map → chunk-CGPHMNL4.js.map} +0 -0
- /package/dist/{chunk-EY6MDMHK.js.map → chunk-F6OEXJQQ.js.map} +0 -0
- /package/dist/{chunk-M4V2JVSZ.js.map → chunk-FFUCCKPN.js.map} +0 -0
- /package/dist/{chunk-O6YH5F47.js.map → chunk-FYWUNVFZ.js.map} +0 -0
- /package/dist/{chunk-37436GML.js.map → chunk-GEXI357K.js.map} +0 -0
- /package/dist/{chunk-YGIQORJ3.js.map → chunk-GGL34GCW.js.map} +0 -0
- /package/dist/{chunk-WAS3NV46.js.map → chunk-H3MB3F62.js.map} +0 -0
- /package/dist/{chunk-76NHR6ZL.js.map → chunk-HJWQJUKQ.js.map} +0 -0
- /package/dist/{chunk-Y4YD5TYW.js.map → chunk-IIBFCZA7.js.map} +0 -0
- /package/dist/{chunk-UVPL565C.js.map → chunk-IQOEW5YV.js.map} +0 -0
- /package/dist/{chunk-V4GNSDFH.js.map → chunk-KQYGNGON.js.map} +0 -0
- /package/dist/{chunk-CBWI22JN.js.map → chunk-KSJCXXOU.js.map} +0 -0
- /package/dist/{chunk-I5REUWLH.js.map → chunk-NIZQH6AU.js.map} +0 -0
- /package/dist/{chunk-4ESAR77N.js.map → chunk-NOU77OHX.js.map} +0 -0
- /package/dist/{chunk-BQCHEV7O.js.map → chunk-O4ZIBPIW.js.map} +0 -0
- /package/dist/{chunk-HOHVIVDR.js.map → chunk-OBJUKYDO.js.map} +0 -0
- /package/dist/{chunk-YOLZS7NY.js.map → chunk-OTQE66IX.js.map} +0 -0
- /package/dist/{chunk-C2PG7IEH.js.map → chunk-P3VJCTVE.js.map} +0 -0
- /package/dist/{chunk-HGNOCPZX.js.map → chunk-QZHF4BWN.js.map} +0 -0
- /package/dist/{chunk-ASKXIAHD.js.map → chunk-WDJCZQB4.js.map} +0 -0
- /package/dist/{chunk-JYLFZWUX.js.map → chunk-XYUFGHUW.js.map} +0 -0
- /package/dist/{chunk-3TSTGI6F.js.map → chunk-ZQUAVZNG.js.map} +0 -0
- /package/dist/{first-start-migration-22LPFHD5.js.map → first-start-migration-OOR57AYR.js.map} +0 -0
- /package/dist/{resolution-MN36NW5P.js.map → orchestration/compression-guideline-coordinator.js.map} +0 -0
package/dist/calibration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FallbackLlmClient } from './fallback-llm.js';
|
|
2
|
-
import { G as GatewayConfig, j as AgentPersonaModelConfig } from './types-
|
|
2
|
+
import { G as GatewayConfig, j as AgentPersonaModelConfig } from './types-VkxElCHR.js';
|
|
3
3
|
import './resolve-provider-secret.js';
|
|
4
4
|
import './types-gb_SNtjR.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/capabilities.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig } from './types-
|
|
1
|
+
import { P as PluginConfig } from './types-VkxElCHR.js';
|
|
2
2
|
import './types-gb_SNtjR.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
|
@@ -167,5 +167,58 @@ type MemoryLifecycleConfigProjection = Pick<PluginConfig, "temporalSupersessionE
|
|
|
167
167
|
* established for recall.
|
|
168
168
|
*/
|
|
169
169
|
declare function resolveMemoryLifecycleCapabilities(config: MemoryLifecycleConfigProjection): MemoryLifecycleCapabilitySet;
|
|
170
|
+
/**
|
|
171
|
+
* Frozen projection of indexing feature gates (issue #1523 batch 4).
|
|
172
|
+
*
|
|
173
|
+
* Resolved once per recall / extraction / maintenance operation and threaded
|
|
174
|
+
* down. Composition lives ONLY in {@link resolveIndexingCapabilities}.
|
|
175
|
+
*/
|
|
176
|
+
interface IndexingCapabilitySet {
|
|
177
|
+
/** `queryAwareIndexingEnabled` — build + use temporal/tag index for recall prefilter. */
|
|
178
|
+
readonly queryAwareIndexing: boolean;
|
|
179
|
+
/** `conversationIndexEnabled` — conversation-index backend (QMD / FAISS). */
|
|
180
|
+
readonly conversationIndex: boolean;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Config projection consumed by {@link resolveIndexingCapabilities}.
|
|
184
|
+
*/
|
|
185
|
+
type IndexingConfigProjection = Pick<PluginConfig, "queryAwareIndexingEnabled" | "conversationIndexEnabled">;
|
|
186
|
+
/**
|
|
187
|
+
* Resolve the {@link IndexingCapabilitySet} from parsed config.
|
|
188
|
+
*
|
|
189
|
+
* Call this ONCE per recall / extraction / maintenance operation entry and
|
|
190
|
+
* thread the result down — exactly the pattern {@link resolveCapabilities}
|
|
191
|
+
* established for recall.
|
|
192
|
+
*/
|
|
193
|
+
declare function resolveIndexingCapabilities(config: IndexingConfigProjection): IndexingCapabilitySet;
|
|
194
|
+
/**
|
|
195
|
+
* Frozen projection of creation-memory feature gates (issue #1523 batch 4).
|
|
196
|
+
*
|
|
197
|
+
* Resolved once per creation-memory operation (CLI command, extraction,
|
|
198
|
+
* recall enrichment) and threaded down. Composition lives ONLY in
|
|
199
|
+
* {@link resolveCreationMemoryCapabilities}.
|
|
200
|
+
*/
|
|
201
|
+
interface CreationMemoryCapabilitySet {
|
|
202
|
+
/** `creationMemoryEnabled` — master switch for creation-memory subsystem. */
|
|
203
|
+
readonly creationMemory: boolean;
|
|
204
|
+
/** `commitmentLedgerEnabled` — commitment-ledger read/write. */
|
|
205
|
+
readonly commitmentLedger: boolean;
|
|
206
|
+
/** `resumeBundlesEnabled` — resume-bundle handoff bundles. */
|
|
207
|
+
readonly resumeBundles: boolean;
|
|
208
|
+
/** `commitmentLifecycleEnabled` — commitment lifecycle (promotion / decay). */
|
|
209
|
+
readonly commitmentLifecycle: boolean;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Config projection consumed by {@link resolveCreationMemoryCapabilities}.
|
|
213
|
+
*/
|
|
214
|
+
type CreationMemoryConfigProjection = Pick<PluginConfig, "creationMemoryEnabled" | "commitmentLedgerEnabled" | "resumeBundlesEnabled" | "commitmentLifecycleEnabled">;
|
|
215
|
+
/**
|
|
216
|
+
* Resolve the {@link CreationMemoryCapabilitySet} from parsed config.
|
|
217
|
+
*
|
|
218
|
+
* Call this ONCE per creation-memory operation entry and thread the result
|
|
219
|
+
* down — exactly the pattern {@link resolveCapabilities} established for
|
|
220
|
+
* recall.
|
|
221
|
+
*/
|
|
222
|
+
declare function resolveCreationMemoryCapabilities(config: CreationMemoryConfigProjection): CreationMemoryCapabilitySet;
|
|
170
223
|
|
|
171
|
-
export { type AccessSetupCapabilitySet, type AccessSetupConfigProjection, type CapabilitySet, type GraphConstructionCapabilitySet, type GraphConstructionConfigProjection, type MemoryLifecycleCapabilitySet, type MemoryLifecycleConfigProjection, resolveAccessSetupCapabilities, resolveCapabilities, resolveGraphConstructionCapabilities, resolveMemoryLifecycleCapabilities };
|
|
224
|
+
export { type AccessSetupCapabilitySet, type AccessSetupConfigProjection, type CapabilitySet, type CreationMemoryCapabilitySet, type CreationMemoryConfigProjection, type GraphConstructionCapabilitySet, type GraphConstructionConfigProjection, type IndexingCapabilitySet, type IndexingConfigProjection, type MemoryLifecycleCapabilitySet, type MemoryLifecycleConfigProjection, resolveAccessSetupCapabilities, resolveCapabilities, resolveCreationMemoryCapabilities, resolveGraphConstructionCapabilities, resolveIndexingCapabilities, resolveMemoryLifecycleCapabilities };
|
package/dist/capabilities.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAccessSetupCapabilities,
|
|
3
3
|
resolveCapabilities,
|
|
4
|
+
resolveCreationMemoryCapabilities,
|
|
4
5
|
resolveGraphConstructionCapabilities,
|
|
6
|
+
resolveIndexingCapabilities,
|
|
5
7
|
resolveMemoryLifecycleCapabilities
|
|
6
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ESF7TRYJ.js";
|
|
7
9
|
import "./chunk-PZ5AY32C.js";
|
|
8
10
|
export {
|
|
9
11
|
resolveAccessSetupCapabilities,
|
|
10
12
|
resolveCapabilities,
|
|
13
|
+
resolveCreationMemoryCapabilities,
|
|
11
14
|
resolveGraphConstructionCapabilities,
|
|
15
|
+
resolveIndexingCapabilities,
|
|
12
16
|
resolveMemoryLifecycleCapabilities
|
|
13
17
|
};
|
|
14
18
|
//# sourceMappingURL=capabilities.js.map
|
|
@@ -2,7 +2,7 @@ import { CausalChainIndex } from './causal-chain.js';
|
|
|
2
2
|
import { ConsolidatedPreference } from './compounding/preference-consolidator.js';
|
|
3
3
|
import './causal-trajectory.js';
|
|
4
4
|
import './objective-state.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-VkxElCHR.js';
|
|
6
6
|
import './types-gb_SNtjR.js';
|
|
7
7
|
import './message-parts/index.js';
|
|
8
8
|
import './lcm/engine.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GatewayConfig, j as AgentPersonaModelConfig, P as PluginConfig, g as MemoryFile } from './types-
|
|
1
|
+
import { G as GatewayConfig, j as AgentPersonaModelConfig, P as PluginConfig, g as MemoryFile } from './types-VkxElCHR.js';
|
|
2
2
|
import { RolloutSummaryInput, MaterializeResult } from './connectors/codex-materialize.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-ORAK3LNZ.js";
|
|
5
5
|
import {
|
|
6
6
|
buildExtensionsBlockForConsolidation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RZOFIDL.js";
|
|
8
8
|
import {
|
|
9
9
|
runPostConsolidationMaterialize
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GEXI357K.js";
|
|
11
11
|
import "./chunk-UUH4YQOF.js";
|
|
12
12
|
import "./chunk-JLNBQWZ2.js";
|
|
13
13
|
import "./chunk-3UXOZBHV.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resolveCausalTrajectoryStoreDir
|
|
17
17
|
} from "./chunk-SQNED75R.js";
|
|
18
18
|
import "./chunk-ZBJMUXZH.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-Q6BAA57B.js";
|
|
20
20
|
import "./chunk-L2B3EE7B.js";
|
|
21
21
|
import "./chunk-M7XQSUBB.js";
|
|
22
22
|
import "./chunk-5UZXUTVO.js";
|
|
@@ -54,7 +54,7 @@ import "./chunk-A6XUJE5D.js";
|
|
|
54
54
|
import "./chunk-P7FMDTKL.js";
|
|
55
55
|
import "./chunk-VS2IYZRU.js";
|
|
56
56
|
import "./chunk-U3PN77QT.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-OEHCMALU.js";
|
|
58
58
|
import "./chunk-PHK3HARR.js";
|
|
59
59
|
import "./chunk-5GKPFL3S.js";
|
|
60
60
|
import "./chunk-4DJQYKMN.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphEdge } from './graph.js';
|
|
2
2
|
import { CausalTrajectoryRecord } from './causal-trajectory.js';
|
|
3
3
|
import './capabilities.js';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-VkxElCHR.js';
|
|
5
5
|
import './types-gb_SNtjR.js';
|
|
6
6
|
import './message-parts/index.js';
|
|
7
7
|
import './objective-state.js';
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TBBDFYXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q6BAA57B.js";
|
|
7
7
|
import {
|
|
8
8
|
assertPathInsideRoot
|
|
9
9
|
} from "./chunk-5GPPACXK.js";
|
|
@@ -751,4 +751,4 @@ export {
|
|
|
751
751
|
listMemoryGovernanceRuns,
|
|
752
752
|
readMemoryGovernanceRunArtifact
|
|
753
753
|
};
|
|
754
|
-
//# sourceMappingURL=chunk-
|
|
754
|
+
//# sourceMappingURL=chunk-24ZLC5QN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPostConsolidationMaterialize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GEXI357K.js";
|
|
4
4
|
import {
|
|
5
5
|
discoverMemoryExtensions,
|
|
6
6
|
renderExtensionsBlock,
|
|
@@ -217,4 +217,4 @@ export {
|
|
|
217
217
|
buildExtensionsBlockForConsolidation,
|
|
218
218
|
materializeAfterSemanticConsolidation
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=chunk-
|
|
220
|
+
//# sourceMappingURL=chunk-5RZOFIDL.js.map
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
listMemoryGovernanceRuns,
|
|
34
34
|
readMemoryGovernanceRunArtifact,
|
|
35
35
|
runMemoryGovernance
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-24ZLC5QN.js";
|
|
37
37
|
import {
|
|
38
38
|
clusterByKey,
|
|
39
39
|
createCorrectionService,
|
|
40
40
|
isCorrectionFeatureEnabled
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WNGXQMRI.js";
|
|
42
42
|
import {
|
|
43
43
|
getTrustZoneStoreStatus,
|
|
44
44
|
isTrustZoneName,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
} from "./chunk-J6BH2OBA.js";
|
|
73
73
|
import {
|
|
74
74
|
namespaceCollectionName
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-KQYGNGON.js";
|
|
76
76
|
import {
|
|
77
77
|
namespaceIdentityFromToken
|
|
78
78
|
} from "./chunk-ZFXCQPNO.js";
|
|
@@ -96,15 +96,16 @@ import {
|
|
|
96
96
|
persistExplicitCapture,
|
|
97
97
|
queueExplicitCaptureForReview,
|
|
98
98
|
validateExplicitCaptureInput
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-PMAQRUN4.js";
|
|
100
100
|
import {
|
|
101
101
|
CrossNamespaceBudget
|
|
102
102
|
} from "./chunk-ODPLEWB6.js";
|
|
103
103
|
import {
|
|
104
104
|
resolveAccessSetupCapabilities,
|
|
105
105
|
resolveGraphConstructionCapabilities,
|
|
106
|
+
resolveIndexingCapabilities,
|
|
106
107
|
resolveMemoryLifecycleCapabilities
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ESF7TRYJ.js";
|
|
108
109
|
import {
|
|
109
110
|
defaultCapsulesDir
|
|
110
111
|
} from "./chunk-ZY2MNJR6.js";
|
|
@@ -117,10 +118,10 @@ import {
|
|
|
117
118
|
buildBriefing,
|
|
118
119
|
parseBriefingFocus,
|
|
119
120
|
parseBriefingWindow
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-F6OEXJQQ.js";
|
|
121
122
|
import {
|
|
122
123
|
parseEntityFile
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-Q6BAA57B.js";
|
|
124
125
|
import {
|
|
125
126
|
stripAttributesSuffix
|
|
126
127
|
} from "./chunk-SVOZFLIQ.js";
|
|
@@ -527,7 +528,7 @@ async function decisionRecord(request, ctx) {
|
|
|
527
528
|
const content = serializeDecisionRecord(record);
|
|
528
529
|
const storage = await ctx.resolveStorage(request);
|
|
529
530
|
const isActive = ACTIVE_DECISION_STATUSES.has(status);
|
|
530
|
-
const memoryId = await storage.writeMemory("decision", content, {
|
|
531
|
+
const { id: memoryId } = await storage.writeMemory("decision", content, {
|
|
531
532
|
confidence: 1,
|
|
532
533
|
tags: ["decision-record"],
|
|
533
534
|
source: "coding-decision",
|
|
@@ -585,7 +586,7 @@ async function decisionSupersede(request, ctx) {
|
|
|
585
586
|
supersedes: targetId
|
|
586
587
|
};
|
|
587
588
|
const replacementContent = serializeDecisionRecord(replacement);
|
|
588
|
-
const replacementId = await storage.writeMemory(
|
|
589
|
+
const { id: replacementId, tombstoneBlocked: replacementBlocked } = await storage.writeMemory(
|
|
589
590
|
"decision",
|
|
590
591
|
replacementContent,
|
|
591
592
|
{
|
|
@@ -598,6 +599,11 @@ async function decisionSupersede(request, ctx) {
|
|
|
598
599
|
structuredAttributes: { decisionStatus: "accepted" }
|
|
599
600
|
}
|
|
600
601
|
);
|
|
602
|
+
if (replacementBlocked) {
|
|
603
|
+
ctx.throwInputError(
|
|
604
|
+
`replacement decision was tombstone-blocked (pending_review ${replacementId}) \u2014 keeping decision ${targetId} active`
|
|
605
|
+
);
|
|
606
|
+
}
|
|
601
607
|
try {
|
|
602
608
|
await storage.writeMemoryFrontmatter(oldMemory, {
|
|
603
609
|
status: "archived",
|
|
@@ -1091,22 +1097,16 @@ async function architectureRefresh(request, ctx, codingContext) {
|
|
|
1091
1097
|
log.warn(
|
|
1092
1098
|
`coding_architecture/refresh: updateMemory returned false for id=${existing.frontmatter.id} \u2014 falling back to writeMemory`
|
|
1093
1099
|
);
|
|
1094
|
-
const
|
|
1100
|
+
const fallbackWrite = await storage.writeMemory("fact", cardContent, {
|
|
1095
1101
|
confidence: 1,
|
|
1096
1102
|
tags,
|
|
1097
1103
|
source: "coding-architecture",
|
|
1098
1104
|
structuredAttributes: { cardKind: ARCHITECTURE_CARD_KIND }
|
|
1099
1105
|
});
|
|
1100
1106
|
log.info(
|
|
1101
|
-
`access-write op=coding_architecture/refresh memoryId=${
|
|
1107
|
+
`access-write op=coding_architecture/refresh memoryId=${fallbackWrite.id} (fallback write) byteSize=${buildResult.card.byteSize}`
|
|
1102
1108
|
);
|
|
1103
|
-
return
|
|
1104
|
-
subcommand: "refresh",
|
|
1105
|
-
refreshed: true,
|
|
1106
|
-
memoryId: memoryId2,
|
|
1107
|
-
byteSize: buildResult.card.byteSize,
|
|
1108
|
-
truncated: buildResult.card.truncated
|
|
1109
|
-
};
|
|
1109
|
+
return refreshResponse(fallbackWrite, buildResult.card);
|
|
1110
1110
|
}
|
|
1111
1111
|
log.info(
|
|
1112
1112
|
`access-write op=coding_architecture/refresh memoryId=${existing.frontmatter.id} (updated) byteSize=${buildResult.card.byteSize}`
|
|
@@ -1119,21 +1119,35 @@ async function architectureRefresh(request, ctx, codingContext) {
|
|
|
1119
1119
|
truncated: buildResult.card.truncated
|
|
1120
1120
|
};
|
|
1121
1121
|
}
|
|
1122
|
-
const
|
|
1122
|
+
const newWrite = await storage.writeMemory("fact", cardContent, {
|
|
1123
1123
|
confidence: 1,
|
|
1124
1124
|
tags,
|
|
1125
1125
|
source: "coding-architecture",
|
|
1126
1126
|
structuredAttributes: { cardKind: ARCHITECTURE_CARD_KIND }
|
|
1127
1127
|
});
|
|
1128
1128
|
log.info(
|
|
1129
|
-
`access-write op=coding_architecture/refresh memoryId=${
|
|
1129
|
+
`access-write op=coding_architecture/refresh memoryId=${newWrite.id} (new) byteSize=${buildResult.card.byteSize}`
|
|
1130
1130
|
);
|
|
1131
|
+
return refreshResponse(newWrite, buildResult.card);
|
|
1132
|
+
}
|
|
1133
|
+
function refreshResponse(writeResult, card) {
|
|
1134
|
+
if (writeResult.tombstoneBlocked) {
|
|
1135
|
+
return {
|
|
1136
|
+
subcommand: "refresh",
|
|
1137
|
+
refreshed: false,
|
|
1138
|
+
memoryId: writeResult.id,
|
|
1139
|
+
byteSize: card.byteSize,
|
|
1140
|
+
truncated: card.truncated,
|
|
1141
|
+
blockedReason: "tombstone-blocked",
|
|
1142
|
+
...writeResult.blockedBy !== void 0 ? { blockedBy: writeResult.blockedBy } : {}
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1131
1145
|
return {
|
|
1132
1146
|
subcommand: "refresh",
|
|
1133
1147
|
refreshed: true,
|
|
1134
|
-
memoryId,
|
|
1135
|
-
byteSize:
|
|
1136
|
-
truncated:
|
|
1148
|
+
memoryId: writeResult.id,
|
|
1149
|
+
byteSize: card.byteSize,
|
|
1150
|
+
truncated: card.truncated
|
|
1137
1151
|
};
|
|
1138
1152
|
}
|
|
1139
1153
|
async function findArchitectureCardMemory(storage) {
|
|
@@ -5003,14 +5017,15 @@ var EngramAccessService = class {
|
|
|
5003
5017
|
}
|
|
5004
5018
|
const result = await persistExplicitCapture(this.orchestrator, candidate, "memory_store");
|
|
5005
5019
|
await this.attachCodingContextAfterScopedWrite(request);
|
|
5020
|
+
const blocked = result.tombstoneBlocked === true;
|
|
5006
5021
|
const response = {
|
|
5007
5022
|
schemaVersion: ENGRAM_ACCESS_WRITE_SCHEMA_VERSION,
|
|
5008
5023
|
operation: "memory_store",
|
|
5009
5024
|
namespace,
|
|
5010
5025
|
dryRun: false,
|
|
5011
5026
|
accepted: true,
|
|
5012
|
-
queued:
|
|
5013
|
-
status: result.duplicateOf ? "duplicate" : "stored",
|
|
5027
|
+
queued: blocked,
|
|
5028
|
+
status: blocked ? "queued_for_review" : result.duplicateOf ? "duplicate" : "stored",
|
|
5014
5029
|
memoryId: result.id,
|
|
5015
5030
|
duplicateOf: result.duplicateOf,
|
|
5016
5031
|
idempotencyKey: request.idempotencyKey?.trim() || void 0
|
|
@@ -5861,7 +5876,7 @@ var EngramAccessService = class {
|
|
|
5861
5876
|
};
|
|
5862
5877
|
}
|
|
5863
5878
|
async conversationIndexUpdate(request = {}) {
|
|
5864
|
-
if (!this.orchestrator.config.
|
|
5879
|
+
if (!resolveIndexingCapabilities(this.orchestrator.config).conversationIndex) {
|
|
5865
5880
|
return {
|
|
5866
5881
|
enabled: false,
|
|
5867
5882
|
sessions: 0,
|
|
@@ -8411,16 +8426,26 @@ ${next}`);
|
|
|
8411
8426
|
},
|
|
8412
8427
|
writePromotedMemory: async (namespace, memory) => {
|
|
8413
8428
|
const resolved = await this.orchestrator.getStorage(namespace);
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8429
|
+
const { id, tombstoneBlocked } = await resolved.writeMemory(
|
|
8430
|
+
memory.category,
|
|
8431
|
+
memory.content,
|
|
8432
|
+
{
|
|
8433
|
+
confidence: memory.confidence,
|
|
8434
|
+
tags: memory.tags,
|
|
8435
|
+
entityRef: memory.entityRef,
|
|
8436
|
+
source: `admin-promotion:${memory.sourceNamespace}:${memory.reason.slice(0, 120)}`,
|
|
8437
|
+
lineage: memory.lineage,
|
|
8438
|
+
sourceMemoryId: memory.sourceMemoryId,
|
|
8439
|
+
actor: memory.actor,
|
|
8440
|
+
validAt: memory.validAt
|
|
8441
|
+
}
|
|
8442
|
+
);
|
|
8443
|
+
if (tombstoneBlocked) {
|
|
8444
|
+
throw new Error(
|
|
8445
|
+
"target namespace tombstone-blocked the promoted content (pending_review)"
|
|
8446
|
+
);
|
|
8447
|
+
}
|
|
8448
|
+
return id;
|
|
8424
8449
|
}
|
|
8425
8450
|
};
|
|
8426
8451
|
try {
|
|
@@ -8455,4 +8480,4 @@ export {
|
|
|
8455
8480
|
shapeMemorySummary,
|
|
8456
8481
|
EngramAccessService
|
|
8457
8482
|
};
|
|
8458
|
-
//# sourceMappingURL=chunk-
|
|
8483
|
+
//# sourceMappingURL=chunk-646B5ERJ.js.map
|