@remnic/core 1.1.2 → 1.1.4
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/abort-error.js +1 -0
- package/dist/abstraction-nodes.js +1 -0
- package/dist/access-audit.js +1 -0
- package/dist/access-cli.js +72 -47
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +50 -5
- package/dist/access-http.js +39 -16
- package/dist/access-idempotency.js +1 -0
- package/dist/access-mcp.d.ts +10 -5
- package/dist/access-mcp.js +38 -14
- package/dist/access-schema.d.ts +133 -13
- package/dist/access-schema.js +20 -1
- package/dist/access-service-CtXFnprR.d.ts +2033 -0
- package/dist/access-service.d.ts +11 -6
- package/dist/access-service.js +40 -15
- package/dist/active-memory-bridge.js +1 -0
- package/dist/active-recall.js +1 -0
- package/dist/active-recall.js.map +1 -1
- package/dist/behavior-learner.js +1 -0
- package/dist/behavior-learner.js.map +1 -1
- package/dist/behavior-signals.js +1 -0
- package/dist/bootstrap.d.ts +6 -4
- package/dist/bootstrap.js +1 -0
- package/dist/boxes.js +1 -0
- package/dist/briefing.d.ts +9 -5
- package/dist/briefing.js +10 -7
- package/dist/buffer-surprise-report.js +1 -0
- package/dist/buffer-surprise.js +1 -0
- package/dist/buffer.d.ts +1 -1
- package/dist/buffer.js +1 -0
- package/dist/calibration.d.ts +8 -1
- package/dist/calibration.js +10 -2
- package/dist/calibration.js.map +1 -1
- package/dist/capsule-cli.d.ts +137 -0
- package/dist/capsule-cli.js +34 -0
- package/dist/capsule-crypto-5CYAGVC5.js +18 -0
- package/dist/capsule-export-NZQPOTQ4.js +17 -0
- package/dist/capsule-export-NZQPOTQ4.js.map +1 -0
- package/dist/capsule-import-SDCUXLEV.js +16 -0
- package/dist/capsule-import-SDCUXLEV.js.map +1 -0
- package/dist/capsule-merge-DI7PNQ2H.js +189 -0
- package/dist/capsule-merge-DI7PNQ2H.js.map +1 -0
- package/dist/causal-behavior.js +1 -0
- package/dist/causal-behavior.js.map +1 -1
- package/dist/causal-chain.js +1 -0
- package/dist/causal-consolidation.js +12 -9
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -1
- package/dist/causal-retrieval.js.map +1 -1
- package/dist/causal-trajectory-graph.js +4 -1
- package/dist/causal-trajectory-graph.js.map +1 -1
- package/dist/causal-trajectory.js +2 -1
- package/dist/chunk-2LSZVONP.js +67 -0
- package/dist/chunk-2LSZVONP.js.map +1 -0
- package/dist/chunk-32KD5IHZ.js +245 -0
- package/dist/chunk-32KD5IHZ.js.map +1 -0
- package/dist/chunk-3KIS4VGT.js +228 -0
- package/dist/chunk-3KIS4VGT.js.map +1 -0
- package/dist/chunk-3LCWFNVS.js +350 -0
- package/dist/chunk-3LCWFNVS.js.map +1 -0
- package/dist/chunk-43EKP2UK.js +26 -0
- package/dist/chunk-43EKP2UK.js.map +1 -0
- package/dist/chunk-457A4P3L.js +119 -0
- package/dist/chunk-457A4P3L.js.map +1 -0
- package/dist/{chunk-TMYO7B5P.js → chunk-47WOM4YW.js} +2 -2
- package/dist/{chunk-FVA6TGI3.js → chunk-52PDY6GD.js} +42 -2
- package/dist/chunk-52PDY6GD.js.map +1 -0
- package/dist/{chunk-ULYOGL6R.js → chunk-5HRY2WRF.js} +7 -3
- package/dist/chunk-5HRY2WRF.js.map +1 -0
- package/dist/{chunk-BOUYNNYD.js → chunk-67YLUWLG.js} +32 -13
- package/dist/{chunk-BOUYNNYD.js.map → chunk-67YLUWLG.js.map} +1 -1
- package/dist/chunk-6TBWYBJ3.js +236 -0
- package/dist/chunk-6TBWYBJ3.js.map +1 -0
- package/dist/chunk-74EMIVE4.js +329 -0
- package/dist/chunk-74EMIVE4.js.map +1 -0
- package/dist/chunk-74WWN7ZW.js +82 -0
- package/dist/chunk-74WWN7ZW.js.map +1 -0
- package/dist/chunk-A6XUJE5D.js +126 -0
- package/dist/chunk-A6XUJE5D.js.map +1 -0
- package/dist/{chunk-STGWEHYR.js → chunk-AEMBDV7M.js} +1187 -62
- package/dist/chunk-AEMBDV7M.js.map +1 -0
- package/dist/{chunk-PVICZTKG.js → chunk-AGZHRWPT.js} +5 -5
- package/dist/{chunk-PVICZTKG.js.map → chunk-AGZHRWPT.js.map} +1 -1
- package/dist/chunk-AJA46VX5.js +393 -0
- package/dist/chunk-AJA46VX5.js.map +1 -0
- package/dist/chunk-ASIQZXYO.js +277 -0
- package/dist/chunk-ASIQZXYO.js.map +1 -0
- package/dist/{chunk-DG6YMRDC.js → chunk-B2TL6GA2.js} +2 -2
- package/dist/chunk-BJMBJZ2Y.js +290 -0
- package/dist/chunk-BJMBJZ2Y.js.map +1 -0
- package/dist/chunk-BT7NVCML.js +79 -0
- package/dist/chunk-BT7NVCML.js.map +1 -0
- package/dist/chunk-CK5NTM2S.js +454 -0
- package/dist/chunk-CK5NTM2S.js.map +1 -0
- package/dist/{chunk-AYXIPSZO.js → chunk-CRU27Q4J.js} +2 -2
- package/dist/{chunk-UWB5LMWY.js → chunk-CUI2STX6.js} +526 -24
- package/dist/chunk-CUI2STX6.js.map +1 -0
- package/dist/{chunk-CUPFXL3J.js → chunk-EGEPUGN4.js} +4 -4
- package/dist/chunk-EGEPUGN4.js.map +1 -0
- package/dist/{chunk-3OGMS3PE.js → chunk-F5VQOQ2E.js} +3 -2
- package/dist/chunk-F5VQOQ2E.js.map +1 -0
- package/dist/chunk-FP2373TW.js +149 -0
- package/dist/chunk-FP2373TW.js.map +1 -0
- package/dist/{chunk-RBBWYEFJ.js → chunk-G2WADRQ3.js} +1 -1
- package/dist/chunk-G7D6GZ5J.js +48 -0
- package/dist/chunk-G7D6GZ5J.js.map +1 -0
- package/dist/chunk-H7XKCNR6.js +60 -0
- package/dist/chunk-H7XKCNR6.js.map +1 -0
- package/dist/{chunk-LOIMBRDE.js → chunk-HIRKCQGF.js} +1994 -412
- package/dist/chunk-HIRKCQGF.js.map +1 -0
- package/dist/chunk-IXEJRKCZ.js +18 -0
- package/dist/chunk-IXEJRKCZ.js.map +1 -0
- package/dist/chunk-IYY4MCPG.js +275 -0
- package/dist/chunk-IYY4MCPG.js.map +1 -0
- package/dist/{chunk-BECYBZLX.js → chunk-JWSENLQI.js} +502 -22
- package/dist/chunk-JWSENLQI.js.map +1 -0
- package/dist/chunk-KNKUID7G.js +183 -0
- package/dist/chunk-KNKUID7G.js.map +1 -0
- package/dist/chunk-L2IO2QPY.js +2036 -0
- package/dist/chunk-L2IO2QPY.js.map +1 -0
- package/dist/{chunk-ZAIM4TUE.js → chunk-LW2NMHDW.js} +46 -1
- package/dist/chunk-LW2NMHDW.js.map +1 -0
- package/dist/chunk-MDYG7VI7.js +48 -0
- package/dist/chunk-MDYG7VI7.js.map +1 -0
- package/dist/{chunk-VDX363PS.js → chunk-MUELDH4F.js} +10 -3
- package/dist/chunk-MUELDH4F.js.map +1 -0
- package/dist/chunk-MXC3AP5I.js +74 -0
- package/dist/chunk-MXC3AP5I.js.map +1 -0
- package/dist/chunk-NN3TS5BM.js +147 -0
- package/dist/chunk-NN3TS5BM.js.map +1 -0
- package/dist/{chunk-3YGHKTBF.js → chunk-NZS2BLTP.js} +963 -326
- package/dist/chunk-NZS2BLTP.js.map +1 -0
- package/dist/chunk-OA3L7BFR.js +183 -0
- package/dist/chunk-OA3L7BFR.js.map +1 -0
- package/dist/chunk-OZHRDTDX.js +240 -0
- package/dist/chunk-OZHRDTDX.js.map +1 -0
- package/dist/chunk-PCUKNJAZ.js +165 -0
- package/dist/chunk-PCUKNJAZ.js.map +1 -0
- package/dist/{chunk-6PFRXT4K.js → chunk-PFV5C235.js} +11 -6
- package/dist/chunk-PFV5C235.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/{chunk-Y7R2XJ5Q.js → chunk-Q7FJ5ZHM.js} +6 -2
- package/dist/chunk-Q7FJ5ZHM.js.map +1 -0
- package/dist/{chunk-WCLICCGB.js → chunk-RILIVK4O.js} +91 -4
- package/dist/chunk-RILIVK4O.js.map +1 -0
- package/dist/{chunk-C2EFFULQ.js → chunk-RK2Y4XOM.js} +163 -20
- package/dist/chunk-RK2Y4XOM.js.map +1 -0
- package/dist/{chunk-TP4FZJIZ.js → chunk-RULE4VG5.js} +5 -1
- package/dist/chunk-RULE4VG5.js.map +1 -0
- package/dist/{chunk-PVPWZSSI.js → chunk-SMA4IMHV.js} +19 -3
- package/dist/chunk-SMA4IMHV.js.map +1 -0
- package/dist/{chunk-6YJHX2DL.js → chunk-TIFRGAKO.js} +242 -22
- package/dist/chunk-TIFRGAKO.js.map +1 -0
- package/dist/chunk-TUFG6VXY.js +875 -0
- package/dist/chunk-TUFG6VXY.js.map +1 -0
- package/dist/chunk-TYEOAFH3.js +251 -0
- package/dist/chunk-TYEOAFH3.js.map +1 -0
- package/dist/chunk-UKJAGEXH.js +260 -0
- package/dist/chunk-UKJAGEXH.js.map +1 -0
- package/dist/{chunk-KVBLZUKV.js → chunk-USFPPRAF.js} +93 -3
- package/dist/chunk-USFPPRAF.js.map +1 -0
- package/dist/{chunk-NBVAS5MT.js → chunk-V7TEH5I2.js} +6 -6
- package/dist/{chunk-GA5P7RST.js → chunk-VTJVUHRK.js} +22 -36
- package/dist/chunk-VTJVUHRK.js.map +1 -0
- package/dist/{chunk-SPI27QT6.js → chunk-W7WWT4FJ.js} +9 -4
- package/dist/chunk-W7WWT4FJ.js.map +1 -0
- package/dist/chunk-WIICJPET.js +45 -0
- package/dist/chunk-WIICJPET.js.map +1 -0
- package/dist/{chunk-VBVG2M5G.js → chunk-WPGJYVUH.js} +6 -2
- package/dist/chunk-WPGJYVUH.js.map +1 -0
- package/dist/{chunk-4HQS2HPX.js → chunk-WSZIHQBK.js} +29 -9
- package/dist/{chunk-4HQS2HPX.js.map → chunk-WSZIHQBK.js.map} +1 -1
- package/dist/{chunk-NZLQTHS5.js → chunk-WW3QQF4H.js} +4 -1
- package/dist/chunk-WW3QQF4H.js.map +1 -0
- package/dist/{chunk-DIXB44VE.js → chunk-X6VBWOVZ.js} +28 -13
- package/dist/chunk-X6VBWOVZ.js.map +1 -0
- package/dist/{chunk-XXVWLXSG.js → chunk-XQ4EJLUD.js} +64 -92
- package/dist/chunk-XQ4EJLUD.js.map +1 -0
- package/dist/{chunk-OC5OXUQ4.js → chunk-XRCYKJ3V.js} +780 -17
- package/dist/chunk-XRCYKJ3V.js.map +1 -0
- package/dist/{chunk-F5VP6YCB.js → chunk-Y4A6M3B6.js} +573 -156
- package/dist/chunk-Y4A6M3B6.js.map +1 -0
- package/dist/chunk-YNJHCGDT.js +309 -0
- package/dist/chunk-YNJHCGDT.js.map +1 -0
- package/dist/{chunk-L7IXWRYE.js → chunk-ZIBOQULP.js} +22 -13
- package/dist/chunk-ZIBOQULP.js.map +1 -0
- package/dist/{chunk-W6SL7OFG.js → chunk-ZTSE2ZJ6.js} +12 -2
- package/dist/{chunk-W6SL7OFG.js.map → chunk-ZTSE2ZJ6.js.map} +1 -1
- package/dist/chunking.js +1 -0
- package/dist/cipher-GVE2GQ5H.js +28 -0
- package/dist/cipher-GVE2GQ5H.js.map +1 -0
- package/dist/citations.js +1 -0
- package/dist/{cli-BkeRaYfk.d.ts → cli-lMql2FCr.d.ts} +26 -7
- package/dist/cli.d.ts +11 -6
- package/dist/cli.js +69 -34
- package/dist/codex-thread-key.js +1 -0
- package/dist/commitment-ledger.js +1 -0
- package/dist/compression-optimizer.js +1 -0
- package/dist/config.d.ts +2 -1
- package/dist/config.js +4 -1
- package/dist/connectors-cli-DFGtY2DB.d.ts +257 -0
- package/dist/connectors-cli.d.ts +2 -0
- package/dist/connectors-cli.js +22 -0
- package/dist/connectors-cli.js.map +1 -0
- package/dist/consolidation-operator.d.ts +65 -5
- package/dist/consolidation-operator.js +6 -1
- package/dist/consolidation-provenance-check.d.ts +1 -1
- package/dist/consolidation-provenance-check.js +3 -2
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/consolidation-undo.js +1 -0
- package/dist/consolidation-undo.js.map +1 -1
- package/dist/{contradiction-review-WIUBAR52.js → contradiction-review-5LTTVDQV.js} +2 -1
- package/dist/contradiction-review-5LTTVDQV.js.map +1 -0
- package/dist/{contradiction-scan-E3GJTI4F.js → contradiction-scan-3Z6YW7YA.js} +2 -1
- package/dist/{contradiction-scan-E3GJTI4F.js.map → contradiction-scan-3Z6YW7YA.js.map} +1 -1
- package/dist/cross-namespace-budget.js +1 -0
- package/dist/cue-anchors.js +1 -0
- package/dist/dashboard-runtime.js +1 -0
- package/dist/day-summary.js +1 -0
- package/dist/delinearize.js +1 -0
- package/dist/direct-answer-wiring.js +1 -0
- package/dist/direct-answer.js +1 -0
- package/dist/dreams-ledger-LR2NBAZE.js +286 -0
- package/dist/dreams-ledger-LR2NBAZE.js.map +1 -0
- package/dist/embedding-fallback.js +1 -0
- package/dist/engine-O6YWKQM3.js +28 -0
- package/dist/engine-O6YWKQM3.js.map +1 -0
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +10 -7
- package/dist/entity-schema.js +1 -0
- package/dist/evals.js +1 -0
- package/dist/evidence-pack.d.ts +16 -0
- package/dist/evidence-pack.js +8 -0
- package/dist/evidence-pack.js.map +1 -0
- package/dist/explicit-capture.d.ts +6 -4
- package/dist/explicit-capture.js +1 -0
- package/dist/extraction-judge-telemetry.js +1 -0
- package/dist/extraction-judge-training.js +1 -0
- package/dist/extraction-judge.js +1 -0
- package/dist/extraction.js +8 -7
- package/dist/fallback-llm.js +3 -2
- package/dist/first-start-migration-4MHQEOSD.js +263 -0
- package/dist/first-start-migration-4MHQEOSD.js.map +1 -0
- package/dist/forget-PLR6J5DN.js +69 -0
- package/dist/forget-PLR6J5DN.js.map +1 -0
- package/dist/framework-CyHYDcri.d.ts +153 -0
- package/dist/fs-utils-IRVUFB6G.js +30 -0
- package/dist/fs-utils-IRVUFB6G.js.map +1 -0
- package/dist/graph-dashboard-diff.js +1 -0
- package/dist/graph-dashboard-key.js +1 -0
- package/dist/graph-dashboard-parser.js +1 -0
- package/dist/graph-edge-decay-PWB63GRE.js +207 -0
- package/dist/graph-edge-decay-PWB63GRE.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +81 -0
- package/dist/graph-edge-reinforcement.js +24 -0
- package/dist/graph-edge-reinforcement.js.map +1 -0
- package/dist/graph-events.d.ts +87 -0
- package/dist/graph-events.js +14 -0
- package/dist/graph-events.js.map +1 -0
- package/dist/graph-recall.js +1 -0
- package/dist/graph-retrieval.js +1 -0
- package/dist/graph-snapshot.d.ts +112 -0
- package/dist/graph-snapshot.js +19 -0
- package/dist/graph-snapshot.js.map +1 -0
- package/dist/graph.d.ts +105 -7
- package/dist/graph.js +20 -3
- package/dist/harmonic-retrieval.js +1 -0
- package/dist/himem.js +1 -0
- package/dist/hygiene.js +1 -0
- package/dist/identity-continuity.js +1 -0
- package/dist/importance.js +1 -0
- package/dist/index.d.ts +574 -13
- package/dist/index.js +337 -69
- package/dist/index.js.map +1 -1
- package/dist/intent.js +1 -0
- package/dist/json-extract.js +1 -0
- package/dist/json-store.js +1 -0
- package/dist/kdf-7S6RWKLZ.js +26 -0
- package/dist/kdf-7S6RWKLZ.js.map +1 -0
- package/dist/legacy-hook-compat.js +1 -0
- package/dist/legacy-hook-compat.js.map +1 -1
- package/dist/lifecycle.js +1 -0
- package/dist/live-connectors-runner.d.ts +48 -0
- package/dist/live-connectors-runner.js +17 -0
- package/dist/live-connectors-runner.js.map +1 -0
- package/dist/local-llm.js +1 -0
- package/dist/logger.js +1 -0
- package/dist/memory-action-policy.js +1 -0
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-cache.js +4 -1
- package/dist/memory-governance-JZHZDOLN.js +37 -0
- package/dist/memory-governance-JZHZDOLN.js.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-lifecycle-ledger-utils.js +4 -1
- package/dist/memory-projection-format.js +1 -0
- package/dist/{memory-projection-store-DeSXPh1j.d.ts → memory-projection-store-CY8TU40w.d.ts} +2 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-projection-store.js +2 -1
- package/dist/memory-worth-bench.js +1 -0
- package/dist/memory-worth-bench.js.map +1 -1
- package/dist/memory-worth-filter.js +1 -0
- package/dist/memory-worth-outcomes.d.ts +1 -1
- package/dist/memory-worth-outcomes.js +1 -0
- package/dist/memory-worth.js +1 -0
- package/dist/metadata-FC3XPDRQ.js +21 -0
- package/dist/metadata-FC3XPDRQ.js.map +1 -0
- package/dist/migrate-from-identity-anchor-TTEDEJGX.js +8 -0
- package/dist/migrate-from-identity-anchor-TTEDEJGX.js.map +1 -0
- package/dist/model-registry.js +1 -0
- package/dist/models-json.js +1 -0
- package/dist/native-knowledge.js +1 -0
- package/dist/negative.js +1 -0
- package/dist/objective-state-writers.js +1 -0
- package/dist/objective-state-writers.js.map +1 -1
- package/dist/objective-state.js +1 -0
- package/dist/openai-chat-compat.js +1 -0
- package/dist/operator-toolkit.d.ts +46 -2
- package/dist/operator-toolkit.js +29 -17
- package/dist/opik-exporter.js +1 -0
- package/dist/opik-exporter.js.map +1 -1
- package/dist/{orchestrator-CmJ-NTdJ.d.ts → orchestrator-ChkesB8U.d.ts} +177 -13
- package/dist/orchestrator.d.ts +6 -4
- package/dist/orchestrator.js +57 -41
- package/dist/page-versioning.js +1 -0
- package/dist/path-RMTY5Y5A.js +9 -0
- package/dist/path-RMTY5Y5A.js.map +1 -0
- package/dist/patterns-cli.d.ts +160 -0
- package/dist/patterns-cli.js +29 -0
- package/dist/patterns-cli.js.map +1 -0
- package/dist/peers-6OSQ3NK6.js +44 -0
- package/dist/peers-6OSQ3NK6.js.map +1 -0
- package/dist/plugin-id.js +1 -0
- package/dist/policy-runtime.js +1 -0
- package/dist/{port-BADbLZU5.d.ts → port-hqGnoStS.d.ts} +6 -0
- package/dist/profiling.js +1 -0
- package/dist/purge-6ATBGT77.js +205 -0
- package/dist/purge-6ATBGT77.js.map +1 -0
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd-recall-cache.js +1 -0
- package/dist/qmd.d.ts +2 -1
- package/dist/qmd.js +4 -3
- package/dist/reasoning-trace-recall.js +1 -0
- package/dist/reasoning-trace-types.js +1 -0
- package/dist/recall-audit-anomaly.js +1 -0
- package/dist/recall-audit.js +1 -0
- package/dist/recall-disclosure-escalation.d.ts +84 -0
- package/dist/recall-disclosure-escalation.js +14 -0
- package/dist/recall-disclosure-escalation.js.map +1 -0
- package/dist/recall-explain-renderer.js +4 -1
- package/dist/recall-mmr.js +1 -0
- package/dist/recall-qos.js +1 -0
- package/dist/recall-query-policy.js +1 -0
- package/dist/recall-state.d.ts +7 -0
- package/dist/recall-state.js +2 -1
- package/dist/recall-tag-filter.d.ts +56 -0
- package/dist/recall-tag-filter.js +14 -0
- package/dist/recall-tag-filter.js.map +1 -0
- package/dist/recall-tokenization.js +1 -0
- package/dist/recall-xray-cli.d.ts +9 -2
- package/dist/recall-xray-cli.js +9 -4
- package/dist/recall-xray-renderer.js +4 -1
- package/dist/recall-xray.d.ts +116 -2
- package/dist/recall-xray.js +9 -3
- package/dist/reconstruct.js +1 -0
- package/dist/release-changelog.js +2 -0
- package/dist/release-changelog.js.map +1 -1
- package/dist/relevance.js +1 -0
- package/dist/rerank.js +1 -0
- package/dist/{resolution-QBTDHTG7.js → resolution-YGIBORXI.js} +2 -1
- package/dist/{resolution-QBTDHTG7.js.map → resolution-YGIBORXI.js.map} +1 -1
- package/dist/resolve-auth-token.d.ts +51 -0
- package/dist/resolve-auth-token.js +12 -0
- package/dist/resolve-auth-token.js.map +1 -0
- package/dist/resolve-provider-secret.d.ts +9 -1
- package/dist/resolve-provider-secret.js +4 -1
- package/dist/resume-bundles.js +4 -3
- package/dist/retrieval-agents.d.ts +1 -1
- package/dist/retrieval-agents.js +1 -0
- package/dist/retrieval-tiers.js +1 -0
- package/dist/retrieval.js +1 -0
- package/dist/sanitize.js +1 -0
- package/dist/schemas.d.ts +15 -2
- package/dist/schemas.js +2 -1
- package/dist/sdk-compat.js +1 -0
- package/dist/sdk-compat.js.map +1 -1
- package/dist/secure-store-4R2GSO7S.js +156 -0
- package/dist/secure-store-4R2GSO7S.js.map +1 -0
- package/dist/semantic-chunking.js +1 -0
- package/dist/{semantic-consolidation-CxJU6MJk.d.ts → semantic-consolidation-ByBXb-sf.d.ts} +3 -3
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +12 -7
- package/dist/semantic-rule-promotion.d.ts +1 -1
- package/dist/semantic-rule-promotion.js +10 -7
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +10 -7
- package/dist/session-integrity.js +1 -0
- package/dist/session-observer-bands.js +1 -0
- package/dist/session-observer-state.js +1 -0
- package/dist/session-toggles.js +2 -0
- package/dist/session-toggles.js.map +1 -1
- package/dist/signal.js +1 -0
- package/dist/skills-registry.js +2 -0
- package/dist/skills-registry.js.map +1 -1
- package/dist/source-attribution.js +1 -0
- package/dist/state-NCHQ4TRG.js +8 -0
- package/dist/state-NCHQ4TRG.js.map +1 -0
- package/dist/state-store-3EH7HYIN.js +16 -0
- package/dist/state-store-3EH7HYIN.js.map +1 -0
- package/dist/storage.d.ts +76 -2
- package/dist/storage.js +9 -6
- package/dist/store-contract.js +1 -0
- package/dist/summarizer.js +5 -4
- package/dist/summary-snapshot.js +1 -0
- package/dist/temporal-index.js +1 -0
- package/dist/temporal-supersession.d.ts +1 -1
- package/dist/temporal-supersession.js +2 -1
- package/dist/temporal-validity.d.ts +52 -0
- package/dist/temporal-validity.js +14 -0
- package/dist/temporal-validity.js.map +1 -0
- package/dist/threading.js +1 -0
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-migration.js +1 -0
- package/dist/tier-routing.js +1 -0
- package/dist/tier-stats-62ZVDFKS.js +152 -0
- package/dist/tier-stats-62ZVDFKS.js.map +1 -0
- package/dist/tmt.js +1 -0
- package/dist/tokens.js +1 -0
- package/dist/topics.js +1 -0
- package/dist/trace-C5ETWBEF.js +290 -0
- package/dist/trace-C5ETWBEF.js.map +1 -0
- package/dist/transcript.js +1 -0
- package/dist/trust-zones.js +1 -0
- package/dist/tui-RI7P6PBS.js +13 -0
- package/dist/tui-RI7P6PBS.js.map +1 -0
- package/dist/types-V3FJ26TF.js +30 -0
- package/dist/types-V3FJ26TF.js.map +1 -0
- package/dist/types.d.ts +634 -9
- package/dist/types.js +10 -3
- package/dist/utility-learner.js +1 -0
- package/dist/utility-runtime.js +1 -0
- package/dist/utility-telemetry.js +1 -0
- package/dist/verified-recall.js +10 -7
- package/dist/version-utils.js +1 -0
- package/dist/whitespace.js +1 -0
- package/dist/work-product-ledger.js +1 -0
- package/package.json +7 -3
- package/scripts/ensure-better-sqlite3.mjs +124 -0
- package/dist/access-service-Br8ZydTK.d.ts +0 -827
- package/dist/chunk-3OGMS3PE.js.map +0 -1
- package/dist/chunk-3YGHKTBF.js.map +0 -1
- package/dist/chunk-6PFRXT4K.js.map +0 -1
- package/dist/chunk-6YJHX2DL.js.map +0 -1
- package/dist/chunk-BECYBZLX.js.map +0 -1
- package/dist/chunk-C2EFFULQ.js.map +0 -1
- package/dist/chunk-CUPFXL3J.js.map +0 -1
- package/dist/chunk-DIXB44VE.js.map +0 -1
- package/dist/chunk-F5VP6YCB.js.map +0 -1
- package/dist/chunk-FVA6TGI3.js.map +0 -1
- package/dist/chunk-GA5P7RST.js.map +0 -1
- package/dist/chunk-KVBLZUKV.js.map +0 -1
- package/dist/chunk-L7IXWRYE.js.map +0 -1
- package/dist/chunk-LOIMBRDE.js.map +0 -1
- package/dist/chunk-LTCGGW2D.js +0 -14
- package/dist/chunk-LTCGGW2D.js.map +0 -1
- package/dist/chunk-NZLQTHS5.js.map +0 -1
- package/dist/chunk-OC5OXUQ4.js.map +0 -1
- package/dist/chunk-PVPWZSSI.js.map +0 -1
- package/dist/chunk-SPI27QT6.js.map +0 -1
- package/dist/chunk-STGWEHYR.js.map +0 -1
- package/dist/chunk-TP4FZJIZ.js.map +0 -1
- package/dist/chunk-ULYOGL6R.js.map +0 -1
- package/dist/chunk-UWB5LMWY.js.map +0 -1
- package/dist/chunk-VBVG2M5G.js.map +0 -1
- package/dist/chunk-VDX363PS.js.map +0 -1
- package/dist/chunk-WCLICCGB.js.map +0 -1
- package/dist/chunk-X6GF3FX2.js +0 -26
- package/dist/chunk-X6GF3FX2.js.map +0 -1
- package/dist/chunk-XXVWLXSG.js.map +0 -1
- package/dist/chunk-Y7R2XJ5Q.js.map +0 -1
- package/dist/chunk-ZAIM4TUE.js.map +0 -1
- package/dist/engine-72LSIWQP.js +0 -23
- /package/dist/{contradiction-review-WIUBAR52.js.map → capsule-cli.js.map} +0 -0
- /package/dist/{engine-72LSIWQP.js.map → capsule-crypto-5CYAGVC5.js.map} +0 -0
- /package/dist/{chunk-TMYO7B5P.js.map → chunk-47WOM4YW.js.map} +0 -0
- /package/dist/{chunk-DG6YMRDC.js.map → chunk-B2TL6GA2.js.map} +0 -0
- /package/dist/{chunk-AYXIPSZO.js.map → chunk-CRU27Q4J.js.map} +0 -0
- /package/dist/{chunk-RBBWYEFJ.js.map → chunk-G2WADRQ3.js.map} +0 -0
- /package/dist/{chunk-NBVAS5MT.js.map → chunk-V7TEH5I2.js.map} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SecretRef, AgentAccessAuthToken } from './types.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Resolve `agentAccessHttp.authToken` (issue #757).
|
|
5
|
+
*
|
|
6
|
+
* Two shapes are accepted:
|
|
7
|
+
*
|
|
8
|
+
* 1. Plain string — returned unchanged. This is the only shape supported
|
|
9
|
+
* in standalone Remnic; it preserves backward compatibility with every
|
|
10
|
+
* pre-#757 config.
|
|
11
|
+
*
|
|
12
|
+
* 2. SecretRef-like object (`{source, provider?, id?, command?, ...}`) —
|
|
13
|
+
* resolved only through a resolver supplied by the host adapter. Core
|
|
14
|
+
* stays host-agnostic and never scans OpenClaw, Hermes, or any other
|
|
15
|
+
* runtime directly.
|
|
16
|
+
*
|
|
17
|
+
* Resolution flow for SecretRef objects:
|
|
18
|
+
*
|
|
19
|
+
* - Plain strings short-circuit before any host work.
|
|
20
|
+
* - Host adapters pass their native SecretRef resolver in `options`.
|
|
21
|
+
* - If no resolver is provided, throw a clear, actionable error rather
|
|
22
|
+
* than silently leaving the bridge open or starting with no auth.
|
|
23
|
+
*
|
|
24
|
+
* Lessons baked in from PRs #316–#319:
|
|
25
|
+
*
|
|
26
|
+
* - Successful resolutions are cached for the process lifetime; failures
|
|
27
|
+
* are not cached so transient issues (Keychain unlocked late, agent
|
|
28
|
+
* restarts) recover automatically.
|
|
29
|
+
*/
|
|
30
|
+
type ResolveSecretRefFn = (ref: SecretRef, context?: unknown) => Promise<string | undefined> | string | undefined;
|
|
31
|
+
type ResolveAgentAccessAuthTokenOptions = {
|
|
32
|
+
resolveSecretRef?: ResolveSecretRefFn | null;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Resolve an `agentAccessHttp.authToken` value to a literal bearer string.
|
|
36
|
+
*
|
|
37
|
+
* @returns the resolved string, or `undefined` if input was undefined/empty.
|
|
38
|
+
* @throws if the input is a SecretRef and no resolver is provided, if the
|
|
39
|
+
* resolver returns no value, or if the input shape is malformed.
|
|
40
|
+
*/
|
|
41
|
+
declare function resolveAgentAccessAuthToken(value: AgentAccessAuthToken | undefined, options?: ResolveAgentAccessAuthTokenOptions): Promise<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the value is a SecretRef object (issue #757). Useful for
|
|
44
|
+
* surfaces (CLI flags, doctor checks) that want to render a redacted
|
|
45
|
+
* placeholder instead of leaking the unresolved object shape.
|
|
46
|
+
*/
|
|
47
|
+
declare function isAgentAccessSecretRef(value: unknown): value is SecretRef;
|
|
48
|
+
/** Test/operations hook: drop the cache and force resolver rediscovery. */
|
|
49
|
+
declare function clearAuthTokenSecretCache(): void;
|
|
50
|
+
|
|
51
|
+
export { type ResolveSecretRefFn, clearAuthTokenSecretCache, isAgentAccessSecretRef, resolveAgentAccessAuthToken };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearAuthTokenSecretCache,
|
|
3
|
+
isAgentAccessSecretRef,
|
|
4
|
+
resolveAgentAccessAuthToken
|
|
5
|
+
} from "./chunk-MXC3AP5I.js";
|
|
6
|
+
import "./chunk-PZ5AY32C.js";
|
|
7
|
+
export {
|
|
8
|
+
clearAuthTokenSecretCache,
|
|
9
|
+
isAgentAccessSecretRef,
|
|
10
|
+
resolveAgentAccessAuthToken
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=resolve-auth-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -40,6 +40,14 @@ type GetRuntimeAuthForModelFn = (params: {
|
|
|
40
40
|
mode?: string;
|
|
41
41
|
profileId?: string;
|
|
42
42
|
} | null>;
|
|
43
|
+
/**
|
|
44
|
+
* Discover gateway runtime module files matching the given filename prefix.
|
|
45
|
+
*
|
|
46
|
+
* Reused by adjacent SecretRef resolution code (`resolve-auth-token.ts`,
|
|
47
|
+
* issue #757). Walks the same dist-dir candidates as the model-auth path
|
|
48
|
+
* so callers don't reimplement install-method discovery.
|
|
49
|
+
*/
|
|
50
|
+
declare function findGatewayRuntimeModules(filePrefix: string): Promise<string[]>;
|
|
43
51
|
declare function findExecutableOnPath(executableName: string, access: (path: string, mode?: number) => void, stat: (path: string) => {
|
|
44
52
|
isFile(): boolean;
|
|
45
53
|
}, executableMode: number): string | undefined;
|
|
@@ -68,4 +76,4 @@ declare function getGatewayRuntimeAuthForModel(): Promise<GetRuntimeAuthForModel
|
|
|
68
76
|
declare function clearSecretCache(): void;
|
|
69
77
|
declare function __setGatewayResolverForTest(resolver: ResolveApiKeyFn | null): void;
|
|
70
78
|
|
|
71
|
-
export { type GetRuntimeAuthForModelFn, __findExecutableOnPathForTest, __setGatewayResolverForTest, clearSecretCache, getGatewayRuntimeAuthForModel, resolveProviderApiKey };
|
|
79
|
+
export { type GetRuntimeAuthForModelFn, __findExecutableOnPathForTest, __setGatewayResolverForTest, clearSecretCache, findGatewayRuntimeModules, getGatewayRuntimeAuthForModel, resolveProviderApiKey };
|
|
@@ -2,15 +2,18 @@ import {
|
|
|
2
2
|
__findExecutableOnPathForTest,
|
|
3
3
|
__setGatewayResolverForTest,
|
|
4
4
|
clearSecretCache,
|
|
5
|
+
findGatewayRuntimeModules,
|
|
5
6
|
getGatewayRuntimeAuthForModel,
|
|
6
7
|
resolveProviderApiKey
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q7FJ5ZHM.js";
|
|
8
9
|
import "./chunk-MARWOCVP.js";
|
|
9
10
|
import "./chunk-2ODBA7MQ.js";
|
|
11
|
+
import "./chunk-PZ5AY32C.js";
|
|
10
12
|
export {
|
|
11
13
|
__findExecutableOnPathForTest,
|
|
12
14
|
__setGatewayResolverForTest,
|
|
13
15
|
clearSecretCache,
|
|
16
|
+
findGatewayRuntimeModules,
|
|
14
17
|
getGatewayRuntimeAuthForModel,
|
|
15
18
|
resolveProviderApiKey
|
|
16
19
|
};
|
package/dist/resume-bundles.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
recordResumeBundle,
|
|
5
5
|
resolveResumeBundleDir,
|
|
6
6
|
validateResumeBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-47WOM4YW.js";
|
|
8
8
|
import "./chunk-CULXMQJH.js";
|
|
9
9
|
import "./chunk-E6K4NIEU.js";
|
|
10
|
-
import "./chunk-YRMVARQP.js";
|
|
11
10
|
import "./chunk-LOBRX7VD.js";
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YRMVARQP.js";
|
|
12
|
+
import "./chunk-JWSENLQI.js";
|
|
13
13
|
import "./chunk-Z5LAYHGJ.js";
|
|
14
14
|
import "./chunk-FYIYMQ5N.js";
|
|
15
15
|
import "./chunk-DT5TVLJE.js";
|
|
@@ -18,6 +18,7 @@ import "./chunk-MARWOCVP.js";
|
|
|
18
18
|
import "./chunk-2ODBA7MQ.js";
|
|
19
19
|
import "./chunk-DGXUHMOV.js";
|
|
20
20
|
import "./chunk-LPSF4OQH.js";
|
|
21
|
+
import "./chunk-PZ5AY32C.js";
|
|
21
22
|
export {
|
|
22
23
|
buildResumeBundleFromState,
|
|
23
24
|
getResumeBundleStatus,
|
package/dist/retrieval-agents.js
CHANGED
package/dist/retrieval-tiers.js
CHANGED
package/dist/retrieval.js
CHANGED
package/dist/sanitize.js
CHANGED
package/dist/schemas.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
|
|
|
7
7
|
importance: z.ZodNumber;
|
|
8
8
|
source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
|
|
9
9
|
}, "strict", z.ZodTypeAny, {
|
|
10
|
-
source: "
|
|
10
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
11
11
|
confidence: number;
|
|
12
12
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
13
13
|
importance: number;
|
|
14
14
|
}, {
|
|
15
|
-
source: "
|
|
15
|
+
source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
|
|
16
16
|
confidence: number;
|
|
17
17
|
lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
|
|
18
18
|
importance: number;
|
|
@@ -60,6 +60,7 @@ declare const ExtractedFactSchema: z.ZodObject<{
|
|
|
60
60
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
61
61
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
62
62
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
63
|
+
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
63
64
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
64
65
|
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
66
|
order: z.ZodNumber;
|
|
@@ -155,6 +156,7 @@ declare const ExtractedFactSchema: z.ZodObject<{
|
|
|
155
156
|
entityRef?: string | null | undefined;
|
|
156
157
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
157
158
|
promptedByQuestion?: string | null | undefined;
|
|
159
|
+
scope?: "project" | "global" | null | undefined;
|
|
158
160
|
procedureSteps?: {
|
|
159
161
|
order: number;
|
|
160
162
|
intent: string;
|
|
@@ -183,6 +185,7 @@ declare const ExtractedFactSchema: z.ZodObject<{
|
|
|
183
185
|
entityRef?: string | null | undefined;
|
|
184
186
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
185
187
|
promptedByQuestion?: string | null | undefined;
|
|
188
|
+
scope?: "project" | "global" | null | undefined;
|
|
186
189
|
procedureSteps?: {
|
|
187
190
|
order: number;
|
|
188
191
|
intent: string;
|
|
@@ -307,6 +310,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
307
310
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
308
311
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
309
312
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
313
|
+
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
310
314
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
311
315
|
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
312
316
|
order: z.ZodNumber;
|
|
@@ -402,6 +406,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
402
406
|
entityRef?: string | null | undefined;
|
|
403
407
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
404
408
|
promptedByQuestion?: string | null | undefined;
|
|
409
|
+
scope?: "project" | "global" | null | undefined;
|
|
405
410
|
procedureSteps?: {
|
|
406
411
|
order: number;
|
|
407
412
|
intent: string;
|
|
@@ -430,6 +435,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
430
435
|
entityRef?: string | null | undefined;
|
|
431
436
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
432
437
|
promptedByQuestion?: string | null | undefined;
|
|
438
|
+
scope?: "project" | "global" | null | undefined;
|
|
433
439
|
procedureSteps?: {
|
|
434
440
|
order: number;
|
|
435
441
|
intent: string;
|
|
@@ -516,6 +522,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
516
522
|
entityRef?: string | null | undefined;
|
|
517
523
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
518
524
|
promptedByQuestion?: string | null | undefined;
|
|
525
|
+
scope?: "project" | "global" | null | undefined;
|
|
519
526
|
procedureSteps?: {
|
|
520
527
|
order: number;
|
|
521
528
|
intent: string;
|
|
@@ -564,6 +571,7 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
|
|
|
564
571
|
entityRef?: string | null | undefined;
|
|
565
572
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
566
573
|
promptedByQuestion?: string | null | undefined;
|
|
574
|
+
scope?: "project" | "global" | null | undefined;
|
|
567
575
|
procedureSteps?: {
|
|
568
576
|
order: number;
|
|
569
577
|
intent: string;
|
|
@@ -612,6 +620,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
612
620
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
613
621
|
entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
614
622
|
promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
623
|
+
scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
|
|
615
624
|
structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
616
625
|
procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
617
626
|
order: z.ZodNumber;
|
|
@@ -707,6 +716,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
707
716
|
entityRef?: string | null | undefined;
|
|
708
717
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
709
718
|
promptedByQuestion?: string | null | undefined;
|
|
719
|
+
scope?: "project" | "global" | null | undefined;
|
|
710
720
|
procedureSteps?: {
|
|
711
721
|
order: number;
|
|
712
722
|
intent: string;
|
|
@@ -735,6 +745,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
735
745
|
entityRef?: string | null | undefined;
|
|
736
746
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
737
747
|
promptedByQuestion?: string | null | undefined;
|
|
748
|
+
scope?: "project" | "global" | null | undefined;
|
|
738
749
|
procedureSteps?: {
|
|
739
750
|
order: number;
|
|
740
751
|
intent: string;
|
|
@@ -835,6 +846,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
835
846
|
entityRef?: string | null | undefined;
|
|
836
847
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
837
848
|
promptedByQuestion?: string | null | undefined;
|
|
849
|
+
scope?: "project" | "global" | null | undefined;
|
|
838
850
|
procedureSteps?: {
|
|
839
851
|
order: number;
|
|
840
852
|
intent: string;
|
|
@@ -889,6 +901,7 @@ declare const ExtractionResultSchema: z.ZodObject<{
|
|
|
889
901
|
entityRef?: string | null | undefined;
|
|
890
902
|
structuredAttributes?: Record<string, string> | null | undefined;
|
|
891
903
|
promptedByQuestion?: string | null | undefined;
|
|
904
|
+
scope?: "project" | "global" | null | undefined;
|
|
892
905
|
procedureSteps?: {
|
|
893
906
|
order: number;
|
|
894
907
|
intent: string;
|
package/dist/schemas.js
CHANGED
|
@@ -23,7 +23,8 @@ import {
|
|
|
23
23
|
buildProfileConsolidationResultSchema,
|
|
24
24
|
parseMemoryActionEligibilityContext,
|
|
25
25
|
parseMemoryActionType
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WW3QQF4H.js";
|
|
27
|
+
import "./chunk-PZ5AY32C.js";
|
|
27
28
|
export {
|
|
28
29
|
BehaviorLoopAdjustmentSchema,
|
|
29
30
|
BehaviorLoopPolicyStateSchema,
|
package/dist/sdk-compat.js
CHANGED
package/dist/sdk-compat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sdk-compat.ts"],"sourcesContent":["/**\n * Runtime SDK capability detection.\n *\n * Probes the injected api object at registration time to determine which\n * OpenClaw SDK features are available. All hook registrations and entry-point\n * patterns branch on these flags so engram works on both old (≤2026.3.13)\n * and new (≥2026.3.22) runtimes.\n */\nimport { readEnvVar } from \"./runtime/env.js\";\n\nexport interface SdkCapabilities {\n /** api.on(\"before_prompt_build\", ...) is available */\n hasBeforePromptBuild: boolean;\n /** api.registerMemoryPromptSection() exists */\n hasRegisterMemoryPromptSection: boolean;\n /** api.registerMemoryCapability() exists (new SDK >=2026.4.5) */\n hasRegisterMemoryCapability: boolean;\n /** definePluginEntry from openclaw/plugin-sdk/plugin-entry is importable */\n hasDefinePluginEntry: boolean;\n /** api.runtime.* namespace exists */\n hasRuntimeNamespace: boolean;\n /** api.registrationMode is present */\n hasRegistrationMode: boolean;\n /** Hooks receive typed event/context objects */\n hasTypedHooks: boolean;\n /** Detected SDK version string, or \"legacy\" */\n sdkVersion: string;\n /** api.registrationMode value when present */\n registrationMode: \"full\" | \"setup-only\" | \"setup-runtime\" | undefined;\n}\n\nexport function detectSdkCapabilities(api: Record<string, unknown>): SdkCapabilities {\n const hasRegisterMemoryPromptSection =\n typeof (api as any).registerMemoryPromptSection === \"function\";\n const hasRegisterMemoryCapability =\n typeof (api as any).registerMemoryCapability === \"function\";\n const hasRuntimeNamespace =\n typeof (api as any).runtime === \"object\" && (api as any).runtime !== null;\n const hasRegistrationMode = typeof (api as any).registrationMode === \"string\";\n\n const runtimeVersion =\n hasRuntimeNamespace && typeof (api as any).runtime?.version === \"string\"\n ? (api as any).runtime.version\n : null;\n const isNewSdk =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRuntimeNamespace || hasRegistrationMode;\n const sdkVersion: string =\n runtimeVersion ??\n (isNewSdk ? readEnvVar(\"OPENCLAW_SERVICE_VERSION\") : null) ??\n \"legacy\";\n\n // New SDK is indicated by any of the new API surfaces being present.\n // New hook system requires one of the authoritative new-SDK signals:\n // - registerMemoryPromptSection (pre-capability new SDKs, ≥2026.3.22)\n // - registerMemoryCapability (capability-based SDKs, ≥2026.4.5; the\n // deprecated registerMemoryPromptSection may be absent)\n // - registrationMode (explicit registration lifecycle signal)\n // Just having runtime.version is NOT sufficient — some legacy builds\n // expose it. Omitting registerMemoryCapability here would cause the\n // legacy before_agent_start hook to be registered on new SDKs that only\n // expose registerMemoryCapability, silently breaking memory injection.\n const hasNewHookSystem =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRegistrationMode;\n\n return {\n hasBeforePromptBuild: hasNewHookSystem,\n hasRegisterMemoryPromptSection,\n hasRegisterMemoryCapability,\n hasDefinePluginEntry: isNewSdk, // entry point is less risky, keep broad detection\n hasRuntimeNamespace,\n hasRegistrationMode,\n hasTypedHooks: hasNewHookSystem,\n sdkVersion,\n registrationMode: hasRegistrationMode\n ? ((api as any).registrationMode as SdkCapabilities[\"registrationMode\"])\n : undefined,\n };\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/sdk-compat.ts"],"sourcesContent":["/**\n * Runtime SDK capability detection.\n *\n * Probes the injected api object at registration time to determine which\n * OpenClaw SDK features are available. All hook registrations and entry-point\n * patterns branch on these flags so engram works on both old (≤2026.3.13)\n * and new (≥2026.3.22) runtimes.\n */\nimport { readEnvVar } from \"./runtime/env.js\";\n\nexport interface SdkCapabilities {\n /** api.on(\"before_prompt_build\", ...) is available */\n hasBeforePromptBuild: boolean;\n /** api.registerMemoryPromptSection() exists */\n hasRegisterMemoryPromptSection: boolean;\n /** api.registerMemoryCapability() exists (new SDK >=2026.4.5) */\n hasRegisterMemoryCapability: boolean;\n /** definePluginEntry from openclaw/plugin-sdk/plugin-entry is importable */\n hasDefinePluginEntry: boolean;\n /** api.runtime.* namespace exists */\n hasRuntimeNamespace: boolean;\n /** api.registrationMode is present */\n hasRegistrationMode: boolean;\n /** Hooks receive typed event/context objects */\n hasTypedHooks: boolean;\n /** Detected SDK version string, or \"legacy\" */\n sdkVersion: string;\n /** api.registrationMode value when present */\n registrationMode: \"full\" | \"setup-only\" | \"setup-runtime\" | undefined;\n}\n\nexport function detectSdkCapabilities(api: Record<string, unknown>): SdkCapabilities {\n const hasRegisterMemoryPromptSection =\n typeof (api as any).registerMemoryPromptSection === \"function\";\n const hasRegisterMemoryCapability =\n typeof (api as any).registerMemoryCapability === \"function\";\n const hasRuntimeNamespace =\n typeof (api as any).runtime === \"object\" && (api as any).runtime !== null;\n const hasRegistrationMode = typeof (api as any).registrationMode === \"string\";\n\n const runtimeVersion =\n hasRuntimeNamespace && typeof (api as any).runtime?.version === \"string\"\n ? (api as any).runtime.version\n : null;\n const isNewSdk =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRuntimeNamespace || hasRegistrationMode;\n const sdkVersion: string =\n runtimeVersion ??\n (isNewSdk ? readEnvVar(\"OPENCLAW_SERVICE_VERSION\") : null) ??\n \"legacy\";\n\n // New SDK is indicated by any of the new API surfaces being present.\n // New hook system requires one of the authoritative new-SDK signals:\n // - registerMemoryPromptSection (pre-capability new SDKs, ≥2026.3.22)\n // - registerMemoryCapability (capability-based SDKs, ≥2026.4.5; the\n // deprecated registerMemoryPromptSection may be absent)\n // - registrationMode (explicit registration lifecycle signal)\n // Just having runtime.version is NOT sufficient — some legacy builds\n // expose it. Omitting registerMemoryCapability here would cause the\n // legacy before_agent_start hook to be registered on new SDKs that only\n // expose registerMemoryCapability, silently breaking memory injection.\n const hasNewHookSystem =\n hasRegisterMemoryPromptSection || hasRegisterMemoryCapability || hasRegistrationMode;\n\n return {\n hasBeforePromptBuild: hasNewHookSystem,\n hasRegisterMemoryPromptSection,\n hasRegisterMemoryCapability,\n hasDefinePluginEntry: isNewSdk, // entry point is less risky, keep broad detection\n hasRuntimeNamespace,\n hasRegistrationMode,\n hasTypedHooks: hasNewHookSystem,\n sdkVersion,\n registrationMode: hasRegistrationMode\n ? ((api as any).registrationMode as SdkCapabilities[\"registrationMode\"])\n : undefined,\n };\n}\n"],"mappings":";;;;;;AA+BO,SAAS,sBAAsB,KAA+C;AACnF,QAAM,iCACJ,OAAQ,IAAY,gCAAgC;AACtD,QAAM,8BACJ,OAAQ,IAAY,6BAA6B;AACnD,QAAM,sBACJ,OAAQ,IAAY,YAAY,YAAa,IAAY,YAAY;AACvE,QAAM,sBAAsB,OAAQ,IAAY,qBAAqB;AAErE,QAAM,iBACJ,uBAAuB,OAAQ,IAAY,SAAS,YAAY,WAC3D,IAAY,QAAQ,UACrB;AACN,QAAM,WACJ,kCAAkC,+BAA+B,uBAAuB;AAC1F,QAAM,aACJ,mBACC,WAAW,WAAW,0BAA0B,IAAI,SACrD;AAYF,QAAM,mBACJ,kCAAkC,+BAA+B;AAEnE,SAAO;AAAA,IACL,sBAAsB;AAAA,IACtB;AAAA,IACA;AAAA,IACA,sBAAsB;AAAA;AAAA,IACtB;AAAA,IACA;AAAA,IACA,eAAe;AAAA,IACf;AAAA,IACA,kBAAkB,sBACZ,IAAY,mBACd;AAAA,EACN;AACF;","names":[]}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MIN_PASSPHRASE_LENGTH,
|
|
3
|
+
createPassphraseReader,
|
|
4
|
+
renderDisableReport,
|
|
5
|
+
renderInitReport,
|
|
6
|
+
renderLockReport,
|
|
7
|
+
renderMigrateReport,
|
|
8
|
+
renderStatusReport,
|
|
9
|
+
renderUnlockReport,
|
|
10
|
+
runSecureStoreDisable,
|
|
11
|
+
runSecureStoreInit,
|
|
12
|
+
runSecureStoreLock,
|
|
13
|
+
runSecureStoreMigrate,
|
|
14
|
+
runSecureStoreStatus,
|
|
15
|
+
runSecureStoreUnlock
|
|
16
|
+
} from "./chunk-CK5NTM2S.js";
|
|
17
|
+
import {
|
|
18
|
+
FILE_FORMAT_FLAGS,
|
|
19
|
+
FILE_FORMAT_VERSION,
|
|
20
|
+
MAGIC_BYTES,
|
|
21
|
+
MAGIC_HEADER_SIZE,
|
|
22
|
+
SecureStoreDecryptError,
|
|
23
|
+
SecureStoreLockedError,
|
|
24
|
+
decryptFileBody,
|
|
25
|
+
decryptMemoryDirToPlaintext,
|
|
26
|
+
encryptFileBody,
|
|
27
|
+
filePathAad,
|
|
28
|
+
isEncryptedFile,
|
|
29
|
+
migrateMemoryDirToEncrypted,
|
|
30
|
+
readMaybeEncryptedFile,
|
|
31
|
+
writeMaybeEncryptedFile
|
|
32
|
+
} from "./chunk-YNJHCGDT.js";
|
|
33
|
+
import {
|
|
34
|
+
HEADER_FILENAME,
|
|
35
|
+
HEADER_FORMAT,
|
|
36
|
+
HEADER_FORMAT_VERSION,
|
|
37
|
+
SECURE_STORE_DIR_NAME,
|
|
38
|
+
buildHeader,
|
|
39
|
+
buildHeaderFromPassphrase,
|
|
40
|
+
deriveKeyFromHeader,
|
|
41
|
+
headerPath,
|
|
42
|
+
keyring_exports,
|
|
43
|
+
parseHeader,
|
|
44
|
+
readHeader,
|
|
45
|
+
secureStoreDir,
|
|
46
|
+
serializeHeader,
|
|
47
|
+
validateHeader,
|
|
48
|
+
verifyKey,
|
|
49
|
+
writeHeader
|
|
50
|
+
} from "./chunk-BJMBJZ2Y.js";
|
|
51
|
+
import {
|
|
52
|
+
METADATA_FORMAT,
|
|
53
|
+
METADATA_FORMAT_VERSION,
|
|
54
|
+
buildMetadata,
|
|
55
|
+
decodeMetadataSalt,
|
|
56
|
+
parseMetadata,
|
|
57
|
+
serializeMetadata,
|
|
58
|
+
validateMetadata
|
|
59
|
+
} from "./chunk-UKJAGEXH.js";
|
|
60
|
+
import {
|
|
61
|
+
DEFAULT_ARGON2ID_PARAMS,
|
|
62
|
+
DEFAULT_SCRYPT_PARAMS,
|
|
63
|
+
KDF_KEY_LENGTH,
|
|
64
|
+
KDF_SALT_LENGTH,
|
|
65
|
+
constantTimeEqual,
|
|
66
|
+
deriveKey,
|
|
67
|
+
deriveKeyScrypt,
|
|
68
|
+
validateScryptParams
|
|
69
|
+
} from "./chunk-FP2373TW.js";
|
|
70
|
+
import {
|
|
71
|
+
AES_KEY_LENGTH,
|
|
72
|
+
AUTH_TAG_LENGTH,
|
|
73
|
+
ENVELOPE_HEADER_SIZE,
|
|
74
|
+
ENVELOPE_LAYOUT,
|
|
75
|
+
ENVELOPE_SALT_LENGTH,
|
|
76
|
+
ENVELOPE_VERSION,
|
|
77
|
+
IV_LENGTH,
|
|
78
|
+
generateSalt,
|
|
79
|
+
open,
|
|
80
|
+
parseEnvelope,
|
|
81
|
+
seal
|
|
82
|
+
} from "./chunk-A6XUJE5D.js";
|
|
83
|
+
import "./chunk-PZ5AY32C.js";
|
|
84
|
+
export {
|
|
85
|
+
AES_KEY_LENGTH,
|
|
86
|
+
AUTH_TAG_LENGTH,
|
|
87
|
+
DEFAULT_ARGON2ID_PARAMS,
|
|
88
|
+
DEFAULT_SCRYPT_PARAMS,
|
|
89
|
+
ENVELOPE_HEADER_SIZE,
|
|
90
|
+
ENVELOPE_LAYOUT,
|
|
91
|
+
ENVELOPE_SALT_LENGTH,
|
|
92
|
+
ENVELOPE_VERSION,
|
|
93
|
+
FILE_FORMAT_FLAGS,
|
|
94
|
+
FILE_FORMAT_VERSION,
|
|
95
|
+
HEADER_FILENAME,
|
|
96
|
+
HEADER_FORMAT,
|
|
97
|
+
HEADER_FORMAT_VERSION,
|
|
98
|
+
IV_LENGTH,
|
|
99
|
+
KDF_KEY_LENGTH,
|
|
100
|
+
KDF_SALT_LENGTH,
|
|
101
|
+
MAGIC_BYTES,
|
|
102
|
+
MAGIC_HEADER_SIZE,
|
|
103
|
+
METADATA_FORMAT,
|
|
104
|
+
METADATA_FORMAT_VERSION,
|
|
105
|
+
MIN_PASSPHRASE_LENGTH,
|
|
106
|
+
SECURE_STORE_DIR_NAME,
|
|
107
|
+
SecureStoreDecryptError,
|
|
108
|
+
SecureStoreLockedError,
|
|
109
|
+
buildHeader,
|
|
110
|
+
buildHeaderFromPassphrase,
|
|
111
|
+
buildMetadata,
|
|
112
|
+
constantTimeEqual,
|
|
113
|
+
createPassphraseReader,
|
|
114
|
+
decodeMetadataSalt,
|
|
115
|
+
decryptFileBody,
|
|
116
|
+
decryptMemoryDirToPlaintext,
|
|
117
|
+
deriveKey,
|
|
118
|
+
deriveKeyFromHeader,
|
|
119
|
+
deriveKeyScrypt,
|
|
120
|
+
encryptFileBody,
|
|
121
|
+
filePathAad,
|
|
122
|
+
generateSalt,
|
|
123
|
+
headerPath,
|
|
124
|
+
isEncryptedFile,
|
|
125
|
+
keyring_exports as keyring,
|
|
126
|
+
migrateMemoryDirToEncrypted,
|
|
127
|
+
open,
|
|
128
|
+
parseEnvelope,
|
|
129
|
+
parseHeader,
|
|
130
|
+
parseMetadata,
|
|
131
|
+
readHeader,
|
|
132
|
+
readMaybeEncryptedFile,
|
|
133
|
+
renderDisableReport,
|
|
134
|
+
renderInitReport,
|
|
135
|
+
renderLockReport,
|
|
136
|
+
renderMigrateReport,
|
|
137
|
+
renderStatusReport,
|
|
138
|
+
renderUnlockReport,
|
|
139
|
+
runSecureStoreDisable,
|
|
140
|
+
runSecureStoreInit,
|
|
141
|
+
runSecureStoreLock,
|
|
142
|
+
runSecureStoreMigrate,
|
|
143
|
+
runSecureStoreStatus,
|
|
144
|
+
runSecureStoreUnlock,
|
|
145
|
+
seal,
|
|
146
|
+
secureStoreDir,
|
|
147
|
+
serializeHeader,
|
|
148
|
+
serializeMetadata,
|
|
149
|
+
validateHeader,
|
|
150
|
+
validateMetadata,
|
|
151
|
+
validateScryptParams,
|
|
152
|
+
verifyKey,
|
|
153
|
+
writeHeader,
|
|
154
|
+
writeMaybeEncryptedFile
|
|
155
|
+
};
|
|
156
|
+
//# sourceMappingURL=secure-store-4R2GSO7S.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PluginConfig, MemoryFile } from './types.js';
|
|
2
2
|
import { R as RolloutSummaryInput, M as MaterializeResult } from './codex-materialize-CQlLTzke.js';
|
|
3
3
|
import { LoggerBackend } from './logger.js';
|
|
4
|
-
import {
|
|
4
|
+
import { SemanticConsolidationLlmOperator } from './consolidation-operator.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* memory-extension-host/types.ts — Types for third-party memory extension discovery.
|
|
@@ -104,7 +104,7 @@ declare function parseConsolidationResponse(response: string): string;
|
|
|
104
104
|
* returns). Callers persist this as the body of the new memory.
|
|
105
105
|
*/
|
|
106
106
|
interface OperatorAwareConsolidationResult {
|
|
107
|
-
operator:
|
|
107
|
+
operator: SemanticConsolidationLlmOperator;
|
|
108
108
|
output: string;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
@@ -126,7 +126,7 @@ interface OperatorAwareConsolidationResult {
|
|
|
126
126
|
* logical source actually encodes several distinct facts — at which
|
|
127
127
|
* point the orchestrator would need to write multiple outputs.
|
|
128
128
|
*/
|
|
129
|
-
declare function chooseConsolidationOperator(cluster: ConsolidationCluster):
|
|
129
|
+
declare function chooseConsolidationOperator(cluster: ConsolidationCluster): SemanticConsolidationLlmOperator;
|
|
130
130
|
/**
|
|
131
131
|
* Build the operator-aware LLM prompt. The LLM is asked to return a
|
|
132
132
|
* JSON object `{ "operator": <split|merge|update>, "output": <content> }`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './types.js';
|
|
2
2
|
import './codex-materialize-CQlLTzke.js';
|
|
3
|
-
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
4
|
-
export { CONSOLIDATION_OPERATORS, ConsolidationOperator, isConsolidationOperator, isValidDerivedFromEntry } from './consolidation-operator.js';
|
|
3
|
+
export { C as ConsolidationCluster, O as OperatorAwareConsolidationResult, S as SemanticConsolidationResult, a as buildConsolidationPrompt, b as buildExtensionsBlockForConsolidation, c as buildOperatorAwareConsolidationPrompt, e as chooseConsolidationOperator, f as findSimilarClusters, m as materializeAfterSemanticConsolidation, p as parseConsolidationResponse, g as parseOperatorAwareConsolidationResponse, r as resolveExtensionsRoot } from './semantic-consolidation-ByBXb-sf.js';
|
|
4
|
+
export { CONSOLIDATION_OPERATORS, ConsolidationOperator, SemanticConsolidationLlmOperator, isConsolidationOperator, isSemanticConsolidationLlmOperator, isValidDerivedFromEntry } from './consolidation-operator.js';
|
|
5
5
|
import './logger.js';
|
|
@@ -7,18 +7,19 @@ import {
|
|
|
7
7
|
materializeAfterSemanticConsolidation,
|
|
8
8
|
parseConsolidationResponse,
|
|
9
9
|
parseOperatorAwareConsolidationResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AGZHRWPT.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveExtensionsRoot
|
|
13
13
|
} from "./chunk-EJI5XIBB.js";
|
|
14
14
|
import "./chunk-DT5TVLJE.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-Y4A6M3B6.js";
|
|
16
|
+
import "./chunk-YNJHCGDT.js";
|
|
17
17
|
import "./chunk-4KAN3GZ3.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-43EKP2UK.js";
|
|
19
|
+
import "./chunk-PFV5C235.js";
|
|
20
|
+
import "./chunk-RULE4VG5.js";
|
|
20
21
|
import "./chunk-SCU65EZI.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-67YLUWLG.js";
|
|
22
23
|
import "./chunk-DM2T26WE.js";
|
|
23
24
|
import "./chunk-QSVPYQPG.js";
|
|
24
25
|
import "./chunk-M62O4P4T.js";
|
|
@@ -26,11 +27,14 @@ import "./chunk-4DJQYKMN.js";
|
|
|
26
27
|
import {
|
|
27
28
|
CONSOLIDATION_OPERATORS,
|
|
28
29
|
isConsolidationOperator,
|
|
30
|
+
isSemanticConsolidationLlmOperator,
|
|
29
31
|
isValidDerivedFromEntry
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G7D6GZ5J.js";
|
|
31
33
|
import "./chunk-FAAFWE4G.js";
|
|
32
34
|
import "./chunk-MARWOCVP.js";
|
|
33
35
|
import "./chunk-2ODBA7MQ.js";
|
|
36
|
+
import "./chunk-A6XUJE5D.js";
|
|
37
|
+
import "./chunk-PZ5AY32C.js";
|
|
34
38
|
export {
|
|
35
39
|
CONSOLIDATION_OPERATORS,
|
|
36
40
|
buildConsolidationPrompt,
|
|
@@ -39,6 +43,7 @@ export {
|
|
|
39
43
|
chooseConsolidationOperator,
|
|
40
44
|
findSimilarClusters,
|
|
41
45
|
isConsolidationOperator,
|
|
46
|
+
isSemanticConsolidationLlmOperator,
|
|
42
47
|
isValidDerivedFromEntry,
|
|
43
48
|
materializeAfterSemanticConsolidation,
|
|
44
49
|
parseConsolidationResponse,
|
|
@@ -9,7 +9,7 @@ interface SemanticRulePromotionCandidate {
|
|
|
9
9
|
}
|
|
10
10
|
interface SemanticRulePromotionSkip {
|
|
11
11
|
sourceMemoryId: string;
|
|
12
|
-
reason: "disabled" | "source-memory-missing" | "source-memory-not-episode" | "no-explicit-rule" | "duplicate-rule";
|
|
12
|
+
reason: "disabled" | "source-memory-missing" | "source-memory-forgotten" | "source-memory-not-episode" | "no-explicit-rule" | "duplicate-rule";
|
|
13
13
|
existingRuleId?: string;
|
|
14
14
|
}
|
|
15
15
|
interface SemanticRulePromotionReport {
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
promoteSemanticRuleFromMemory
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MUELDH4F.js";
|
|
4
|
+
import "./chunk-Y4A6M3B6.js";
|
|
5
|
+
import "./chunk-YNJHCGDT.js";
|
|
6
6
|
import "./chunk-4KAN3GZ3.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-43EKP2UK.js";
|
|
8
|
+
import "./chunk-PFV5C235.js";
|
|
9
|
+
import "./chunk-RULE4VG5.js";
|
|
9
10
|
import "./chunk-SCU65EZI.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-67YLUWLG.js";
|
|
11
12
|
import "./chunk-DM2T26WE.js";
|
|
12
13
|
import "./chunk-QSVPYQPG.js";
|
|
13
14
|
import "./chunk-M62O4P4T.js";
|
|
14
15
|
import "./chunk-4DJQYKMN.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-G7D6GZ5J.js";
|
|
16
17
|
import "./chunk-FAAFWE4G.js";
|
|
17
18
|
import "./chunk-2ODBA7MQ.js";
|
|
19
|
+
import "./chunk-A6XUJE5D.js";
|
|
20
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
21
|
export {
|
|
19
22
|
promoteSemanticRuleFromMemory
|
|
20
23
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MemoryFile } from './types.js';
|
|
2
2
|
|
|
3
|
-
type SemanticRuleVerificationStatus = "verified" | "source-memory-missing" | "source-memory-archived" | "source-memory-not-episode";
|
|
3
|
+
type SemanticRuleVerificationStatus = "verified" | "source-memory-missing" | "source-memory-archived" | "source-memory-forgotten" | "source-memory-not-episode";
|
|
4
4
|
interface VerifiedSemanticRuleResult {
|
|
5
5
|
rule: MemoryFile;
|
|
6
6
|
score: number;
|