@remnic/core 9.4.1 → 9.5.0
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-admin-ops-surface.d.ts +5 -5
- package/dist/access-admin-ops-surface.js +26 -26
- package/dist/access-boundary.d.ts +26 -7
- package/dist/access-boundary.js +31 -27
- package/dist/access-cli.js +79 -77
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +51 -5
- package/dist/access-http.js +38 -36
- package/dist/access-identity-continuity-surface.d.ts +4 -4
- package/dist/access-identity-continuity-surface.js +26 -26
- package/dist/access-lcm-surface.d.ts +5 -5
- package/dist/access-lcm-surface.js +26 -26
- package/dist/access-mcp.d.ts +15 -5
- package/dist/access-mcp.js +35 -33
- package/dist/access-observe-write-surface.d.ts +5 -5
- package/dist/access-observe-write-surface.js +26 -26
- package/dist/access-operations-batch.js +31 -30
- package/dist/access-operations.d.ts +7 -7
- package/dist/access-operations.js +33 -32
- package/dist/access-recall-surface.d.ts +5 -5
- package/dist/access-recall-surface.js +26 -26
- package/dist/access-schema.js +4 -4
- package/dist/{access-service-m-2VO_Ig.d.ts → access-service-DZX0sYAv.d.ts} +3 -3
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +26 -26
- package/dist/access-surface-catalog.d.ts +5 -5
- package/dist/access-surface-catalog.js +1 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-token-capabilities.d.ts +174 -0
- package/dist/access-token-capabilities.js +33 -0
- 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/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-HMHQHUAG.js → auto-sync-G6IU7L6C.js} +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +7 -7
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-CZJSLEFG.js → capsule-crypto-RAARDY3M.js} +2 -2
- package/dist/capsule-crypto-RAARDY3M.js.map +1 -0
- package/dist/{catalog-BxWokdC2.d.ts → catalog-DoH2b0OR.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +5 -5
- package/dist/causal-chain.js +3 -3
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +11 -11
- package/dist/causal-retrieval.js +3 -3
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-7QWMTOIF.js → chunk-2B7DP7AP.js} +31 -31
- package/dist/{chunk-4BFRBP45.js → chunk-2JFDHI2K.js} +2 -2
- package/dist/{chunk-OHDJ34CC.js → chunk-2SFEFR5I.js} +2 -2
- package/dist/{chunk-E2SPGGUI.js → chunk-4OKLXWDZ.js} +13 -6
- package/dist/chunk-4OKLXWDZ.js.map +1 -0
- package/dist/{chunk-ILFJ7AVS.js → chunk-4WNLSSHL.js} +35 -21
- package/dist/chunk-4WNLSSHL.js.map +1 -0
- package/dist/{chunk-YDSWRD33.js → chunk-5K5VEDFY.js} +4 -4
- package/dist/{chunk-CZAZX7JP.js → chunk-7BAJAXGB.js} +4 -4
- package/dist/{chunk-CXLNZXG5.js → chunk-7XGSIUP5.js} +1 -1
- package/dist/{chunk-ZPOROUTX.js → chunk-AOYJVCFN.js} +5 -5
- package/dist/{chunk-IC6QX5TC.js → chunk-BGMSRN6I.js} +5 -5
- package/dist/{chunk-5QZDMSSN.js → chunk-CXEL3Y22.js} +70 -70
- package/dist/{chunk-M5QKGHCR.js → chunk-CYWCKFCL.js} +5 -5
- package/dist/{chunk-2U2A5HF4.js → chunk-D2XYYU5Q.js} +5 -5
- package/dist/chunk-D7FOKIY5.js +173 -0
- package/dist/chunk-D7FOKIY5.js.map +1 -0
- package/dist/{chunk-DGYCWCQ7.js → chunk-DZSAXE3T.js} +2 -2
- package/dist/{chunk-2BFLDH5F.js → chunk-EEIROWEG.js} +2 -2
- package/dist/{chunk-6ZIETXZ2.js → chunk-H5PFR5ZT.js} +2 -2
- package/dist/{chunk-2FOD2YY3.js → chunk-I74ZEBMA.js} +236 -103
- package/dist/chunk-I74ZEBMA.js.map +1 -0
- package/dist/chunk-IC2TCZJ2.js +54 -0
- package/dist/chunk-IC2TCZJ2.js.map +1 -0
- package/dist/{chunk-66FLU5BT.js → chunk-II6WHCCW.js} +6 -6
- package/dist/{chunk-YPEMNNNY.js → chunk-ITWTKT2R.js} +6 -6
- package/dist/{chunk-AKUCU7CI.js → chunk-JI5AVXYO.js} +5 -5
- package/dist/{chunk-27FLVMDC.js → chunk-KMF67QDQ.js} +7 -7
- package/dist/{chunk-FLVL4L3L.js → chunk-KTULX4YO.js} +4 -4
- package/dist/{chunk-FZGGZAAU.js → chunk-L2QJQSHL.js} +146 -2
- package/dist/chunk-L2QJQSHL.js.map +1 -0
- package/dist/{chunk-4P4626RY.js → chunk-L4UZBJNM.js} +4 -4
- package/dist/{chunk-JLR3JSTL.js → chunk-L6V3WJ55.js} +3 -3
- package/dist/{chunk-6BISDEN6.js → chunk-LNHJ32NK.js} +14 -14
- package/dist/{chunk-437S3G37.js → chunk-LNQUAJNC.js} +1 -1
- package/dist/{chunk-LOR6ZM5R.js → chunk-MFDJ63U5.js} +2 -2
- package/dist/{chunk-HRCACVHL.js → chunk-NFTABV56.js} +2 -2
- package/dist/{chunk-OUMTBFSQ.js → chunk-NKCPUHCI.js} +5 -5
- package/dist/{chunk-KCJ5H6XQ.js → chunk-ODSYJXDU.js} +2 -2
- package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-NG7YBCJO.js → chunk-SNBEVJBX.js} +4 -4
- package/dist/{chunk-CZAA5N5S.js → chunk-SNNIUDRS.js} +2 -2
- package/dist/{chunk-P6SYWE4G.js → chunk-STCCFQU5.js} +9 -9
- package/dist/{chunk-X4A62ET7.js → chunk-TI7IHDBQ.js} +17 -17
- package/dist/{chunk-BGTAL46Y.js → chunk-TV7C3HCB.js} +2 -2
- package/dist/{chunk-EPGWWCZF.js → chunk-UBGAOYBP.js} +6 -6
- package/dist/{chunk-M7GGMGMZ.js → chunk-UDCDGP6A.js} +15 -15
- package/dist/{chunk-2MR3MFQB.js → chunk-UPSAT4PY.js} +2 -2
- package/dist/{chunk-CGS7UKWM.js → chunk-VCW74PNH.js} +2 -2
- package/dist/{chunk-DR6PEJU3.js → chunk-VWEWK2BM.js} +44 -59
- package/dist/chunk-VWEWK2BM.js.map +1 -0
- package/dist/{chunk-CLX5VDNY.js → chunk-Y4RKAQZ7.js} +4 -4
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{cli-EiBBOt3r.d.ts → cli-1dghPCO2.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +57 -55
- package/dist/compounding/engine.d.ts +1 -1
- package/dist/compounding/engine.js +7 -7
- 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 +7 -7
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +11 -9
- 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 +4 -4
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/backend.js +2 -2
- 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/dashboard-runtime.js +2 -2
- 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 +7 -7
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- 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/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-DY6YCRC2.js → first-start-migration-VBJQL6OI.js} +5 -5
- 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 +13 -10
- package/dist/index.js +115 -93
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +2 -2
- 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 +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- package/dist/mcp-read-only-tools.d.ts +16 -0
- package/dist/mcp-read-only-tools.js +8 -0
- package/dist/mcp-read-only-tools.js.map +1 -0
- 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 +17 -17
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +7 -7
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +22 -22
- package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +9 -9
- package/dist/{orchestrator-B2Y28Z9t.d.ts → orchestrator-Dh3WSW_O.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +81 -79
- 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-Db9mOkzB.d.ts → qmd-DoUVxqND.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- 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-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +8 -8
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +12 -12
- 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-BDVIbLRw.d.ts → semantic-consolidation-Dof1865o.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +9 -9
- package/dist/semantic-rule-promotion.js +7 -7
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +6 -6
- 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/{tier-stats-TG6GUZ6N.js → tier-stats-5XF4UBRQ.js} +4 -4
- package/dist/tokens.d.ts +17 -2
- package/dist/tokens.js +3 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/transfer/types.d.ts +12 -12
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-ljkd82rn.d.ts → types-C7HUgOuA.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +8 -8
- package/package.json +2 -2
- package/src/access-boundary.test.ts +62 -0
- package/src/access-boundary.ts +165 -126
- package/src/access-http.test.ts +781 -0
- package/src/access-http.ts +334 -108
- package/src/access-mcp.test.ts +264 -0
- package/src/access-mcp.ts +45 -70
- package/src/access-operations-batch.ts +35 -12
- package/src/access-surface-catalog.test.ts +22 -14
- package/src/access-surface-catalog.ts +6 -3
- package/src/access-token-capabilities.test.ts +844 -0
- package/src/access-token-capabilities.ts +391 -0
- package/src/chat/chat-mcp.test.ts +232 -0
- package/src/chat/chat-session.ts +34 -0
- package/src/index.ts +14 -0
- package/src/mcp-read-only-tools.ts +61 -0
- package/src/tokens.ts +32 -3
- package/dist/chunk-2FOD2YY3.js.map +0 -1
- package/dist/chunk-DR6PEJU3.js.map +0 -1
- package/dist/chunk-E2SPGGUI.js.map +0 -1
- package/dist/chunk-FZGGZAAU.js.map +0 -1
- package/dist/chunk-ILFJ7AVS.js.map +0 -1
- /package/dist/{capsule-crypto-CZJSLEFG.js.map → access-token-capabilities.js.map} +0 -0
- /package/dist/{auto-sync-HMHQHUAG.js.map → auto-sync-G6IU7L6C.js.map} +0 -0
- /package/dist/{chunk-7QWMTOIF.js.map → chunk-2B7DP7AP.js.map} +0 -0
- /package/dist/{chunk-4BFRBP45.js.map → chunk-2JFDHI2K.js.map} +0 -0
- /package/dist/{chunk-OHDJ34CC.js.map → chunk-2SFEFR5I.js.map} +0 -0
- /package/dist/{chunk-YDSWRD33.js.map → chunk-5K5VEDFY.js.map} +0 -0
- /package/dist/{chunk-CZAZX7JP.js.map → chunk-7BAJAXGB.js.map} +0 -0
- /package/dist/{chunk-CXLNZXG5.js.map → chunk-7XGSIUP5.js.map} +0 -0
- /package/dist/{chunk-ZPOROUTX.js.map → chunk-AOYJVCFN.js.map} +0 -0
- /package/dist/{chunk-IC6QX5TC.js.map → chunk-BGMSRN6I.js.map} +0 -0
- /package/dist/{chunk-5QZDMSSN.js.map → chunk-CXEL3Y22.js.map} +0 -0
- /package/dist/{chunk-M5QKGHCR.js.map → chunk-CYWCKFCL.js.map} +0 -0
- /package/dist/{chunk-2U2A5HF4.js.map → chunk-D2XYYU5Q.js.map} +0 -0
- /package/dist/{chunk-DGYCWCQ7.js.map → chunk-DZSAXE3T.js.map} +0 -0
- /package/dist/{chunk-2BFLDH5F.js.map → chunk-EEIROWEG.js.map} +0 -0
- /package/dist/{chunk-6ZIETXZ2.js.map → chunk-H5PFR5ZT.js.map} +0 -0
- /package/dist/{chunk-66FLU5BT.js.map → chunk-II6WHCCW.js.map} +0 -0
- /package/dist/{chunk-YPEMNNNY.js.map → chunk-ITWTKT2R.js.map} +0 -0
- /package/dist/{chunk-AKUCU7CI.js.map → chunk-JI5AVXYO.js.map} +0 -0
- /package/dist/{chunk-27FLVMDC.js.map → chunk-KMF67QDQ.js.map} +0 -0
- /package/dist/{chunk-FLVL4L3L.js.map → chunk-KTULX4YO.js.map} +0 -0
- /package/dist/{chunk-4P4626RY.js.map → chunk-L4UZBJNM.js.map} +0 -0
- /package/dist/{chunk-JLR3JSTL.js.map → chunk-L6V3WJ55.js.map} +0 -0
- /package/dist/{chunk-6BISDEN6.js.map → chunk-LNHJ32NK.js.map} +0 -0
- /package/dist/{chunk-437S3G37.js.map → chunk-LNQUAJNC.js.map} +0 -0
- /package/dist/{chunk-LOR6ZM5R.js.map → chunk-MFDJ63U5.js.map} +0 -0
- /package/dist/{chunk-HRCACVHL.js.map → chunk-NFTABV56.js.map} +0 -0
- /package/dist/{chunk-OUMTBFSQ.js.map → chunk-NKCPUHCI.js.map} +0 -0
- /package/dist/{chunk-KCJ5H6XQ.js.map → chunk-ODSYJXDU.js.map} +0 -0
- /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-NG7YBCJO.js.map → chunk-SNBEVJBX.js.map} +0 -0
- /package/dist/{chunk-CZAA5N5S.js.map → chunk-SNNIUDRS.js.map} +0 -0
- /package/dist/{chunk-P6SYWE4G.js.map → chunk-STCCFQU5.js.map} +0 -0
- /package/dist/{chunk-X4A62ET7.js.map → chunk-TI7IHDBQ.js.map} +0 -0
- /package/dist/{chunk-BGTAL46Y.js.map → chunk-TV7C3HCB.js.map} +0 -0
- /package/dist/{chunk-EPGWWCZF.js.map → chunk-UBGAOYBP.js.map} +0 -0
- /package/dist/{chunk-M7GGMGMZ.js.map → chunk-UDCDGP6A.js.map} +0 -0
- /package/dist/{chunk-2MR3MFQB.js.map → chunk-UPSAT4PY.js.map} +0 -0
- /package/dist/{chunk-CGS7UKWM.js.map → chunk-VCW74PNH.js.map} +0 -0
- /package/dist/{chunk-CLX5VDNY.js.map → chunk-Y4RKAQZ7.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{first-start-migration-DY6YCRC2.js.map → first-start-migration-VBJQL6OI.js.map} +0 -0
- /package/dist/{tier-stats-TG6GUZ6N.js.map → tier-stats-5XF4UBRQ.js.map} +0 -0
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
package/dist/tier-routing.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-S75M5ZRK.js";
|
|
9
9
|
import "./chunk-2F6NP3NT.js";
|
|
10
10
|
import "./chunk-TERNBNJB.js";
|
|
11
|
+
import {
|
|
12
|
+
computeLifecycleValueInputs
|
|
13
|
+
} from "./chunk-TBBDFYXW.js";
|
|
11
14
|
import {
|
|
12
15
|
resolveQmdCapabilities,
|
|
13
16
|
resolveUtilityLearningCapabilities
|
|
14
17
|
} from "./chunk-VSF7AAGE.js";
|
|
15
|
-
import {
|
|
16
|
-
computeLifecycleValueInputs
|
|
17
|
-
} from "./chunk-TBBDFYXW.js";
|
|
18
18
|
import "./chunk-A2IYSXDQ.js";
|
|
19
19
|
import "./chunk-LPSF4OQH.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -153,4 +153,4 @@ export {
|
|
|
153
153
|
formatTierSummaryText,
|
|
154
154
|
summarizeTiers
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=tier-stats-
|
|
156
|
+
//# sourceMappingURL=tier-stats-5XF4UBRQ.js.map
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
1
|
+
import { TokenCapabilities } from './access-token-capabilities.js';
|
|
2
|
+
import 'node:async_hooks';
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
5
|
* Token management for Remnic multi-connector auth.
|
|
3
6
|
*
|
|
4
7
|
* Manages per-connector tokens in ~/.remnic/tokens.json.
|
|
5
8
|
* Each connector gets a unique token with a recognizable prefix.
|
|
6
9
|
*/
|
|
10
|
+
|
|
7
11
|
interface TokenEntry {
|
|
8
12
|
token: string;
|
|
9
13
|
connector: string;
|
|
10
14
|
createdAt: string;
|
|
15
|
+
/**
|
|
16
|
+
* Versioned capabilities record (issue #1837). PRESENT ⇒ the token was
|
|
17
|
+
* minted by the capability-aware path; its ops/namespaces axes are
|
|
18
|
+
* enforced (absent axis ⇒ unrestricted on that axis; empty array ⇒ deny
|
|
19
|
+
* all; non-empty ⇒ allow-list). ABSENT ⇒ a pre-feature legacy entry ⇒
|
|
20
|
+
* unrestricted (full access), purely for backward compatibility — this is
|
|
21
|
+
* the ONLY path by which full access is granted by omission. Every new
|
|
22
|
+
* token carries an explicit record (even `{ version: 1 }` for a deliberate
|
|
23
|
+
* unrestricted mint), so a new token can never silently gain full access.
|
|
24
|
+
*/
|
|
25
|
+
capabilities?: TokenCapabilities;
|
|
11
26
|
}
|
|
12
27
|
interface TokenStore {
|
|
13
28
|
tokens: TokenEntry[];
|
|
@@ -20,7 +35,7 @@ declare function saveTokenStore(store: TokenStore, tokensPath?: string): void;
|
|
|
20
35
|
* dependent write (e.g. Hermes config.yaml) succeeds — see
|
|
21
36
|
* commitTokenEntry() to persist the candidate.
|
|
22
37
|
*/
|
|
23
|
-
declare function buildTokenEntry(connector: string): TokenEntry;
|
|
38
|
+
declare function buildTokenEntry(connector: string, capabilities?: TokenCapabilities): TokenEntry;
|
|
24
39
|
/**
|
|
25
40
|
* Persist a pre-built TokenEntry into the store, replacing any existing
|
|
26
41
|
* entry for the same connector. Used together with buildTokenEntry() when
|
|
@@ -34,7 +49,7 @@ declare function buildTokenEntry(connector: string): TokenEntry;
|
|
|
34
49
|
* return statement never executes (UXJI/UXJT fix).
|
|
35
50
|
*/
|
|
36
51
|
declare function commitTokenEntry(entry: TokenEntry, tokensPath?: string): void;
|
|
37
|
-
declare function generateToken(connector: string, tokensPath?: string): TokenEntry;
|
|
52
|
+
declare function generateToken(connector: string, tokensPath?: string, capabilities?: TokenCapabilities): TokenEntry;
|
|
38
53
|
declare function listTokens(tokensPath?: string): TokenEntry[];
|
|
39
54
|
declare function revokeToken(connector: string, tokensPath?: string): boolean;
|
|
40
55
|
declare function getAllValidTokens(tokensPath?: string): string[];
|
package/dist/tokens.js
CHANGED
|
@@ -10,8 +10,10 @@ import {
|
|
|
10
10
|
resolveConnectorFromToken,
|
|
11
11
|
revokeToken,
|
|
12
12
|
saveTokenStore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4OKLXWDZ.js";
|
|
14
|
+
import "./chunk-D7FOKIY5.js";
|
|
14
15
|
import "./chunk-JUC24CTX.js";
|
|
16
|
+
import "./chunk-RANHFI3P.js";
|
|
15
17
|
import "./chunk-PZ5AY32C.js";
|
|
16
18
|
export {
|
|
17
19
|
buildTokenEntry,
|
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry,
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, q as Checkpoint } from './types-C7HUgOuA.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
package/dist/transfer/backup.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backupMemoryDir
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-EEIROWEG.js";
|
|
4
4
|
import "../chunk-765K3SAT.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-LNQUAJNC.js";
|
|
6
6
|
import "../chunk-GWTFLF2P.js";
|
|
7
7
|
import "../chunk-UKJAGEXH.js";
|
|
8
8
|
import "../chunk-FP2373TW.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportCapsule,
|
|
3
3
|
isValidCapsuleSince
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-437S3G37.js";
|
|
4
|
+
} from "../chunk-KTULX4YO.js";
|
|
5
|
+
import "../chunk-LNQUAJNC.js";
|
|
7
6
|
import "../chunk-GWTFLF2P.js";
|
|
8
7
|
import "../chunk-UKJAGEXH.js";
|
|
9
8
|
import "../chunk-FP2373TW.js";
|
|
9
|
+
import "../chunk-WEHSQBFR.js";
|
|
10
10
|
import "../chunk-J4EB7DNW.js";
|
|
11
11
|
import "../chunk-UI3NYK34.js";
|
|
12
12
|
import "../chunk-GCGJW34D.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importCapsule
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CYWCKFCL.js";
|
|
4
4
|
import "../chunk-VF4XKTX3.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-437S3G37.js";
|
|
5
|
+
import "../chunk-LNQUAJNC.js";
|
|
7
6
|
import "../chunk-GWTFLF2P.js";
|
|
8
7
|
import "../chunk-UKJAGEXH.js";
|
|
9
8
|
import "../chunk-FP2373TW.js";
|
|
9
|
+
import "../chunk-WEHSQBFR.js";
|
|
10
10
|
import "../chunk-GCGJW34D.js";
|
|
11
11
|
import "../chunk-A6XUJE5D.js";
|
|
12
12
|
import "../chunk-VS2IYZRU.js";
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
schemaVersion: string;
|
|
316
317
|
includes: {
|
|
317
318
|
procedural: boolean;
|
|
318
319
|
taxonomy: boolean;
|
|
319
320
|
identityAnchors: boolean;
|
|
320
321
|
peerProfiles: boolean;
|
|
321
322
|
};
|
|
322
|
-
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
version: string;
|
|
325
325
|
description: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
forkRoot: string;
|
|
335
335
|
} | null;
|
|
336
336
|
}, {
|
|
337
|
+
schemaVersion: string;
|
|
337
338
|
includes: {
|
|
338
339
|
procedural: boolean;
|
|
339
340
|
taxonomy: boolean;
|
|
340
341
|
identityAnchors: boolean;
|
|
341
342
|
peerProfiles: boolean;
|
|
342
343
|
};
|
|
343
|
-
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
version: string;
|
|
346
346
|
description: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
schemaVersion: string;
|
|
467
468
|
includes: {
|
|
468
469
|
procedural: boolean;
|
|
469
470
|
taxonomy: boolean;
|
|
470
471
|
identityAnchors: boolean;
|
|
471
472
|
peerProfiles: boolean;
|
|
472
473
|
};
|
|
473
|
-
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
version: string;
|
|
476
476
|
description: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
forkRoot: string;
|
|
486
486
|
} | null;
|
|
487
487
|
}, {
|
|
488
|
+
schemaVersion: string;
|
|
488
489
|
includes: {
|
|
489
490
|
procedural: boolean;
|
|
490
491
|
taxonomy: boolean;
|
|
491
492
|
identityAnchors: boolean;
|
|
492
493
|
peerProfiles: boolean;
|
|
493
494
|
};
|
|
494
|
-
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
version: string;
|
|
497
497
|
description: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
+
schemaVersion: string;
|
|
521
522
|
includes: {
|
|
522
523
|
procedural: boolean;
|
|
523
524
|
taxonomy: boolean;
|
|
524
525
|
identityAnchors: boolean;
|
|
525
526
|
peerProfiles: boolean;
|
|
526
527
|
};
|
|
527
|
-
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
version: string;
|
|
530
530
|
description: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
+
schemaVersion: string;
|
|
554
555
|
includes: {
|
|
555
556
|
procedural: boolean;
|
|
556
557
|
taxonomy: boolean;
|
|
557
558
|
identityAnchors: boolean;
|
|
558
559
|
peerProfiles: boolean;
|
|
559
560
|
};
|
|
560
|
-
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
version: string;
|
|
563
563
|
description: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
schemaVersion: string;
|
|
686
687
|
includes: {
|
|
687
688
|
procedural: boolean;
|
|
688
689
|
taxonomy: boolean;
|
|
689
690
|
identityAnchors: boolean;
|
|
690
691
|
peerProfiles: boolean;
|
|
691
692
|
};
|
|
692
|
-
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
version: string;
|
|
695
695
|
description: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
forkRoot: string;
|
|
705
705
|
} | null;
|
|
706
706
|
}, {
|
|
707
|
+
schemaVersion: string;
|
|
707
708
|
includes: {
|
|
708
709
|
procedural: boolean;
|
|
709
710
|
taxonomy: boolean;
|
|
710
711
|
identityAnchors: boolean;
|
|
711
712
|
peerProfiles: boolean;
|
|
712
713
|
};
|
|
713
|
-
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
version: string;
|
|
716
716
|
description: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
+
schemaVersion: string;
|
|
740
741
|
includes: {
|
|
741
742
|
procedural: boolean;
|
|
742
743
|
taxonomy: boolean;
|
|
743
744
|
identityAnchors: boolean;
|
|
744
745
|
peerProfiles: boolean;
|
|
745
746
|
};
|
|
746
|
-
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
version: string;
|
|
749
749
|
description: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
+
schemaVersion: string;
|
|
773
774
|
includes: {
|
|
774
775
|
procedural: boolean;
|
|
775
776
|
taxonomy: boolean;
|
|
776
777
|
identityAnchors: boolean;
|
|
777
778
|
peerProfiles: boolean;
|
|
778
779
|
};
|
|
779
|
-
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
version: string;
|
|
782
782
|
description: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
+
schemaVersion: string;
|
|
818
819
|
includes: {
|
|
819
820
|
procedural: boolean;
|
|
820
821
|
taxonomy: boolean;
|
|
821
822
|
identityAnchors: boolean;
|
|
822
823
|
peerProfiles: boolean;
|
|
823
824
|
};
|
|
824
|
-
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
version: string;
|
|
827
827
|
description: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
+
schemaVersion: string;
|
|
857
858
|
includes: {
|
|
858
859
|
procedural: boolean;
|
|
859
860
|
taxonomy: boolean;
|
|
860
861
|
identityAnchors: boolean;
|
|
861
862
|
peerProfiles: boolean;
|
|
862
863
|
};
|
|
863
|
-
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
version: string;
|
|
866
866
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
-
import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-
|
|
2
|
+
import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights } from './types-C7HUgOuA.js';
|
|
3
3
|
import './types-gb_SNtjR.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
|
package/dist/trust-score.d.ts
CHANGED
|
@@ -3678,4 +3678,4 @@ interface HourlySummary {
|
|
|
3678
3678
|
generatedAt: string;
|
|
3679
3679
|
}
|
|
3680
3680
|
|
|
3681
|
-
export { type CompressionGuidelineOptimizerActionSummary as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallDisclosure as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ImportanceLevel as W, type BufferSurpriseEvent as X, type SecretRef as Y, type AgentAccessAuthToken as Z, type CompressionGuidelineOptimizerEventCounts as _, type DreamsRunResult as a, DEFAULT_RECALL_DISCLOSURE as a$, type CompressionGuidelineOptimizerRuleUpdate as a0, type MemoryActionType as a1, type MemoryActionEvent as a2, type CompressionGuidelineOptimizerState as a3, type EntityMention as a4, type EntitySchemaDefinition as a5, type EntitySchemaSectionDefinition as a6, type EntityStructuredSection as a7, type ContinuityIncidentRecord as a8, type ContinuityIncidentCloseInput as a9, type CodingContext as aA, type DreamsStatusResult as aB, type ScopeProfileConfig as aC, type ScopeProfileLayerId as aD, type ScopeProfilePromotionTarget as aE, type WearableConversation as aF, type WearableSourceSettings as aG, type WearableNativeMemory as aH, type WearableMemoryMode as aI, type WearableSourceConnector as aJ, type WearablesConfig as aK, type WearableSyncSummary as aL, type WearableSourceStatus as aM, type WearableDayTranscript as aN, type WearableCorrectionRule as aO, type RecallSectionConfig as aP, type BootstrapOptions as aQ, type BootstrapResult as aR, type ConsolidationObservation as aS, type CodingModeConfig as aT, type CodingKnowledgeConfig as aU, type WearableCleanupSettings as aV, type WearableDayTranscriptMeta as aW, type BriefingConfig as aX, type BriefingOpenCommitment as aY, type BriefingWindow as aZ, type CodexCompatConfig as a_, type ContinuityIncidentOpenInput as aa, type ContinuityImprovementLoop as ab, type ContinuityLoopReviewInput as ac, type ContinuityLoopUpsertInput as ad, type ImportanceScore as ae, type MemoryIntent as af, type MemoryActionEligibilityContext as ag, type MemoryActionPolicyResult as ah, type MemoryLifecycleEventType as ai, type MemoryLifecycleStateSummary as aj, type ModelProviderConfig as ak, type NativeKnowledgeConfig as al, type ProvenanceConfig as am, type RetrievalTier as an, type SignalScanResult as ao, type TopicScore as ap, type MemoryLink as aq, type BufferState as ar, type MetaState as as, type FileHygieneConfig as at, type EntityRelationship as au, type EntityActivityEntry as av, type AccessTrackingEntry as aw, type MemorySummary as ax, type EntityTimelineEntry as ay, type QmdSearchExplain as az, type RecallPlanMode as b, type ModelProviderAuthMode as b$, type ExtractedFact as b0, type MemoryActionEligibilitySource as b1, type MemoryObservation as b2, type MemoryScope as b3, RECALL_DISCLOSURE_LEVELS as b4, type WearableAuthCheck as b5, type WearableFetchOptions as b6, type WearableFetchPage as b7, type WearableNativeMemoryPage as b8, type WearableTranscriptSegment as b9, type DreamingNarrativePromptStyle as bA, type DreamsDeepSleepConfig as bB, type DreamsLightSleepConfig as bC, type DreamsPhaseStatus as bD, type DreamsPhasesConfig as bE, type DreamsRemConfig as bF, type EngramTraceEvent as bG, type ExtractedProcedureStep as bH, type ExtractedQuestion as bI, type ExtractedReasoningTrace as bJ, type ExtractedReasoningTraceStep as bK, type ExtractedRelationship as bL, type ExtractionPassSource as bM, type GitHubLiveConnectorConfig as bN, type GmailLiveConnectorConfig as bO, type GoogleDriveLiveConnectorConfig as bP, type HeartbeatConfig as bQ, type HeartbeatDetectionMode as bR, type LlmTraceCallback as bS, type LlmTraceEvent as bT, type MemoryActionOutcome as bU, type MemoryActionPolicyDecision as bV, type MemoryActionStatus as bW, type MemoryLinkType as bX, type MemoryOsPresetName as bY, type ModelApi as bZ, type ModelDefinitionConfig as b_, isRecallDisclosure as ba, type AgentAccessHttpConfig as bb, type AgentDefaultsConfig as bc, type AgentPersona as bd, type BehaviorLoopAdjustment as be, type BehaviorSignalDirection as bf, type BehaviorSignalType as bg, type BriefingCalendarSourceError as bh, type BufferEntryState as bi, type CaptureMode as bj, type ChatConfig as bk, type CodexCliReasoningEffort as bl, type CodexCompactionFlushMode as bm, type CodexConnectorConfig as bn, type CompressionGuidelineActivationState as bo, type CompressionGuidelineOptimizerSourceWindow as bp, type ConfidenceTier as bq, type ConsolidationAction as br, type ConsolidationItem as bs, type ContinuityIncidentState as bt, type ContinuityLoopCadence as bu, type ContinuityLoopStatus as bv, type ContradictionScanConfig as bw, type CronConversationRecallMode as bx, type CronRecallMode as by, type DreamingConfig as bz, type ActiveRecallQueryMode as c, type NamespacePolicy as c0, type NativeKnowledgeFolderRuleConfig as c1, type NativeKnowledgeObsidianVaultConfig as c2, type NativeKnowledgeOpenClawWorkspaceConfig as c3, type NotionLiveConnectorConfig as c4, type PrincipalFromSessionKeyMode as c5, type PrincipalRule as c6, type ProceduralConfig as c7, type QuestionEntry as c8, type ReasoningEffort as c9, type RecallPipelineConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallPromptStyle as d, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type BehaviorLoopPolicyState as g, type
|
|
3681
|
+
export { type CompressionGuidelineOptimizerActionSummary as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallDisclosure as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ImportanceLevel as W, type BufferSurpriseEvent as X, type SecretRef as Y, type AgentAccessAuthToken as Z, type CompressionGuidelineOptimizerEventCounts as _, type DreamsRunResult as a, DEFAULT_RECALL_DISCLOSURE as a$, type CompressionGuidelineOptimizerRuleUpdate as a0, type MemoryActionType as a1, type MemoryActionEvent as a2, type CompressionGuidelineOptimizerState as a3, type EntityMention as a4, type EntitySchemaDefinition as a5, type EntitySchemaSectionDefinition as a6, type EntityStructuredSection as a7, type ContinuityIncidentRecord as a8, type ContinuityIncidentCloseInput as a9, type CodingContext as aA, type DreamsStatusResult as aB, type ScopeProfileConfig as aC, type ScopeProfileLayerId as aD, type ScopeProfilePromotionTarget as aE, type WearableConversation as aF, type WearableSourceSettings as aG, type WearableNativeMemory as aH, type WearableMemoryMode as aI, type WearableSourceConnector as aJ, type WearablesConfig as aK, type WearableSyncSummary as aL, type WearableSourceStatus as aM, type WearableDayTranscript as aN, type WearableCorrectionRule as aO, type RecallSectionConfig as aP, type BootstrapOptions as aQ, type BootstrapResult as aR, type ConsolidationObservation as aS, type CodingModeConfig as aT, type CodingKnowledgeConfig as aU, type WearableCleanupSettings as aV, type WearableDayTranscriptMeta as aW, type BriefingConfig as aX, type BriefingOpenCommitment as aY, type BriefingWindow as aZ, type CodexCompatConfig as a_, type ContinuityIncidentOpenInput as aa, type ContinuityImprovementLoop as ab, type ContinuityLoopReviewInput as ac, type ContinuityLoopUpsertInput as ad, type ImportanceScore as ae, type MemoryIntent as af, type MemoryActionEligibilityContext as ag, type MemoryActionPolicyResult as ah, type MemoryLifecycleEventType as ai, type MemoryLifecycleStateSummary as aj, type ModelProviderConfig as ak, type NativeKnowledgeConfig as al, type ProvenanceConfig as am, type RetrievalTier as an, type SignalScanResult as ao, type TopicScore as ap, type MemoryLink as aq, type BufferState as ar, type MetaState as as, type FileHygieneConfig as at, type EntityRelationship as au, type EntityActivityEntry as av, type AccessTrackingEntry as aw, type MemorySummary as ax, type EntityTimelineEntry as ay, type QmdSearchExplain as az, type RecallPlanMode as b, type ModelProviderAuthMode as b$, type ExtractedFact as b0, type MemoryActionEligibilitySource as b1, type MemoryObservation as b2, type MemoryScope as b3, RECALL_DISCLOSURE_LEVELS as b4, type WearableAuthCheck as b5, type WearableFetchOptions as b6, type WearableFetchPage as b7, type WearableNativeMemoryPage as b8, type WearableTranscriptSegment as b9, type DreamingNarrativePromptStyle as bA, type DreamsDeepSleepConfig as bB, type DreamsLightSleepConfig as bC, type DreamsPhaseStatus as bD, type DreamsPhasesConfig as bE, type DreamsRemConfig as bF, type EngramTraceEvent as bG, type ExtractedProcedureStep as bH, type ExtractedQuestion as bI, type ExtractedReasoningTrace as bJ, type ExtractedReasoningTraceStep as bK, type ExtractedRelationship as bL, type ExtractionPassSource as bM, type GitHubLiveConnectorConfig as bN, type GmailLiveConnectorConfig as bO, type GoogleDriveLiveConnectorConfig as bP, type HeartbeatConfig as bQ, type HeartbeatDetectionMode as bR, type LlmTraceCallback as bS, type LlmTraceEvent as bT, type MemoryActionOutcome as bU, type MemoryActionPolicyDecision as bV, type MemoryActionStatus as bW, type MemoryLinkType as bX, type MemoryOsPresetName as bY, type ModelApi as bZ, type ModelDefinitionConfig as b_, isRecallDisclosure as ba, type AgentAccessHttpConfig as bb, type AgentDefaultsConfig as bc, type AgentPersona as bd, type BehaviorLoopAdjustment as be, type BehaviorSignalDirection as bf, type BehaviorSignalType as bg, type BriefingCalendarSourceError as bh, type BufferEntryState as bi, type CaptureMode as bj, type ChatConfig as bk, type CodexCliReasoningEffort as bl, type CodexCompactionFlushMode as bm, type CodexConnectorConfig as bn, type CompressionGuidelineActivationState as bo, type CompressionGuidelineOptimizerSourceWindow as bp, type ConfidenceTier as bq, type ConsolidationAction as br, type ConsolidationItem as bs, type ContinuityIncidentState as bt, type ContinuityLoopCadence as bu, type ContinuityLoopStatus as bv, type ContradictionScanConfig as bw, type CronConversationRecallMode as bx, type CronRecallMode as by, type DreamingConfig as bz, type ActiveRecallQueryMode as c, type NamespacePolicy as c0, type NativeKnowledgeFolderRuleConfig as c1, type NativeKnowledgeObsidianVaultConfig as c2, type NativeKnowledgeOpenClawWorkspaceConfig as c3, type NotionLiveConnectorConfig as c4, type PrincipalFromSessionKeyMode as c5, type PrincipalRule as c6, type ProceduralConfig as c7, type QuestionEntry as c8, type ReasoningEffort as c9, type RecallPipelineConfig as ca, type RecallTraceEvent as cb, type RelevanceFeedback as cc, SPECULATIVE_TTL_DAYS as cd, type ScopeProfileAutoPromoteConfig as ce, type ScopeProfileTeamProjectConfig as cf, type ScopeTeamConfig as cg, type ScoredEntity as ch, type SemanticChunkingConfigShape as ci, type SignalLevel as cj, type SlotBehaviorConfig as ck, type SlotMismatchMode as cl, type TriggerMode as cm, confidenceTier as cn, type ActiveRecallPromptStyle as d, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type BehaviorLoopPolicyState as g, type BriefingSections as h, type BriefingFollowup as i, type BriefingFocus as j, type CalendarEvent as k, type BriefingActiveThread as l, type BriefingResult as m, type BriefingRecentEntity as n, type BufferTurn as o, type MemoryFrontmatter as p, type Checkpoint as q, type AgentPersonaModelConfig as r, type RecallTierExplain as s, type MemoryCategory as t, type MemoryStatus as u, type MemoryProjectionCurrentState as v, type MemoryLifecycleEvent as w, type ExtractionResult as x, type ConsolidationResult as y, type DaySummaryResult as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './types-gb_SNtjR.js';
|
|
2
2
|
import './message-parts/index.js';
|
|
3
|
-
export { aw as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, Z as AgentAccessAuthToken, bb as AgentAccessHttpConfig, bc as AgentDefaultsConfig, bd as AgentPersona,
|
|
3
|
+
export { aw as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, Z as AgentAccessAuthToken, bb as AgentAccessHttpConfig, bc as AgentDefaultsConfig, bd as AgentPersona, r as AgentPersonaModelConfig, be as BehaviorLoopAdjustment, g as BehaviorLoopPolicyState, bf as BehaviorSignalDirection, B as BehaviorSignalEvent, bg as BehaviorSignalType, aQ as BootstrapOptions, aR as BootstrapResult, l as BriefingActiveThread, bh as BriefingCalendarSourceError, aX as BriefingConfig, j as BriefingFocus, i as BriefingFollowup, aY as BriefingOpenCommitment, n as BriefingRecentEntity, m as BriefingResult, h as BriefingSections, aZ as BriefingWindow, bi as BufferEntryState, ar as BufferState, X as BufferSurpriseEvent, o as BufferTurn, k as CalendarEvent, C as CalendarSource, bj as CaptureMode, bk as ChatConfig, q as Checkpoint, bl as CodexCliReasoningEffort, bm as CodexCompactionFlushMode, a_ as CodexCompatConfig, bn as CodexConnectorConfig, aA as CodingContext, aU as CodingKnowledgeConfig, aT as CodingModeConfig, bo as CompressionGuidelineActivationState, $ as CompressionGuidelineOptimizerActionSummary, _ as CompressionGuidelineOptimizerEventCounts, a0 as CompressionGuidelineOptimizerRuleUpdate, bp as CompressionGuidelineOptimizerSourceWindow, a3 as CompressionGuidelineOptimizerState, bq as ConfidenceTier, br as ConsolidationAction, bs as ConsolidationItem, aS as ConsolidationObservation, y as ConsolidationResult, ab as ContinuityImprovementLoop, a9 as ContinuityIncidentCloseInput, aa as ContinuityIncidentOpenInput, a8 as ContinuityIncidentRecord, bt as ContinuityIncidentState, bu as ContinuityLoopCadence, ac as ContinuityLoopReviewInput, bv as ContinuityLoopStatus, ad as ContinuityLoopUpsertInput, bw as ContradictionScanConfig, N as ConversationThread, bx as CronConversationRecallMode, by as CronRecallMode, a$ as DEFAULT_RECALL_DISCLOSURE, z as DaySummaryResult, bz as DreamingConfig, bA as DreamingNarrativePromptStyle, bB as DreamsDeepSleepConfig, bC as DreamsLightSleepConfig, D as DreamsPhase, bD as DreamsPhaseStatus, bE as DreamsPhasesConfig, bF as DreamsRemConfig, a as DreamsRunResult, aB as DreamsStatusResult, bG as EngramTraceEvent, av as EntityActivityEntry, E as EntityFile, a4 as EntityMention, au as EntityRelationship, a5 as EntitySchemaDefinition, a6 as EntitySchemaSectionDefinition, a7 as EntityStructuredSection, ay as EntityTimelineEntry, b0 as ExtractedFact, bH as ExtractedProcedureStep, bI as ExtractedQuestion, bJ as ExtractedReasoningTrace, bK as ExtractedReasoningTraceStep, bL as ExtractedRelationship, bM as ExtractionPassSource, x as ExtractionResult, F as FaithfulnessFrontmatter, at as FileHygieneConfig, G as GatewayConfig, bN as GitHubLiveConnectorConfig, bO as GmailLiveConnectorConfig, bP as GoogleDriveLiveConnectorConfig, bQ as HeartbeatConfig, bR as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, W as ImportanceLevel, ae as ImportanceScore, O as LifecycleState, L as LiveConnectorsConfig, bS as LlmTraceCallback, bT as LlmTraceEvent, ag as MemoryActionEligibilityContext, b1 as MemoryActionEligibilitySource, a2 as MemoryActionEvent, bU as MemoryActionOutcome, bV as MemoryActionPolicyDecision, ah as MemoryActionPolicyResult, bW as MemoryActionStatus, a1 as MemoryActionType, t as MemoryCategory, M as MemoryFile, p as MemoryFrontmatter, af as MemoryIntent, w as MemoryLifecycleEvent, ai as MemoryLifecycleEventType, aj as MemoryLifecycleStateSummary, aq as MemoryLink, bX as MemoryLinkType, b2 as MemoryObservation, bY as MemoryOsPresetName, v as MemoryProjectionCurrentState, b3 as MemoryScope, u as MemoryStatus, ax as MemorySummary, as as MetaState, bZ as ModelApi, b_ as ModelDefinitionConfig, b$ as ModelProviderAuthMode, ak as ModelProviderConfig, c0 as NamespacePolicy, al as NativeKnowledgeConfig, c1 as NativeKnowledgeFolderRuleConfig, c2 as NativeKnowledgeObsidianVaultConfig, c3 as NativeKnowledgeOpenClawWorkspaceConfig, c4 as NotionLiveConnectorConfig, P as PluginConfig, U as PolicyClass, c5 as PrincipalFromSessionKeyMode, c6 as PrincipalRule, c7 as ProceduralConfig, am as ProvenanceConfig, J as ProvenanceSource, az as QmdSearchExplain, Q as QmdSearchResult, c8 as QuestionEntry, b4 as RECALL_DISCLOSURE_LEVELS, c9 as ReasoningEffort, R as RecallDisclosure, ca as RecallPipelineConfig, b as RecallPlanMode, aP as RecallSectionConfig, s as RecallTierExplain, cb as RecallTraceEvent, cc as RelevanceFeedback, an as RetrievalTier, cd as SPECULATIVE_TTL_DAYS, ce as ScopeProfileAutoPromoteConfig, aC as ScopeProfileConfig, aD as ScopeProfileLayerId, aE as ScopeProfilePromotionTarget, cf as ScopeProfileTeamProjectConfig, cg as ScopeTeamConfig, ch as ScoredEntity, Y as SecretRef, ci as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cj as SignalLevel, ao as SignalScanResult, ck as SlotBehaviorConfig, cl as SlotMismatchMode, ap as TopicScore, T as TranscriptEntry, cm as TriggerMode, K as TrustWeights, V as VerificationState, cn as confidenceTier, ba as isRecallDisclosure } from './types-C7HUgOuA.js';
|
package/dist/verified-recall.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-II6WHCCW.js";
|
|
5
5
|
import "./chunk-2A3OXAP2.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZBJMUXZH.js";
|
|
7
|
+
import "./chunk-UDCDGP6A.js";
|
|
7
8
|
import "./chunk-M7XQSUBB.js";
|
|
8
9
|
import "./chunk-L2B3EE7B.js";
|
|
9
10
|
import "./chunk-5UZXUTVO.js";
|
|
10
11
|
import "./chunk-5GPPACXK.js";
|
|
11
12
|
import "./chunk-EHK6KZHK.js";
|
|
12
13
|
import "./chunk-6CIAGZ6X.js";
|
|
13
|
-
import "./chunk-SVOZFLIQ.js";
|
|
14
|
-
import "./chunk-LTJAMRGI.js";
|
|
15
14
|
import "./chunk-J6A3CX5N.js";
|
|
16
15
|
import "./chunk-4KJLYTLS.js";
|
|
16
|
+
import "./chunk-SVOZFLIQ.js";
|
|
17
|
+
import "./chunk-LTJAMRGI.js";
|
|
17
18
|
import "./chunk-JS2HKKOK.js";
|
|
19
|
+
import "./chunk-RHOZ5LLO.js";
|
|
20
|
+
import "./chunk-RL6NEVXT.js";
|
|
18
21
|
import "./chunk-AWJ2FHCF.js";
|
|
19
22
|
import "./chunk-42JKGUFJ.js";
|
|
20
23
|
import "./chunk-RULE4VG5.js";
|
|
21
24
|
import "./chunk-SCU65EZI.js";
|
|
22
|
-
import "./chunk-RHOZ5LLO.js";
|
|
23
|
-
import "./chunk-RL6NEVXT.js";
|
|
24
25
|
import "./chunk-DM2T26WE.js";
|
|
25
26
|
import "./chunk-LDXUBPMO.js";
|
|
26
27
|
import "./chunk-MNUHL34L.js";
|
|
@@ -36,8 +37,8 @@ import "./chunk-RGMVMVMF.js";
|
|
|
36
37
|
import "./chunk-N7RWREIQ.js";
|
|
37
38
|
import "./chunk-OEHCMALU.js";
|
|
38
39
|
import "./chunk-PHK3HARR.js";
|
|
39
|
-
import "./chunk-5GKPFL3S.js";
|
|
40
40
|
import "./chunk-4DJQYKMN.js";
|
|
41
|
+
import "./chunk-5GKPFL3S.js";
|
|
41
42
|
import "./chunk-EYIEWJNI.js";
|
|
42
43
|
import "./chunk-JUC24CTX.js";
|
|
43
44
|
import "./chunk-37CTGERM.js";
|
|
@@ -47,7 +48,6 @@ import "./chunk-P7FMDTKL.js";
|
|
|
47
48
|
import "./chunk-VS2IYZRU.js";
|
|
48
49
|
import "./chunk-6MKAMLQL.js";
|
|
49
50
|
import "./chunk-JAKIDQB2.js";
|
|
50
|
-
import "./chunk-ZBJMUXZH.js";
|
|
51
51
|
import "./chunk-PZ5AY32C.js";
|
|
52
52
|
export {
|
|
53
53
|
compareVerifiedEpisodeResults,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"core"
|
|
3001
3001
|
],
|
|
3002
3002
|
"peerDependencies": {
|
|
3003
|
-
"@remnic/coding-graph": "^9.
|
|
3003
|
+
"@remnic/coding-graph": "^9.5.0"
|
|
3004
3004
|
},
|
|
3005
3005
|
"peerDependenciesMeta": {
|
|
3006
3006
|
"@remnic/coding-graph": {
|
|
@@ -22,6 +22,9 @@ import {
|
|
|
22
22
|
type OperationContext,
|
|
23
23
|
} from "./access-boundary.js";
|
|
24
24
|
import { EngramAccessInputError, type EngramAccessService } from "./access-service.js";
|
|
25
|
+
import { EngramAccessForbiddenError } from "./access-errors.js";
|
|
26
|
+
import { tokenCapabilityStore } from "./access-token-capabilities.js";
|
|
27
|
+
import { z } from "zod";
|
|
25
28
|
|
|
26
29
|
// ---------------------------------------------------------------------------
|
|
27
30
|
// Test fixtures
|
|
@@ -210,3 +213,62 @@ test("getOperation / listRegisteredOperations: round-trip a registration", async
|
|
|
210
213
|
assert.ok(getOperation("memory_search"));
|
|
211
214
|
assert.ok(listRegisteredOperations().includes("memory_search"));
|
|
212
215
|
});
|
|
216
|
+
|
|
217
|
+
// ---------------------------------------------------------------------------
|
|
218
|
+
// fleetWide flag — fail-closed for namespace-scoped tokens (issue #1850 round 10)
|
|
219
|
+
// Maintenance ops that run ACROSS ALL namespaces carry no `namespace` arg, so
|
|
220
|
+
// the MCP tools/call effective-namespace gate never fires. The fleetWide flag
|
|
221
|
+
// makes defineOperation's run wrapper reject a namespace-scoped token BEFORE
|
|
222
|
+
// the handler — no side effect on denial; unrestricted/legacy unaffected.
|
|
223
|
+
// ---------------------------------------------------------------------------
|
|
224
|
+
|
|
225
|
+
test("fleetWide op: namespace-scoped token is rejected BEFORE the handler runs (no side effect)", async () => {
|
|
226
|
+
let ran = false;
|
|
227
|
+
__resetRegistryForTest();
|
|
228
|
+
const op = defineOperation({
|
|
229
|
+
name: "memory_get",
|
|
230
|
+
description: "test fleet-wide op",
|
|
231
|
+
fleetWide: true,
|
|
232
|
+
schema: z.object({}),
|
|
233
|
+
handler: async () => { ran = true; return { ok: true }; },
|
|
234
|
+
});
|
|
235
|
+
await assert.rejects(
|
|
236
|
+
() => tokenCapabilityStore.run({ version: 1, namespaces: ["ns_a"] }, () => op.run({}, ctx(makeMockService()))),
|
|
237
|
+
(err: unknown) => err instanceof EngramAccessForbiddenError && /across all namespaces/.test(err.message),
|
|
238
|
+
);
|
|
239
|
+
assert.equal(ran, false, "fleet-wide handler must NOT run for a namespace-scoped token (no side effect)");
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
test("fleetWide op: unrestricted and legacy tokens reach the handler", async () => {
|
|
243
|
+
let ran = false;
|
|
244
|
+
__resetRegistryForTest();
|
|
245
|
+
const op = defineOperation({
|
|
246
|
+
name: "memory_get",
|
|
247
|
+
description: "test fleet-wide op",
|
|
248
|
+
fleetWide: true,
|
|
249
|
+
schema: z.object({}),
|
|
250
|
+
handler: async () => { ran = true; return { ok: true }; },
|
|
251
|
+
});
|
|
252
|
+
// Explicit-unrestricted record (version present, no namespaces axis).
|
|
253
|
+
const result = await tokenCapabilityStore.run({ version: 1 }, () => op.run({}, ctx(makeMockService())));
|
|
254
|
+
assert.deepEqual(result, { ok: true });
|
|
255
|
+
assert.equal(ran, true, "unrestricted token reaches the handler");
|
|
256
|
+
// Legacy (no ALS bound at all — cron / internal callers).
|
|
257
|
+
ran = false;
|
|
258
|
+
assert.deepEqual(await op.run({}, ctx(makeMockService())), { ok: true });
|
|
259
|
+
assert.equal(ran, true, "legacy token reaches the handler");
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
test("fleetWide flag is inert for normal (non-fleet-wide) ops under a scoped token", async () => {
|
|
263
|
+
let ran = false;
|
|
264
|
+
__resetRegistryForTest();
|
|
265
|
+
const op = defineOperation({
|
|
266
|
+
name: "memory_get",
|
|
267
|
+
description: "normal op (not fleet-wide)",
|
|
268
|
+
schema: z.object({}),
|
|
269
|
+
handler: async () => { ran = true; return { ok: true }; },
|
|
270
|
+
});
|
|
271
|
+
const result = await tokenCapabilityStore.run({ version: 1, namespaces: ["ns_a"] }, () => op.run({}, ctx(makeMockService())));
|
|
272
|
+
assert.deepEqual(result, { ok: true });
|
|
273
|
+
assert.equal(ran, true, "a non-fleet-wide op runs normally for a scoped token");
|
|
274
|
+
});
|