@hawkeyexl/manni 4.9.0 → 4.11.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-W5GXL2P4.js → batch-UAULUMGH.js} +18 -14
- package/dist/{build-Q56FEXR6.js → build-QSPNK5AL.js} +14 -11
- package/dist/calibrate-KXN4URPM.js +40 -0
- package/dist/{capture-GMYH4ATL.js → capture-JHTSUPUC.js} +16 -13
- package/dist/{check-OAJWC3WD.js → check-MDGXEUWL.js} +5 -5
- package/dist/{check-KUBELO5G.js → check-VELUQAUW.js} +17 -14
- package/dist/{check-KUBELO5G.js.map → check-VELUQAUW.js.map} +1 -1
- package/dist/check-WOQRKNZK.js +29 -0
- package/dist/{check-ZE5HIDOW.js → check-YEOYBFST.js} +14 -11
- package/dist/{chunk-FGUXMZXO.js → chunk-2DRHT73U.js} +7 -7
- package/dist/{chunk-XHFHXOQQ.js → chunk-2IAZEB45.js} +8 -8
- package/dist/{chunk-35WTFPQS.js → chunk-2IR4T5PO.js} +2 -2
- package/dist/{chunk-KX5IYIOO.js → chunk-2MJ62AYQ.js} +2 -2
- package/dist/chunk-2MJ62AYQ.js.map +1 -0
- package/dist/{chunk-OWSNXPPX.js → chunk-4CK6ZSOK.js} +6 -6
- package/dist/{chunk-YUZ2ECZY.js → chunk-4D5IZSXM.js} +3 -3
- package/dist/{chunk-RFSGKF4O.js → chunk-4VBSTXN6.js} +4 -4
- package/dist/{chunk-3XMG4CZY.js → chunk-54F74XR3.js} +15 -13
- package/dist/{chunk-3XMG4CZY.js.map → chunk-54F74XR3.js.map} +1 -1
- package/dist/{chunk-IN6DWNVE.js → chunk-6HWBRZIN.js} +47 -191
- package/dist/chunk-6HWBRZIN.js.map +1 -0
- package/dist/{chunk-GEMXGXPR.js → chunk-ADMEPUBT.js} +3 -3
- package/dist/{chunk-23UAGEKP.js → chunk-B7XYNRJQ.js} +2 -2
- package/dist/{chunk-QKE3XS2L.js → chunk-BBT6AVUG.js} +2 -2
- package/dist/{chunk-VKWZCEWB.js → chunk-BKVHX6FU.js} +4 -4
- package/dist/{chunk-X6WLCNKC.js → chunk-D4N2V43Z.js} +4 -4
- package/dist/{chunk-XXDXIIQ4.js → chunk-EFW7CAG4.js} +2 -2
- package/dist/{chunk-UDUHRXJ4.js → chunk-EIFCP6CZ.js} +2 -2
- package/dist/{chunk-KPXOJMQ6.js → chunk-FBMZJEB3.js} +2 -2
- package/dist/{chunk-HRXDM6H6.js → chunk-FQXWVS6J.js} +8 -8
- package/dist/{chunk-76I6I5N2.js → chunk-FUCPZVRY.js} +2 -2
- package/dist/{chunk-DTGIUMZV.js → chunk-GDVZ5VII.js} +4 -4
- package/dist/{chunk-QCCAHV6A.js → chunk-GV56WGL2.js} +321 -3308
- package/dist/chunk-GV56WGL2.js.map +1 -0
- package/dist/{chunk-TKTRIZT4.js → chunk-HA6MQMOY.js} +6 -6
- package/dist/{chunk-ECVQNGTH.js → chunk-HQR2ZBHW.js} +3 -3
- package/dist/{chunk-MHAYLDBK.js → chunk-IGSHYP74.js} +4 -4
- package/dist/{chunk-YEUQ7OKT.js → chunk-J6IDQGJL.js} +4 -4
- package/dist/{chunk-5LBEQ4ZU.js → chunk-JPQDNYXH.js} +2 -2
- package/dist/{chunk-6KKZXB2O.js → chunk-JROBZ7JA.js} +2 -2
- package/dist/{chunk-TMI2YF6D.js → chunk-KGEQJ5CC.js} +15 -26
- package/dist/{chunk-TMI2YF6D.js.map → chunk-KGEQJ5CC.js.map} +1 -1
- package/dist/{chunk-2EHDJ47Y.js → chunk-LBSCW232.js} +4 -4
- package/dist/{chunk-M6GH3FGJ.js → chunk-LKP7QDFN.js} +4 -4
- package/dist/{chunk-5EB6RIXJ.js → chunk-LPIF5LIE.js} +2 -2
- package/dist/chunk-M42DZCOU.js +164 -0
- package/dist/chunk-M42DZCOU.js.map +1 -0
- package/dist/{chunk-ND2S5BXB.js → chunk-MSRU4D4P.js} +2 -2
- package/dist/{chunk-BSTXARMY.js → chunk-NSBXVPZL.js} +11 -11
- package/dist/{chunk-Q45PZX2D.js → chunk-ODRPL3WB.js} +2 -2
- package/dist/{chunk-FSBIPCWE.js → chunk-OPXWPJDA.js} +10 -10
- package/dist/chunk-PCQ7ELJH.js +3081 -0
- package/dist/chunk-PCQ7ELJH.js.map +1 -0
- package/dist/{chunk-QAKJNPY3.js → chunk-PCS4VJBV.js} +6 -6
- package/dist/{chunk-GRILZZGS.js → chunk-PWBH7DCQ.js} +3 -3
- package/dist/{chunk-XKBEHKWO.js → chunk-QLWC7MKD.js} +34 -32
- package/dist/chunk-QLWC7MKD.js.map +1 -0
- package/dist/{chunk-XTAHZTES.js → chunk-R4WXQIOZ.js} +6 -6
- package/dist/{chunk-3CDZWY6M.js → chunk-RLT5SEML.js} +5 -5
- package/dist/{chunk-XG6PVB5S.js → chunk-SSQZB5SQ.js} +1 -11
- package/dist/chunk-SSQZB5SQ.js.map +1 -0
- package/dist/chunk-T7JAOYE5.js +393 -0
- package/dist/chunk-T7JAOYE5.js.map +1 -0
- package/dist/chunk-TU2WUBVZ.js +2 -0
- package/dist/{chunk-Q2H7J3FF.js → chunk-U7CTFN2J.js} +12 -10
- package/dist/{chunk-Q2H7J3FF.js.map → chunk-U7CTFN2J.js.map} +1 -1
- package/dist/{chunk-3XGGF5JW.js → chunk-VSEBFHAY.js} +10 -7
- package/dist/{chunk-3XGGF5JW.js.map → chunk-VSEBFHAY.js.map} +1 -1
- package/dist/{chunk-OVOYKWCM.js → chunk-WDWXAYVH.js} +4 -4
- package/dist/{chunk-5WME4CB6.js → chunk-Y6DOMTQD.js} +10 -8
- package/dist/{chunk-5WME4CB6.js.map → chunk-Y6DOMTQD.js.map} +1 -1
- package/dist/chunk-ZMECS2IJ.js +27 -0
- package/dist/chunk-ZMECS2IJ.js.map +1 -0
- package/dist/chunk-ZPLVANY2.js +15 -0
- package/dist/chunk-ZPLVANY2.js.map +1 -0
- package/dist/{cli-MEPJTS2V.js → cli-3BTCK4AB.js} +18 -15
- package/dist/{cli-MEPJTS2V.js.map → cli-3BTCK4AB.js.map} +1 -1
- package/dist/{cli-EMQXRN6E.js → cli-4MF37HAQ.js} +16 -12
- package/dist/{cli-EMQXRN6E.js.map → cli-4MF37HAQ.js.map} +1 -1
- package/dist/{cli-YDMMIL2U.js → cli-6KZTHWGP.js} +17 -14
- package/dist/{cli-YDMMIL2U.js.map → cli-6KZTHWGP.js.map} +1 -1
- package/dist/{cli-ZJRHU7MO.js → cli-DRMZBZLB.js} +39 -34
- package/dist/cli-DRMZBZLB.js.map +1 -0
- package/dist/{cli-J35OPSTP.js → cli-I62SRH3R.js} +10 -8
- package/dist/cli-JJMOVIKS.js +83 -0
- package/dist/cli-JJMOVIKS.js.map +1 -0
- package/dist/{cli-TPONWND4.js → cli-O4ABTN4Z.js} +25 -21
- package/dist/{cli-TPONWND4.js.map → cli-O4ABTN4Z.js.map} +1 -1
- package/dist/{cli-URNPOMOH.js → cli-ONTC5PKT.js} +3 -3
- package/dist/{cli-BJ7JXJ2U.js → cli-RORDPAPE.js} +17 -14
- package/dist/{cli-BJ7JXJ2U.js.map → cli-RORDPAPE.js.map} +1 -1
- package/dist/{cli-B7SFJDZA.js → cli-VID7PJS3.js} +17 -13
- package/dist/{cli-B7SFJDZA.js.map → cli-VID7PJS3.js.map} +1 -1
- package/dist/cli-VUKMWSSF.js +839 -0
- package/dist/cli-VUKMWSSF.js.map +1 -0
- package/dist/cli.js +24 -11
- package/dist/cli.js.map +1 -1
- package/dist/{config-YWSNBFEE.js → config-XDA42RJL.js} +3 -3
- package/dist/docmeta.js +9 -7
- package/dist/docmeta.js.map +1 -1
- package/dist/github-RY3FRA6P.js +29 -0
- package/dist/github-YKQSH7FS.js +34 -0
- package/dist/index.d.ts +1023 -915
- package/dist/index.js +107 -81
- package/dist/index.js.map +1 -1
- package/dist/{json-JIUPGOUQ.js → json-BXY44ED7.js} +13 -10
- package/dist/lint-YJ2L22BW.js +33 -0
- package/dist/list-NSG24VVX.js +31 -0
- package/dist/list-V6EGCSHX.js +34 -0
- package/dist/{page-WQ3GQF76.js → page-EV7OUBAU.js} +12 -9
- package/dist/{prepare-ZUTYXTUZ.js → prepare-JHJDJB6I.js} +17 -14
- package/dist/{prepare-ZUTYXTUZ.js.map → prepare-JHJDJB6I.js.map} +1 -1
- package/dist/{pretty-Q3C433DW.js → pretty-Q5Y2PA64.js} +14 -11
- package/dist/{pretty-CBV5XSMZ.js → pretty-SCRK66M5.js} +13 -10
- package/dist/{reporters-DH5HPFXJ.js → reporters-A5ADKDYR.js} +12 -9
- package/dist/{reporters-TTYGOUAF.js → reporters-RBYTASMI.js} +5 -5
- package/dist/run-BUE2DDXN.js +36 -0
- package/dist/{term-DL3YFL43.js → term-CQAGNG3Q.js} +17 -14
- package/dist/{term-DL3YFL43.js.map → term-CQAGNG3Q.js.map} +1 -1
- package/dist/{validate-UVDMC5LT.js → validate-ZBW44RHT.js} +6 -5
- package/dist/validate-ZBW44RHT.js.map +1 -0
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/calibrate-XFE56P4M.js +0 -36
- package/dist/check-HBRX4FOR.js +0 -26
- package/dist/chunk-IN6DWNVE.js.map +0 -1
- package/dist/chunk-KX5IYIOO.js.map +0 -1
- package/dist/chunk-QCCAHV6A.js.map +0 -1
- package/dist/chunk-XG6PVB5S.js.map +0 -1
- package/dist/chunk-XKBEHKWO.js.map +0 -1
- package/dist/cli-ZJRHU7MO.js.map +0 -1
- package/dist/github-63CZJGZS.js +0 -31
- package/dist/github-IYOVHWHG.js +0 -26
- package/dist/lint-TBE35CCW.js +0 -29
- package/dist/list-IZ4RIM72.js +0 -30
- package/dist/list-TNEJ3J77.js +0 -28
- package/dist/run-LZXKVTM7.js +0 -32
- /package/dist/{batch-W5GXL2P4.js.map → batch-UAULUMGH.js.map} +0 -0
- /package/dist/{build-Q56FEXR6.js.map → build-QSPNK5AL.js.map} +0 -0
- /package/dist/{calibrate-XFE56P4M.js.map → calibrate-KXN4URPM.js.map} +0 -0
- /package/dist/{capture-GMYH4ATL.js.map → capture-JHTSUPUC.js.map} +0 -0
- /package/dist/{check-HBRX4FOR.js.map → check-MDGXEUWL.js.map} +0 -0
- /package/dist/{check-OAJWC3WD.js.map → check-WOQRKNZK.js.map} +0 -0
- /package/dist/{check-ZE5HIDOW.js.map → check-YEOYBFST.js.map} +0 -0
- /package/dist/{chunk-FGUXMZXO.js.map → chunk-2DRHT73U.js.map} +0 -0
- /package/dist/{chunk-XHFHXOQQ.js.map → chunk-2IAZEB45.js.map} +0 -0
- /package/dist/{chunk-35WTFPQS.js.map → chunk-2IR4T5PO.js.map} +0 -0
- /package/dist/{chunk-OWSNXPPX.js.map → chunk-4CK6ZSOK.js.map} +0 -0
- /package/dist/{chunk-YUZ2ECZY.js.map → chunk-4D5IZSXM.js.map} +0 -0
- /package/dist/{chunk-RFSGKF4O.js.map → chunk-4VBSTXN6.js.map} +0 -0
- /package/dist/{chunk-GEMXGXPR.js.map → chunk-ADMEPUBT.js.map} +0 -0
- /package/dist/{chunk-23UAGEKP.js.map → chunk-B7XYNRJQ.js.map} +0 -0
- /package/dist/{chunk-QKE3XS2L.js.map → chunk-BBT6AVUG.js.map} +0 -0
- /package/dist/{chunk-VKWZCEWB.js.map → chunk-BKVHX6FU.js.map} +0 -0
- /package/dist/{chunk-X6WLCNKC.js.map → chunk-D4N2V43Z.js.map} +0 -0
- /package/dist/{chunk-XXDXIIQ4.js.map → chunk-EFW7CAG4.js.map} +0 -0
- /package/dist/{chunk-UDUHRXJ4.js.map → chunk-EIFCP6CZ.js.map} +0 -0
- /package/dist/{chunk-KPXOJMQ6.js.map → chunk-FBMZJEB3.js.map} +0 -0
- /package/dist/{chunk-HRXDM6H6.js.map → chunk-FQXWVS6J.js.map} +0 -0
- /package/dist/{chunk-76I6I5N2.js.map → chunk-FUCPZVRY.js.map} +0 -0
- /package/dist/{chunk-DTGIUMZV.js.map → chunk-GDVZ5VII.js.map} +0 -0
- /package/dist/{chunk-TKTRIZT4.js.map → chunk-HA6MQMOY.js.map} +0 -0
- /package/dist/{chunk-ECVQNGTH.js.map → chunk-HQR2ZBHW.js.map} +0 -0
- /package/dist/{chunk-MHAYLDBK.js.map → chunk-IGSHYP74.js.map} +0 -0
- /package/dist/{chunk-YEUQ7OKT.js.map → chunk-J6IDQGJL.js.map} +0 -0
- /package/dist/{chunk-5LBEQ4ZU.js.map → chunk-JPQDNYXH.js.map} +0 -0
- /package/dist/{chunk-6KKZXB2O.js.map → chunk-JROBZ7JA.js.map} +0 -0
- /package/dist/{chunk-2EHDJ47Y.js.map → chunk-LBSCW232.js.map} +0 -0
- /package/dist/{chunk-M6GH3FGJ.js.map → chunk-LKP7QDFN.js.map} +0 -0
- /package/dist/{chunk-5EB6RIXJ.js.map → chunk-LPIF5LIE.js.map} +0 -0
- /package/dist/{chunk-ND2S5BXB.js.map → chunk-MSRU4D4P.js.map} +0 -0
- /package/dist/{chunk-BSTXARMY.js.map → chunk-NSBXVPZL.js.map} +0 -0
- /package/dist/{chunk-Q45PZX2D.js.map → chunk-ODRPL3WB.js.map} +0 -0
- /package/dist/{chunk-FSBIPCWE.js.map → chunk-OPXWPJDA.js.map} +0 -0
- /package/dist/{chunk-QAKJNPY3.js.map → chunk-PCS4VJBV.js.map} +0 -0
- /package/dist/{chunk-GRILZZGS.js.map → chunk-PWBH7DCQ.js.map} +0 -0
- /package/dist/{chunk-XTAHZTES.js.map → chunk-R4WXQIOZ.js.map} +0 -0
- /package/dist/{chunk-3CDZWY6M.js.map → chunk-RLT5SEML.js.map} +0 -0
- /package/dist/{cli-J35OPSTP.js.map → chunk-TU2WUBVZ.js.map} +0 -0
- /package/dist/{chunk-OVOYKWCM.js.map → chunk-WDWXAYVH.js.map} +0 -0
- /package/dist/{config-YWSNBFEE.js.map → cli-I62SRH3R.js.map} +0 -0
- /package/dist/{cli-URNPOMOH.js.map → cli-ONTC5PKT.js.map} +0 -0
- /package/dist/{github-63CZJGZS.js.map → config-XDA42RJL.js.map} +0 -0
- /package/dist/{github-IYOVHWHG.js.map → github-RY3FRA6P.js.map} +0 -0
- /package/dist/{json-JIUPGOUQ.js.map → github-YKQSH7FS.js.map} +0 -0
- /package/dist/{lint-TBE35CCW.js.map → json-BXY44ED7.js.map} +0 -0
- /package/dist/{list-IZ4RIM72.js.map → lint-YJ2L22BW.js.map} +0 -0
- /package/dist/{list-TNEJ3J77.js.map → list-NSG24VVX.js.map} +0 -0
- /package/dist/{page-WQ3GQF76.js.map → list-V6EGCSHX.js.map} +0 -0
- /package/dist/{pretty-CBV5XSMZ.js.map → page-EV7OUBAU.js.map} +0 -0
- /package/dist/{pretty-Q3C433DW.js.map → pretty-Q5Y2PA64.js.map} +0 -0
- /package/dist/{reporters-DH5HPFXJ.js.map → pretty-SCRK66M5.js.map} +0 -0
- /package/dist/{reporters-TTYGOUAF.js.map → reporters-A5ADKDYR.js.map} +0 -0
- /package/dist/{run-LZXKVTM7.js.map → reporters-RBYTASMI.js.map} +0 -0
- /package/dist/{validate-UVDMC5LT.js.map → run-BUE2DDXN.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
runFill as runFill4,
|
|
20
20
|
runList as runList2,
|
|
21
21
|
systemPromptFor
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OPXWPJDA.js";
|
|
23
23
|
import {
|
|
24
24
|
KeyError,
|
|
25
25
|
cite_exports,
|
|
26
26
|
runKeyRotate,
|
|
27
27
|
runKeySet
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NSBXVPZL.js";
|
|
29
29
|
import {
|
|
30
30
|
pickTrace
|
|
31
31
|
} from "./chunk-PAU352SV.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
rescore,
|
|
36
36
|
runCalibrate as runCalibrate2,
|
|
37
37
|
score
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-PWBH7DCQ.js";
|
|
39
39
|
import {
|
|
40
40
|
BUILTIN_GRADER_KINDS,
|
|
41
41
|
IMPLICIT_EVAL_NAME,
|
|
@@ -74,7 +74,14 @@ import {
|
|
|
74
74
|
runOne,
|
|
75
75
|
runRun as runRun2,
|
|
76
76
|
sha256
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-54F74XR3.js";
|
|
78
|
+
import {
|
|
79
|
+
detectContentFormat,
|
|
80
|
+
detectFormat,
|
|
81
|
+
parseTraceContent,
|
|
82
|
+
parseTraceFile,
|
|
83
|
+
renderTrace
|
|
84
|
+
} from "./chunk-FUCPZVRY.js";
|
|
78
85
|
import {
|
|
79
86
|
buildManifest,
|
|
80
87
|
deviceId,
|
|
@@ -82,21 +89,10 @@ import {
|
|
|
82
89
|
redactDeep,
|
|
83
90
|
renderCapture,
|
|
84
91
|
runCapture
|
|
85
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-IGSHYP74.js";
|
|
86
93
|
import {
|
|
87
94
|
discoverArtifacts
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import {
|
|
90
|
-
parseHookPayload,
|
|
91
|
-
readStdin
|
|
92
|
-
} from "./chunk-TZOYZK2E.js";
|
|
93
|
-
import {
|
|
94
|
-
detectContentFormat,
|
|
95
|
-
detectFormat,
|
|
96
|
-
parseTraceContent,
|
|
97
|
-
parseTraceFile,
|
|
98
|
-
renderTrace
|
|
99
|
-
} from "./chunk-76I6I5N2.js";
|
|
95
|
+
} from "./chunk-ODRPL3WB.js";
|
|
100
96
|
import {
|
|
101
97
|
WHEN_CONDITIONS,
|
|
102
98
|
evaluateWhen,
|
|
@@ -108,6 +104,10 @@ import {
|
|
|
108
104
|
skippedWindow,
|
|
109
105
|
windowFor
|
|
110
106
|
} from "./chunk-CWXZ2MRT.js";
|
|
107
|
+
import {
|
|
108
|
+
parseHookPayload,
|
|
109
|
+
readStdin
|
|
110
|
+
} from "./chunk-TZOYZK2E.js";
|
|
111
111
|
import {
|
|
112
112
|
ARTIFACT_EVALS_SCHEMA_ID,
|
|
113
113
|
PROJECT_RULES_FILENAMES,
|
|
@@ -134,12 +134,38 @@ import {
|
|
|
134
134
|
sha256Hex,
|
|
135
135
|
siblingManifestPath,
|
|
136
136
|
writeManifest
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-R4WXQIOZ.js";
|
|
138
|
+
import {
|
|
139
|
+
CONFIG_SECTION_KEY,
|
|
140
|
+
DEFAULT_CONFIG_FILENAME as DEFAULT_CONFIG_FILENAME2,
|
|
141
|
+
DEFAULT_LABELS_FILE,
|
|
142
|
+
labelKey,
|
|
143
|
+
loadConfig as loadConfig5,
|
|
144
|
+
loadLabels,
|
|
145
|
+
parseConfig as parseConfig5,
|
|
146
|
+
parseLabels
|
|
147
|
+
} from "./chunk-FBMZJEB3.js";
|
|
148
|
+
import {
|
|
149
|
+
CUSTOM_PLACEHOLDER,
|
|
150
|
+
DEFAULT_CAPTURE_DIR,
|
|
151
|
+
MANIFEST_VERSION,
|
|
152
|
+
REDACTION_PATTERNS,
|
|
153
|
+
compileRedactPatterns,
|
|
154
|
+
makeRedactor
|
|
155
|
+
} from "./chunk-CU57HT2E.js";
|
|
138
156
|
import {
|
|
139
157
|
configDir,
|
|
140
158
|
discoverTraces,
|
|
141
159
|
slugFor
|
|
142
160
|
} from "./chunk-4TSWU2SU.js";
|
|
161
|
+
import {
|
|
162
|
+
TestError,
|
|
163
|
+
realSpawn,
|
|
164
|
+
renderGithub as renderGithub2,
|
|
165
|
+
renderJson as renderJson2,
|
|
166
|
+
renderPretty as renderPretty2,
|
|
167
|
+
runTest
|
|
168
|
+
} from "./chunk-T7JAOYE5.js";
|
|
143
169
|
import {
|
|
144
170
|
EmbedderUnavailableError,
|
|
145
171
|
GraphIndex,
|
|
@@ -200,7 +226,7 @@ import {
|
|
|
200
226
|
splitFragment,
|
|
201
227
|
traverse,
|
|
202
228
|
writeZip
|
|
203
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-2DRHT73U.js";
|
|
204
230
|
import {
|
|
205
231
|
LOCALIZATIONS_FILENAME,
|
|
206
232
|
UNDETERMINED,
|
|
@@ -215,13 +241,13 @@ import {
|
|
|
215
241
|
runBuild,
|
|
216
242
|
searchIndexFilename,
|
|
217
243
|
vectorIndexFilename
|
|
218
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-2IAZEB45.js";
|
|
219
245
|
import {
|
|
220
246
|
compactIri,
|
|
221
247
|
expandTerm,
|
|
222
248
|
loadGraph,
|
|
223
249
|
storeToQuads
|
|
224
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-EFW7CAG4.js";
|
|
225
251
|
import {
|
|
226
252
|
COVERAGE_FIELDS,
|
|
227
253
|
COVERAGE_FIELD_NAMES,
|
|
@@ -255,25 +281,7 @@ import {
|
|
|
255
281
|
profileFor,
|
|
256
282
|
resolveBaseIri,
|
|
257
283
|
withPrefix
|
|
258
|
-
} from "./chunk-
|
|
259
|
-
import {
|
|
260
|
-
CONFIG_SECTION_KEY,
|
|
261
|
-
DEFAULT_CONFIG_FILENAME as DEFAULT_CONFIG_FILENAME2,
|
|
262
|
-
DEFAULT_LABELS_FILE,
|
|
263
|
-
labelKey,
|
|
264
|
-
loadConfig as loadConfig5,
|
|
265
|
-
loadLabels,
|
|
266
|
-
parseConfig as parseConfig5,
|
|
267
|
-
parseLabels
|
|
268
|
-
} from "./chunk-KPXOJMQ6.js";
|
|
269
|
-
import {
|
|
270
|
-
CUSTOM_PLACEHOLDER,
|
|
271
|
-
DEFAULT_CAPTURE_DIR,
|
|
272
|
-
MANIFEST_VERSION,
|
|
273
|
-
REDACTION_PATTERNS,
|
|
274
|
-
compileRedactPatterns,
|
|
275
|
-
makeRedactor
|
|
276
|
-
} from "./chunk-CU57HT2E.js";
|
|
284
|
+
} from "./chunk-JROBZ7JA.js";
|
|
277
285
|
import {
|
|
278
286
|
announceSelection,
|
|
279
287
|
assertProviderSelection as assertProviderSelection2,
|
|
@@ -308,11 +316,11 @@ import {
|
|
|
308
316
|
runPromote,
|
|
309
317
|
runReview,
|
|
310
318
|
seedGoldenCases
|
|
311
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-RLT5SEML.js";
|
|
312
320
|
import {
|
|
313
321
|
renderList,
|
|
314
322
|
runList
|
|
315
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-EIFCP6CZ.js";
|
|
316
324
|
import {
|
|
317
325
|
appendPageEvals,
|
|
318
326
|
makeGenerateScripts,
|
|
@@ -324,7 +332,7 @@ import {
|
|
|
324
332
|
scriptLocationFor,
|
|
325
333
|
updateConfigEval,
|
|
326
334
|
updatePageEval
|
|
327
|
-
} from "./chunk-
|
|
335
|
+
} from "./chunk-HA6MQMOY.js";
|
|
328
336
|
import {
|
|
329
337
|
DEFAULT_CONFIG_FILENAME,
|
|
330
338
|
EVAL_KEYS,
|
|
@@ -347,9 +355,10 @@ import {
|
|
|
347
355
|
runEvals,
|
|
348
356
|
stripFrontmatterBlock,
|
|
349
357
|
withExternalMetadata
|
|
350
|
-
} from "./chunk-
|
|
351
|
-
import "./chunk-
|
|
358
|
+
} from "./chunk-U7CTFN2J.js";
|
|
359
|
+
import "./chunk-SSQZB5SQ.js";
|
|
352
360
|
import "./chunk-YNHZHSSM.js";
|
|
361
|
+
import "./chunk-ZPLVANY2.js";
|
|
353
362
|
import {
|
|
354
363
|
render as render3
|
|
355
364
|
} from "./chunk-NCPWXHDO.js";
|
|
@@ -361,18 +370,18 @@ import {
|
|
|
361
370
|
import {
|
|
362
371
|
DocevalsError
|
|
363
372
|
} from "./chunk-SE4JN5XN.js";
|
|
364
|
-
import "./chunk-
|
|
365
|
-
import "./chunk-
|
|
366
|
-
import "./chunk-
|
|
367
|
-
import "./chunk-
|
|
368
|
-
import "./chunk-
|
|
373
|
+
import "./chunk-FQXWVS6J.js";
|
|
374
|
+
import "./chunk-PCS4VJBV.js";
|
|
375
|
+
import "./chunk-ADMEPUBT.js";
|
|
376
|
+
import "./chunk-4D5IZSXM.js";
|
|
377
|
+
import "./chunk-WDWXAYVH.js";
|
|
369
378
|
import "./chunk-PCE7QHXJ.js";
|
|
370
379
|
import {
|
|
371
380
|
BUILTIN_SOURCE,
|
|
372
381
|
BUILT_IN_DEFAULTS,
|
|
373
382
|
runTemplates,
|
|
374
383
|
runTools
|
|
375
|
-
} from "./chunk-
|
|
384
|
+
} from "./chunk-GDVZ5VII.js";
|
|
376
385
|
import {
|
|
377
386
|
LINT_JOBS,
|
|
378
387
|
LINT_TOOLS,
|
|
@@ -393,13 +402,14 @@ import {
|
|
|
393
402
|
runLint,
|
|
394
403
|
validateDocument,
|
|
395
404
|
validateSections
|
|
396
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-KGEQJ5CC.js";
|
|
406
|
+
import "./chunk-ZMECS2IJ.js";
|
|
397
407
|
import {
|
|
398
408
|
listFormats,
|
|
399
409
|
parserByName,
|
|
400
410
|
parserForExtension,
|
|
401
411
|
supportedExtensions as supportedExtensions2
|
|
402
|
-
} from "./chunk-
|
|
412
|
+
} from "./chunk-2IR4T5PO.js";
|
|
403
413
|
import "./chunk-TIUTIOFB.js";
|
|
404
414
|
import {
|
|
405
415
|
RULE_ID_PREFIX,
|
|
@@ -414,7 +424,7 @@ import {
|
|
|
414
424
|
renderTools,
|
|
415
425
|
ruleId,
|
|
416
426
|
ruleName
|
|
417
|
-
} from "./chunk-
|
|
427
|
+
} from "./chunk-LBSCW232.js";
|
|
418
428
|
import "./chunk-GLP5PSXB.js";
|
|
419
429
|
import {
|
|
420
430
|
BLOCK_KINDS,
|
|
@@ -428,11 +438,12 @@ import {
|
|
|
428
438
|
LintError
|
|
429
439
|
} from "./chunk-YGFIQ6Y5.js";
|
|
430
440
|
import "./chunk-77AINBYM.js";
|
|
431
|
-
import "./chunk-
|
|
441
|
+
import "./chunk-BKVHX6FU.js";
|
|
432
442
|
import "./chunk-IKEWBMCN.js";
|
|
443
|
+
import "./chunk-TU2WUBVZ.js";
|
|
433
444
|
import {
|
|
434
445
|
reencryptMetadata
|
|
435
|
-
} from "./chunk-
|
|
446
|
+
} from "./chunk-LKP7QDFN.js";
|
|
436
447
|
import {
|
|
437
448
|
DEFAULT_VENDOR_DIR,
|
|
438
449
|
DERIVE_FORMATS,
|
|
@@ -454,26 +465,18 @@ import {
|
|
|
454
465
|
runVendorSchema,
|
|
455
466
|
stringifyValue,
|
|
456
467
|
vendorFileName
|
|
457
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-6HWBRZIN.js";
|
|
469
|
+
import "./chunk-M42DZCOU.js";
|
|
458
470
|
import {
|
|
459
471
|
BinMissing,
|
|
460
|
-
EXTERNAL_DUPLICATE_SCHEMA,
|
|
461
|
-
EXTERNAL_KEYWORD,
|
|
462
|
-
EXTERNAL_METADATA_FETCH_MAX_BYTES,
|
|
463
|
-
EXTERNAL_METADATA_FETCH_TIMEOUT_MS,
|
|
464
|
-
EXTERNAL_OWNED_SCHEMA,
|
|
465
472
|
FIELD_SOURCES,
|
|
466
|
-
GRAPH_OUTPUT_KEYWORD,
|
|
467
473
|
GitHubClient,
|
|
468
474
|
GitLabClient,
|
|
469
|
-
LOCATION_KEYWORD,
|
|
470
|
-
PATH_JOIN,
|
|
471
475
|
PATH_PLACEHOLDER,
|
|
472
476
|
RESOLVED_VIEW,
|
|
473
477
|
REVIEW_CACHE_DIR,
|
|
474
478
|
REVIEW_CACHE_VERSION,
|
|
475
479
|
ReviewCache,
|
|
476
|
-
Validator,
|
|
477
480
|
argvFor,
|
|
478
481
|
assertSourcesAvailable,
|
|
479
482
|
cachedClient,
|
|
@@ -483,26 +486,37 @@ import {
|
|
|
483
486
|
deriveFromCommands,
|
|
484
487
|
deriveFromReviews,
|
|
485
488
|
deriveMetadata,
|
|
486
|
-
externalMetadataJoin,
|
|
487
|
-
externalMetadataPointer,
|
|
488
|
-
fetchExternalMetadata,
|
|
489
489
|
identityFromOrigin,
|
|
490
490
|
isPerFile,
|
|
491
|
-
loadExternalMetadata,
|
|
492
|
-
memberOf,
|
|
493
491
|
mentionsResolved,
|
|
494
|
-
mergeExternalMetadata,
|
|
495
|
-
orphanEntries,
|
|
496
|
-
orphanError,
|
|
497
|
-
orphanJoins,
|
|
498
492
|
parseOriginUrl,
|
|
499
|
-
resolveEncryptionKey,
|
|
500
493
|
resolvedColumns,
|
|
501
494
|
run,
|
|
502
495
|
runValidate,
|
|
503
496
|
sourcesFor,
|
|
504
497
|
valueOf
|
|
505
|
-
} from "./chunk-
|
|
498
|
+
} from "./chunk-PCQ7ELJH.js";
|
|
499
|
+
import {
|
|
500
|
+
EXTERNAL_DUPLICATE_SCHEMA,
|
|
501
|
+
EXTERNAL_KEYWORD,
|
|
502
|
+
EXTERNAL_METADATA_FETCH_MAX_BYTES,
|
|
503
|
+
EXTERNAL_METADATA_FETCH_TIMEOUT_MS,
|
|
504
|
+
EXTERNAL_OWNED_SCHEMA,
|
|
505
|
+
GRAPH_OUTPUT_KEYWORD,
|
|
506
|
+
LOCATION_KEYWORD,
|
|
507
|
+
PATH_JOIN,
|
|
508
|
+
Validator,
|
|
509
|
+
externalMetadataJoin,
|
|
510
|
+
externalMetadataPointer,
|
|
511
|
+
fetchExternalMetadata,
|
|
512
|
+
loadExternalMetadata,
|
|
513
|
+
memberOf,
|
|
514
|
+
mergeExternalMetadata,
|
|
515
|
+
orphanEntries,
|
|
516
|
+
orphanError,
|
|
517
|
+
orphanJoins,
|
|
518
|
+
resolveEncryptionKey
|
|
519
|
+
} from "./chunk-GV56WGL2.js";
|
|
506
520
|
import {
|
|
507
521
|
COMMON_FORMATS,
|
|
508
522
|
QUERY_FORMATS,
|
|
@@ -513,7 +527,7 @@ import {
|
|
|
513
527
|
render,
|
|
514
528
|
renderJunit,
|
|
515
529
|
renderSarif
|
|
516
|
-
} from "./chunk-
|
|
530
|
+
} from "./chunk-D4N2V43Z.js";
|
|
517
531
|
import {
|
|
518
532
|
DEFAULT_SCHEMAS,
|
|
519
533
|
DEFAULT_TTL_HOURS,
|
|
@@ -556,7 +570,7 @@ import {
|
|
|
556
570
|
staleFindings,
|
|
557
571
|
supportedExtensions,
|
|
558
572
|
writeFileAtomic
|
|
559
|
-
} from "./chunk-
|
|
573
|
+
} from "./chunk-VSEBFHAY.js";
|
|
560
574
|
import "./chunk-YEUYKR62.js";
|
|
561
575
|
import {
|
|
562
576
|
palette,
|
|
@@ -571,10 +585,10 @@ import {
|
|
|
571
585
|
isMember,
|
|
572
586
|
parseCollections,
|
|
573
587
|
selectCollections
|
|
574
|
-
} from "./chunk-
|
|
588
|
+
} from "./chunk-QLWC7MKD.js";
|
|
575
589
|
import "./chunk-HX44GB4Z.js";
|
|
576
590
|
import "./chunk-QCHVR4ZM.js";
|
|
577
|
-
import "./chunk-
|
|
591
|
+
import "./chunk-2MJ62AYQ.js";
|
|
578
592
|
import "./chunk-OWBRDNRZ.js";
|
|
579
593
|
import "./chunk-G3T47CFV.js";
|
|
580
594
|
import {
|
|
@@ -1135,6 +1149,17 @@ __export(tracevals_exports, {
|
|
|
1135
1149
|
windowFor: () => windowFor,
|
|
1136
1150
|
writeManifest: () => writeManifest
|
|
1137
1151
|
});
|
|
1152
|
+
|
|
1153
|
+
// src/test/index.ts
|
|
1154
|
+
var test_exports = {};
|
|
1155
|
+
__export(test_exports, {
|
|
1156
|
+
TestError: () => TestError,
|
|
1157
|
+
realSpawn: () => realSpawn,
|
|
1158
|
+
renderGithub: () => renderGithub2,
|
|
1159
|
+
renderJson: () => renderJson2,
|
|
1160
|
+
renderPretty: () => renderPretty2,
|
|
1161
|
+
runTest: () => runTest
|
|
1162
|
+
});
|
|
1138
1163
|
export {
|
|
1139
1164
|
BinMissing,
|
|
1140
1165
|
COMMON_FORMATS,
|
|
@@ -1256,6 +1281,7 @@ export {
|
|
|
1256
1281
|
staleFindings,
|
|
1257
1282
|
stringifyValue,
|
|
1258
1283
|
supportedExtensions,
|
|
1284
|
+
test_exports as test,
|
|
1259
1285
|
tracevals_exports as tracevals,
|
|
1260
1286
|
valueOf,
|
|
1261
1287
|
vendorFileName,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/docevals/index.ts","../src/lint/index.ts","../src/graph/index.ts","../src/graph/runtime/assemble.ts","../src/graph/runtime/rdfjs.ts","../src/graph/schema.ts","../src/key/index.ts","../src/tracevals/index.ts"],"sourcesContent":["/** Programmatic API for manni docevals. */\nexport { loadConfig, parseConfig, DEFAULT_CONFIG_FILENAME } from \"./core/config.js\";\nexport type { DocevalsConfig, EvalDef, SuiteDef, ProviderName } from \"./core/config.js\";\nexport { discoverPages, readPage, stripFrontmatterBlock } from \"./core/discover.js\";\nexport type { PageFile } from \"./core/discover.js\";\nexport {\n loadExternalReader,\n withExternalMetadata,\n EVAL_KEYS,\n EXTERNAL_KEYS,\n} from \"./core/external.js\";\nexport type { ExternalMetadataReader, PageExternal } from \"./core/external.js\";\nexport { resolvePage, resolvePages } from \"./core/resolve.js\";\nexport type {\n EvalLocation,\n ResolvedEval,\n ResolvedPagePlan,\n PageProblem,\n} from \"./core/resolve.js\";\nexport { runList, renderList } from \"./commands/list.js\";\nexport type { ListOptions, ListRun } from \"./commands/list.js\";\nexport { runEvals } from \"./core/engine.js\";\nexport type {\n EngineReport,\n JudgeFn,\n JudgeOptions,\n RunOptions,\n RunProblem,\n} from \"./core/engine.js\";\nexport { runRun } from \"./commands/run.js\";\nexport type { RunCommandOptions } from \"./commands/run.js\";\n// From the library, not local copies: judge.ts calls the library's versions,\n// so re-exporting a second implementation here would let a consumer's\n// computeConsensus() diverge from what the judge actually ran — the drift this\n// extraction exists to end.\nexport { computeConsensus, zoneFor } from \"@hawkeyexl/inference\";\nexport type { ZoneThresholds } from \"@hawkeyexl/inference\";\nexport { makeJudge } from \"./judge/judge.js\";\nexport {\n makeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n} from \"./judge/provider.js\";\n// The provider contract and the offline test seam come from the shared\n// inference layer; re-exported so downstream code keeps one import site.\n// `InferenceProvider` is what this package used to call `JudgeProvider`.\nexport {\n MockProvider,\n mockVerdict,\n type CompleteJSONRequest,\n type CompleteJSONResponse,\n type InferenceProvider,\n type MockResponse,\n} from \"@hawkeyexl/inference\";\nexport {\n render,\n parseFormat,\n REPORT_FORMATS,\n SUMMARY_FORMATS,\n} from \"./reporters/index.js\";\nexport type { ColorOptions, ReportFormat, SummaryFormat } from \"./reporters/index.js\";\nexport {\n listReviews,\n renderReviews,\n runReview,\n} from \"./commands/review.js\";\nexport { runGenerate } from \"./commands/generate.js\";\nexport type { GenerateOptions, GenerateRun } from \"./commands/generate.js\";\nexport { runFill, renderFill } from \"./commands/fill.js\";\nexport type {\n FillOptions,\n FillReport,\n FillPageResult,\n FillStatus,\n ProposedEval,\n} from \"./commands/fill.js\";\nexport {\n FILL_PROMPT_VERSION,\n FILL_SYSTEM_PROMPT,\n PROPOSAL_SCHEMA,\n buildFillUser,\n isValidProposal,\n} from \"./fill/prompt.js\";\nexport { FillCache, fillCacheKey } from \"./fill/cache.js\";\nexport { runPromote } from \"./commands/promote.js\";\nexport type { PromoteOptions, PromoteProposal } from \"./commands/promote.js\";\nexport { makeGenerateScripts, scriptLocationFor } from \"./graders/scriptgen.js\";\nexport {\n runCalibrate,\n renderCalibration,\n loadGoldenCases,\n seedGoldenCases,\n GOLDEN_DIR,\n SEEDED_GOLDEN_FILE,\n} from \"./commands/calibrate.js\";\nexport type {\n CalibrateOptions,\n CalibrationReport,\n CalibrationCaseResult,\n GoldenCase,\n SeedResult,\n} from \"./commands/calibrate.js\";\nexport { runInit } from \"./commands/init.js\";\nexport { registerGrader, graderFor, listGraderKinds } from \"./graders/registry.js\";\nexport type { Grader, GraderContext, GraderTarget, ExecFn } from \"./graders/types.js\";\nexport {\n updatePageEval,\n updateConfigEval,\n appendPageEvals,\n} from \"./core/frontmatter-edit.js\";\nexport type { NewEvalEntry } from \"./core/frontmatter-edit.js\";\nexport { frontmatterSchema, FRONTMATTER_SCHEMA_ID } from \"./schema.js\";\n// The judge cache key and the exact body it hashes. Exported so that anything\n// asking \"is this verdict already cached?\" — `scripts/check-docs-cache.mjs`\n// above all — computes it with the judge's own code instead of reproducing the\n// composition by hand, which is how that script silently keyed on the raw page\n// body after the judge started prefixing the chunk budget.\nexport { cacheKey, judgeCacheBody } from \"./judge/cache.js\";\nexport type { JudgeCacheBody } from \"./judge/cache.js\";\nexport { readTarget } from \"./core/target.js\";\nexport * from \"./types.js\";\n","/** Programmatic API for manni lint. */\nimport { clearTemplateCaches } from \"./core/template-registry.js\";\nimport { clearMatcherCache } from \"./core/resolve-template.js\";\nimport { clearPatternCache } from \"./rules/index.js\";\n\n/**\n * Drop every process-lifetime cache: parsed built-ins, fetched template files,\n * compiled override globs, and compiled heading patterns.\n *\n * A CLI run never needs this - it lints one docset and exits, and the caches\n * are what stop a tree of one doctype from re-reading the same template per\n * page. A long-lived host is the different case: the maps grow with the number\n * of distinct refs and patterns seen, and a cached remote template is served\n * for the life of the process, so one republished upstream is never picked up.\n * Call this between runs, or when a template may have changed underneath.\n */\nexport function clearCaches(): void {\n clearTemplateCaches();\n clearMatcherCache();\n clearPatternCache();\n}\n\nexport { runLint, STDIN_LABEL } from \"./commands/lint.js\";\nexport type {\n LintOptions,\n LintRun,\n LintSummary,\n LintFileResult,\n} from \"./commands/lint.js\";\nexport { runTemplates, BUILTIN_SOURCE } from \"./commands/templates.js\";\nexport type {\n TemplateInfo,\n TemplatesInfo,\n TemplatesOptions,\n} from \"./commands/templates.js\";\nexport { runTools, BUILT_IN_DEFAULTS } from \"./commands/tools.js\";\nexport type { FormatInfo, ToolInfo, ToolsOptions } from \"./commands/tools.js\";\nexport {\n LINT_JOBS,\n LINT_TOOLS,\n TOOLS_BY_JOB,\n isLintTool,\n loadConfig,\n parseConfig,\n rebaseConfig,\n resolveLintRun,\n} from \"./core/config.js\";\nexport type {\n LintConfig,\n LintJob,\n LintJobConfig,\n LintRunOptions,\n LintTool,\n ResolvedLintRun,\n} from \"./core/config.js\";\nexport { validateDocument, validateSections } from \"./core/validator.js\";\nexport { matchSections } from \"./core/match.js\";\nexport type { Match, MatchResult } from \"./core/match.js\";\nexport {\n BLOCK_KINDS,\n headingMatches,\n isWildcard,\n occurrenceRange,\n} from \"./core/template.js\";\nexport type {\n AdmonitionsRule,\n AttributesRule,\n BlockKind,\n BlockRule,\n CodeBlocksRule,\n ElementsRule,\n HeadingRule,\n ImagesRule,\n ListItemsRule,\n ListsRule,\n Occurrences,\n ParagraphsRule,\n Rule,\n TablesRule,\n Template,\n TemplateFile,\n} from \"./core/template.js\";\nexport {\n listBuiltins,\n loadTemplate,\n loadTemplateFile,\n resolveExtends,\n classifyRef,\n} from \"./core/template-registry.js\";\nexport type {\n BuiltinInfo,\n LoadTemplateOptions,\n RefKind,\n TemplateResolver,\n} from \"./core/template-registry.js\";\n// Targets resolve through the family's walker (`src/meta/internal.ts`), which\n// is what makes `--ext`, `--exclude`, `.gitignore` handling and `--allow-empty`\n// mean the same thing here as they do for `meta` and `cite`.\nexport { STDIN_TOKEN } from \"../meta/internal.js\";\nexport {\n listFormats,\n parserByName,\n parserForExtension,\n supportedExtensions,\n} from \"./parsers/index.js\";\nexport {\n render,\n renderPretty,\n renderJson,\n renderGithub,\n renderJunit,\n renderTemplates,\n renderTools,\n} from \"./reporters/index.js\";\nexport type {\n ReportFormat,\n ReportOptions,\n ListFormat,\n} from \"./reporters/index.js\";\nexport { renderSarif } from \"./reporters/sarif.js\";\nexport type { SarifOptions } from \"./reporters/sarif.js\";\n// A finding's durable identity, so a caller filing or correlating findings\n// spells the id the same way every reporter does.\nexport { RULE_ID_PREFIX, TOOL_NAME, ruleId, ruleName } from \"./core/rule-id.js\";\n// Colour is the family's decision, made once in `src/shared/color.js`. These\n// are re-exported here so a library caller building lint's reports does not\n// have to reach for another tool's entry point to turn ANSI on or off.\nexport { palette, shouldColor } from \"../shared/color.js\";\nexport * from \"./types.js\";\n","/** The graph tool's public API. */\nexport * from \"./types.js\";\nexport {\n defaultConfig,\n loadConfig,\n loadRunConfig,\n parseConfig,\n type GraphConfig,\n type DeriveSource,\n type FillField,\n} from \"./core/config.js\";\nexport {\n COVERAGE_FIELDS,\n COVERAGE_FIELD_NAMES,\n // reference/library-api.mdx names this alongside the other two, so it has to\n // be reachable from the entry point that page tells consumers to import from.\n SECTION_COVERAGE_FIELDS,\n type CoverageField,\n} from \"./core/coverage.js\";\nexport {\n discoverFiles,\n resolveDocumentSet,\n type DocumentInputOptions,\n type DocumentSetOptions,\n} from \"./core/discover.js\";\nexport {\n GRAPH_NOT_APPLICABLE_TO_VARIANT,\n GRAPH_NOT_SOFTWARE_SUBJECT,\n SOFTWARE_LIFECYCLE_IRIS,\n SOFTWARE_SUBJECT_IRIS,\n TOPIC_TYPE_IRIS,\n} from \"./core/iirds.js\";\nexport {\n conceptSlug,\n encodeSegment,\n mintAgentIri,\n type AgentKind,\n mintBuildActivityIri,\n mintConceptIri,\n mintDocIri,\n mintGraphIri,\n mintProductIri,\n mintSchemeIri,\n mintSectionIri,\n normalizeDocPath,\n resolveBaseIri,\n} from \"./core/iri.js\";\nexport { analyzeDoc } from \"./core/analyze.js\";\nexport {\n deriveGraph,\n type DeriveOptions,\n type Quad,\n type Term,\n} from \"./core/derive.js\";\nexport {\n collectGitHistory,\n type GitFileHistory,\n type GitHistory,\n} from \"./core/git.js\";\nexport { emitTurtle } from \"./core/emit.js\";\nexport { emitJsonLd } from \"./core/emit-jsonld.js\";\nexport { emitRdfXml } from \"./core/emit-rdfxml.js\";\nexport { writeZip, type ZipEntry } from \"./core/zip.js\";\nexport {\n projectPackage,\n type IirdsPackageOptions,\n type PackageProjection,\n type ContentFile,\n} from \"./core/iirds-package.js\";\nexport {\n loadGraph,\n expandTerm,\n compactIri,\n storeToQuads,\n} from \"./core/load.js\";\n/**\n * The browser-native GraphRAG runtime is also published as the `@hawkeyexl/manni/graph/runtime`\n * subpath, which is the import to use in a browser: it has no `node:` imports\n * and no dependencies (ADR 01018).\n */\nexport * from \"./runtime/index.js\";\nexport {\n applyGraphFields,\n existingGraphFields,\n existingMetaProvenance,\n frontmatterKind,\n type GraphApplyOptions,\n type GraphApplyResult,\n} from \"./core/frontmatter-edit.js\";\nexport { NS, PREFIXES } from \"./core/vocab.js\";\nexport {\n runBuild,\n type BuildOptions,\n type BuildResult,\n} from \"./commands/build.js\";\nexport { frontmatterSchema, FRONTMATTER_SCHEMA_ID } from \"./schema.js\";\nexport {\n runExport,\n type ExportOptions,\n type ExportResult,\n type ExportFormat,\n} from \"./commands/export.js\";\nexport {\n runQuery,\n type QueryOptions,\n type QueryResult,\n} from \"./commands/query.js\";\nexport {\n runStats,\n type CoverageRow,\n type StatsOptions,\n type StatsReport,\n} from \"./commands/stats.js\";\nexport {\n runTraverse,\n renderTraverse,\n type TraverseOptions as TraverseCommandOptions,\n type TraverseReport,\n} from \"./commands/traverse.js\";\nexport {\n runSearch,\n renderSearch,\n type SearchHit,\n type SearchOptions,\n type SearchReport,\n} from \"./commands/search.js\";\nexport {\n runEmbed,\n renderEmbed,\n embedText,\n type EmbedOptions,\n type EmbedReport,\n} from \"./commands/embed.js\";\nexport {\n createLocalEmbedder,\n createMockEmbedder,\n EmbedderUnavailableError,\n DEFAULT_MODEL,\n MODEL_PROFILES,\n profileFor,\n withPrefix,\n type EmbedRole,\n type Embedder,\n type LocalEmbedderOptions,\n type MockEmbedderOptions,\n type ModelProfile,\n} from \"./embed/index.js\";\nexport {\n buildSearchIndex,\n documentsByLanguage,\n emitSearchIndex,\n partitionByLanguage,\n type SearchEntry,\n type SearchIndexDoc,\n type SearchIndexOptions,\n} from \"./core/search-index.js\";\nexport {\n emitLocalizations,\n LOCALIZATIONS_FILENAME,\n parseLocalizations,\n searchIndexFilename,\n UNDETERMINED,\n vectorIndexFilename,\n type LocalizationEntry,\n type LocalizationsDoc,\n type SearchArtifact,\n type VectorArtifact,\n} from \"./core/localizations.js\";\nexport {\n runFill,\n type FillOptions,\n type FillReport,\n type FillDocResult,\n} from \"./commands/fill.js\";\n// The inference layer is @hawkeyexl/inference; re-exported here so downstream\n// code that only depends on dockg can still construct providers and drive the\n// offline test seam without adding a second dependency.\nexport {\n MockProvider,\n type CompleteJSONRequest,\n type CompleteJSONResponse,\n type InferenceProvider,\n type MockResponse,\n} from \"@hawkeyexl/inference\";\nexport {\n assertProviderSelection,\n constructProvider,\n makeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n selectProvider,\n type ProviderChoice,\n type ProviderFlags,\n type ProviderSelection,\n} from \"./llm/provider.js\";\n","/**\n * Context assembly (ADR 01018) — the runtime's terminal stage.\n *\n * Turns traversed nodes into the bundle an inference engine consumes:\n * `{ context, citations, trace, refusal? }`. **dockg stops here**: it never\n * calls a model. A different tool (an agent over MCP, a site backend) takes the\n * bundle onward, which keeps this runtime fully deterministic and keeps API\n * keys and inference cost outside dockg entirely.\n *\n * When nothing survives retrieval the result is a *structured refusal*, never\n * empty context — a caller must be able to tell \"no route exists\" apart from\n * \"here is nothing, proceed anyway\" (the disciplined-silence contract).\n *\n * Platform-neutral: no `node:` imports, no npm dependencies.\n */\nimport type { ContentResolver } from \"./resolve.js\";\nimport type { EntryCandidate, QueryTrace } from \"./trace.js\";\nimport { createTrace } from \"./trace.js\";\nimport type { TraversedNode } from \"./traverse.js\";\n\nexport interface ContextBlock {\n iri: string;\n title?: string;\n text: string;\n sourceUrl: string;\n /** Hops from the nearest seed — the relevance signal, carried through. */\n depth: number;\n}\n\nexport interface Citation {\n iri: string;\n title?: string;\n sourceUrl: string;\n}\n\nexport type RefusalReason = \"no-route\" | \"no-content\";\n\nexport interface Refusal {\n reason: RefusalReason;\n detail: string;\n}\n\n/**\n * The rankings that produced the seeds, carried through to the caller.\n *\n * Retrieval answers two different questions — \"what matched the query?\" and\n * \"what is the graph connected to it?\" — and a consumer needs both. Returning\n * only the graph result would make the match rankings inferrable solely from the\n * trace, which is diagnostic rather than a result surface (ADR 01020).\n */\nexport interface EntryRankings {\n /** The lexical leg's own ranking. */\n lexical: EntryCandidate[];\n /** The vector leg's own ranking; empty when no embedder was in play. */\n vector: EntryCandidate[];\n /** The fused ranking that actually seeded traversal. */\n merged: EntryCandidate[];\n}\n\nexport interface RetrievalBundle {\n /** What matched the query, per leg. Absent when seeds were given explicitly. */\n entry?: EntryRankings;\n context: ContextBlock[];\n citations: Citation[];\n trace: QueryTrace;\n /** Present when retrieval found nothing usable. `context` is then empty. */\n refusal?: Refusal;\n /** True when the character budget dropped otherwise-eligible blocks. */\n truncated: boolean;\n}\n\nexport interface AssembleOptions {\n /** Character budget across all blocks. Default: unbounded. */\n maxChars?: number;\n /** Append to an existing trace (normally the traversal's). */\n trace?: QueryTrace;\n /**\n * The entry rankings that produced these nodes, passed through to the bundle\n * so callers see matches and graph results side by side.\n */\n entry?: EntryRankings;\n}\n\n/**\n * Resolve traversed nodes to text and assemble the retrieval bundle. Nodes are\n * kept in traversal order (nearest-first), which is deterministic, and every\n * block carries the IRI it came from so citations are structural, not inferred.\n */\nexport async function assemble(\n resolver: ContentResolver,\n nodes: TraversedNode[],\n options: AssembleOptions = {},\n): Promise<RetrievalBundle> {\n const trace = options.trace ?? createTrace();\n const budget = options.maxChars ?? Infinity;\n\n if (nodes.length === 0) {\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context: [],\n citations: [],\n trace,\n truncated: false,\n refusal: {\n reason: \"no-route\",\n detail:\n \"No node in the graph was reachable for this query under the active scope filter.\",\n },\n };\n }\n\n const context: ContextBlock[] = [];\n let used = 0;\n let truncated = false;\n let resolvedAny = false;\n\n for (const node of nodes) {\n const resolved = await resolver.resolve(node.iri);\n if (!resolved) continue;\n resolvedAny = true;\n if (used + resolved.text.length > budget) {\n truncated = true;\n continue;\n }\n used += resolved.text.length;\n context.push({\n iri: resolved.iri,\n title: resolved.title,\n text: resolved.text,\n sourceUrl: resolved.sourceUrl,\n depth: node.depth,\n });\n }\n\n if (context.length === 0) {\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context: [],\n citations: [],\n trace,\n truncated,\n refusal: {\n reason: \"no-content\",\n detail: resolvedAny\n ? \"Every matching node's content exceeded the character budget.\"\n : \"Matching nodes were found, but none of them resolved to readable content.\",\n },\n };\n }\n\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context,\n citations: context.map((b) => ({\n iri: b.iri,\n title: b.title,\n sourceUrl: b.sourceUrl,\n })),\n trace,\n truncated,\n };\n}\n","/**\n * RDF/JS interop — the custom-SPARQL escape hatch (ADR 01018).\n *\n * The runtime's own walker is deliberately not a SPARQL engine: it is 0 KB and\n * it records a trace. But arbitrary user-authored SPARQL is a legitimate need,\n * so the index can hand out its contents as standard **RDF/JS quads**. Feed\n * them to any RDF/JS store and query with any engine:\n *\n * ```js\n * import { Store } from \"n3\";\n * import { QueryEngine } from \"@comunica/query-sparql-rdfjs-lite\";\n * const store = new Store(rdfjsQuads(graph));\n * const bindings = await new QueryEngine().queryBindings(sparql, { sources: [store] });\n * ```\n *\n * Quads are plain data rather than a hand-rolled `Source` stream on purpose:\n * every engine already accepts a store, stores accept quad arrays, and faking\n * Node's stream contract in a browser-safe module is fragile for no gain. At\n * docs scale materializing is trivial (the reference corpus is 172 quads).\n *\n * Honest caveat: engine results are bindings, not walker traces —\n * explainability lives in the walker API.\n *\n * The term shapes are structural, so they are hand-rolled here rather than\n * pulled from `@rdfjs/data-model`, keeping the runtime dependency-free and\n * browser-safe.\n */\nimport { byCodeUnit } from \"../core/sort.js\";\nimport type { GraphIndex, Value } from \"./graph.js\";\n\nconst XSD_STRING = \"http://www.w3.org/2001/XMLSchema#string\";\n\nexport interface RdfTerm {\n termType: \"NamedNode\" | \"Literal\" | \"DefaultGraph\";\n value: string;\n language?: string;\n datatype?: RdfTerm;\n equals(other?: RdfTerm | null): boolean;\n}\n\nexport interface RdfQuad {\n termType: \"Quad\";\n subject: RdfTerm;\n predicate: RdfTerm;\n object: RdfTerm;\n graph: RdfTerm;\n equals(other?: RdfQuad | null): boolean;\n}\n\nexport function namedNode(value: string): RdfTerm {\n return {\n termType: \"NamedNode\",\n value,\n equals(other) {\n return !!other && other.termType === \"NamedNode\" && other.value === value;\n },\n };\n}\n\nexport function defaultGraph(): RdfTerm {\n return {\n termType: \"DefaultGraph\",\n value: \"\",\n equals(other) {\n return !!other && other.termType === \"DefaultGraph\";\n },\n };\n}\n\nexport function literal(value: string, datatype?: string): RdfTerm {\n const dt = namedNode(datatype ?? XSD_STRING);\n return {\n termType: \"Literal\",\n value,\n language: \"\",\n datatype: dt,\n equals(other) {\n return (\n !!other &&\n other.termType === \"Literal\" &&\n other.value === value &&\n !!other.datatype &&\n other.datatype.value === dt.value\n );\n },\n };\n}\n\nfunction toTerm(v: Value): RdfTerm {\n return v.kind === \"iri\" ? namedNode(v.value) : literal(v.value, v.datatype);\n}\n\nfunction makeQuad(s: string, p: string, o: Value): RdfQuad {\n const subject = namedNode(s);\n const predicate = namedNode(p);\n const object = toTerm(o);\n const graph = defaultGraph();\n return {\n termType: \"Quad\",\n subject,\n predicate,\n object,\n graph,\n equals(other) {\n return (\n !!other &&\n subject.equals(other.subject) &&\n predicate.equals(other.predicate) &&\n object.equals(other.object)\n );\n },\n };\n}\n\n/**\n * The whole index as RDF/JS quads, in the index's deterministic order. Feed to\n * any RDF/JS store (`new Store(rdfjsQuads(graph))`) to run SPARQL.\n */\nexport function rdfjsQuads(graph: GraphIndex): RdfQuad[] {\n const quads: RdfQuad[] = [];\n for (const s of graph.ids()) {\n const node = graph.node(s);\n if (!node) continue;\n for (const p of [...node.props.keys()].sort(byCodeUnit)) {\n for (const v of node.props.get(p) ?? []) quads.push(makeQuad(s, p, v));\n }\n }\n return quads;\n}\n\n/**\n * Triple-pattern match returning RDF/JS quads. A null/undefined position is a\n * wildcard. Convenience for callers who want RDF/JS terms without pulling in a\n * store; the walker API is the richer (and traced) way to query.\n */\nexport function matchQuads(\n graph: GraphIndex,\n subject?: string | null,\n predicate?: string | null,\n object?: string | null,\n): RdfQuad[] {\n const quads: RdfQuad[] = [];\n const subjects = subject ? [subject] : graph.ids();\n for (const s of subjects) {\n const node = graph.node(s);\n if (!node) continue;\n const predicates = predicate\n ? [predicate]\n : [...node.props.keys()].sort(byCodeUnit);\n for (const p of predicates) {\n for (const v of node.props.get(p) ?? []) {\n if (object !== undefined && object !== null && v.value !== object) {\n continue;\n }\n quads.push(makeQuad(s, p, v));\n }\n }\n }\n return quads;\n}\n","/**\n * The page vocabulary manni graph implements: `manni:graph:1.0.0`, the built-in\n * schema the metadata tool publishes under `src/meta/schemas/`. It defines the\n * `graph:` block a page carries. Pages are validated against that schema\n * itself, imported and bundled into the build, so graph and `manni meta validate`\n * read the same bytes.\n *\n * graph ships no copy of the schema. A copy is a second artifact to keep in step,\n * with nothing but a test to say the two still match. A consumer who wants to\n * validate pages names `manni:graph:1.0.0` to `manni meta validate`, or\n * validates programmatically against the object below.\n */\nimport schema from \"../meta/schemas/graph/1.0.0.json\" with { type: \"json\" };\n\n/** The graph vocabulary, for validators that accept an inline schema. */\nexport const frontmatterSchema = schema as Record<string, unknown>;\n\n/** The vocabulary's `$id`: `manni:graph:1.0.0`. */\nexport const FRONTMATTER_SCHEMA_ID: string = schema.$id;\n","/**\n * The key domain's programmatic API, exported from the package as the `key`\n * namespace: `import { key } from \"@hawkeyexl/manni\"`. The command cores, and\n * the family's encryption primitives a caller needs beside them.\n */\nexport * from \"./types.js\";\nexport { KeyError } from \"./errors.js\";\nexport { runKeySet } from \"./commands/set.js\";\nexport { runKeyRotate } from \"./commands/rotate.js\";\nexport { decryptValue, encryptValue, isEncryptedValue } from \"../shared/encryption.js\";\nexport type { EncryptionContext } from \"../shared/encryption.js\";\nexport { resolveEncryptionKey } from \"../shared/encryption-key.js\";\nexport type { KeySource, ResolvedKey } from \"../shared/encryption-key.js\";\n","/** Programmatic API for manni tracevals. */\nexport * from \"./types.js\";\nexport * from \"./trace/types.js\";\nexport { detectFormat, detectContentFormat } from \"./trace/detect.js\";\nexport { parseTraceFile, parseTraceContent } from \"./trace/claude.js\";\nexport {\n availableAt,\n joinDescriptions,\n newAvailability,\n offeredNames,\n} from \"./trace/availability.js\";\nexport {\n configDir,\n discoverTraces,\n slugFor,\n type DiscoverOptions,\n type TraceListing,\n} from \"./trace/discover.js\";\nexport { renderList, runList, type ListOptions, type ListRun } from \"./commands/list.js\";\nexport * from \"./artifacts/types.js\";\nexport {\n PROJECT_RULES_FILENAMES,\n resolveArtifacts,\n type ResolveOptions,\n} from \"./artifacts/resolve.js\";\nexport {\n coverAvailability,\n type AvailabilityCoverage,\n type AvailabilityOptions,\n} from \"./artifacts/availability.js\";\nexport {\n discoverArtifacts,\n type DiscoverOptions as DiscoverArtifactsOptions,\n type DiscoveredArtifact,\n type DiscoveryResult,\n} from \"./artifacts/discover.js\";\nexport {\n PRUNED_DIRS,\n findGitRoot,\n findInTree,\n listInTree,\n safeMtime,\n safeRead,\n} from \"./artifacts/fs.js\";\nexport {\n ARTIFACT_EVALS_SCHEMA_ID,\n extractEvals,\n type EvalEntry,\n type EvalType,\n type ExtractedEvals,\n type Severity,\n} from \"./evals/extract.js\";\nexport {\n appendArtifactEvals,\n type EvalProvenance,\n type NewEvalEntry,\n} from \"./evals/write.js\";\nexport {\n IMPLICIT_EVAL_NAME,\n planEvals,\n type EvalLocation,\n type EvalPlan,\n type SuppliedMetadata,\n} from \"./core/plan.js\";\nexport * from \"./graders/types.js\";\nexport {\n BUILTIN_GRADER_KINDS,\n graderFor,\n listGraderKinds,\n registerGrader,\n} from \"./graders/registry.js\";\nexport {\n loadGraderPlugins,\n type GraderPluginApi,\n type GraderPluginRegister,\n type LoadGraderPluginsOptions,\n type LoadedGraderPlugins,\n} from \"./graders/plugins.js\";\nexport { skippedWindow, windowFor, type TraceWindow } from \"./graders/util.js\";\nexport { globToRegExp, matchesGlob } from \"./graders/glob.js\";\nexport {\n WHEN_CONDITIONS,\n evaluateWhen,\n validateWhen,\n type TriggerResult,\n type WhenCondition,\n} from \"./graders/when.js\";\nexport { renderTrace, type RenderOptions } from \"./judge/render.js\";\nexport {\n CUSTOM_PLACEHOLDER,\n REDACTION_PATTERNS,\n compileRedactPatterns,\n makeRedactor,\n type RedactionPattern,\n type Redactor,\n} from \"./judge/redact.js\";\nexport {\n JUDGE_SYSTEM_PROMPT,\n PROMPT_VERSION,\n buildUserContent,\n} from \"./judge/prompt.js\";\nexport { VerdictCache, cacheKey, sha256 } from \"./judge/cache.js\";\nexport {\n makeTraceJudge,\n type JudgedEval,\n type TraceJudge,\n type TraceJudgeOptions,\n} from \"./judge/trace-judge.js\";\nexport {\n announceSelection,\n assertProviderSelection,\n constructProvider,\n makeJudgeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n selectProvider,\n type JudgeProviderOptions,\n type MockResponse,\n type ProviderChoice,\n type ProviderFlags,\n type ProviderSelection,\n} from \"./judge/provider.js\";\nexport {\n CONFIG_SECTION_KEY,\n DEFAULT_CONFIG_FILENAME,\n loadConfig,\n parseConfig,\n type ConfigFileContext,\n type TracevalsConfig,\n} from \"./core/config.js\";\nexport { runEvals, type EngineOptions } from \"./core/engine.js\";\nexport {\n render,\n renderBatch,\n renderCalibration,\n parseFormat,\n REPORT_FORMATS,\n SUMMARY_FORMATS,\n type ReportFormat,\n type SummaryFormat,\n} from \"./reporters/index.js\";\nexport { renderBatchPretty, renderBatchMarkdown } from \"./reporters/batch.js\";\nexport {\n renderCalibrationPretty,\n renderCalibrationMarkdown,\n} from \"./reporters/calibration.js\";\nexport { aggregate, type BatchOutcome } from \"./aggregate.js\";\nexport {\n prepareRun,\n runOne,\n runRun,\n type RunCommandOptions,\n type RunCommandResult,\n type RunContext,\n type RunSharedOptions,\n} from \"./commands/run.js\";\nexport {\n keepNewerThan,\n parseNewerThan,\n resolveBatchTraces,\n runBatch,\n type BatchCommandOptions,\n type BatchCommandResult,\n} from \"./commands/batch.js\";\nexport {\n runCalibrate,\n type CalibrateCommandOptions,\n type CalibrateCommandResult,\n} from \"./commands/calibrate.js\";\nexport * from \"./calibrate/types.js\";\nexport {\n DEFAULT_LABELS_FILE,\n labelKey,\n loadLabels,\n parseLabels,\n} from \"./calibrate/labels.js\";\nexport {\n classify,\n joinLabels,\n rescore,\n score,\n type JoinedLabel,\n type AmbiguousLabel,\n type JoinResult,\n type Rescored,\n type ScoreInput,\n type ScoreResult,\n} from \"./calibrate/score.js\";\nexport {\n renderFill,\n runFill,\n type FillArtifactResult,\n type FillOptions,\n type FillReport,\n type FillRun,\n type FillStatus,\n type SharpeningNote,\n} from \"./commands/fill.js\";\nexport {\n ALLOWED_GRADERS,\n gateProposals,\n type GateOptions,\n type GateResult,\n type ProposedEval,\n type Rejection,\n type RejectionReason,\n type Vocabulary,\n} from \"./fill/gate.js\";\nexport {\n FILL_PROMPT_VERSION,\n MAX_BODY_CHARS,\n PROPOSAL_SCHEMA,\n buildFillUser,\n isValidProposal,\n systemPromptFor,\n} from \"./fill/prompt.js\";\nexport { FillCache, fillCacheKey, type FillCacheKeyParts } from \"./fill/cache.js\";\nexport { artifactFacts, type ArtifactFacts } from \"./fill/facts.js\";\nexport { BUILTIN_TOOLS, buildVocabulary } from \"./fill/vocabulary.js\";\nexport { mockFillProposal } from \"./fill/mock.js\";\nexport { pickTrace, type PickerChoice, type PromptFn } from \"./trace/picker.js\";\nexport {\n appendHistory,\n compareToLast,\n entryFor,\n loadHistory,\n type HistoryComparison,\n type HistoryEntry,\n type HistoryEval,\n} from \"./history.js\";\nexport * from \"./capture/types.js\";\nexport {\n checkContent,\n findManifest,\n hashFile,\n manifestPathFor,\n readManifest,\n relPosix,\n safeSessionId,\n sha256Hex,\n siblingManifestPath,\n writeManifest,\n type FindManifestOptions,\n type FoundManifest,\n} from \"./capture/manifest.js\";\nexport {\n buildManifest,\n deviceId,\n readGit,\n redactDeep,\n type BuildManifestOptions,\n} from \"./capture/build.js\";\nexport { parseHookPayload, readStdin, type HookPayload } from \"./capture/hook.js\";\nexport {\n renderCapture,\n runCapture,\n type CaptureCommandOptions,\n type CaptureCommandResult,\n} from \"./commands/capture.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":["REPORT_FORMATS","loadConfig","parseConfig","render","renderFill","runFill","classifyRef","listBuiltins","loadConfig","parseConfig","render","renderJunit","renderSarif","supportedExtensions","FRONTMATTER_SCHEMA_ID","MockProvider","frontmatterSchema","loadConfig","makeProvider","parseConfig","providerSpecFor","resolveProviderIdentity","runFill","runQuery","frontmatterSchema","FRONTMATTER_SCHEMA_ID","MockProvider","DEFAULT_CONFIG_FILENAME","FILL_PROMPT_VERSION","FillCache","PROPOSAL_SCHEMA","REPORT_FORMATS","SUMMARY_FORMATS","assertProviderSelection","buildFillUser","cacheKey","constructProvider","fillCacheKey","graderFor","isValidProposal","listGraderKinds","loadConfig","parseConfig","parseFormat","providerSpecFor","registerGrader","render","renderCalibration","renderFill","renderList","resolveProviderIdentity","runCalibrate","runEvals","runFill","runList","runRun","selectProvider"]}
|
|
1
|
+
{"version":3,"sources":["../src/docevals/index.ts","../src/lint/index.ts","../src/graph/index.ts","../src/graph/runtime/assemble.ts","../src/graph/runtime/rdfjs.ts","../src/graph/schema.ts","../src/key/index.ts","../src/tracevals/index.ts","../src/test/index.ts"],"sourcesContent":["/** Programmatic API for manni docevals. */\nexport { loadConfig, parseConfig, DEFAULT_CONFIG_FILENAME } from \"./core/config.js\";\nexport type { DocevalsConfig, EvalDef, SuiteDef, ProviderName } from \"./core/config.js\";\nexport { discoverPages, readPage, stripFrontmatterBlock } from \"./core/discover.js\";\nexport type { PageFile } from \"./core/discover.js\";\nexport {\n loadExternalReader,\n withExternalMetadata,\n EVAL_KEYS,\n EXTERNAL_KEYS,\n} from \"./core/external.js\";\nexport type { ExternalMetadataReader, PageExternal } from \"./core/external.js\";\nexport { resolvePage, resolvePages } from \"./core/resolve.js\";\nexport type {\n EvalLocation,\n ResolvedEval,\n ResolvedPagePlan,\n PageProblem,\n} from \"./core/resolve.js\";\nexport { runList, renderList } from \"./commands/list.js\";\nexport type { ListOptions, ListRun } from \"./commands/list.js\";\nexport { runEvals } from \"./core/engine.js\";\nexport type {\n EngineReport,\n JudgeFn,\n JudgeOptions,\n RunOptions,\n RunProblem,\n} from \"./core/engine.js\";\nexport { runRun } from \"./commands/run.js\";\nexport type { RunCommandOptions } from \"./commands/run.js\";\n// From the library, not local copies: judge.ts calls the library's versions,\n// so re-exporting a second implementation here would let a consumer's\n// computeConsensus() diverge from what the judge actually ran — the drift this\n// extraction exists to end.\nexport { computeConsensus, zoneFor } from \"@hawkeyexl/inference\";\nexport type { ZoneThresholds } from \"@hawkeyexl/inference\";\nexport { makeJudge } from \"./judge/judge.js\";\nexport {\n makeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n} from \"./judge/provider.js\";\n// The provider contract and the offline test seam come from the shared\n// inference layer; re-exported so downstream code keeps one import site.\n// `InferenceProvider` is what this package used to call `JudgeProvider`.\nexport {\n MockProvider,\n mockVerdict,\n type CompleteJSONRequest,\n type CompleteJSONResponse,\n type InferenceProvider,\n type MockResponse,\n} from \"@hawkeyexl/inference\";\nexport {\n render,\n parseFormat,\n REPORT_FORMATS,\n SUMMARY_FORMATS,\n} from \"./reporters/index.js\";\nexport type { ColorOptions, ReportFormat, SummaryFormat } from \"./reporters/index.js\";\nexport {\n listReviews,\n renderReviews,\n runReview,\n} from \"./commands/review.js\";\nexport { runGenerate } from \"./commands/generate.js\";\nexport type { GenerateOptions, GenerateRun } from \"./commands/generate.js\";\nexport { runFill, renderFill } from \"./commands/fill.js\";\nexport type {\n FillOptions,\n FillReport,\n FillPageResult,\n FillStatus,\n ProposedEval,\n} from \"./commands/fill.js\";\nexport {\n FILL_PROMPT_VERSION,\n FILL_SYSTEM_PROMPT,\n PROPOSAL_SCHEMA,\n buildFillUser,\n isValidProposal,\n} from \"./fill/prompt.js\";\nexport { FillCache, fillCacheKey } from \"./fill/cache.js\";\nexport { runPromote } from \"./commands/promote.js\";\nexport type { PromoteOptions, PromoteProposal } from \"./commands/promote.js\";\nexport { makeGenerateScripts, scriptLocationFor } from \"./graders/scriptgen.js\";\nexport {\n runCalibrate,\n renderCalibration,\n loadGoldenCases,\n seedGoldenCases,\n GOLDEN_DIR,\n SEEDED_GOLDEN_FILE,\n} from \"./commands/calibrate.js\";\nexport type {\n CalibrateOptions,\n CalibrationReport,\n CalibrationCaseResult,\n GoldenCase,\n SeedResult,\n} from \"./commands/calibrate.js\";\nexport { runInit } from \"./commands/init.js\";\nexport { registerGrader, graderFor, listGraderKinds } from \"./graders/registry.js\";\nexport type { Grader, GraderContext, GraderTarget, ExecFn } from \"./graders/types.js\";\nexport {\n updatePageEval,\n updateConfigEval,\n appendPageEvals,\n} from \"./core/frontmatter-edit.js\";\nexport type { NewEvalEntry } from \"./core/frontmatter-edit.js\";\nexport { frontmatterSchema, FRONTMATTER_SCHEMA_ID } from \"./schema.js\";\n// The judge cache key and the exact body it hashes. Exported so that anything\n// asking \"is this verdict already cached?\" — `scripts/check-docs-cache.mjs`\n// above all — computes it with the judge's own code instead of reproducing the\n// composition by hand, which is how that script silently keyed on the raw page\n// body after the judge started prefixing the chunk budget.\nexport { cacheKey, judgeCacheBody } from \"./judge/cache.js\";\nexport type { JudgeCacheBody } from \"./judge/cache.js\";\nexport { readTarget } from \"./core/target.js\";\nexport * from \"./types.js\";\n","/** Programmatic API for manni lint. */\nimport { clearTemplateCaches } from \"./core/template-registry.js\";\nimport { clearMatcherCache } from \"./core/resolve-template.js\";\nimport { clearPatternCache } from \"./rules/index.js\";\n\n/**\n * Drop every process-lifetime cache: parsed built-ins, fetched template files,\n * compiled override globs, and compiled heading patterns.\n *\n * A CLI run never needs this - it lints one docset and exits, and the caches\n * are what stop a tree of one doctype from re-reading the same template per\n * page. A long-lived host is the different case: the maps grow with the number\n * of distinct refs and patterns seen, and a cached remote template is served\n * for the life of the process, so one republished upstream is never picked up.\n * Call this between runs, or when a template may have changed underneath.\n */\nexport function clearCaches(): void {\n clearTemplateCaches();\n clearMatcherCache();\n clearPatternCache();\n}\n\nexport { runLint, STDIN_LABEL } from \"./commands/lint.js\";\nexport type {\n LintOptions,\n LintRun,\n LintSummary,\n LintFileResult,\n} from \"./commands/lint.js\";\nexport { runTemplates, BUILTIN_SOURCE } from \"./commands/templates.js\";\nexport type {\n TemplateInfo,\n TemplatesInfo,\n TemplatesOptions,\n} from \"./commands/templates.js\";\nexport { runTools, BUILT_IN_DEFAULTS } from \"./commands/tools.js\";\nexport type { FormatInfo, ToolInfo, ToolsOptions } from \"./commands/tools.js\";\nexport {\n LINT_JOBS,\n LINT_TOOLS,\n TOOLS_BY_JOB,\n isLintTool,\n loadConfig,\n parseConfig,\n rebaseConfig,\n resolveLintRun,\n} from \"./core/config.js\";\nexport type {\n LintConfig,\n LintJob,\n LintJobConfig,\n LintRunOptions,\n LintTool,\n ResolvedLintRun,\n} from \"./core/config.js\";\nexport { validateDocument, validateSections } from \"./core/validator.js\";\nexport { matchSections } from \"./core/match.js\";\nexport type { Match, MatchResult } from \"./core/match.js\";\nexport {\n BLOCK_KINDS,\n headingMatches,\n isWildcard,\n occurrenceRange,\n} from \"./core/template.js\";\nexport type {\n AdmonitionsRule,\n AttributesRule,\n BlockKind,\n BlockRule,\n CodeBlocksRule,\n ElementsRule,\n HeadingRule,\n ImagesRule,\n ListItemsRule,\n ListsRule,\n Occurrences,\n ParagraphsRule,\n Rule,\n TablesRule,\n Template,\n TemplateFile,\n} from \"./core/template.js\";\nexport {\n listBuiltins,\n loadTemplate,\n loadTemplateFile,\n resolveExtends,\n classifyRef,\n} from \"./core/template-registry.js\";\nexport type {\n BuiltinInfo,\n LoadTemplateOptions,\n RefKind,\n TemplateResolver,\n} from \"./core/template-registry.js\";\n// Targets resolve through the family's walker (`src/meta/internal.ts`), which\n// is what makes `--ext`, `--exclude`, `.gitignore` handling and `--allow-empty`\n// mean the same thing here as they do for `meta` and `cite`.\nexport { STDIN_TOKEN } from \"../meta/internal.js\";\nexport {\n listFormats,\n parserByName,\n parserForExtension,\n supportedExtensions,\n} from \"./parsers/index.js\";\nexport {\n render,\n renderPretty,\n renderJson,\n renderGithub,\n renderJunit,\n renderTemplates,\n renderTools,\n} from \"./reporters/index.js\";\nexport type {\n ReportFormat,\n ReportOptions,\n ListFormat,\n} from \"./reporters/index.js\";\nexport { renderSarif } from \"./reporters/sarif.js\";\nexport type { SarifOptions } from \"./reporters/sarif.js\";\n// A finding's durable identity, so a caller filing or correlating findings\n// spells the id the same way every reporter does.\nexport { RULE_ID_PREFIX, TOOL_NAME, ruleId, ruleName } from \"./core/rule-id.js\";\n// Colour is the family's decision, made once in `src/shared/color.js`. These\n// are re-exported here so a library caller building lint's reports does not\n// have to reach for another tool's entry point to turn ANSI on or off.\nexport { palette, shouldColor } from \"../shared/color.js\";\nexport * from \"./types.js\";\n","/** The graph tool's public API. */\nexport * from \"./types.js\";\nexport {\n defaultConfig,\n loadConfig,\n loadRunConfig,\n parseConfig,\n type GraphConfig,\n type DeriveSource,\n type FillField,\n} from \"./core/config.js\";\nexport {\n COVERAGE_FIELDS,\n COVERAGE_FIELD_NAMES,\n // reference/library-api.mdx names this alongside the other two, so it has to\n // be reachable from the entry point that page tells consumers to import from.\n SECTION_COVERAGE_FIELDS,\n type CoverageField,\n} from \"./core/coverage.js\";\nexport {\n discoverFiles,\n resolveDocumentSet,\n type DocumentInputOptions,\n type DocumentSetOptions,\n} from \"./core/discover.js\";\nexport {\n GRAPH_NOT_APPLICABLE_TO_VARIANT,\n GRAPH_NOT_SOFTWARE_SUBJECT,\n SOFTWARE_LIFECYCLE_IRIS,\n SOFTWARE_SUBJECT_IRIS,\n TOPIC_TYPE_IRIS,\n} from \"./core/iirds.js\";\nexport {\n conceptSlug,\n encodeSegment,\n mintAgentIri,\n type AgentKind,\n mintBuildActivityIri,\n mintConceptIri,\n mintDocIri,\n mintGraphIri,\n mintProductIri,\n mintSchemeIri,\n mintSectionIri,\n normalizeDocPath,\n resolveBaseIri,\n} from \"./core/iri.js\";\nexport { analyzeDoc } from \"./core/analyze.js\";\nexport {\n deriveGraph,\n type DeriveOptions,\n type Quad,\n type Term,\n} from \"./core/derive.js\";\nexport {\n collectGitHistory,\n type GitFileHistory,\n type GitHistory,\n} from \"./core/git.js\";\nexport { emitTurtle } from \"./core/emit.js\";\nexport { emitJsonLd } from \"./core/emit-jsonld.js\";\nexport { emitRdfXml } from \"./core/emit-rdfxml.js\";\nexport { writeZip, type ZipEntry } from \"./core/zip.js\";\nexport {\n projectPackage,\n type IirdsPackageOptions,\n type PackageProjection,\n type ContentFile,\n} from \"./core/iirds-package.js\";\nexport {\n loadGraph,\n expandTerm,\n compactIri,\n storeToQuads,\n} from \"./core/load.js\";\n/**\n * The browser-native GraphRAG runtime is also published as the `@hawkeyexl/manni/graph/runtime`\n * subpath, which is the import to use in a browser: it has no `node:` imports\n * and no dependencies (ADR 01018).\n */\nexport * from \"./runtime/index.js\";\nexport {\n applyGraphFields,\n existingGraphFields,\n existingMetaProvenance,\n frontmatterKind,\n type GraphApplyOptions,\n type GraphApplyResult,\n} from \"./core/frontmatter-edit.js\";\nexport { NS, PREFIXES } from \"./core/vocab.js\";\nexport {\n runBuild,\n type BuildOptions,\n type BuildResult,\n} from \"./commands/build.js\";\nexport { frontmatterSchema, FRONTMATTER_SCHEMA_ID } from \"./schema.js\";\nexport {\n runExport,\n type ExportOptions,\n type ExportResult,\n type ExportFormat,\n} from \"./commands/export.js\";\nexport {\n runQuery,\n type QueryOptions,\n type QueryResult,\n} from \"./commands/query.js\";\nexport {\n runStats,\n type CoverageRow,\n type StatsOptions,\n type StatsReport,\n} from \"./commands/stats.js\";\nexport {\n runTraverse,\n renderTraverse,\n type TraverseOptions as TraverseCommandOptions,\n type TraverseReport,\n} from \"./commands/traverse.js\";\nexport {\n runSearch,\n renderSearch,\n type SearchHit,\n type SearchOptions,\n type SearchReport,\n} from \"./commands/search.js\";\nexport {\n runEmbed,\n renderEmbed,\n embedText,\n type EmbedOptions,\n type EmbedReport,\n} from \"./commands/embed.js\";\nexport {\n createLocalEmbedder,\n createMockEmbedder,\n EmbedderUnavailableError,\n DEFAULT_MODEL,\n MODEL_PROFILES,\n profileFor,\n withPrefix,\n type EmbedRole,\n type Embedder,\n type LocalEmbedderOptions,\n type MockEmbedderOptions,\n type ModelProfile,\n} from \"./embed/index.js\";\nexport {\n buildSearchIndex,\n documentsByLanguage,\n emitSearchIndex,\n partitionByLanguage,\n type SearchEntry,\n type SearchIndexDoc,\n type SearchIndexOptions,\n} from \"./core/search-index.js\";\nexport {\n emitLocalizations,\n LOCALIZATIONS_FILENAME,\n parseLocalizations,\n searchIndexFilename,\n UNDETERMINED,\n vectorIndexFilename,\n type LocalizationEntry,\n type LocalizationsDoc,\n type SearchArtifact,\n type VectorArtifact,\n} from \"./core/localizations.js\";\nexport {\n runFill,\n type FillOptions,\n type FillReport,\n type FillDocResult,\n} from \"./commands/fill.js\";\n// The inference layer is @hawkeyexl/inference; re-exported here so downstream\n// code that only depends on dockg can still construct providers and drive the\n// offline test seam without adding a second dependency.\nexport {\n MockProvider,\n type CompleteJSONRequest,\n type CompleteJSONResponse,\n type InferenceProvider,\n type MockResponse,\n} from \"@hawkeyexl/inference\";\nexport {\n assertProviderSelection,\n constructProvider,\n makeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n selectProvider,\n type ProviderChoice,\n type ProviderFlags,\n type ProviderSelection,\n} from \"./llm/provider.js\";\n","/**\n * Context assembly (ADR 01018) — the runtime's terminal stage.\n *\n * Turns traversed nodes into the bundle an inference engine consumes:\n * `{ context, citations, trace, refusal? }`. **dockg stops here**: it never\n * calls a model. A different tool (an agent over MCP, a site backend) takes the\n * bundle onward, which keeps this runtime fully deterministic and keeps API\n * keys and inference cost outside dockg entirely.\n *\n * When nothing survives retrieval the result is a *structured refusal*, never\n * empty context — a caller must be able to tell \"no route exists\" apart from\n * \"here is nothing, proceed anyway\" (the disciplined-silence contract).\n *\n * Platform-neutral: no `node:` imports, no npm dependencies.\n */\nimport type { ContentResolver } from \"./resolve.js\";\nimport type { EntryCandidate, QueryTrace } from \"./trace.js\";\nimport { createTrace } from \"./trace.js\";\nimport type { TraversedNode } from \"./traverse.js\";\n\nexport interface ContextBlock {\n iri: string;\n title?: string;\n text: string;\n sourceUrl: string;\n /** Hops from the nearest seed — the relevance signal, carried through. */\n depth: number;\n}\n\nexport interface Citation {\n iri: string;\n title?: string;\n sourceUrl: string;\n}\n\nexport type RefusalReason = \"no-route\" | \"no-content\";\n\nexport interface Refusal {\n reason: RefusalReason;\n detail: string;\n}\n\n/**\n * The rankings that produced the seeds, carried through to the caller.\n *\n * Retrieval answers two different questions — \"what matched the query?\" and\n * \"what is the graph connected to it?\" — and a consumer needs both. Returning\n * only the graph result would make the match rankings inferrable solely from the\n * trace, which is diagnostic rather than a result surface (ADR 01020).\n */\nexport interface EntryRankings {\n /** The lexical leg's own ranking. */\n lexical: EntryCandidate[];\n /** The vector leg's own ranking; empty when no embedder was in play. */\n vector: EntryCandidate[];\n /** The fused ranking that actually seeded traversal. */\n merged: EntryCandidate[];\n}\n\nexport interface RetrievalBundle {\n /** What matched the query, per leg. Absent when seeds were given explicitly. */\n entry?: EntryRankings;\n context: ContextBlock[];\n citations: Citation[];\n trace: QueryTrace;\n /** Present when retrieval found nothing usable. `context` is then empty. */\n refusal?: Refusal;\n /** True when the character budget dropped otherwise-eligible blocks. */\n truncated: boolean;\n}\n\nexport interface AssembleOptions {\n /** Character budget across all blocks. Default: unbounded. */\n maxChars?: number;\n /** Append to an existing trace (normally the traversal's). */\n trace?: QueryTrace;\n /**\n * The entry rankings that produced these nodes, passed through to the bundle\n * so callers see matches and graph results side by side.\n */\n entry?: EntryRankings;\n}\n\n/**\n * Resolve traversed nodes to text and assemble the retrieval bundle. Nodes are\n * kept in traversal order (nearest-first), which is deterministic, and every\n * block carries the IRI it came from so citations are structural, not inferred.\n */\nexport async function assemble(\n resolver: ContentResolver,\n nodes: TraversedNode[],\n options: AssembleOptions = {},\n): Promise<RetrievalBundle> {\n const trace = options.trace ?? createTrace();\n const budget = options.maxChars ?? Infinity;\n\n if (nodes.length === 0) {\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context: [],\n citations: [],\n trace,\n truncated: false,\n refusal: {\n reason: \"no-route\",\n detail:\n \"No node in the graph was reachable for this query under the active scope filter.\",\n },\n };\n }\n\n const context: ContextBlock[] = [];\n let used = 0;\n let truncated = false;\n let resolvedAny = false;\n\n for (const node of nodes) {\n const resolved = await resolver.resolve(node.iri);\n if (!resolved) continue;\n resolvedAny = true;\n if (used + resolved.text.length > budget) {\n truncated = true;\n continue;\n }\n used += resolved.text.length;\n context.push({\n iri: resolved.iri,\n title: resolved.title,\n text: resolved.text,\n sourceUrl: resolved.sourceUrl,\n depth: node.depth,\n });\n }\n\n if (context.length === 0) {\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context: [],\n citations: [],\n trace,\n truncated,\n refusal: {\n reason: \"no-content\",\n detail: resolvedAny\n ? \"Every matching node's content exceeded the character budget.\"\n : \"Matching nodes were found, but none of them resolved to readable content.\",\n },\n };\n }\n\n return {\n ...(options.entry ? { entry: options.entry } : {}),\n context,\n citations: context.map((b) => ({\n iri: b.iri,\n title: b.title,\n sourceUrl: b.sourceUrl,\n })),\n trace,\n truncated,\n };\n}\n","/**\n * RDF/JS interop — the custom-SPARQL escape hatch (ADR 01018).\n *\n * The runtime's own walker is deliberately not a SPARQL engine: it is 0 KB and\n * it records a trace. But arbitrary user-authored SPARQL is a legitimate need,\n * so the index can hand out its contents as standard **RDF/JS quads**. Feed\n * them to any RDF/JS store and query with any engine:\n *\n * ```js\n * import { Store } from \"n3\";\n * import { QueryEngine } from \"@comunica/query-sparql-rdfjs-lite\";\n * const store = new Store(rdfjsQuads(graph));\n * const bindings = await new QueryEngine().queryBindings(sparql, { sources: [store] });\n * ```\n *\n * Quads are plain data rather than a hand-rolled `Source` stream on purpose:\n * every engine already accepts a store, stores accept quad arrays, and faking\n * Node's stream contract in a browser-safe module is fragile for no gain. At\n * docs scale materializing is trivial (the reference corpus is 172 quads).\n *\n * Honest caveat: engine results are bindings, not walker traces —\n * explainability lives in the walker API.\n *\n * The term shapes are structural, so they are hand-rolled here rather than\n * pulled from `@rdfjs/data-model`, keeping the runtime dependency-free and\n * browser-safe.\n */\nimport { byCodeUnit } from \"../core/sort.js\";\nimport type { GraphIndex, Value } from \"./graph.js\";\n\nconst XSD_STRING = \"http://www.w3.org/2001/XMLSchema#string\";\n\nexport interface RdfTerm {\n termType: \"NamedNode\" | \"Literal\" | \"DefaultGraph\";\n value: string;\n language?: string;\n datatype?: RdfTerm;\n equals(other?: RdfTerm | null): boolean;\n}\n\nexport interface RdfQuad {\n termType: \"Quad\";\n subject: RdfTerm;\n predicate: RdfTerm;\n object: RdfTerm;\n graph: RdfTerm;\n equals(other?: RdfQuad | null): boolean;\n}\n\nexport function namedNode(value: string): RdfTerm {\n return {\n termType: \"NamedNode\",\n value,\n equals(other) {\n return !!other && other.termType === \"NamedNode\" && other.value === value;\n },\n };\n}\n\nexport function defaultGraph(): RdfTerm {\n return {\n termType: \"DefaultGraph\",\n value: \"\",\n equals(other) {\n return !!other && other.termType === \"DefaultGraph\";\n },\n };\n}\n\nexport function literal(value: string, datatype?: string): RdfTerm {\n const dt = namedNode(datatype ?? XSD_STRING);\n return {\n termType: \"Literal\",\n value,\n language: \"\",\n datatype: dt,\n equals(other) {\n return (\n !!other &&\n other.termType === \"Literal\" &&\n other.value === value &&\n !!other.datatype &&\n other.datatype.value === dt.value\n );\n },\n };\n}\n\nfunction toTerm(v: Value): RdfTerm {\n return v.kind === \"iri\" ? namedNode(v.value) : literal(v.value, v.datatype);\n}\n\nfunction makeQuad(s: string, p: string, o: Value): RdfQuad {\n const subject = namedNode(s);\n const predicate = namedNode(p);\n const object = toTerm(o);\n const graph = defaultGraph();\n return {\n termType: \"Quad\",\n subject,\n predicate,\n object,\n graph,\n equals(other) {\n return (\n !!other &&\n subject.equals(other.subject) &&\n predicate.equals(other.predicate) &&\n object.equals(other.object)\n );\n },\n };\n}\n\n/**\n * The whole index as RDF/JS quads, in the index's deterministic order. Feed to\n * any RDF/JS store (`new Store(rdfjsQuads(graph))`) to run SPARQL.\n */\nexport function rdfjsQuads(graph: GraphIndex): RdfQuad[] {\n const quads: RdfQuad[] = [];\n for (const s of graph.ids()) {\n const node = graph.node(s);\n if (!node) continue;\n for (const p of [...node.props.keys()].sort(byCodeUnit)) {\n for (const v of node.props.get(p) ?? []) quads.push(makeQuad(s, p, v));\n }\n }\n return quads;\n}\n\n/**\n * Triple-pattern match returning RDF/JS quads. A null/undefined position is a\n * wildcard. Convenience for callers who want RDF/JS terms without pulling in a\n * store; the walker API is the richer (and traced) way to query.\n */\nexport function matchQuads(\n graph: GraphIndex,\n subject?: string | null,\n predicate?: string | null,\n object?: string | null,\n): RdfQuad[] {\n const quads: RdfQuad[] = [];\n const subjects = subject ? [subject] : graph.ids();\n for (const s of subjects) {\n const node = graph.node(s);\n if (!node) continue;\n const predicates = predicate\n ? [predicate]\n : [...node.props.keys()].sort(byCodeUnit);\n for (const p of predicates) {\n for (const v of node.props.get(p) ?? []) {\n if (object !== undefined && object !== null && v.value !== object) {\n continue;\n }\n quads.push(makeQuad(s, p, v));\n }\n }\n }\n return quads;\n}\n","/**\n * The page vocabulary manni graph implements: `manni:graph:1.0.0`, the built-in\n * schema the metadata tool publishes under `src/meta/schemas/`. It defines the\n * `graph:` block a page carries. Pages are validated against that schema\n * itself, imported and bundled into the build, so graph and `manni meta validate`\n * read the same bytes.\n *\n * graph ships no copy of the schema. A copy is a second artifact to keep in step,\n * with nothing but a test to say the two still match. A consumer who wants to\n * validate pages names `manni:graph:1.0.0` to `manni meta validate`, or\n * validates programmatically against the object below.\n */\nimport schema from \"../meta/schemas/graph/1.0.0.json\" with { type: \"json\" };\n\n/** The graph vocabulary, for validators that accept an inline schema. */\nexport const frontmatterSchema = schema as Record<string, unknown>;\n\n/** The vocabulary's `$id`: `manni:graph:1.0.0`. */\nexport const FRONTMATTER_SCHEMA_ID: string = schema.$id;\n","/**\n * The key domain's programmatic API, exported from the package as the `key`\n * namespace: `import { key } from \"@hawkeyexl/manni\"`. The command cores, and\n * the family's encryption primitives a caller needs beside them.\n */\nexport * from \"./types.js\";\nexport { KeyError } from \"./errors.js\";\nexport { runKeySet } from \"./commands/set.js\";\nexport { runKeyRotate } from \"./commands/rotate.js\";\nexport { decryptValue, encryptValue, isEncryptedValue } from \"../shared/encryption.js\";\nexport type { EncryptionContext } from \"../shared/encryption.js\";\nexport { resolveEncryptionKey } from \"../shared/encryption-key.js\";\nexport type { KeySource, ResolvedKey } from \"../shared/encryption-key.js\";\n","/** Programmatic API for manni tracevals. */\nexport * from \"./types.js\";\nexport * from \"./trace/types.js\";\nexport { detectFormat, detectContentFormat } from \"./trace/detect.js\";\nexport { parseTraceFile, parseTraceContent } from \"./trace/claude.js\";\nexport {\n availableAt,\n joinDescriptions,\n newAvailability,\n offeredNames,\n} from \"./trace/availability.js\";\nexport {\n configDir,\n discoverTraces,\n slugFor,\n type DiscoverOptions,\n type TraceListing,\n} from \"./trace/discover.js\";\nexport { renderList, runList, type ListOptions, type ListRun } from \"./commands/list.js\";\nexport * from \"./artifacts/types.js\";\nexport {\n PROJECT_RULES_FILENAMES,\n resolveArtifacts,\n type ResolveOptions,\n} from \"./artifacts/resolve.js\";\nexport {\n coverAvailability,\n type AvailabilityCoverage,\n type AvailabilityOptions,\n} from \"./artifacts/availability.js\";\nexport {\n discoverArtifacts,\n type DiscoverOptions as DiscoverArtifactsOptions,\n type DiscoveredArtifact,\n type DiscoveryResult,\n} from \"./artifacts/discover.js\";\nexport {\n PRUNED_DIRS,\n findGitRoot,\n findInTree,\n listInTree,\n safeMtime,\n safeRead,\n} from \"./artifacts/fs.js\";\nexport {\n ARTIFACT_EVALS_SCHEMA_ID,\n extractEvals,\n type EvalEntry,\n type EvalType,\n type ExtractedEvals,\n type Severity,\n} from \"./evals/extract.js\";\nexport {\n appendArtifactEvals,\n type EvalProvenance,\n type NewEvalEntry,\n} from \"./evals/write.js\";\nexport {\n IMPLICIT_EVAL_NAME,\n planEvals,\n type EvalLocation,\n type EvalPlan,\n type SuppliedMetadata,\n} from \"./core/plan.js\";\nexport * from \"./graders/types.js\";\nexport {\n BUILTIN_GRADER_KINDS,\n graderFor,\n listGraderKinds,\n registerGrader,\n} from \"./graders/registry.js\";\nexport {\n loadGraderPlugins,\n type GraderPluginApi,\n type GraderPluginRegister,\n type LoadGraderPluginsOptions,\n type LoadedGraderPlugins,\n} from \"./graders/plugins.js\";\nexport { skippedWindow, windowFor, type TraceWindow } from \"./graders/util.js\";\nexport { globToRegExp, matchesGlob } from \"./graders/glob.js\";\nexport {\n WHEN_CONDITIONS,\n evaluateWhen,\n validateWhen,\n type TriggerResult,\n type WhenCondition,\n} from \"./graders/when.js\";\nexport { renderTrace, type RenderOptions } from \"./judge/render.js\";\nexport {\n CUSTOM_PLACEHOLDER,\n REDACTION_PATTERNS,\n compileRedactPatterns,\n makeRedactor,\n type RedactionPattern,\n type Redactor,\n} from \"./judge/redact.js\";\nexport {\n JUDGE_SYSTEM_PROMPT,\n PROMPT_VERSION,\n buildUserContent,\n} from \"./judge/prompt.js\";\nexport { VerdictCache, cacheKey, sha256 } from \"./judge/cache.js\";\nexport {\n makeTraceJudge,\n type JudgedEval,\n type TraceJudge,\n type TraceJudgeOptions,\n} from \"./judge/trace-judge.js\";\nexport {\n announceSelection,\n assertProviderSelection,\n constructProvider,\n makeJudgeProvider,\n providerSpecFor,\n resolveProviderIdentity,\n selectProvider,\n type JudgeProviderOptions,\n type MockResponse,\n type ProviderChoice,\n type ProviderFlags,\n type ProviderSelection,\n} from \"./judge/provider.js\";\nexport {\n CONFIG_SECTION_KEY,\n DEFAULT_CONFIG_FILENAME,\n loadConfig,\n parseConfig,\n type ConfigFileContext,\n type TracevalsConfig,\n} from \"./core/config.js\";\nexport { runEvals, type EngineOptions } from \"./core/engine.js\";\nexport {\n render,\n renderBatch,\n renderCalibration,\n parseFormat,\n REPORT_FORMATS,\n SUMMARY_FORMATS,\n type ReportFormat,\n type SummaryFormat,\n} from \"./reporters/index.js\";\nexport { renderBatchPretty, renderBatchMarkdown } from \"./reporters/batch.js\";\nexport {\n renderCalibrationPretty,\n renderCalibrationMarkdown,\n} from \"./reporters/calibration.js\";\nexport { aggregate, type BatchOutcome } from \"./aggregate.js\";\nexport {\n prepareRun,\n runOne,\n runRun,\n type RunCommandOptions,\n type RunCommandResult,\n type RunContext,\n type RunSharedOptions,\n} from \"./commands/run.js\";\nexport {\n keepNewerThan,\n parseNewerThan,\n resolveBatchTraces,\n runBatch,\n type BatchCommandOptions,\n type BatchCommandResult,\n} from \"./commands/batch.js\";\nexport {\n runCalibrate,\n type CalibrateCommandOptions,\n type CalibrateCommandResult,\n} from \"./commands/calibrate.js\";\nexport * from \"./calibrate/types.js\";\nexport {\n DEFAULT_LABELS_FILE,\n labelKey,\n loadLabels,\n parseLabels,\n} from \"./calibrate/labels.js\";\nexport {\n classify,\n joinLabels,\n rescore,\n score,\n type JoinedLabel,\n type AmbiguousLabel,\n type JoinResult,\n type Rescored,\n type ScoreInput,\n type ScoreResult,\n} from \"./calibrate/score.js\";\nexport {\n renderFill,\n runFill,\n type FillArtifactResult,\n type FillOptions,\n type FillReport,\n type FillRun,\n type FillStatus,\n type SharpeningNote,\n} from \"./commands/fill.js\";\nexport {\n ALLOWED_GRADERS,\n gateProposals,\n type GateOptions,\n type GateResult,\n type ProposedEval,\n type Rejection,\n type RejectionReason,\n type Vocabulary,\n} from \"./fill/gate.js\";\nexport {\n FILL_PROMPT_VERSION,\n MAX_BODY_CHARS,\n PROPOSAL_SCHEMA,\n buildFillUser,\n isValidProposal,\n systemPromptFor,\n} from \"./fill/prompt.js\";\nexport { FillCache, fillCacheKey, type FillCacheKeyParts } from \"./fill/cache.js\";\nexport { artifactFacts, type ArtifactFacts } from \"./fill/facts.js\";\nexport { BUILTIN_TOOLS, buildVocabulary } from \"./fill/vocabulary.js\";\nexport { mockFillProposal } from \"./fill/mock.js\";\nexport { pickTrace, type PickerChoice, type PromptFn } from \"./trace/picker.js\";\nexport {\n appendHistory,\n compareToLast,\n entryFor,\n loadHistory,\n type HistoryComparison,\n type HistoryEntry,\n type HistoryEval,\n} from \"./history.js\";\nexport * from \"./capture/types.js\";\nexport {\n checkContent,\n findManifest,\n hashFile,\n manifestPathFor,\n readManifest,\n relPosix,\n safeSessionId,\n sha256Hex,\n siblingManifestPath,\n writeManifest,\n type FindManifestOptions,\n type FoundManifest,\n} from \"./capture/manifest.js\";\nexport {\n buildManifest,\n deviceId,\n readGit,\n redactDeep,\n type BuildManifestOptions,\n} from \"./capture/build.js\";\nexport { parseHookPayload, readStdin, type HookPayload } from \"./capture/hook.js\";\nexport {\n renderCapture,\n runCapture,\n type CaptureCommandOptions,\n type CaptureCommandResult,\n} from \"./commands/capture.js\";\n","/**\n * The test domain's programmatic API, exported from the package as the `test`\n * namespace: `import { test } from \"@hawkeyexl/manni\"`. The command core, with\n * an injectable spawn, the result types and the reporters.\n */\nexport { TestError } from \"./errors.js\";\nexport { runTest } from \"./commands/run.js\";\nexport type { RunTestOptions, TestRunResult } from \"./commands/run.js\";\nexport { realSpawn } from \"./core/doc-detective.js\";\nexport type { DocDetectiveSpawn } from \"./core/doc-detective.js\";\nexport type { DocDetectiveResults, ResultCounts, TestFinding } from \"./core/results.js\";\nexport { renderGithub } from \"./reporters/github.js\";\nexport { renderJson } from \"./reporters/json.js\";\nexport { renderPretty } from \"./reporters/pretty.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAAC;AAAA,EAAA;AAAA,uBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA,kBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAAC;AAAA,EAAA;AAAA,yBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA,yBAAAC;AAAA,EAAA;AAAA,oBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA,wBAAAC;AAAA,EAAA;AAAA,gBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA,2BAAAC;AAAA,EAAA;AAAA;AAAA;AAAA,oBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA,iCAAAC;AAAA,EAAA;AAAA,sBAAAC;AAAA,EAAA;AAAA,kBAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA,eAAAC;AAAA,EAAA;AAAA,gBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA,wBAAAC;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA,sBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA;AAAA;","names":["REPORT_FORMATS","loadConfig","parseConfig","render","renderFill","runFill","classifyRef","listBuiltins","loadConfig","parseConfig","render","renderJunit","renderSarif","supportedExtensions","FRONTMATTER_SCHEMA_ID","MockProvider","frontmatterSchema","loadConfig","makeProvider","parseConfig","providerSpecFor","resolveProviderIdentity","runFill","runQuery","frontmatterSchema","FRONTMATTER_SCHEMA_ID","MockProvider","DEFAULT_CONFIG_FILENAME","FILL_PROMPT_VERSION","FillCache","PROPOSAL_SCHEMA","REPORT_FORMATS","SUMMARY_FORMATS","assertProviderSelection","buildFillUser","cacheKey","constructProvider","fillCacheKey","graderFor","isValidProposal","listGraderKinds","loadConfig","parseConfig","parseFormat","providerSpecFor","registerGrader","render","renderCalibration","renderFill","renderList","resolveProviderIdentity","runCalibrate","runEvals","runFill","runList","runRun","selectProvider","renderGithub","renderJson","renderPretty"]}
|
|
@@ -5,22 +5,25 @@ import {
|
|
|
5
5
|
renderGetJson,
|
|
6
6
|
renderListJson,
|
|
7
7
|
termEntry
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-MSRU4D4P.js";
|
|
9
|
+
import "./chunk-J6IDQGJL.js";
|
|
10
10
|
import "./chunk-77AINBYM.js";
|
|
11
11
|
import "./chunk-IKEWBMCN.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TU2WUBVZ.js";
|
|
13
|
+
import "./chunk-LKP7QDFN.js";
|
|
14
|
+
import "./chunk-6HWBRZIN.js";
|
|
15
|
+
import "./chunk-M42DZCOU.js";
|
|
16
|
+
import "./chunk-PCQ7ELJH.js";
|
|
17
|
+
import "./chunk-GV56WGL2.js";
|
|
18
|
+
import "./chunk-D4N2V43Z.js";
|
|
19
|
+
import "./chunk-VSEBFHAY.js";
|
|
17
20
|
import "./chunk-YEUYKR62.js";
|
|
18
21
|
import "./chunk-RNVYGWIC.js";
|
|
19
22
|
import "./chunk-MNH7QO4Z.js";
|
|
20
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QLWC7MKD.js";
|
|
21
24
|
import "./chunk-HX44GB4Z.js";
|
|
22
25
|
import "./chunk-QCHVR4ZM.js";
|
|
23
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-2MJ62AYQ.js";
|
|
24
27
|
import "./chunk-OWBRDNRZ.js";
|
|
25
28
|
import "./chunk-G3T47CFV.js";
|
|
26
29
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -31,4 +34,4 @@ export {
|
|
|
31
34
|
renderListJson,
|
|
32
35
|
termEntry
|
|
33
36
|
};
|
|
34
|
-
//# sourceMappingURL=json-
|
|
37
|
+
//# sourceMappingURL=json-BXY44ED7.js.map
|