@maycombhq/atticus 2.0.0-beta.10 → 2.0.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +3 -3
- package/dist/{chunk-AY2IUF4K.js → chunk-22GLUHGE.js} +659 -73
- package/dist/{chunk-CIUHAHM6.js → chunk-2A24BNRZ.js} +8 -8
- package/dist/{chunk-2RX7PI2Y.js → chunk-2ELFEKOO.js} +4 -4
- package/dist/{chunk-QKEFZRHS.js → chunk-2P6IHSRO.js} +17 -17
- package/dist/chunk-2Q2YBAR5.js +40 -0
- package/dist/{chunk-7DUDLVFJ.js → chunk-2VQLFNBO.js} +20 -20
- package/dist/{chunk-E3Z67HRK.js → chunk-3256EDLL.js} +4 -4
- package/dist/{chunk-OIU657QQ.js → chunk-34BCKMBS.js} +4 -4
- package/dist/{chunk-UR7RMZ3R.js → chunk-34NWVIBC.js} +2 -2
- package/dist/{chunk-6VBXAGJX.js → chunk-36KD4OGC.js} +14 -14
- package/dist/{chunk-I7IWQIEB.js → chunk-3CFBU2O6.js} +4 -4
- package/dist/{chunk-OSGQW2Z6.js → chunk-3JLTN3Y7.js} +8 -8
- package/dist/{chunk-FOGG4AUR.js → chunk-3M7QBKKG.js} +25 -7
- package/dist/{chunk-UF7TAFJM.js → chunk-3RP34PYV.js} +18 -18
- package/dist/{chunk-YLAJAI2W.js → chunk-3ZKLWM5Y.js} +11 -11
- package/dist/{chunk-LTQANUDH.js → chunk-47HPZ34V.js} +25 -25
- package/dist/chunk-4BPROPGG.js +45 -0
- package/dist/{chunk-Y4BRGOJR.js → chunk-4G56W6H7.js} +13 -10
- package/dist/{chunk-YXJ4XOHF.js → chunk-4HIQ2FTI.js} +4 -4
- package/dist/{chunk-AJJK7GLO.js → chunk-4HTILEXW.js} +3 -3
- package/dist/{chunk-OJLRFGBP.js → chunk-4Q2PGM5T.js} +78 -15
- package/dist/{chunk-GR6YKM55.js → chunk-4RDW2X43.js} +108 -14
- package/dist/{chunk-23M2LUYM.js → chunk-4VOG5H2K.js} +1 -1
- package/dist/chunk-5CSZTVXH.js +34 -0
- package/dist/{chunk-65C57N7P.js → chunk-5FFMJMVH.js} +19 -19
- package/dist/{chunk-XNYNEEBR.js → chunk-5GGGAI5C.js} +18 -18
- package/dist/{chunk-IUD3ME4E.js → chunk-5H46QFSL.js} +4 -4
- package/dist/{chunk-KIHOIVST.js → chunk-5ION6STH.js} +3 -3
- package/dist/chunk-5M3CLAOV.js +39 -0
- package/dist/chunk-5OACMWWI.js +886 -0
- package/dist/{chunk-2HMWX4T6.js → chunk-6ENDKY52.js} +11 -11
- package/dist/{chunk-OS7PQ35Z.js → chunk-6FG7QKJC.js} +22 -22
- package/dist/{chunk-FEZE6NIA.js → chunk-6JV3YHRR.js} +18 -18
- package/dist/{chunk-WGZWR4RF.js → chunk-6ROZRBWH.js} +5 -5
- package/dist/{chunk-WARBF2KY.js → chunk-6S27MUQQ.js} +10 -6
- package/dist/{chunk-TZDSDDSV.js → chunk-72DY5NCN.js} +2 -2
- package/dist/chunk-76QVBNEM.js +37 -0
- package/dist/{chunk-N4QZJJVB.js → chunk-77UOXZVM.js} +5 -5
- package/dist/{chunk-LVGBKKSM.js → chunk-7AXMUE2U.js} +15 -15
- package/dist/{chunk-FJCFYKVO.js → chunk-7TEQF64E.js} +196 -76
- package/dist/{chunk-IDGSU7JF.js → chunk-7TH6I6TL.js} +9 -9
- package/dist/{chunk-ZONE6E3Z.js → chunk-7UKETVPW.js} +2 -2
- package/dist/{chunk-XKS6THI5.js → chunk-7VNEDDCC.js} +2 -2
- package/dist/{chunk-BMHGA7WD.js → chunk-A5GY2EWH.js} +12 -12
- package/dist/{chunk-E3JYO547.js → chunk-AEZ3EICK.js} +20 -20
- package/dist/{chunk-7F2RUWPU.js → chunk-ARLH2ZMD.js} +1 -1
- package/dist/{chunk-VKMTFIWS.js → chunk-AYVLEB55.js} +18 -18
- package/dist/chunk-B6X5PJSA.js +320 -0
- package/dist/{chunk-JMSEEBN4.js → chunk-BRCDEGNE.js} +1 -1
- package/dist/{chunk-67J3VZBA.js → chunk-BSVTNNUK.js} +5 -5
- package/dist/{chunk-3GTZ2OON.js → chunk-BTOGAUWX.js} +20 -11
- package/dist/{chunk-4SVJNVEE.js → chunk-BXBCMGIQ.js} +2 -0
- package/dist/chunk-BXP2Q4TD.js +48 -0
- package/dist/{chunk-XPEEICAO.js → chunk-BZRWJUB4.js} +15 -15
- package/dist/{chunk-MH5OCRUM.js → chunk-CH6LUQLD.js} +2 -2
- package/dist/{chunk-T6USVBEJ.js → chunk-CIIRPLI6.js} +5 -5
- package/dist/chunk-CJXM6SG4.js +339 -0
- package/dist/{chunk-5XDNUJ4P.js → chunk-CQD26SMZ.js} +4 -2
- package/dist/{chunk-7TGYNOXD.js → chunk-CW5SEPUT.js} +7 -7
- package/dist/{chunk-5KTOPOEP.js → chunk-CWSZP2LU.js} +25 -25
- package/dist/chunk-CXK27ZUY.js +32 -0
- package/dist/{chunk-YGKYFMSL.js → chunk-CXY4YDXS.js} +3 -3
- package/dist/{chunk-R64GLVBO.js → chunk-DDZZXVQ5.js} +10 -10
- package/dist/{chunk-7YYEKTYF.js → chunk-DGZXJO5I.js} +8 -8
- package/dist/{chunk-IV7BCWWN.js → chunk-DONCF2XC.js} +3 -3
- package/dist/{chunk-RRVT4MPS.js → chunk-DPNCAFMB.js} +18 -18
- package/dist/{chunk-UBWCUP3G.js → chunk-DQKNOHUZ.js} +2 -2
- package/dist/{chunk-NGPU2ARF.js → chunk-DW4BM73R.js} +1 -1
- package/dist/{chunk-PEF5OEMB.js → chunk-DWN7RSNQ.js} +4 -4
- package/dist/{chunk-KC5DROFC.js → chunk-DWYPYVPJ.js} +14 -14
- package/dist/{chunk-B7434AE2.js → chunk-E73QLYK7.js} +24 -3
- package/dist/{chunk-EX6ZXS5K.js → chunk-EE3UNC44.js} +4 -4
- package/dist/chunk-EJDZEK22.js +53 -0
- package/dist/{chunk-ISNZYKAS.js → chunk-ENZWVTTN.js} +21 -21
- package/dist/{chunk-ROTY5J2L.js → chunk-EREL3TQG.js} +1 -1
- package/dist/{chunk-ZZXF6OOJ.js → chunk-ESGIBN3S.js} +2 -2
- package/dist/{chunk-YGR6OCHQ.js → chunk-EU7VTBAI.js} +8 -14
- package/dist/chunk-F5GA6G3U.js +48 -0
- package/dist/{chunk-JAA53T23.js → chunk-F6FGIYPT.js} +20 -20
- package/dist/{chunk-NPCD54I7.js → chunk-FAET4BB6.js} +8 -5
- package/dist/{chunk-YPBQNJHA.js → chunk-FBFSTYAB.js} +8 -8
- package/dist/{chunk-OEI7LVRP.js → chunk-FEBYMFZA.js} +24 -24
- package/dist/chunk-FMV6IZ3P.js +54 -0
- package/dist/{chunk-F7UQR4ZX.js → chunk-FQ6IBYFC.js} +3 -3
- package/dist/{chunk-J5LHDJU4.js → chunk-FSJMFPA3.js} +7 -7
- package/dist/chunk-GFZ5MIQG.js +47 -0
- package/dist/{chunk-LK44ULGI.js → chunk-GHSVJNVL.js} +104 -11
- package/dist/{chunk-LRS573EX.js → chunk-GKPOCUQR.js} +12 -7
- package/dist/{chunk-LDKUC2QJ.js → chunk-GLSNVC67.js} +17 -17
- package/dist/{chunk-47QE246J.js → chunk-GMDOXWIS.js} +5 -5
- package/dist/{chunk-5MI2SEV5.js → chunk-GN5ZLSLD.js} +3 -3
- package/dist/{chunk-JQ7XQPQS.js → chunk-GUNBOZ75.js} +4 -4
- package/dist/{chunk-HHUFVJF7.js → chunk-GYS64N6F.js} +6 -6
- package/dist/{chunk-AKJTKMXU.js → chunk-HIQWJ6JZ.js} +5 -5
- package/dist/{chunk-6GNS32SI.js → chunk-HJ52XDST.js} +4 -4
- package/dist/{chunk-2KDSXJFJ.js → chunk-HJUEQERG.js} +34 -7
- package/dist/chunk-HKGQUOQ3.js +88 -0
- package/dist/chunk-HP32HUWR.js +41 -0
- package/dist/{chunk-R4TBNKKC.js → chunk-HY2VVVFZ.js} +1249 -610
- package/dist/{chunk-G5SFOH7P.js → chunk-I2PNEG3M.js} +38 -23
- package/dist/{chunk-Y5PZHS4K.js → chunk-INCECZ2E.js} +5 -5
- package/dist/{chunk-RK6MKKKP.js → chunk-ISXNWUG7.js} +1 -1
- package/dist/{chunk-73VPWF5R.js → chunk-ITJ7ST5E.js} +4 -4
- package/dist/{chunk-5IALSMZ2.js → chunk-J3VAFDEX.js} +14 -14
- package/dist/chunk-JGLZUQVN.js +29 -0
- package/dist/{chunk-5XN76FTF.js → chunk-JLIEAQP4.js} +5 -5
- package/dist/{chunk-MGVYVW7Q.js → chunk-JQG4VO47.js} +1 -1
- package/dist/chunk-JXXQHETS.js +130 -0
- package/dist/{chunk-APSVL2AI.js → chunk-KNGESBFW.js} +15 -15
- package/dist/{chunk-7UKVYFQ2.js → chunk-KUYA2E7M.js} +8 -8
- package/dist/{chunk-WLIIQ2A4.js → chunk-KY2ZHTBJ.js} +7 -7
- package/dist/{chunk-YPIEYQF4.js → chunk-L4UIKAWD.js} +6 -6
- package/dist/chunk-LDUJ6NIT.js +247 -0
- package/dist/{chunk-5YIBJXGB.js → chunk-LTLR4JZJ.js} +10 -10
- package/dist/{chunk-IZNSAEBX.js → chunk-MFRPLAOH.js} +2 -2
- package/dist/{chunk-6GWHKMQR.js → chunk-MH7UBG47.js} +4 -4
- package/dist/{chunk-4GZXS6S2.js → chunk-MLAACAES.js} +278 -17
- package/dist/{chunk-D3PO4DOZ.js → chunk-MMB2OHUY.js} +4 -2
- package/dist/{chunk-DDAHCPGA.js → chunk-MNCQ2GL7.js} +12 -12
- package/dist/{chunk-UYYN2IUZ.js → chunk-MNUZX67F.js} +6 -6
- package/dist/{chunk-YFSSNGLR.js → chunk-MQHYCS6A.js} +32 -29
- package/dist/{chunk-MKRBG5EF.js → chunk-MRLCNXXR.js} +1 -1
- package/dist/{chunk-BUYJL3GJ.js → chunk-NBQO75XT.js} +1 -1
- package/dist/{chunk-GXJVY6WT.js → chunk-NCONDPHH.js} +5 -5
- package/dist/{chunk-ZP4FJHR4.js → chunk-NHS55U7T.js} +18 -18
- package/dist/{chunk-CRE4BJHM.js → chunk-NL6XQZSV.js} +23 -23
- package/dist/{chunk-YVLMBAYE.js → chunk-NSJ6ZR2A.js} +3 -3
- package/dist/{chunk-XRO65C7V.js → chunk-NTNJNRHW.js} +8 -6
- package/dist/{chunk-FTV6I76U.js → chunk-NTTXTLCQ.js} +25 -25
- package/dist/chunk-NWL7XEQ4.js +37 -0
- package/dist/{chunk-CNKGYDMG.js → chunk-NWXY3B4R.js} +23 -23
- package/dist/{chunk-52R2YXP5.js → chunk-O5W4ECUY.js} +16 -16
- package/dist/{chunk-OGRWQ562.js → chunk-O6ILVBYB.js} +2 -2
- package/dist/{chunk-BJPMKJTL.js → chunk-OJAJXU65.js} +102 -2
- package/dist/{chunk-FZL2HNWP.js → chunk-OMH3I5BH.js} +3 -3
- package/dist/{chunk-MF7QH4AX.js → chunk-P6UJ22XR.js} +5 -5
- package/dist/{chunk-HE4ZQXZM.js → chunk-P76AW3PA.js} +309 -15
- package/dist/{chunk-GZ4TKR3Q.js → chunk-PCCPXWJC.js} +48 -139
- package/dist/{chunk-6TJCUYC5.js → chunk-PGFRXGHA.js} +3 -3
- package/dist/{chunk-NIXVDQVO.js → chunk-PJRMMWU4.js} +2 -2
- package/dist/{chunk-X4W4XXWP.js → chunk-PKJ3K3GM.js} +5 -5
- package/dist/{chunk-KM2FBM3T.js → chunk-PVW2N63M.js} +302 -55
- package/dist/{chunk-Y7KBQ4BD.js → chunk-Q55UP5EZ.js} +22 -22
- package/dist/{chunk-7URGP4DD.js → chunk-QAFMLBPF.js} +12 -12
- package/dist/{chunk-KIAI6PWL.js → chunk-QEZSA2O7.js} +17 -17
- package/dist/{chunk-PKCMRPPB.js → chunk-QJ3OX7OC.js} +33 -27
- package/dist/{chunk-6EDQE7GO.js → chunk-QL4VNY4U.js} +2 -2
- package/dist/{chunk-6JLPXDWN.js → chunk-QR65C3DV.js} +5 -5
- package/dist/{chunk-ILFKECGI.js → chunk-QXGOEP44.js} +4 -4
- package/dist/chunk-QY7RGTUP.js +326 -0
- package/dist/{chunk-PGKHJYOB.js → chunk-RA64IK43.js} +1 -1
- package/dist/{chunk-XB5RFZHH.js → chunk-RLJDYLID.js} +12 -12
- package/dist/{chunk-AWECWW5Y.js → chunk-RMLUZYEA.js} +13 -11
- package/dist/chunk-RSVBX6A3.js +54 -0
- package/dist/chunk-RZWZO2JQ.js +42 -0
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/{chunk-TM7LC37P.js → chunk-SAC6FNKR.js} +181 -117
- package/dist/{chunk-DPHCFZ7W.js → chunk-SCBU46AJ.js} +3 -3
- package/dist/{chunk-EZIUFEN6.js → chunk-SGNHNN3G.js} +12 -12
- package/dist/{chunk-XKZHAD6Y.js → chunk-SHAAGH3T.js} +15 -15
- package/dist/chunk-SK5OYWIY.js +122 -0
- package/dist/{chunk-FR7JPYBD.js → chunk-SNSFQ47W.js} +12 -12
- package/dist/{chunk-FV5YFR6I.js → chunk-SSL6JMPA.js} +9 -9
- package/dist/{chunk-XEG3FE2R.js → chunk-TA2ZNDYD.js} +1 -1
- package/dist/{chunk-JF2NSTFO.js → chunk-TEHH47TG.js} +3 -3
- package/dist/{chunk-W5OYJMBT.js → chunk-TEZSZ24W.js} +5 -5
- package/dist/{chunk-SS66Q4VE.js → chunk-TH526O6E.js} +12 -12
- package/dist/{chunk-R6B6XAKK.js → chunk-TIAPEYWI.js} +4 -4
- package/dist/chunk-TLCRIAU3.js +44 -0
- package/dist/{chunk-FMKKVWZD.js → chunk-TQYBXDVH.js} +2 -2
- package/dist/chunk-TV4CGNEY.js +43 -0
- package/dist/{chunk-QICFHVRW.js → chunk-TVSNWIAM.js} +8 -6
- package/dist/{chunk-CHC5FKTU.js → chunk-TWHZU36X.js} +1 -1
- package/dist/{chunk-BMCKL3VQ.js → chunk-TXV2AYZB.js} +24 -24
- package/dist/{chunk-577AJVRS.js → chunk-U25OX22K.js} +2039 -289
- package/dist/{chunk-7EKESFWV.js → chunk-U4NNG3ES.js} +11 -11
- package/dist/{chunk-XQ3YIV5R.js → chunk-U5T4A2QV.js} +6 -6
- package/dist/{chunk-2XM6PYQQ.js → chunk-UT5OA7KA.js} +43 -11
- package/dist/{chunk-BXIX7S7O.js → chunk-V3VCUSQ6.js} +15 -15
- package/dist/{chunk-4QUQEBFT.js → chunk-V5XV3JSP.js} +6 -6
- package/dist/{chunk-F7YL2RZ4.js → chunk-VF4VOPMB.js} +23 -23
- package/dist/{chunk-3QAKDIEU.js → chunk-VLDM4QZM.js} +23 -23
- package/dist/chunk-VP5H6DII.js +34 -0
- package/dist/{chunk-N3NBWIYQ.js → chunk-VRYQJZFL.js} +10 -9
- package/dist/{chunk-FQSRHTTC.js → chunk-VS6FS472.js} +15 -15
- package/dist/{chunk-YMOJD5BO.js → chunk-VTMIRRIZ.js} +3 -3
- package/dist/{chunk-4PJADZRR.js → chunk-VXSJKWB7.js} +16 -16
- package/dist/{chunk-MTAUZW2Z.js → chunk-WE5VMPUP.js} +216 -106
- package/dist/{chunk-ZE3P35DA.js → chunk-WEG7DY5K.js} +9 -9
- package/dist/{chunk-V2TH46ZY.js → chunk-WIF7A6JU.js} +12 -12
- package/dist/{chunk-GFXLPJWY.js → chunk-WM4N2L4T.js} +2 -2
- package/dist/{chunk-XIWYUQZQ.js → chunk-X64BFQ3R.js} +9 -9
- package/dist/{chunk-QWVBEK4P.js → chunk-XJRC3ZDI.js} +13 -13
- package/dist/{chunk-F2FOQLJ7.js → chunk-XVIVWG7B.js} +6 -6
- package/dist/{chunk-XTVDAHH2.js → chunk-Y3ZKT6IF.js} +5 -5
- package/dist/{chunk-62YMDXY6.js → chunk-YURIUFKF.js} +16 -16
- package/dist/{chunk-HKTUIMH4.js → chunk-YY2WGL6S.js} +3 -3
- package/dist/{chunk-BDEKREZH.js → chunk-Z2BA4NNR.js} +3 -3
- package/dist/{chunk-MTEBM4Y4.js → chunk-Z47YGBUY.js} +19 -12
- package/dist/chunk-Z4JSRKNR.js +41 -0
- package/dist/{chunk-G2E5MNYP.js → chunk-Z53ZB34U.js} +7 -7
- package/dist/{chunk-NNUASOAA.js → chunk-ZBOPIYOY.js} +12 -12
- package/dist/{chunk-7GB4ZRE2.js → chunk-ZBQCLKTH.js} +12 -12
- package/dist/chunk-ZGI7DNJ6.js +38 -0
- package/dist/{chunk-P3TKKBAH.js → chunk-ZPT4QX3J.js} +4 -4
- package/dist/chunk-ZS47PQ3O.js +41 -0
- package/dist/{chunk-PIVKU64W.js → chunk-ZTIMXVV5.js} +2 -2
- package/dist/{chunk-T4RTWMJD.js → chunk-ZYASEL7K.js} +5 -5
- package/dist/files.json +469 -417
- package/dist/packages/sdk/npm/index.js +2309 -1983
- package/dist/packages/ui/dist/assets/{elk-api-Mo5w5xCa.js → elk-api-D2NcYpUJ.js} +2 -2
- package/dist/packages/ui/dist/assets/{index-Bp3XhPHX.css → index-C0JEkXyN.css} +1 -1
- package/dist/packages/ui/dist/assets/index-CT7skl01.js +29 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +4 -4
- package/dist/chunk-26PLPSQW.js +0 -48
- package/dist/chunk-2G4DFUWJ.js +0 -43
- package/dist/chunk-2M6WXO73.js +0 -38
- package/dist/chunk-5F3RJCHB.js +0 -45
- package/dist/chunk-B2VSVN4P.js +0 -34
- package/dist/chunk-B3O52AUQ.js +0 -275
- package/dist/chunk-CITDNDIZ.js +0 -53
- package/dist/chunk-DAQBIK5G.js +0 -47
- package/dist/chunk-DZRQDNPT.js +0 -34
- package/dist/chunk-FLOEZA6K.js +0 -29
- package/dist/chunk-FNHSVBRA.js +0 -48
- package/dist/chunk-FPGVOSOG.js +0 -41
- package/dist/chunk-FZ2E5LGK.js +0 -54
- package/dist/chunk-HB6XSGI6.js +0 -131
- package/dist/chunk-HUZQDKQK.js +0 -48
- package/dist/chunk-L4VJ4ETL.js +0 -41
- package/dist/chunk-XPCWQXTY.js +0 -37
- package/dist/chunk-YIEOFHOL.js +0 -30
- package/dist/packages/ui/dist/assets/index-DM212ZbV.js +0 -29
|
@@ -3,35 +3,35 @@ import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
|
3
3
|
var require = __atticusCreateRequire(import.meta.url);
|
|
4
4
|
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-X64BFQ3R.js";
|
|
7
7
|
import {
|
|
8
8
|
loadCatalog
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZPT4QX3J.js";
|
|
10
10
|
import {
|
|
11
11
|
repoFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7VNEDDCC.js";
|
|
13
13
|
import {
|
|
14
14
|
askHosts
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-GKPOCUQR.js";
|
|
16
|
+
import "./chunk-INCECZ2E.js";
|
|
17
17
|
import {
|
|
18
18
|
estateFlow,
|
|
19
19
|
estateStepKey,
|
|
20
20
|
fieldLineage,
|
|
21
21
|
joinEstate
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-22GLUHGE.js";
|
|
23
|
+
import "./chunk-QR65C3DV.js";
|
|
24
|
+
import "./chunk-MLAACAES.js";
|
|
25
|
+
import "./chunk-HY2VVVFZ.js";
|
|
26
|
+
import "./chunk-PJRMMWU4.js";
|
|
27
|
+
import "./chunk-34NWVIBC.js";
|
|
28
|
+
import "./chunk-TEHH47TG.js";
|
|
29
|
+
import "./chunk-77UOXZVM.js";
|
|
30
|
+
import "./chunk-RA64IK43.js";
|
|
31
31
|
import {
|
|
32
32
|
fsRepo
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-MRLCNXXR.js";
|
|
34
|
+
import "./chunk-CQD26SMZ.js";
|
|
35
35
|
import {
|
|
36
36
|
listQuestions,
|
|
37
37
|
loadOrgPack,
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
specsRelOf,
|
|
46
46
|
templateRef,
|
|
47
47
|
writeEstateJoins
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-U25OX22K.js";
|
|
49
|
+
import "./chunk-MMB2OHUY.js";
|
|
50
50
|
import "./chunk-TV45EUGM.js";
|
|
51
51
|
|
|
52
52
|
// packages/cli/dist/estate-commands.js
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { createRequire as __atticusCreateRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
3
|
+
var require = __atticusCreateRequire(import.meta.url);
|
|
4
|
+
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
|
+
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
+
import {
|
|
7
|
+
intakeContext
|
|
8
|
+
} from "./chunk-6S27MUQQ.js";
|
|
9
|
+
import {
|
|
10
|
+
headCommitOf
|
|
11
|
+
} from "./chunk-EU7VTBAI.js";
|
|
12
|
+
import {
|
|
13
|
+
denyHashesAt
|
|
14
|
+
} from "./chunk-NCONDPHH.js";
|
|
15
|
+
import {
|
|
16
|
+
componentRenames,
|
|
17
|
+
estateFacts,
|
|
18
|
+
estateJoinOf,
|
|
19
|
+
hostAliases,
|
|
20
|
+
joinReposOf,
|
|
21
|
+
outsideProfileSystems
|
|
22
|
+
} from "./chunk-22GLUHGE.js";
|
|
23
|
+
import {
|
|
24
|
+
sameCommit
|
|
25
|
+
} from "./chunk-MLAACAES.js";
|
|
26
|
+
import {
|
|
27
|
+
openApiContractSpecs,
|
|
28
|
+
readContractSpecs,
|
|
29
|
+
readRepoSpecs,
|
|
30
|
+
readVendorSpec
|
|
31
|
+
} from "./chunk-HY2VVVFZ.js";
|
|
32
|
+
import {
|
|
33
|
+
VERSION
|
|
34
|
+
} from "./chunk-TWHZU36X.js";
|
|
35
|
+
import {
|
|
36
|
+
createGit
|
|
37
|
+
} from "./chunk-RA64IK43.js";
|
|
38
|
+
import {
|
|
39
|
+
SpecsFile,
|
|
40
|
+
catalogDirOf,
|
|
41
|
+
checkContracts,
|
|
42
|
+
factsDirOf,
|
|
43
|
+
factsRelOf,
|
|
44
|
+
inputsDirOf,
|
|
45
|
+
joinConventions,
|
|
46
|
+
joinVendorOperations,
|
|
47
|
+
newFindings,
|
|
48
|
+
orgPackDirOf,
|
|
49
|
+
questionsDirOf,
|
|
50
|
+
require_dist
|
|
51
|
+
} from "./chunk-U25OX22K.js";
|
|
52
|
+
import {
|
|
53
|
+
writeFileAtomic
|
|
54
|
+
} from "./chunk-MMB2OHUY.js";
|
|
55
|
+
import {
|
|
56
|
+
__toESM
|
|
57
|
+
} from "./chunk-TV45EUGM.js";
|
|
58
|
+
|
|
59
|
+
// packages/cli/dist/contract-check-files.js
|
|
60
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
61
|
+
import { createHash } from "node:crypto";
|
|
62
|
+
import { existsSync } from "node:fs";
|
|
63
|
+
import { readdir, readFile, rm, stat } from "node:fs/promises";
|
|
64
|
+
import { join, resolve } from "node:path";
|
|
65
|
+
var SPEC_CLASSES = /* @__PURE__ */ new Set(["openapi", "swagger", "asyncapi", "protobuf", "avro"]);
|
|
66
|
+
async function specsCommitOf(facts, dir, git = createGit()) {
|
|
67
|
+
const counts = /* @__PURE__ */ new Map();
|
|
68
|
+
for (const f of facts)
|
|
69
|
+
counts.set(f.commit, (counts.get(f.commit) ?? 0) + 1);
|
|
70
|
+
if (!counts.size)
|
|
71
|
+
return void 0;
|
|
72
|
+
const head = await headCommitOf(dir);
|
|
73
|
+
const atHead = head ? [...counts.keys()].find((c) => sameCommit(c, head)) : void 0;
|
|
74
|
+
if (atHead)
|
|
75
|
+
return atHead;
|
|
76
|
+
const most = Math.max(...counts.values());
|
|
77
|
+
const top = [...counts].filter(([, n]) => n === most).map(([c]) => c).sort();
|
|
78
|
+
if (top.length === 1)
|
|
79
|
+
return top[0];
|
|
80
|
+
const newest = await git(["rev-list", "--no-walk", ...top], dir).then((r) => r.stdout.split("\n")[0]?.trim(), () => void 0);
|
|
81
|
+
return top.find((c) => !!newest && sameCommit(c, newest)) ?? top[0];
|
|
82
|
+
}
|
|
83
|
+
async function commitTree(dir, commit, git) {
|
|
84
|
+
const listed = await git(["ls-tree", "-r", "-l", "-z", "--full-tree", commit], dir).then((r) => r.stdout, () => void 0);
|
|
85
|
+
if (listed === void 0)
|
|
86
|
+
return void 0;
|
|
87
|
+
const files = listed.split("\0").filter(Boolean).flatMap((line) => {
|
|
88
|
+
const tab = line.indexOf(" ");
|
|
89
|
+
const [mode, type, , size] = line.slice(0, tab).trim().split(/\s+/);
|
|
90
|
+
if (tab < 0 || type !== "blob" || mode === "120000")
|
|
91
|
+
return [];
|
|
92
|
+
return [{ path: line.slice(tab + 1), size: Number(size) || 0 }];
|
|
93
|
+
});
|
|
94
|
+
return {
|
|
95
|
+
files: async () => files,
|
|
96
|
+
read: (p) => git(["cat-file", "blob", `${commit}:${p}`], dir).then((r) => r.stdout, () => void 0)
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
async function specTreeOf(repo, dir, commit, git, note) {
|
|
100
|
+
const as = commit ? { commit } : {};
|
|
101
|
+
if (!existsSync(join(dir, ".git")))
|
|
102
|
+
return as;
|
|
103
|
+
if (commit) {
|
|
104
|
+
const tree2 = await commitTree(dir, commit, git);
|
|
105
|
+
if (tree2)
|
|
106
|
+
return { tree: tree2, commit };
|
|
107
|
+
note?.(`${repo}: the facts' commit ${commit.slice(0, 12)} isn't in the clone, so its specs are read at the clone's HEAD; fetch it, or read the repo again.`);
|
|
108
|
+
}
|
|
109
|
+
const tree = await commitTree(dir, "HEAD", git);
|
|
110
|
+
if (!tree) {
|
|
111
|
+
note?.(`${repo}: git can't list the clone's files, so its specs are read from the folder.`);
|
|
112
|
+
return as;
|
|
113
|
+
}
|
|
114
|
+
const head = await headCommitOf(dir);
|
|
115
|
+
return { tree, ...head ? { commit: head } : as };
|
|
116
|
+
}
|
|
117
|
+
async function writeRepoSpecs(root, repo, dir, facts, onRefused, git = createGit()) {
|
|
118
|
+
const { tree, commit } = await specTreeOf(repo, dir, await specsCommitOf(facts, dir, git), git, onRefused);
|
|
119
|
+
const deny = await denyHashesAt(root);
|
|
120
|
+
const file = await readRepoSpecs(dir, {
|
|
121
|
+
repo,
|
|
122
|
+
...commit ? { commit } : {},
|
|
123
|
+
...tree ? { tree } : {},
|
|
124
|
+
facts,
|
|
125
|
+
...deny.size ? { denyHashes: deny } : {},
|
|
126
|
+
...onRefused ? { onRefused } : {}
|
|
127
|
+
});
|
|
128
|
+
const path = join(factsDirOf(root), `${repo}.specs.yaml`);
|
|
129
|
+
if (file.specs.length)
|
|
130
|
+
await writeFileAtomic(path, (0, import_yaml.stringify)(file, { lineWidth: 0 }));
|
|
131
|
+
else
|
|
132
|
+
await rm(path, { force: true });
|
|
133
|
+
return file;
|
|
134
|
+
}
|
|
135
|
+
async function loadRepoSpecs(root) {
|
|
136
|
+
const files = [];
|
|
137
|
+
const problems = [];
|
|
138
|
+
const rel = factsRelOf(root);
|
|
139
|
+
for (const n of (await readdir(factsDirOf(root)).catch(() => [])).sort()) {
|
|
140
|
+
if (!n.endsWith(".specs.yaml"))
|
|
141
|
+
continue;
|
|
142
|
+
let v;
|
|
143
|
+
try {
|
|
144
|
+
v = (0, import_yaml.parse)(await readFile(join(factsDirOf(root), n), "utf8"));
|
|
145
|
+
} catch (e) {
|
|
146
|
+
problems.push(`${rel}/${n} isn't YAML (${e.message}); it is left out.`);
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
149
|
+
const p = SpecsFile.safeParse(v);
|
|
150
|
+
if (p.success)
|
|
151
|
+
files.push(p.data);
|
|
152
|
+
else
|
|
153
|
+
problems.push(`${rel}/${n} isn't a specs file; it is left out.`);
|
|
154
|
+
}
|
|
155
|
+
return { files, problems };
|
|
156
|
+
}
|
|
157
|
+
async function intakenSpec(root, doc, system) {
|
|
158
|
+
const body = await readFile(join(inputsDirOf(root), ...doc.path.split("/").slice(1)), "utf8").catch(() => void 0);
|
|
159
|
+
if (body === void 0)
|
|
160
|
+
return void 0;
|
|
161
|
+
const vendor = readVendorSpec(doc.path, body, system);
|
|
162
|
+
const specs = vendor ? openApiContractSpecs(vendor) : readContractSpecs(doc.path, body);
|
|
163
|
+
if (!specs.length)
|
|
164
|
+
return void 0;
|
|
165
|
+
return {
|
|
166
|
+
path: doc.path,
|
|
167
|
+
...doc.title ? { title: doc.title } : {},
|
|
168
|
+
...doc.version ? { version: doc.version } : {},
|
|
169
|
+
specs,
|
|
170
|
+
operations: (vendor?.operations ?? []).map((o) => ({
|
|
171
|
+
id: o.id,
|
|
172
|
+
method: o.method,
|
|
173
|
+
path: o.path,
|
|
174
|
+
fullPath: o.fullPath,
|
|
175
|
+
cite: o.cite
|
|
176
|
+
})),
|
|
177
|
+
hosts: vendor?.hosts ?? []
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
async function stampOf(root) {
|
|
181
|
+
const out = [];
|
|
182
|
+
const walk = async (dir, rel) => {
|
|
183
|
+
const entries = await readdir(dir, { withFileTypes: true }).catch(() => void 0);
|
|
184
|
+
if (!entries)
|
|
185
|
+
return;
|
|
186
|
+
await Promise.all(entries.map(async (e) => {
|
|
187
|
+
const p = join(dir, e.name);
|
|
188
|
+
if (e.isDirectory())
|
|
189
|
+
return walk(p, `${rel}/${e.name}`);
|
|
190
|
+
const s = await stat(p).catch(() => void 0);
|
|
191
|
+
if (s)
|
|
192
|
+
out.push(`${rel}/${e.name}\0${s.size}\0${s.mtimeMs}`);
|
|
193
|
+
}));
|
|
194
|
+
};
|
|
195
|
+
const dirs = [
|
|
196
|
+
factsDirOf(root),
|
|
197
|
+
inputsDirOf(root),
|
|
198
|
+
orgPackDirOf(root),
|
|
199
|
+
questionsDirOf(root),
|
|
200
|
+
join(catalogDirOf(root), "curated")
|
|
201
|
+
];
|
|
202
|
+
await Promise.all(dirs.map((d, i) => walk(d, String(i))));
|
|
203
|
+
return out.sort().join("\n");
|
|
204
|
+
}
|
|
205
|
+
var kept = /* @__PURE__ */ new Map();
|
|
206
|
+
var cacheFileOf = (root, name) => join(resolve(root), ".atticus", "cache", `${name}.json`);
|
|
207
|
+
var stampKey = (stamp) => createHash("sha256").update(VERSION).update("\0").update(stamp).digest("hex");
|
|
208
|
+
async function readCached(root, name, stamp) {
|
|
209
|
+
try {
|
|
210
|
+
const c = JSON.parse(await readFile(cacheFileOf(root, name), "utf8"));
|
|
211
|
+
return c.key === stampKey(stamp) ? c.value : void 0;
|
|
212
|
+
} catch {
|
|
213
|
+
return void 0;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
async function writeCached(root, name, stamp, value) {
|
|
217
|
+
await writeFileAtomic(cacheFileOf(root, name), JSON.stringify({ key: stampKey(stamp), value })).catch(() => void 0);
|
|
218
|
+
}
|
|
219
|
+
var breathe = () => new Promise((r) => setImmediate(r));
|
|
220
|
+
async function estateJoinOnFile(root, op, estate, stamp) {
|
|
221
|
+
const at = stamp ?? await stampOf(root);
|
|
222
|
+
const hit = await readCached(root, "estate-join", at);
|
|
223
|
+
if (hit)
|
|
224
|
+
return hit;
|
|
225
|
+
await breathe();
|
|
226
|
+
const join2 = estateJoinOf(op, estate.repos, estate.targets);
|
|
227
|
+
await writeCached(root, "estate-join", at, join2);
|
|
228
|
+
return join2;
|
|
229
|
+
}
|
|
230
|
+
async function contractCheckOf(root) {
|
|
231
|
+
const key = resolve(root);
|
|
232
|
+
const stamp = await stampOf(root);
|
|
233
|
+
const hit = kept.get(key);
|
|
234
|
+
if (hit && hit.stamp === stamp)
|
|
235
|
+
return hit.value;
|
|
236
|
+
const value = (async () => {
|
|
237
|
+
const disk = await readCached(root, "contract-check", stamp);
|
|
238
|
+
if (disk)
|
|
239
|
+
return { ...disk, newBySystem: new Map(disk.newBySystem) };
|
|
240
|
+
const v = await workOutContractCheck(root, stamp);
|
|
241
|
+
await writeCached(root, "contract-check", stamp, {
|
|
242
|
+
...v,
|
|
243
|
+
newBySystem: [...v.newBySystem]
|
|
244
|
+
});
|
|
245
|
+
return v;
|
|
246
|
+
})();
|
|
247
|
+
kept.set(key, { stamp, value });
|
|
248
|
+
value.catch(() => {
|
|
249
|
+
if (kept.get(key)?.value === value)
|
|
250
|
+
kept.delete(key);
|
|
251
|
+
});
|
|
252
|
+
return value;
|
|
253
|
+
}
|
|
254
|
+
async function workOutContractCheck(root, stamp) {
|
|
255
|
+
const quiet = { out: () => void 0, err: () => void 0 };
|
|
256
|
+
const { op, inputs } = await intakeContext(root, quiet);
|
|
257
|
+
const estate = await estateFacts(root, op, "");
|
|
258
|
+
const join2 = await estateJoinOnFile(root, op, estate, stamp);
|
|
259
|
+
const { files, problems } = await loadRepoSpecs(root);
|
|
260
|
+
const systems = outsideProfileSystems(op);
|
|
261
|
+
const outside = [];
|
|
262
|
+
for (const s of systems) {
|
|
263
|
+
const docs = inputs.documents.filter((d) => d.id && SPEC_CLASSES.has(d.classification) && d.systems[0] === s.id);
|
|
264
|
+
const newestDoc = docs.find((d) => !d.supersededBy);
|
|
265
|
+
const previousDoc = newestDoc ? docs.find((d) => d.supersededBy === newestDoc.id) : void 0;
|
|
266
|
+
const newest = newestDoc ? await intakenSpec(root, newestDoc, s.id) : void 0;
|
|
267
|
+
const previous = previousDoc ? await intakenSpec(root, previousDoc, s.id) : void 0;
|
|
268
|
+
outside.push({
|
|
269
|
+
system: s.id,
|
|
270
|
+
name: s.name,
|
|
271
|
+
...newest ? { newest } : {},
|
|
272
|
+
...previous ? { previous } : {}
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
const repos = joinReposOf(op, estate.repos, componentRenames(estate.repos, op));
|
|
276
|
+
const run = (pick) => {
|
|
277
|
+
const specs = [];
|
|
278
|
+
const vendors = [];
|
|
279
|
+
for (const o of outside) {
|
|
280
|
+
const s = pick(o);
|
|
281
|
+
if (!s)
|
|
282
|
+
continue;
|
|
283
|
+
const sys = systems.find((x) => x.id === o.system);
|
|
284
|
+
specs.push({ system: o.system, name: o.name, specs: s.specs });
|
|
285
|
+
if (s.operations.length)
|
|
286
|
+
vendors.push({
|
|
287
|
+
system: o.system,
|
|
288
|
+
boundary: "internal",
|
|
289
|
+
names: [sys.name, ...sys.aliases],
|
|
290
|
+
hosts: [.../* @__PURE__ */ new Set([...s.hosts, ...hostAliases(sys.aliases)])],
|
|
291
|
+
operations: s.operations
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
const matched = vendors.length ? joinVendorOperations({ repos, vendors, targets: estate.targets, ...joinConventions(op) }) : { matches: [] };
|
|
295
|
+
return checkContracts({
|
|
296
|
+
repos: estate.repos,
|
|
297
|
+
join: join2,
|
|
298
|
+
specs: files,
|
|
299
|
+
outside: specs,
|
|
300
|
+
vendorMatches: matched.matches
|
|
301
|
+
});
|
|
302
|
+
};
|
|
303
|
+
await breathe();
|
|
304
|
+
const result = run((o) => o.newest);
|
|
305
|
+
const newBySystem = /* @__PURE__ */ new Map();
|
|
306
|
+
if (outside.some((o) => o.previous)) {
|
|
307
|
+
await breathe();
|
|
308
|
+
const before = run((o) => o.previous ?? o.newest);
|
|
309
|
+
for (const o of outside)
|
|
310
|
+
if (o.previous)
|
|
311
|
+
newBySystem.set(o.system, newFindings(result.findings.filter((f) => f.system === o.system), before.findings.filter((f) => f.system === o.system)));
|
|
312
|
+
}
|
|
313
|
+
return { result, notes: [...estate.notes, ...problems], outside, newBySystem };
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export {
|
|
317
|
+
writeRepoSpecs,
|
|
318
|
+
estateJoinOnFile,
|
|
319
|
+
contractCheckOf
|
|
320
|
+
};
|
|
@@ -10,7 +10,7 @@ function draftCheckTool(root, request) {
|
|
|
10
10
|
if (!request.selfCheck || !/^(feature|architecture|stories|small)-answer\.yaml$/.test(request.outputPath))
|
|
11
11
|
return void 0;
|
|
12
12
|
let box;
|
|
13
|
-
const planner = () => box ??= import("./chunk-
|
|
13
|
+
const planner = () => box ??= import("./chunk-3RP34PYV.js").then((p) => p.draftCheckBox(root, request));
|
|
14
14
|
return {
|
|
15
15
|
definitions: [
|
|
16
16
|
{
|
|
@@ -5,26 +5,26 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
loadCatalog
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZPT4QX3J.js";
|
|
9
9
|
import {
|
|
10
10
|
TARGET_DIR,
|
|
11
11
|
mergeDelta,
|
|
12
12
|
readDeltas
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DWYPYVPJ.js";
|
|
14
14
|
import {
|
|
15
15
|
changeStore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-U5T4A2QV.js";
|
|
17
17
|
import {
|
|
18
18
|
changeView,
|
|
19
19
|
toDrawio,
|
|
20
20
|
toMermaid
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MLAACAES.js";
|
|
22
22
|
import {
|
|
23
23
|
changesDirOf,
|
|
24
24
|
changesRelOf,
|
|
25
25
|
readRepoSpec,
|
|
26
26
|
specRepos
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-U25OX22K.js";
|
|
28
28
|
|
|
29
29
|
// packages/cli/dist/change-map.js
|
|
30
30
|
import { stat } from "node:fs/promises";
|
|
@@ -4,8 +4,11 @@ var require = __atticusCreateRequire(import.meta.url);
|
|
|
4
4
|
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
recordTopUpVerified
|
|
8
|
+
} from "./chunk-QY7RGTUP.js";
|
|
9
|
+
import {
|
|
10
|
+
notesAt
|
|
11
|
+
} from "./chunk-ZS47PQ3O.js";
|
|
9
12
|
import {
|
|
10
13
|
carryOf,
|
|
11
14
|
checkoutOf,
|
|
@@ -16,22 +19,23 @@ import {
|
|
|
16
19
|
raiseReadQuestions,
|
|
17
20
|
readCorrections,
|
|
18
21
|
readReviewed,
|
|
22
|
+
recordReadProgress,
|
|
19
23
|
reviewedProblemsOf,
|
|
20
24
|
slipNoteLines,
|
|
21
25
|
writeVerifyFiles
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P76AW3PA.js";
|
|
23
27
|
import {
|
|
24
28
|
dirSource,
|
|
25
29
|
frameworkFacts,
|
|
26
30
|
frameworksToLearn,
|
|
27
31
|
repairFormSlips,
|
|
28
32
|
verifyFacts
|
|
29
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MLAACAES.js";
|
|
30
34
|
import {
|
|
31
35
|
NoRoomError,
|
|
32
36
|
roomGuard,
|
|
33
37
|
streamFacts
|
|
34
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ARLH2ZMD.js";
|
|
35
39
|
import {
|
|
36
40
|
factsDirOf,
|
|
37
41
|
factsRelOf,
|
|
@@ -39,7 +43,7 @@ import {
|
|
|
39
43
|
loadOrgPack,
|
|
40
44
|
orgPackDirOf,
|
|
41
45
|
stackHelpersOff
|
|
42
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-U25OX22K.js";
|
|
43
47
|
|
|
44
48
|
// packages/cli/dist/verify-commands.js
|
|
45
49
|
import { existsSync } from "node:fs";
|
|
@@ -88,8 +92,10 @@ async function verifyAllCommand(root, o, io) {
|
|
|
88
92
|
io.out(`Verified ${repos.length === 1 ? "1 repo" : `${repos.length} repos`}: ${passed} passed${failed.length ? `, ${failed.length} with something to fix (${failed.join(", ")})` : ""}.`);
|
|
89
93
|
return failed.length ? 1 : 0;
|
|
90
94
|
}
|
|
91
|
-
async function verifyInputsOf(root, repo) {
|
|
95
|
+
async function verifyInputsOf(root, repo, dir) {
|
|
92
96
|
return {
|
|
97
|
+
// ADR 0163: the org notes the read was handed, so a term's note is one of them.
|
|
98
|
+
notes: (await notesAt(root, repo, dir)).notes,
|
|
93
99
|
corrections: await readCorrections(root, repo),
|
|
94
100
|
reviewed: await readReviewed(root, repo),
|
|
95
101
|
estate: await estateComponentsOf(root),
|
|
@@ -137,7 +143,7 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
137
143
|
const commit = o.commit ?? await headOf(dir);
|
|
138
144
|
const source = dirSource(dir);
|
|
139
145
|
const { carry, missing } = await carryOf(dir, parsed.facts, commit, o.git);
|
|
140
|
-
const inputs = await verifyInputsOf(root, repo);
|
|
146
|
+
const inputs = await verifyInputsOf(root, repo, dir);
|
|
141
147
|
const { corrections, reviewed, estate, conventions } = inputs;
|
|
142
148
|
for (const b of corrections.bad.slice(0, SHOWN))
|
|
143
149
|
io.err(`${rel}/${repo}.corrections.jsonl line ${b.line} isn't a correction: ${b.message}`);
|
|
@@ -159,7 +165,8 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
159
165
|
room,
|
|
160
166
|
// J1 (ADR 0143): an exposure read here names a component the manifest lists.
|
|
161
167
|
...estate ? { estate } : {},
|
|
162
|
-
conventions
|
|
168
|
+
conventions,
|
|
169
|
+
notes: inputs.notes
|
|
163
170
|
});
|
|
164
171
|
} catch (e) {
|
|
165
172
|
if (!(e instanceof NoRoomError))
|
|
@@ -204,11 +211,13 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
204
211
|
now: o.now().toISOString().replace(/\.\d{3}Z$/, "Z")
|
|
205
212
|
} : {}
|
|
206
213
|
});
|
|
214
|
+
if (!failed)
|
|
215
|
+
await recordTopUpVerified(root, repo, { commit });
|
|
207
216
|
const rejectedNote = `Nothing written to the catalog: ${report.rejected.length} facts were rejected. Fix them and run atticus verify ${repo} --write again.`;
|
|
208
217
|
if (o.json) {
|
|
209
218
|
let written2;
|
|
210
219
|
if (o.write && !failed) {
|
|
211
|
-
const { writeFactsIntoCatalog: writeFactsIntoCatalog2 } = await import("./chunk-
|
|
220
|
+
const { writeFactsIntoCatalog: writeFactsIntoCatalog2 } = await import("./chunk-PVW2N63M.js");
|
|
212
221
|
written2 = await writeFactsIntoCatalog2(root, repo, report.accepted, { dir, command: `atticus verify ${repo} --write` }, { ...io, out: () => void 0 });
|
|
213
222
|
if (!written2)
|
|
214
223
|
return 1;
|
|
@@ -348,7 +357,7 @@ async function verifyCommand(root, repo, o, io) {
|
|
|
348
357
|
io.out(`When the read is complete: atticus verify ${repo} --write puts the facts in the catalog, the flows in specs/${repo}/, and renders the map.`);
|
|
349
358
|
return 0;
|
|
350
359
|
}
|
|
351
|
-
const { writeFactsIntoCatalog } = await import("./chunk-
|
|
360
|
+
const { writeFactsIntoCatalog } = await import("./chunk-PVW2N63M.js");
|
|
352
361
|
const written = await writeFactsIntoCatalog(root, repo, report.accepted, { dir, command: `atticus verify ${repo} --write`, verbose: o.verbose === true }, io);
|
|
353
362
|
return written ? 0 : 1;
|
|
354
363
|
}
|
|
@@ -64,6 +64,8 @@ function aliasArgv(argv, positions) {
|
|
|
64
64
|
out.splice(first, 2, "estate", "measure");
|
|
65
65
|
else if (word === "join" && second === "shared")
|
|
66
66
|
out.splice(first, 2, "estate", "shared");
|
|
67
|
+
else if (word === "join" && second === "contracts")
|
|
68
|
+
out.splice(first, 2, "estate", "contracts");
|
|
67
69
|
else if (word === "join")
|
|
68
70
|
out.splice(first, 1, "estate", "join");
|
|
69
71
|
else if (word === "stories")
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createRequire as __atticusCreateRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __atticusFileURLToPath } from "node:url";
|
|
3
|
+
var require = __atticusCreateRequire(import.meta.url);
|
|
4
|
+
var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
5
|
+
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
|
+
import {
|
|
7
|
+
MIN_GIT,
|
|
8
|
+
MIN_NODE,
|
|
9
|
+
doctorChecks,
|
|
10
|
+
doctorCommand,
|
|
11
|
+
stepModelChoices,
|
|
12
|
+
stepModelLine
|
|
13
|
+
} from "./chunk-SSL6JMPA.js";
|
|
14
|
+
import "./chunk-3G4YI4ZU.js";
|
|
15
|
+
import "./chunk-4G56W6H7.js";
|
|
16
|
+
import "./chunk-DDZZXVQ5.js";
|
|
17
|
+
import "./chunk-GHSVJNVL.js";
|
|
18
|
+
import "./chunk-DWYPYVPJ.js";
|
|
19
|
+
import "./chunk-ISXNWUG7.js";
|
|
20
|
+
import "./chunk-GMDOXWIS.js";
|
|
21
|
+
import "./chunk-U5T4A2QV.js";
|
|
22
|
+
import "./chunk-JQG4VO47.js";
|
|
23
|
+
import "./chunk-DW4BM73R.js";
|
|
24
|
+
import "./chunk-22GLUHGE.js";
|
|
25
|
+
import "./chunk-QR65C3DV.js";
|
|
26
|
+
import "./chunk-MLAACAES.js";
|
|
27
|
+
import "./chunk-HY2VVVFZ.js";
|
|
28
|
+
import "./chunk-PJRMMWU4.js";
|
|
29
|
+
import "./chunk-34NWVIBC.js";
|
|
30
|
+
import "./chunk-77UOXZVM.js";
|
|
31
|
+
import {
|
|
32
|
+
versionAtLeast
|
|
33
|
+
} from "./chunk-TWHZU36X.js";
|
|
34
|
+
import "./chunk-RA64IK43.js";
|
|
35
|
+
import "./chunk-MRLCNXXR.js";
|
|
36
|
+
import "./chunk-CQD26SMZ.js";
|
|
37
|
+
import "./chunk-U25OX22K.js";
|
|
38
|
+
import "./chunk-MMB2OHUY.js";
|
|
39
|
+
import "./chunk-TV45EUGM.js";
|
|
40
|
+
export {
|
|
41
|
+
MIN_GIT,
|
|
42
|
+
MIN_NODE,
|
|
43
|
+
doctorChecks,
|
|
44
|
+
doctorCommand,
|
|
45
|
+
stepModelChoices,
|
|
46
|
+
stepModelLine,
|
|
47
|
+
versionAtLeast
|
|
48
|
+
};
|
|
@@ -153,23 +153,23 @@ import {
|
|
|
153
153
|
writeProposals,
|
|
154
154
|
writeQuarantineItems,
|
|
155
155
|
wroteIn
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-GMDOXWIS.js";
|
|
157
157
|
import {
|
|
158
158
|
BUILT_IN_GATES
|
|
159
|
-
} from "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-
|
|
166
|
-
import "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
170
|
-
import "./chunk-
|
|
171
|
-
import "./chunk-
|
|
172
|
-
import "./chunk-
|
|
159
|
+
} from "./chunk-U5T4A2QV.js";
|
|
160
|
+
import "./chunk-JQG4VO47.js";
|
|
161
|
+
import "./chunk-DW4BM73R.js";
|
|
162
|
+
import "./chunk-22GLUHGE.js";
|
|
163
|
+
import "./chunk-QR65C3DV.js";
|
|
164
|
+
import "./chunk-MLAACAES.js";
|
|
165
|
+
import "./chunk-HY2VVVFZ.js";
|
|
166
|
+
import "./chunk-PJRMMWU4.js";
|
|
167
|
+
import "./chunk-34NWVIBC.js";
|
|
168
|
+
import "./chunk-RA64IK43.js";
|
|
169
|
+
import "./chunk-MRLCNXXR.js";
|
|
170
|
+
import "./chunk-CQD26SMZ.js";
|
|
171
|
+
import "./chunk-U25OX22K.js";
|
|
172
|
+
import "./chunk-MMB2OHUY.js";
|
|
173
173
|
import "./chunk-TV45EUGM.js";
|
|
174
174
|
export {
|
|
175
175
|
ANSWERS_TEXT,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
changesDirOf,
|
|
9
9
|
orgPackDirOf,
|
|
10
10
|
require_dist
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U25OX22K.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureLocalIgnore,
|
|
14
14
|
redactText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MMB2OHUY.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -45,16 +45,16 @@ import {
|
|
|
45
45
|
utf8,
|
|
46
46
|
visioIngestor,
|
|
47
47
|
xlsxIngestor
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-PJRMMWU4.js";
|
|
49
|
+
import "./chunk-34NWVIBC.js";
|
|
50
|
+
import "./chunk-MRLCNXXR.js";
|
|
51
51
|
import {
|
|
52
52
|
ZIP_LIMITS,
|
|
53
53
|
ZipError,
|
|
54
54
|
peekZip,
|
|
55
55
|
readZip
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-U25OX22K.js";
|
|
57
|
+
import "./chunk-MMB2OHUY.js";
|
|
58
58
|
import "./chunk-TV45EUGM.js";
|
|
59
59
|
export {
|
|
60
60
|
DEFAULT_LEGEND,
|