@remnic/core 1.0.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/abstraction-nodes.d.ts +52 -0
- package/dist/abstraction-nodes.js +15 -0
- package/dist/abstraction-nodes.js.map +1 -0
- package/dist/access-cli.d.ts +5 -0
- package/dist/access-cli.js +308 -0
- package/dist/access-cli.js.map +1 -0
- package/dist/access-http.d.ts +158 -0
- package/dist/access-http.js +32 -0
- package/dist/access-http.js.map +1 -0
- package/dist/access-idempotency.d.ts +31 -0
- package/dist/access-idempotency.js +11 -0
- package/dist/access-idempotency.js.map +1 -0
- package/dist/access-mcp.d.ts +76 -0
- package/dist/access-mcp.js +8 -0
- package/dist/access-mcp.js.map +1 -0
- package/dist/access-schema.d.ts +266 -0
- package/dist/access-schema.js +29 -0
- package/dist/access-schema.js.map +1 -0
- package/dist/access-service.d.ts +614 -0
- package/dist/access-service.js +32 -0
- package/dist/access-service.js.map +1 -0
- package/dist/behavior-learner.d.ts +16 -0
- package/dist/behavior-learner.js +124 -0
- package/dist/behavior-learner.js.map +1 -0
- package/dist/behavior-signals.d.ts +15 -0
- package/dist/behavior-signals.js +11 -0
- package/dist/behavior-signals.js.map +1 -0
- package/dist/bootstrap.d.ts +46 -0
- package/dist/bootstrap.js +9 -0
- package/dist/bootstrap.js.map +1 -0
- package/dist/boxes.d.ts +93 -0
- package/dist/boxes.js +14 -0
- package/dist/boxes.js.map +1 -0
- package/dist/buffer.d.ts +22 -0
- package/dist/buffer.js +9 -0
- package/dist/buffer.js.map +1 -0
- package/dist/calibration.d.ts +81 -0
- package/dist/calibration.js +239 -0
- package/dist/calibration.js.map +1 -0
- package/dist/causal-behavior.d.ts +79 -0
- package/dist/causal-behavior.js +190 -0
- package/dist/causal-behavior.js.map +1 -0
- package/dist/causal-chain.d.ts +61 -0
- package/dist/causal-chain.js +24 -0
- package/dist/causal-chain.js.map +1 -0
- package/dist/causal-consolidation.d.ts +71 -0
- package/dist/causal-consolidation.js +211 -0
- package/dist/causal-consolidation.js.map +1 -0
- package/dist/causal-retrieval.d.ts +44 -0
- package/dist/causal-retrieval.js +184 -0
- package/dist/causal-retrieval.js.map +1 -0
- package/dist/causal-trajectory-graph.d.ts +13 -0
- package/dist/causal-trajectory-graph.js +59 -0
- package/dist/causal-trajectory-graph.js.map +1 -0
- package/dist/causal-trajectory.d.ts +68 -0
- package/dist/causal-trajectory.js +18 -0
- package/dist/causal-trajectory.js.map +1 -0
- package/dist/chunk-2CJCWDMR.js +87 -0
- package/dist/chunk-2CJCWDMR.js.map +1 -0
- package/dist/chunk-2NMMFZ5T.js +216 -0
- package/dist/chunk-2NMMFZ5T.js.map +1 -0
- package/dist/chunk-2PO5ZRKV.js +103 -0
- package/dist/chunk-2PO5ZRKV.js.map +1 -0
- package/dist/chunk-3QKK7QOS.js +154 -0
- package/dist/chunk-3QKK7QOS.js.map +1 -0
- package/dist/chunk-3SLRNYNG.js +26 -0
- package/dist/chunk-3SLRNYNG.js.map +1 -0
- package/dist/chunk-4A24LIM2.js +68 -0
- package/dist/chunk-4A24LIM2.js.map +1 -0
- package/dist/chunk-6HZ6AO2P.js +164 -0
- package/dist/chunk-6HZ6AO2P.js.map +1 -0
- package/dist/chunk-763GUIOU.js +302 -0
- package/dist/chunk-763GUIOU.js.map +1 -0
- package/dist/chunk-AAI7JARD.js +173 -0
- package/dist/chunk-AAI7JARD.js.map +1 -0
- package/dist/chunk-B7LOFDVE.js +112 -0
- package/dist/chunk-B7LOFDVE.js.map +1 -0
- package/dist/chunk-BDFZXRSO.js +318 -0
- package/dist/chunk-BDFZXRSO.js.map +1 -0
- package/dist/chunk-BOUYNNYD.js +707 -0
- package/dist/chunk-BOUYNNYD.js.map +1 -0
- package/dist/chunk-BRK4ODMI.js +60 -0
- package/dist/chunk-BRK4ODMI.js.map +1 -0
- package/dist/chunk-C6QPK5GG.js +111 -0
- package/dist/chunk-C6QPK5GG.js.map +1 -0
- package/dist/chunk-C7VW7C3F.js +117 -0
- package/dist/chunk-C7VW7C3F.js.map +1 -0
- package/dist/chunk-CDW777AI.js +621 -0
- package/dist/chunk-CDW777AI.js.map +1 -0
- package/dist/chunk-CULXMQJH.js +185 -0
- package/dist/chunk-CULXMQJH.js.map +1 -0
- package/dist/chunk-CXWFUJR2.js +1203 -0
- package/dist/chunk-CXWFUJR2.js.map +1 -0
- package/dist/chunk-DGXUHMOV.js +61 -0
- package/dist/chunk-DGXUHMOV.js.map +1 -0
- package/dist/chunk-DM2T26WE.js +61 -0
- package/dist/chunk-DM2T26WE.js.map +1 -0
- package/dist/chunk-DORBM6OB.js +81 -0
- package/dist/chunk-DORBM6OB.js.map +1 -0
- package/dist/chunk-DT5TVLJE.js +32 -0
- package/dist/chunk-DT5TVLJE.js.map +1 -0
- package/dist/chunk-EEQLFRUM.js +89 -0
- package/dist/chunk-EEQLFRUM.js.map +1 -0
- package/dist/chunk-EQINRHYR.js +672 -0
- package/dist/chunk-EQINRHYR.js.map +1 -0
- package/dist/chunk-ESSMF2FR.js +146 -0
- package/dist/chunk-ESSMF2FR.js.map +1 -0
- package/dist/chunk-ETOW6ACV.js +158 -0
- package/dist/chunk-ETOW6ACV.js.map +1 -0
- package/dist/chunk-FYIYMQ5N.js +221 -0
- package/dist/chunk-FYIYMQ5N.js.map +1 -0
- package/dist/chunk-G3AG3KZN.js +78 -0
- package/dist/chunk-G3AG3KZN.js.map +1 -0
- package/dist/chunk-GJR6D6KC.js +61 -0
- package/dist/chunk-GJR6D6KC.js.map +1 -0
- package/dist/chunk-GPGBSNKM.js +380 -0
- package/dist/chunk-GPGBSNKM.js.map +1 -0
- package/dist/chunk-H63EDPFJ.js +57 -0
- package/dist/chunk-H63EDPFJ.js.map +1 -0
- package/dist/chunk-HG2NKWR2.js +185 -0
- package/dist/chunk-HG2NKWR2.js.map +1 -0
- package/dist/chunk-HL4DB7TO.js +13 -0
- package/dist/chunk-HL4DB7TO.js.map +1 -0
- package/dist/chunk-HLBYLYRD.js +346 -0
- package/dist/chunk-HLBYLYRD.js.map +1 -0
- package/dist/chunk-HLXVTBF3.js +109 -0
- package/dist/chunk-HLXVTBF3.js.map +1 -0
- package/dist/chunk-IFFFR3MR.js +68 -0
- package/dist/chunk-IFFFR3MR.js.map +1 -0
- package/dist/chunk-ISY75RLM.js +1027 -0
- package/dist/chunk-ISY75RLM.js.map +1 -0
- package/dist/chunk-IZME7KW2.js +1886 -0
- package/dist/chunk-IZME7KW2.js.map +1 -0
- package/dist/chunk-J3BT33K7.js +720 -0
- package/dist/chunk-J3BT33K7.js.map +1 -0
- package/dist/chunk-J47FNDR7.js +113 -0
- package/dist/chunk-J47FNDR7.js.map +1 -0
- package/dist/chunk-JWPLJLDU.js +63 -0
- package/dist/chunk-JWPLJLDU.js.map +1 -0
- package/dist/chunk-K6WK37A6.js +865 -0
- package/dist/chunk-K6WK37A6.js.map +1 -0
- package/dist/chunk-KL4CP4SB.js +130 -0
- package/dist/chunk-KL4CP4SB.js.map +1 -0
- package/dist/chunk-KT4NEUNF.js +315 -0
- package/dist/chunk-KT4NEUNF.js.map +1 -0
- package/dist/chunk-KWBU5S5U.js +42 -0
- package/dist/chunk-KWBU5S5U.js.map +1 -0
- package/dist/chunk-L5RPWGFK.js +59 -0
- package/dist/chunk-L5RPWGFK.js.map +1 -0
- package/dist/chunk-L7WO3MZ4.js +128 -0
- package/dist/chunk-L7WO3MZ4.js.map +1 -0
- package/dist/chunk-LIRZNNUP.js +74 -0
- package/dist/chunk-LIRZNNUP.js.map +1 -0
- package/dist/chunk-LK6SGL53.js +22 -0
- package/dist/chunk-LK6SGL53.js.map +1 -0
- package/dist/chunk-LOBRX7VD.js +200 -0
- package/dist/chunk-LOBRX7VD.js.map +1 -0
- package/dist/chunk-LPSF4OQH.js +47 -0
- package/dist/chunk-LPSF4OQH.js.map +1 -0
- package/dist/chunk-LU3GQNDQ.js +152 -0
- package/dist/chunk-LU3GQNDQ.js.map +1 -0
- package/dist/chunk-M5KEYE5E.js +350 -0
- package/dist/chunk-M5KEYE5E.js.map +1 -0
- package/dist/chunk-M62O4P4T.js +41 -0
- package/dist/chunk-M62O4P4T.js.map +1 -0
- package/dist/chunk-MARWOCVP.js +48 -0
- package/dist/chunk-MARWOCVP.js.map +1 -0
- package/dist/chunk-MDDAA2AO.js +925 -0
- package/dist/chunk-MDDAA2AO.js.map +1 -0
- package/dist/chunk-MWGVGUIS.js +198 -0
- package/dist/chunk-MWGVGUIS.js.map +1 -0
- package/dist/chunk-N5AKDXAI.js +74 -0
- package/dist/chunk-N5AKDXAI.js.map +1 -0
- package/dist/chunk-NGAVDO7E.js +115 -0
- package/dist/chunk-NGAVDO7E.js.map +1 -0
- package/dist/chunk-NTTLPF7F.js +283 -0
- package/dist/chunk-NTTLPF7F.js.map +1 -0
- package/dist/chunk-ONRU4L2N.js +240 -0
- package/dist/chunk-ONRU4L2N.js.map +1 -0
- package/dist/chunk-ORZMT74A.js +209 -0
- package/dist/chunk-ORZMT74A.js.map +1 -0
- package/dist/chunk-OTAVQCSF.js +268 -0
- package/dist/chunk-OTAVQCSF.js.map +1 -0
- package/dist/chunk-PGK3VUHN.js +160 -0
- package/dist/chunk-PGK3VUHN.js.map +1 -0
- package/dist/chunk-Q6FETXJA.js +1362 -0
- package/dist/chunk-Q6FETXJA.js.map +1 -0
- package/dist/chunk-QANCTXQF.js +271 -0
- package/dist/chunk-QANCTXQF.js.map +1 -0
- package/dist/chunk-QCCCQT3O.js +189 -0
- package/dist/chunk-QCCCQT3O.js.map +1 -0
- package/dist/chunk-QDOSNLB4.js +1048 -0
- package/dist/chunk-QDOSNLB4.js.map +1 -0
- package/dist/chunk-QFQVZOGA.js +2168 -0
- package/dist/chunk-QFQVZOGA.js.map +1 -0
- package/dist/chunk-QPKFPHOO.js +178 -0
- package/dist/chunk-QPKFPHOO.js.map +1 -0
- package/dist/chunk-QSVPYQPG.js +268 -0
- package/dist/chunk-QSVPYQPG.js.map +1 -0
- package/dist/chunk-QWUUMMIK.js +3045 -0
- package/dist/chunk-QWUUMMIK.js.map +1 -0
- package/dist/chunk-QY2BHY5O.js +2378 -0
- package/dist/chunk-QY2BHY5O.js.map +1 -0
- package/dist/chunk-SCHEKPYH.js +349 -0
- package/dist/chunk-SCHEKPYH.js.map +1 -0
- package/dist/chunk-SCU65EZI.js +15 -0
- package/dist/chunk-SCU65EZI.js.map +1 -0
- package/dist/chunk-T4WRIV2C.js +170 -0
- package/dist/chunk-T4WRIV2C.js.map +1 -0
- package/dist/chunk-TKO4HZCK.js +1852 -0
- package/dist/chunk-TKO4HZCK.js.map +1 -0
- package/dist/chunk-TP4FZJIZ.js +93 -0
- package/dist/chunk-TP4FZJIZ.js.map +1 -0
- package/dist/chunk-TPB3I2AC.js +403 -0
- package/dist/chunk-TPB3I2AC.js.map +1 -0
- package/dist/chunk-TVVVQQAK.js +1431 -0
- package/dist/chunk-TVVVQQAK.js.map +1 -0
- package/dist/chunk-U4PV25RD.js +14 -0
- package/dist/chunk-U4PV25RD.js.map +1 -0
- package/dist/chunk-UCYSTFZR.js +284 -0
- package/dist/chunk-UCYSTFZR.js.map +1 -0
- package/dist/chunk-UHGBNIOS.js +205 -0
- package/dist/chunk-UHGBNIOS.js.map +1 -0
- package/dist/chunk-UIYZ5T3I.js +108 -0
- package/dist/chunk-UIYZ5T3I.js.map +1 -0
- package/dist/chunk-UV2FO7J4.js +747 -0
- package/dist/chunk-UV2FO7J4.js.map +1 -0
- package/dist/chunk-UZB5KHKX.js +63 -0
- package/dist/chunk-UZB5KHKX.js.map +1 -0
- package/dist/chunk-V3RXWQIE.js +626 -0
- package/dist/chunk-V3RXWQIE.js.map +1 -0
- package/dist/chunk-V4YC4LUK.js +444 -0
- package/dist/chunk-V4YC4LUK.js.map +1 -0
- package/dist/chunk-VEWZZM3H.js +133 -0
- package/dist/chunk-VEWZZM3H.js.map +1 -0
- package/dist/chunk-WWIQTB2Y.js +98 -0
- package/dist/chunk-WWIQTB2Y.js.map +1 -0
- package/dist/chunk-X7XN6YU4.js +24 -0
- package/dist/chunk-X7XN6YU4.js.map +1 -0
- package/dist/chunk-XKECPATV.js +202 -0
- package/dist/chunk-XKECPATV.js.map +1 -0
- package/dist/chunk-XYIK4LF6.js +75 -0
- package/dist/chunk-XYIK4LF6.js.map +1 -0
- package/dist/chunk-Y27UJK6V.js +39 -0
- package/dist/chunk-Y27UJK6V.js.map +1 -0
- package/dist/chunk-Y4Z4I6WK.js +9 -0
- package/dist/chunk-Y4Z4I6WK.js.map +1 -0
- package/dist/chunk-YAPUAHAY.js +10761 -0
- package/dist/chunk-YAPUAHAY.js.map +1 -0
- package/dist/chunk-YAZNBMNF.js +92 -0
- package/dist/chunk-YAZNBMNF.js.map +1 -0
- package/dist/chunk-YCN4BVDK.js +66 -0
- package/dist/chunk-YCN4BVDK.js.map +1 -0
- package/dist/chunk-YNCQ7E4M.js +388 -0
- package/dist/chunk-YNCQ7E4M.js.map +1 -0
- package/dist/chunk-YNI4S5WT.js +143 -0
- package/dist/chunk-YNI4S5WT.js.map +1 -0
- package/dist/chunk-YRMVARQP.js +406 -0
- package/dist/chunk-YRMVARQP.js.map +1 -0
- package/dist/chunk-Z5AAYHUC.js +79 -0
- package/dist/chunk-Z5AAYHUC.js.map +1 -0
- package/dist/chunk-Z5LAYHGJ.js +15 -0
- package/dist/chunk-Z5LAYHGJ.js.map +1 -0
- package/dist/chunk-ZJLY4QSU.js +823 -0
- package/dist/chunk-ZJLY4QSU.js.map +1 -0
- package/dist/chunk-ZKYI7UVO.js +276 -0
- package/dist/chunk-ZKYI7UVO.js.map +1 -0
- package/dist/chunk-ZPKBYX2F.js +297 -0
- package/dist/chunk-ZPKBYX2F.js.map +1 -0
- package/dist/chunking.d.ts +48 -0
- package/dist/chunking.js +11 -0
- package/dist/chunking.js.map +1 -0
- package/dist/cli.d.ts +1162 -0
- package/dist/cli.js +7187 -0
- package/dist/cli.js.map +1 -0
- package/dist/commitment-ledger.d.ts +83 -0
- package/dist/commitment-ledger.js +19 -0
- package/dist/commitment-ledger.js.map +1 -0
- package/dist/compression-optimizer.d.ts +37 -0
- package/dist/compression-optimizer.js +13 -0
- package/dist/compression-optimizer.js.map +1 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.js +12 -0
- package/dist/config.js.map +1 -0
- package/dist/cue-anchors.d.ts +50 -0
- package/dist/cue-anchors.js +15 -0
- package/dist/cue-anchors.js.map +1 -0
- package/dist/dashboard-runtime.d.ts +46 -0
- package/dist/dashboard-runtime.js +10 -0
- package/dist/dashboard-runtime.js.map +1 -0
- package/dist/day-summary.d.ts +6 -0
- package/dist/day-summary.js +10 -0
- package/dist/day-summary.js.map +1 -0
- package/dist/delinearize.d.ts +34 -0
- package/dist/delinearize.js +11 -0
- package/dist/delinearize.js.map +1 -0
- package/dist/embedding-fallback.d.ts +22 -0
- package/dist/embedding-fallback.js +8 -0
- package/dist/embedding-fallback.js.map +1 -0
- package/dist/engine-P26JFSVY.js +19 -0
- package/dist/engine-P26JFSVY.js.map +1 -0
- package/dist/entity-retrieval.d.ts +23 -0
- package/dist/entity-retrieval.js +24 -0
- package/dist/entity-retrieval.js.map +1 -0
- package/dist/evals.d.ts +282 -0
- package/dist/evals.js +32 -0
- package/dist/evals.js.map +1 -0
- package/dist/explicit-capture.d.ts +60 -0
- package/dist/explicit-capture.js +23 -0
- package/dist/explicit-capture.js.map +1 -0
- package/dist/extraction.d.ts +141 -0
- package/dist/extraction.js +22 -0
- package/dist/extraction.js.map +1 -0
- package/dist/fallback-llm.d.ts +95 -0
- package/dist/fallback-llm.js +12 -0
- package/dist/fallback-llm.js.map +1 -0
- package/dist/graph-dashboard-diff.d.ts +12 -0
- package/dist/graph-dashboard-diff.js +8 -0
- package/dist/graph-dashboard-diff.js.map +1 -0
- package/dist/graph-dashboard-key.d.ts +5 -0
- package/dist/graph-dashboard-key.js +7 -0
- package/dist/graph-dashboard-key.js.map +1 -0
- package/dist/graph-dashboard-parser.d.ts +20 -0
- package/dist/graph-dashboard-parser.js +8 -0
- package/dist/graph-dashboard-parser.js.map +1 -0
- package/dist/graph.d.ts +157 -0
- package/dist/graph.js +27 -0
- package/dist/graph.js.map +1 -0
- package/dist/harmonic-retrieval.d.ts +27 -0
- package/dist/harmonic-retrieval.js +12 -0
- package/dist/harmonic-retrieval.js.map +1 -0
- package/dist/himem.d.ts +23 -0
- package/dist/himem.js +7 -0
- package/dist/himem.js.map +1 -0
- package/dist/hygiene.d.ts +24 -0
- package/dist/hygiene.js +9 -0
- package/dist/hygiene.js.map +1 -0
- package/dist/identity-continuity.d.ts +17 -0
- package/dist/identity-continuity.js +19 -0
- package/dist/identity-continuity.js.map +1 -0
- package/dist/importance.d.ts +25 -0
- package/dist/importance.js +11 -0
- package/dist/importance.js.map +1 -0
- package/dist/index.d.ts +923 -0
- package/dist/index.js +2512 -0
- package/dist/index.js.map +1 -0
- package/dist/intent.d.ts +8 -0
- package/dist/intent.js +13 -0
- package/dist/intent.js.map +1 -0
- package/dist/json-extract.d.ts +14 -0
- package/dist/json-extract.js +9 -0
- package/dist/json-extract.js.map +1 -0
- package/dist/json-store.d.ts +5 -0
- package/dist/json-store.js +11 -0
- package/dist/json-store.js.map +1 -0
- package/dist/legacy-hook-compat.d.ts +3 -0
- package/dist/legacy-hook-compat.js +35 -0
- package/dist/legacy-hook-compat.js.map +1 -0
- package/dist/lifecycle.d.ts +52 -0
- package/dist/lifecycle.js +21 -0
- package/dist/lifecycle.js.map +1 -0
- package/dist/local-llm.d.ts +154 -0
- package/dist/local-llm.js +10 -0
- package/dist/local-llm.js.map +1 -0
- package/dist/logger.d.ts +15 -0
- package/dist/logger.js +9 -0
- package/dist/logger.js.map +1 -0
- package/dist/memory-action-policy.d.ts +13 -0
- package/dist/memory-action-policy.js +7 -0
- package/dist/memory-action-policy.js.map +1 -0
- package/dist/memory-cache.d.ts +35 -0
- package/dist/memory-cache.js +37 -0
- package/dist/memory-cache.js.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +13 -0
- package/dist/memory-lifecycle-ledger-utils.js +23 -0
- package/dist/memory-lifecycle-ledger-utils.js.map +1 -0
- package/dist/memory-projection-format.d.ts +4 -0
- package/dist/memory-projection-format.js +9 -0
- package/dist/memory-projection-format.js.map +1 -0
- package/dist/memory-projection-store-NxMkbocT.d.ts +221 -0
- package/dist/memory-projection-store.d.ts +3 -0
- package/dist/memory-projection-store.js +31 -0
- package/dist/memory-projection-store.js.map +1 -0
- package/dist/model-registry.d.ts +60 -0
- package/dist/model-registry.js +8 -0
- package/dist/model-registry.js.map +1 -0
- package/dist/native-knowledge.d.ts +94 -0
- package/dist/native-knowledge.js +26 -0
- package/dist/native-knowledge.js.map +1 -0
- package/dist/negative.d.ts +26 -0
- package/dist/negative.js +8 -0
- package/dist/negative.js.map +1 -0
- package/dist/objective-state-writers.d.ts +22 -0
- package/dist/objective-state-writers.js +313 -0
- package/dist/objective-state-writers.js.map +1 -0
- package/dist/objective-state.d.ts +75 -0
- package/dist/objective-state.js +17 -0
- package/dist/objective-state.js.map +1 -0
- package/dist/openai-chat-compat.d.ts +13 -0
- package/dist/openai-chat-compat.js +11 -0
- package/dist/openai-chat-compat.js.map +1 -0
- package/dist/operator-toolkit.d.ts +304 -0
- package/dist/operator-toolkit.js +41 -0
- package/dist/operator-toolkit.js.map +1 -0
- package/dist/opik-exporter.d.ts +72 -0
- package/dist/opik-exporter.js +361 -0
- package/dist/opik-exporter.js.map +1 -0
- package/dist/orchestrator-zTa-Qo-1.d.ts +1104 -0
- package/dist/orchestrator.d.ts +21 -0
- package/dist/orchestrator.js +145 -0
- package/dist/orchestrator.js.map +1 -0
- package/dist/policy-runtime.d.ts +37 -0
- package/dist/policy-runtime.js +13 -0
- package/dist/policy-runtime.js.map +1 -0
- package/dist/port-C1GZFv8h.d.ts +41 -0
- package/dist/profiling.d.ts +80 -0
- package/dist/profiling.js +10 -0
- package/dist/profiling.js.map +1 -0
- package/dist/qmd-recall-cache.d.ts +29 -0
- package/dist/qmd-recall-cache.js +13 -0
- package/dist/qmd-recall-cache.js.map +1 -0
- package/dist/qmd.d.ts +105 -0
- package/dist/qmd.js +13 -0
- package/dist/qmd.js.map +1 -0
- package/dist/recall-qos.d.ts +33 -0
- package/dist/recall-qos.js +10 -0
- package/dist/recall-qos.js.map +1 -0
- package/dist/recall-query-policy.d.ts +20 -0
- package/dist/recall-query-policy.js +11 -0
- package/dist/recall-query-policy.js.map +1 -0
- package/dist/recall-state.d.ts +113 -0
- package/dist/recall-state.js +12 -0
- package/dist/recall-state.js.map +1 -0
- package/dist/recall-tokenization.d.ts +4 -0
- package/dist/recall-tokenization.js +9 -0
- package/dist/recall-tokenization.js.map +1 -0
- package/dist/reconstruct.d.ts +16 -0
- package/dist/reconstruct.js +7 -0
- package/dist/reconstruct.js.map +1 -0
- package/dist/release-changelog.d.ts +7 -0
- package/dist/release-changelog.js +30 -0
- package/dist/release-changelog.js.map +1 -0
- package/dist/relevance.d.ts +18 -0
- package/dist/relevance.js +8 -0
- package/dist/relevance.js.map +1 -0
- package/dist/rerank.d.ts +57 -0
- package/dist/rerank.js +11 -0
- package/dist/rerank.js.map +1 -0
- package/dist/resolve-provider-secret.d.ts +16 -0
- package/dist/resolve-provider-secret.js +11 -0
- package/dist/resolve-provider-secret.js.map +1 -0
- package/dist/resume-bundles.d.ts +66 -0
- package/dist/resume-bundles.js +27 -0
- package/dist/resume-bundles.js.map +1 -0
- package/dist/retrieval-agents.d.ts +129 -0
- package/dist/retrieval-agents.js +23 -0
- package/dist/retrieval-agents.js.map +1 -0
- package/dist/retrieval.d.ts +19 -0
- package/dist/retrieval.js +10 -0
- package/dist/retrieval.js.map +1 -0
- package/dist/sanitize.d.ts +9 -0
- package/dist/sanitize.js +9 -0
- package/dist/sanitize.js.map +1 -0
- package/dist/schemas.d.ts +688 -0
- package/dist/schemas.js +51 -0
- package/dist/schemas.js.map +1 -0
- package/dist/sdk-compat.d.ts +21 -0
- package/dist/sdk-compat.js +28 -0
- package/dist/sdk-compat.js.map +1 -0
- package/dist/semantic-consolidation.d.ts +42 -0
- package/dist/semantic-consolidation.js +12 -0
- package/dist/semantic-consolidation.js.map +1 -0
- package/dist/semantic-rule-promotion.d.ts +28 -0
- package/dist/semantic-rule-promotion.js +17 -0
- package/dist/semantic-rule-promotion.js.map +1 -0
- package/dist/semantic-rule-verifier.d.ts +19 -0
- package/dist/semantic-rule-verifier.js +18 -0
- package/dist/semantic-rule-verifier.js.map +1 -0
- package/dist/session-integrity.d.ts +67 -0
- package/dist/session-integrity.js +11 -0
- package/dist/session-integrity.js.map +1 -0
- package/dist/session-observer-bands.d.ts +6 -0
- package/dist/session-observer-bands.js +9 -0
- package/dist/session-observer-bands.js.map +1 -0
- package/dist/session-observer-state.d.ts +40 -0
- package/dist/session-observer-state.js +11 -0
- package/dist/session-observer-state.js.map +1 -0
- package/dist/signal.d.ts +6 -0
- package/dist/signal.js +9 -0
- package/dist/signal.js.map +1 -0
- package/dist/storage.d.ts +453 -0
- package/dist/storage.js +24 -0
- package/dist/storage.js.map +1 -0
- package/dist/store-contract.d.ts +10 -0
- package/dist/store-contract.js +21 -0
- package/dist/store-contract.js.map +1 -0
- package/dist/summarizer.d.ts +35 -0
- package/dist/summarizer.js +17 -0
- package/dist/summarizer.js.map +1 -0
- package/dist/summary-snapshot.d.ts +8 -0
- package/dist/summary-snapshot.js +13 -0
- package/dist/summary-snapshot.js.map +1 -0
- package/dist/temporal-index.d.ts +139 -0
- package/dist/temporal-index.js +29 -0
- package/dist/temporal-index.js.map +1 -0
- package/dist/threading.d.ts +62 -0
- package/dist/threading.js +8 -0
- package/dist/threading.js.map +1 -0
- package/dist/tier-migration.d.ts +44 -0
- package/dist/tier-migration.js +7 -0
- package/dist/tier-migration.js.map +1 -0
- package/dist/tier-routing.d.ts +21 -0
- package/dist/tier-routing.js +10 -0
- package/dist/tier-routing.js.map +1 -0
- package/dist/tmt.d.ts +79 -0
- package/dist/tmt.js +29 -0
- package/dist/tmt.js.map +1 -0
- package/dist/tokens.d.ts +24 -0
- package/dist/tokens.js +21 -0
- package/dist/tokens.js.map +1 -0
- package/dist/topics.d.ts +29 -0
- package/dist/topics.js +9 -0
- package/dist/topics.js.map +1 -0
- package/dist/transcript.d.ts +171 -0
- package/dist/transcript.js +9 -0
- package/dist/transcript.js.map +1 -0
- package/dist/trust-zones.d.ts +170 -0
- package/dist/trust-zones.js +32 -0
- package/dist/trust-zones.js.map +1 -0
- package/dist/types.d.ts +1243 -0
- package/dist/types.js +9 -0
- package/dist/types.js.map +1 -0
- package/dist/utility-learner.d.ts +59 -0
- package/dist/utility-learner.js +17 -0
- package/dist/utility-learner.js.map +1 -0
- package/dist/utility-runtime.d.ts +21 -0
- package/dist/utility-runtime.js +16 -0
- package/dist/utility-runtime.js.map +1 -0
- package/dist/utility-telemetry.d.ts +68 -0
- package/dist/utility-telemetry.js +17 -0
- package/dist/utility-telemetry.js.map +1 -0
- package/dist/verified-recall.d.ts +17 -0
- package/dist/verified-recall.js +19 -0
- package/dist/verified-recall.js.map +1 -0
- package/dist/version-utils.d.ts +4 -0
- package/dist/version-utils.js +7 -0
- package/dist/version-utils.js.map +1 -0
- package/dist/work-product-ledger.d.ts +65 -0
- package/dist/work-product-ledger.js +18 -0
- package/dist/work-product-ledger.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,614 @@
|
|
|
1
|
+
import { DaySummaryResult, RecallPlanMode, MemoryFile, MemoryLifecycleEvent, EntityFile, MemoryStatus } from './types.js';
|
|
2
|
+
import { ExplicitCaptureInput } from './explicit-capture.js';
|
|
3
|
+
import { r as readMemoryGovernanceRunArtifact } from './memory-projection-store-NxMkbocT.js';
|
|
4
|
+
import { LastRecallSnapshot } from './recall-state.js';
|
|
5
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot } from './orchestrator-zTa-Qo-1.js';
|
|
6
|
+
import { TrustZoneStoreStatus, TrustZoneName, TrustZoneRecordKind, TrustZoneSourceClass, TrustZoneProvenanceScore, TrustZonePromotionResult, TrustZoneDemoSeedResult } from './trust-zones.js';
|
|
7
|
+
import 'better-sqlite3';
|
|
8
|
+
import './buffer.js';
|
|
9
|
+
import './storage.js';
|
|
10
|
+
import './port-C1GZFv8h.js';
|
|
11
|
+
import './transcript.js';
|
|
12
|
+
import './session-integrity.js';
|
|
13
|
+
import './summarizer.js';
|
|
14
|
+
import './model-registry.js';
|
|
15
|
+
import './local-llm.js';
|
|
16
|
+
import './relevance.js';
|
|
17
|
+
import './negative.js';
|
|
18
|
+
import './session-observer-state.js';
|
|
19
|
+
import './embedding-fallback.js';
|
|
20
|
+
import './semantic-consolidation.js';
|
|
21
|
+
import 'zod';
|
|
22
|
+
import './policy-runtime.js';
|
|
23
|
+
import './profiling.js';
|
|
24
|
+
|
|
25
|
+
declare class EngramAccessInputError extends Error {
|
|
26
|
+
}
|
|
27
|
+
declare const ENGRAM_ACCESS_WRITE_SCHEMA_VERSION = 1;
|
|
28
|
+
interface EngramAccessHealthResponse {
|
|
29
|
+
ok: true;
|
|
30
|
+
memoryDir: string;
|
|
31
|
+
namespacesEnabled: boolean;
|
|
32
|
+
defaultNamespace: string;
|
|
33
|
+
searchBackend: string;
|
|
34
|
+
qmdEnabled: boolean;
|
|
35
|
+
nativeKnowledgeEnabled: boolean;
|
|
36
|
+
projectionAvailable: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface EngramAccessRecallRequest {
|
|
39
|
+
query: string;
|
|
40
|
+
sessionKey?: string;
|
|
41
|
+
namespace?: string;
|
|
42
|
+
topK?: number;
|
|
43
|
+
mode?: RecallPlanMode | "auto";
|
|
44
|
+
includeDebug?: boolean;
|
|
45
|
+
}
|
|
46
|
+
interface EngramAccessRecallResponse {
|
|
47
|
+
query: string;
|
|
48
|
+
sessionKey?: string;
|
|
49
|
+
namespace: string;
|
|
50
|
+
context: string;
|
|
51
|
+
count: number;
|
|
52
|
+
memoryIds: string[];
|
|
53
|
+
results: EngramAccessMemorySummary[];
|
|
54
|
+
recordedAt?: string;
|
|
55
|
+
traceId?: string;
|
|
56
|
+
plannerMode?: RecallPlanMode;
|
|
57
|
+
fallbackUsed: boolean;
|
|
58
|
+
sourcesUsed: string[];
|
|
59
|
+
budgetsApplied?: LastRecallSnapshot["budgetsApplied"];
|
|
60
|
+
latencyMs?: number;
|
|
61
|
+
debug?: {
|
|
62
|
+
snapshot?: LastRecallSnapshot;
|
|
63
|
+
intent?: IntentDebugSnapshot | null;
|
|
64
|
+
graph?: GraphRecallSnapshot | null;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
interface EngramAccessRecallExplainRequest {
|
|
68
|
+
sessionKey?: string;
|
|
69
|
+
namespace?: string;
|
|
70
|
+
}
|
|
71
|
+
interface EngramAccessRecallExplainResponse {
|
|
72
|
+
found: boolean;
|
|
73
|
+
snapshot?: LastRecallSnapshot;
|
|
74
|
+
intent?: IntentDebugSnapshot | null;
|
|
75
|
+
graph?: GraphRecallSnapshot | null;
|
|
76
|
+
}
|
|
77
|
+
interface EngramAccessDaySummaryRequest {
|
|
78
|
+
memories?: string;
|
|
79
|
+
sessionKey?: string;
|
|
80
|
+
namespace?: string;
|
|
81
|
+
}
|
|
82
|
+
interface EngramAccessMemoryRecord {
|
|
83
|
+
id: string;
|
|
84
|
+
path: string;
|
|
85
|
+
category: string;
|
|
86
|
+
status?: string;
|
|
87
|
+
created?: string;
|
|
88
|
+
updated?: string;
|
|
89
|
+
content: string;
|
|
90
|
+
frontmatter: MemoryFile["frontmatter"];
|
|
91
|
+
}
|
|
92
|
+
interface EngramAccessMemorySummary {
|
|
93
|
+
id: string;
|
|
94
|
+
path: string;
|
|
95
|
+
category: string;
|
|
96
|
+
status: string;
|
|
97
|
+
created?: string;
|
|
98
|
+
updated?: string;
|
|
99
|
+
tags: string[];
|
|
100
|
+
entityRef?: string;
|
|
101
|
+
preview: string;
|
|
102
|
+
}
|
|
103
|
+
interface EngramAccessMemoryBrowseRequest {
|
|
104
|
+
query?: string;
|
|
105
|
+
status?: string;
|
|
106
|
+
category?: string;
|
|
107
|
+
namespace?: string;
|
|
108
|
+
sort?: "updated_desc" | "updated_asc" | "created_desc" | "created_asc";
|
|
109
|
+
limit?: number;
|
|
110
|
+
offset?: number;
|
|
111
|
+
}
|
|
112
|
+
interface EngramAccessMemoryBrowseResponse {
|
|
113
|
+
namespace: string;
|
|
114
|
+
sort: "updated_desc" | "updated_asc" | "created_desc" | "created_asc";
|
|
115
|
+
total: number;
|
|
116
|
+
count: number;
|
|
117
|
+
limit: number;
|
|
118
|
+
offset: number;
|
|
119
|
+
memories: EngramAccessMemorySummary[];
|
|
120
|
+
}
|
|
121
|
+
interface EngramAccessMemoryResponse {
|
|
122
|
+
found: boolean;
|
|
123
|
+
namespace: string;
|
|
124
|
+
memory?: EngramAccessMemoryRecord;
|
|
125
|
+
}
|
|
126
|
+
interface EngramAccessTimelineResponse {
|
|
127
|
+
found: boolean;
|
|
128
|
+
namespace: string;
|
|
129
|
+
count: number;
|
|
130
|
+
timeline: MemoryLifecycleEvent[];
|
|
131
|
+
}
|
|
132
|
+
interface EngramAccessEntitySummary {
|
|
133
|
+
name: string;
|
|
134
|
+
type: string;
|
|
135
|
+
updated: string;
|
|
136
|
+
summary?: string;
|
|
137
|
+
aliases: string[];
|
|
138
|
+
}
|
|
139
|
+
interface EngramAccessEntityListResponse {
|
|
140
|
+
namespace: string;
|
|
141
|
+
total: number;
|
|
142
|
+
count: number;
|
|
143
|
+
limit: number;
|
|
144
|
+
offset: number;
|
|
145
|
+
entities: EngramAccessEntitySummary[];
|
|
146
|
+
}
|
|
147
|
+
interface EngramAccessEntityResponse {
|
|
148
|
+
found: boolean;
|
|
149
|
+
namespace: string;
|
|
150
|
+
entity?: EntityFile;
|
|
151
|
+
}
|
|
152
|
+
interface EngramAccessReviewQueueResponse {
|
|
153
|
+
found: boolean;
|
|
154
|
+
namespace?: string;
|
|
155
|
+
runId?: string;
|
|
156
|
+
summary?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["summary"];
|
|
157
|
+
metrics?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["metrics"];
|
|
158
|
+
qualityScore?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["qualityScore"];
|
|
159
|
+
reviewQueue?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["reviewQueue"];
|
|
160
|
+
appliedActions?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["appliedActions"];
|
|
161
|
+
transitionReport?: Awaited<ReturnType<typeof readMemoryGovernanceRunArtifact>>["transitionReport"];
|
|
162
|
+
report?: string;
|
|
163
|
+
}
|
|
164
|
+
interface EngramAccessMaintenanceResponse {
|
|
165
|
+
namespace: string;
|
|
166
|
+
health: EngramAccessHealthResponse;
|
|
167
|
+
latestGovernanceRun: EngramAccessReviewQueueResponse;
|
|
168
|
+
}
|
|
169
|
+
interface EngramAccessTrustZoneStatusResponse {
|
|
170
|
+
namespace: string;
|
|
171
|
+
status: TrustZoneStoreStatus;
|
|
172
|
+
}
|
|
173
|
+
interface EngramAccessTrustZoneRecordSummary {
|
|
174
|
+
recordId: string;
|
|
175
|
+
filePath: string;
|
|
176
|
+
zone: TrustZoneName;
|
|
177
|
+
recordedAt: string;
|
|
178
|
+
kind: TrustZoneRecordKind;
|
|
179
|
+
summary: string;
|
|
180
|
+
sourceClass: TrustZoneSourceClass;
|
|
181
|
+
sessionKey?: string;
|
|
182
|
+
sourceId?: string;
|
|
183
|
+
evidenceHashPresent: boolean;
|
|
184
|
+
anchored: boolean;
|
|
185
|
+
entityRefs: string[];
|
|
186
|
+
tags: string[];
|
|
187
|
+
metadata?: Record<string, string>;
|
|
188
|
+
trustScore?: TrustZoneProvenanceScore;
|
|
189
|
+
nextPromotionTarget?: TrustZoneName;
|
|
190
|
+
nextPromotionAllowed: boolean;
|
|
191
|
+
nextPromotionReasons: string[];
|
|
192
|
+
corroborationCount?: number;
|
|
193
|
+
corroborationSourceClasses?: TrustZoneSourceClass[];
|
|
194
|
+
}
|
|
195
|
+
interface EngramAccessTrustZoneBrowseRequest {
|
|
196
|
+
query?: string;
|
|
197
|
+
zone?: TrustZoneName;
|
|
198
|
+
kind?: TrustZoneRecordKind;
|
|
199
|
+
sourceClass?: TrustZoneSourceClass;
|
|
200
|
+
namespace?: string;
|
|
201
|
+
limit?: number;
|
|
202
|
+
offset?: number;
|
|
203
|
+
}
|
|
204
|
+
interface EngramAccessTrustZoneBrowseResponse {
|
|
205
|
+
namespace: string;
|
|
206
|
+
total: number;
|
|
207
|
+
count: number;
|
|
208
|
+
limit: number;
|
|
209
|
+
offset: number;
|
|
210
|
+
records: EngramAccessTrustZoneRecordSummary[];
|
|
211
|
+
}
|
|
212
|
+
interface EngramAccessTrustZonePromoteRequest {
|
|
213
|
+
recordId: string;
|
|
214
|
+
targetZone: TrustZoneName;
|
|
215
|
+
promotionReason: string;
|
|
216
|
+
recordedAt?: string;
|
|
217
|
+
summary?: string;
|
|
218
|
+
dryRun?: boolean;
|
|
219
|
+
namespace?: string;
|
|
220
|
+
authenticatedPrincipal?: string;
|
|
221
|
+
}
|
|
222
|
+
interface EngramAccessTrustZonePromoteResponse extends TrustZonePromotionResult {
|
|
223
|
+
namespace: string;
|
|
224
|
+
dryRun: boolean;
|
|
225
|
+
}
|
|
226
|
+
interface EngramAccessTrustZoneDemoSeedRequest {
|
|
227
|
+
scenario?: string;
|
|
228
|
+
recordedAt?: string;
|
|
229
|
+
dryRun?: boolean;
|
|
230
|
+
namespace?: string;
|
|
231
|
+
authenticatedPrincipal?: string;
|
|
232
|
+
}
|
|
233
|
+
interface EngramAccessTrustZoneDemoSeedResponse extends TrustZoneDemoSeedResult {
|
|
234
|
+
namespace: string;
|
|
235
|
+
}
|
|
236
|
+
interface EngramAccessQualityResponse {
|
|
237
|
+
namespace: string;
|
|
238
|
+
totalMemories: number;
|
|
239
|
+
statusCounts: Record<string, number>;
|
|
240
|
+
categoryCounts: Record<string, number>;
|
|
241
|
+
confidenceTierCounts: Record<string, number>;
|
|
242
|
+
ageBucketCounts: Record<string, number>;
|
|
243
|
+
archivePressure: {
|
|
244
|
+
pendingReview: number;
|
|
245
|
+
quarantined: number;
|
|
246
|
+
archived: number;
|
|
247
|
+
staleActive: number;
|
|
248
|
+
lowConfidenceActive: number;
|
|
249
|
+
};
|
|
250
|
+
latestGovernanceRun: {
|
|
251
|
+
found: boolean;
|
|
252
|
+
runId?: string;
|
|
253
|
+
qualityScore?: EngramAccessReviewQueueResponse["qualityScore"];
|
|
254
|
+
reviewQueueCount: number;
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
interface EngramAccessReviewDispositionRequest {
|
|
258
|
+
memoryId: string;
|
|
259
|
+
status: MemoryStatus | "archived";
|
|
260
|
+
reasonCode: string;
|
|
261
|
+
namespace?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Trusted transport-bound principal. This must never come from untrusted client payloads.
|
|
264
|
+
* When present, write authorization is evaluated against this principal instead of sessionKey.
|
|
265
|
+
*/
|
|
266
|
+
authenticatedPrincipal?: string;
|
|
267
|
+
}
|
|
268
|
+
interface EngramAccessReviewDispositionResponse {
|
|
269
|
+
ok: boolean;
|
|
270
|
+
namespace: string;
|
|
271
|
+
memoryId: string;
|
|
272
|
+
status: MemoryStatus | "archived";
|
|
273
|
+
previousStatus: MemoryStatus;
|
|
274
|
+
currentPath?: string;
|
|
275
|
+
}
|
|
276
|
+
interface EngramAccessWriteEnvelope {
|
|
277
|
+
schemaVersion?: number;
|
|
278
|
+
idempotencyKey?: string;
|
|
279
|
+
dryRun?: boolean;
|
|
280
|
+
sessionKey?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Trusted transport-bound principal. This must never come from untrusted client payloads.
|
|
283
|
+
* When present, write authorization is evaluated against this principal instead of sessionKey.
|
|
284
|
+
*/
|
|
285
|
+
authenticatedPrincipal?: string;
|
|
286
|
+
}
|
|
287
|
+
interface EngramAccessMemoryStoreRequest extends EngramAccessWriteEnvelope, ExplicitCaptureInput {
|
|
288
|
+
}
|
|
289
|
+
interface EngramAccessSuggestionSubmitRequest extends EngramAccessWriteEnvelope, ExplicitCaptureInput {
|
|
290
|
+
}
|
|
291
|
+
interface EngramAccessWriteResponse {
|
|
292
|
+
schemaVersion: 1;
|
|
293
|
+
operation: "memory_store" | "suggestion_submit";
|
|
294
|
+
namespace: string;
|
|
295
|
+
dryRun: boolean;
|
|
296
|
+
accepted: boolean;
|
|
297
|
+
queued: boolean;
|
|
298
|
+
status: "validated" | "stored" | "duplicate" | "queued_for_review";
|
|
299
|
+
memoryId?: string;
|
|
300
|
+
duplicateOf?: string;
|
|
301
|
+
idempotencyKey?: string;
|
|
302
|
+
idempotencyReplay?: boolean;
|
|
303
|
+
}
|
|
304
|
+
interface EngramAccessObserveRequest {
|
|
305
|
+
sessionKey: string;
|
|
306
|
+
messages: Array<{
|
|
307
|
+
role: "user" | "assistant";
|
|
308
|
+
content: string;
|
|
309
|
+
}>;
|
|
310
|
+
namespace?: string;
|
|
311
|
+
authenticatedPrincipal?: string;
|
|
312
|
+
skipExtraction?: boolean;
|
|
313
|
+
}
|
|
314
|
+
interface EngramAccessObserveResponse {
|
|
315
|
+
accepted: number;
|
|
316
|
+
sessionKey: string;
|
|
317
|
+
namespace: string;
|
|
318
|
+
lcmArchived: boolean;
|
|
319
|
+
extractionQueued: boolean;
|
|
320
|
+
}
|
|
321
|
+
interface EngramAccessLcmSearchRequest {
|
|
322
|
+
query: string;
|
|
323
|
+
sessionKey?: string;
|
|
324
|
+
namespace?: string;
|
|
325
|
+
limit?: number;
|
|
326
|
+
authenticatedPrincipal?: string;
|
|
327
|
+
}
|
|
328
|
+
interface EngramAccessLcmSearchResponse {
|
|
329
|
+
query: string;
|
|
330
|
+
namespace: string;
|
|
331
|
+
results: Array<{
|
|
332
|
+
sessionId: string;
|
|
333
|
+
content: string;
|
|
334
|
+
turnIndex?: number;
|
|
335
|
+
}>;
|
|
336
|
+
count: number;
|
|
337
|
+
lcmEnabled: boolean;
|
|
338
|
+
}
|
|
339
|
+
interface EngramAccessLcmStatusResponse {
|
|
340
|
+
enabled: boolean;
|
|
341
|
+
archiveAvailable: boolean;
|
|
342
|
+
stats?: {
|
|
343
|
+
totalTurns?: number;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
type EngramAccessIdempotencyStatus = "miss" | "replay" | "conflict";
|
|
347
|
+
declare class EngramAccessService {
|
|
348
|
+
private readonly orchestrator;
|
|
349
|
+
private readonly idempotency;
|
|
350
|
+
private readonly idempotencyLocks;
|
|
351
|
+
constructor(orchestrator: Orchestrator);
|
|
352
|
+
private resolveNamespace;
|
|
353
|
+
private normalizeRecallMode;
|
|
354
|
+
private resolveRecallNamespace;
|
|
355
|
+
private resolveWritePrincipal;
|
|
356
|
+
private resolveWritableNamespace;
|
|
357
|
+
private resolveReadableNamespace;
|
|
358
|
+
private buildRecallDebug;
|
|
359
|
+
private serializeRecallResults;
|
|
360
|
+
private handleIdempotentWrite;
|
|
361
|
+
private peekIdempotentWrite;
|
|
362
|
+
private withIdempotencyLock;
|
|
363
|
+
health(namespace?: string): Promise<EngramAccessHealthResponse>;
|
|
364
|
+
daySummary(request: EngramAccessDaySummaryRequest): Promise<DaySummaryResult | null>;
|
|
365
|
+
recall(request: EngramAccessRecallRequest): Promise<EngramAccessRecallResponse>;
|
|
366
|
+
recallExplain(request?: EngramAccessRecallExplainRequest): Promise<EngramAccessRecallExplainResponse>;
|
|
367
|
+
memoryStore(request: EngramAccessMemoryStoreRequest): Promise<EngramAccessWriteResponse>;
|
|
368
|
+
peekMemoryStoreIdempotency(request: EngramAccessMemoryStoreRequest): Promise<EngramAccessIdempotencyStatus>;
|
|
369
|
+
suggestionSubmit(request: EngramAccessSuggestionSubmitRequest): Promise<EngramAccessWriteResponse>;
|
|
370
|
+
peekSuggestionSubmitIdempotency(request: EngramAccessSuggestionSubmitRequest): Promise<EngramAccessIdempotencyStatus>;
|
|
371
|
+
private validateWriteCandidate;
|
|
372
|
+
memoryGet(memoryId: string, namespace?: string, principal?: string): Promise<EngramAccessMemoryResponse>;
|
|
373
|
+
memoryBrowse(request?: EngramAccessMemoryBrowseRequest): Promise<EngramAccessMemoryBrowseResponse>;
|
|
374
|
+
memoryTimeline(memoryId: string, namespace?: string, limit?: number, principal?: string): Promise<EngramAccessTimelineResponse>;
|
|
375
|
+
entityList(options?: {
|
|
376
|
+
namespace?: string;
|
|
377
|
+
query?: string;
|
|
378
|
+
limit?: number;
|
|
379
|
+
offset?: number;
|
|
380
|
+
}): Promise<EngramAccessEntityListResponse>;
|
|
381
|
+
entityGet(name: string, namespace?: string): Promise<EngramAccessEntityResponse>;
|
|
382
|
+
reviewQueue(runId?: string, namespace?: string, principal?: string): Promise<EngramAccessReviewQueueResponse>;
|
|
383
|
+
maintenance(namespace?: string, principal?: string): Promise<EngramAccessMaintenanceResponse>;
|
|
384
|
+
quality(namespace?: string, principal?: string): Promise<EngramAccessQualityResponse>;
|
|
385
|
+
governanceRun(request: {
|
|
386
|
+
namespace?: string;
|
|
387
|
+
mode?: "shadow" | "apply";
|
|
388
|
+
recentDays?: number;
|
|
389
|
+
maxMemories?: number;
|
|
390
|
+
batchSize?: number;
|
|
391
|
+
authenticatedPrincipal?: string;
|
|
392
|
+
}, principal?: string): Promise<{
|
|
393
|
+
namespace: string;
|
|
394
|
+
runId: string;
|
|
395
|
+
traceId: string;
|
|
396
|
+
mode: "shadow" | "apply";
|
|
397
|
+
reviewQueueCount: number;
|
|
398
|
+
proposedActionCount: number;
|
|
399
|
+
appliedActionCount: number;
|
|
400
|
+
summaryPath: string;
|
|
401
|
+
reportPath: string;
|
|
402
|
+
}>;
|
|
403
|
+
trustZoneStatus(namespace?: string, principal?: string): Promise<EngramAccessTrustZoneStatusResponse>;
|
|
404
|
+
trustZoneBrowse(request: EngramAccessTrustZoneBrowseRequest, principal?: string): Promise<EngramAccessTrustZoneBrowseResponse>;
|
|
405
|
+
trustZonePromote(request: EngramAccessTrustZonePromoteRequest): Promise<EngramAccessTrustZonePromoteResponse>;
|
|
406
|
+
trustZoneDemoSeed(request: EngramAccessTrustZoneDemoSeedRequest): Promise<EngramAccessTrustZoneDemoSeedResponse>;
|
|
407
|
+
reviewDisposition(request: EngramAccessReviewDispositionRequest): Promise<EngramAccessReviewDispositionResponse>;
|
|
408
|
+
private serializeMemory;
|
|
409
|
+
private serializeMemorySummary;
|
|
410
|
+
observe(request: EngramAccessObserveRequest): Promise<EngramAccessObserveResponse>;
|
|
411
|
+
lcmSearch(request: EngramAccessLcmSearchRequest): Promise<EngramAccessLcmSearchResponse>;
|
|
412
|
+
continuityAuditGenerate(request: {
|
|
413
|
+
period?: "weekly" | "monthly";
|
|
414
|
+
key?: string;
|
|
415
|
+
}): Promise<{
|
|
416
|
+
enabled: boolean;
|
|
417
|
+
reason?: string;
|
|
418
|
+
period?: string;
|
|
419
|
+
key?: string;
|
|
420
|
+
reportPath?: string;
|
|
421
|
+
}>;
|
|
422
|
+
continuityIncidentOpen(request: {
|
|
423
|
+
symptom: string;
|
|
424
|
+
namespace?: string;
|
|
425
|
+
principal?: string;
|
|
426
|
+
triggerWindow?: string;
|
|
427
|
+
suspectedCause?: string;
|
|
428
|
+
}): Promise<unknown>;
|
|
429
|
+
continuityIncidentClose(request: {
|
|
430
|
+
id: string;
|
|
431
|
+
namespace?: string;
|
|
432
|
+
principal?: string;
|
|
433
|
+
fixApplied: string;
|
|
434
|
+
verificationResult: string;
|
|
435
|
+
preventiveRule?: string;
|
|
436
|
+
}): Promise<unknown>;
|
|
437
|
+
continuityIncidentList(request: {
|
|
438
|
+
state?: "open" | "closed" | "all";
|
|
439
|
+
namespace?: string;
|
|
440
|
+
principal?: string;
|
|
441
|
+
limit?: number;
|
|
442
|
+
}): Promise<unknown>;
|
|
443
|
+
continuityLoopAddOrUpdate(request: {
|
|
444
|
+
id: string;
|
|
445
|
+
cadence: "daily" | "weekly" | "monthly" | "quarterly";
|
|
446
|
+
purpose: string;
|
|
447
|
+
status: "active" | "paused" | "retired";
|
|
448
|
+
killCondition: string;
|
|
449
|
+
namespace?: string;
|
|
450
|
+
principal?: string;
|
|
451
|
+
lastReviewed?: string;
|
|
452
|
+
notes?: string;
|
|
453
|
+
}): Promise<unknown>;
|
|
454
|
+
continuityLoopReview(request: {
|
|
455
|
+
id: string;
|
|
456
|
+
namespace?: string;
|
|
457
|
+
principal?: string;
|
|
458
|
+
status?: "active" | "paused" | "retired";
|
|
459
|
+
notes?: string;
|
|
460
|
+
reviewedAt?: string;
|
|
461
|
+
}): Promise<unknown>;
|
|
462
|
+
identityAnchorGet(request: {
|
|
463
|
+
namespace?: string;
|
|
464
|
+
principal?: string;
|
|
465
|
+
}): Promise<unknown>;
|
|
466
|
+
identityAnchorUpdate(request: {
|
|
467
|
+
namespace?: string;
|
|
468
|
+
principal?: string;
|
|
469
|
+
identityTraits?: string;
|
|
470
|
+
communicationPreferences?: string;
|
|
471
|
+
operatingPrinciples?: string;
|
|
472
|
+
continuityNotes?: string;
|
|
473
|
+
}): Promise<unknown>;
|
|
474
|
+
memoryIdentity(request: {
|
|
475
|
+
namespace?: string;
|
|
476
|
+
principal?: string;
|
|
477
|
+
}): Promise<unknown>;
|
|
478
|
+
workTask(request: {
|
|
479
|
+
action: "create" | "get" | "list" | "update" | "transition" | "delete";
|
|
480
|
+
id?: string;
|
|
481
|
+
title?: string;
|
|
482
|
+
description?: string;
|
|
483
|
+
status?: string;
|
|
484
|
+
priority?: string;
|
|
485
|
+
owner?: string;
|
|
486
|
+
assignee?: string;
|
|
487
|
+
projectId?: string;
|
|
488
|
+
tags?: string[];
|
|
489
|
+
dueAt?: string;
|
|
490
|
+
}): Promise<unknown>;
|
|
491
|
+
workProject(request: {
|
|
492
|
+
action: "create" | "get" | "list" | "update" | "delete" | "link_task";
|
|
493
|
+
id?: string;
|
|
494
|
+
name?: string;
|
|
495
|
+
description?: string;
|
|
496
|
+
status?: string;
|
|
497
|
+
owner?: string;
|
|
498
|
+
tags?: string[];
|
|
499
|
+
taskId?: string;
|
|
500
|
+
projectId?: string;
|
|
501
|
+
}): Promise<unknown>;
|
|
502
|
+
workBoard(request: {
|
|
503
|
+
action: "export_markdown" | "export_snapshot" | "import_snapshot";
|
|
504
|
+
projectId?: string;
|
|
505
|
+
snapshotJson?: string;
|
|
506
|
+
linkToMemory?: boolean;
|
|
507
|
+
}): Promise<unknown>;
|
|
508
|
+
sharedContextWriteOutput(request: {
|
|
509
|
+
agentId: string;
|
|
510
|
+
title: string;
|
|
511
|
+
content: string;
|
|
512
|
+
}): Promise<unknown>;
|
|
513
|
+
sharedFeedbackRecord(request: {
|
|
514
|
+
agent: string;
|
|
515
|
+
decision: "approved" | "approved_with_feedback" | "rejected";
|
|
516
|
+
reason: string;
|
|
517
|
+
date?: string;
|
|
518
|
+
learning?: string;
|
|
519
|
+
outcome?: string;
|
|
520
|
+
severity?: "low" | "medium" | "high";
|
|
521
|
+
confidence?: number;
|
|
522
|
+
workflow?: string;
|
|
523
|
+
tags?: string[];
|
|
524
|
+
evidenceWindowStart?: string;
|
|
525
|
+
evidenceWindowEnd?: string;
|
|
526
|
+
refs?: string[];
|
|
527
|
+
}): Promise<unknown>;
|
|
528
|
+
sharedPrioritiesAppend(request: {
|
|
529
|
+
agentId: string;
|
|
530
|
+
text: string;
|
|
531
|
+
}): Promise<unknown>;
|
|
532
|
+
sharedContextCrossSignalsRun(request: {
|
|
533
|
+
date?: string;
|
|
534
|
+
}): Promise<unknown>;
|
|
535
|
+
sharedContextCurateDaily(request: {
|
|
536
|
+
date?: string;
|
|
537
|
+
}): Promise<unknown>;
|
|
538
|
+
compoundingWeeklySynthesize(request: {
|
|
539
|
+
weekId?: string;
|
|
540
|
+
}): Promise<unknown>;
|
|
541
|
+
compoundingPromoteCandidate(request: {
|
|
542
|
+
weekId: string;
|
|
543
|
+
candidateId: string;
|
|
544
|
+
dryRun?: boolean;
|
|
545
|
+
}): Promise<unknown>;
|
|
546
|
+
compressionGuidelinesOptimize(request: {
|
|
547
|
+
dryRun?: boolean;
|
|
548
|
+
eventLimit?: number;
|
|
549
|
+
}): Promise<unknown>;
|
|
550
|
+
compressionGuidelinesActivate(request: {
|
|
551
|
+
expectedContentHash?: string;
|
|
552
|
+
expectedGuidelineVersion?: number;
|
|
553
|
+
}): Promise<unknown>;
|
|
554
|
+
/** Conservative identity anchor section merge (matches tools.ts mergeIdentityAnchor logic). */
|
|
555
|
+
private mergeIdentityAnchorSections;
|
|
556
|
+
memorySearch(request: {
|
|
557
|
+
query: string;
|
|
558
|
+
namespace?: string;
|
|
559
|
+
maxResults?: number;
|
|
560
|
+
collection?: string;
|
|
561
|
+
principal?: string;
|
|
562
|
+
}): Promise<{
|
|
563
|
+
query: string;
|
|
564
|
+
results: Array<{
|
|
565
|
+
path: string;
|
|
566
|
+
score: number;
|
|
567
|
+
snippet: string;
|
|
568
|
+
}>;
|
|
569
|
+
count: number;
|
|
570
|
+
}>;
|
|
571
|
+
memoryProfile(namespace?: string, principal?: string): Promise<Record<string, unknown>>;
|
|
572
|
+
memoryEntitiesList(namespace?: string, principal?: string): Promise<{
|
|
573
|
+
entities: string[];
|
|
574
|
+
count: number;
|
|
575
|
+
}>;
|
|
576
|
+
memoryQuestions(namespace?: string, principal?: string): Promise<{
|
|
577
|
+
questions: Array<{
|
|
578
|
+
id: string;
|
|
579
|
+
question: string;
|
|
580
|
+
resolved: boolean;
|
|
581
|
+
}>;
|
|
582
|
+
count: number;
|
|
583
|
+
}>;
|
|
584
|
+
lastRecallSnapshot(sessionKey?: string): Promise<unknown>;
|
|
585
|
+
intentDebug(namespace?: string): Promise<unknown>;
|
|
586
|
+
qmdDebug(namespace?: string): Promise<unknown>;
|
|
587
|
+
graphExplainLastRecall(namespace?: string): Promise<unknown>;
|
|
588
|
+
memoryFeedback(request: {
|
|
589
|
+
memoryId: string;
|
|
590
|
+
vote: "up" | "down";
|
|
591
|
+
note?: string;
|
|
592
|
+
}): Promise<{
|
|
593
|
+
recorded: boolean;
|
|
594
|
+
enabled?: boolean;
|
|
595
|
+
reason?: string;
|
|
596
|
+
}>;
|
|
597
|
+
memoryPromote(request: {
|
|
598
|
+
memoryId: string;
|
|
599
|
+
namespace?: string;
|
|
600
|
+
principal?: string;
|
|
601
|
+
sessionKey?: string;
|
|
602
|
+
}): Promise<unknown>;
|
|
603
|
+
contextCheckpoint(request: {
|
|
604
|
+
sessionKey: string;
|
|
605
|
+
context: string;
|
|
606
|
+
namespace?: string;
|
|
607
|
+
principal?: string;
|
|
608
|
+
}): Promise<{
|
|
609
|
+
saved: boolean;
|
|
610
|
+
}>;
|
|
611
|
+
lcmStatus(): Promise<EngramAccessLcmStatusResponse>;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export { ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, type EngramAccessDaySummaryRequest, type EngramAccessEntityListResponse, type EngramAccessEntityResponse, type EngramAccessEntitySummary, type EngramAccessHealthResponse, EngramAccessInputError, type EngramAccessLcmSearchRequest, type EngramAccessLcmSearchResponse, type EngramAccessLcmStatusResponse, type EngramAccessMaintenanceResponse, type EngramAccessMemoryBrowseRequest, type EngramAccessMemoryBrowseResponse, type EngramAccessMemoryRecord, type EngramAccessMemoryResponse, type EngramAccessMemoryStoreRequest, type EngramAccessMemorySummary, type EngramAccessObserveRequest, type EngramAccessObserveResponse, type EngramAccessQualityResponse, type EngramAccessRecallExplainRequest, type EngramAccessRecallExplainResponse, type EngramAccessRecallRequest, type EngramAccessRecallResponse, type EngramAccessReviewDispositionRequest, type EngramAccessReviewDispositionResponse, type EngramAccessReviewQueueResponse, EngramAccessService, type EngramAccessSuggestionSubmitRequest, type EngramAccessTimelineResponse, type EngramAccessTrustZoneBrowseRequest, type EngramAccessTrustZoneBrowseResponse, type EngramAccessTrustZoneDemoSeedRequest, type EngramAccessTrustZoneDemoSeedResponse, type EngramAccessTrustZonePromoteRequest, type EngramAccessTrustZonePromoteResponse, type EngramAccessTrustZoneRecordSummary, type EngramAccessTrustZoneStatusResponse, type EngramAccessWriteEnvelope, type EngramAccessWriteResponse };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ENGRAM_ACCESS_WRITE_SCHEMA_VERSION,
|
|
3
|
+
EngramAccessInputError,
|
|
4
|
+
EngramAccessService
|
|
5
|
+
} from "./chunk-QY2BHY5O.js";
|
|
6
|
+
import "./chunk-N5AKDXAI.js";
|
|
7
|
+
import "./chunk-EQINRHYR.js";
|
|
8
|
+
import "./chunk-J3BT33K7.js";
|
|
9
|
+
import "./chunk-EEQLFRUM.js";
|
|
10
|
+
import "./chunk-QWUUMMIK.js";
|
|
11
|
+
import "./chunk-U4PV25RD.js";
|
|
12
|
+
import "./chunk-ESSMF2FR.js";
|
|
13
|
+
import "./chunk-TP4FZJIZ.js";
|
|
14
|
+
import "./chunk-SCU65EZI.js";
|
|
15
|
+
import "./chunk-BOUYNNYD.js";
|
|
16
|
+
import "./chunk-DM2T26WE.js";
|
|
17
|
+
import "./chunk-QSVPYQPG.js";
|
|
18
|
+
import "./chunk-YNCQ7E4M.js";
|
|
19
|
+
import "./chunk-HLXVTBF3.js";
|
|
20
|
+
import "./chunk-M62O4P4T.js";
|
|
21
|
+
import "./chunk-DT5TVLJE.js";
|
|
22
|
+
import "./chunk-KWBU5S5U.js";
|
|
23
|
+
import "./chunk-DGXUHMOV.js";
|
|
24
|
+
import "./chunk-LPSF4OQH.js";
|
|
25
|
+
import "./chunk-XKECPATV.js";
|
|
26
|
+
import "./chunk-QCCCQT3O.js";
|
|
27
|
+
export {
|
|
28
|
+
ENGRAM_ACCESS_WRITE_SCHEMA_VERSION,
|
|
29
|
+
EngramAccessInputError,
|
|
30
|
+
EngramAccessService
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=access-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BehaviorSignalEvent, PluginConfig, BehaviorLoopPolicyState } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const TUNABLE_BEHAVIOR_PARAMETERS: readonly ["recencyWeight", "lifecyclePromoteHeatThreshold", "lifecycleStaleDecayThreshold", "cronRecallInstructionHeavyTokenCap"];
|
|
4
|
+
type TunableBehaviorParameter = (typeof TUNABLE_BEHAVIOR_PARAMETERS)[number];
|
|
5
|
+
interface BehaviorLearnerInput {
|
|
6
|
+
signals: BehaviorSignalEvent[];
|
|
7
|
+
now?: Date;
|
|
8
|
+
learningWindowDays: number;
|
|
9
|
+
minSignalCount: number;
|
|
10
|
+
maxDeltaPerCycle: number;
|
|
11
|
+
protectedParams: string[];
|
|
12
|
+
currentPolicy: Pick<PluginConfig, "recencyWeight" | "lifecyclePromoteHeatThreshold" | "lifecycleStaleDecayThreshold" | "cronRecallInstructionHeavyTokenCap">;
|
|
13
|
+
}
|
|
14
|
+
declare function learnBehaviorPolicyAdjustments(input: BehaviorLearnerInput): BehaviorLoopPolicyState;
|
|
15
|
+
|
|
16
|
+
export { type BehaviorLearnerInput, TUNABLE_BEHAVIOR_PARAMETERS, type TunableBehaviorParameter, learnBehaviorPolicyAdjustments };
|