@remnic/core 9.3.693 → 9.3.695
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 +13 -12
- package/dist/access-boundary.js +36 -28
- package/dist/access-cli.js +62 -59
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +12 -11
- package/dist/access-http.js +40 -32
- package/dist/access-mcp.d.ts +19 -11
- package/dist/access-mcp.js +39 -31
- package/dist/access-operations.d.ts +56 -13
- package/dist/access-operations.js +66 -30
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DxCpgyVW.d.ts → access-service-BqBQeUJd.d.ts} +99 -3
- package/dist/access-service.d.ts +8 -7
- package/dist/access-service.js +35 -27
- package/dist/access-surface-catalog.d.ts +12 -11
- package/dist/access-surface-catalog.js +15 -0
- package/dist/access-surface-catalog.js.map +1 -1
- 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 +1 -1
- package/dist/{auto-sync-RWXT6P5M.js → auto-sync-PFW2NJZY.js} +8 -8
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -8
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +12 -5
- 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/calibration.js +2 -2
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{catalog-BEWLjdOr.d.ts → catalog-D7YDNNF7.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +17 -16
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-UPTZYUYJ.js → chunk-24D66MMN.js} +2 -1
- package/dist/chunk-24D66MMN.js.map +1 -0
- package/dist/{chunk-THKNO6OX.js → chunk-32XTY2DQ.js} +52 -51
- package/dist/chunk-32XTY2DQ.js.map +1 -0
- package/dist/{chunk-YN4ZT4CW.js → chunk-3LYJIA76.js} +1 -1
- package/dist/{chunk-ADUAF5EV.js → chunk-3P2XEQSV.js} +2 -2
- package/dist/{chunk-KYH53EFD.js → chunk-4NNDJOAO.js} +8 -8
- package/dist/{chunk-QFG23CRE.js → chunk-52QIAN76.js} +2 -2
- package/dist/chunk-5AT62NQH.js +553 -0
- package/dist/chunk-5AT62NQH.js.map +1 -0
- package/dist/{chunk-TAPSNIMA.js → chunk-5CEJH5ZN.js} +4 -4
- package/dist/{chunk-4RGWCRIJ.js → chunk-5TYA4OCF.js} +4 -4
- package/dist/{chunk-FM7KLRKN.js → chunk-6GAUF4OU.js} +3 -3
- package/dist/{chunk-6C2BMUZA.js → chunk-AF6DSAWD.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-32KD5IHZ.js → chunk-CLXTDOKV.js} +2 -2
- package/dist/{chunk-ARV3AUOM.js → chunk-DL6H3D7S.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-3BRA3N5A.js → chunk-EC3A6M43.js} +2 -2
- package/dist/{chunk-UTUYAPLY.js → chunk-EK6FYL2E.js} +38 -3
- package/dist/chunk-EK6FYL2E.js.map +1 -0
- package/dist/{chunk-ZLXGFAML.js → chunk-FZMH66NT.js} +2 -2
- package/dist/{chunk-HXNMDPHN.js → chunk-G663XUEG.js} +2 -2
- package/dist/{chunk-TYEOAFH3.js → chunk-G6SVZWPB.js} +10 -1
- package/dist/chunk-G6SVZWPB.js.map +1 -0
- package/dist/chunk-HKET3ZOI.js +381 -0
- package/dist/chunk-HKET3ZOI.js.map +1 -0
- package/dist/{chunk-YOI3ELXF.js → chunk-IF362TF6.js} +2 -2
- package/dist/{chunk-WIKNVFBS.js → chunk-J45OCIVH.js} +2 -2
- package/dist/{chunk-UDJLF3BO.js → chunk-JI6HWBYL.js} +2 -2
- package/dist/{chunk-ECZPWSB5.js → chunk-JJT3AGL4.js} +4 -4
- package/dist/{chunk-RHWFMBO5.js → chunk-JMAKCWJ3.js} +96 -7
- package/dist/chunk-JMAKCWJ3.js.map +1 -0
- package/dist/{chunk-4NFVPDIL.js → chunk-LM6JB2EG.js} +2 -2
- package/dist/{chunk-AFWEUTMS.js → chunk-LPIWEKZ3.js} +2 -2
- package/dist/{chunk-LD53WPMU.js → chunk-LQ6JI4VH.js} +4 -4
- package/dist/{chunk-U2OBZSGG.js → chunk-MNFAGE5D.js} +2 -2
- package/dist/{chunk-VFVG4NS2.js → chunk-MOBRVKWE.js} +23 -12
- package/dist/chunk-MOBRVKWE.js.map +1 -0
- package/dist/{chunk-MQTPUPLP.js → chunk-N4PD5IY3.js} +834 -51
- package/dist/chunk-N4PD5IY3.js.map +1 -0
- package/dist/{chunk-5HGPDRQZ.js → chunk-NFMDHE45.js} +2 -2
- package/dist/chunk-NFMDHE45.js.map +1 -0
- package/dist/{chunk-MCV2DD6F.js → chunk-NLZO5NO6.js} +2 -2
- package/dist/{chunk-3VVH6ZQW.js → chunk-Q6ZHGGNJ.js} +2 -2
- package/dist/{chunk-4IQNAOP3.js → chunk-Q7SFJURX.js} +2 -2
- package/dist/{chunk-MXZWKOOR.js → chunk-QJM2XAJD.js} +11 -11
- package/dist/{chunk-6ZNIUGXB.js → chunk-QQW2LIEA.js} +4 -4
- package/dist/{chunk-GCOSQBQ2.js → chunk-QVTSLRKT.js} +3 -3
- package/dist/{chunk-F7BVJ3IE.js → chunk-RWST6NOL.js} +166 -102
- package/dist/chunk-RWST6NOL.js.map +1 -0
- package/dist/{chunk-NUZ3N445.js → chunk-SPVIG2R3.js} +10 -10
- package/dist/{chunk-2D27ODNX.js → chunk-TIVZ4MCG.js} +2 -2
- package/dist/{chunk-5KBNNUXS.js → chunk-TT7BJWGI.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-E6BOD3UJ.js → chunk-VPAFWWCL.js} +2 -2
- package/dist/chunk-VQ7B2Q6M.js +112 -0
- package/dist/chunk-VQ7B2Q6M.js.map +1 -0
- package/dist/{chunk-UOCLRM74.js → chunk-W54EAJT4.js} +2 -2
- package/dist/{chunk-QVG4LAQO.js → chunk-WR6KFJKA.js} +7 -7
- package/dist/{chunk-YQGHW5ML.js → chunk-WRFKZEO6.js} +4 -4
- package/dist/{chunk-WYB44HHV.js → chunk-XUNQLJT2.js} +20 -8
- package/dist/chunk-XUNQLJT2.js.map +1 -0
- package/dist/{chunk-66HROLW5.js → chunk-XWT4JXXA.js} +2 -2
- package/dist/{chunk-SAC5V6JT.js → chunk-XXA6T3O4.js} +2 -2
- package/dist/{chunk-KF74X62T.js → chunk-YGKUAX2B.js} +4 -4
- package/dist/{chunk-W4ELOUNX.js → chunk-YOZNTNNA.js} +2 -2
- package/dist/{chunk-DQHZA7Y3.js → chunk-ZXUOAFUG.js} +1 -1
- package/dist/chunk-ZXUOAFUG.js.map +1 -0
- package/dist/{cli-DoQsv4ut.d.ts → cli-DBDgdvh9.d.ts} +3 -3
- package/dist/cli.d.ts +11 -10
- package/dist/cli.js +58 -50
- package/dist/coding/optional-coding-graph.js +7 -104
- package/dist/coding/optional-coding-graph.js.map +1 -1
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +12 -5
- 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 +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +12 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +12 -5
- package/dist/consolidation-provenance-check.d.ts +3 -3
- package/dist/consolidation-undo.d.ts +2 -2
- 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 +13 -5
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -8
- package/dist/extraction-faithfulness.d.ts +211 -0
- package/dist/extraction-faithfulness.js +35 -0
- 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-judge.js +4 -4
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +7 -7
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{graph-edge-decay-D7OESCBR.js → graph-edge-decay-JLOF3YW4.js} +3 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.js +2 -2
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +12 -11
- package/dist/index.js +101 -99
- 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/index.js +3 -3
- 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 +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +13 -5
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -5
- package/dist/maintenance/rebuild-memory-projection.js +14 -6
- package/dist/mcp-memory-inspector-app.d.ts +12 -11
- 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 +20 -12
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +13 -5
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +26 -19
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +15 -7
- package/dist/{orchestrator-CNJCYjZ1.d.ts → orchestrator-Dv8JQu3-.d.ts} +20 -3
- package/dist/orchestrator.d.ts +6 -5
- package/dist/orchestrator.js +47 -46
- 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-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-planner-llm.js +2 -2
- 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 +2 -2
- 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/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +5 -5
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/orama-backend.js +2 -2
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-D5U0Mrdb.d.ts → semantic-consolidation-CgREi9E0.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +13 -6
- package/dist/semantic-rule-promotion.js +13 -5
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +13 -5
- 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/{state-NCHQ4TRG.js → state-ITXJKXRE.js} +2 -2
- package/dist/storage.d.ts +11 -1
- package/dist/storage.js +12 -4
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +6 -6
- 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/{trace-WM7V4CKI.js → trace-ZFVRH4GO.js} +3 -3
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/{tui-RI7P6PBS.js → tui-55UJMJX7.js} +3 -3
- package/dist/tui-55UJMJX7.js.map +1 -0
- package/dist/{types-2NoBoRBM.d.ts → types-CeZYSC-E.d.ts} +51 -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 +13 -5
- package/package.json +2 -2
- package/src/access-boundary.ts +17 -0
- package/src/access-http.ts +27 -3
- package/src/access-mcp.ts +99 -2
- package/src/access-operations.ts +259 -0
- package/src/access-service.ts +82 -0
- package/src/access-surface-catalog.test.ts +1 -1
- package/src/access-surface-catalog.ts +15 -0
- package/src/cli.ts +1 -0
- package/src/coding/architecture-surfaces.test.ts +2 -0
- package/src/coding/codegraph-runtime.ts +773 -0
- package/src/coding/codegraph-surfaces.test.ts +880 -0
- package/src/coding/codegraph-surfaces.ts +771 -0
- package/src/coding/coding-knowledge-config.ts +7 -0
- package/src/coding/decision-surfaces.test.ts +2 -0
- package/src/coding/session-delta-surfaces.test.ts +2 -0
- package/src/config.test.ts +18 -0
- package/src/config.ts +30 -0
- package/src/console/state.ts +32 -0
- package/src/extraction-faithfulness.test.ts +1112 -0
- package/src/extraction-faithfulness.ts +993 -0
- package/src/faithfulness-graph-guard.test.ts +252 -0
- package/src/local-llm.ts +1 -0
- package/src/orchestrator.ts +169 -45
- package/src/storage.ts +19 -0
- package/src/types.ts +61 -0
- package/dist/chunk-5HGPDRQZ.js.map +0 -1
- package/dist/chunk-DQHZA7Y3.js.map +0 -1
- package/dist/chunk-F7BVJ3IE.js.map +0 -1
- package/dist/chunk-JNKH2XWQ.js +0 -183
- package/dist/chunk-JNKH2XWQ.js.map +0 -1
- package/dist/chunk-MQTPUPLP.js.map +0 -1
- package/dist/chunk-RHWFMBO5.js.map +0 -1
- package/dist/chunk-THKNO6OX.js.map +0 -1
- package/dist/chunk-TYEOAFH3.js.map +0 -1
- package/dist/chunk-UPTZYUYJ.js.map +0 -1
- package/dist/chunk-UTUYAPLY.js.map +0 -1
- package/dist/chunk-VFVG4NS2.js.map +0 -1
- package/dist/chunk-WYB44HHV.js.map +0 -1
- /package/dist/{auto-sync-RWXT6P5M.js.map → auto-sync-PFW2NJZY.js.map} +0 -0
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-YN4ZT4CW.js.map → chunk-3LYJIA76.js.map} +0 -0
- /package/dist/{chunk-ADUAF5EV.js.map → chunk-3P2XEQSV.js.map} +0 -0
- /package/dist/{chunk-KYH53EFD.js.map → chunk-4NNDJOAO.js.map} +0 -0
- /package/dist/{chunk-QFG23CRE.js.map → chunk-52QIAN76.js.map} +0 -0
- /package/dist/{chunk-TAPSNIMA.js.map → chunk-5CEJH5ZN.js.map} +0 -0
- /package/dist/{chunk-4RGWCRIJ.js.map → chunk-5TYA4OCF.js.map} +0 -0
- /package/dist/{chunk-FM7KLRKN.js.map → chunk-6GAUF4OU.js.map} +0 -0
- /package/dist/{chunk-6C2BMUZA.js.map → chunk-AF6DSAWD.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-32KD5IHZ.js.map → chunk-CLXTDOKV.js.map} +0 -0
- /package/dist/{chunk-ARV3AUOM.js.map → chunk-DL6H3D7S.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-3BRA3N5A.js.map → chunk-EC3A6M43.js.map} +0 -0
- /package/dist/{chunk-ZLXGFAML.js.map → chunk-FZMH66NT.js.map} +0 -0
- /package/dist/{chunk-HXNMDPHN.js.map → chunk-G663XUEG.js.map} +0 -0
- /package/dist/{chunk-YOI3ELXF.js.map → chunk-IF362TF6.js.map} +0 -0
- /package/dist/{chunk-WIKNVFBS.js.map → chunk-J45OCIVH.js.map} +0 -0
- /package/dist/{chunk-UDJLF3BO.js.map → chunk-JI6HWBYL.js.map} +0 -0
- /package/dist/{chunk-ECZPWSB5.js.map → chunk-JJT3AGL4.js.map} +0 -0
- /package/dist/{chunk-4NFVPDIL.js.map → chunk-LM6JB2EG.js.map} +0 -0
- /package/dist/{chunk-AFWEUTMS.js.map → chunk-LPIWEKZ3.js.map} +0 -0
- /package/dist/{chunk-LD53WPMU.js.map → chunk-LQ6JI4VH.js.map} +0 -0
- /package/dist/{chunk-U2OBZSGG.js.map → chunk-MNFAGE5D.js.map} +0 -0
- /package/dist/{chunk-MCV2DD6F.js.map → chunk-NLZO5NO6.js.map} +0 -0
- /package/dist/{chunk-3VVH6ZQW.js.map → chunk-Q6ZHGGNJ.js.map} +0 -0
- /package/dist/{chunk-4IQNAOP3.js.map → chunk-Q7SFJURX.js.map} +0 -0
- /package/dist/{chunk-MXZWKOOR.js.map → chunk-QJM2XAJD.js.map} +0 -0
- /package/dist/{chunk-6ZNIUGXB.js.map → chunk-QQW2LIEA.js.map} +0 -0
- /package/dist/{chunk-GCOSQBQ2.js.map → chunk-QVTSLRKT.js.map} +0 -0
- /package/dist/{chunk-NUZ3N445.js.map → chunk-SPVIG2R3.js.map} +0 -0
- /package/dist/{chunk-2D27ODNX.js.map → chunk-TIVZ4MCG.js.map} +0 -0
- /package/dist/{chunk-5KBNNUXS.js.map → chunk-TT7BJWGI.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-E6BOD3UJ.js.map → chunk-VPAFWWCL.js.map} +0 -0
- /package/dist/{chunk-UOCLRM74.js.map → chunk-W54EAJT4.js.map} +0 -0
- /package/dist/{chunk-QVG4LAQO.js.map → chunk-WR6KFJKA.js.map} +0 -0
- /package/dist/{chunk-YQGHW5ML.js.map → chunk-WRFKZEO6.js.map} +0 -0
- /package/dist/{chunk-66HROLW5.js.map → chunk-XWT4JXXA.js.map} +0 -0
- /package/dist/{chunk-SAC5V6JT.js.map → chunk-XXA6T3O4.js.map} +0 -0
- /package/dist/{chunk-KF74X62T.js.map → chunk-YGKUAX2B.js.map} +0 -0
- /package/dist/{chunk-W4ELOUNX.js.map → chunk-YOZNTNNA.js.map} +0 -0
- /package/dist/{state-NCHQ4TRG.js.map → extraction-faithfulness.js.map} +0 -0
- /package/dist/{graph-edge-decay-D7OESCBR.js.map → graph-edge-decay-JLOF3YW4.js.map} +0 -0
- /package/dist/{tui-RI7P6PBS.js.map → state-ITXJKXRE.js.map} +0 -0
- /package/dist/{trace-WM7V4CKI.js.map → trace-ZFVRH4GO.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
2
|
import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
|
|
3
3
|
import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
|
|
4
|
-
import { P as PluginConfig,
|
|
4
|
+
import { P as PluginConfig, aw as ScopeProfileLayerId, ax as ScopeProfilePromotionTarget, ai as DaySummaryResult, J as RecallPlanMode, N as RecallDisclosure, g as MemoryFile, n as MemoryLifecycleEvent, y as EntityFile, h as MemoryStatus, ay as DreamsStatusResult, az as DreamsPhase, aA as DreamsRunResult } from './types-CeZYSC-E.js';
|
|
5
5
|
import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
|
|
6
6
|
import { ExplicitCaptureInput } from './explicit-capture.js';
|
|
7
7
|
import { BudgetDecision } from './cross-namespace-budget.js';
|
|
8
8
|
import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
|
|
9
|
-
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-
|
|
9
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-Dv8JQu3-.js';
|
|
10
10
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
11
11
|
import { LastRecallSnapshot } from './recall-state.js';
|
|
12
12
|
import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
|
|
@@ -75,6 +75,17 @@ interface ConsoleDaemonInfo {
|
|
|
75
75
|
/** Package / daemon version (best-effort). */
|
|
76
76
|
version: string;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Faithfulness gate verdict distribution (issue #1576). Surfaced via
|
|
80
|
+
* console_state so `remnic doctor` can render how the gate is performing.
|
|
81
|
+
*/
|
|
82
|
+
interface ConsoleFaithfulnessDistribution {
|
|
83
|
+
entailed: number;
|
|
84
|
+
contradicted: number;
|
|
85
|
+
unsupported: number;
|
|
86
|
+
unchecked: number;
|
|
87
|
+
skippedNoSpan: number;
|
|
88
|
+
}
|
|
78
89
|
interface ConsoleStateSnapshot {
|
|
79
90
|
/** ISO-8601 capture timestamp. */
|
|
80
91
|
capturedAt: string;
|
|
@@ -84,6 +95,8 @@ interface ConsoleStateSnapshot {
|
|
|
84
95
|
maintenanceLedgerTail: ConsoleMaintenanceLedgerEvent[];
|
|
85
96
|
qmdProbe: ConsoleQmdProbeState;
|
|
86
97
|
daemon: ConsoleDaemonInfo;
|
|
98
|
+
/** Faithfulness gate distribution (issue #1576). Absent when the gate is off. */
|
|
99
|
+
faithfulness?: ConsoleFaithfulnessDistribution;
|
|
87
100
|
/**
|
|
88
101
|
* Subsystem read errors. One entry per failed reader keyed by
|
|
89
102
|
* subsystem name (e.g. `"bufferState: ..."`). An empty array means
|
|
@@ -219,6 +232,75 @@ type ArchitectureSurfaceResponse = {
|
|
|
219
232
|
buildCode?: string;
|
|
220
233
|
};
|
|
221
234
|
|
|
235
|
+
/**
|
|
236
|
+
* Codegraph parity surface contract + handler (issue #1554).
|
|
237
|
+
*
|
|
238
|
+
* Mirrors the decision-surfaces.ts / architecture-surfaces.ts pattern: one
|
|
239
|
+
* shared implementation behind the MCP, HTTP, and CLI surfaces. All three
|
|
240
|
+
* transports dispatch through the `codegraph_*` boundary operations, which
|
|
241
|
+
* call {@link handleCodegraphTool} via the service delegate.
|
|
242
|
+
*
|
|
243
|
+
* Gate (rule 39): `codingKnowledge.enabled + codegraphTools + runtime
|
|
244
|
+
* availability` -- one predicate (`codegraphSurfaceVisible`), checked
|
|
245
|
+
* identically on every surface. The tools/list visibility gate uses the
|
|
246
|
+
* config-only predicate; the call-time gate re-checks config AND runtime
|
|
247
|
+
* availability AND (for tools that touch a per-session project) a coding
|
|
248
|
+
* context.
|
|
249
|
+
*
|
|
250
|
+
* Reuse, don't fork (rule 22): `manage_adr` reuses Track A's decision
|
|
251
|
+
* records (`coding/decision-records.ts`); `get_architecture` composes
|
|
252
|
+
* Track A's architecture card with live graph stats. Zero duplicated ADR
|
|
253
|
+
* or architecture-card logic.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
declare const CODEGRAPH_TOOL_NAMES: readonly ["index", "list_projects", "delete_project", "index_status", "search_graph", "trace_path", "detect_changes", "query_graph", "get_schema", "get_snippet", "get_architecture", "search_code", "manage_adr", "ingest_traces"];
|
|
257
|
+
type CodegraphToolName = (typeof CODEGRAPH_TOOL_NAMES)[number];
|
|
258
|
+
/**
|
|
259
|
+
* Canonical surface request — one shape for all three transports. `tool`
|
|
260
|
+
* selects which codegraph operation runs; `sessionKey`/`principal`/`project`
|
|
261
|
+
* scope the per-project GraphStore lookup; remaining fields are
|
|
262
|
+
* tool-specific and validated by the handler.
|
|
263
|
+
*/
|
|
264
|
+
interface CodegraphSurfaceRequest {
|
|
265
|
+
readonly tool: CodegraphToolName;
|
|
266
|
+
readonly sessionKey?: string;
|
|
267
|
+
readonly principal?: string;
|
|
268
|
+
/** Explicit project id; defaults to the session's coding-context projectId. */
|
|
269
|
+
readonly project?: string;
|
|
270
|
+
readonly query?: string;
|
|
271
|
+
readonly limit?: number;
|
|
272
|
+
readonly start?: string;
|
|
273
|
+
readonly direction?: string;
|
|
274
|
+
readonly depth?: number;
|
|
275
|
+
readonly qualifiedName?: string;
|
|
276
|
+
readonly path?: string;
|
|
277
|
+
readonly structuredQuery?: Record<string, unknown>;
|
|
278
|
+
readonly head?: string;
|
|
279
|
+
readonly repoRoot?: string;
|
|
280
|
+
readonly mode?: string;
|
|
281
|
+
readonly confirm?: boolean;
|
|
282
|
+
readonly subcommand?: string;
|
|
283
|
+
readonly id?: string;
|
|
284
|
+
readonly title?: string;
|
|
285
|
+
readonly status?: string;
|
|
286
|
+
readonly context?: string;
|
|
287
|
+
readonly decision?: string;
|
|
288
|
+
readonly consequences?: string;
|
|
289
|
+
readonly entityRefs?: string[];
|
|
290
|
+
readonly supersedesId?: string;
|
|
291
|
+
readonly traces?: unknown[];
|
|
292
|
+
}
|
|
293
|
+
type CodegraphSurfaceResponse = {
|
|
294
|
+
tool: CodegraphToolName;
|
|
295
|
+
ok: true;
|
|
296
|
+
result: unknown;
|
|
297
|
+
} | {
|
|
298
|
+
tool: CodegraphToolName;
|
|
299
|
+
ok: false;
|
|
300
|
+
code: string;
|
|
301
|
+
message: string;
|
|
302
|
+
};
|
|
303
|
+
|
|
222
304
|
/** Persisted marker: the HEAD we last computed a delta against, and when. */
|
|
223
305
|
interface LastSeenState {
|
|
224
306
|
/** HEAD SHA at the time of the last delta. */
|
|
@@ -1323,6 +1405,14 @@ declare class EngramAccessService {
|
|
|
1323
1405
|
peekSuggestionSubmitIdempotency(request: EngramAccessSuggestionSubmitRequest): Promise<EngramAccessIdempotencyStatus>;
|
|
1324
1406
|
private validateWriteCandidate;
|
|
1325
1407
|
memoryGet(memoryId: string, namespace?: string, principal?: string): Promise<EngramAccessMemoryResponse>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Codegraph parity tool delegate (issue #1554). All three surfaces (MCP,
|
|
1410
|
+
* HTTP, CLI) arrive here via the codegraph_* boundary operations. The
|
|
1411
|
+
* handler lives in coding/codegraph-surfaces.ts; this method just wires
|
|
1412
|
+
* the context. Memory dir + principal + coding-context lookup come from
|
|
1413
|
+
* the orchestrator/access-service fabric -- no handler-side state.
|
|
1414
|
+
*/
|
|
1415
|
+
codegraphTool(request: CodegraphSurfaceRequest, authenticatedPrincipal?: string): Promise<CodegraphSurfaceResponse>;
|
|
1326
1416
|
/** Whether the coding_decision tool should appear in tools/list (rule 39). */
|
|
1327
1417
|
get decisionRecordSurfaceVisible(): boolean;
|
|
1328
1418
|
/**
|
|
@@ -1335,6 +1425,12 @@ declare class EngramAccessService {
|
|
|
1335
1425
|
codingDecision(request: DecisionSurfaceRequest, authenticatedPrincipal?: string): Promise<DecisionSurfaceResponse>;
|
|
1336
1426
|
/** Whether the coding_architecture tool should appear in tools/list (rule 39). */
|
|
1337
1427
|
get architectureCardSurfaceVisible(): boolean;
|
|
1428
|
+
/**
|
|
1429
|
+
* Whether the 14 codegraph parity tools should appear in tools/list
|
|
1430
|
+
* (rule 39). Config-only -- runtime availability is checked at call time.
|
|
1431
|
+
* When false the tools array is byte-identical to pre-feature.
|
|
1432
|
+
*/
|
|
1433
|
+
get codegraphSurfaceVisible(): boolean;
|
|
1338
1434
|
/**
|
|
1339
1435
|
* Thin delegate — handler logic in coding/architecture-surfaces.ts (#1548 PR3).
|
|
1340
1436
|
* All three surfaces (MCP/HTTP/CLI) arrive here via the boundary operation.
|
|
@@ -2117,4 +2213,4 @@ declare class EngramAccessService {
|
|
|
2117
2213
|
}): Promise<Awaited<ReturnType<WearablesService["transcriptMemories"]>>>;
|
|
2118
2214
|
}
|
|
2119
2215
|
|
|
2120
|
-
export { type
|
|
2216
|
+
export { type EngramAccessOfflineSyncFilesRequest as $, type ArchitectureSurfaceRequest as A, type EngramAccessLcmCompactionFlushRequest as B, type CodegraphSurfaceRequest as C, type DecisionSurfaceRequest as D, type EngramAccessMemoryResponse as E, type EngramAccessLcmCompactionFlushResponse as F, type EngramAccessLcmCompactionRecordRequest as G, type EngramAccessLcmCompactionRecordResponse as H, type EngramAccessLcmSearchRequest as I, type EngramAccessLcmSearchResponse as J, type EngramAccessLcmStatusResponse as K, type EngramAccessMaintenanceResponse as L, type EngramAccessMemoryBrowseRequest as M, type EngramAccessMemoryBrowseResponse as N, type EngramAccessMemoryRecord as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessMemoryStoreRequest as Q, type EngramAccessMemorySummary as R, type EngramAccessObserveMessage as S, type EngramAccessObserveRequest as T, type EngramAccessObserveResponse as U, type EngramAccessOfflineSyncApplyFileContentRequest as V, type EngramAccessOfflineSyncApplyFileContentResponse as W, type EngramAccessOfflineSyncApplyRequest as X, type EngramAccessOfflineSyncApplyResponse as Y, type EngramAccessOfflineSyncFileContentRequest as Z, type EngramAccessOfflineSyncFileContentResponse as _, type ArchitectureSurfaceResponse as a, type EngramAccessOfflineSyncFilesResponse as a0, type EngramAccessOfflineSyncSnapshotRequest as a1, type EngramAccessOfflineSyncSnapshotResponse as a2, type EngramAccessOfflineSyncSnapshotStreamResponse as a3, type EngramAccessQmdCollectionState as a4, type EngramAccessQmdHealthResponse as a5, type EngramAccessQualityResponse as a6, type EngramAccessRecallExplainRequest as a7, type EngramAccessRecallExplainResponse as a8, type EngramAccessRecallRequest as a9, type EngramAccessReviewDispositionRequest as aa, type EngramAccessReviewDispositionResponse as ab, type EngramAccessReviewQueueResponse as ac, type EngramAccessScopeDebug as ad, type EngramAccessSetCodingContextRequest as ae, type EngramAccessSuggestionSubmitRequest as af, type EngramAccessTimelineResponse as ag, type EngramAccessTrustZoneBrowseRequest as ah, type EngramAccessTrustZoneBrowseResponse as ai, type EngramAccessTrustZoneDemoSeedRequest as aj, type EngramAccessTrustZoneDemoSeedResponse as ak, type EngramAccessTrustZonePromoteRequest as al, type EngramAccessTrustZonePromoteResponse as am, type EngramAccessTrustZoneRecordSummary as an, type EngramAccessTrustZoneStatusResponse as ao, type EngramAccessWriteEnvelope as ap, type MemoryScopePlan as aq, shapeMemorySummary as ar, type DecisionSurfaceResponse as b, type DeltaSurfaceRequest as c, type DeltaSurfaceResponse as d, type EngramAccessWriteResponse as e, type CodegraphSurfaceResponse as f, EngramAccessService as g, type EngramAccessRecallResponse as h, EngramAccessInputError as i, type ProcedureStatsRecent as j, type ProcedureStatsReport as k, type ProcedureStatusCounts as l, computeProcedureStats as m, formatProcedureStatsText as n, type CodingScopedWriteInput as o, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as p, type EngramAccessActionConfidenceRequest as q, type EngramAccessActionConfidenceResponse as r, type EngramAccessBriefingRequest as s, type EngramAccessBriefingResponse as t, type EngramAccessCapsuleListResponse as u, type EngramAccessDaySummaryRequest as v, type EngramAccessEntityListResponse as w, type EngramAccessEntityResponse as x, type EngramAccessEntitySummary as y, type EngramAccessHealthResponse as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './storage.js';
|
|
2
2
|
import './types-B1VHaf2w.js';
|
|
3
|
-
export {
|
|
3
|
+
export { o as CodingScopedWriteInput, p as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, q as EngramAccessActionConfidenceRequest, r as EngramAccessActionConfidenceResponse, s as EngramAccessBriefingRequest, t as EngramAccessBriefingResponse, u as EngramAccessCapsuleListResponse, v as EngramAccessDaySummaryRequest, w as EngramAccessEntityListResponse, x as EngramAccessEntityResponse, y as EngramAccessEntitySummary, z as EngramAccessHealthResponse, i as EngramAccessInputError, B as EngramAccessLcmCompactionFlushRequest, F as EngramAccessLcmCompactionFlushResponse, G as EngramAccessLcmCompactionRecordRequest, H as EngramAccessLcmCompactionRecordResponse, I as EngramAccessLcmSearchRequest, J as EngramAccessLcmSearchResponse, K as EngramAccessLcmStatusResponse, L as EngramAccessMaintenanceResponse, M as EngramAccessMemoryBrowseRequest, N as EngramAccessMemoryBrowseResponse, O as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, Q as EngramAccessMemoryStoreRequest, R as EngramAccessMemorySummary, S as EngramAccessObserveMessage, T as EngramAccessObserveRequest, U as EngramAccessObserveResponse, V as EngramAccessOfflineSyncApplyFileContentRequest, W as EngramAccessOfflineSyncApplyFileContentResponse, X as EngramAccessOfflineSyncApplyRequest, Y as EngramAccessOfflineSyncApplyResponse, Z as EngramAccessOfflineSyncFileContentRequest, _ as EngramAccessOfflineSyncFileContentResponse, $ as EngramAccessOfflineSyncFilesRequest, a0 as EngramAccessOfflineSyncFilesResponse, a1 as EngramAccessOfflineSyncSnapshotRequest, a2 as EngramAccessOfflineSyncSnapshotResponse, a3 as EngramAccessOfflineSyncSnapshotStreamResponse, a4 as EngramAccessQmdCollectionState, a5 as EngramAccessQmdHealthResponse, a6 as EngramAccessQualityResponse, a7 as EngramAccessRecallExplainRequest, a8 as EngramAccessRecallExplainResponse, a9 as EngramAccessRecallRequest, h as EngramAccessRecallResponse, aa as EngramAccessReviewDispositionRequest, ab as EngramAccessReviewDispositionResponse, ac as EngramAccessReviewQueueResponse, ad as EngramAccessScopeDebug, g as EngramAccessService, ae as EngramAccessSetCodingContextRequest, af as EngramAccessSuggestionSubmitRequest, ag as EngramAccessTimelineResponse, ah as EngramAccessTrustZoneBrowseRequest, ai as EngramAccessTrustZoneBrowseResponse, aj as EngramAccessTrustZoneDemoSeedRequest, ak as EngramAccessTrustZoneDemoSeedResponse, al as EngramAccessTrustZonePromoteRequest, am as EngramAccessTrustZonePromoteResponse, an as EngramAccessTrustZoneRecordSummary, ao as EngramAccessTrustZoneStatusResponse, ap as EngramAccessWriteEnvelope, e as EngramAccessWriteResponse, aq as MemoryScopePlan, ar as shapeMemorySummary } from './access-service-BqBQeUJd.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-CeZYSC-E.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
7
|
import './explicit-capture.js';
|
|
8
8
|
import './cross-namespace-budget.js';
|
|
9
9
|
import './maintenance/memory-governance.js';
|
|
10
|
-
import './orchestrator-
|
|
10
|
+
import './orchestrator-Dv8JQu3-.js';
|
|
11
11
|
import './live-connectors-runner.js';
|
|
12
12
|
import './recall-state.js';
|
|
13
13
|
import './graph-snapshot.js';
|
|
@@ -36,14 +36,15 @@ import './user-model.js';
|
|
|
36
36
|
import './recall-audit.js';
|
|
37
37
|
import './briefing.js';
|
|
38
38
|
import './buffer.js';
|
|
39
|
+
import './extraction-faithfulness.js';
|
|
40
|
+
import './model-registry.js';
|
|
41
|
+
import './resolve-provider-secret.js';
|
|
39
42
|
import './transcript.js';
|
|
40
43
|
import './session-integrity.js';
|
|
41
44
|
import './summarizer.js';
|
|
42
|
-
import './model-registry.js';
|
|
43
|
-
import './resolve-provider-secret.js';
|
|
44
45
|
import './orchestration/maintenance.js';
|
|
45
46
|
import './namespaces/search.js';
|
|
46
|
-
import './catalog-
|
|
47
|
+
import './catalog-D7YDNNF7.js';
|
|
47
48
|
import './framework-CNDn2164.js';
|
|
48
49
|
import './relevance.js';
|
|
49
50
|
import './negative.js';
|
|
@@ -57,7 +58,7 @@ import './lcm/archive.js';
|
|
|
57
58
|
import './lcm/summarizer.js';
|
|
58
59
|
import './lcm/dag.js';
|
|
59
60
|
import './lcm/queue.js';
|
|
60
|
-
import './semantic-consolidation-
|
|
61
|
+
import './semantic-consolidation-CgREi9E0.js';
|
|
61
62
|
import './connectors/codex-materialize.js';
|
|
62
63
|
import './logger.js';
|
|
63
64
|
import './conversation-index/backend.js';
|
package/dist/access-service.js
CHANGED
|
@@ -3,33 +3,32 @@ import {
|
|
|
3
3
|
EngramAccessInputError,
|
|
4
4
|
EngramAccessService,
|
|
5
5
|
shapeMemorySummary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N4PD5IY3.js";
|
|
7
7
|
import "./chunk-GDASG7NC.js";
|
|
8
8
|
import "./chunk-GDB4J2H3.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-DL6H3D7S.js";
|
|
10
|
+
import "./chunk-VQ7B2Q6M.js";
|
|
11
|
+
import "./chunk-ERA5RSMZ.js";
|
|
12
12
|
import "./chunk-BT7NVCML.js";
|
|
13
13
|
import "./chunk-H7XKCNR6.js";
|
|
14
|
+
import "./chunk-TIVZ4MCG.js";
|
|
15
|
+
import "./chunk-SOBJ6NEY.js";
|
|
16
|
+
import "./chunk-XXA6T3O4.js";
|
|
14
17
|
import "./chunk-HRUULBBV.js";
|
|
15
18
|
import "./chunk-RS25QOKZ.js";
|
|
16
19
|
import "./chunk-JGSKJHF7.js";
|
|
17
20
|
import "./chunk-FF4KLI5W.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-6HMYUWXR.js";
|
|
22
|
-
import "./chunk-SAC5V6JT.js";
|
|
23
|
-
import "./chunk-E6BOD3UJ.js";
|
|
24
|
-
import "./chunk-6ZNIUGXB.js";
|
|
21
|
+
import "./chunk-LPIWEKZ3.js";
|
|
22
|
+
import "./chunk-VPAFWWCL.js";
|
|
23
|
+
import "./chunk-QQW2LIEA.js";
|
|
25
24
|
import "./chunk-SANZHXY2.js";
|
|
26
25
|
import "./chunk-EHISUJFN.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-5CEJH5ZN.js";
|
|
27
|
+
import "./chunk-WRFKZEO6.js";
|
|
29
28
|
import "./chunk-CYEPCZN5.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-CINZGPSJ.js";
|
|
29
|
+
import "./chunk-LQ6JI4VH.js";
|
|
32
30
|
import "./chunk-AER6MT24.js";
|
|
31
|
+
import "./chunk-CINZGPSJ.js";
|
|
33
32
|
import "./chunk-ZFXCQPNO.js";
|
|
34
33
|
import "./chunk-DCWIQFNA.js";
|
|
35
34
|
import "./chunk-XBZQRZ6G.js";
|
|
@@ -37,43 +36,52 @@ import "./chunk-KCQA46NR.js";
|
|
|
37
36
|
import "./chunk-SJHM6I4J.js";
|
|
38
37
|
import "./chunk-K43PI6DQ.js";
|
|
39
38
|
import "./chunk-YNQ6DFSV.js";
|
|
39
|
+
import "./chunk-BMFZLLNI.js";
|
|
40
|
+
import "./chunk-CI7RKSRE.js";
|
|
41
|
+
import "./chunk-6HMYUWXR.js";
|
|
40
42
|
import "./chunk-EIR5VLIH.js";
|
|
41
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-IF362TF6.js";
|
|
42
44
|
import "./chunk-EI6V5UXY.js";
|
|
43
45
|
import "./chunk-PNLCEFE4.js";
|
|
44
46
|
import "./chunk-O75CRYGF.js";
|
|
45
|
-
import "./chunk-U33LWTQQ.js";
|
|
46
47
|
import "./chunk-QDW3E4RD.js";
|
|
48
|
+
import "./chunk-U33LWTQQ.js";
|
|
47
49
|
import "./chunk-3ONXXHQO.js";
|
|
48
50
|
import "./chunk-ODPLEWB6.js";
|
|
49
51
|
import "./chunk-ZY2MNJR6.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-2LSZVONP.js";
|
|
52
|
+
import "./chunk-YGKUAX2B.js";
|
|
52
53
|
import "./chunk-DEUNUKTD.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-2LSZVONP.js";
|
|
55
|
+
import "./chunk-3LYJIA76.js";
|
|
56
|
+
import "./chunk-XWT4JXXA.js";
|
|
57
|
+
import "./chunk-MOBRVKWE.js";
|
|
56
58
|
import "./chunk-M7XQSUBB.js";
|
|
57
59
|
import "./chunk-5UZXUTVO.js";
|
|
58
60
|
import "./chunk-5GPPACXK.js";
|
|
59
61
|
import "./chunk-SVOZFLIQ.js";
|
|
60
62
|
import "./chunk-J6A3CX5N.js";
|
|
61
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-ZXUOAFUG.js";
|
|
64
|
+
import "./chunk-RULE4VG5.js";
|
|
62
65
|
import "./chunk-SCU65EZI.js";
|
|
63
66
|
import "./chunk-MB5RSUW6.js";
|
|
64
67
|
import "./chunk-6KYMPV2O.js";
|
|
65
68
|
import "./chunk-AWJ2FHCF.js";
|
|
66
69
|
import "./chunk-42JKGUFJ.js";
|
|
67
|
-
import "./chunk-RULE4VG5.js";
|
|
68
|
-
import "./chunk-LDXUBPMO.js";
|
|
69
70
|
import "./chunk-DM2T26WE.js";
|
|
71
|
+
import "./chunk-LDXUBPMO.js";
|
|
70
72
|
import "./chunk-FVQJYWH7.js";
|
|
73
|
+
import "./chunk-5AT62NQH.js";
|
|
71
74
|
import "./chunk-G7D6GZ5J.js";
|
|
72
75
|
import "./chunk-VF4XKTX3.js";
|
|
76
|
+
import "./chunk-5TYA4OCF.js";
|
|
77
|
+
import "./chunk-IQVQJJL7.js";
|
|
78
|
+
import "./chunk-VL7DP3OW.js";
|
|
79
|
+
import "./chunk-L2EXJQJP.js";
|
|
73
80
|
import "./chunk-RGMVMVMF.js";
|
|
74
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-RK6F44Y6.js";
|
|
82
|
+
import "./chunk-VDX2J7OX.js";
|
|
75
83
|
import "./chunk-WEHSQBFR.js";
|
|
76
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-DQEMWVMT.js";
|
|
77
85
|
import "./chunk-J4EB7DNW.js";
|
|
78
86
|
import "./chunk-BJMBJZ2Y.js";
|
|
79
87
|
import "./chunk-UKJAGEXH.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OperationName } from './access-boundary.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import './access-service-
|
|
3
|
+
import './access-service-BqBQeUJd.js';
|
|
4
4
|
import './storage.js';
|
|
5
|
-
import './
|
|
6
|
-
import './consolidation-operator.js';
|
|
7
|
-
import './types-2NoBoRBM.js';
|
|
5
|
+
import './types-CeZYSC-E.js';
|
|
8
6
|
import './types-ByK7T3L6.js';
|
|
9
7
|
import './index-DJ9QWMw-.js';
|
|
8
|
+
import './page-versioning.js';
|
|
9
|
+
import './consolidation-operator.js';
|
|
10
10
|
import './memory-projection-store.js';
|
|
11
11
|
import './maintenance/memory-governance.js';
|
|
12
12
|
import './runtime/better-sqlite.js';
|
|
@@ -22,19 +22,20 @@ import './user-model.js';
|
|
|
22
22
|
import './recall-audit-anomaly.js';
|
|
23
23
|
import './recall-audit.js';
|
|
24
24
|
import './explicit-capture.js';
|
|
25
|
-
import './orchestrator-
|
|
25
|
+
import './orchestrator-Dv8JQu3-.js';
|
|
26
26
|
import './briefing.js';
|
|
27
27
|
import './buffer.js';
|
|
28
|
-
import './
|
|
29
|
-
import './session-integrity.js';
|
|
30
|
-
import './summarizer.js';
|
|
31
|
-
import './model-registry.js';
|
|
28
|
+
import './extraction-faithfulness.js';
|
|
32
29
|
import './local-llm.js';
|
|
30
|
+
import './model-registry.js';
|
|
33
31
|
import './fallback-llm.js';
|
|
34
32
|
import './resolve-provider-secret.js';
|
|
33
|
+
import './transcript.js';
|
|
34
|
+
import './session-integrity.js';
|
|
35
|
+
import './summarizer.js';
|
|
35
36
|
import './orchestration/maintenance.js';
|
|
36
37
|
import './namespaces/search.js';
|
|
37
|
-
import './catalog-
|
|
38
|
+
import './catalog-D7YDNNF7.js';
|
|
38
39
|
import './live-connectors-runner.js';
|
|
39
40
|
import './framework-CNDn2164.js';
|
|
40
41
|
import './relevance.js';
|
|
@@ -50,7 +51,7 @@ import './lcm/archive.js';
|
|
|
50
51
|
import './lcm/summarizer.js';
|
|
51
52
|
import './lcm/dag.js';
|
|
52
53
|
import './lcm/queue.js';
|
|
53
|
-
import './semantic-consolidation-
|
|
54
|
+
import './semantic-consolidation-CgREi9E0.js';
|
|
54
55
|
import './connectors/codex-materialize.js';
|
|
55
56
|
import './logger.js';
|
|
56
57
|
import './conversation-index/backend.js';
|
|
@@ -27,6 +27,21 @@ var MCP_TOOLS = [
|
|
|
27
27
|
{ tool: "memory_store", operation: "memory_store" },
|
|
28
28
|
{ tool: "coding_decision", operation: "coding_decision" },
|
|
29
29
|
{ tool: "coding_architecture", operation: "coding_architecture" },
|
|
30
|
+
// codegraph parity tools (issue #1554)
|
|
31
|
+
{ tool: "codegraph_index", operation: "codegraph_index" },
|
|
32
|
+
{ tool: "codegraph_list_projects", operation: "codegraph_list_projects" },
|
|
33
|
+
{ tool: "codegraph_delete_project", operation: "codegraph_delete_project" },
|
|
34
|
+
{ tool: "codegraph_index_status", operation: "codegraph_index_status" },
|
|
35
|
+
{ tool: "codegraph_search_graph", operation: "codegraph_search_graph" },
|
|
36
|
+
{ tool: "codegraph_trace_path", operation: "codegraph_trace_path" },
|
|
37
|
+
{ tool: "codegraph_detect_changes", operation: "codegraph_detect_changes" },
|
|
38
|
+
{ tool: "codegraph_query_graph", operation: "codegraph_query_graph" },
|
|
39
|
+
{ tool: "codegraph_get_schema", operation: "codegraph_get_schema" },
|
|
40
|
+
{ tool: "codegraph_get_snippet", operation: "codegraph_get_snippet" },
|
|
41
|
+
{ tool: "codegraph_get_architecture", operation: "codegraph_get_architecture" },
|
|
42
|
+
{ tool: "codegraph_search_code", operation: "codegraph_search_code" },
|
|
43
|
+
{ tool: "codegraph_manage_adr", operation: "codegraph_manage_adr" },
|
|
44
|
+
{ tool: "codegraph_ingest_traces", operation: "codegraph_ingest_traces" },
|
|
30
45
|
{ tool: "coding_delta", operation: "coding_delta" },
|
|
31
46
|
{ tool: "suggestion_submit", operation: null },
|
|
32
47
|
{ tool: "entity_get", operation: null },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/access-surface-catalog.ts"],"sourcesContent":["/**\n * Static inventory of every handler on the MCP and HTTP access surfaces, with\n * its migration status against the access boundary (issue #1525).\n *\n * The fitness test (`access-surface-catalog.test.ts`) walks this catalog,\n * checks each entry against the live registry, and counts unmigrated handlers.\n * The ratchet (`scripts/check-ratchets.mjs`) reads this file and counts\n * `operation: null` entries so the unmigrated count can only decrease.\n *\n * WHEN MIGRATING A HANDLER (follow-up PRs):\n * 1. Add the operation to `access-operations.ts` via `defineOperation`.\n * 2. Flip its entry here from `operation: null` to `operation: \"<name>\"`.\n * 3. Delete the surface-local validation the handler used to do.\n * 4. Run `node scripts/check-ratchets.mjs --update` to ratchet the count\n * down — the improvement is recorded in `scripts/ratchet-baseline.json`.\n *\n * WHEN ADDING A NEW HANDLER:\n * 1. Add the entry here with `operation: null` (the fitness test will fail\n * until you either migrate it or acknowledge it as unmigrated).\n * 2. Migrate it in the same PR if it carries user input — the boundary's\n * whole point is that no new handler bypasses it.\n */\n\nimport type { OperationName } from \"./access-boundary.js\";\n\n/**\n * One row per MCP tool, keyed by the canonical SHORT name (no `engram.`/\n * `remnic.` prefix — both aliases dispatch to the same operation). The name\n * MUST match the tool's short suffix as advertised by `tools/list`.\n */\nexport interface McpToolEntry {\n readonly tool: string;\n readonly operation: OperationName | null;\n}\n\n/**\n * One row per HTTP route that invokes an access-service method. Routes that\n * only serve static assets, SSE streams, or admin console HTML are excluded —\n * they don't carry user-validated request envelopes into the facade.\n */\nexport interface HttpRouteEntry {\n readonly method: \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n readonly pathname: string;\n readonly operation: OperationName | null;\n}\n\n// Each tool below corresponds 1:1 to an `engram.*` definition in\n// `EngramMcpServer.tools` (access-mcp.ts). The fitness test asserts the live\n// `tools/list` response matches this list by short name, so a new tool cannot\n// land without either migrating it or acknowledging the unmigrated count.\nexport const MCP_TOOLS: readonly McpToolEntry[] = [\n { tool: \"recall\", operation: null },\n { tool: \"recall_explain\", operation: null },\n { tool: \"set_coding_context\", operation: null },\n { tool: \"recall_tier_explain\", operation: null },\n { tool: \"recall_xray\", operation: null },\n { tool: \"wearables_status\", operation: null },\n { tool: \"wearables_sync\", operation: null },\n { tool: \"transcript_day\", operation: null },\n { tool: \"transcript_search\", operation: null },\n { tool: \"transcript_memories\", operation: null },\n { tool: \"action_confidence\", operation: null },\n { tool: \"chatgpt_memory_inspector\", operation: null },\n { tool: \"day_summary\", operation: null },\n { tool: \"capsule_export\", operation: null },\n { tool: \"capsule_import\", operation: null },\n { tool: \"capsule_list\", operation: null },\n { tool: \"memory_governance_run\", operation: null },\n { tool: \"procedure_mining_run\", operation: null },\n { tool: \"pattern_reinforcement_run\", operation: null },\n { tool: \"procedural_stats\", operation: null },\n { tool: \"memory_get\", operation: \"memory_get\" },\n { tool: \"memory_timeline\", operation: null },\n { tool: \"memory_store\", operation: \"memory_store\" },\n { tool: \"coding_decision\", operation: \"coding_decision\" },\n { tool: \"coding_architecture\", operation: \"coding_architecture\" },\n { tool: \"coding_delta\", operation: \"coding_delta\" },\n { tool: \"suggestion_submit\", operation: null },\n { tool: \"entity_get\", operation: null },\n { tool: \"review_queue_list\", operation: null },\n { tool: \"observe\", operation: null },\n { tool: \"lcm_search\", operation: null },\n { tool: \"lcm_compaction_flush\", operation: null },\n { tool: \"lcm_compaction_record\", operation: null },\n { tool: \"continuity_audit_generate\", operation: null },\n { tool: \"continuity_incident_open\", operation: null },\n { tool: \"continuity_incident_close\", operation: null },\n { tool: \"continuity_incident_list\", operation: null },\n { tool: \"continuity_loop_add_or_update\", operation: null },\n { tool: \"continuity_loop_review\", operation: null },\n { tool: \"identity_anchor_get\", operation: null },\n { tool: \"identity_anchor_update\", operation: null },\n { tool: \"memory_identity\", operation: null },\n { tool: \"work_task\", operation: null },\n { tool: \"work_project\", operation: null },\n { tool: \"work_board\", operation: null },\n { tool: \"shared_context_write_output\", operation: null },\n { tool: \"shared_feedback_record\", operation: null },\n { tool: \"shared_priorities_append\", operation: null },\n { tool: \"shared_context_cross_signals_run\", operation: null },\n { tool: \"shared_context_curate_daily\", operation: null },\n { tool: \"compounding_weekly_synthesize\", operation: null },\n { tool: \"compounding_promote_candidate\", operation: null },\n { tool: \"compression_guidelines_optimize\", operation: null },\n { tool: \"compression_guidelines_activate\", operation: null },\n { tool: \"memory_search\", operation: \"memory_search\" },\n { tool: \"memory_profile\", operation: null },\n { tool: \"memory_entities_list\", operation: null },\n { tool: \"memory_questions\", operation: null },\n { tool: \"memory_last_recall\", operation: null },\n { tool: \"memory_intent_debug\", operation: null },\n { tool: \"memory_qmd_debug\", operation: null },\n { tool: \"memory_graph_explain\", operation: null },\n { tool: \"graph_snapshot\", operation: null },\n { tool: \"memory_feedback\", operation: null },\n { tool: \"memory_promote\", operation: null },\n { tool: \"memory_outcome\", operation: null },\n { tool: \"memory_action_apply\", operation: null },\n { tool: \"context_checkpoint\", operation: null },\n { tool: \"briefing\", operation: null },\n { tool: \"review_list\", operation: null },\n { tool: \"review_resolve\", operation: null },\n { tool: \"contradiction_scan_run\", operation: null },\n { tool: \"memory_summarize_hourly\", operation: null },\n { tool: \"conversation_index_update\", operation: null },\n { tool: \"profiling_report\", operation: null },\n { tool: \"graph_edge_decay_run\", operation: null },\n { tool: \"live_connectors_run\", operation: null },\n { tool: \"peer_list\", operation: null },\n { tool: \"peer_get\", operation: null },\n { tool: \"peer_set\", operation: null },\n { tool: \"peer_delete\", operation: null },\n { tool: \"peer_profile_get\", operation: null },\n { tool: \"peer_forget\", operation: null },\n { tool: \"console_state\", operation: null },\n { tool: \"dreams_status\", operation: null },\n { tool: \"dreams_run\", operation: null },\n];\n\n// Each route below corresponds 1:1 to a service-invoking route branch in\n// `EngramAccessHttpServer.handle` (access-http.ts). Pathname patterns use\n// `:param` for path segments. The fitness test asserts each entry resolves\n// against the catalog so a new service route cannot land without either\n// migrating it or acknowledging the unmigrated count. Infrastructure probes\n// (health, adapters, the /mcp delegate, admin console, SSE-only endpoints)\n// carry no user request envelope and are intentionally excluded.\nexport const HTTP_ROUTES: readonly HttpRouteEntry[] = [\n { method: \"POST\", pathname: \"/engram/v1/recall\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/coding-context\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/export\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/import\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot-stream\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/files\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply-file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/recall/explain\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/action-confidence\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/tier-explain\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/xray\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/wearables/sync\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcript\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcripts/search\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/memories\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/observe\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/search\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/flush\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/record\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/lcm/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/memories\", operation: \"memory_store\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/decisions\", operation: \"coding_decision\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/architecture\", operation: \"coding_architecture\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/delta\", operation: \"coding_delta\" },\n { method: \"POST\", pathname: \"/engram/v1/suggestions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id\", operation: \"memory_get\" },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id/timeline\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review-queue\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/maintenance\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/quality\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/status\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/procedural/stats\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/records\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review-disposition\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/promote\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/demo-seed\", operation: null },\n { method: \"POST\", pathname: \"/v1/citations/observed\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions/:id\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review/resolve\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/contradiction-scan\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/events\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/console/state\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id/profile\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"PUT\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"DELETE\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/dreams/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/dreams/run\", operation: null },\n];\n\n/**\n * Total unmigrated-handler count across both surfaces. The ratchet baseline\n * tracks this number; it may only decrease. `access-surface-catalog.test.ts`\n * recomputes it from the live catalog and asserts equality, so a catalog edit\n * without a baseline bump (or, ideally, a migration) fails the gate.\n */\nexport function countUnmigratedHandlers(): number {\n let count = 0;\n for (const entry of MCP_TOOLS) {\n if (entry.operation === null) count += 1;\n }\n for (const entry of HTTP_ROUTES) {\n if (entry.operation === null) count += 1;\n }\n return count;\n}\n"],"mappings":";;;AAkDO,IAAM,YAAqC;AAAA,EAChD,EAAE,MAAM,UAAU,WAAW,KAAK;AAAA,EAClC,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,sBAAsB,WAAW,KAAK;AAAA,EAC9C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,eAAe,WAAW,KAAK;AAAA,EACvC,EAAE,MAAM,oBAAoB,WAAW,KAAK;AAAA,EAC5C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,EAAE,MAAM,4BAA4B,WAAW,KAAK;AAAA,EACpD,EAAE,MAAM,eAAe,WAAW,KAAK;AAAA,EACvC,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,gBAAgB,WAAW,KAAK;AAAA,EACxC,EAAE,MAAM,yBAAyB,WAAW,KAAK;A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KAAK;AAAA,EACvE,EAAE,QAAQ,OAAO,UAAU,oBAAoB,WAAW,KAAK;AAAA,EAC/D,EAAE,QAAQ,OAAO,UAAU,gCAAgC,WAAW,KAAK;AAAA,EAC3E,EAAE,QAAQ,OAAO,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACnE,EAAE,QAAQ,OAAO,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACnE,EAAE,QAAQ,UAAU,UAAU,wBAAwB,WAAW,KAAK;AAAA,EACtE,EAAE,QAAQ,OAAO,UAAU,4BAA4B,WAAW,KAAK;AAAA,EACvE,EAAE,QAAQ,QAAQ,UAAU,yBAAyB,WAAW,KAAK;AACvE;AAQO,SAAS,0BAAkC;AAChD,MAAI,QAAQ;AACZ,aAAW,SAAS,WAAW;AAC7B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,aAAW,SAAS,aAAa;AAC/B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,SAAO;AACT;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/access-surface-catalog.ts"],"sourcesContent":["/**\n * Static inventory of every handler on the MCP and HTTP access surfaces, with\n * its migration status against the access boundary (issue #1525).\n *\n * The fitness test (`access-surface-catalog.test.ts`) walks this catalog,\n * checks each entry against the live registry, and counts unmigrated handlers.\n * The ratchet (`scripts/check-ratchets.mjs`) reads this file and counts\n * `operation: null` entries so the unmigrated count can only decrease.\n *\n * WHEN MIGRATING A HANDLER (follow-up PRs):\n * 1. Add the operation to `access-operations.ts` via `defineOperation`.\n * 2. Flip its entry here from `operation: null` to `operation: \"<name>\"`.\n * 3. Delete the surface-local validation the handler used to do.\n * 4. Run `node scripts/check-ratchets.mjs --update` to ratchet the count\n * down — the improvement is recorded in `scripts/ratchet-baseline.json`.\n *\n * WHEN ADDING A NEW HANDLER:\n * 1. Add the entry here with `operation: null` (the fitness test will fail\n * until you either migrate it or acknowledge it as unmigrated).\n * 2. Migrate it in the same PR if it carries user input — the boundary's\n * whole point is that no new handler bypasses it.\n */\n\nimport type { OperationName } from \"./access-boundary.js\";\n\n/**\n * One row per MCP tool, keyed by the canonical SHORT name (no `engram.`/\n * `remnic.` prefix — both aliases dispatch to the same operation). The name\n * MUST match the tool's short suffix as advertised by `tools/list`.\n */\nexport interface McpToolEntry {\n readonly tool: string;\n readonly operation: OperationName | null;\n}\n\n/**\n * One row per HTTP route that invokes an access-service method. Routes that\n * only serve static assets, SSE streams, or admin console HTML are excluded —\n * they don't carry user-validated request envelopes into the facade.\n */\nexport interface HttpRouteEntry {\n readonly method: \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n readonly pathname: string;\n readonly operation: OperationName | null;\n}\n\n// Each tool below corresponds 1:1 to an `engram.*` definition in\n// `EngramMcpServer.tools` (access-mcp.ts). The fitness test asserts the live\n// `tools/list` response matches this list by short name, so a new tool cannot\n// land without either migrating it or acknowledging the unmigrated count.\nexport const MCP_TOOLS: readonly McpToolEntry[] = [\n { tool: \"recall\", operation: null },\n { tool: \"recall_explain\", operation: null },\n { tool: \"set_coding_context\", operation: null },\n { tool: \"recall_tier_explain\", operation: null },\n { tool: \"recall_xray\", operation: null },\n { tool: \"wearables_status\", operation: null },\n { tool: \"wearables_sync\", operation: null },\n { tool: \"transcript_day\", operation: null },\n { tool: \"transcript_search\", operation: null },\n { tool: \"transcript_memories\", operation: null },\n { tool: \"action_confidence\", operation: null },\n { tool: \"chatgpt_memory_inspector\", operation: null },\n { tool: \"day_summary\", operation: null },\n { tool: \"capsule_export\", operation: null },\n { tool: \"capsule_import\", operation: null },\n { tool: \"capsule_list\", operation: null },\n { tool: \"memory_governance_run\", operation: null },\n { tool: \"procedure_mining_run\", operation: null },\n { tool: \"pattern_reinforcement_run\", operation: null },\n { tool: \"procedural_stats\", operation: null },\n { tool: \"memory_get\", operation: \"memory_get\" },\n { tool: \"memory_timeline\", operation: null },\n { tool: \"memory_store\", operation: \"memory_store\" },\n { tool: \"coding_decision\", operation: \"coding_decision\" },\n { tool: \"coding_architecture\", operation: \"coding_architecture\" },\n // codegraph parity tools (issue #1554)\n { tool: \"codegraph_index\", operation: \"codegraph_index\" },\n { tool: \"codegraph_list_projects\", operation: \"codegraph_list_projects\" },\n { tool: \"codegraph_delete_project\", operation: \"codegraph_delete_project\" },\n { tool: \"codegraph_index_status\", operation: \"codegraph_index_status\" },\n { tool: \"codegraph_search_graph\", operation: \"codegraph_search_graph\" },\n { tool: \"codegraph_trace_path\", operation: \"codegraph_trace_path\" },\n { tool: \"codegraph_detect_changes\", operation: \"codegraph_detect_changes\" },\n { tool: \"codegraph_query_graph\", operation: \"codegraph_query_graph\" },\n { tool: \"codegraph_get_schema\", operation: \"codegraph_get_schema\" },\n { tool: \"codegraph_get_snippet\", operation: \"codegraph_get_snippet\" },\n { tool: \"codegraph_get_architecture\", operation: \"codegraph_get_architecture\" },\n { tool: \"codegraph_search_code\", operation: \"codegraph_search_code\" },\n { tool: \"codegraph_manage_adr\", operation: \"codegraph_manage_adr\" },\n { tool: \"codegraph_ingest_traces\", operation: \"codegraph_ingest_traces\" },\n { tool: \"coding_delta\", operation: \"coding_delta\" },\n { tool: \"suggestion_submit\", operation: null },\n { tool: \"entity_get\", operation: null },\n { tool: \"review_queue_list\", operation: null },\n { tool: \"observe\", operation: null },\n { tool: \"lcm_search\", operation: null },\n { tool: \"lcm_compaction_flush\", operation: null },\n { tool: \"lcm_compaction_record\", operation: null },\n { tool: \"continuity_audit_generate\", operation: null },\n { tool: \"continuity_incident_open\", operation: null },\n { tool: \"continuity_incident_close\", operation: null },\n { tool: \"continuity_incident_list\", operation: null },\n { tool: \"continuity_loop_add_or_update\", operation: null },\n { tool: \"continuity_loop_review\", operation: null },\n { tool: \"identity_anchor_get\", operation: null },\n { tool: \"identity_anchor_update\", operation: null },\n { tool: \"memory_identity\", operation: null },\n { tool: \"work_task\", operation: null },\n { tool: \"work_project\", operation: null },\n { tool: \"work_board\", operation: null },\n { tool: \"shared_context_write_output\", operation: null },\n { tool: \"shared_feedback_record\", operation: null },\n { tool: \"shared_priorities_append\", operation: null },\n { tool: \"shared_context_cross_signals_run\", operation: null },\n { tool: \"shared_context_curate_daily\", operation: null },\n { tool: \"compounding_weekly_synthesize\", operation: null },\n { tool: \"compounding_promote_candidate\", operation: null },\n { tool: \"compression_guidelines_optimize\", operation: null },\n { tool: \"compression_guidelines_activate\", operation: null },\n { tool: \"memory_search\", operation: \"memory_search\" },\n { tool: \"memory_profile\", operation: null },\n { tool: \"memory_entities_list\", operation: null },\n { tool: \"memory_questions\", operation: null },\n { tool: \"memory_last_recall\", operation: null },\n { tool: \"memory_intent_debug\", operation: null },\n { tool: \"memory_qmd_debug\", operation: null },\n { tool: \"memory_graph_explain\", operation: null },\n { tool: \"graph_snapshot\", operation: null },\n { tool: \"memory_feedback\", operation: null },\n { tool: \"memory_promote\", operation: null },\n { tool: \"memory_outcome\", operation: null },\n { tool: \"memory_action_apply\", operation: null },\n { tool: \"context_checkpoint\", operation: null },\n { tool: \"briefing\", operation: null },\n { tool: \"review_list\", operation: null },\n { tool: \"review_resolve\", operation: null },\n { tool: \"contradiction_scan_run\", operation: null },\n { tool: \"memory_summarize_hourly\", operation: null },\n { tool: \"conversation_index_update\", operation: null },\n { tool: \"profiling_report\", operation: null },\n { tool: \"graph_edge_decay_run\", operation: null },\n { tool: \"live_connectors_run\", operation: null },\n { tool: \"peer_list\", operation: null },\n { tool: \"peer_get\", operation: null },\n { tool: \"peer_set\", operation: null },\n { tool: \"peer_delete\", operation: null },\n { tool: \"peer_profile_get\", operation: null },\n { tool: \"peer_forget\", operation: null },\n { tool: \"console_state\", operation: null },\n { tool: \"dreams_status\", operation: null },\n { tool: \"dreams_run\", operation: null },\n];\n\n// Each route below corresponds 1:1 to a service-invoking route branch in\n// `EngramAccessHttpServer.handle` (access-http.ts). Pathname patterns use\n// `:param` for path segments. The fitness test asserts each entry resolves\n// against the catalog so a new service route cannot land without either\n// migrating it or acknowledging the unmigrated count. Infrastructure probes\n// (health, adapters, the /mcp delegate, admin console, SSE-only endpoints)\n// carry no user request envelope and are intentionally excluded.\nexport const HTTP_ROUTES: readonly HttpRouteEntry[] = [\n { method: \"POST\", pathname: \"/engram/v1/recall\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/coding-context\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/export\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/capsules/import\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/offline-sync/snapshot-stream\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/files\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply-file-content\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/offline-sync/apply\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/recall/explain\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/action-confidence\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/tier-explain\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/recall/xray\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/wearables/sync\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcript\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/transcripts/search\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/wearables/memories\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/observe\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/search\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/flush\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/lcm/compaction/record\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/lcm/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/memories\", operation: \"memory_store\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/decisions\", operation: \"coding_decision\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/architecture\", operation: \"coding_architecture\" },\n { method: \"POST\", pathname: \"/engram/v1/coding/delta\", operation: \"coding_delta\" },\n { method: \"POST\", pathname: \"/engram/v1/suggestions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id\", operation: \"memory_get\" },\n { method: \"GET\", pathname: \"/engram/v1/memories/:id/timeline\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/entities/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review-queue\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/maintenance\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/quality\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/status\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/procedural/stats\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/trust-zones/records\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review-disposition\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/promote\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/trust-zones/demo-seed\", operation: null },\n { method: \"POST\", pathname: \"/v1/citations/observed\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/review/contradictions/:id\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/review/resolve\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/snapshot\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/contradiction-scan\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/graph/events\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/console/state\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id/profile\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"PUT\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"DELETE\", pathname: \"/engram/v1/peers/:id\", operation: null },\n { method: \"GET\", pathname: \"/engram/v1/dreams/status\", operation: null },\n { method: \"POST\", pathname: \"/engram/v1/dreams/run\", operation: null },\n];\n\n/**\n * Total unmigrated-handler count across both surfaces. The ratchet baseline\n * tracks this number; it may only decrease. `access-surface-catalog.test.ts`\n * recomputes it from the live catalog and asserts equality, so a catalog edit\n * without a baseline bump (or, ideally, a migration) fails the gate.\n */\nexport function countUnmigratedHandlers(): number {\n let count = 0;\n for (const entry of MCP_TOOLS) {\n if (entry.operation === null) count += 1;\n }\n for (const entry of HTTP_ROUTES) {\n if (entry.operation === null) count += 1;\n }\n return count;\n}\n"],"mappings":";;;AAkDO,IAAM,YAAqC;AAAA,EAChD,EAAE,MAAM,UAAU,WAAW,KAAK;AAAA,EAClC,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,sBAAsB,WAAW,KAAK;AAAA,EAC9C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,eAAe,WAAW,KAAK;AAAA,EACvC,EAAE,MAAM,oBAAoB,WAAW,KAAK;AAAA,EAC5C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,kBAAkB,WAAW,KAAK;AAAA,EAC1C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,EAAE,MAAM,uBAAuB,WAAW,KAAK;AAAA,EAC/C,EAAE,MAAM,qBAAqB,WAAW,KAAK;AAAA,EAC7C,EAAE,MAAM,4BAA4B,WAAW,KAAK;AAAA,EACpD,EAAE,MAAM,eAAe,WAAW,KAAK;AAAA,EACvC,EAA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yB,WAAW,KAAK;AACvE;AAQO,SAAS,0BAAkC;AAChD,MAAI,QAAQ;AACZ,aAAW,SAAS,WAAW;AAC7B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,aAAW,SAAS,aAAa;AAC/B,QAAI,MAAM,cAAc,KAAM,UAAS;AAAA,EACzC;AACA,SAAO;AACT;","names":[]}
|
package/dist/active-recall.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ActiveRecallChatType, a as ActiveRecallQueryMode, b as ActiveRecallPromptStyle, c as ActiveRecallThinking, d as ActiveRecallModelFallbackPolicy } from './types-
|
|
1
|
+
import { A as ActiveRecallChatType, a as ActiveRecallQueryMode, b as ActiveRecallPromptStyle, c as ActiveRecallThinking, d as ActiveRecallModelFallbackPolicy } from './types-CeZYSC-E.js';
|
|
2
2
|
import './types-ByK7T3L6.js';
|
|
3
3
|
import './index-DJ9QWMw-.js';
|
|
4
4
|
|
package/dist/active-recall.js
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dateInTimezone,
|
|
3
3
|
defaultTimezone
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TT7BJWGI.js";
|
|
5
|
+
import "./chunk-JJT3AGL4.js";
|
|
6
6
|
import "./chunk-JXS5PDQ7.js";
|
|
7
|
-
import "./chunk-4RGWCRIJ.js";
|
|
8
|
-
import "./chunk-IQVQJJL7.js";
|
|
9
|
-
import "./chunk-VL7DP3OW.js";
|
|
10
|
-
import "./chunk-L2EXJQJP.js";
|
|
11
|
-
import "./chunk-RK6F44Y6.js";
|
|
12
7
|
import "./chunk-NDAH7BJ5.js";
|
|
13
8
|
import {
|
|
14
9
|
describeErrorForOperator
|
|
@@ -16,7 +11,12 @@ import {
|
|
|
16
11
|
import "./chunk-QDW3E4RD.js";
|
|
17
12
|
import "./chunk-M7XQSUBB.js";
|
|
18
13
|
import "./chunk-6KYMPV2O.js";
|
|
14
|
+
import "./chunk-5TYA4OCF.js";
|
|
15
|
+
import "./chunk-IQVQJJL7.js";
|
|
16
|
+
import "./chunk-VL7DP3OW.js";
|
|
17
|
+
import "./chunk-L2EXJQJP.js";
|
|
19
18
|
import "./chunk-RGMVMVMF.js";
|
|
19
|
+
import "./chunk-RK6F44Y6.js";
|
|
20
20
|
import "./chunk-EYIEWJNI.js";
|
|
21
21
|
import "./chunk-JUC24CTX.js";
|
|
22
22
|
import "./chunk-NU3CSQ4H.js";
|
|
@@ -72,4 +72,4 @@ function startWearablesAutoSync(settings, deps) {
|
|
|
72
72
|
export {
|
|
73
73
|
startWearablesAutoSync
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=auto-sync-
|
|
75
|
+
//# sourceMappingURL=auto-sync-PFW2NJZY.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BehaviorSignalEvent, P as PluginConfig, e as BehaviorLoopPolicyState } from './types-
|
|
1
|
+
import { B as BehaviorSignalEvent, P as PluginConfig, e as BehaviorLoopPolicyState } from './types-CeZYSC-E.js';
|
|
2
2
|
import './types-ByK7T3L6.js';
|
|
3
3
|
import './index-DJ9QWMw-.js';
|
|
4
4
|
|