@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,75 @@
|
|
|
1
|
+
type ObjectiveStateSnapshotSource = "tool_result" | "cli" | "system" | "manual";
|
|
2
|
+
type ObjectiveStateSnapshotKind = "tool" | "file" | "process" | "record" | "workspace";
|
|
3
|
+
type ObjectiveStateChangeKind = "created" | "updated" | "deleted" | "observed" | "executed" | "failed";
|
|
4
|
+
type ObjectiveStateOutcome = "success" | "failure" | "partial" | "unknown";
|
|
5
|
+
interface ObjectiveStateValueRef {
|
|
6
|
+
exists?: boolean;
|
|
7
|
+
ref?: string;
|
|
8
|
+
valueHash?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ObjectiveStateSnapshot {
|
|
11
|
+
schemaVersion: 1;
|
|
12
|
+
snapshotId: string;
|
|
13
|
+
recordedAt: string;
|
|
14
|
+
sessionKey: string;
|
|
15
|
+
source: ObjectiveStateSnapshotSource;
|
|
16
|
+
kind: ObjectiveStateSnapshotKind;
|
|
17
|
+
changeKind: ObjectiveStateChangeKind;
|
|
18
|
+
scope: string;
|
|
19
|
+
summary: string;
|
|
20
|
+
toolName?: string;
|
|
21
|
+
command?: string;
|
|
22
|
+
outcome?: ObjectiveStateOutcome;
|
|
23
|
+
before?: ObjectiveStateValueRef;
|
|
24
|
+
after?: ObjectiveStateValueRef;
|
|
25
|
+
entityRefs?: string[];
|
|
26
|
+
tags?: string[];
|
|
27
|
+
metadata?: Record<string, string>;
|
|
28
|
+
}
|
|
29
|
+
interface ObjectiveStateStoreStatus {
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
writesEnabled: boolean;
|
|
32
|
+
rootDir: string;
|
|
33
|
+
snapshotsDir: string;
|
|
34
|
+
snapshots: {
|
|
35
|
+
total: number;
|
|
36
|
+
valid: number;
|
|
37
|
+
invalid: number;
|
|
38
|
+
byKind: Partial<Record<ObjectiveStateSnapshotKind, number>>;
|
|
39
|
+
byOutcome: Partial<Record<ObjectiveStateOutcome, number>>;
|
|
40
|
+
latestSnapshotId?: string;
|
|
41
|
+
latestRecordedAt?: string;
|
|
42
|
+
latestSessionKey?: string;
|
|
43
|
+
};
|
|
44
|
+
latestSnapshot?: ObjectiveStateSnapshot;
|
|
45
|
+
invalidSnapshots: Array<{
|
|
46
|
+
path: string;
|
|
47
|
+
error: string;
|
|
48
|
+
}>;
|
|
49
|
+
}
|
|
50
|
+
interface ObjectiveStateSearchResult {
|
|
51
|
+
snapshot: ObjectiveStateSnapshot;
|
|
52
|
+
score: number;
|
|
53
|
+
}
|
|
54
|
+
declare function resolveObjectiveStateStoreDir(memoryDir: string, overrideDir?: string): string;
|
|
55
|
+
declare function validateObjectiveStateSnapshot(raw: unknown): ObjectiveStateSnapshot;
|
|
56
|
+
declare function recordObjectiveStateSnapshot(options: {
|
|
57
|
+
memoryDir: string;
|
|
58
|
+
objectiveStateStoreDir?: string;
|
|
59
|
+
snapshot: ObjectiveStateSnapshot;
|
|
60
|
+
}): Promise<string>;
|
|
61
|
+
declare function getObjectiveStateStoreStatus(options: {
|
|
62
|
+
memoryDir: string;
|
|
63
|
+
objectiveStateStoreDir?: string;
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
writesEnabled: boolean;
|
|
66
|
+
}): Promise<ObjectiveStateStoreStatus>;
|
|
67
|
+
declare function searchObjectiveStateSnapshots(options: {
|
|
68
|
+
memoryDir: string;
|
|
69
|
+
objectiveStateStoreDir?: string;
|
|
70
|
+
query: string;
|
|
71
|
+
maxResults: number;
|
|
72
|
+
sessionKey?: string;
|
|
73
|
+
}): Promise<ObjectiveStateSearchResult[]>;
|
|
74
|
+
|
|
75
|
+
export { type ObjectiveStateChangeKind, type ObjectiveStateOutcome, type ObjectiveStateSearchResult, type ObjectiveStateSnapshot, type ObjectiveStateSnapshotKind, type ObjectiveStateSnapshotSource, type ObjectiveStateStoreStatus, type ObjectiveStateValueRef, getObjectiveStateStoreStatus, recordObjectiveStateSnapshot, resolveObjectiveStateStoreDir, searchObjectiveStateSnapshots, validateObjectiveStateSnapshot };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getObjectiveStateStoreStatus,
|
|
3
|
+
recordObjectiveStateSnapshot,
|
|
4
|
+
resolveObjectiveStateStoreDir,
|
|
5
|
+
searchObjectiveStateSnapshots,
|
|
6
|
+
validateObjectiveStateSnapshot
|
|
7
|
+
} from "./chunk-LOBRX7VD.js";
|
|
8
|
+
import "./chunk-DGXUHMOV.js";
|
|
9
|
+
import "./chunk-LPSF4OQH.js";
|
|
10
|
+
export {
|
|
11
|
+
getObjectiveStateStoreStatus,
|
|
12
|
+
recordObjectiveStateSnapshot,
|
|
13
|
+
resolveObjectiveStateStoreDir,
|
|
14
|
+
searchObjectiveStateSnapshots,
|
|
15
|
+
validateObjectiveStateSnapshot
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=objective-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare function shouldAssumeOpenAiChatCompletions(baseUrl?: string): boolean;
|
|
2
|
+
declare function usesMaxCompletionTokens(model: string, options?: {
|
|
3
|
+
assumeOpenAI?: boolean;
|
|
4
|
+
}): boolean;
|
|
5
|
+
declare function buildChatCompletionTokenLimit(model: string, maxTokens: number, options?: {
|
|
6
|
+
assumeOpenAI?: boolean;
|
|
7
|
+
}): {
|
|
8
|
+
max_tokens: number;
|
|
9
|
+
} | {
|
|
10
|
+
max_completion_tokens: number;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { buildChatCompletionTokenLimit, shouldAssumeOpenAiChatCompletions, usesMaxCompletionTokens };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildChatCompletionTokenLimit,
|
|
3
|
+
shouldAssumeOpenAiChatCompletions,
|
|
4
|
+
usesMaxCompletionTokens
|
|
5
|
+
} from "./chunk-Y27UJK6V.js";
|
|
6
|
+
export {
|
|
7
|
+
buildChatCompletionTokenLimit,
|
|
8
|
+
shouldAssumeOpenAiChatCompletions,
|
|
9
|
+
usesMaxCompletionTokens
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=openai-chat-compat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { EvalHarnessStatus, validateEvalBenchmarkPack, EvalBaselineDeltaReport, EvalCiGateReport } from './evals.js';
|
|
2
|
+
import { GraphHealthReport } from './graph.js';
|
|
3
|
+
import { SessionIntegrityReport, SessionRepairPlan, SessionRepairApplyResult } from './session-integrity.js';
|
|
4
|
+
import { PluginConfig } from './types.js';
|
|
5
|
+
|
|
6
|
+
interface QmdRuntimeLike {
|
|
7
|
+
probe(): Promise<boolean>;
|
|
8
|
+
isAvailable(): boolean;
|
|
9
|
+
ensureCollection(memoryDir: string): Promise<"present" | "missing" | "unknown" | "skipped">;
|
|
10
|
+
debugStatus(): string;
|
|
11
|
+
}
|
|
12
|
+
interface ConversationIndexLike {
|
|
13
|
+
getConversationIndexHealth(): Promise<{
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
backend: "qmd" | "faiss";
|
|
16
|
+
status: "ok" | "degraded" | "disabled";
|
|
17
|
+
chunkDocCount: number;
|
|
18
|
+
lastUpdateAt: string | null;
|
|
19
|
+
qmdAvailable?: boolean;
|
|
20
|
+
faiss?: {
|
|
21
|
+
ok: boolean;
|
|
22
|
+
status: "ok" | "degraded" | "error";
|
|
23
|
+
indexPath: string;
|
|
24
|
+
message?: string;
|
|
25
|
+
manifest?: {
|
|
26
|
+
version: number;
|
|
27
|
+
modelId: string;
|
|
28
|
+
normalizedModelId: string;
|
|
29
|
+
dimension: number;
|
|
30
|
+
chunkCount: number;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
lastSuccessfulRebuildAt: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
rebuildConversationIndex(sessionKey?: string, hours?: number, opts?: {
|
|
37
|
+
embed?: boolean;
|
|
38
|
+
}): Promise<{
|
|
39
|
+
chunks: number;
|
|
40
|
+
skipped: boolean;
|
|
41
|
+
reason?: string;
|
|
42
|
+
embedded?: boolean;
|
|
43
|
+
rebuilt?: boolean;
|
|
44
|
+
}>;
|
|
45
|
+
}
|
|
46
|
+
interface OperatorToolkitOrchestrator extends ConversationIndexLike {
|
|
47
|
+
config: PluginConfig;
|
|
48
|
+
qmd: QmdRuntimeLike;
|
|
49
|
+
}
|
|
50
|
+
interface OperatorConfigLoadResult {
|
|
51
|
+
found: boolean;
|
|
52
|
+
path: string;
|
|
53
|
+
parsed: boolean;
|
|
54
|
+
memoryDir?: string;
|
|
55
|
+
workspaceDir?: string;
|
|
56
|
+
error?: string;
|
|
57
|
+
}
|
|
58
|
+
interface OperatorSetupReport {
|
|
59
|
+
schemaVersion: 1;
|
|
60
|
+
generatedAt: string;
|
|
61
|
+
config: OperatorConfigLoadResult;
|
|
62
|
+
memoryDir: string;
|
|
63
|
+
workspaceDir: string;
|
|
64
|
+
directories: Array<{
|
|
65
|
+
path: string;
|
|
66
|
+
exists: boolean;
|
|
67
|
+
writable: boolean;
|
|
68
|
+
}>;
|
|
69
|
+
qmd: {
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
available: boolean;
|
|
72
|
+
collectionState: "present" | "missing" | "unknown" | "skipped";
|
|
73
|
+
debugStatus: string;
|
|
74
|
+
};
|
|
75
|
+
nativeKnowledge: {
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
includeFiles: string[];
|
|
78
|
+
curatedIncludeSync: {
|
|
79
|
+
statePath: string;
|
|
80
|
+
exists: boolean;
|
|
81
|
+
updatedAt: string | null;
|
|
82
|
+
fileCount: number;
|
|
83
|
+
activeChunkCount: number;
|
|
84
|
+
deletedFileCount: number;
|
|
85
|
+
};
|
|
86
|
+
openclawWorkspaceAdapterEnabled: boolean;
|
|
87
|
+
obsidianVaultAdapterEnabled: boolean;
|
|
88
|
+
obsidianSync: {
|
|
89
|
+
statePath: string;
|
|
90
|
+
exists: boolean;
|
|
91
|
+
updatedAt: string | null;
|
|
92
|
+
vaultCount: number;
|
|
93
|
+
activeChunkCount: number;
|
|
94
|
+
deletedNoteCount: number;
|
|
95
|
+
};
|
|
96
|
+
openclawWorkspaceSync: {
|
|
97
|
+
statePath: string;
|
|
98
|
+
exists: boolean;
|
|
99
|
+
updatedAt: string | null;
|
|
100
|
+
fileCount: number;
|
|
101
|
+
activeChunkCount: number;
|
|
102
|
+
deletedFileCount: number;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
explicitCapture: {
|
|
106
|
+
captureMode: string;
|
|
107
|
+
enabled: boolean;
|
|
108
|
+
memoryDocPath: string;
|
|
109
|
+
memoryDocExists: boolean;
|
|
110
|
+
memoryDocInstalled: boolean;
|
|
111
|
+
memoryDocUpdated: boolean;
|
|
112
|
+
memoryDocRemoved: boolean;
|
|
113
|
+
preview: string | null;
|
|
114
|
+
};
|
|
115
|
+
nextSteps: string[];
|
|
116
|
+
verificationCommands: string[];
|
|
117
|
+
}
|
|
118
|
+
interface OperatorDoctorCheck {
|
|
119
|
+
key: string;
|
|
120
|
+
status: "ok" | "warn" | "error";
|
|
121
|
+
summary: string;
|
|
122
|
+
remediation?: string;
|
|
123
|
+
details?: unknown;
|
|
124
|
+
}
|
|
125
|
+
interface OperatorConfigReviewFinding {
|
|
126
|
+
key: string;
|
|
127
|
+
status: "recommend" | "problem";
|
|
128
|
+
setting: string;
|
|
129
|
+
currentValue: string;
|
|
130
|
+
defaultValue: string;
|
|
131
|
+
recommendedValue: string;
|
|
132
|
+
summary: string;
|
|
133
|
+
rationale: string;
|
|
134
|
+
}
|
|
135
|
+
interface OperatorConfigReviewReport {
|
|
136
|
+
schemaVersion: 1;
|
|
137
|
+
generatedAt: string;
|
|
138
|
+
ok: boolean;
|
|
139
|
+
config: OperatorConfigLoadResult;
|
|
140
|
+
profile: {
|
|
141
|
+
memoryOsPreset?: string;
|
|
142
|
+
searchBackend: string;
|
|
143
|
+
qmdEnabled: boolean;
|
|
144
|
+
qmdDaemonEnabled: boolean;
|
|
145
|
+
nativeKnowledgeEnabled: boolean;
|
|
146
|
+
fileHygieneEnabled: boolean;
|
|
147
|
+
conversationIndexEnabled: boolean;
|
|
148
|
+
};
|
|
149
|
+
summary: {
|
|
150
|
+
recommend: number;
|
|
151
|
+
problem: number;
|
|
152
|
+
};
|
|
153
|
+
findings: OperatorConfigReviewFinding[];
|
|
154
|
+
}
|
|
155
|
+
interface OperatorDoctorReport {
|
|
156
|
+
schemaVersion: 1;
|
|
157
|
+
generatedAt: string;
|
|
158
|
+
ok: boolean;
|
|
159
|
+
summary: {
|
|
160
|
+
ok: number;
|
|
161
|
+
warn: number;
|
|
162
|
+
error: number;
|
|
163
|
+
};
|
|
164
|
+
config: OperatorConfigLoadResult;
|
|
165
|
+
checks: OperatorDoctorCheck[];
|
|
166
|
+
}
|
|
167
|
+
interface OperatorInventoryNamespaceSummary {
|
|
168
|
+
namespace: string;
|
|
169
|
+
memoryCount: number;
|
|
170
|
+
entityCount: number;
|
|
171
|
+
}
|
|
172
|
+
interface OperatorInventoryReport {
|
|
173
|
+
schemaVersion: 1;
|
|
174
|
+
generatedAt: string;
|
|
175
|
+
memoryDir: string;
|
|
176
|
+
totals: {
|
|
177
|
+
memories: number;
|
|
178
|
+
entities: number;
|
|
179
|
+
namespaces: number;
|
|
180
|
+
reviewQueue: number;
|
|
181
|
+
storageBytes: number;
|
|
182
|
+
};
|
|
183
|
+
categories: Record<string, number>;
|
|
184
|
+
statuses: Record<string, number>;
|
|
185
|
+
namespaces: OperatorInventoryNamespaceSummary[];
|
|
186
|
+
ageBands: Record<string, number>;
|
|
187
|
+
profile: {
|
|
188
|
+
exists: boolean;
|
|
189
|
+
chars: number;
|
|
190
|
+
lines: number;
|
|
191
|
+
};
|
|
192
|
+
storageFootprint: {
|
|
193
|
+
bytes: number;
|
|
194
|
+
byTopLevel: Record<string, number>;
|
|
195
|
+
};
|
|
196
|
+
archivePressure: {
|
|
197
|
+
archived: number;
|
|
198
|
+
pendingReview: number;
|
|
199
|
+
quarantined: number;
|
|
200
|
+
rejected: number;
|
|
201
|
+
};
|
|
202
|
+
conversationIndex: {
|
|
203
|
+
enabled: boolean;
|
|
204
|
+
backend: "qmd" | "faiss";
|
|
205
|
+
status: "ok" | "degraded" | "disabled";
|
|
206
|
+
chunkDocCount: number;
|
|
207
|
+
lastUpdateAt: string | null;
|
|
208
|
+
};
|
|
209
|
+
nativeKnowledge: {
|
|
210
|
+
enabled: boolean;
|
|
211
|
+
curatedIncludeSync: {
|
|
212
|
+
exists: boolean;
|
|
213
|
+
updatedAt: string | null;
|
|
214
|
+
fileCount: number;
|
|
215
|
+
activeChunkCount: number;
|
|
216
|
+
deletedFileCount: number;
|
|
217
|
+
};
|
|
218
|
+
obsidianSync: {
|
|
219
|
+
exists: boolean;
|
|
220
|
+
updatedAt: string | null;
|
|
221
|
+
vaultCount: number;
|
|
222
|
+
activeChunkCount: number;
|
|
223
|
+
deletedNoteCount: number;
|
|
224
|
+
};
|
|
225
|
+
openclawWorkspaceSync: {
|
|
226
|
+
exists: boolean;
|
|
227
|
+
updatedAt: string | null;
|
|
228
|
+
fileCount: number;
|
|
229
|
+
activeChunkCount: number;
|
|
230
|
+
deletedFileCount: number;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
interface BenchmarkRecallReport {
|
|
235
|
+
schemaVersion: 1;
|
|
236
|
+
generatedAt: string;
|
|
237
|
+
mode: "status" | "validate" | "baseline-report" | "ci-gate" | "snapshot";
|
|
238
|
+
status: EvalHarnessStatus;
|
|
239
|
+
validate?: Awaited<ReturnType<typeof validateEvalBenchmarkPack>>;
|
|
240
|
+
baselineReport?: EvalBaselineDeltaReport;
|
|
241
|
+
ciGate?: EvalCiGateReport;
|
|
242
|
+
snapshot?: {
|
|
243
|
+
targetPath: string;
|
|
244
|
+
snapshotId: string;
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
interface OperatorRepairReport {
|
|
248
|
+
schemaVersion: 1;
|
|
249
|
+
generatedAt: string;
|
|
250
|
+
dryRun: boolean;
|
|
251
|
+
sessionCheck: SessionIntegrityReport;
|
|
252
|
+
sessionRepairPlan: SessionRepairPlan;
|
|
253
|
+
sessionRepairApply: SessionRepairApplyResult;
|
|
254
|
+
graphHealth: GraphHealthReport;
|
|
255
|
+
}
|
|
256
|
+
interface OperatorSetupOptions {
|
|
257
|
+
orchestrator: OperatorToolkitOrchestrator;
|
|
258
|
+
installCaptureInstructions?: boolean;
|
|
259
|
+
captureInstructionsMode?: "preview" | "install" | "remove";
|
|
260
|
+
configPath?: string;
|
|
261
|
+
now?: Date;
|
|
262
|
+
}
|
|
263
|
+
interface OperatorDoctorOptions {
|
|
264
|
+
orchestrator: OperatorToolkitOrchestrator;
|
|
265
|
+
configPath?: string;
|
|
266
|
+
now?: Date;
|
|
267
|
+
}
|
|
268
|
+
interface OperatorConfigReviewOptions {
|
|
269
|
+
orchestrator: OperatorToolkitOrchestrator;
|
|
270
|
+
configPath?: string;
|
|
271
|
+
now?: Date;
|
|
272
|
+
}
|
|
273
|
+
interface OperatorInventoryOptions {
|
|
274
|
+
orchestrator: OperatorToolkitOrchestrator;
|
|
275
|
+
now?: Date;
|
|
276
|
+
}
|
|
277
|
+
interface BenchmarkRecallOptions {
|
|
278
|
+
config: Pick<PluginConfig, "memoryDir" | "evalStoreDir" | "evalHarnessEnabled" | "evalShadowModeEnabled" | "benchmarkBaselineSnapshotsEnabled" | "benchmarkDeltaReporterEnabled" | "memoryRedTeamBenchEnabled">;
|
|
279
|
+
validatePath?: string;
|
|
280
|
+
baseEvalStoreDir?: string;
|
|
281
|
+
candidateEvalStoreDir?: string;
|
|
282
|
+
snapshotId?: string;
|
|
283
|
+
createSnapshot?: boolean;
|
|
284
|
+
snapshotNotes?: string;
|
|
285
|
+
gitRef?: string;
|
|
286
|
+
createdAt?: string;
|
|
287
|
+
now?: Date;
|
|
288
|
+
}
|
|
289
|
+
interface OperatorRepairOptions {
|
|
290
|
+
config: Pick<PluginConfig, "memoryDir" | "entityGraphEnabled" | "timeGraphEnabled" | "causalGraphEnabled">;
|
|
291
|
+
apply?: boolean;
|
|
292
|
+
dryRun?: boolean;
|
|
293
|
+
allowSessionFileRepair?: boolean;
|
|
294
|
+
sessionFilesDir?: string;
|
|
295
|
+
now?: Date;
|
|
296
|
+
}
|
|
297
|
+
declare function runOperatorSetup(options: OperatorSetupOptions): Promise<OperatorSetupReport>;
|
|
298
|
+
declare function runOperatorConfigReview(options: OperatorConfigReviewOptions): Promise<OperatorConfigReviewReport>;
|
|
299
|
+
declare function runOperatorDoctor(options: OperatorDoctorOptions): Promise<OperatorDoctorReport>;
|
|
300
|
+
declare function runOperatorInventory(options: OperatorInventoryOptions): Promise<OperatorInventoryReport>;
|
|
301
|
+
declare function runBenchmarkRecall(options: BenchmarkRecallOptions): Promise<BenchmarkRecallReport>;
|
|
302
|
+
declare function runOperatorRepair(options: OperatorRepairOptions): Promise<OperatorRepairReport>;
|
|
303
|
+
|
|
304
|
+
export { type BenchmarkRecallOptions, type BenchmarkRecallReport, type OperatorConfigLoadResult, type OperatorConfigReviewFinding, type OperatorConfigReviewOptions, type OperatorConfigReviewReport, type OperatorDoctorCheck, type OperatorDoctorOptions, type OperatorDoctorReport, type OperatorInventoryNamespaceSummary, type OperatorInventoryOptions, type OperatorInventoryReport, type OperatorRepairOptions, type OperatorRepairReport, type OperatorSetupOptions, type OperatorSetupReport, type OperatorToolkitOrchestrator, runBenchmarkRecall, runOperatorConfigReview, runOperatorDoctor, runOperatorInventory, runOperatorRepair, runOperatorSetup };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runBenchmarkRecall,
|
|
3
|
+
runOperatorConfigReview,
|
|
4
|
+
runOperatorDoctor,
|
|
5
|
+
runOperatorInventory,
|
|
6
|
+
runOperatorRepair,
|
|
7
|
+
runOperatorSetup
|
|
8
|
+
} from "./chunk-QDOSNLB4.js";
|
|
9
|
+
import "./chunk-IZME7KW2.js";
|
|
10
|
+
import "./chunk-YRMVARQP.js";
|
|
11
|
+
import "./chunk-TVVVQQAK.js";
|
|
12
|
+
import "./chunk-LK6SGL53.js";
|
|
13
|
+
import "./chunk-Q6FETXJA.js";
|
|
14
|
+
import "./chunk-K6WK37A6.js";
|
|
15
|
+
import "./chunk-SCHEKPYH.js";
|
|
16
|
+
import "./chunk-ISY75RLM.js";
|
|
17
|
+
import "./chunk-Z5LAYHGJ.js";
|
|
18
|
+
import "./chunk-MARWOCVP.js";
|
|
19
|
+
import "./chunk-J3BT33K7.js";
|
|
20
|
+
import "./chunk-QWUUMMIK.js";
|
|
21
|
+
import "./chunk-U4PV25RD.js";
|
|
22
|
+
import "./chunk-ESSMF2FR.js";
|
|
23
|
+
import "./chunk-TP4FZJIZ.js";
|
|
24
|
+
import "./chunk-SCU65EZI.js";
|
|
25
|
+
import "./chunk-BOUYNNYD.js";
|
|
26
|
+
import "./chunk-DM2T26WE.js";
|
|
27
|
+
import "./chunk-QSVPYQPG.js";
|
|
28
|
+
import "./chunk-HLXVTBF3.js";
|
|
29
|
+
import "./chunk-M62O4P4T.js";
|
|
30
|
+
import "./chunk-KWBU5S5U.js";
|
|
31
|
+
import "./chunk-LPSF4OQH.js";
|
|
32
|
+
import "./chunk-QCCCQT3O.js";
|
|
33
|
+
export {
|
|
34
|
+
runBenchmarkRecall,
|
|
35
|
+
runOperatorConfigReview,
|
|
36
|
+
runOperatorDoctor,
|
|
37
|
+
runOperatorInventory,
|
|
38
|
+
runOperatorRepair,
|
|
39
|
+
runOperatorSetup
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=operator-toolkit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { LoggerBackend } from './logger.js';
|
|
2
|
+
|
|
3
|
+
interface OpikExporterConfig {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
/** Base URL of the Opik API, e.g. http://192.168.3.147:5173/api */
|
|
6
|
+
apiUrl: string;
|
|
7
|
+
projectName: string;
|
|
8
|
+
workspaceName: string;
|
|
9
|
+
/** Optional API key (not required for self-hosted deployments) */
|
|
10
|
+
apiKey?: string;
|
|
11
|
+
/** Include recalled memory text in spans (default false) */
|
|
12
|
+
traceRecallContent: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare class OpikExporter {
|
|
15
|
+
private readonly cfg;
|
|
16
|
+
private readonly log;
|
|
17
|
+
private _handler;
|
|
18
|
+
private readonly inFlight;
|
|
19
|
+
/** Track which trace_ids we have already created parent trace objects for. */
|
|
20
|
+
private readonly createdTraces;
|
|
21
|
+
/** In-flight ensureTrace promises keyed by traceId — concurrent callers await the same promise. */
|
|
22
|
+
private readonly pendingTraces;
|
|
23
|
+
/** TTL for in-flight LLM entries (ms). Entries older than this are discarded. */
|
|
24
|
+
private static readonly IN_FLIGHT_TTL_MS;
|
|
25
|
+
constructor(cfg: OpikExporterConfig, log: LoggerBackend);
|
|
26
|
+
/**
|
|
27
|
+
* Subscribe to Engram's global trace slot. Safe to call multiple times —
|
|
28
|
+
* chains with existing subscribers (e.g. Langfuse) rather than replacing.
|
|
29
|
+
*/
|
|
30
|
+
subscribe(): void;
|
|
31
|
+
/** Deactivate this exporter instance.
|
|
32
|
+
*
|
|
33
|
+
* We intentionally do NOT restore __openclawEngramTrace to a prior handler
|
|
34
|
+
* because any subscriber that chained *after* us would be silently dropped
|
|
35
|
+
* by such a restoration. Instead we mark the instance as disabled so that
|
|
36
|
+
* handleEvent() becomes a no-op while the callback chain itself is left
|
|
37
|
+
* untouched. The next subscribe() call from a fresh instance will re-enter
|
|
38
|
+
* the chain on top of whatever is there at that point.
|
|
39
|
+
*/
|
|
40
|
+
_detach(): void;
|
|
41
|
+
unsubscribe(): void;
|
|
42
|
+
private handleEvent;
|
|
43
|
+
private onRecall;
|
|
44
|
+
private onLlmStart;
|
|
45
|
+
private sweepStaleInFlight;
|
|
46
|
+
private onLlmEnd;
|
|
47
|
+
/**
|
|
48
|
+
* Create a parent trace object in Opik if we haven't already.
|
|
49
|
+
* Opik does NOT auto-create traces from spans, so without this
|
|
50
|
+
* the spans are orphaned and don't show up in the trace list UI.
|
|
51
|
+
*/
|
|
52
|
+
private ensureTrace;
|
|
53
|
+
/**
|
|
54
|
+
* Convert a sessionKey to a stable, deterministic UUID v7-shaped ID so that
|
|
55
|
+
* spans for the same session share a trace_id and are threaded in Opik.
|
|
56
|
+
* Uses SHA-256 for collision resistance. The timestamp bytes (0-5) come from
|
|
57
|
+
* the hash itself — they don't reflect real time, but Opik only validates
|
|
58
|
+
* the version/variant bits, not timestamp ordering.
|
|
59
|
+
*/
|
|
60
|
+
private sessionToTraceId;
|
|
61
|
+
}
|
|
62
|
+
interface OpikExporterRawConfig {
|
|
63
|
+
opikTraceEnabled?: boolean;
|
|
64
|
+
opikApiUrl?: string;
|
|
65
|
+
opikProjectName?: string;
|
|
66
|
+
opikWorkspaceName?: string;
|
|
67
|
+
opikApiKey?: string;
|
|
68
|
+
opikTraceRecallContent?: boolean;
|
|
69
|
+
}
|
|
70
|
+
declare function createOpikExporter(raw: OpikExporterRawConfig, log: LoggerBackend): OpikExporter | null;
|
|
71
|
+
|
|
72
|
+
export { OpikExporter, type OpikExporterConfig, type OpikExporterRawConfig, createOpikExporter };
|