@hawkeyexl/manni 4.26.1 → 4.27.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-NEN7H55G.js → batch-TFGOULLM.js} +14 -14
- package/dist/build-TOTJTK5K.js +37 -0
- package/dist/{calibrate-3ABLKPCL.js → calibrate-7O4RKGZS.js} +15 -15
- package/dist/{capture-EOC6VNIP.js → capture-K6ZKOSIK.js} +14 -14
- package/dist/check-4LK34QVH.js +34 -0
- package/dist/check-6XN46NLH.js +31 -0
- package/dist/check-JBSRU724.js +58 -0
- package/dist/check-LZQ3PW6G.js +58 -0
- package/dist/{check-5QIOVMIM.js → check-WFJMMSD7.js} +15 -15
- package/dist/{chunk-DMTREFXP.js → chunk-2E5OBVLC.js} +4 -4
- package/dist/{chunk-MM5HXSYQ.js → chunk-2LLCV66Q.js} +9 -9
- package/dist/{chunk-ERBT4WDL.js → chunk-43KMLS4Y.js} +3 -3
- package/dist/{chunk-BREAC43H.js → chunk-43VLZO4W.js} +2 -2
- package/dist/{chunk-K4ZXCV26.js → chunk-46EEHYA4.js} +65 -12
- package/dist/chunk-46EEHYA4.js.map +1 -0
- package/dist/{chunk-TVXA4IYY.js → chunk-4KK6TVFD.js} +7 -7
- package/dist/{chunk-MMYFT7FI.js → chunk-4NCNVKZS.js} +5 -5
- package/dist/{chunk-PMX67E4G.js → chunk-4QOXP5K4.js} +6 -6
- package/dist/{chunk-6I7DQ4RL.js → chunk-5QPLKYLM.js} +4 -4
- package/dist/{chunk-IJFTUE6Y.js → chunk-5XEZ7FQT.js} +2 -2
- package/dist/{chunk-QZOJ2UXP.js → chunk-7BPOYION.js} +2 -2
- package/dist/{chunk-ZACMNF3K.js → chunk-7MKAJCU2.js} +2 -2
- package/dist/{chunk-ZACMNF3K.js.map → chunk-7MKAJCU2.js.map} +1 -1
- package/dist/{chunk-CP6QSXA7.js → chunk-A4DPDPKJ.js} +2 -2
- package/dist/{chunk-QJJI6LKA.js → chunk-ACTUV3CQ.js} +52 -4
- package/dist/chunk-ACTUV3CQ.js.map +1 -0
- package/dist/{chunk-Y23L2GNH.js → chunk-AONT5QCO.js} +10 -10
- package/dist/{chunk-7EFXQOTZ.js → chunk-AXMVISW7.js} +3 -3
- package/dist/{chunk-MC7U5IH4.js → chunk-BCRMMIY5.js} +1 -1
- package/dist/chunk-BCRMMIY5.js.map +1 -0
- package/dist/{chunk-LJDIRJLG.js → chunk-BMPQLKQS.js} +10 -8
- package/dist/chunk-BMPQLKQS.js.map +1 -0
- package/dist/{chunk-K352TYME.js → chunk-BN3SQUXK.js} +14 -14
- package/dist/{chunk-3ZVRGBK6.js → chunk-BTFXOKCP.js} +2 -2
- package/dist/{chunk-JF4BC7ZD.js → chunk-CDX4QK6O.js} +29 -2
- package/dist/chunk-CDX4QK6O.js.map +1 -0
- package/dist/{chunk-R4BRS4AE.js → chunk-CJWFDJEX.js} +9 -9
- package/dist/{chunk-3YF2DCKQ.js → chunk-D3FJVKE2.js} +3 -3
- package/dist/{chunk-ZV3VLKG4.js → chunk-DRMCY64Q.js} +15 -7
- package/dist/chunk-DRMCY64Q.js.map +1 -0
- package/dist/{chunk-Q56IULOH.js → chunk-DSTEX7SK.js} +3 -3
- package/dist/{chunk-466GMD3F.js → chunk-DZC2OALR.js} +4 -4
- package/dist/{chunk-PSXEBABJ.js → chunk-FK2FAE3J.js} +4 -4
- package/dist/{chunk-XXMPPQMJ.js → chunk-FRAEUYJE.js} +56 -27
- package/dist/chunk-FRAEUYJE.js.map +1 -0
- package/dist/{chunk-BRUD25F4.js → chunk-H7SFSZ3I.js} +300 -58
- package/dist/chunk-H7SFSZ3I.js.map +1 -0
- package/dist/chunk-HMJZHUCJ.js +337 -0
- package/dist/chunk-HMJZHUCJ.js.map +1 -0
- package/dist/{chunk-3D7VBQXN.js → chunk-HQRXE6QY.js} +354 -51
- package/dist/chunk-HQRXE6QY.js.map +1 -0
- package/dist/{chunk-OQK7J4VE.js → chunk-IFAOEGSU.js} +32 -22
- package/dist/chunk-IFAOEGSU.js.map +1 -0
- package/dist/{chunk-KP44XIY4.js → chunk-IQJ4WBJZ.js} +173 -83
- package/dist/chunk-IQJ4WBJZ.js.map +1 -0
- package/dist/{chunk-WPIBGNKM.js → chunk-JWS4OKOZ.js} +4 -4
- package/dist/{chunk-MNUGG3B4.js → chunk-K5DKRGUV.js} +6 -6
- package/dist/{chunk-KDV7GPCU.js → chunk-LESYV3TT.js} +3 -3
- package/dist/{chunk-UZ7BMGDD.js → chunk-LWWO4C6P.js} +3 -3
- package/dist/{chunk-63FAVBEK.js → chunk-MABRQ46L.js} +14 -7
- package/dist/chunk-MABRQ46L.js.map +1 -0
- package/dist/{chunk-O4MKNFMM.js → chunk-MMS3I5ZH.js} +7 -7
- package/dist/{chunk-KKCOXRSU.js → chunk-NXJMRIKW.js} +5 -5
- package/dist/{chunk-MJBGGFSN.js → chunk-OBFIWPEB.js} +3 -3
- package/dist/{chunk-TI4DA6DF.js → chunk-OPF3NOKF.js} +1 -1
- package/dist/chunk-OPF3NOKF.js.map +1 -0
- package/dist/{chunk-CLH4ZYNG.js → chunk-OZH46DBT.js} +1 -1
- package/dist/{chunk-CLH4ZYNG.js.map → chunk-OZH46DBT.js.map} +1 -1
- package/dist/{chunk-IUSVWJOF.js → chunk-PBR4TVEL.js} +7 -7
- package/dist/{chunk-LZCBMMSG.js → chunk-PHZ7VWSL.js} +31 -13
- package/dist/chunk-PHZ7VWSL.js.map +1 -0
- package/dist/{chunk-JDV6UC34.js → chunk-Q34NWLGY.js} +2 -2
- package/dist/{chunk-ZFLGCCOO.js → chunk-QFVBBRHW.js} +2 -2
- package/dist/{chunk-TDQ445D5.js → chunk-QLK6LXSS.js} +3 -3
- package/dist/{chunk-XU24F36U.js → chunk-QSABWNXP.js} +4 -4
- package/dist/{chunk-T6ZSLK7G.js → chunk-R3FCSRTX.js} +6 -6
- package/dist/{chunk-JR4CHN6I.js → chunk-RA3QM7X6.js} +8 -8
- package/dist/{chunk-OCJR7ZML.js → chunk-RCGR4NKY.js} +2 -2
- package/dist/{chunk-LFA2AMF5.js → chunk-S2ZOXAFY.js} +2 -2
- package/dist/{chunk-PAKXJGQF.js → chunk-SYZ75Q5F.js} +65 -47
- package/dist/chunk-SYZ75Q5F.js.map +1 -0
- package/dist/{chunk-NMYN46MG.js → chunk-TF4VEEDJ.js} +3 -3
- package/dist/{chunk-4I3K7QHO.js → chunk-TNOML4XE.js} +3 -3
- package/dist/{chunk-GW45SXGE.js → chunk-UVI6JXRM.js} +8 -8
- package/dist/{chunk-ZTH67IDP.js → chunk-VHAQJ6KU.js} +34 -28
- package/dist/chunk-VHAQJ6KU.js.map +1 -0
- package/dist/{chunk-SMDE7RY3.js → chunk-VLPUC4MH.js} +3 -3
- package/dist/{chunk-N2AZOLIA.js → chunk-WJ7IGOBI.js} +21 -12
- package/dist/chunk-WJ7IGOBI.js.map +1 -0
- package/dist/{chunk-3MYJ6BI6.js → chunk-WLN4A2OJ.js} +4 -4
- package/dist/{chunk-RGOULVBF.js → chunk-WNL2T7LK.js} +4 -4
- package/dist/{chunk-PLUIVONN.js → chunk-WOPKA4ZB.js} +3 -3
- package/dist/{chunk-VK34UKBY.js → chunk-X3FSKK53.js} +13 -7
- package/dist/chunk-X3FSKK53.js.map +1 -0
- package/dist/{chunk-XX7GNK4F.js → chunk-XZFJAVX7.js} +3 -3
- package/dist/{chunk-WSRK3PN4.js → chunk-Y72JZVMX.js} +3 -3
- package/dist/{chunk-KBZM4HI2.js → chunk-YQ4XWJTB.js} +26 -16
- package/dist/chunk-YQ4XWJTB.js.map +1 -0
- package/dist/{chunk-K7UK72VN.js → chunk-YUTRYEDG.js} +3 -3
- package/dist/{chunk-H7UPMVBK.js → chunk-Z3YNYZR2.js} +2 -2
- package/dist/{chunk-XDARBEJA.js → chunk-Z66LHZRV.js} +2 -2
- package/dist/{chunk-G5I2JTDK.js → chunk-ZWVYT2G6.js} +2 -2
- package/dist/{chunk-D4BGNAN5.js → chunk-ZZGHTXZ2.js} +159 -23
- package/dist/chunk-ZZGHTXZ2.js.map +1 -0
- package/dist/{cli-BIRTWKQ5.js → cli-4Q22IFXX.js} +16 -15
- package/dist/{cli-BIRTWKQ5.js.map → cli-4Q22IFXX.js.map} +1 -1
- package/dist/{cli-EYDOJUG7.js → cli-6Y2V6OI6.js} +29 -28
- package/dist/{cli-EYDOJUG7.js.map → cli-6Y2V6OI6.js.map} +1 -1
- package/dist/{cli-HBVAUPIC.js → cli-A3E4KJ5U.js} +21 -21
- package/dist/{cli-XGY7JUEI.js → cli-H4SH5A6M.js} +37 -36
- package/dist/{cli-XGY7JUEI.js.map → cli-H4SH5A6M.js.map} +1 -1
- package/dist/{cli-RJTB3BWZ.js → cli-ODMYZEFY.js} +68 -58
- package/dist/{cli-RJTB3BWZ.js.map → cli-ODMYZEFY.js.map} +1 -1
- package/dist/{cli-V3UM6B6F.js → cli-PKCV3N4H.js} +8 -8
- package/dist/{cli-HRQCVZQY.js → cli-QQIIFRKE.js} +20 -19
- package/dist/{cli-HRQCVZQY.js.map → cli-QQIIFRKE.js.map} +1 -1
- package/dist/{cli-XDPMDMZU.js → cli-SN7N4WCV.js} +29 -28
- package/dist/{cli-XDPMDMZU.js.map → cli-SN7N4WCV.js.map} +1 -1
- package/dist/{cli-VI76NFWN.js → cli-WFC3CJOJ.js} +3 -3
- package/dist/{cli-KOATS2ZY.js → cli-YP5KKGZP.js} +30 -29
- package/dist/{cli-KOATS2ZY.js.map → cli-YP5KKGZP.js.map} +1 -1
- package/dist/{cli-S36TXD3Z.js → cli-Z6IVPISQ.js} +24 -42
- package/dist/cli-Z6IVPISQ.js.map +1 -0
- package/dist/cli.js +15 -15
- package/dist/{config-2YJPJ36T.js → config-Z3FYLJ6X.js} +3 -3
- package/dist/docmeta.js +7 -7
- package/dist/github-7MZOPO6F.js +49 -0
- package/dist/github-MERFCTC7.js +29 -0
- package/dist/{github-KGQPHQQJ.js → github-MQPACOAB.js} +15 -14
- package/dist/index.d.ts +169 -8
- package/dist/index.js +58 -57
- package/dist/index.js.map +1 -1
- package/dist/{json-5GDD64P6.js → json-7RZPISH3.js} +13 -12
- package/dist/{json-BO5XIJWF.js → json-GOM7GQ6C.js} +16 -15
- package/dist/{labels-N7GKDSDM.js → labels-3ZOCWOT6.js} +12 -11
- package/dist/{labels-N7GKDSDM.js.map → labels-3ZOCWOT6.js.map} +1 -1
- package/dist/lint-XQMOP6UX.js +33 -0
- package/dist/{list-ZQJOVVUU.js → list-5PR56LNP.js} +15 -14
- package/dist/list-AV4DCGP3.js +31 -0
- package/dist/list-PLVWVFAV.js +49 -0
- package/dist/{page-WXPSHZJY.js → page-7EML6WFG.js} +10 -10
- package/dist/{prepare-V76CXWW4.js → prepare-A7NZ5BPZ.js} +13 -13
- package/dist/{pretty-RTIATRSO.js → pretty-5QHFDOSO.js} +15 -14
- package/dist/{pretty-AR6FVUJO.js → pretty-E4FJRLZZ.js} +25 -24
- package/dist/{pretty-VOC2SKHD.js → pretty-Y4UZL35B.js} +13 -12
- package/dist/{reporters-LJZLZDFQ.js → reporters-A63SJIY7.js} +12 -12
- package/dist/{reporters-A4VULNIK.js → reporters-BFST46C2.js} +5 -5
- package/dist/{reporters-6CNOPRDA.js → reporters-MK62LRGW.js} +4 -4
- package/dist/run-2MWSIAGL.js +52 -0
- package/dist/{sarif-TMQEXFHP.js → sarif-BBNFOFUZ.js} +9 -9
- package/dist/sarif-MDBTPWQN.js +50 -0
- package/dist/{sarif-UHITXNLM.js → sarif-MTFYXIRJ.js} +11 -11
- package/dist/{strategy-TGJGFZHD.js → strategy-3EJODC6O.js} +22 -21
- package/dist/{term-GJURJ3FM.js → term-UYCZLVVA.js} +19 -18
- package/dist/{term-GJURJ3FM.js.map → term-UYCZLVVA.js.map} +1 -1
- package/dist/{types-VWL35P4F.js → types-GV2THIRC.js} +2 -2
- package/dist/{validate-YTMGOZAP.js → validate-3C3RWYMR.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/plugin/manni/hooks/page-metadata.mjs +1 -1
- package/dist/build-UYQEHJ2O.js +0 -36
- package/dist/check-34N4PI6C.js +0 -57
- package/dist/check-7SUZMJDK.js +0 -33
- package/dist/check-D7W7CUPQ.js +0 -30
- package/dist/check-RFLS3OB4.js +0 -57
- package/dist/chunk-3D7VBQXN.js.map +0 -1
- package/dist/chunk-63FAVBEK.js.map +0 -1
- package/dist/chunk-BRUD25F4.js.map +0 -1
- package/dist/chunk-D4BGNAN5.js.map +0 -1
- package/dist/chunk-JF4BC7ZD.js.map +0 -1
- package/dist/chunk-K4ZXCV26.js.map +0 -1
- package/dist/chunk-KBZM4HI2.js.map +0 -1
- package/dist/chunk-KP44XIY4.js.map +0 -1
- package/dist/chunk-LJDIRJLG.js.map +0 -1
- package/dist/chunk-LZCBMMSG.js.map +0 -1
- package/dist/chunk-MC7U5IH4.js.map +0 -1
- package/dist/chunk-N2AZOLIA.js.map +0 -1
- package/dist/chunk-OQK7J4VE.js.map +0 -1
- package/dist/chunk-PAKXJGQF.js.map +0 -1
- package/dist/chunk-QJJI6LKA.js.map +0 -1
- package/dist/chunk-TI4DA6DF.js.map +0 -1
- package/dist/chunk-VK34UKBY.js.map +0 -1
- package/dist/chunk-XXMPPQMJ.js.map +0 -1
- package/dist/chunk-ZTH67IDP.js.map +0 -1
- package/dist/chunk-ZV3VLKG4.js.map +0 -1
- package/dist/cli-S36TXD3Z.js.map +0 -1
- package/dist/github-EKVVPQPD.js +0 -48
- package/dist/github-FQ5MCP3E.js +0 -28
- package/dist/lint-U6VEL4ZA.js +0 -32
- package/dist/list-5LRPJRJJ.js +0 -48
- package/dist/list-GWP3Y2SR.js +0 -30
- package/dist/run-4B25K2SV.js +0 -51
- package/dist/sarif-Z34PKKFQ.js +0 -49
- /package/dist/{batch-NEN7H55G.js.map → batch-TFGOULLM.js.map} +0 -0
- /package/dist/{build-UYQEHJ2O.js.map → build-TOTJTK5K.js.map} +0 -0
- /package/dist/{calibrate-3ABLKPCL.js.map → calibrate-7O4RKGZS.js.map} +0 -0
- /package/dist/{capture-EOC6VNIP.js.map → capture-K6ZKOSIK.js.map} +0 -0
- /package/dist/{check-34N4PI6C.js.map → check-4LK34QVH.js.map} +0 -0
- /package/dist/{check-7SUZMJDK.js.map → check-6XN46NLH.js.map} +0 -0
- /package/dist/{check-D7W7CUPQ.js.map → check-JBSRU724.js.map} +0 -0
- /package/dist/{check-RFLS3OB4.js.map → check-LZQ3PW6G.js.map} +0 -0
- /package/dist/{check-5QIOVMIM.js.map → check-WFJMMSD7.js.map} +0 -0
- /package/dist/{chunk-DMTREFXP.js.map → chunk-2E5OBVLC.js.map} +0 -0
- /package/dist/{chunk-MM5HXSYQ.js.map → chunk-2LLCV66Q.js.map} +0 -0
- /package/dist/{chunk-ERBT4WDL.js.map → chunk-43KMLS4Y.js.map} +0 -0
- /package/dist/{chunk-BREAC43H.js.map → chunk-43VLZO4W.js.map} +0 -0
- /package/dist/{chunk-TVXA4IYY.js.map → chunk-4KK6TVFD.js.map} +0 -0
- /package/dist/{chunk-MMYFT7FI.js.map → chunk-4NCNVKZS.js.map} +0 -0
- /package/dist/{chunk-PMX67E4G.js.map → chunk-4QOXP5K4.js.map} +0 -0
- /package/dist/{chunk-6I7DQ4RL.js.map → chunk-5QPLKYLM.js.map} +0 -0
- /package/dist/{chunk-IJFTUE6Y.js.map → chunk-5XEZ7FQT.js.map} +0 -0
- /package/dist/{chunk-QZOJ2UXP.js.map → chunk-7BPOYION.js.map} +0 -0
- /package/dist/{chunk-CP6QSXA7.js.map → chunk-A4DPDPKJ.js.map} +0 -0
- /package/dist/{chunk-Y23L2GNH.js.map → chunk-AONT5QCO.js.map} +0 -0
- /package/dist/{chunk-7EFXQOTZ.js.map → chunk-AXMVISW7.js.map} +0 -0
- /package/dist/{chunk-K352TYME.js.map → chunk-BN3SQUXK.js.map} +0 -0
- /package/dist/{chunk-3ZVRGBK6.js.map → chunk-BTFXOKCP.js.map} +0 -0
- /package/dist/{chunk-R4BRS4AE.js.map → chunk-CJWFDJEX.js.map} +0 -0
- /package/dist/{chunk-3YF2DCKQ.js.map → chunk-D3FJVKE2.js.map} +0 -0
- /package/dist/{chunk-Q56IULOH.js.map → chunk-DSTEX7SK.js.map} +0 -0
- /package/dist/{chunk-466GMD3F.js.map → chunk-DZC2OALR.js.map} +0 -0
- /package/dist/{chunk-PSXEBABJ.js.map → chunk-FK2FAE3J.js.map} +0 -0
- /package/dist/{chunk-WPIBGNKM.js.map → chunk-JWS4OKOZ.js.map} +0 -0
- /package/dist/{chunk-MNUGG3B4.js.map → chunk-K5DKRGUV.js.map} +0 -0
- /package/dist/{chunk-KDV7GPCU.js.map → chunk-LESYV3TT.js.map} +0 -0
- /package/dist/{chunk-UZ7BMGDD.js.map → chunk-LWWO4C6P.js.map} +0 -0
- /package/dist/{chunk-O4MKNFMM.js.map → chunk-MMS3I5ZH.js.map} +0 -0
- /package/dist/{chunk-KKCOXRSU.js.map → chunk-NXJMRIKW.js.map} +0 -0
- /package/dist/{chunk-MJBGGFSN.js.map → chunk-OBFIWPEB.js.map} +0 -0
- /package/dist/{chunk-IUSVWJOF.js.map → chunk-PBR4TVEL.js.map} +0 -0
- /package/dist/{chunk-JDV6UC34.js.map → chunk-Q34NWLGY.js.map} +0 -0
- /package/dist/{chunk-ZFLGCCOO.js.map → chunk-QFVBBRHW.js.map} +0 -0
- /package/dist/{chunk-TDQ445D5.js.map → chunk-QLK6LXSS.js.map} +0 -0
- /package/dist/{chunk-XU24F36U.js.map → chunk-QSABWNXP.js.map} +0 -0
- /package/dist/{chunk-T6ZSLK7G.js.map → chunk-R3FCSRTX.js.map} +0 -0
- /package/dist/{chunk-JR4CHN6I.js.map → chunk-RA3QM7X6.js.map} +0 -0
- /package/dist/{chunk-OCJR7ZML.js.map → chunk-RCGR4NKY.js.map} +0 -0
- /package/dist/{chunk-LFA2AMF5.js.map → chunk-S2ZOXAFY.js.map} +0 -0
- /package/dist/{chunk-NMYN46MG.js.map → chunk-TF4VEEDJ.js.map} +0 -0
- /package/dist/{chunk-4I3K7QHO.js.map → chunk-TNOML4XE.js.map} +0 -0
- /package/dist/{chunk-GW45SXGE.js.map → chunk-UVI6JXRM.js.map} +0 -0
- /package/dist/{chunk-SMDE7RY3.js.map → chunk-VLPUC4MH.js.map} +0 -0
- /package/dist/{chunk-3MYJ6BI6.js.map → chunk-WLN4A2OJ.js.map} +0 -0
- /package/dist/{chunk-RGOULVBF.js.map → chunk-WNL2T7LK.js.map} +0 -0
- /package/dist/{chunk-PLUIVONN.js.map → chunk-WOPKA4ZB.js.map} +0 -0
- /package/dist/{chunk-XX7GNK4F.js.map → chunk-XZFJAVX7.js.map} +0 -0
- /package/dist/{chunk-WSRK3PN4.js.map → chunk-Y72JZVMX.js.map} +0 -0
- /package/dist/{chunk-K7UK72VN.js.map → chunk-YUTRYEDG.js.map} +0 -0
- /package/dist/{chunk-H7UPMVBK.js.map → chunk-Z3YNYZR2.js.map} +0 -0
- /package/dist/{chunk-XDARBEJA.js.map → chunk-Z66LHZRV.js.map} +0 -0
- /package/dist/{chunk-G5I2JTDK.js.map → chunk-ZWVYT2G6.js.map} +0 -0
- /package/dist/{cli-HBVAUPIC.js.map → cli-A3E4KJ5U.js.map} +0 -0
- /package/dist/{cli-V3UM6B6F.js.map → cli-PKCV3N4H.js.map} +0 -0
- /package/dist/{cli-VI76NFWN.js.map → cli-WFC3CJOJ.js.map} +0 -0
- /package/dist/{config-2YJPJ36T.js.map → config-Z3FYLJ6X.js.map} +0 -0
- /package/dist/{github-EKVVPQPD.js.map → github-7MZOPO6F.js.map} +0 -0
- /package/dist/{github-FQ5MCP3E.js.map → github-MERFCTC7.js.map} +0 -0
- /package/dist/{github-KGQPHQQJ.js.map → github-MQPACOAB.js.map} +0 -0
- /package/dist/{json-5GDD64P6.js.map → json-7RZPISH3.js.map} +0 -0
- /package/dist/{json-BO5XIJWF.js.map → json-GOM7GQ6C.js.map} +0 -0
- /package/dist/{lint-U6VEL4ZA.js.map → lint-XQMOP6UX.js.map} +0 -0
- /package/dist/{list-5LRPJRJJ.js.map → list-5PR56LNP.js.map} +0 -0
- /package/dist/{list-GWP3Y2SR.js.map → list-AV4DCGP3.js.map} +0 -0
- /package/dist/{list-ZQJOVVUU.js.map → list-PLVWVFAV.js.map} +0 -0
- /package/dist/{page-WXPSHZJY.js.map → page-7EML6WFG.js.map} +0 -0
- /package/dist/{prepare-V76CXWW4.js.map → prepare-A7NZ5BPZ.js.map} +0 -0
- /package/dist/{pretty-AR6FVUJO.js.map → pretty-5QHFDOSO.js.map} +0 -0
- /package/dist/{pretty-RTIATRSO.js.map → pretty-E4FJRLZZ.js.map} +0 -0
- /package/dist/{pretty-VOC2SKHD.js.map → pretty-Y4UZL35B.js.map} +0 -0
- /package/dist/{reporters-6CNOPRDA.js.map → reporters-A63SJIY7.js.map} +0 -0
- /package/dist/{reporters-A4VULNIK.js.map → reporters-BFST46C2.js.map} +0 -0
- /package/dist/{reporters-LJZLZDFQ.js.map → reporters-MK62LRGW.js.map} +0 -0
- /package/dist/{run-4B25K2SV.js.map → run-2MWSIAGL.js.map} +0 -0
- /package/dist/{sarif-TMQEXFHP.js.map → sarif-BBNFOFUZ.js.map} +0 -0
- /package/dist/{sarif-UHITXNLM.js.map → sarif-MDBTPWQN.js.map} +0 -0
- /package/dist/{sarif-Z34PKKFQ.js.map → sarif-MTFYXIRJ.js.map} +0 -0
- /package/dist/{strategy-TGJGFZHD.js.map → strategy-3EJODC6O.js.map} +0 -0
- /package/dist/{types-VWL35P4F.js.map → types-GV2THIRC.js.map} +0 -0
- /package/dist/{validate-YTMGOZAP.js.map → validate-3C3RWYMR.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-4TSWU2SU.js";
|
|
5
5
|
import {
|
|
6
6
|
offeredNames
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QLK6LXSS.js";
|
|
8
8
|
import {
|
|
9
9
|
MANIFEST_VERSION
|
|
10
10
|
} from "./chunk-6WJUZQQX.js";
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
PROJECT_RULES_FILENAMES,
|
|
770
770
|
resolveArtifacts
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=chunk-
|
|
772
|
+
//# sourceMappingURL=chunk-Q34NWLGY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
loadTerms
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IQJ4WBJZ.js";
|
|
5
5
|
|
|
6
6
|
// src/term/commands/list.ts
|
|
7
7
|
var LIST_FORMATS = ["pretty", "json", "csv"];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
LIST_FORMATS,
|
|
15
15
|
runList
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-QFVBBRHW.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
metaProvenanceEntries
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X3FSKK53.js";
|
|
5
5
|
import {
|
|
6
6
|
__default3 as __default,
|
|
7
7
|
extractFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HQRXE6QY.js";
|
|
9
9
|
|
|
10
10
|
// src/tracevals/trace/availability.ts
|
|
11
11
|
function newAvailability() {
|
|
@@ -406,4 +406,4 @@ export {
|
|
|
406
406
|
extractEvals,
|
|
407
407
|
normalizeEntry
|
|
408
408
|
};
|
|
409
|
-
//# sourceMappingURL=chunk-
|
|
409
|
+
//# sourceMappingURL=chunk-QLK6LXSS.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
RULE_ID_PREFIX,
|
|
4
4
|
guidanceFor,
|
|
5
5
|
isTermRule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-43VLZO4W.js";
|
|
7
7
|
import {
|
|
8
8
|
TERM_FIELDS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BCRMMIY5.js";
|
|
10
10
|
import {
|
|
11
11
|
renderSarif
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JWS4OKOZ.js";
|
|
13
13
|
import {
|
|
14
14
|
guidanceLines
|
|
15
15
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
FIELD_LABEL,
|
|
74
74
|
renderFindingsSarif
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-QSABWNXP.js.map
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SiteError,
|
|
4
4
|
resolveAnnotateSite
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZZGHTXZ2.js";
|
|
6
6
|
import {
|
|
7
7
|
parseChunkRows,
|
|
8
8
|
parseChunksManifest,
|
|
9
9
|
range
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YUTRYEDG.js";
|
|
11
11
|
import {
|
|
12
12
|
documentBase,
|
|
13
13
|
formatOf,
|
|
14
14
|
loadRunConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FRAEUYJE.js";
|
|
16
16
|
import {
|
|
17
17
|
bodyLineOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OBFIWPEB.js";
|
|
19
19
|
import {
|
|
20
20
|
integrityOf,
|
|
21
21
|
locateFrontmatter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HQRXE6QY.js";
|
|
23
23
|
import {
|
|
24
24
|
notice,
|
|
25
25
|
warn
|
|
@@ -577,4 +577,4 @@ export {
|
|
|
577
577
|
runAnnotate,
|
|
578
578
|
renderAnnotate
|
|
579
579
|
};
|
|
580
|
-
//# sourceMappingURL=chunk-
|
|
580
|
+
//# sourceMappingURL=chunk-R3FCSRTX.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
spliceEntryField,
|
|
18
18
|
unifiedDiff,
|
|
19
19
|
withClaimLines
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UVI6JXRM.js";
|
|
21
21
|
import {
|
|
22
22
|
CITATIONS_KEY,
|
|
23
23
|
CITE_SECTION,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
stripMarkers,
|
|
60
60
|
twoManifestsRefusal,
|
|
61
61
|
urlManifestRefusal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PBR4TVEL.js";
|
|
63
63
|
import {
|
|
64
64
|
renderCheckJson,
|
|
65
65
|
renderHistoryJson,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
} from "./chunk-IM7C3H4W.js";
|
|
69
69
|
import {
|
|
70
70
|
renderCheckGithub
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-LESYV3TT.js";
|
|
72
72
|
import {
|
|
73
73
|
refusalLine,
|
|
74
74
|
removalLine,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
renderRemovePretty,
|
|
78
78
|
renderUpdatePretty,
|
|
79
79
|
rewriteLine
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-WLN4A2OJ.js";
|
|
81
81
|
import {
|
|
82
82
|
blockMatches,
|
|
83
83
|
claimEnd,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
toValidationResult,
|
|
104
104
|
unitAt,
|
|
105
105
|
unitText
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-5QPLKYLM.js";
|
|
107
107
|
import {
|
|
108
108
|
CITE_RULES,
|
|
109
109
|
CiteError,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
sourceRange,
|
|
130
130
|
spellSource,
|
|
131
131
|
validateEntry
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-4NCNVKZS.js";
|
|
133
133
|
import {
|
|
134
134
|
MAX_RANGE_LINES,
|
|
135
135
|
MOVE_BUDGET_BYTES,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
statementForms,
|
|
164
164
|
toBodyLines,
|
|
165
165
|
toFileLines
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-OBFIWPEB.js";
|
|
167
167
|
import {
|
|
168
168
|
__export
|
|
169
169
|
} from "./chunk-2H7UOFLK.js";
|
|
@@ -456,4 +456,4 @@ export {
|
|
|
456
456
|
reencryptCitationEntries,
|
|
457
457
|
cite_exports
|
|
458
458
|
};
|
|
459
|
-
//# sourceMappingURL=chunk-
|
|
459
|
+
//# sourceMappingURL=chunk-RA3QM7X6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
byCodeUnit
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FRAEUYJE.js";
|
|
5
5
|
|
|
6
6
|
// src/graph/core/localizations.ts
|
|
7
7
|
var LOCALIZATIONS_FILENAME = "localizations.json";
|
|
@@ -97,4 +97,4 @@ export {
|
|
|
97
97
|
parseLocalizations,
|
|
98
98
|
isSafeRelativePath
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=chunk-
|
|
100
|
+
//# sourceMappingURL=chunk-RCGR4NKY.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-BXQLKOOR.js";
|
|
7
7
|
import {
|
|
8
8
|
renderSarif
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JWS4OKOZ.js";
|
|
10
10
|
import {
|
|
11
11
|
guidanceLines
|
|
12
12
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
FIELD_LABEL,
|
|
48
48
|
renderFindingsSarif
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-S2ZOXAFY.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolveVariant,
|
|
14
14
|
traverse,
|
|
15
15
|
withholds
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YUTRYEDG.js";
|
|
17
17
|
import {
|
|
18
18
|
CONFIGURED_EVALS_LEFT_OUT,
|
|
19
19
|
COPIED_SHARE,
|
|
@@ -26,17 +26,17 @@ import {
|
|
|
26
26
|
readSampleQuestions,
|
|
27
27
|
userFacing,
|
|
28
28
|
withExternalMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FK2FAE3J.js";
|
|
30
30
|
import {
|
|
31
31
|
LOCALIZATIONS_FILENAME,
|
|
32
32
|
UNDETERMINED,
|
|
33
33
|
canonicalLanguageTag,
|
|
34
34
|
isLanguageTag,
|
|
35
35
|
parseLocalizations
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-RCGR4NKY.js";
|
|
37
37
|
import {
|
|
38
38
|
runCheck
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PBR4TVEL.js";
|
|
40
40
|
import {
|
|
41
41
|
packageRoot
|
|
42
42
|
} from "./chunk-TIUTIOFB.js";
|
|
@@ -56,15 +56,19 @@ import {
|
|
|
56
56
|
loadRunConfig,
|
|
57
57
|
metadataOf,
|
|
58
58
|
mintTreeSections,
|
|
59
|
+
parseContexts,
|
|
59
60
|
parseTree,
|
|
60
61
|
profileFor,
|
|
61
62
|
routesFrom,
|
|
62
63
|
withPrefix
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FRAEUYJE.js";
|
|
65
|
+
import {
|
|
66
|
+
plainText
|
|
67
|
+
} from "./chunk-H7SFSZ3I.js";
|
|
64
68
|
import {
|
|
65
69
|
readRecord,
|
|
66
70
|
runDerive
|
|
67
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-X3FSKK53.js";
|
|
68
72
|
import {
|
|
69
73
|
bodyLineOf,
|
|
70
74
|
findWindows,
|
|
@@ -72,11 +76,13 @@ import {
|
|
|
72
76
|
spellLines,
|
|
73
77
|
splitLines,
|
|
74
78
|
toFileLines
|
|
75
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-OBFIWPEB.js";
|
|
76
80
|
import {
|
|
77
81
|
integrityOf,
|
|
78
|
-
|
|
79
|
-
|
|
82
|
+
isFlare,
|
|
83
|
+
locateFrontmatter,
|
|
84
|
+
supportedExtensions
|
|
85
|
+
} from "./chunk-HQRXE6QY.js";
|
|
80
86
|
import {
|
|
81
87
|
warn
|
|
82
88
|
} from "./chunk-HX44GB4Z.js";
|
|
@@ -741,13 +747,10 @@ var FRONTMATTER = /^---[ \t]*\r?\n(?:[\s\S]*?\r?\n)?(?:---|\.\.\.)[ \t]*(?:\r?\n
|
|
|
741
747
|
function stripFrontmatter(markdown) {
|
|
742
748
|
return markdown.replace(FRONTMATTER, "");
|
|
743
749
|
}
|
|
744
|
-
function
|
|
745
|
-
return nodes.map((n) => n.text.replace(/\r\n/g, "\n").trim()).filter((t) => t !== "");
|
|
746
|
-
}
|
|
747
|
-
async function treeText(source, path) {
|
|
750
|
+
async function treeText(source, path, context) {
|
|
748
751
|
const format = formatOf(path);
|
|
749
752
|
if (format === "markdown" || format === "mdx") return void 0;
|
|
750
|
-
const minted = mintTreeSections((await parseTree(source, path, format)).sections);
|
|
753
|
+
const minted = mintTreeSections((await parseTree(source, path, format, context)).sections);
|
|
751
754
|
const sections = /* @__PURE__ */ new Map();
|
|
752
755
|
for (const [n, section] of minted.sections.entries()) {
|
|
753
756
|
const own = plainText(minted.owned[n] ?? []);
|
|
@@ -792,7 +795,7 @@ async function buildSearchIndex(graph, cwd, options = {}) {
|
|
|
792
795
|
`Source not found for ${path} \u2014 indexed without body text.`
|
|
793
796
|
);
|
|
794
797
|
}
|
|
795
|
-
const tree = source === void 0 || path === void 0 ? void 0 : await treeText(source, path);
|
|
798
|
+
const tree = source === void 0 || path === void 0 ? void 0 : await treeText(source, path, options.context?.(path));
|
|
796
799
|
if (tree) treeTextOf.set(doc, tree);
|
|
797
800
|
const body = source === void 0 ? void 0 : stripFrontmatter(source).replace(/\r\n/g, "\n");
|
|
798
801
|
const text = tree ? tree.doc : body === void 0 ? void 0 : (sectionsOf.get(doc)?.length ?? 0) > 0 ? documentPreamble(body) : body;
|
|
@@ -952,13 +955,17 @@ function lastLine(position) {
|
|
|
952
955
|
const { start, end } = position;
|
|
953
956
|
return end.column <= 1 && end.line > start.line ? end.line - 1 : end.line;
|
|
954
957
|
}
|
|
955
|
-
async function sectionSpans(graph, doc, path, content, sections) {
|
|
958
|
+
async function sectionSpans(graph, doc, path, content, sections, context) {
|
|
956
959
|
const format = formatOf(path);
|
|
957
960
|
const out = [];
|
|
958
961
|
if (isTreeFormat(format)) {
|
|
959
962
|
const known = new Set(sections);
|
|
960
|
-
const minted = mintTreeSections((await parseTree(content, path, format)).sections);
|
|
963
|
+
const minted = mintTreeSections((await parseTree(content, path, format, context)).sections);
|
|
964
|
+
const resolved = format === "html" && context?.flare !== void 0 && isFlare(content);
|
|
965
|
+
const texts = plainText(minted.unowned);
|
|
961
966
|
for (const [n, section] of minted.sections.entries()) {
|
|
967
|
+
const text = [section.title, ...plainText(minted.owned[n] ?? [])].join("\n\n");
|
|
968
|
+
texts.push(text);
|
|
962
969
|
const iri = `${doc}#${section.slug}`;
|
|
963
970
|
const node = minted.nodes[n];
|
|
964
971
|
if (!known.has(iri) || node === void 0) continue;
|
|
@@ -967,9 +974,9 @@ async function sectionSpans(graph, doc, path, content, sections) {
|
|
|
967
974
|
lastLine(head),
|
|
968
975
|
...(minted.owned[n] ?? []).map((c) => lastLine(c.position))
|
|
969
976
|
);
|
|
970
|
-
out.push({ iri, span: { start: head.start.line, end } });
|
|
977
|
+
out.push({ iri, span: { start: head.start.line, end }, ...resolved ? { text } : {} });
|
|
971
978
|
}
|
|
972
|
-
return out;
|
|
979
|
+
return { spans: out, ...resolved ? { text: texts.join("\n\n") } : {} };
|
|
973
980
|
}
|
|
974
981
|
const occurrences = sectionOccurrences(graph, doc);
|
|
975
982
|
for (const iri of sections) {
|
|
@@ -984,7 +991,7 @@ async function sectionSpans(graph, doc, path, content, sections) {
|
|
|
984
991
|
);
|
|
985
992
|
if (span) out.push({ iri, span });
|
|
986
993
|
}
|
|
987
|
-
return out;
|
|
994
|
+
return { spans: out };
|
|
988
995
|
}
|
|
989
996
|
function bodyOf(content, format) {
|
|
990
997
|
const bodyLine = format === "html" || format === "xml" ? 1 : bodyLineOf(content, locateFrontmatter(content)?.closeEnd ?? 0);
|
|
@@ -1010,7 +1017,7 @@ function matchList(ranges) {
|
|
|
1010
1017
|
const both = head.length === 1 ? "both" : "all";
|
|
1011
1018
|
return `lines ${head.join(", ")} and ${last} ${both} match`;
|
|
1012
1019
|
}
|
|
1013
|
-
async function readPages(graph, sources, view, verb) {
|
|
1020
|
+
async function readPages(graph, sources, view, verb, context) {
|
|
1014
1021
|
const contents = /* @__PURE__ */ new Map();
|
|
1015
1022
|
const onDisk = [];
|
|
1016
1023
|
const byAbs = /* @__PURE__ */ new Map();
|
|
@@ -1049,7 +1056,7 @@ async function readPages(graph, sources, view, verb) {
|
|
|
1049
1056
|
language: tag === void 0 ? UNDETERMINED : canonicalLanguageTag(tag),
|
|
1050
1057
|
bodyLine,
|
|
1051
1058
|
body,
|
|
1052
|
-
sections: await sectionSpans(graph, doc, path, content, sectionsOf.get(doc) ?? []),
|
|
1059
|
+
sections: (await sectionSpans(graph, doc, path, content, sectionsOf.get(doc) ?? [], context?.(path))).spans,
|
|
1053
1060
|
questions
|
|
1054
1061
|
};
|
|
1055
1062
|
};
|
|
@@ -1119,7 +1126,7 @@ function renderQuestionSummary(s) {
|
|
|
1119
1126
|
...s.gaps > 0 ? [` gaps ${plural(s.gaps, "question")} the docs don't answer`] : []
|
|
1120
1127
|
];
|
|
1121
1128
|
}
|
|
1122
|
-
async function askSampleQuestions(store, settings, sources, indexDir, view, questionFiles, configDir, cite) {
|
|
1129
|
+
async function askSampleQuestions(store, settings, sources, indexDir, view, questionFiles, configDir, cite, context) {
|
|
1123
1130
|
const knob = settings.severity;
|
|
1124
1131
|
const top = settings.top;
|
|
1125
1132
|
const sets = questionFiles.map((label) => ({
|
|
@@ -1127,7 +1134,7 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
|
|
|
1127
1134
|
questions: readQuestionFile(resolve3(configDir, label), label)
|
|
1128
1135
|
}));
|
|
1129
1136
|
const graph = GraphIndex.fromQuads(storeToQuads(store), Object.fromEntries(PREFIXES));
|
|
1130
|
-
const { pages, contents, pageAt } = await readPages(graph, sources, view, "checked");
|
|
1137
|
+
const { pages, contents, pageAt } = await readPages(graph, sources, view, "checked", context);
|
|
1131
1138
|
const total = pages.reduce((n, p) => n + p.questions.length, 0) + sets.reduce((n, f) => n + f.questions.length, 0);
|
|
1132
1139
|
if (total === 0) return { findings: [] };
|
|
1133
1140
|
let byLanguage;
|
|
@@ -1141,7 +1148,10 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
|
|
|
1141
1148
|
if (byLanguage === void 0) {
|
|
1142
1149
|
byLanguage = partitionByLanguage(
|
|
1143
1150
|
graph,
|
|
1144
|
-
await buildSearchIndex(graph, sources, {
|
|
1151
|
+
await buildSearchIndex(graph, sources, {
|
|
1152
|
+
readDoc: (p) => contents.get(p),
|
|
1153
|
+
...context === void 0 ? {} : { context }
|
|
1154
|
+
})
|
|
1145
1155
|
);
|
|
1146
1156
|
manifest = readManifest(indexDir);
|
|
1147
1157
|
}
|
|
@@ -1445,13 +1455,13 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
|
|
|
1445
1455
|
}
|
|
1446
1456
|
return { findings, summary };
|
|
1447
1457
|
}
|
|
1448
|
-
async function exportSampleQuestions(store, sources, view, questionFiles, configDir) {
|
|
1458
|
+
async function exportSampleQuestions(store, sources, view, questionFiles, configDir, context) {
|
|
1449
1459
|
const sets = questionFiles.map((label) => ({
|
|
1450
1460
|
label,
|
|
1451
1461
|
questions: readQuestionFile(resolve3(configDir, label), label)
|
|
1452
1462
|
}));
|
|
1453
1463
|
const graph = GraphIndex.fromQuads(storeToQuads(store), Object.fromEntries(PREFIXES));
|
|
1454
|
-
const { pages, pageAt } = await readPages(graph, sources, view, "exported");
|
|
1464
|
+
const { pages, pageAt } = await readPages(graph, sources, view, "exported", context);
|
|
1455
1465
|
let stale = 0;
|
|
1456
1466
|
const pinned = (page, file, pin, reviewed) => {
|
|
1457
1467
|
const fresh = freshness(page.body, pin);
|
|
@@ -1505,7 +1515,7 @@ async function exportSampleQuestions(store, sources, view, questionFiles, config
|
|
|
1505
1515
|
// src/graph/commands/chunks.ts
|
|
1506
1516
|
import { execFile } from "node:child_process";
|
|
1507
1517
|
import { existsSync as existsSync5, mkdirSync, readFileSync as readFileSync5, writeFileSync } from "node:fs";
|
|
1508
|
-
import { basename, join as join3, resolve as resolve4 } from "node:path";
|
|
1518
|
+
import { basename, extname, join as join3, resolve as resolve4 } from "node:path";
|
|
1509
1519
|
import { promisify } from "node:util";
|
|
1510
1520
|
|
|
1511
1521
|
// src/graph/core/emit-jsonld.ts
|
|
@@ -1614,9 +1624,10 @@ async function exportChunks(opts) {
|
|
|
1614
1624
|
pages.sort((a, b) => byCodeUnit(a.path, b.path));
|
|
1615
1625
|
const allPaths = new Set(pages.map((p) => p.path));
|
|
1616
1626
|
const routes = routesFrom(config, sources);
|
|
1627
|
+
const context = parseContexts(config, sources);
|
|
1617
1628
|
const view = await openMetaView(opts.source, cwd, [...allPaths], sources);
|
|
1618
1629
|
let models = await withExternalMetadata(
|
|
1619
|
-
await Promise.all(pages.map((p) => analyzeDoc(p.content, p.path, allPaths, { routes }))),
|
|
1630
|
+
await Promise.all(pages.map((p) => analyzeDoc(p.content, p.path, allPaths, { routes, context }))),
|
|
1620
1631
|
view
|
|
1621
1632
|
);
|
|
1622
1633
|
const authoring = opts.authoring !== false;
|
|
@@ -1643,8 +1654,10 @@ async function exportChunks(opts) {
|
|
|
1643
1654
|
}
|
|
1644
1655
|
const worktree = git.commit === null ? null : git.dirty.size > 0 ? "modified" : "clean";
|
|
1645
1656
|
const metadataByPage = new Map(models.map((m) => [m.path, m.frontmatter]));
|
|
1646
|
-
const
|
|
1647
|
-
const
|
|
1657
|
+
const metaExtensions = new Set(supportedExtensions());
|
|
1658
|
+
const metaPaths = paths.filter((p) => metaExtensions.has(extname(p).toLowerCase()));
|
|
1659
|
+
const pins = authoring ? await pinsByPage(opts, sources, metaPaths, metadataByPage) : /* @__PURE__ */ new Map();
|
|
1660
|
+
const dates = await datesByPage(opts, sources, metaPaths, git.commit !== null, authoring ? void 0 : metadataByPage);
|
|
1648
1661
|
const evals = authoring ? readEvals(opts, sources, pages, warnings) : void 0;
|
|
1649
1662
|
if (opts.evals === void 0) warnings.push("no docevals report is configured, so records carry no eval verdicts.");
|
|
1650
1663
|
else if (!authoring) warnings.push(CONFIGURED_EVALS_LEFT_OUT);
|
|
@@ -1692,7 +1705,7 @@ async function exportChunks(opts) {
|
|
|
1692
1705
|
evals: evals?.get(page.path) ?? null,
|
|
1693
1706
|
statements: blocks.filter((b) => b.start >= start && b.end <= end).map((b) => ({ lines: `${String(b.start)}-${String(b.end)}`, status: b.status, data: b.data }))
|
|
1694
1707
|
});
|
|
1695
|
-
for (const passage of await passagesOf(graph, page, model, bodyLine, language, metadata, bySection)) {
|
|
1708
|
+
for (const passage of await passagesOf(graph, page, model, bodyLine, language, metadata, bySection, context(page.path))) {
|
|
1696
1709
|
const vector = vectors?.byId.get(passage.id);
|
|
1697
1710
|
rows.push({
|
|
1698
1711
|
id: passage.id,
|
|
@@ -1767,38 +1780,43 @@ function languageOf(graph, doc) {
|
|
|
1767
1780
|
const tag = graph.literal(doc, LANGUAGE2);
|
|
1768
1781
|
return tag === void 0 ? UNDETERMINED : canonicalLanguageTag(tag);
|
|
1769
1782
|
}
|
|
1770
|
-
async function passagesOf(graph, page, model, bodyLine, language, metadata, bySection) {
|
|
1783
|
+
async function passagesOf(graph, page, model, bodyLine, language, metadata, bySection, context) {
|
|
1771
1784
|
const out = [];
|
|
1772
1785
|
const fileLines = page.content.split(/\r?\n/);
|
|
1773
1786
|
const body = fileLines.slice(bodyLine - 1).join("\n").trimEnd();
|
|
1774
|
-
|
|
1787
|
+
const sections = documentSectionOrder(graph, page.doc);
|
|
1788
|
+
const format = formatOf(page.path, model.format);
|
|
1789
|
+
const tree = isTreeFormat(format) ? await sectionSpans(graph, page.doc, page.path, page.content, sections, context) : void 0;
|
|
1790
|
+
const text = tree?.text ?? body;
|
|
1791
|
+
if (text.trim() !== "") {
|
|
1775
1792
|
out.push({
|
|
1776
1793
|
id: page.doc,
|
|
1777
1794
|
page: page.path,
|
|
1778
1795
|
start: 1,
|
|
1779
1796
|
end: body.split("\n").length,
|
|
1780
1797
|
title: graph.literal(page.doc, TITLE2) ?? page.path,
|
|
1781
|
-
text
|
|
1798
|
+
text,
|
|
1782
1799
|
language,
|
|
1783
1800
|
metadata
|
|
1784
1801
|
});
|
|
1785
1802
|
}
|
|
1786
|
-
const sections = documentSectionOrder(graph, page.doc);
|
|
1787
1803
|
const spans = /* @__PURE__ */ new Map();
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
const own = new Map((await sectionSpans(graph, page.doc, page.path, page.content, sections)).map((s) => [s.iri, s.span]));
|
|
1804
|
+
if (tree !== void 0) {
|
|
1805
|
+
const own = new Map(tree.spans.map((s) => [s.iri, s]));
|
|
1791
1806
|
const levels = sections.map((iri) => Number.parseInt(graph.literal(iri, LEVEL2) ?? "", 10));
|
|
1792
1807
|
for (const [i, iri] of sections.entries()) {
|
|
1793
1808
|
const span = own.get(iri);
|
|
1794
1809
|
if (span === void 0) continue;
|
|
1795
|
-
let end = span.end;
|
|
1810
|
+
let end = span.span.end;
|
|
1811
|
+
const texts = span.text === void 0 ? void 0 : [span.text];
|
|
1796
1812
|
for (let j = i + 1; j < sections.length; j++) {
|
|
1797
1813
|
const level = levels[j] ?? Number.NaN;
|
|
1798
1814
|
if (!(level > (levels[i] ?? Number.NaN))) break;
|
|
1799
|
-
|
|
1815
|
+
const nested = own.get(sections[j] ?? "");
|
|
1816
|
+
end = Math.max(end, nested?.span.end ?? end);
|
|
1817
|
+
if (nested?.text !== void 0) texts?.push(nested.text);
|
|
1800
1818
|
}
|
|
1801
|
-
spans.set(iri, { start: span.start, end });
|
|
1819
|
+
spans.set(iri, { start: span.span.start, end, ...texts === void 0 ? {} : { text: texts.join("\n\n") } });
|
|
1802
1820
|
}
|
|
1803
1821
|
} else {
|
|
1804
1822
|
const occurrences = sectionOccurrences(graph, page.doc);
|
|
@@ -1814,8 +1832,8 @@ async function passagesOf(graph, page, model, bodyLine, language, metadata, bySe
|
|
|
1814
1832
|
for (const iri of sections) {
|
|
1815
1833
|
const span = spans.get(iri);
|
|
1816
1834
|
if (span === void 0 || span.start < bodyLine) continue;
|
|
1817
|
-
const
|
|
1818
|
-
if (
|
|
1835
|
+
const text2 = span.text ?? fileLines.slice(span.start - 1, span.end).join("\n").trimEnd();
|
|
1836
|
+
if (text2 === "") continue;
|
|
1819
1837
|
const chain = [];
|
|
1820
1838
|
let slug = iri.slice(iri.indexOf("#") + 1);
|
|
1821
1839
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1828,9 +1846,9 @@ async function passagesOf(graph, page, model, bodyLine, language, metadata, bySe
|
|
|
1828
1846
|
id: iri,
|
|
1829
1847
|
page: page.path,
|
|
1830
1848
|
start: span.start - bodyLine + 1,
|
|
1831
|
-
end: span.start - bodyLine +
|
|
1849
|
+
end: span.text === void 0 ? span.start - bodyLine + text2.split("\n").length : span.end - bodyLine + 1,
|
|
1832
1850
|
title: graph.literal(iri, TITLE2) ?? iri,
|
|
1833
|
-
text,
|
|
1851
|
+
text: text2,
|
|
1834
1852
|
language,
|
|
1835
1853
|
metadata: Object.assign({}, metadata, ...chain)
|
|
1836
1854
|
});
|
|
@@ -2743,4 +2761,4 @@ export {
|
|
|
2743
2761
|
shapeText,
|
|
2744
2762
|
validateGraph
|
|
2745
2763
|
};
|
|
2746
|
-
//# sourceMappingURL=chunk-
|
|
2764
|
+
//# sourceMappingURL=chunk-SYZ75Q5F.js.map
|