@maycombhq/atticus 2.0.0-beta.10 → 2.0.0-beta.11
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-GZ4TKR3Q.js → chunk-23VFQHFQ.js} +33 -134
- package/dist/{chunk-VKMTFIWS.js → chunk-26DBAGOP.js} +18 -18
- package/dist/{chunk-PKCMRPPB.js → chunk-27EDZN52.js} +33 -27
- package/dist/{chunk-AJJK7GLO.js → chunk-2K2ZEJVR.js} +3 -3
- package/dist/{chunk-XRO65C7V.js → chunk-3DDJLI7N.js} +8 -6
- package/dist/{chunk-XQ3YIV5R.js → chunk-3LU6YCSQ.js} +6 -6
- package/dist/{chunk-XTVDAHH2.js → chunk-3WU7LVTL.js} +5 -5
- package/dist/{chunk-6GNS32SI.js → chunk-4AYZQ3SY.js} +4 -4
- package/dist/{chunk-6VBXAGJX.js → chunk-4ONORLK5.js} +14 -14
- package/dist/{chunk-7TGYNOXD.js → chunk-4URR24DD.js} +7 -7
- package/dist/{chunk-CIUHAHM6.js → chunk-4UZJOQYK.js} +8 -8
- package/dist/chunk-4Y4FY34K.js +34 -0
- package/dist/{chunk-52R2YXP5.js → chunk-4YWRU7JK.js} +16 -16
- package/dist/chunk-52WCHTVZ.js +41 -0
- package/dist/{chunk-YIEOFHOL.js → chunk-55TBYJF2.js} +17 -11
- package/dist/{chunk-MH5OCRUM.js → chunk-5ACUW753.js} +2 -2
- package/dist/chunk-5BJFMAQU.js +32 -0
- package/dist/{chunk-YPBQNJHA.js → chunk-5ICB2BXH.js} +8 -8
- package/dist/{chunk-YGKYFMSL.js → chunk-5NZSJ5ZG.js} +3 -3
- package/dist/{chunk-YPIEYQF4.js → chunk-5P5BGG5L.js} +6 -6
- package/dist/{chunk-B7434AE2.js → chunk-5RUMHLIS.js} +2 -2
- package/dist/{chunk-5MI2SEV5.js → chunk-5TY4DTHQ.js} +3 -3
- package/dist/{chunk-NIXVDQVO.js → chunk-5V5BJACL.js} +2 -2
- package/dist/{chunk-7DUDLVFJ.js → chunk-6E2GJANQ.js} +20 -20
- package/dist/{chunk-RK6MKKKP.js → chunk-6N2GUZMZ.js} +1 -1
- package/dist/{chunk-LK44ULGI.js → chunk-6RGIM2ZH.js} +32 -6
- package/dist/{chunk-OS7PQ35Z.js → chunk-6V3DTQWK.js} +22 -22
- package/dist/{chunk-OSGQW2Z6.js → chunk-77RSRG3A.js} +8 -8
- package/dist/{chunk-5YIBJXGB.js → chunk-7A7IG7OA.js} +10 -10
- package/dist/{chunk-YLAJAI2W.js → chunk-7HQOZALR.js} +11 -11
- package/dist/{chunk-XB5RFZHH.js → chunk-7HWXYP4H.js} +12 -12
- package/dist/{chunk-PIVKU64W.js → chunk-7J7UY46S.js} +2 -2
- package/dist/{chunk-62YMDXY6.js → chunk-7KXYMC2P.js} +16 -16
- package/dist/{chunk-23M2LUYM.js → chunk-7LCQ7JAM.js} +1 -1
- package/dist/{chunk-5XN76FTF.js → chunk-7RGCQ4VZ.js} +5 -5
- package/dist/{chunk-CHC5FKTU.js → chunk-7RUMD56V.js} +1 -1
- package/dist/{chunk-IUD3ME4E.js → chunk-7S3XFWOU.js} +4 -4
- package/dist/{chunk-ZONE6E3Z.js → chunk-7SZPENUP.js} +2 -2
- package/dist/{chunk-T6USVBEJ.js → chunk-7VFVQX5K.js} +5 -5
- package/dist/chunk-ACWQDL6T.js +37 -0
- package/dist/{chunk-AKJTKMXU.js → chunk-ANCI3LFS.js} +5 -5
- package/dist/{chunk-B3O52AUQ.js → chunk-ASKDCMW5.js} +4 -4
- package/dist/chunk-ATNG5VOZ.js +122 -0
- package/dist/{chunk-I7IWQIEB.js → chunk-B3QOYE74.js} +4 -4
- package/dist/chunk-B3UHYXHU.js +41 -0
- package/dist/{chunk-GXJVY6WT.js → chunk-BA5DTXHQ.js} +5 -5
- package/dist/{chunk-5XDNUJ4P.js → chunk-BKFGGJKA.js} +2 -2
- package/dist/{chunk-DDAHCPGA.js → chunk-BQNEHB5U.js} +12 -12
- package/dist/{chunk-P3TKKBAH.js → chunk-BUWSOQLU.js} +4 -4
- package/dist/{chunk-X4W4XXWP.js → chunk-BX52REMA.js} +5 -5
- package/dist/{chunk-4SVJNVEE.js → chunk-BXBCMGIQ.js} +2 -0
- package/dist/{chunk-CRE4BJHM.js → chunk-C2YGYTU6.js} +23 -23
- package/dist/{chunk-7URGP4DD.js → chunk-C5JFMAXX.js} +12 -12
- package/dist/chunk-C75W7VXX.js +42 -0
- package/dist/{chunk-NGPU2ARF.js → chunk-CAN3EBE5.js} +1 -1
- package/dist/{chunk-FR7JPYBD.js → chunk-CE4S5ZY3.js} +12 -12
- package/dist/{chunk-BMHGA7WD.js → chunk-CRQ73DIF.js} +12 -12
- package/dist/{chunk-KIAI6PWL.js → chunk-CZI2ACNT.js} +17 -17
- package/dist/chunk-D7MWYJZF.js +43 -0
- package/dist/chunk-DDAEAZEV.js +54 -0
- package/dist/{chunk-G2E5MNYP.js → chunk-DGKNOPSE.js} +7 -7
- package/dist/{chunk-UF7TAFJM.js → chunk-DQNKG4HY.js} +18 -18
- package/dist/{chunk-6TJCUYC5.js → chunk-DS3ZEJVN.js} +3 -3
- package/dist/{chunk-3QAKDIEU.js → chunk-DYWTQXP4.js} +23 -23
- package/dist/chunk-E25G46RW.js +54 -0
- package/dist/{chunk-F2FOQLJ7.js → chunk-EAQFRD2B.js} +6 -6
- package/dist/{chunk-W5OYJMBT.js → chunk-EATSD7YD.js} +5 -5
- package/dist/{chunk-YGR6OCHQ.js → chunk-EBWIOODZ.js} +8 -14
- package/dist/{chunk-LVGBKKSM.js → chunk-EHUYLNLC.js} +15 -15
- package/dist/{chunk-IDGSU7JF.js → chunk-EI4KQYJ3.js} +9 -9
- package/dist/{chunk-FQSRHTTC.js → chunk-EQOSXLK3.js} +15 -15
- package/dist/{chunk-KC5DROFC.js → chunk-EV4TEFOD.js} +14 -14
- package/dist/{chunk-2KDSXJFJ.js → chunk-EW7MRMD5.js} +24 -6
- package/dist/{chunk-FZL2HNWP.js → chunk-EZSZFI54.js} +3 -3
- package/dist/{chunk-MKRBG5EF.js → chunk-FMRMTI7W.js} +1 -1
- package/dist/{chunk-E3JYO547.js → chunk-FOQXYMOR.js} +20 -20
- package/dist/{chunk-G5SFOH7P.js → chunk-G3PBLW4K.js} +8 -18
- package/dist/{chunk-2XM6PYQQ.js → chunk-G7WZH54P.js} +33 -11
- package/dist/{chunk-FTV6I76U.js → chunk-GG6HIU74.js} +25 -25
- package/dist/{chunk-6EDQE7GO.js → chunk-GMJXC5AL.js} +2 -2
- package/dist/chunk-GPLFYLGH.js +130 -0
- package/dist/{chunk-UR7RMZ3R.js → chunk-GVFUEGGM.js} +2 -2
- package/dist/{chunk-WGZWR4RF.js → chunk-GWSWS264.js} +5 -5
- package/dist/{chunk-NPCD54I7.js → chunk-H4VJO3M2.js} +8 -5
- package/dist/{chunk-73VPWF5R.js → chunk-HGQZTUAC.js} +4 -4
- package/dist/{chunk-2RX7PI2Y.js → chunk-HOUUBE74.js} +4 -4
- package/dist/{chunk-BDEKREZH.js → chunk-HQMCHHY5.js} +3 -3
- package/dist/{chunk-DPHCFZ7W.js → chunk-HR4DVO6X.js} +3 -3
- package/dist/chunk-HZYFLEWO.js +39 -0
- package/dist/chunk-IA2RKC6I.js +279 -0
- package/dist/{chunk-AY2IUF4K.js → chunk-IILZ7J3L.js} +541 -64
- package/dist/chunk-IRW64JFF.js +247 -0
- package/dist/{chunk-BJPMKJTL.js → chunk-IVHN2VYG.js} +100 -2
- package/dist/{chunk-OEI7LVRP.js → chunk-IWZPGIGT.js} +24 -24
- package/dist/{chunk-QICFHVRW.js → chunk-IY4PHPHT.js} +4 -4
- package/dist/{chunk-ZE3P35DA.js → chunk-J27QGXO4.js} +9 -9
- package/dist/{chunk-BMCKL3VQ.js → chunk-JBSD57N7.js} +24 -24
- package/dist/{chunk-67J3VZBA.js → chunk-JEUXCIRD.js} +5 -5
- package/dist/{chunk-577AJVRS.js → chunk-JMOLB347.js} +1976 -282
- package/dist/{chunk-7EKESFWV.js → chunk-JQX6BSE4.js} +11 -11
- package/dist/{chunk-YXJ4XOHF.js → chunk-JRPQX2EK.js} +4 -4
- package/dist/{chunk-MTEBM4Y4.js → chunk-JUQHYTXN.js} +18 -12
- package/dist/{chunk-APSVL2AI.js → chunk-JUZ75OG4.js} +15 -15
- package/dist/{chunk-7GB4ZRE2.js → chunk-KIWEBM6G.js} +12 -12
- package/dist/{chunk-KM2FBM3T.js → chunk-KLKENMWQ.js} +282 -50
- package/dist/chunk-KQK6SQPE.js +48 -0
- package/dist/{chunk-TM7LC37P.js → chunk-KQRYW7OS.js} +179 -115
- package/dist/{chunk-65C57N7P.js → chunk-KU4T2CXJ.js} +19 -19
- package/dist/{chunk-GFXLPJWY.js → chunk-KXZR2BLL.js} +2 -2
- package/dist/{chunk-MGVYVW7Q.js → chunk-L7I5PKGD.js} +1 -1
- package/dist/{chunk-XKS6THI5.js → chunk-LDIARP6F.js} +2 -2
- package/dist/{chunk-NNUASOAA.js → chunk-LEHZTKB3.js} +12 -12
- package/dist/{chunk-FJCFYKVO.js → chunk-LS3WR2RF.js} +86 -29
- package/dist/{chunk-Y4BRGOJR.js → chunk-LUPW4WLK.js} +13 -10
- package/dist/{chunk-HE4ZQXZM.js → chunk-LVBPY2M6.js} +14 -4
- package/dist/{chunk-EX6ZXS5K.js → chunk-LZWVK4YY.js} +4 -4
- package/dist/chunk-MCWWMMLN.js +48 -0
- package/dist/{chunk-BXIX7S7O.js → chunk-MKC7P5LD.js} +15 -15
- package/dist/{chunk-JQ7XQPQS.js → chunk-MKIULIUQ.js} +4 -4
- package/dist/{chunk-D3PO4DOZ.js → chunk-MMB2OHUY.js} +4 -2
- package/dist/{chunk-MTAUZW2Z.js → chunk-MQNBEO3N.js} +210 -104
- package/dist/{chunk-4PJADZRR.js → chunk-MSL3CLHX.js} +16 -16
- package/dist/{chunk-5KTOPOEP.js → chunk-MV4637YA.js} +25 -25
- package/dist/{chunk-WARBF2KY.js → chunk-MYKQVS5W.js} +4 -4
- package/dist/{chunk-4QUQEBFT.js → chunk-MYOW3RPC.js} +6 -6
- package/dist/{chunk-ROTY5J2L.js → chunk-NBGBMRIS.js} +1 -1
- package/dist/{chunk-BUYJL3GJ.js → chunk-NBQO75XT.js} +1 -1
- package/dist/chunk-NCR24CPV.js +41 -0
- package/dist/chunk-NDW4ROST.js +38 -0
- package/dist/{chunk-AWECWW5Y.js → chunk-NELU7LSL.js} +13 -11
- package/dist/{chunk-R64GLVBO.js → chunk-NG5R2WIY.js} +10 -10
- package/dist/{chunk-ZZXF6OOJ.js → chunk-NH5QH3WS.js} +2 -2
- package/dist/{chunk-XIWYUQZQ.js → chunk-NIYB5K5B.js} +9 -9
- package/dist/{chunk-LDKUC2QJ.js → chunk-NR5T46ZY.js} +17 -17
- package/dist/{chunk-PEF5OEMB.js → chunk-NX6QEEOA.js} +4 -4
- package/dist/{chunk-OGRWQ562.js → chunk-O6ILVBYB.js} +2 -2
- package/dist/{chunk-Y7KBQ4BD.js → chunk-OFWYZH6B.js} +22 -22
- package/dist/{chunk-N3NBWIYQ.js → chunk-OHXTB6CO.js} +11 -9
- package/dist/chunk-OJN7WME4.js +34 -0
- package/dist/{chunk-2HMWX4T6.js → chunk-OR5VRULZ.js} +11 -11
- package/dist/{chunk-UBWCUP3G.js → chunk-ORZSD2KD.js} +2 -2
- package/dist/{chunk-V2TH46ZY.js → chunk-OXVVRJDQ.js} +12 -12
- package/dist/{chunk-7YYEKTYF.js → chunk-PQW7PYUR.js} +8 -8
- package/dist/{chunk-EZIUFEN6.js → chunk-Q32Y5T2U.js} +12 -12
- package/dist/{chunk-FOGG4AUR.js → chunk-QWHTTA2X.js} +23 -7
- package/dist/{chunk-HKTUIMH4.js → chunk-R3RVFCJ2.js} +3 -3
- package/dist/{chunk-J5LHDJU4.js → chunk-R3VFLYZZ.js} +7 -7
- package/dist/{chunk-QKEFZRHS.js → chunk-R6UTCLH5.js} +17 -17
- package/dist/{chunk-SS66Q4VE.js → chunk-RB2VSED2.js} +12 -12
- package/dist/chunk-REWZE2XI.js +53 -0
- package/dist/{chunk-MF7QH4AX.js → chunk-RIEFYHXI.js} +5 -5
- package/dist/{chunk-7F2RUWPU.js → chunk-RJDP642F.js} +1 -1
- package/dist/{chunk-YFSSNGLR.js → chunk-RWMSJP7H.js} +31 -29
- package/dist/{chunk-JMSEEBN4.js → chunk-S2FDPN32.js} +1 -1
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/{chunk-OJLRFGBP.js → chunk-S7ZWCMDO.js} +79 -15
- package/dist/{chunk-ILFKECGI.js → chunk-SG5KY4VB.js} +4 -4
- package/dist/{chunk-FEZE6NIA.js → chunk-SH7AZZDA.js} +18 -18
- package/dist/{chunk-E3Z67HRK.js → chunk-SILY6ZEZ.js} +4 -4
- package/dist/{chunk-5IALSMZ2.js → chunk-SINJKQSI.js} +14 -14
- package/dist/chunk-SIUDWWKS.js +47 -0
- package/dist/{chunk-XEG3FE2R.js → chunk-SKMHS4CL.js} +1 -1
- package/dist/chunk-SNHOLLGN.js +280 -0
- package/dist/{chunk-LTQANUDH.js → chunk-SUQZGPVG.js} +25 -25
- package/dist/{chunk-47QE246J.js → chunk-T6ESD5KM.js} +5 -5
- package/dist/{chunk-YVLMBAYE.js → chunk-TC3KTG33.js} +3 -3
- package/dist/{chunk-IV7BCWWN.js → chunk-TCADP67G.js} +3 -3
- package/dist/{chunk-6JLPXDWN.js → chunk-TEBBD4XH.js} +5 -5
- package/dist/{chunk-F7UQR4ZX.js → chunk-TGEOLIAK.js} +3 -3
- package/dist/{chunk-FMKKVWZD.js → chunk-TQYBXDVH.js} +2 -2
- package/dist/{chunk-TZDSDDSV.js → chunk-TZXHUDI6.js} +2 -2
- package/dist/{chunk-YMOJD5BO.js → chunk-U5PDQTLA.js} +3 -3
- package/dist/{chunk-CNKGYDMG.js → chunk-U6YKL7SI.js} +23 -23
- package/dist/{chunk-7UKVYFQ2.js → chunk-UABFFMWH.js} +8 -8
- package/dist/{chunk-XPEEICAO.js → chunk-UFBKJOWB.js} +15 -15
- package/dist/chunk-UFTQIK2J.js +43 -0
- package/dist/{chunk-ZP4FJHR4.js → chunk-UNFCFJMF.js} +18 -18
- package/dist/{chunk-IZNSAEBX.js → chunk-UTR67XU2.js} +2 -2
- package/dist/{chunk-6GWHKMQR.js → chunk-V4XKYGLK.js} +4 -4
- package/dist/{chunk-ISNZYKAS.js → chunk-VYNZED7B.js} +21 -21
- package/dist/{chunk-FV5YFR6I.js → chunk-WCLAOKCH.js} +9 -9
- package/dist/chunk-WFYHOXTB.js +29 -0
- package/dist/{chunk-QWVBEK4P.js → chunk-WGU6NIUV.js} +13 -13
- package/dist/{chunk-R4TBNKKC.js → chunk-WIMOJMAK.js} +974 -489
- package/dist/{chunk-XKZHAD6Y.js → chunk-WKXOEIOY.js} +15 -15
- package/dist/chunk-WUE6HKIU.js +790 -0
- package/dist/{chunk-R6B6XAKK.js → chunk-WUP77GG2.js} +4 -4
- package/dist/{chunk-RRVT4MPS.js → chunk-XF3DATVU.js} +18 -18
- package/dist/{chunk-KIHOIVST.js → chunk-XJAJQGXJ.js} +3 -3
- package/dist/{chunk-Y5PZHS4K.js → chunk-XKJRPVJO.js} +5 -5
- package/dist/{chunk-N4QZJJVB.js → chunk-XNRPCI23.js} +5 -5
- package/dist/{chunk-XNYNEEBR.js → chunk-XOVLGBKI.js} +18 -18
- package/dist/{chunk-GR6YKM55.js → chunk-XPJR74MA.js} +95 -13
- package/dist/{chunk-4GZXS6S2.js → chunk-XPWSNKF3.js} +226 -8
- package/dist/{chunk-LRS573EX.js → chunk-XR5DD5DQ.js} +4 -4
- package/dist/{chunk-PGKHJYOB.js → chunk-XZJE6WIT.js} +1 -1
- package/dist/{chunk-3GTZ2OON.js → chunk-Y5AYBGLB.js} +16 -10
- package/dist/{chunk-OIU657QQ.js → chunk-YLAM4HZH.js} +4 -4
- package/dist/{chunk-JF2NSTFO.js → chunk-YVCOQ5TZ.js} +3 -3
- package/dist/{chunk-F7YL2RZ4.js → chunk-YWOMGMZB.js} +23 -23
- package/dist/{chunk-WLIIQ2A4.js → chunk-YWZDAZMA.js} +7 -7
- package/dist/{chunk-JAA53T23.js → chunk-Z2EYRUOH.js} +20 -20
- package/dist/{chunk-UYYN2IUZ.js → chunk-Z46OXTBE.js} +6 -6
- package/dist/chunk-ZHWSL6SR.js +45 -0
- package/dist/chunk-ZJQUIG3A.js +87 -0
- package/dist/{chunk-T4RTWMJD.js → chunk-ZKUDS7JG.js} +5 -5
- package/dist/{chunk-HHUFVJF7.js → chunk-ZTNS3L5Z.js} +6 -6
- package/dist/files.json +471 -423
- package/dist/packages/sdk/npm/index.js +2300 -1983
- package/dist/packages/ui/dist/assets/{elk-api-Mo5w5xCa.js → elk-api-DDup23Us.js} +2 -2
- package/dist/packages/ui/dist/assets/{index-Bp3XhPHX.css → index-C0JEkXyN.css} +1 -1
- package/dist/packages/ui/dist/assets/index-mTOWhQZm.js +29 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +5 -5
- 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-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/packages/ui/dist/assets/index-DM212ZbV.js +0 -29
|
@@ -5,20 +5,20 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
readCatalog
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IILZ7J3L.js";
|
|
9
9
|
import {
|
|
10
10
|
scopeWords
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TEBBD4XH.js";
|
|
12
12
|
import {
|
|
13
13
|
baseClonePath,
|
|
14
14
|
loadManifest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XZJE6WIT.js";
|
|
16
16
|
import {
|
|
17
17
|
Sources,
|
|
18
18
|
catalogDirOf,
|
|
19
19
|
orgPackDirOf,
|
|
20
20
|
require_dist
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JMOLB347.js";
|
|
22
22
|
import {
|
|
23
23
|
__toESM
|
|
24
24
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
historyEntry,
|
|
9
9
|
listHistory,
|
|
10
10
|
setLocalRecording
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5ACUW753.js";
|
|
12
12
|
import {
|
|
13
13
|
api_exports
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-JMOLB347.js";
|
|
15
|
+
import "./chunk-MMB2OHUY.js";
|
|
16
16
|
import "./chunk-TV45EUGM.js";
|
|
17
17
|
|
|
18
18
|
// packages/cli/dist/history-commands.js
|
|
@@ -5,13 +5,13 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
changeStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3LU6YCSQ.js";
|
|
9
9
|
import {
|
|
10
10
|
readCatalog
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IILZ7J3L.js";
|
|
12
12
|
import {
|
|
13
13
|
catalogDirOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JMOLB347.js";
|
|
15
15
|
|
|
16
16
|
// packages/cli/dist/site-commands.js
|
|
17
17
|
import { resolve, join as join2 } from "node:path";
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
NOTE_RULES_FILE,
|
|
8
|
+
repoTypeDetect,
|
|
9
|
+
repoTypeNew,
|
|
10
|
+
repoTypeNote,
|
|
11
|
+
repoTypeRules,
|
|
12
|
+
termNoteOffer
|
|
13
|
+
} from "./chunk-IRW64JFF.js";
|
|
14
|
+
import "./chunk-NIYB5K5B.js";
|
|
15
|
+
import "./chunk-BUWSOQLU.js";
|
|
16
|
+
import "./chunk-LDIARP6F.js";
|
|
17
|
+
import "./chunk-XKJRPVJO.js";
|
|
18
|
+
import "./chunk-IILZ7J3L.js";
|
|
19
|
+
import "./chunk-TEBBD4XH.js";
|
|
20
|
+
import "./chunk-XPWSNKF3.js";
|
|
21
|
+
import "./chunk-WIMOJMAK.js";
|
|
22
|
+
import "./chunk-5V5BJACL.js";
|
|
23
|
+
import "./chunk-GVFUEGGM.js";
|
|
24
|
+
import "./chunk-YVCOQ5TZ.js";
|
|
25
|
+
import "./chunk-XNRPCI23.js";
|
|
26
|
+
import "./chunk-XZJE6WIT.js";
|
|
27
|
+
import "./chunk-FMRMTI7W.js";
|
|
28
|
+
import "./chunk-BKFGGJKA.js";
|
|
29
|
+
import "./chunk-JMOLB347.js";
|
|
30
|
+
import "./chunk-MMB2OHUY.js";
|
|
31
|
+
import "./chunk-TV45EUGM.js";
|
|
32
|
+
export {
|
|
33
|
+
NOTE_RULES_FILE,
|
|
34
|
+
repoTypeDetect,
|
|
35
|
+
repoTypeNew,
|
|
36
|
+
repoTypeNote,
|
|
37
|
+
repoTypeRules,
|
|
38
|
+
termNoteOffer
|
|
39
|
+
};
|
|
@@ -0,0 +1,279 @@
|
|
|
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-MYKQVS5W.js";
|
|
9
|
+
import {
|
|
10
|
+
headCommitOf
|
|
11
|
+
} from "./chunk-EBWIOODZ.js";
|
|
12
|
+
import {
|
|
13
|
+
denyHashesAt
|
|
14
|
+
} from "./chunk-BA5DTXHQ.js";
|
|
15
|
+
import {
|
|
16
|
+
componentRenames,
|
|
17
|
+
estateFacts,
|
|
18
|
+
estateJoinOf,
|
|
19
|
+
hostAliases,
|
|
20
|
+
joinReposOf,
|
|
21
|
+
outsideProfileSystems
|
|
22
|
+
} from "./chunk-IILZ7J3L.js";
|
|
23
|
+
import {
|
|
24
|
+
sameCommit
|
|
25
|
+
} from "./chunk-XPWSNKF3.js";
|
|
26
|
+
import {
|
|
27
|
+
openApiContractSpecs,
|
|
28
|
+
readContractSpecs,
|
|
29
|
+
readRepoSpecs,
|
|
30
|
+
readVendorSpec
|
|
31
|
+
} from "./chunk-WIMOJMAK.js";
|
|
32
|
+
import {
|
|
33
|
+
createGit
|
|
34
|
+
} from "./chunk-XZJE6WIT.js";
|
|
35
|
+
import {
|
|
36
|
+
SpecsFile,
|
|
37
|
+
catalogDirOf,
|
|
38
|
+
checkContracts,
|
|
39
|
+
factsDirOf,
|
|
40
|
+
factsRelOf,
|
|
41
|
+
inputsDirOf,
|
|
42
|
+
joinConventions,
|
|
43
|
+
joinVendorOperations,
|
|
44
|
+
newFindings,
|
|
45
|
+
orgPackDirOf,
|
|
46
|
+
questionsDirOf,
|
|
47
|
+
require_dist
|
|
48
|
+
} from "./chunk-JMOLB347.js";
|
|
49
|
+
import {
|
|
50
|
+
writeFileAtomic
|
|
51
|
+
} from "./chunk-MMB2OHUY.js";
|
|
52
|
+
import {
|
|
53
|
+
__toESM
|
|
54
|
+
} from "./chunk-TV45EUGM.js";
|
|
55
|
+
|
|
56
|
+
// packages/cli/dist/contract-check-files.js
|
|
57
|
+
var import_yaml = __toESM(require_dist(), 1);
|
|
58
|
+
import { existsSync } from "node:fs";
|
|
59
|
+
import { readdir, readFile, rm, stat } from "node:fs/promises";
|
|
60
|
+
import { join, resolve } from "node:path";
|
|
61
|
+
var SPEC_CLASSES = /* @__PURE__ */ new Set(["openapi", "swagger", "asyncapi", "protobuf", "avro"]);
|
|
62
|
+
async function specsCommitOf(facts, dir, git = createGit()) {
|
|
63
|
+
const counts = /* @__PURE__ */ new Map();
|
|
64
|
+
for (const f of facts)
|
|
65
|
+
counts.set(f.commit, (counts.get(f.commit) ?? 0) + 1);
|
|
66
|
+
if (!counts.size)
|
|
67
|
+
return void 0;
|
|
68
|
+
const head = await headCommitOf(dir);
|
|
69
|
+
const atHead = head ? [...counts.keys()].find((c) => sameCommit(c, head)) : void 0;
|
|
70
|
+
if (atHead)
|
|
71
|
+
return atHead;
|
|
72
|
+
const most = Math.max(...counts.values());
|
|
73
|
+
const top = [...counts].filter(([, n]) => n === most).map(([c]) => c).sort();
|
|
74
|
+
if (top.length === 1)
|
|
75
|
+
return top[0];
|
|
76
|
+
const newest = await git(["rev-list", "--no-walk", ...top], dir).then((r) => r.stdout.split("\n")[0]?.trim(), () => void 0);
|
|
77
|
+
return top.find((c) => !!newest && sameCommit(c, newest)) ?? top[0];
|
|
78
|
+
}
|
|
79
|
+
async function commitTree(dir, commit, git) {
|
|
80
|
+
const listed = await git(["ls-tree", "-r", "-l", "-z", "--full-tree", commit], dir).then((r) => r.stdout, () => void 0);
|
|
81
|
+
if (listed === void 0)
|
|
82
|
+
return void 0;
|
|
83
|
+
const files = listed.split("\0").filter(Boolean).flatMap((line) => {
|
|
84
|
+
const tab = line.indexOf(" ");
|
|
85
|
+
const [mode, type, , size] = line.slice(0, tab).trim().split(/\s+/);
|
|
86
|
+
if (tab < 0 || type !== "blob" || mode === "120000")
|
|
87
|
+
return [];
|
|
88
|
+
return [{ path: line.slice(tab + 1), size: Number(size) || 0 }];
|
|
89
|
+
});
|
|
90
|
+
return {
|
|
91
|
+
files: async () => files,
|
|
92
|
+
read: (p) => git(["cat-file", "blob", `${commit}:${p}`], dir).then((r) => r.stdout, () => void 0)
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
async function specTreeOf(repo, dir, commit, git, note) {
|
|
96
|
+
const as = commit ? { commit } : {};
|
|
97
|
+
if (!existsSync(join(dir, ".git")))
|
|
98
|
+
return as;
|
|
99
|
+
if (commit) {
|
|
100
|
+
const tree2 = await commitTree(dir, commit, git);
|
|
101
|
+
if (tree2)
|
|
102
|
+
return { tree: tree2, commit };
|
|
103
|
+
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.`);
|
|
104
|
+
}
|
|
105
|
+
const tree = await commitTree(dir, "HEAD", git);
|
|
106
|
+
if (!tree) {
|
|
107
|
+
note?.(`${repo}: git can't list the clone's files, so its specs are read from the folder.`);
|
|
108
|
+
return as;
|
|
109
|
+
}
|
|
110
|
+
const head = await headCommitOf(dir);
|
|
111
|
+
return { tree, ...head ? { commit: head } : as };
|
|
112
|
+
}
|
|
113
|
+
async function writeRepoSpecs(root, repo, dir, facts, onRefused, git = createGit()) {
|
|
114
|
+
const { tree, commit } = await specTreeOf(repo, dir, await specsCommitOf(facts, dir, git), git, onRefused);
|
|
115
|
+
const deny = await denyHashesAt(root);
|
|
116
|
+
const file = await readRepoSpecs(dir, {
|
|
117
|
+
repo,
|
|
118
|
+
...commit ? { commit } : {},
|
|
119
|
+
...tree ? { tree } : {},
|
|
120
|
+
facts,
|
|
121
|
+
...deny.size ? { denyHashes: deny } : {},
|
|
122
|
+
...onRefused ? { onRefused } : {}
|
|
123
|
+
});
|
|
124
|
+
const path = join(factsDirOf(root), `${repo}.specs.yaml`);
|
|
125
|
+
if (file.specs.length)
|
|
126
|
+
await writeFileAtomic(path, (0, import_yaml.stringify)(file, { lineWidth: 0 }));
|
|
127
|
+
else
|
|
128
|
+
await rm(path, { force: true });
|
|
129
|
+
return file;
|
|
130
|
+
}
|
|
131
|
+
async function loadRepoSpecs(root) {
|
|
132
|
+
const files = [];
|
|
133
|
+
const problems = [];
|
|
134
|
+
const rel = factsRelOf(root);
|
|
135
|
+
for (const n of (await readdir(factsDirOf(root)).catch(() => [])).sort()) {
|
|
136
|
+
if (!n.endsWith(".specs.yaml"))
|
|
137
|
+
continue;
|
|
138
|
+
let v;
|
|
139
|
+
try {
|
|
140
|
+
v = (0, import_yaml.parse)(await readFile(join(factsDirOf(root), n), "utf8"));
|
|
141
|
+
} catch (e) {
|
|
142
|
+
problems.push(`${rel}/${n} isn't YAML (${e.message}); it is left out.`);
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
const p = SpecsFile.safeParse(v);
|
|
146
|
+
if (p.success)
|
|
147
|
+
files.push(p.data);
|
|
148
|
+
else
|
|
149
|
+
problems.push(`${rel}/${n} isn't a specs file; it is left out.`);
|
|
150
|
+
}
|
|
151
|
+
return { files, problems };
|
|
152
|
+
}
|
|
153
|
+
async function intakenSpec(root, doc, system) {
|
|
154
|
+
const body = await readFile(join(inputsDirOf(root), ...doc.path.split("/").slice(1)), "utf8").catch(() => void 0);
|
|
155
|
+
if (body === void 0)
|
|
156
|
+
return void 0;
|
|
157
|
+
const vendor = readVendorSpec(doc.path, body, system);
|
|
158
|
+
const specs = vendor ? openApiContractSpecs(vendor) : readContractSpecs(doc.path, body);
|
|
159
|
+
if (!specs.length)
|
|
160
|
+
return void 0;
|
|
161
|
+
return {
|
|
162
|
+
path: doc.path,
|
|
163
|
+
...doc.title ? { title: doc.title } : {},
|
|
164
|
+
...doc.version ? { version: doc.version } : {},
|
|
165
|
+
specs,
|
|
166
|
+
operations: (vendor?.operations ?? []).map((o) => ({
|
|
167
|
+
id: o.id,
|
|
168
|
+
method: o.method,
|
|
169
|
+
path: o.path,
|
|
170
|
+
fullPath: o.fullPath,
|
|
171
|
+
cite: o.cite
|
|
172
|
+
})),
|
|
173
|
+
hosts: vendor?.hosts ?? []
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
async function stampOf(root) {
|
|
177
|
+
const out = [];
|
|
178
|
+
const walk = async (dir, rel) => {
|
|
179
|
+
const entries = await readdir(dir, { withFileTypes: true }).catch(() => void 0);
|
|
180
|
+
if (!entries)
|
|
181
|
+
return;
|
|
182
|
+
await Promise.all(entries.map(async (e) => {
|
|
183
|
+
const p = join(dir, e.name);
|
|
184
|
+
if (e.isDirectory())
|
|
185
|
+
return walk(p, `${rel}/${e.name}`);
|
|
186
|
+
const s = await stat(p).catch(() => void 0);
|
|
187
|
+
if (s)
|
|
188
|
+
out.push(`${rel}/${e.name}\0${s.size}\0${s.mtimeMs}`);
|
|
189
|
+
}));
|
|
190
|
+
};
|
|
191
|
+
const dirs = [
|
|
192
|
+
factsDirOf(root),
|
|
193
|
+
inputsDirOf(root),
|
|
194
|
+
orgPackDirOf(root),
|
|
195
|
+
questionsDirOf(root),
|
|
196
|
+
join(catalogDirOf(root), "curated")
|
|
197
|
+
];
|
|
198
|
+
await Promise.all(dirs.map((d, i) => walk(d, String(i))));
|
|
199
|
+
return out.sort().join("\n");
|
|
200
|
+
}
|
|
201
|
+
var kept = /* @__PURE__ */ new Map();
|
|
202
|
+
async function contractCheckOf(root) {
|
|
203
|
+
const key = resolve(root);
|
|
204
|
+
const stamp = await stampOf(root);
|
|
205
|
+
const hit = kept.get(key);
|
|
206
|
+
if (hit && hit.stamp === stamp)
|
|
207
|
+
return hit.value;
|
|
208
|
+
const value = workOutContractCheck(root);
|
|
209
|
+
kept.set(key, { stamp, value });
|
|
210
|
+
value.catch(() => {
|
|
211
|
+
if (kept.get(key)?.value === value)
|
|
212
|
+
kept.delete(key);
|
|
213
|
+
});
|
|
214
|
+
return value;
|
|
215
|
+
}
|
|
216
|
+
async function workOutContractCheck(root) {
|
|
217
|
+
const quiet = { out: () => void 0, err: () => void 0 };
|
|
218
|
+
const { op, inputs } = await intakeContext(root, quiet);
|
|
219
|
+
const estate = await estateFacts(root, op, "");
|
|
220
|
+
const join2 = estateJoinOf(op, estate.repos, estate.targets);
|
|
221
|
+
const { files, problems } = await loadRepoSpecs(root);
|
|
222
|
+
const systems = outsideProfileSystems(op);
|
|
223
|
+
const outside = [];
|
|
224
|
+
for (const s of systems) {
|
|
225
|
+
const docs = inputs.documents.filter((d) => d.id && SPEC_CLASSES.has(d.classification) && d.systems[0] === s.id);
|
|
226
|
+
const newestDoc = docs.find((d) => !d.supersededBy);
|
|
227
|
+
const previousDoc = newestDoc ? docs.find((d) => d.supersededBy === newestDoc.id) : void 0;
|
|
228
|
+
const newest = newestDoc ? await intakenSpec(root, newestDoc, s.id) : void 0;
|
|
229
|
+
const previous = previousDoc ? await intakenSpec(root, previousDoc, s.id) : void 0;
|
|
230
|
+
outside.push({
|
|
231
|
+
system: s.id,
|
|
232
|
+
name: s.name,
|
|
233
|
+
...newest ? { newest } : {},
|
|
234
|
+
...previous ? { previous } : {}
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
const repos = joinReposOf(op, estate.repos, componentRenames(estate.repos, op));
|
|
238
|
+
const run = (pick) => {
|
|
239
|
+
const specs = [];
|
|
240
|
+
const vendors = [];
|
|
241
|
+
for (const o of outside) {
|
|
242
|
+
const s = pick(o);
|
|
243
|
+
if (!s)
|
|
244
|
+
continue;
|
|
245
|
+
const sys = systems.find((x) => x.id === o.system);
|
|
246
|
+
specs.push({ system: o.system, name: o.name, specs: s.specs });
|
|
247
|
+
if (s.operations.length)
|
|
248
|
+
vendors.push({
|
|
249
|
+
system: o.system,
|
|
250
|
+
boundary: "internal",
|
|
251
|
+
names: [sys.name, ...sys.aliases],
|
|
252
|
+
hosts: [.../* @__PURE__ */ new Set([...s.hosts, ...hostAliases(sys.aliases)])],
|
|
253
|
+
operations: s.operations
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
const matched = vendors.length ? joinVendorOperations({ repos, vendors, targets: estate.targets, ...joinConventions(op) }) : { matches: [] };
|
|
257
|
+
return checkContracts({
|
|
258
|
+
repos: estate.repos,
|
|
259
|
+
join: join2,
|
|
260
|
+
specs: files,
|
|
261
|
+
outside: specs,
|
|
262
|
+
vendorMatches: matched.matches
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
const result = run((o) => o.newest);
|
|
266
|
+
const newBySystem = /* @__PURE__ */ new Map();
|
|
267
|
+
if (outside.some((o) => o.previous)) {
|
|
268
|
+
const before = run((o) => o.previous ?? o.newest);
|
|
269
|
+
for (const o of outside)
|
|
270
|
+
if (o.previous)
|
|
271
|
+
newBySystem.set(o.system, newFindings(result.findings.filter((f) => f.system === o.system), before.findings.filter((f) => f.system === o.system)));
|
|
272
|
+
}
|
|
273
|
+
return { result, notes: [...estate.notes, ...problems], outside, newBySystem };
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export {
|
|
277
|
+
writeRepoSpecs,
|
|
278
|
+
contractCheckOf
|
|
279
|
+
};
|