@hawkeyexl/manni 4.11.0 → 4.12.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/README.md +1 -1
- package/dist/{batch-UAULUMGH.js → batch-EFSFG6GC.js} +20 -19
- package/dist/build-NIO3UIWJ.js +36 -0
- package/dist/calibrate-6VO7URRV.js +41 -0
- package/dist/capture-NMBVJO3C.js +38 -0
- package/dist/check-SHOYX2B5.js +30 -0
- package/dist/check-XMJKH3KV.js +34 -0
- package/dist/{check-VELUQAUW.js → check-Y62BJNC4.js} +35 -34
- package/dist/{check-VELUQAUW.js.map → check-Y62BJNC4.js.map} +1 -1
- package/dist/{check-YEOYBFST.js → check-ZMO3ZLMW.js} +19 -18
- package/dist/{chunk-BKVHX6FU.js → chunk-24AJK2RG.js} +5 -10
- package/dist/chunk-24AJK2RG.js.map +1 -0
- package/dist/{chunk-M42DZCOU.js → chunk-2OZF2VUB.js} +2 -2
- package/dist/chunk-2UJZXVHR.js +1868 -0
- package/dist/chunk-2UJZXVHR.js.map +1 -0
- package/dist/{chunk-HQR2ZBHW.js → chunk-3BRJCQPY.js} +36 -7
- package/dist/chunk-3BRJCQPY.js.map +1 -0
- package/dist/{chunk-U7CTFN2J.js → chunk-42VFJOAF.js} +7 -7
- package/dist/{chunk-LBSCW232.js → chunk-4Q24OYI3.js} +7 -7
- package/dist/{chunk-OPXWPJDA.js → chunk-4WJTURRO.js} +14 -14
- package/dist/{chunk-GDVZ5VII.js → chunk-5SID2SVL.js} +4 -4
- package/dist/{chunk-FUCPZVRY.js → chunk-AANUY4BH.js} +2 -2
- package/dist/chunk-ANPIIYRH.js +2272 -0
- package/dist/chunk-ANPIIYRH.js.map +1 -0
- package/dist/{chunk-WDWXAYVH.js → chunk-AYVKN3PG.js} +4 -4
- package/dist/{chunk-FQXWVS6J.js → chunk-CH6IOGXV.js} +9 -9
- package/dist/{chunk-4CK6ZSOK.js → chunk-D5Z6B4M7.js} +3 -3
- package/dist/{chunk-HA6MQMOY.js → chunk-D6SELXQ2.js} +6 -6
- package/dist/{chunk-2DRHT73U.js → chunk-DDILEF5F.js} +890 -1399
- package/dist/chunk-DDILEF5F.js.map +1 -0
- package/dist/{chunk-PCS4VJBV.js → chunk-DGRLHDM4.js} +9 -9
- package/dist/{chunk-2MJ62AYQ.js → chunk-DHGB4JBG.js} +4 -3
- package/dist/chunk-DHGB4JBG.js.map +1 -0
- package/dist/{chunk-Y6DOMTQD.js → chunk-DLU5FCFT.js} +27 -27
- package/dist/chunk-DLU5FCFT.js.map +1 -0
- package/dist/chunk-DSWKBZWW.js +16 -0
- package/dist/chunk-DSWKBZWW.js.map +1 -0
- package/dist/{chunk-KGEQJ5CC.js → chunk-F564FHMQ.js} +8 -8
- package/dist/{chunk-J6IDQGJL.js → chunk-FKAZUZQU.js} +469 -85
- package/dist/chunk-FKAZUZQU.js.map +1 -0
- package/dist/{chunk-IGSHYP74.js → chunk-G3MBUL5M.js} +4 -4
- package/dist/{chunk-ADMEPUBT.js → chunk-GQ3KRY3B.js} +3 -3
- package/dist/{chunk-T7JAOYE5.js → chunk-HDPN46JP.js} +6 -6
- package/dist/{chunk-R4WXQIOZ.js → chunk-IQQAJROD.js} +3 -3
- package/dist/{chunk-2IR4T5PO.js → chunk-IZXN3WI6.js} +2 -2
- package/dist/{chunk-NCPWXHDO.js → chunk-JEUFYSFQ.js} +4 -4
- package/dist/{chunk-LKP7QDFN.js → chunk-JSSM7VVV.js} +4 -4
- package/dist/{chunk-2IAZEB45.js → chunk-KFGZPVFA.js} +229 -821
- package/dist/chunk-KFGZPVFA.js.map +1 -0
- package/dist/{chunk-EIFCP6CZ.js → chunk-KGFSPJLD.js} +2 -2
- package/dist/{chunk-RLT5SEML.js → chunk-KMORGMCW.js} +6 -6
- package/dist/{chunk-WQWKYAAK.js → chunk-NUQF5F5J.js} +2 -2
- package/dist/{chunk-54F74XR3.js → chunk-NZ6KSHFD.js} +19 -19
- package/dist/{chunk-4D5IZSXM.js → chunk-OHUDZRLK.js} +3 -3
- package/dist/{chunk-FBMZJEB3.js → chunk-OKMTUAWO.js} +4 -4
- package/dist/{chunk-QLWC7MKD.js → chunk-OTJOBZJ5.js} +135 -135
- package/dist/chunk-OTJOBZJ5.js.map +1 -0
- package/dist/{chunk-6HWBRZIN.js → chunk-PS257NIU.js} +252 -193
- package/dist/chunk-PS257NIU.js.map +1 -0
- package/dist/chunk-QDC7JPFG.js +685 -0
- package/dist/chunk-QDC7JPFG.js.map +1 -0
- package/dist/{chunk-PCQ7ELJH.js → chunk-QEAGL4V5.js} +109 -5
- package/dist/chunk-QEAGL4V5.js.map +1 -0
- package/dist/{chunk-BBT6AVUG.js → chunk-QMY57PVW.js} +2 -2
- package/dist/{chunk-LPIF5LIE.js → chunk-QNDDPXFR.js} +2 -2
- package/dist/{chunk-PWBH7DCQ.js → chunk-QSIXNTRV.js} +4 -4
- package/dist/{chunk-VSEBFHAY.js → chunk-RGLFV4KO.js} +11369 -10218
- package/dist/chunk-RGLFV4KO.js.map +1 -0
- package/dist/{chunk-D4N2V43Z.js → chunk-SGR7ZAVE.js} +13 -7
- package/dist/chunk-SGR7ZAVE.js.map +1 -0
- package/dist/{chunk-GV56WGL2.js → chunk-SMHAYK6I.js} +1036 -883
- package/dist/chunk-SMHAYK6I.js.map +1 -0
- package/dist/{chunk-JPQDNYXH.js → chunk-STPGIKPY.js} +8 -2
- package/dist/chunk-STPGIKPY.js.map +1 -0
- package/dist/{chunk-NSBXVPZL.js → chunk-U22TOL5Y.js} +17 -17
- package/dist/{chunk-NGTVREIH.js → chunk-U6IHLEWT.js} +2 -2
- package/dist/{chunk-ODRPL3WB.js → chunk-UUCCV3SI.js} +2 -2
- package/dist/{chunk-MSRU4D4P.js → chunk-UXMCHBOJ.js} +2 -2
- package/dist/{chunk-B7XYNRJQ.js → chunk-VFAKGIDG.js} +2 -2
- package/dist/{chunk-QCHVR4ZM.js → chunk-VM7VAFJW.js} +33 -7
- package/dist/chunk-VM7VAFJW.js.map +1 -0
- package/dist/{chunk-VQK4VHLF.js → chunk-YQV75FIL.js} +2 -2
- package/dist/chunk-YUTVAMWW.js +2 -0
- package/dist/{cli-4MF37HAQ.js → cli-4CR7QIOK.js} +26 -25
- package/dist/{cli-4MF37HAQ.js.map → cli-4CR7QIOK.js.map} +1 -1
- package/dist/{cli-6KZTHWGP.js → cli-6R4W3HAH.js} +37 -36
- package/dist/{cli-6KZTHWGP.js.map → cli-6R4W3HAH.js.map} +1 -1
- package/dist/{cli-I62SRH3R.js → cli-BOMA2FMP.js} +14 -13
- package/dist/{cli-DRMZBZLB.js → cli-EDQPQOCE.js} +43 -42
- package/dist/{cli-DRMZBZLB.js.map → cli-EDQPQOCE.js.map} +1 -1
- package/dist/{cli-VID7PJS3.js → cli-GBF76EXT.js} +23 -22
- package/dist/{cli-VID7PJS3.js.map → cli-GBF76EXT.js.map} +1 -1
- package/dist/{cli-3BTCK4AB.js → cli-MQYCF3SR.js} +27 -26
- package/dist/{cli-3BTCK4AB.js.map → cli-MQYCF3SR.js.map} +1 -1
- package/dist/{cli-ONTC5PKT.js → cli-OJKFXQOM.js} +9 -9
- package/dist/{cli-VUKMWSSF.js → cli-PHZAO4LZ.js} +4 -4
- package/dist/{cli-RORDPAPE.js → cli-PTKFFNOW.js} +59 -38
- package/dist/cli-PTKFFNOW.js.map +1 -0
- package/dist/{cli-O4ABTN4Z.js → cli-UW2K5Z5J.js} +31 -30
- package/dist/{cli-O4ABTN4Z.js.map → cli-UW2K5Z5J.js.map} +1 -1
- package/dist/{cli-JJMOVIKS.js → cli-XXTNPPKB.js} +14 -14
- package/dist/cli.js +19 -13
- package/dist/cli.js.map +1 -1
- package/dist/{config-XDA42RJL.js → config-JJW75SBX.js} +5 -5
- package/dist/docmeta.js +13 -12
- package/dist/docmeta.js.map +1 -1
- package/dist/github-6VQKSB67.js +35 -0
- package/dist/github-RBSEM7ZK.js +30 -0
- package/dist/graph/runtime.d.ts +4 -1
- package/dist/graph/runtime.js +20 -9
- package/dist/graph/runtime.js.map +1 -1
- package/dist/{host-6GURH5HE.js → host-YSTYO5DX.js} +3 -3
- package/dist/index.d.ts +192 -26
- package/dist/index.js +129 -124
- package/dist/index.js.map +1 -1
- package/dist/{json-BXY44ED7.js → json-PU2HLHDQ.js} +18 -17
- package/dist/labels-SJNSOPBI.js +73 -0
- package/dist/labels-SJNSOPBI.js.map +1 -0
- package/dist/lint-KIVTHLGU.js +34 -0
- package/dist/list-RDEJDDJF.js +32 -0
- package/dist/list-SUTDWL2J.js +35 -0
- package/dist/{page-EV7OUBAU.js → page-UMAA3NCM.js} +18 -16
- package/dist/{prepare-JHJDJB6I.js → prepare-3I3LOXXD.js} +22 -21
- package/dist/{prepare-JHJDJB6I.js.map → prepare-3I3LOXXD.js.map} +1 -1
- package/dist/{pretty-SCRK66M5.js → pretty-ANLRHU4O.js} +18 -17
- package/dist/{pretty-Q5Y2PA64.js → pretty-Q3ZFKOR7.js} +18 -17
- package/dist/{provider-527CO4DM.js → provider-LBX4IXGX.js} +3 -3
- package/dist/{release-3D5PK6M7.js → release-VV3UTKE5.js} +3 -3
- package/dist/{reporters-M6LJ2IYU.js → reporters-26H3N2KW.js} +3 -3
- package/dist/{reporters-RBYTASMI.js → reporters-ILT36CIH.js} +7 -7
- package/dist/{reporters-A5ADKDYR.js → reporters-PNDLWT6K.js} +16 -15
- package/dist/run-QXCK33Z4.js +37 -0
- package/dist/{term-CQAGNG3Q.js → term-D2N7UN4P.js} +981 -141
- package/dist/term-D2N7UN4P.js.map +1 -0
- package/dist/validate-BRUCOT2O.js +19 -0
- package/package.json +3 -2
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/shapes/graph/shapes-1.1.0.ttl +785 -0
- package/dist/build-QSPNK5AL.js +0 -35
- package/dist/calibrate-KXN4URPM.js +0 -40
- package/dist/capture-JHTSUPUC.js +0 -37
- package/dist/check-MDGXEUWL.js +0 -20
- package/dist/check-WOQRKNZK.js +0 -29
- package/dist/chunk-2DRHT73U.js.map +0 -1
- package/dist/chunk-2IAZEB45.js.map +0 -1
- package/dist/chunk-2MJ62AYQ.js.map +0 -1
- package/dist/chunk-4VBSTXN6.js +0 -392
- package/dist/chunk-4VBSTXN6.js.map +0 -1
- package/dist/chunk-6HWBRZIN.js.map +0 -1
- package/dist/chunk-BKVHX6FU.js.map +0 -1
- package/dist/chunk-D4N2V43Z.js.map +0 -1
- package/dist/chunk-EFW7CAG4.js +0 -387
- package/dist/chunk-EFW7CAG4.js.map +0 -1
- package/dist/chunk-GV56WGL2.js.map +0 -1
- package/dist/chunk-HQR2ZBHW.js.map +0 -1
- package/dist/chunk-J6IDQGJL.js.map +0 -1
- package/dist/chunk-JPQDNYXH.js.map +0 -1
- package/dist/chunk-JROBZ7JA.js +0 -818
- package/dist/chunk-JROBZ7JA.js.map +0 -1
- package/dist/chunk-PCQ7ELJH.js.map +0 -1
- package/dist/chunk-QCHVR4ZM.js.map +0 -1
- package/dist/chunk-QLWC7MKD.js.map +0 -1
- package/dist/chunk-TU2WUBVZ.js +0 -2
- package/dist/chunk-VSEBFHAY.js.map +0 -1
- package/dist/chunk-Y6DOMTQD.js.map +0 -1
- package/dist/cli-RORDPAPE.js.map +0 -1
- package/dist/github-RY3FRA6P.js +0 -29
- package/dist/github-YKQSH7FS.js +0 -34
- package/dist/lint-YJ2L22BW.js +0 -33
- package/dist/list-NSG24VVX.js +0 -31
- package/dist/list-V6EGCSHX.js +0 -34
- package/dist/run-BUE2DDXN.js +0 -36
- package/dist/term-CQAGNG3Q.js.map +0 -1
- package/dist/validate-ZBW44RHT.js +0 -18
- /package/dist/{batch-UAULUMGH.js.map → batch-EFSFG6GC.js.map} +0 -0
- /package/dist/{build-QSPNK5AL.js.map → build-NIO3UIWJ.js.map} +0 -0
- /package/dist/{calibrate-KXN4URPM.js.map → calibrate-6VO7URRV.js.map} +0 -0
- /package/dist/{capture-JHTSUPUC.js.map → capture-NMBVJO3C.js.map} +0 -0
- /package/dist/{check-MDGXEUWL.js.map → check-SHOYX2B5.js.map} +0 -0
- /package/dist/{check-WOQRKNZK.js.map → check-XMJKH3KV.js.map} +0 -0
- /package/dist/{check-YEOYBFST.js.map → check-ZMO3ZLMW.js.map} +0 -0
- /package/dist/{chunk-M42DZCOU.js.map → chunk-2OZF2VUB.js.map} +0 -0
- /package/dist/{chunk-U7CTFN2J.js.map → chunk-42VFJOAF.js.map} +0 -0
- /package/dist/{chunk-LBSCW232.js.map → chunk-4Q24OYI3.js.map} +0 -0
- /package/dist/{chunk-OPXWPJDA.js.map → chunk-4WJTURRO.js.map} +0 -0
- /package/dist/{chunk-GDVZ5VII.js.map → chunk-5SID2SVL.js.map} +0 -0
- /package/dist/{chunk-FUCPZVRY.js.map → chunk-AANUY4BH.js.map} +0 -0
- /package/dist/{chunk-WDWXAYVH.js.map → chunk-AYVKN3PG.js.map} +0 -0
- /package/dist/{chunk-FQXWVS6J.js.map → chunk-CH6IOGXV.js.map} +0 -0
- /package/dist/{chunk-4CK6ZSOK.js.map → chunk-D5Z6B4M7.js.map} +0 -0
- /package/dist/{chunk-HA6MQMOY.js.map → chunk-D6SELXQ2.js.map} +0 -0
- /package/dist/{chunk-PCS4VJBV.js.map → chunk-DGRLHDM4.js.map} +0 -0
- /package/dist/{chunk-KGEQJ5CC.js.map → chunk-F564FHMQ.js.map} +0 -0
- /package/dist/{chunk-IGSHYP74.js.map → chunk-G3MBUL5M.js.map} +0 -0
- /package/dist/{chunk-ADMEPUBT.js.map → chunk-GQ3KRY3B.js.map} +0 -0
- /package/dist/{chunk-T7JAOYE5.js.map → chunk-HDPN46JP.js.map} +0 -0
- /package/dist/{chunk-R4WXQIOZ.js.map → chunk-IQQAJROD.js.map} +0 -0
- /package/dist/{chunk-2IR4T5PO.js.map → chunk-IZXN3WI6.js.map} +0 -0
- /package/dist/{chunk-NCPWXHDO.js.map → chunk-JEUFYSFQ.js.map} +0 -0
- /package/dist/{chunk-LKP7QDFN.js.map → chunk-JSSM7VVV.js.map} +0 -0
- /package/dist/{chunk-EIFCP6CZ.js.map → chunk-KGFSPJLD.js.map} +0 -0
- /package/dist/{chunk-RLT5SEML.js.map → chunk-KMORGMCW.js.map} +0 -0
- /package/dist/{chunk-WQWKYAAK.js.map → chunk-NUQF5F5J.js.map} +0 -0
- /package/dist/{chunk-54F74XR3.js.map → chunk-NZ6KSHFD.js.map} +0 -0
- /package/dist/{chunk-4D5IZSXM.js.map → chunk-OHUDZRLK.js.map} +0 -0
- /package/dist/{chunk-FBMZJEB3.js.map → chunk-OKMTUAWO.js.map} +0 -0
- /package/dist/{chunk-BBT6AVUG.js.map → chunk-QMY57PVW.js.map} +0 -0
- /package/dist/{chunk-LPIF5LIE.js.map → chunk-QNDDPXFR.js.map} +0 -0
- /package/dist/{chunk-PWBH7DCQ.js.map → chunk-QSIXNTRV.js.map} +0 -0
- /package/dist/{chunk-NSBXVPZL.js.map → chunk-U22TOL5Y.js.map} +0 -0
- /package/dist/{chunk-NGTVREIH.js.map → chunk-U6IHLEWT.js.map} +0 -0
- /package/dist/{chunk-ODRPL3WB.js.map → chunk-UUCCV3SI.js.map} +0 -0
- /package/dist/{chunk-MSRU4D4P.js.map → chunk-UXMCHBOJ.js.map} +0 -0
- /package/dist/{chunk-B7XYNRJQ.js.map → chunk-VFAKGIDG.js.map} +0 -0
- /package/dist/{chunk-VQK4VHLF.js.map → chunk-YQV75FIL.js.map} +0 -0
- /package/dist/{chunk-TU2WUBVZ.js.map → chunk-YUTVAMWW.js.map} +0 -0
- /package/dist/{cli-I62SRH3R.js.map → cli-BOMA2FMP.js.map} +0 -0
- /package/dist/{cli-ONTC5PKT.js.map → cli-OJKFXQOM.js.map} +0 -0
- /package/dist/{cli-VUKMWSSF.js.map → cli-PHZAO4LZ.js.map} +0 -0
- /package/dist/{cli-JJMOVIKS.js.map → cli-XXTNPPKB.js.map} +0 -0
- /package/dist/{config-XDA42RJL.js.map → config-JJW75SBX.js.map} +0 -0
- /package/dist/{github-RY3FRA6P.js.map → github-6VQKSB67.js.map} +0 -0
- /package/dist/{github-YKQSH7FS.js.map → github-RBSEM7ZK.js.map} +0 -0
- /package/dist/{host-6GURH5HE.js.map → host-YSTYO5DX.js.map} +0 -0
- /package/dist/{json-BXY44ED7.js.map → json-PU2HLHDQ.js.map} +0 -0
- /package/dist/{lint-YJ2L22BW.js.map → lint-KIVTHLGU.js.map} +0 -0
- /package/dist/{list-NSG24VVX.js.map → list-RDEJDDJF.js.map} +0 -0
- /package/dist/{list-V6EGCSHX.js.map → list-SUTDWL2J.js.map} +0 -0
- /package/dist/{page-EV7OUBAU.js.map → page-UMAA3NCM.js.map} +0 -0
- /package/dist/{pretty-Q5Y2PA64.js.map → pretty-ANLRHU4O.js.map} +0 -0
- /package/dist/{pretty-SCRK66M5.js.map → pretty-Q3ZFKOR7.js.map} +0 -0
- /package/dist/{provider-527CO4DM.js.map → provider-LBX4IXGX.js.map} +0 -0
- /package/dist/{release-3D5PK6M7.js.map → release-VV3UTKE5.js.map} +0 -0
- /package/dist/{reporters-A5ADKDYR.js.map → reporters-26H3N2KW.js.map} +0 -0
- /package/dist/{reporters-M6LJ2IYU.js.map → reporters-ILT36CIH.js.map} +0 -0
- /package/dist/{reporters-RBYTASMI.js.map → reporters-PNDLWT6K.js.map} +0 -0
- /package/dist/{run-BUE2DDXN.js.map → run-QXCK33Z4.js.map} +0 -0
- /package/dist/{validate-ZBW44RHT.js.map → validate-BRUCOT2O.js.map} +0 -0
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
queued,
|
|
8
8
|
releaseHost,
|
|
9
9
|
warmModel
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-NUQF5F5J.js";
|
|
11
|
+
import "./chunk-VM7VAFJW.js";
|
|
12
12
|
import "./chunk-G3T47CFV.js";
|
|
13
13
|
import "./chunk-2H7UOFLK.js";
|
|
14
14
|
export {
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
releaseHost,
|
|
21
21
|
warmModel
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=host-
|
|
23
|
+
//# sourceMappingURL=host-YSTYO5DX.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -408,14 +408,19 @@ interface ProviderChoice {
|
|
|
408
408
|
*/
|
|
409
409
|
origin?: string;
|
|
410
410
|
}
|
|
411
|
-
/** The command line's say: `--provider`, `--model` and `--
|
|
411
|
+
/** The command line's say: `--provider`, `--model`, `--local` and `--offline`. */
|
|
412
412
|
interface ProviderFlags {
|
|
413
413
|
provider?: string;
|
|
414
414
|
model?: string;
|
|
415
415
|
/** Run inference on this machine, with llama-cpp, whatever a level asks for. */
|
|
416
416
|
local?: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* Send nothing off this machine: the `--local` boundary, and then only a
|
|
419
|
+
* model already downloaded. See `offlineIdentity`.
|
|
420
|
+
*/
|
|
421
|
+
offline?: boolean;
|
|
417
422
|
}
|
|
418
|
-
/** A configured choice that `--local` set aside. */
|
|
423
|
+
/** A configured choice that `--local` or `--offline` set aside. */
|
|
419
424
|
interface ReplacedChoice {
|
|
420
425
|
provider: string;
|
|
421
426
|
source: string;
|
|
@@ -737,6 +742,12 @@ declare function parseLines(spec: LineSpec): PageLines | undefined;
|
|
|
737
742
|
declare function lineSpec(lines: PageLines): LineSpec;
|
|
738
743
|
/** Lines as a report spells them: `"9"` or `"9-12"`. */
|
|
739
744
|
declare function spellLines(lines: PageLines): string;
|
|
745
|
+
/**
|
|
746
|
+
* File line of body line 1: the line holding `bodyOffset`, the first character
|
|
747
|
+
* after the frontmatter, or 1 with none. cite counts a claim's lines from it,
|
|
748
|
+
* and graph counts a sample question's answer lines the same way.
|
|
749
|
+
*/
|
|
750
|
+
declare function bodyLineOf(content: string, bodyOffset: number): number;
|
|
740
751
|
/** Body lines as file lines: body line 1 is the file line `bodyLine`, the first after the frontmatter. */
|
|
741
752
|
declare function toFileLines(lines: PageLines, bodyLine: number): PageLines;
|
|
742
753
|
/** File lines as body lines. */
|
|
@@ -1294,7 +1305,9 @@ interface DocmetaConfig {
|
|
|
1294
1305
|
/**
|
|
1295
1306
|
* Never fetch a remote schema. A URL reference resolves from the schema
|
|
1296
1307
|
* cache; an uncached one is an operational error naming the URL. Built-in and
|
|
1297
|
-
* local-file references are unaffected — neither touches the network.
|
|
1308
|
+
* local-file references are unaffected — neither touches the network. `fill`
|
|
1309
|
+
* also runs no remote provider, and llama-cpp only with a model already
|
|
1310
|
+
* downloaded.
|
|
1298
1311
|
*/
|
|
1299
1312
|
offline?: boolean;
|
|
1300
1313
|
/**
|
|
@@ -1989,6 +2002,14 @@ interface LocationPreference {
|
|
|
1989
2002
|
schema: string;
|
|
1990
2003
|
}
|
|
1991
2004
|
|
|
2005
|
+
/** One place `x-manni-term` was evaluated: the instance pointer, its value and the mark's `under`. */
|
|
2006
|
+
interface TermMarkHit {
|
|
2007
|
+
pointer: string;
|
|
2008
|
+
value: unknown;
|
|
2009
|
+
under?: string;
|
|
2010
|
+
/** The ref, as given to `termMarks`, whose mark this is. */
|
|
2011
|
+
schema: string;
|
|
2012
|
+
}
|
|
1992
2013
|
declare class Validator {
|
|
1993
2014
|
private readonly schemaOptions;
|
|
1994
2015
|
/**
|
|
@@ -2083,6 +2104,18 @@ declare class Validator {
|
|
|
2083
2104
|
* ref's answer and an earlier ref's stands.
|
|
2084
2105
|
*/
|
|
2085
2106
|
graphOutputPreferences(data: Record<string, unknown>, refs: string[]): Promise<Map<string, boolean>>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Every place a schema in `refs` marks `x-manni-term` on `data`, at any
|
|
2109
|
+
* depth, in the order the validator evaluated them, each with the value it
|
|
2110
|
+
* was evaluated at.
|
|
2111
|
+
*
|
|
2112
|
+
* A first pass with the recording keyword, as `markedPointers` runs, so a
|
|
2113
|
+
* mark counts exactly where validation would evaluate it. Only present
|
|
2114
|
+
* values are marked. One ref evaluating the same mark at one pointer twice,
|
|
2115
|
+
* through `allOf` say, is one hit. `$schema` is stripped first, as
|
|
2116
|
+
* validation does.
|
|
2117
|
+
*/
|
|
2118
|
+
termMarks(data: Record<string, unknown>, refs: string[]): Promise<TermMarkHit[]>;
|
|
2086
2119
|
/**
|
|
2087
2120
|
* Validate `data` against every schema in `refs`. Returns all violations,
|
|
2088
2121
|
* each tagged with the schema that produced it and a source line via
|
|
@@ -2601,12 +2634,10 @@ interface FillOptions$3 {
|
|
|
2601
2634
|
/** Called once when a config governs the run, so the CLI can report it. */
|
|
2602
2635
|
onConfigLoaded?: (info: ConfigNotice) => void;
|
|
2603
2636
|
/**
|
|
2604
|
-
* `--offline`:
|
|
2637
|
+
* `--offline`: no network egress. No remote schema is fetched, no remote
|
|
2638
|
+
* provider runs, and llama-cpp runs only with a model already downloaded;
|
|
2639
|
+
* with none, the run is an operational error. Absent leaves config
|
|
2605
2640
|
* `offline:` in charge.
|
|
2606
|
-
*
|
|
2607
|
-
* Scoped to schema loading only. It says nothing about the inference
|
|
2608
|
-
* provider, which is a separate network dependency with its own controls
|
|
2609
|
-
* (`--provider mock`, `--dry-run`).
|
|
2610
2641
|
*/
|
|
2611
2642
|
offline?: boolean;
|
|
2612
2643
|
/** Restrict proposals to these top-level fields. */
|
|
@@ -2855,6 +2886,66 @@ declare function runRelocate(opts: RelocateOptions): Promise<RelocateResult>;
|
|
|
2855
2886
|
/** The schema keyword. */
|
|
2856
2887
|
declare const GRAPH_OUTPUT_KEYWORD = "x-manni-graph-output";
|
|
2857
2888
|
|
|
2889
|
+
/**
|
|
2890
|
+
* Where `meta fill` and `graph build` get the termbase from.
|
|
2891
|
+
*
|
|
2892
|
+
* The layering runs one way: `term` imports `meta`, and nothing under
|
|
2893
|
+
* `src/meta` imports `term`. So the `manni` umbrella registers a source here,
|
|
2894
|
+
* one that loads the term domain when asked, and `fill` reads it when one is
|
|
2895
|
+
* registered. Under the `docmeta` bin, or a library call, nothing registers
|
|
2896
|
+
* one, and `fill` offers no term values.
|
|
2897
|
+
*/
|
|
2898
|
+
/**
|
|
2899
|
+
* One term, as the family outside the term domain reads it: its preferred
|
|
2900
|
+
* label and id, and the facts the graph's concept scheme carries. Relations
|
|
2901
|
+
* are written as the term wrote them, a label or an id each.
|
|
2902
|
+
*/
|
|
2903
|
+
interface TermLabel {
|
|
2904
|
+
label: string;
|
|
2905
|
+
id: string;
|
|
2906
|
+
/** The term's language tag, when it carries one. */
|
|
2907
|
+
language?: string;
|
|
2908
|
+
altLabels?: readonly string[];
|
|
2909
|
+
hiddenLabels?: readonly string[];
|
|
2910
|
+
broader?: readonly string[];
|
|
2911
|
+
narrower?: readonly string[];
|
|
2912
|
+
related?: readonly string[];
|
|
2913
|
+
/** A redirect: this entry's label is another term's, named here. */
|
|
2914
|
+
see?: string;
|
|
2915
|
+
definition?: string;
|
|
2916
|
+
scopeNote?: string;
|
|
2917
|
+
/** A code that identifies the concept in another system. */
|
|
2918
|
+
notation?: string;
|
|
2919
|
+
/** IRIs of concepts in other vocabularies, one list per kind of mapping. */
|
|
2920
|
+
exactMatches?: readonly string[];
|
|
2921
|
+
closeMatches?: readonly string[];
|
|
2922
|
+
broadMatches?: readonly string[];
|
|
2923
|
+
narrowMatches?: readonly string[];
|
|
2924
|
+
relatedMatches?: readonly string[];
|
|
2925
|
+
/** Where the term was read: the file, absolute, and its line. */
|
|
2926
|
+
file?: string;
|
|
2927
|
+
line?: number;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* `x-manni-term` (proposal 0086 §6): a field whose string values must name
|
|
2932
|
+
* terms in the termbase, optionally below one branch of its hierarchy.
|
|
2933
|
+
*
|
|
2934
|
+
* The keyword is registered on every Ajv meta builds (validator.ts), next to
|
|
2935
|
+
* `x-manni-encrypt`, and like it records where it was evaluated, at any depth.
|
|
2936
|
+
* Ajv's own resolution is the walker, so a mark counts through `$ref`, `allOf`
|
|
2937
|
+
* and a referenced built-in. `Validator.termMarks` is the one question
|
|
2938
|
+
* `validate` asks of it. `fill` reads the marks from a candidate's subschema
|
|
2939
|
+
* instead, since the value it asks for is not there yet.
|
|
2940
|
+
*
|
|
2941
|
+
* The termbase is the one the family's term label source returns
|
|
2942
|
+
* (`src/shared/term-labels.ts`). The hierarchy is each term's `broader` and
|
|
2943
|
+
* `narrower`, read in both directions and resolved by label or id.
|
|
2944
|
+
*/
|
|
2945
|
+
|
|
2946
|
+
/** The schema keyword. */
|
|
2947
|
+
declare const TERM_KEYWORD = "x-manni-term";
|
|
2948
|
+
|
|
2858
2949
|
/** One value re-encrypted: where, and the ciphertext before and after. */
|
|
2859
2950
|
interface ReencryptedValue {
|
|
2860
2951
|
pointer: string;
|
|
@@ -5265,8 +5356,6 @@ declare function ownedMessage(owner: {
|
|
|
5265
5356
|
/** Ajv validation of one entry object against `$defs.citationEntry`; the first error text, or undefined. */
|
|
5266
5357
|
declare function validateEntry(entry: unknown): string | undefined;
|
|
5267
5358
|
declare function pickExtractor(file: string, format: string | undefined): MetadataExtractor;
|
|
5268
|
-
/** File line of body line 1: the first line after the frontmatter, or 1. */
|
|
5269
|
-
declare function bodyLineOf(content: string, bodyOffset: number): number;
|
|
5270
5359
|
/**
|
|
5271
5360
|
* A page's citation entries as they are written, each with where it sits: the
|
|
5272
5361
|
* manifest's when one owns them, else the page's own frontmatter. The entries
|
|
@@ -9007,8 +9096,8 @@ declare namespace index$4 {
|
|
|
9007
9096
|
export { type index$4_AdmonitionNode as AdmonitionNode, type index$4_AdmonitionsRule as AdmonitionsRule, type index$4_AttributesRule as AttributesRule, index$4_BLOCK_KINDS as BLOCK_KINDS, index$4_BUILTIN_SOURCE as BUILTIN_SOURCE, index$4_BUILT_IN_DEFAULTS as BUILT_IN_DEFAULTS, type index$4_BlockKind as BlockKind, type index$4_BlockRule as BlockRule, type index$4_BlockquoteNode as BlockquoteNode, type index$4_BuiltinInfo as BuiltinInfo, type index$4_CodeBlocksRule as CodeBlocksRule, type index$4_CodeNode as CodeNode, type index$4_ContentKind as ContentKind, type index$4_ContentNode as ContentNode, type index$4_ContentNodeBase as ContentNodeBase, type index$4_DefinitionItemNode as DefinitionItemNode, type index$4_DefinitionListNode as DefinitionListNode, type index$4_DocumentParser as DocumentParser, type index$4_DocumentTree as DocumentTree, type index$4_ElementNode as ElementNode, type index$4_ElementsRule as ElementsRule, type index$4_FileResult as FileResult, type Finding$1 as Finding, type index$4_FormatInfo as FormatInfo, type index$4_HeadingRule as HeadingRule, type index$4_ImageNode as ImageNode, type index$4_ImagesRule as ImagesRule, index$4_LINT_JOBS as LINT_JOBS, index$4_LINT_TOOLS as LINT_TOOLS, type index$4_LintConfig as LintConfig, index$4_LintError as LintError, type index$4_LintFileResult as LintFileResult, type index$4_LintJob as LintJob, type index$4_LintJobConfig as LintJobConfig, type index$4_LintOptions as LintOptions, type index$4_LintRun as LintRun, type index$4_LintRunOptions as LintRunOptions, type index$4_LintSummary as LintSummary, type index$4_LintTool as LintTool, type index$4_ListFormat as ListFormat, type index$4_ListItemNode as ListItemNode, type index$4_ListItemsRule as ListItemsRule, type index$4_ListNode as ListNode, type index$4_ListsRule as ListsRule, type index$4_LoadTemplateOptions as LoadTemplateOptions, type index$4_Match as Match, type index$4_MatchResult as MatchResult, type index$4_Occurrences as Occurrences, type index$4_ParagraphNode as ParagraphNode, type index$4_ParagraphsRule as ParagraphsRule, type index$4_Point as Point, type index$4_Position as Position, index$4_RULE_ID_PREFIX as RULE_ID_PREFIX, type index$4_RefKind as RefKind, type ReportFormat$1 as ReportFormat, type index$4_ReportOptions as ReportOptions, type index$4_ResolvedLintRun as ResolvedLintRun, type index$4_Rule as Rule, index$4_STDIN_LABEL as STDIN_LABEL, index$4_STDIN_TOKEN as STDIN_TOKEN, type index$4_SarifOptions as SarifOptions, type index$4_SectionNode as SectionNode, type index$4_Severity as Severity, type index$4_SkipReason as SkipReason, index$4_TOOLS_BY_JOB as TOOLS_BY_JOB, index$4_TOOL_NAME as TOOL_NAME, type index$4_TableCellNode as TableCellNode, type index$4_TableNode as TableNode, type index$4_TableRowNode as TableRowNode, type index$4_TablesRule as TablesRule, type index$4_Template as Template, type index$4_TemplateFile as TemplateFile, type index$4_TemplateInfo as TemplateInfo, type index$4_TemplateResolver as TemplateResolver, type index$4_TemplatesInfo as TemplatesInfo, type index$4_TemplatesOptions as TemplatesOptions, type index$4_ToolInfo as ToolInfo, type index$4_ToolsOptions as ToolsOptions, index$4_classifyRef as classifyRef, index$4_clearCaches as clearCaches, index$4_headingMatches as headingMatches, index$4_isLintTool as isLintTool, index$4_isWildcard as isWildcard, index$4_listBuiltins as listBuiltins, index$4_listFormats as listFormats, loadConfig$2 as loadConfig, index$4_loadTemplate as loadTemplate, index$4_loadTemplateFile as loadTemplateFile, index$4_matchSections as matchSections, index$4_occurrenceRange as occurrenceRange, index$4_palette as palette, parseConfig$2 as parseConfig, index$4_parserByName as parserByName, index$4_parserForExtension as parserForExtension, index$4_rebaseConfig as rebaseConfig, render$1 as render, renderGithub$1 as renderGithub, renderJson$1 as renderJson, index$4_renderJunit as renderJunit, renderPretty$1 as renderPretty, index$4_renderSarif as renderSarif, index$4_renderTemplates as renderTemplates, index$4_renderTools as renderTools, index$4_resolveExtends as resolveExtends, index$4_resolveLintRun as resolveLintRun, index$4_ruleId as ruleId, index$4_ruleName as ruleName, index$4_runLint as runLint, index$4_runTemplates as runTemplates, index$4_runTools as runTools, index$4_shouldColor as shouldColor, index$4_supportedExtensions as supportedExtensions, index$4_validateDocument as validateDocument, index$4_validateSections as validateSections };
|
|
9008
9097
|
}
|
|
9009
9098
|
|
|
9010
|
-
type DeriveSource = "frontmatter" | "sections" | "links" | "tags" | "images" | "code" | "provenance";
|
|
9011
|
-
type FillField = "label" | "alt-labels" | "broader" | "narrower" | "related-concepts" | "concepts" | "type" | "applies-to" | "about-product-lifecycle" | "about-product-aspect" | "not-applicable-to" | "not-about-product-aspect";
|
|
9099
|
+
type DeriveSource = "frontmatter" | "sections" | "links" | "tags" | "images" | "code" | "provenance" | "terms";
|
|
9100
|
+
type FillField = "label" | "alt-labels" | "broader" | "narrower" | "related-concepts" | "concepts" | "type" | "applies-to" | "about-product-lifecycle" | "about-product-aspect" | "not-applicable-to" | "not-about-product-aspect" | "sample-questions";
|
|
9012
9101
|
/** Maps published-site routes back to source files. */
|
|
9013
9102
|
interface RouteMapping {
|
|
9014
9103
|
/** Site prefix, normalized: leading `/`, no trailing `/`; `""` = site root. */
|
|
@@ -9062,6 +9151,11 @@ interface GraphConfig {
|
|
|
9062
9151
|
/** Output path of the built Turtle file, relative to configDir. */
|
|
9063
9152
|
out: string;
|
|
9064
9153
|
routes: RouteMapping[];
|
|
9154
|
+
/**
|
|
9155
|
+
* Golden-set files, as the config names them, relative to `configDir`
|
|
9156
|
+
* (proposal 0087). `check` asks their questions beside each page's.
|
|
9157
|
+
*/
|
|
9158
|
+
questionFiles: string[];
|
|
9065
9159
|
build: {
|
|
9066
9160
|
derive: DeriveSource[];
|
|
9067
9161
|
};
|
|
@@ -9069,6 +9163,19 @@ interface GraphConfig {
|
|
|
9069
9163
|
check: {
|
|
9070
9164
|
/** Shapes .ttl paths; empty = the shapes bundled with manni. */
|
|
9071
9165
|
shapes: string[];
|
|
9166
|
+
/**
|
|
9167
|
+
* Each page's `sample-questions`, asked through the retrieval `search`
|
|
9168
|
+
* uses (proposal 0086 §7). A page outside the `top` results for its own
|
|
9169
|
+
* question is a finding at `severity`; `off` reports none of them.
|
|
9170
|
+
* `foundThreshold` fails the run when the share of reviewed questions
|
|
9171
|
+
* found falls below it, a percentage; `null` sets no rate gate
|
|
9172
|
+
* (proposal 0087).
|
|
9173
|
+
*/
|
|
9174
|
+
questions: {
|
|
9175
|
+
top: number;
|
|
9176
|
+
severity: Severity | "off";
|
|
9177
|
+
foundThreshold: number | null;
|
|
9178
|
+
};
|
|
9072
9179
|
};
|
|
9073
9180
|
provenance: {
|
|
9074
9181
|
/**
|
|
@@ -9105,6 +9212,14 @@ interface GraphConfig {
|
|
|
9105
9212
|
validateGraph: boolean;
|
|
9106
9213
|
/** Also propose per-section metadata (ADR 01032). Opt-in: more output. */
|
|
9107
9214
|
sections: boolean;
|
|
9215
|
+
/** The largest body piece one question request sends (proposal 0087). */
|
|
9216
|
+
chunkChars: number;
|
|
9217
|
+
/** Send nothing off this machine: a downloaded local model, or none. */
|
|
9218
|
+
offline: boolean;
|
|
9219
|
+
questions: {
|
|
9220
|
+
/** Draft until a page has this many questions, reviewed or drafted. */
|
|
9221
|
+
perPage: number;
|
|
9222
|
+
};
|
|
9108
9223
|
};
|
|
9109
9224
|
stats: {
|
|
9110
9225
|
/**
|
|
@@ -9313,6 +9428,12 @@ interface CoverageField {
|
|
|
9313
9428
|
field: string;
|
|
9314
9429
|
/** Full predicate IRI counted against `graph:Document` subjects. */
|
|
9315
9430
|
iri: string;
|
|
9431
|
+
/**
|
|
9432
|
+
* Gated only when the per-field `coverageThreshold` map names it. A uniform
|
|
9433
|
+
* threshold, from config or `--coverage-threshold`, leaves it ungated, so a
|
|
9434
|
+
* gate that passed before the row existed keeps passing (proposal 0087).
|
|
9435
|
+
*/
|
|
9436
|
+
namedOnly?: true;
|
|
9316
9437
|
}
|
|
9317
9438
|
/**
|
|
9318
9439
|
* Report order is this array's order. Only the IRI is stored; the compact form
|
|
@@ -9462,6 +9583,8 @@ type Term = {
|
|
|
9462
9583
|
kind: "literal";
|
|
9463
9584
|
value: string;
|
|
9464
9585
|
datatype?: string;
|
|
9586
|
+
/** A language tag, for a literal that carries one. Never set with `datatype`. */
|
|
9587
|
+
language?: string;
|
|
9465
9588
|
};
|
|
9466
9589
|
interface Quad {
|
|
9467
9590
|
s: string;
|
|
@@ -9477,6 +9600,11 @@ interface DeriveOptions {
|
|
|
9477
9600
|
gitHistory?: GitHistory;
|
|
9478
9601
|
/** Emit qualified attribution/association nodes (`provenance.qualified`). */
|
|
9479
9602
|
qualified?: boolean;
|
|
9603
|
+
/**
|
|
9604
|
+
* The termbase, as the family term source reads it (proposal 0086 §1).
|
|
9605
|
+
* Read only under the `terms` derive source.
|
|
9606
|
+
*/
|
|
9607
|
+
termbase?: readonly TermLabel[];
|
|
9480
9608
|
}
|
|
9481
9609
|
declare function deriveGraph(docs: DocModel[], options: DeriveOptions): Quad[];
|
|
9482
9610
|
|
|
@@ -9579,6 +9707,7 @@ type Value = {
|
|
|
9579
9707
|
kind: "literal";
|
|
9580
9708
|
value: string;
|
|
9581
9709
|
datatype?: string;
|
|
9710
|
+
language?: string;
|
|
9582
9711
|
};
|
|
9583
9712
|
interface GraphNode {
|
|
9584
9713
|
id: string;
|
|
@@ -9986,7 +10115,7 @@ interface RdfQuad {
|
|
|
9986
10115
|
}
|
|
9987
10116
|
declare function namedNode(value: string): RdfTerm;
|
|
9988
10117
|
declare function defaultGraph(): RdfTerm;
|
|
9989
|
-
declare function literal(value: string, datatype?: string): RdfTerm;
|
|
10118
|
+
declare function literal(value: string, datatype?: string, language?: string): RdfTerm;
|
|
9990
10119
|
/**
|
|
9991
10120
|
* The whole index as RDF/JS quads, in the index's deterministic order. Feed to
|
|
9992
10121
|
* any RDF/JS store (`new Store(rdfjsQuads(graph))`) to run SPARQL.
|
|
@@ -10414,6 +10543,15 @@ interface BuildResult {
|
|
|
10414
10543
|
outPath: string;
|
|
10415
10544
|
docs: number;
|
|
10416
10545
|
quads: number;
|
|
10546
|
+
/**
|
|
10547
|
+
* The concepts the graph holds, and how many of them the termbase defines
|
|
10548
|
+
* (proposal 0086 §1). `fromTermbase` is 0 when the `terms` derive source
|
|
10549
|
+
* is off or no termbase is set up.
|
|
10550
|
+
*/
|
|
10551
|
+
concepts: {
|
|
10552
|
+
total: number;
|
|
10553
|
+
fromTermbase: number;
|
|
10554
|
+
};
|
|
10417
10555
|
/**
|
|
10418
10556
|
* Non-fatal diagnostics: the build succeeded, but something it would have
|
|
10419
10557
|
* done by default could not run (see ADR 01010). Rendered to stderr by the
|
|
@@ -10433,7 +10571,7 @@ declare const FRONTMATTER_SCHEMA_ID: string;
|
|
|
10433
10571
|
* The CLI names its positional against this list, and `runExport` holds a
|
|
10434
10572
|
* library caller to it too.
|
|
10435
10573
|
*/
|
|
10436
|
-
declare const EXPORT_TARGETS: readonly ["jsonld", "iirds", "search"];
|
|
10574
|
+
declare const EXPORT_TARGETS: readonly ["jsonld", "iirds", "search", "questions"];
|
|
10437
10575
|
type ExportFormat = (typeof EXPORT_TARGETS)[number];
|
|
10438
10576
|
interface ExportOptions {
|
|
10439
10577
|
config?: string;
|
|
@@ -10449,20 +10587,12 @@ interface ExportOptions {
|
|
|
10449
10587
|
interface ExportResult {
|
|
10450
10588
|
outPath: string;
|
|
10451
10589
|
format: ExportFormat;
|
|
10452
|
-
/** Distinct subject nodes in the emitted (or projected) graph
|
|
10590
|
+
/** Distinct subject nodes in the emitted (or projected) graph; questions for `questions`. */
|
|
10453
10591
|
nodes: number;
|
|
10454
10592
|
/** Non-fatal projection warnings (iiRDS only; empty otherwise). */
|
|
10455
10593
|
warnings: string[];
|
|
10456
10594
|
}
|
|
10457
|
-
/**
|
|
10458
|
-
* Async by contract — every command core is, and the CLI awaits this one — but
|
|
10459
|
-
* synchronous in fact: all three writers are `writeFileSync`. Spelled as a
|
|
10460
|
-
* `Promise` the body never awaits, through the constructor rather than
|
|
10461
|
-
* `Promise.resolve().then`, so the executor still runs eagerly and a usage
|
|
10462
|
-
* error still *rejects* the returned promise instead of throwing before the
|
|
10463
|
-
* caller holds one. That is what `async` did, said without claiming an `await`
|
|
10464
|
-
* that is not there.
|
|
10465
|
-
*/
|
|
10595
|
+
/** Every command core is async, and the CLI awaits this one. A usage error rejects. */
|
|
10466
10596
|
declare function runExport(opts: ExportOptions): Promise<ExportResult>;
|
|
10467
10597
|
|
|
10468
10598
|
interface QueryOptions {
|
|
@@ -10483,6 +10613,7 @@ interface QueryMatch {
|
|
|
10483
10613
|
kind: "iri" | "literal";
|
|
10484
10614
|
value: string;
|
|
10485
10615
|
datatype?: string;
|
|
10616
|
+
language?: string;
|
|
10486
10617
|
};
|
|
10487
10618
|
}
|
|
10488
10619
|
interface QueryResult {
|
|
@@ -10553,6 +10684,14 @@ interface StatsReport {
|
|
|
10553
10684
|
* ADR 01009's rule that reporting on does not imply gating on.
|
|
10554
10685
|
*/
|
|
10555
10686
|
localization: LocalizationReport;
|
|
10687
|
+
/**
|
|
10688
|
+
* Concept IRIs no question reaches, sorted (proposal 0087). A concept has a
|
|
10689
|
+
* question when a page whose primary topic or subjects name it carries a
|
|
10690
|
+
* `graph:sampleQuestion`. Reported, never gated, like orphans.
|
|
10691
|
+
*/
|
|
10692
|
+
conceptsWithoutQuestions: string[];
|
|
10693
|
+
/** Each of those concepts' names for pretty output; left out of JSON. */
|
|
10694
|
+
conceptLabels: Record<string, string>;
|
|
10556
10695
|
/** Fields whose document coverage is below their configured threshold. */
|
|
10557
10696
|
coverageFindings: Array<{
|
|
10558
10697
|
field: string;
|
|
@@ -10876,6 +11015,22 @@ interface MockEmbedderOptions {
|
|
|
10876
11015
|
*/
|
|
10877
11016
|
declare function createMockEmbedder(options?: MockEmbedderOptions): Embedder;
|
|
10878
11017
|
|
|
11018
|
+
type QuestionAction = "drafted" | "paired" | "re-paired" | "re-pinned" | "dropped" | "not-paired";
|
|
11019
|
+
/** What `fill` did with one question, as the report lists it. */
|
|
11020
|
+
interface QuestionOutcome {
|
|
11021
|
+
action: QuestionAction;
|
|
11022
|
+
question: string;
|
|
11023
|
+
/** The page a golden-set file's answer is on. */
|
|
11024
|
+
file?: string;
|
|
11025
|
+
/** The answer's lines as written now. */
|
|
11026
|
+
lines?: string;
|
|
11027
|
+
/** The lines a re-pinned answer moved from. */
|
|
11028
|
+
from?: string;
|
|
11029
|
+
confidence?: number;
|
|
11030
|
+
/** Why a question was dropped or not paired. */
|
|
11031
|
+
reason?: string;
|
|
11032
|
+
}
|
|
11033
|
+
|
|
10879
11034
|
interface FillOptions$1 extends DocumentInputOptions {
|
|
10880
11035
|
cwd?: string;
|
|
10881
11036
|
dryRun?: boolean;
|
|
@@ -10897,6 +11052,13 @@ interface FillOptions$1 extends DocumentInputOptions {
|
|
|
10897
11052
|
model?: string;
|
|
10898
11053
|
/** Run inference on this machine with llama-cpp, over every configured choice. */
|
|
10899
11054
|
local?: boolean;
|
|
11055
|
+
/**
|
|
11056
|
+
* Send nothing off this machine: only a local model already downloaded, or
|
|
11057
|
+
* none. Overrides `fill.offline`.
|
|
11058
|
+
*/
|
|
11059
|
+
offline?: boolean;
|
|
11060
|
+
/** The largest body piece one question request sends; overrides `fill.chunkChars`. */
|
|
11061
|
+
chunkChars?: number;
|
|
10900
11062
|
/** Disable the graph guardrail (`--no-validate-graph`). */
|
|
10901
11063
|
noValidateGraph?: boolean;
|
|
10902
11064
|
/** Propose per-section metadata as well as document-level (ADR 01032). */
|
|
@@ -10918,9 +11080,13 @@ interface FillDocResult {
|
|
|
10918
11080
|
status: FillStatus$1;
|
|
10919
11081
|
/**
|
|
10920
11082
|
* Why a `skipped` page was skipped, said rather than left to be inferred —
|
|
10921
|
-
* the half of graph ADR 01027 that survives the dollar cap's removal.
|
|
11083
|
+
* the half of graph ADR 01027 that survives the dollar cap's removal. A
|
|
11084
|
+
* `filled` page carries one too when its re-pins were written and the work
|
|
11085
|
+
* that needed a model was not.
|
|
10922
11086
|
*/
|
|
10923
11087
|
reason?: string;
|
|
11088
|
+
/** What the question pass did, one entry per question it touched (proposal 0087). */
|
|
11089
|
+
questions?: QuestionOutcome[];
|
|
10924
11090
|
/** Fields written (or that would be written under --dry-run). */
|
|
10925
11091
|
fields: string[];
|
|
10926
11092
|
/** Human-set fields the proposal was not allowed to touch. */
|
|
@@ -14721,4 +14887,4 @@ declare namespace index {
|
|
|
14721
14887
|
export { type index_DocDetectiveResults as DocDetectiveResults, type index_DocDetectiveSpawn as DocDetectiveSpawn, type index_ResultCounts as ResultCounts, type index_RunTestOptions as RunTestOptions, index_TestError as TestError, type index_TestFinding as TestFinding, type index_TestRunResult as TestRunResult, index_realSpawn as realSpawn, index_renderGithub as renderGithub, index_renderJson as renderJson, index_renderPretty as renderPretty, index_runTest as runTest };
|
|
14722
14888
|
}
|
|
14723
14889
|
|
|
14724
|
-
export { type ApplyOptions, type Approval, type BaselineSummary, BinMissing, type BuiltinDerivableField, COMMON_FORMATS, type CheckConfig, type CollectionConfig, type CommandSourceOptions, type CommandSourceResult, type CommonFormat, type ConfigNotice, DEFAULT_SCHEMAS, DEFAULT_TTL_HOURS, DEFAULT_VENDOR_DIR, DERIVABLE_FIELDS, DERIVED_KEYWORD, DERIVED_STALE_SCHEMA, DERIVE_FORMATS, DERIVE_SOURCES, type DerivableField, type DeriveCommand, type DeriveCommandConfig, type DeriveConfig, type DeriveContext, type DeriveFileResult, type DeriveInput, type DeriveOptions$1 as DeriveOptions, type DeriveReportFormat, type DeriveReportOptions, type DeriveResult, type DeriveRun, type DeriveSource$1 as DeriveSource, type DeriveSummary, type DerivedField, type DerivedRecord, type DerivedStatus, type DerivedValue, type DocmetaConfig, DocmetaError, type DocumentRefTrust, EXTERNAL_DUPLICATE_SCHEMA, EXTERNAL_KEYWORD, EXTERNAL_METADATA_FETCH_MAX_BYTES, EXTERNAL_METADATA_FETCH_TIMEOUT_MS, EXTERNAL_OWNED_SCHEMA, type ExternalMetadataCollision, type ExternalMetadataConfig, type ExternalMetadataEntry, type ExternalMetadataFetchOptions, type ExternalMetadataIndex, type ExternalMetadataJoin, type ExternalMetadataValue, type ExtractOptions, type ExtractedMetadata, FIELD_SOURCES, FILL_FORMATS, type FetchedSchema, type FieldError, type FieldLocation, type FillConfig, type FillFileResult, type FillOptions$3 as FillOptions, type FillReportFormat, type FillReportOptions, type FillRun$1 as FillRun, type FillSummary, type FilledField, type FingerprintContext, type FrontmatterFlavor, type FrontmatterLocation, GRAPH_OUTPUT_KEYWORD, type GetFileResult, type GetOptions, type GetReportOptions, GitHubClient, GitLabClient, INTEGRITY_SHAPE, type JunitOptions, LOCATION_KEYWORD, type LoadExternalMetadataOptions, type LoadSchemaOptions, type LoadedConfig, type LocationPreference, MERGE_SAFE_FIELDS, type MergedChange, type MergedMetadata, type MetadataExtractor, type MetadataPatch, PATH_JOIN, PATH_PLACEHOLDER, QUERY_FORMATS, type QueryChange, type QueryFormat, type QueryOptions$1 as QueryOptions, type QueryReportOptions, type QueryRun, REPORT_FORMATS$2 as REPORT_FORMATS, RESOLVED_VIEW, REVIEW_CACHE_DIR, REVIEW_CACHE_VERSION, type ReadOptions, type ReencryptMetadataResult, type ReencryptedValue, type RegisteredSchema, type RegisteredSchemas, type RelocateOptions, type RelocateResult, type RemoteIdentity, type ReportFormat$3 as ReportFormat, type ReportOptions$1 as ReportOptions, ReviewCache, type ReviewClient, type ReviewFacts, type ReviewSourceInput, type ReviewSourceResult, type Run, type RunConfig, type RunConfigOptions$1 as RunConfigOptions, type RunSummary$1 as RunSummary, SCHEMA_CACHE_DIR, SCHEMA_CACHE_VERSION, type SarifOptions$1 as SarifOptions, SchemaCache, type SchemaCacheConfig, type SchemaCacheEntry, type SchemaEntry, type SchemaPin, type SchemaRefEntry, type SchemaTrustConfig, type SkipReason$1 as SkipReason, type SourceLocation, type SourceStatus$1 as SourceStatus, type SpawnOptions, type ValidateOptions$1 as ValidateOptions, type ValidateRun, type ValidationResult, Validator, type VendorOptions, type VendorResult, applyFrontmatter, argvFor, assertSourcesAvailable, cachedClient, index$6 as cite, classifyRef$1 as classifyRef, collectSchemaPins, compareDerived, consultedSources, createResolvedView, createReviewClient, deriveFromCommands, deriveFromReviews, deriveMetadata, index$5 as docevals, externalMetadataJoin, externalMetadataPointer, externalMetadataUrlProblem, extractFrontmatter, extractorForExtension, fetchExternalMetadata, fetchSchemaBytes, frontmatterInnerText, getSchemasInfo, index$3 as graph, identityFromOrigin, integrityOf, isBuiltinField, isCommonFormat, isDeriveFormat, isDeriveSource, isErrorSeverity, isFillFormat, isIntegrity, isMember, isPerFile, isQueryFormat, isReportFormat, index$2 as key, index$4 as lint, listBuiltins$1 as listBuiltins, loadConfig$4 as loadConfig, loadExternalMetadata, loadSchema, locateFrontmatter, memberOf, mentionsResolved, mergeExternalMetadata, orphanEntries, orphanError, orphanJoins, parseCollections, parseConfig$4 as parseConfig, parseOriginUrl, rebaseConfigSchemaRefs, reencryptMetadata, render$3 as render, renderDerive, renderFill$2 as renderFill, renderFillGithub, renderGet, renderJunit$1 as renderJunit, renderQuery, renderQueryCsv, renderSarif$1 as renderSarif, resolveRunConfig, resolveSchemaSet, resolvedColumns, run, runDerive, runFill$3 as runFill, runGet, runQuery$1 as runQuery, runRelocate, runValidate, runVendorSchema, schemaCacheDir, schemaEntryRef, schemaLoadOptions, selectCollections, sourcesFor, staleFindings, stringifyValue, supportedExtensions$1 as supportedExtensions, index as test, index$1 as tracevals, valueOf, vendorFileName, writeFileAtomic };
|
|
14890
|
+
export { type ApplyOptions, type Approval, type BaselineSummary, BinMissing, type BuiltinDerivableField, COMMON_FORMATS, type CheckConfig, type CollectionConfig, type CommandSourceOptions, type CommandSourceResult, type CommonFormat, type ConfigNotice, DEFAULT_SCHEMAS, DEFAULT_TTL_HOURS, DEFAULT_VENDOR_DIR, DERIVABLE_FIELDS, DERIVED_KEYWORD, DERIVED_STALE_SCHEMA, DERIVE_FORMATS, DERIVE_SOURCES, type DerivableField, type DeriveCommand, type DeriveCommandConfig, type DeriveConfig, type DeriveContext, type DeriveFileResult, type DeriveInput, type DeriveOptions$1 as DeriveOptions, type DeriveReportFormat, type DeriveReportOptions, type DeriveResult, type DeriveRun, type DeriveSource$1 as DeriveSource, type DeriveSummary, type DerivedField, type DerivedRecord, type DerivedStatus, type DerivedValue, type DocmetaConfig, DocmetaError, type DocumentRefTrust, EXTERNAL_DUPLICATE_SCHEMA, EXTERNAL_KEYWORD, EXTERNAL_METADATA_FETCH_MAX_BYTES, EXTERNAL_METADATA_FETCH_TIMEOUT_MS, EXTERNAL_OWNED_SCHEMA, type ExternalMetadataCollision, type ExternalMetadataConfig, type ExternalMetadataEntry, type ExternalMetadataFetchOptions, type ExternalMetadataIndex, type ExternalMetadataJoin, type ExternalMetadataValue, type ExtractOptions, type ExtractedMetadata, FIELD_SOURCES, FILL_FORMATS, type FetchedSchema, type FieldError, type FieldLocation, type FillConfig, type FillFileResult, type FillOptions$3 as FillOptions, type FillReportFormat, type FillReportOptions, type FillRun$1 as FillRun, type FillSummary, type FilledField, type FingerprintContext, type FrontmatterFlavor, type FrontmatterLocation, GRAPH_OUTPUT_KEYWORD, type GetFileResult, type GetOptions, type GetReportOptions, GitHubClient, GitLabClient, INTEGRITY_SHAPE, type JunitOptions, LOCATION_KEYWORD, type LoadExternalMetadataOptions, type LoadSchemaOptions, type LoadedConfig, type LocationPreference, MERGE_SAFE_FIELDS, type MergedChange, type MergedMetadata, type MetadataExtractor, type MetadataPatch, PATH_JOIN, PATH_PLACEHOLDER, QUERY_FORMATS, type QueryChange, type QueryFormat, type QueryOptions$1 as QueryOptions, type QueryReportOptions, type QueryRun, REPORT_FORMATS$2 as REPORT_FORMATS, RESOLVED_VIEW, REVIEW_CACHE_DIR, REVIEW_CACHE_VERSION, type ReadOptions, type ReencryptMetadataResult, type ReencryptedValue, type RegisteredSchema, type RegisteredSchemas, type RelocateOptions, type RelocateResult, type RemoteIdentity, type ReportFormat$3 as ReportFormat, type ReportOptions$1 as ReportOptions, ReviewCache, type ReviewClient, type ReviewFacts, type ReviewSourceInput, type ReviewSourceResult, type Run, type RunConfig, type RunConfigOptions$1 as RunConfigOptions, type RunSummary$1 as RunSummary, SCHEMA_CACHE_DIR, SCHEMA_CACHE_VERSION, type SarifOptions$1 as SarifOptions, SchemaCache, type SchemaCacheConfig, type SchemaCacheEntry, type SchemaEntry, type SchemaPin, type SchemaRefEntry, type SchemaTrustConfig, type SkipReason$1 as SkipReason, type SourceLocation, type SourceStatus$1 as SourceStatus, type SpawnOptions, TERM_KEYWORD, type ValidateOptions$1 as ValidateOptions, type ValidateRun, type ValidationResult, Validator, type VendorOptions, type VendorResult, applyFrontmatter, argvFor, assertSourcesAvailable, cachedClient, index$6 as cite, classifyRef$1 as classifyRef, collectSchemaPins, compareDerived, consultedSources, createResolvedView, createReviewClient, deriveFromCommands, deriveFromReviews, deriveMetadata, index$5 as docevals, externalMetadataJoin, externalMetadataPointer, externalMetadataUrlProblem, extractFrontmatter, extractorForExtension, fetchExternalMetadata, fetchSchemaBytes, frontmatterInnerText, getSchemasInfo, index$3 as graph, identityFromOrigin, integrityOf, isBuiltinField, isCommonFormat, isDeriveFormat, isDeriveSource, isErrorSeverity, isFillFormat, isIntegrity, isMember, isPerFile, isQueryFormat, isReportFormat, index$2 as key, index$4 as lint, listBuiltins$1 as listBuiltins, loadConfig$4 as loadConfig, loadExternalMetadata, loadSchema, locateFrontmatter, memberOf, mentionsResolved, mergeExternalMetadata, orphanEntries, orphanError, orphanJoins, parseCollections, parseConfig$4 as parseConfig, parseOriginUrl, rebaseConfigSchemaRefs, reencryptMetadata, render$3 as render, renderDerive, renderFill$2 as renderFill, renderFillGithub, renderGet, renderJunit$1 as renderJunit, renderQuery, renderQueryCsv, renderSarif$1 as renderSarif, resolveRunConfig, resolveSchemaSet, resolvedColumns, run, runDerive, runFill$3 as runFill, runGet, runQuery$1 as runQuery, runRelocate, runValidate, runVendorSchema, schemaCacheDir, schemaEntryRef, schemaLoadOptions, selectCollections, sourcesFor, staleFindings, stringifyValue, supportedExtensions$1 as supportedExtensions, index as test, index$1 as tracevals, valueOf, vendorFileName, writeFileAtomic };
|