@remnic/core 9.69.105 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.js +35 -33
- package/dist/access-authorization-probe.js +36 -34
- package/dist/access-boundary.js +35 -33
- package/dist/access-cli.js +96 -94
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +35 -33
- package/dist/access-http-briefing.js +36 -34
- package/dist/access-http-query.js +37 -35
- package/dist/access-http.js +54 -52
- package/dist/access-identity-continuity-surface.js +35 -33
- package/dist/access-lcm-surface.js +35 -33
- package/dist/access-mcp.js +44 -42
- package/dist/access-namespace-preflight.js +35 -33
- package/dist/access-observe-write-category.js +4 -4
- package/dist/access-observe-write-surface.js +35 -33
- package/dist/access-operations-batch.js +36 -34
- package/dist/access-operations.js +43 -41
- package/dist/access-recall-concurrency.js +35 -33
- package/dist/access-recall-response.js +35 -33
- package/dist/access-recall-surface.js +35 -33
- package/dist/access-schema.js +3 -3
- package/dist/access-service.js +35 -33
- package/dist/access-surface-catalog.js +37 -35
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +11 -9
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +10 -8
- package/dist/buffer.js +7 -5
- package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/causal-consolidation.js +11 -9
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-JWFTPRYD.js → chunk-2EZB2DL5.js} +2 -2
- package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-QKCGOECM.js → chunk-34G4U6HS.js} +2 -2
- package/dist/{chunk-YI6XIFQV.js → chunk-34TSXVQS.js} +2 -2
- package/dist/{chunk-7YQR6XHY.js → chunk-3I375S4J.js} +58 -58
- package/dist/{chunk-XQWKB6PY.js → chunk-3UP6NP4C.js} +2 -2
- package/dist/{chunk-OFGTRDWX.js → chunk-47I2EK6G.js} +2 -2
- package/dist/{chunk-HWGFTTPS.js → chunk-5FLFPTDK.js} +2 -2
- package/dist/{chunk-LHDSCWDK.js → chunk-7AUC2YSU.js} +13 -13
- package/dist/{chunk-AU43D3IT.js → chunk-7DB7KYSR.js} +4 -4
- package/dist/{chunk-VDX2J7OX.js → chunk-7LCGFUMB.js} +4 -4
- package/dist/{chunk-CNBGAFDY.js → chunk-A7V7GZ7F.js} +2 -2
- package/dist/{chunk-SWXPR5SE.js → chunk-B2UCJX76.js} +2 -2
- package/dist/{chunk-KYUVFCT2.js → chunk-BCTDTVSR.js} +2 -2
- package/dist/{chunk-6WRHNA4I.js → chunk-BKPV47BK.js} +36 -36
- package/dist/{chunk-QAIVTLL2.js → chunk-BLHPADUX.js} +2 -2
- package/dist/{chunk-PRNR47DI.js → chunk-BOT276JC.js} +2 -2
- package/dist/{chunk-O43AAJFQ.js → chunk-CRZ7BU6R.js} +2 -2
- package/dist/{chunk-2OFDC3AK.js → chunk-DDPPV3KA.js} +2 -2
- package/dist/{chunk-VYIBRCVW.js → chunk-DHQUQ34W.js} +2 -2
- package/dist/{chunk-7NBUE5VY.js → chunk-DPX3J2N4.js} +2 -2
- package/dist/{chunk-EWWK65CI.js → chunk-DX3ZODO3.js} +2 -2
- package/dist/{chunk-SFDBLCZV.js → chunk-DYZHVVJM.js} +30 -30
- package/dist/{chunk-B454SHPU.js → chunk-E7FN5N5E.js} +2 -2
- package/dist/{chunk-AWSP3WNM.js → chunk-EJJMDLVB.js} +2 -2
- package/dist/{chunk-KFHEZJQZ.js → chunk-EPFNPPWH.js} +2 -2
- package/dist/{chunk-VDVHIRCK.js → chunk-EUYNHJTK.js} +2 -2
- package/dist/{chunk-T32YYUT2.js → chunk-FB6FQT4P.js} +2 -2
- package/dist/{chunk-XTN54NML.js → chunk-G3T6YMBO.js} +4 -4
- package/dist/{chunk-JC7QQ2DJ.js → chunk-GS6LTJFW.js} +2 -2
- package/dist/{chunk-WR66CTVU.js → chunk-GYLDYYRA.js} +4 -4
- package/dist/{chunk-PQKZLBCJ.js → chunk-GZRTH3WZ.js} +1 -1
- package/dist/{chunk-STQC2FYQ.js → chunk-HNU5CZ7E.js} +6 -6
- package/dist/{chunk-E4XLFYHV.js → chunk-HPEONBM3.js} +2 -2
- package/dist/{chunk-B3OFQP5Y.js → chunk-IB63OVUB.js} +24 -249
- package/dist/chunk-IB63OVUB.js.map +1 -0
- package/dist/chunk-IM2GO42H.js +312 -0
- package/dist/chunk-IM2GO42H.js.map +1 -0
- package/dist/{chunk-EZ3F4YIN.js → chunk-JLUS56YZ.js} +5 -5
- package/dist/{chunk-UHESJ6TQ.js → chunk-KEGUXZNY.js} +3 -3
- package/dist/{chunk-UHESJ6TQ.js.map → chunk-KEGUXZNY.js.map} +1 -1
- package/dist/{chunk-J3ZJBX7I.js → chunk-KM2HQZR3.js} +2 -2
- package/dist/{chunk-2MMBJE53.js → chunk-LI3OM3NP.js} +7 -7
- package/dist/{chunk-MZOQ26LH.js → chunk-LQGX5TCI.js} +2 -2
- package/dist/{chunk-KMN2JE4D.js → chunk-LTDWZ2HC.js} +2 -2
- package/dist/{chunk-T6RQNV7E.js → chunk-MJ737UIA.js} +2 -2
- package/dist/{chunk-7X7A7KVN.js → chunk-NLYOOGZ7.js} +2 -2
- package/dist/{chunk-PZ2QQULY.js → chunk-NVZRIHW5.js} +8 -8
- package/dist/{chunk-NT2Q6AHC.js → chunk-PCO3P7WJ.js} +2 -2
- package/dist/{chunk-VO2BNAA2.js → chunk-PXDEIJL5.js} +2 -2
- package/dist/{chunk-LXJZUNLX.js → chunk-QHHWJVVW.js} +2 -2
- package/dist/{chunk-XLWMNDQR.js → chunk-QJWZJ7HL.js} +3 -3
- package/dist/{chunk-73R4HOOK.js → chunk-QPG72IPU.js} +3 -3
- package/dist/{chunk-SIGDETMB.js → chunk-R4NGLTUS.js} +2 -2
- package/dist/{chunk-TRN56SPQ.js → chunk-R6NHHKXE.js} +2 -2
- package/dist/{chunk-ATFFWIKL.js → chunk-RGGXSN5A.js} +2 -2
- package/dist/{chunk-IOMLGJHG.js → chunk-RWZXVCGX.js} +5 -5
- package/dist/{chunk-PQ7EB5AD.js → chunk-S3BB34NI.js} +3 -3
- package/dist/{chunk-QX3K3INR.js → chunk-SBBZXDVJ.js} +2 -2
- package/dist/{chunk-G5I5ZT6O.js → chunk-SFDKLEIY.js} +2 -2
- package/dist/{chunk-ZLQ37WJX.js → chunk-SIGAGKNE.js} +8 -2
- package/dist/{chunk-ZLQ37WJX.js.map → chunk-SIGAGKNE.js.map} +1 -1
- package/dist/chunk-TPSLVZHS.js +102 -0
- package/dist/chunk-TPSLVZHS.js.map +1 -0
- package/dist/{chunk-TXTRHF3B.js → chunk-TVPDF6CZ.js} +2 -2
- package/dist/{chunk-A6WNTVA7.js → chunk-UP3XXGEN.js} +2 -2
- package/dist/{chunk-S2GR3T7W.js → chunk-UT7WE7RM.js} +2 -2
- package/dist/{chunk-BKVCTTEN.js → chunk-V3NKVYUD.js} +2 -2
- package/dist/{chunk-CGBE3N7T.js → chunk-VH76UQK3.js} +2 -2
- package/dist/{chunk-Z6EZCN6Z.js → chunk-VKQI47DJ.js} +8 -8
- package/dist/{chunk-KV7LFOPF.js → chunk-VSPBXHGR.js} +2 -2
- package/dist/{chunk-ZRUC7FD3.js → chunk-VXCTQ3B3.js} +2 -2
- package/dist/{chunk-QUNCLKHM.js → chunk-WIVBNNA3.js} +2 -2
- package/dist/{chunk-OWV6LKNZ.js → chunk-WWUFQ3AG.js} +2 -2
- package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-GQ6ZF4LD.js → chunk-XG4XXI66.js} +2 -2
- package/dist/{chunk-ISX7GVZE.js → chunk-YRULQW5J.js} +4 -4
- package/dist/{chunk-VV2MVHCJ.js → chunk-YX5F4V7H.js} +2 -2
- package/dist/{chunk-JRDL3FGM.js → chunk-YY5FM5M7.js} +3 -3
- package/dist/cli.js +70 -68
- package/dist/coding/export-okf-codegraph.js +9 -7
- package/dist/coding/export-okf-codegraph.js.map +1 -1
- package/dist/compounding/engine.js +10 -8
- package/dist/config-qmd.js +1 -1
- package/dist/config.js +11 -9
- package/dist/connectors/codex-materialize-runner.js +10 -8
- package/dist/connectors/index.js +10 -8
- package/dist/convergence-refresh.js +12 -10
- package/dist/corpus-watermark.js +12 -10
- package/dist/deep-recall-http-glue.js +4 -4
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +10 -8
- package/dist/external-wiki-access.js +36 -34
- package/dist/extraction.js +14 -12
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.js +118 -116
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.js +9 -9
- package/dist/location/index.js +12 -10
- package/dist/maintenance/memory-governance.js +10 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -8
- package/dist/maintenance/rebuild-memory-projection.js +11 -9
- package/dist/memory-browse-operations.js +36 -34
- package/dist/memory-browse.js +7 -5
- package/dist/namespaces/migrate.js +11 -9
- package/dist/namespaces/search.js +8 -6
- package/dist/namespaces/storage.js +10 -8
- package/dist/operator-doctor-corpus.js +13 -11
- package/dist/operator-toolkit.js +20 -18
- package/dist/orchestration/maintenance.js +18 -16
- package/dist/orchestrator.js +98 -96
- package/dist/qmd-daemon-session.d.ts +45 -0
- package/dist/qmd-daemon-session.d.ts.map +1 -0
- package/dist/qmd-daemon-session.js +12 -0
- package/dist/qmd-daemon-session.js.map +1 -0
- package/dist/qmd-mcp-cancel.d.ts +21 -0
- package/dist/qmd-mcp-cancel.d.ts.map +1 -0
- package/dist/qmd-mcp-cancel.js +11 -0
- package/dist/qmd-mcp-cancel.js.map +1 -0
- package/dist/qmd-preflight.d.ts +3 -1
- package/dist/qmd-preflight.d.ts.map +1 -1
- package/dist/qmd-preflight.js +3 -1
- package/dist/qmd.d.ts +5 -29
- package/dist/qmd.d.ts.map +1 -1
- package/dist/qmd.js +6 -2
- package/dist/recall-navigation-operations.js +36 -34
- package/dist/recall-navigation.js +35 -33
- package/dist/recall-state-view-admission.js +7 -5
- package/dist/recall-why-service.js +7 -5
- package/dist/resume-bundles.js +12 -10
- package/dist/search/factory.js +7 -5
- package/dist/search/index.js +11 -9
- package/dist/semantic-consolidation.js +11 -9
- package/dist/semantic-rule-promotion.js +10 -8
- package/dist/semantic-rule-verifier.js +10 -8
- package/dist/source-agent-qualifier.js +13 -11
- package/dist/standup/build.js +10 -8
- package/dist/storage.js +9 -7
- package/dist/support-passport/index.js +38 -36
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-okf.js +10 -8
- package/dist/verified-recall.js +10 -8
- package/dist/who-knows-cli.js +11 -9
- package/dist/who-knows.js +10 -8
- package/package.json +2 -2
- package/src/config-qmd.ts +2 -2
- package/src/qmd-daemon-session.ts +369 -0
- package/src/qmd-mcp-cancel.test.ts +408 -0
- package/src/qmd-mcp-cancel.ts +130 -0
- package/src/qmd-preflight.ts +10 -1
- package/src/qmd-rank-compare.test.ts +100 -0
- package/src/qmd.test.ts +16 -1
- package/src/qmd.ts +18 -297
- package/dist/chunk-B3OFQP5Y.js.map +0 -1
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-JWFTPRYD.js.map → chunk-2EZB2DL5.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-QKCGOECM.js.map → chunk-34G4U6HS.js.map} +0 -0
- /package/dist/{chunk-YI6XIFQV.js.map → chunk-34TSXVQS.js.map} +0 -0
- /package/dist/{chunk-7YQR6XHY.js.map → chunk-3I375S4J.js.map} +0 -0
- /package/dist/{chunk-XQWKB6PY.js.map → chunk-3UP6NP4C.js.map} +0 -0
- /package/dist/{chunk-OFGTRDWX.js.map → chunk-47I2EK6G.js.map} +0 -0
- /package/dist/{chunk-HWGFTTPS.js.map → chunk-5FLFPTDK.js.map} +0 -0
- /package/dist/{chunk-LHDSCWDK.js.map → chunk-7AUC2YSU.js.map} +0 -0
- /package/dist/{chunk-AU43D3IT.js.map → chunk-7DB7KYSR.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-7LCGFUMB.js.map} +0 -0
- /package/dist/{chunk-CNBGAFDY.js.map → chunk-A7V7GZ7F.js.map} +0 -0
- /package/dist/{chunk-SWXPR5SE.js.map → chunk-B2UCJX76.js.map} +0 -0
- /package/dist/{chunk-KYUVFCT2.js.map → chunk-BCTDTVSR.js.map} +0 -0
- /package/dist/{chunk-6WRHNA4I.js.map → chunk-BKPV47BK.js.map} +0 -0
- /package/dist/{chunk-QAIVTLL2.js.map → chunk-BLHPADUX.js.map} +0 -0
- /package/dist/{chunk-PRNR47DI.js.map → chunk-BOT276JC.js.map} +0 -0
- /package/dist/{chunk-O43AAJFQ.js.map → chunk-CRZ7BU6R.js.map} +0 -0
- /package/dist/{chunk-2OFDC3AK.js.map → chunk-DDPPV3KA.js.map} +0 -0
- /package/dist/{chunk-VYIBRCVW.js.map → chunk-DHQUQ34W.js.map} +0 -0
- /package/dist/{chunk-7NBUE5VY.js.map → chunk-DPX3J2N4.js.map} +0 -0
- /package/dist/{chunk-EWWK65CI.js.map → chunk-DX3ZODO3.js.map} +0 -0
- /package/dist/{chunk-SFDBLCZV.js.map → chunk-DYZHVVJM.js.map} +0 -0
- /package/dist/{chunk-B454SHPU.js.map → chunk-E7FN5N5E.js.map} +0 -0
- /package/dist/{chunk-AWSP3WNM.js.map → chunk-EJJMDLVB.js.map} +0 -0
- /package/dist/{chunk-KFHEZJQZ.js.map → chunk-EPFNPPWH.js.map} +0 -0
- /package/dist/{chunk-VDVHIRCK.js.map → chunk-EUYNHJTK.js.map} +0 -0
- /package/dist/{chunk-T32YYUT2.js.map → chunk-FB6FQT4P.js.map} +0 -0
- /package/dist/{chunk-XTN54NML.js.map → chunk-G3T6YMBO.js.map} +0 -0
- /package/dist/{chunk-JC7QQ2DJ.js.map → chunk-GS6LTJFW.js.map} +0 -0
- /package/dist/{chunk-WR66CTVU.js.map → chunk-GYLDYYRA.js.map} +0 -0
- /package/dist/{chunk-PQKZLBCJ.js.map → chunk-GZRTH3WZ.js.map} +0 -0
- /package/dist/{chunk-STQC2FYQ.js.map → chunk-HNU5CZ7E.js.map} +0 -0
- /package/dist/{chunk-E4XLFYHV.js.map → chunk-HPEONBM3.js.map} +0 -0
- /package/dist/{chunk-EZ3F4YIN.js.map → chunk-JLUS56YZ.js.map} +0 -0
- /package/dist/{chunk-J3ZJBX7I.js.map → chunk-KM2HQZR3.js.map} +0 -0
- /package/dist/{chunk-2MMBJE53.js.map → chunk-LI3OM3NP.js.map} +0 -0
- /package/dist/{chunk-MZOQ26LH.js.map → chunk-LQGX5TCI.js.map} +0 -0
- /package/dist/{chunk-KMN2JE4D.js.map → chunk-LTDWZ2HC.js.map} +0 -0
- /package/dist/{chunk-T6RQNV7E.js.map → chunk-MJ737UIA.js.map} +0 -0
- /package/dist/{chunk-7X7A7KVN.js.map → chunk-NLYOOGZ7.js.map} +0 -0
- /package/dist/{chunk-PZ2QQULY.js.map → chunk-NVZRIHW5.js.map} +0 -0
- /package/dist/{chunk-NT2Q6AHC.js.map → chunk-PCO3P7WJ.js.map} +0 -0
- /package/dist/{chunk-VO2BNAA2.js.map → chunk-PXDEIJL5.js.map} +0 -0
- /package/dist/{chunk-LXJZUNLX.js.map → chunk-QHHWJVVW.js.map} +0 -0
- /package/dist/{chunk-XLWMNDQR.js.map → chunk-QJWZJ7HL.js.map} +0 -0
- /package/dist/{chunk-73R4HOOK.js.map → chunk-QPG72IPU.js.map} +0 -0
- /package/dist/{chunk-SIGDETMB.js.map → chunk-R4NGLTUS.js.map} +0 -0
- /package/dist/{chunk-TRN56SPQ.js.map → chunk-R6NHHKXE.js.map} +0 -0
- /package/dist/{chunk-ATFFWIKL.js.map → chunk-RGGXSN5A.js.map} +0 -0
- /package/dist/{chunk-IOMLGJHG.js.map → chunk-RWZXVCGX.js.map} +0 -0
- /package/dist/{chunk-PQ7EB5AD.js.map → chunk-S3BB34NI.js.map} +0 -0
- /package/dist/{chunk-QX3K3INR.js.map → chunk-SBBZXDVJ.js.map} +0 -0
- /package/dist/{chunk-G5I5ZT6O.js.map → chunk-SFDKLEIY.js.map} +0 -0
- /package/dist/{chunk-TXTRHF3B.js.map → chunk-TVPDF6CZ.js.map} +0 -0
- /package/dist/{chunk-A6WNTVA7.js.map → chunk-UP3XXGEN.js.map} +0 -0
- /package/dist/{chunk-S2GR3T7W.js.map → chunk-UT7WE7RM.js.map} +0 -0
- /package/dist/{chunk-BKVCTTEN.js.map → chunk-V3NKVYUD.js.map} +0 -0
- /package/dist/{chunk-CGBE3N7T.js.map → chunk-VH76UQK3.js.map} +0 -0
- /package/dist/{chunk-Z6EZCN6Z.js.map → chunk-VKQI47DJ.js.map} +0 -0
- /package/dist/{chunk-KV7LFOPF.js.map → chunk-VSPBXHGR.js.map} +0 -0
- /package/dist/{chunk-ZRUC7FD3.js.map → chunk-VXCTQ3B3.js.map} +0 -0
- /package/dist/{chunk-QUNCLKHM.js.map → chunk-WIVBNNA3.js.map} +0 -0
- /package/dist/{chunk-OWV6LKNZ.js.map → chunk-WWUFQ3AG.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-GQ6ZF4LD.js.map → chunk-XG4XXI66.js.map} +0 -0
- /package/dist/{chunk-ISX7GVZE.js.map → chunk-YRULQW5J.js.map} +0 -0
- /package/dist/{chunk-VV2MVHCJ.js.map → chunk-YX5F4V7H.js.map} +0 -0
- /package/dist/{chunk-JRDL3FGM.js.map → chunk-YY5FM5M7.js.map} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReplitAdapter
|
|
3
|
+
} from "./chunk-SI36RWC3.js";
|
|
1
4
|
import {
|
|
2
5
|
ClaudeCodeAdapter
|
|
3
6
|
} from "./chunk-3JKYQBLC.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
HermesAdapter
|
|
9
12
|
} from "./chunk-HCAGBFE7.js";
|
|
10
|
-
import {
|
|
11
|
-
ReplitAdapter
|
|
12
|
-
} from "./chunk-SI36RWC3.js";
|
|
13
13
|
import {
|
|
14
14
|
headerValue
|
|
15
15
|
} from "./chunk-NJAIR57U.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
OpenCodeAdapter,
|
|
111
111
|
AdapterRegistry
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-G3T6YMBO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalCategoryForAlias,
|
|
3
3
|
categoryAliasCoercion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-47I2EK6G.js";
|
|
5
5
|
|
|
6
6
|
// src/access-observe-write-category.ts
|
|
7
7
|
function splitCanonicalWriteRequest(request) {
|
|
@@ -22,4 +22,4 @@ function splitCanonicalWriteRequest(request) {
|
|
|
22
22
|
export {
|
|
23
23
|
splitCanonicalWriteRequest
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-GS6LTJFW.js.map
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
defineOperation,
|
|
22
22
|
parseNamespacePreflightWriteOp,
|
|
23
23
|
resolveAuthorizedNamespaceWritablePreflight
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BKPV47BK.js";
|
|
25
25
|
import {
|
|
26
26
|
parseSharedWriteOutputControls
|
|
27
27
|
} from "./chunk-IFBSZGW3.js";
|
|
28
28
|
import {
|
|
29
29
|
validateBriefingFormat
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VXCTQ3B3.js";
|
|
31
31
|
import {
|
|
32
32
|
parseDeepRecallMaxSteps
|
|
33
33
|
} from "./chunk-A7AISUJI.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
recallRequestSchema,
|
|
37
37
|
retainedCategoryAlias,
|
|
38
38
|
suggestionSubmitRequestSchema
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-47I2EK6G.js";
|
|
40
40
|
import {
|
|
41
41
|
enforceNamespaceAllowList,
|
|
42
42
|
tokenCapabilityStore
|
|
@@ -603,4 +603,4 @@ defineOperation({ name: "graph_events", description: "SSE graph events.", schema
|
|
|
603
603
|
defineOperation({ name: "chat_message", description: "Chat message.", schema: strictSchema({ message: S.str, chatSessionId: S.str }), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
604
604
|
defineOperation({ name: "chat_events", description: "SSE chat events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
|
|
605
605
|
defineOperation({ name: "adapters_status", description: "Adapter registry metadata (issue #1850 round 5). Marker op: the HTTP transport builds the response from its own adapterRegistry, but the op still must be registered so it appears in listRegisteredOperations and enforceTokenOp can gate it for scoped tokens.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
606
|
-
//# sourceMappingURL=chunk-
|
|
606
|
+
//# sourceMappingURL=chunk-GYLDYYRA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildStandup,
|
|
3
3
|
parseStandupDate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UT7WE7RM.js";
|
|
5
5
|
import {
|
|
6
6
|
backfillMemoryStorage,
|
|
7
7
|
runLocationBackfill,
|
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
runLocationDay,
|
|
10
10
|
runLocationStatus,
|
|
11
11
|
runLocationSync
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S3BB34NI.js";
|
|
13
13
|
import {
|
|
14
14
|
externalWikiSearchOperation
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EPFNPPWH.js";
|
|
16
16
|
import {
|
|
17
17
|
DECISION_SUBCOMMANDS,
|
|
18
18
|
DELTA_SUBCOMMANDS,
|
|
19
19
|
defineOperation,
|
|
20
20
|
isCodegraphToolName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BKPV47BK.js";
|
|
22
22
|
import {
|
|
23
23
|
CorrectionContractError
|
|
24
24
|
} from "./chunk-QLK3SL7Q.js";
|
|
25
25
|
import {
|
|
26
26
|
memoryStoreRequestSchema,
|
|
27
27
|
retainedCategoryAlias
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-47I2EK6G.js";
|
|
29
29
|
import {
|
|
30
30
|
serializeMutations,
|
|
31
31
|
withHeldFileLock
|
|
@@ -1914,4 +1914,4 @@ export {
|
|
|
1914
1914
|
codegraphIngestTracesOperation,
|
|
1915
1915
|
REGISTERED_OPERATIONS
|
|
1916
1916
|
};
|
|
1917
|
-
//# sourceMappingURL=chunk-
|
|
1917
|
+
//# sourceMappingURL=chunk-HNU5CZ7E.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-46WM6JX2.js";
|
|
18
18
|
import {
|
|
19
19
|
normalizeQmdResultPath
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-V3NKVYUD.js";
|
|
21
21
|
import {
|
|
22
22
|
withholdToolScopedFromSharedNamespace
|
|
23
23
|
} from "./chunk-S2V7RUCL.js";
|
|
@@ -11369,4 +11369,4 @@ export {
|
|
|
11369
11369
|
isValidBufferSurpriseEvent,
|
|
11370
11370
|
StorageManager3 as StorageManager
|
|
11371
11371
|
};
|
|
11372
|
-
//# sourceMappingURL=chunk-
|
|
11372
|
+
//# sourceMappingURL=chunk-HPEONBM3.js.map
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveEnsureCollectionArgs
|
|
3
3
|
} from "./chunk-G26YNEOC.js";
|
|
4
|
+
import {
|
|
5
|
+
QmdDaemonSession
|
|
6
|
+
} from "./chunk-IM2GO42H.js";
|
|
7
|
+
import {
|
|
8
|
+
createInflightJoiner
|
|
9
|
+
} from "./chunk-TPSLVZHS.js";
|
|
4
10
|
import {
|
|
5
11
|
QMD_PROBE_RETRY_BACKOFF_MS,
|
|
6
12
|
QMD_PROBE_TIMEOUT_MS,
|
|
7
13
|
QMD_SUPPORTED_VERSION,
|
|
14
|
+
autoUpgradeInstallsStockPackage,
|
|
8
15
|
classifyProbeFailure,
|
|
9
16
|
compareQmdVersions,
|
|
10
17
|
getQmdPostInstallProbeTargets,
|
|
@@ -12,7 +19,7 @@ import {
|
|
|
12
19
|
parseQmdVersionOutput,
|
|
13
20
|
qmdVersionToString,
|
|
14
21
|
resolveQmdCapabilities
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SIGAGKNE.js";
|
|
16
23
|
import {
|
|
17
24
|
EMPTY_QMD_STATUS,
|
|
18
25
|
embedQmdFiles,
|
|
@@ -82,9 +89,6 @@ function getGlobalQmdState() {
|
|
|
82
89
|
state.lastAutoUpgradeStatusByTarget ??= {};
|
|
83
90
|
return state;
|
|
84
91
|
}
|
|
85
|
-
function sleep(ms) {
|
|
86
|
-
return new Promise((r) => setTimeout(r, ms));
|
|
87
|
-
}
|
|
88
92
|
function errorMessage(err) {
|
|
89
93
|
if (typeof err === "string") return err;
|
|
90
94
|
if (err instanceof Error) return err.message;
|
|
@@ -410,249 +414,6 @@ function killBoundedChild(child) {
|
|
|
410
414
|
} catch {
|
|
411
415
|
}
|
|
412
416
|
}
|
|
413
|
-
var nextJsonRpcId = 1;
|
|
414
|
-
var QmdDaemonSession = class {
|
|
415
|
-
child = null;
|
|
416
|
-
initialized = false;
|
|
417
|
-
buffer = "";
|
|
418
|
-
startPromise = null;
|
|
419
|
-
pendingRequests = /* @__PURE__ */ new Map();
|
|
420
|
-
qmdPath;
|
|
421
|
-
runtimeEnv;
|
|
422
|
-
indexName;
|
|
423
|
-
constructor(qmdPath, runtimeEnv = {}, indexName) {
|
|
424
|
-
this.qmdPath = qmdPath;
|
|
425
|
-
this.runtimeEnv = runtimeEnv;
|
|
426
|
-
this.indexName = indexName?.trim() || void 0;
|
|
427
|
-
}
|
|
428
|
-
/** Spawn the qmd mcp child process and perform MCP handshake. */
|
|
429
|
-
async start() {
|
|
430
|
-
if (this.child && !this.child.killed && this.initialized) {
|
|
431
|
-
return true;
|
|
432
|
-
}
|
|
433
|
-
if (this.startPromise) {
|
|
434
|
-
return this.startPromise;
|
|
435
|
-
}
|
|
436
|
-
this.startPromise = (async () => {
|
|
437
|
-
const processAlreadyRunning = this.child != null && !this.child.killed;
|
|
438
|
-
if (!processAlreadyRunning) {
|
|
439
|
-
if (this.child) {
|
|
440
|
-
this.cleanup({ killChild: true });
|
|
441
|
-
}
|
|
442
|
-
try {
|
|
443
|
-
const args = this.indexName ? ["--index", this.indexName, "mcp"] : ["mcp"];
|
|
444
|
-
const child = launchProcess(this.qmdPath, args, {
|
|
445
|
-
env: mergeEnv({ NO_COLOR: "1", ...this.runtimeEnv }),
|
|
446
|
-
stdio: ["pipe", "pipe", "pipe"]
|
|
447
|
-
});
|
|
448
|
-
this.child = child;
|
|
449
|
-
this.buffer = "";
|
|
450
|
-
child.stdout?.on("data", (data) => {
|
|
451
|
-
if (this.child !== child) return;
|
|
452
|
-
this.handleStdoutData(data);
|
|
453
|
-
});
|
|
454
|
-
child.stderr?.on("data", (data) => {
|
|
455
|
-
if (this.child !== child) return;
|
|
456
|
-
const msg = data.toString().trim();
|
|
457
|
-
if (msg) log.debug(`QMD mcp stderr: ${stripControlChars(msg)}`);
|
|
458
|
-
});
|
|
459
|
-
child.stdin?.on("error", (err) => {
|
|
460
|
-
log.debug(`QMD mcp stdin error (suppressed): ${err.message}`);
|
|
461
|
-
});
|
|
462
|
-
child.on("error", (err) => {
|
|
463
|
-
if (this.child !== child) return;
|
|
464
|
-
log.debug(`QMD mcp process error: ${err.message}`);
|
|
465
|
-
this.cleanup({ child });
|
|
466
|
-
});
|
|
467
|
-
child.on("close", (code) => {
|
|
468
|
-
if (this.child !== child) return;
|
|
469
|
-
log.debug(`QMD mcp process exited (code ${code})`);
|
|
470
|
-
this.cleanup({ child });
|
|
471
|
-
});
|
|
472
|
-
} catch (err) {
|
|
473
|
-
log.debug(`QMD mcp: failed to spawn process: ${err}`);
|
|
474
|
-
this.cleanup({ killChild: true });
|
|
475
|
-
return false;
|
|
476
|
-
}
|
|
477
|
-
} else {
|
|
478
|
-
log.debug("QMD mcp: process already running, retrying handshake");
|
|
479
|
-
}
|
|
480
|
-
try {
|
|
481
|
-
const result = await this.sendRequest(
|
|
482
|
-
"initialize",
|
|
483
|
-
{
|
|
484
|
-
protocolVersion: "2024-11-05",
|
|
485
|
-
capabilities: {},
|
|
486
|
-
clientInfo: { name: "openclaw-remnic", version: "1.0.0" }
|
|
487
|
-
},
|
|
488
|
-
6e4
|
|
489
|
-
);
|
|
490
|
-
if (!result) {
|
|
491
|
-
this.cleanup({ killChild: true });
|
|
492
|
-
return false;
|
|
493
|
-
}
|
|
494
|
-
this.sendNotification("notifications/initialized");
|
|
495
|
-
this.initialized = true;
|
|
496
|
-
log.info("QMD mcp: stdio session initialized");
|
|
497
|
-
return true;
|
|
498
|
-
} catch (err) {
|
|
499
|
-
const msg = err instanceof Error ? err.message : String(err);
|
|
500
|
-
if (/timed out/i.test(msg)) {
|
|
501
|
-
log.debug(`QMD mcp: handshake timed out \u2014 process still loading, will retry later`);
|
|
502
|
-
this.initialized = false;
|
|
503
|
-
} else {
|
|
504
|
-
log.debug(`QMD mcp: failed to start stdio session: ${err}`);
|
|
505
|
-
this.cleanup({ killChild: true });
|
|
506
|
-
}
|
|
507
|
-
return false;
|
|
508
|
-
} finally {
|
|
509
|
-
this.startPromise = null;
|
|
510
|
-
}
|
|
511
|
-
})();
|
|
512
|
-
return this.startPromise;
|
|
513
|
-
}
|
|
514
|
-
/** Call an MCP tool and return the parsed result. */
|
|
515
|
-
async callTool(name, args, timeoutMs = 3e4, signal) {
|
|
516
|
-
if (!this.child || this.child.killed || !this.initialized) {
|
|
517
|
-
throw new Error("QMD mcp process not running");
|
|
518
|
-
}
|
|
519
|
-
return this.sendRequest("tools/call", { name, arguments: args }, timeoutMs, signal);
|
|
520
|
-
}
|
|
521
|
-
/** Kill stdio process and clear state so the next probe can restart. */
|
|
522
|
-
invalidate() {
|
|
523
|
-
this.cleanup({ killChild: true });
|
|
524
|
-
}
|
|
525
|
-
/** Kill stdio process and wait briefly for the child handle to close. */
|
|
526
|
-
async close(timeoutMs = 1e3) {
|
|
527
|
-
const target = this.child;
|
|
528
|
-
if (!target) {
|
|
529
|
-
this.cleanup({ killChild: true });
|
|
530
|
-
return;
|
|
531
|
-
}
|
|
532
|
-
let closed = false;
|
|
533
|
-
const closedPromise = new Promise((resolve) => {
|
|
534
|
-
target.once("close", () => {
|
|
535
|
-
closed = true;
|
|
536
|
-
resolve();
|
|
537
|
-
});
|
|
538
|
-
});
|
|
539
|
-
this.cleanup({ killChild: true });
|
|
540
|
-
await Promise.race([closedPromise, sleep(timeoutMs)]);
|
|
541
|
-
if (!closed) {
|
|
542
|
-
try {
|
|
543
|
-
target.kill("SIGKILL");
|
|
544
|
-
} catch {
|
|
545
|
-
}
|
|
546
|
-
await Promise.race([closedPromise, sleep(250)]);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
isActive() {
|
|
550
|
-
return this.child !== null && !this.child.killed && this.initialized;
|
|
551
|
-
}
|
|
552
|
-
/** True while the process is spawned but the MCP handshake has not yet completed. */
|
|
553
|
-
isLoading() {
|
|
554
|
-
return this.child !== null && !this.child.killed && !this.initialized;
|
|
555
|
-
}
|
|
556
|
-
sendRequest(method, params, timeoutMs, signal) {
|
|
557
|
-
return new Promise((resolve, reject) => {
|
|
558
|
-
throwIfAborted(signal, `QMD mcp ${method} aborted before request`);
|
|
559
|
-
if (!this.child || !this.child.stdin || this.child.killed) {
|
|
560
|
-
reject(new Error("QMD mcp process not available"));
|
|
561
|
-
return;
|
|
562
|
-
}
|
|
563
|
-
const id = nextJsonRpcId++;
|
|
564
|
-
const timer = setTimeout(() => {
|
|
565
|
-
this.pendingRequests.delete(id);
|
|
566
|
-
cleanup();
|
|
567
|
-
reject(new Error(`QMD mcp ${method} timed out after ${timeoutMs}ms`));
|
|
568
|
-
}, timeoutMs);
|
|
569
|
-
const onAbort = () => {
|
|
570
|
-
clearTimeout(timer);
|
|
571
|
-
this.pendingRequests.delete(id);
|
|
572
|
-
cleanup();
|
|
573
|
-
reject(abortError(`QMD mcp ${method} aborted`));
|
|
574
|
-
};
|
|
575
|
-
const cleanup = () => {
|
|
576
|
-
signal?.removeEventListener("abort", onAbort);
|
|
577
|
-
};
|
|
578
|
-
this.pendingRequests.set(id, { resolve, reject, timer, cleanup });
|
|
579
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
580
|
-
const message = JSON.stringify({ jsonrpc: "2.0", id, method, params }) + "\n";
|
|
581
|
-
this.child.stdin.write(message, (err) => {
|
|
582
|
-
if (err) {
|
|
583
|
-
clearTimeout(timer);
|
|
584
|
-
this.pendingRequests.delete(id);
|
|
585
|
-
cleanup();
|
|
586
|
-
reject(new Error(`Failed to write to QMD mcp stdin: ${err.message}`));
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
sendNotification(method, params) {
|
|
592
|
-
if (!this.child || !this.child.stdin || this.child.killed) return;
|
|
593
|
-
if (this.child.stdin.destroyed) return;
|
|
594
|
-
const msg = { jsonrpc: "2.0", method };
|
|
595
|
-
if (params) msg.params = params;
|
|
596
|
-
try {
|
|
597
|
-
this.child.stdin.write(JSON.stringify(msg) + "\n");
|
|
598
|
-
} catch {
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
handleStdoutData(data) {
|
|
602
|
-
this.buffer += data.toString();
|
|
603
|
-
let newlineIdx;
|
|
604
|
-
while ((newlineIdx = this.buffer.indexOf("\n")) !== -1) {
|
|
605
|
-
const line = this.buffer.slice(0, newlineIdx).trim();
|
|
606
|
-
this.buffer = this.buffer.slice(newlineIdx + 1);
|
|
607
|
-
if (!line) continue;
|
|
608
|
-
try {
|
|
609
|
-
const msg = JSON.parse(line);
|
|
610
|
-
this.handleMessage(msg);
|
|
611
|
-
} catch {
|
|
612
|
-
log.debug(`QMD mcp: unparseable stdout: ${truncateForLog(line, 200)}`);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
handleMessage(msg) {
|
|
617
|
-
if (msg.id !== void 0 && msg.id !== null) {
|
|
618
|
-
const pending = this.pendingRequests.get(msg.id);
|
|
619
|
-
if (pending) {
|
|
620
|
-
clearTimeout(pending.timer);
|
|
621
|
-
this.pendingRequests.delete(msg.id);
|
|
622
|
-
pending.cleanup();
|
|
623
|
-
if (msg.error) {
|
|
624
|
-
pending.reject(new Error(JSON.stringify(msg.error)));
|
|
625
|
-
} else {
|
|
626
|
-
pending.resolve(msg.result);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
return;
|
|
630
|
-
}
|
|
631
|
-
if (msg.method) {
|
|
632
|
-
log.debug(`QMD mcp notification: ${msg.method}`);
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
cleanup(opts) {
|
|
636
|
-
const target = opts?.child ?? this.child;
|
|
637
|
-
if (!target) return;
|
|
638
|
-
if (opts?.child && this.child !== opts.child) {
|
|
639
|
-
return;
|
|
640
|
-
}
|
|
641
|
-
if (opts?.killChild && !target.killed) {
|
|
642
|
-
target.kill("SIGTERM");
|
|
643
|
-
}
|
|
644
|
-
this.initialized = false;
|
|
645
|
-
for (const [, pending] of this.pendingRequests) {
|
|
646
|
-
clearTimeout(pending.timer);
|
|
647
|
-
pending.cleanup();
|
|
648
|
-
pending.reject(new Error("QMD mcp process terminated"));
|
|
649
|
-
}
|
|
650
|
-
this.pendingRequests.clear();
|
|
651
|
-
this.startPromise = null;
|
|
652
|
-
this.child = null;
|
|
653
|
-
this.buffer = "";
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
417
|
var QMD_RESULT_LINE_RE = /^#([0-9a-fA-F]+)\s+(\d+)%\s+(.+)/;
|
|
657
418
|
var QMD_PATH_TITLE_RE = /^(.+?\.[a-zA-Z]{2,10})\s+-\s+(.*)$/;
|
|
658
419
|
function parseQmdMarkdownResultText(text, transport) {
|
|
@@ -856,6 +617,8 @@ var QmdClient = class _QmdClient {
|
|
|
856
617
|
qmdCapabilities = resolveQmdCapabilities(null);
|
|
857
618
|
// Daemon mode fields
|
|
858
619
|
daemonSession = null;
|
|
620
|
+
/** Identical in-flight search() calls share one daemon query. Cancel fires only when every waiter aborts. */
|
|
621
|
+
daemonSearchJoiner = createInflightJoiner();
|
|
859
622
|
daemonAvailable = false;
|
|
860
623
|
daemonSessionPath = null;
|
|
861
624
|
lastDaemonCheckAtMs = 0;
|
|
@@ -1107,6 +870,14 @@ var QmdClient = class _QmdClient {
|
|
|
1107
870
|
);
|
|
1108
871
|
return;
|
|
1109
872
|
}
|
|
873
|
+
if (!autoUpgradeInstallsStockPackage(this.qmdSupportedVersion)) {
|
|
874
|
+
const status = `skipped: ${this.qmdSupportedVersion} needs the pinned patched build, not stock npm`;
|
|
875
|
+
recordAutoUpgradeStatus(state, targetKey, status);
|
|
876
|
+
log.warn(
|
|
877
|
+
`QMD auto-upgrade skipped: ${QMD_PACKAGE_NAME}@${this.qmdSupportedVersion} from npm lacks the patches Remnic needs and would migrate the index before a backup; follow docs/qmd-2.8.3.md.`
|
|
878
|
+
);
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
1110
881
|
if (signal?.aborted) return;
|
|
1111
882
|
const packageSpec = `${QMD_PACKAGE_NAME}@${this.qmdSupportedVersion}`;
|
|
1112
883
|
try {
|
|
@@ -1466,7 +1237,11 @@ var QmdClient = class _QmdClient {
|
|
|
1466
1237
|
if (this.daemonAvailable) {
|
|
1467
1238
|
let results;
|
|
1468
1239
|
try {
|
|
1469
|
-
results = await this.
|
|
1240
|
+
results = await this.daemonSearchJoiner.join(
|
|
1241
|
+
cacheKey,
|
|
1242
|
+
execution?.signal,
|
|
1243
|
+
(sharedSignal) => this.searchViaDaemon(trimmed, col, n, searchOptions, sharedSignal)
|
|
1244
|
+
);
|
|
1470
1245
|
} catch (err) {
|
|
1471
1246
|
if (isCallerCancellation(err, execution?.signal)) {
|
|
1472
1247
|
throw isAbortError(err) ? err : abortError("QMD daemon search aborted");
|
|
@@ -2253,4 +2028,4 @@ export {
|
|
|
2253
2028
|
sharedDaemonSessionCountForTest,
|
|
2254
2029
|
QmdClient
|
|
2255
2030
|
};
|
|
2256
|
-
//# sourceMappingURL=chunk-
|
|
2031
|
+
//# sourceMappingURL=chunk-IB63OVUB.js.map
|