@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,40 +5,40 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
diffLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-4URR24DD.js";
|
|
9
|
+
import "./chunk-XR5DD5DQ.js";
|
|
10
|
+
import "./chunk-EI4KQYJ3.js";
|
|
11
|
+
import "./chunk-6RGIM2ZH.js";
|
|
12
|
+
import "./chunk-T6ESD5KM.js";
|
|
13
|
+
import "./chunk-3LU6YCSQ.js";
|
|
14
|
+
import "./chunk-L7I5PKGD.js";
|
|
15
|
+
import "./chunk-CAN3EBE5.js";
|
|
16
16
|
import {
|
|
17
17
|
diffCatalogs,
|
|
18
18
|
readCatalog,
|
|
19
19
|
scanEstate,
|
|
20
20
|
writeCatalog
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-IILZ7J3L.js";
|
|
22
|
+
import "./chunk-TEBBD4XH.js";
|
|
23
|
+
import "./chunk-XPWSNKF3.js";
|
|
24
|
+
import "./chunk-WIMOJMAK.js";
|
|
25
|
+
import "./chunk-5V5BJACL.js";
|
|
26
|
+
import "./chunk-GVFUEGGM.js";
|
|
27
27
|
import {
|
|
28
28
|
branchSlug,
|
|
29
29
|
createWorkspace,
|
|
30
30
|
isInPlace,
|
|
31
31
|
loadRepos
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-XZJE6WIT.js";
|
|
33
|
+
import "./chunk-FMRMTI7W.js";
|
|
34
|
+
import "./chunk-BKFGGJKA.js";
|
|
35
35
|
import {
|
|
36
36
|
catalogDirOf,
|
|
37
37
|
require_dist
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JMOLB347.js";
|
|
39
39
|
import {
|
|
40
40
|
writeFileAtomic
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MMB2OHUY.js";
|
|
42
42
|
import {
|
|
43
43
|
__toESM
|
|
44
44
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -5,11 +5,11 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
baseClonePath
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XZJE6WIT.js";
|
|
9
9
|
import {
|
|
10
10
|
loadOrgPack,
|
|
11
11
|
orgPackDirOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JMOLB347.js";
|
|
13
13
|
|
|
14
14
|
// packages/cli/dist/repo-for.js
|
|
15
15
|
import { stat } from "node:fs/promises";
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
intakeList,
|
|
11
11
|
triageDecide,
|
|
12
12
|
triageList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MYKQVS5W.js";
|
|
14
14
|
import "./chunk-VOGCSYOI.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-IILZ7J3L.js";
|
|
16
|
+
import "./chunk-TEBBD4XH.js";
|
|
17
|
+
import "./chunk-XPWSNKF3.js";
|
|
18
|
+
import "./chunk-WIMOJMAK.js";
|
|
19
|
+
import "./chunk-5V5BJACL.js";
|
|
20
|
+
import "./chunk-GVFUEGGM.js";
|
|
21
|
+
import "./chunk-XZJE6WIT.js";
|
|
22
|
+
import "./chunk-FMRMTI7W.js";
|
|
23
|
+
import "./chunk-BKFGGJKA.js";
|
|
24
|
+
import "./chunk-JMOLB347.js";
|
|
25
|
+
import "./chunk-MMB2OHUY.js";
|
|
26
26
|
import "./chunk-TV45EUGM.js";
|
|
27
27
|
export {
|
|
28
28
|
addToInbox,
|
|
@@ -3,10 +3,13 @@ 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 {
|
|
7
|
+
notesAt
|
|
8
|
+
} from "./chunk-52WCHTVZ.js";
|
|
6
9
|
import {
|
|
7
10
|
houseUntaughtLines,
|
|
8
11
|
houseUntaughtOf
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B3QOYE74.js";
|
|
10
13
|
import {
|
|
11
14
|
loadReadPlan,
|
|
12
15
|
partOfWords,
|
|
@@ -14,7 +17,7 @@ import {
|
|
|
14
17
|
readPlanRelOf,
|
|
15
18
|
saveReadPlan,
|
|
16
19
|
writeReadPlan
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LVBPY2M6.js";
|
|
18
21
|
import {
|
|
19
22
|
carryOf,
|
|
20
23
|
checkoutOf,
|
|
@@ -28,8 +31,7 @@ import {
|
|
|
28
31
|
reviewedProblemsOf,
|
|
29
32
|
slipNoteLines,
|
|
30
33
|
writeVerifyFiles
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-XKS6THI5.js";
|
|
34
|
+
} from "./chunk-ASKDCMW5.js";
|
|
33
35
|
import {
|
|
34
36
|
ABOUT_RULE,
|
|
35
37
|
assistantTier,
|
|
@@ -38,7 +40,7 @@ import {
|
|
|
38
40
|
taughtFrameworksText,
|
|
39
41
|
tierSource,
|
|
40
42
|
tierWords
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6RGIM2ZH.js";
|
|
42
44
|
import {
|
|
43
45
|
FILE_KINDS,
|
|
44
46
|
SHOWN_PROPOSALS,
|
|
@@ -47,6 +49,7 @@ import {
|
|
|
47
49
|
frameworkTopics,
|
|
48
50
|
frameworkTopicsOfType,
|
|
49
51
|
kindsOf,
|
|
52
|
+
lineRangeOf,
|
|
50
53
|
numberedSlice,
|
|
51
54
|
onlyFiles,
|
|
52
55
|
planBatches,
|
|
@@ -59,12 +62,10 @@ import {
|
|
|
59
62
|
sliceText,
|
|
60
63
|
staleMessage,
|
|
61
64
|
verifyFacts
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-UR7RMZ3R.js";
|
|
65
|
+
} from "./chunk-XPWSNKF3.js";
|
|
64
66
|
import {
|
|
65
67
|
loadRepos
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-MKRBG5EF.js";
|
|
68
|
+
} from "./chunk-XZJE6WIT.js";
|
|
68
69
|
import {
|
|
69
70
|
DATA_RULE,
|
|
70
71
|
HandoffRuntime,
|
|
@@ -74,7 +75,7 @@ import {
|
|
|
74
75
|
estimateTokens,
|
|
75
76
|
promptBudget,
|
|
76
77
|
wrapData
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-BKFGGJKA.js";
|
|
78
79
|
import {
|
|
79
80
|
AgentDefinition,
|
|
80
81
|
Fact,
|
|
@@ -88,16 +89,16 @@ import {
|
|
|
88
89
|
listQuestions,
|
|
89
90
|
loadOrgPack,
|
|
90
91
|
normalizeFactPaths,
|
|
92
|
+
notesText,
|
|
91
93
|
orgPackDirOf,
|
|
92
94
|
parseFacts,
|
|
93
95
|
runsDirOf,
|
|
94
96
|
saysNotProduct,
|
|
95
97
|
stackHelpersOff
|
|
96
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-JMOLB347.js";
|
|
97
99
|
import {
|
|
98
100
|
writeFileAtomic
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import "./chunk-TV45EUGM.js";
|
|
101
|
+
} from "./chunk-MMB2OHUY.js";
|
|
101
102
|
|
|
102
103
|
// packages/cli/dist/map-commands.js
|
|
103
104
|
import { existsSync } from "node:fs";
|
|
@@ -129,6 +130,9 @@ var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
|
129
130
|
var batches = (n) => `${n} ${n === 1 ? "batch" : "batches"}`;
|
|
130
131
|
var changeOf = (repo) => `map-${repo}`;
|
|
131
132
|
var stateFile = (root, repo) => join(runsDirOf(root), changeOf(repo), "state.json");
|
|
133
|
+
async function mapStateOf(root, repo) {
|
|
134
|
+
return readState(root, repo).catch(() => void 0);
|
|
135
|
+
}
|
|
132
136
|
async function readState(root, repo) {
|
|
133
137
|
const text = await readFile(stateFile(root, repo), "utf8").catch(() => void 0);
|
|
134
138
|
return text ? JSON.parse(text) : void 0;
|
|
@@ -189,6 +193,8 @@ function claimOf(f) {
|
|
|
189
193
|
return `${f.name}${f.version ? ` ${f.version}` : ""}`;
|
|
190
194
|
case "flow":
|
|
191
195
|
return f.name;
|
|
196
|
+
case "term":
|
|
197
|
+
return `${f.term} ${f.value} (${f.role})`;
|
|
192
198
|
}
|
|
193
199
|
}
|
|
194
200
|
function readAnswer(text, repo, commit, onFile = []) {
|
|
@@ -286,10 +292,26 @@ function rejectedText(r, source) {
|
|
|
286
292
|
] : []
|
|
287
293
|
].join("\n");
|
|
288
294
|
}
|
|
289
|
-
function
|
|
295
|
+
async function rulesCovering(root, repo, op) {
|
|
296
|
+
const type = op.profiles.flatMap((p) => p.repos?.repos ?? []).find((r) => r.id === repo)?.type;
|
|
297
|
+
const all = (await listQuestions(root, { state: "answered" }).catch(() => ({ questions: [] }))).questions;
|
|
298
|
+
return all.filter((q) => q.repo !== repo && !!q.answer?.match && (q.answer.scope.level === "repo" ? q.answer.scope.id === repo : !!type && q.answer.scope.id === type)).map((q) => ({
|
|
299
|
+
id: q.id,
|
|
300
|
+
from: q.repo,
|
|
301
|
+
match: q.answer.match,
|
|
302
|
+
answer: q.answer.text ?? q.options[(q.answer.option ?? 1) - 1]?.label ?? "",
|
|
303
|
+
scope: q.answer.scope.level === "repo" ? repo : `every ${q.answer.scope.id} repo`
|
|
304
|
+
})).sort((a, b) => a.id.localeCompare(b.id));
|
|
305
|
+
}
|
|
306
|
+
var ruleLineOf = (r) => `Rule ${r.id} (answered for ${r.from}, covers ${r.scope}): the calls matching ${r.match} go to ${r.answer}.`;
|
|
307
|
+
function questionsText(qs, rules = []) {
|
|
290
308
|
return [
|
|
291
309
|
"Questions already on file for this repo. Don't ask them again; follow each answer a person gave.",
|
|
292
|
-
...qs.map((q) => `- ${q.question} (${q.evidence.join(", ")}): ${q.state === "answered" ? `answered: ${q.answer?.text ?? q.options[(q.answer?.option ?? 1) - 1]?.label ?? ""}` : "waiting for a person"}`)
|
|
310
|
+
...qs.map((q) => `- ${q.question} (${q.evidence.join(", ")}): ${q.state === "answered" ? `answered: ${q.answer?.text ?? q.options[(q.answer?.option ?? 1) - 1]?.label ?? ""}` : "waiting for a person"}`),
|
|
311
|
+
...rules.length ? [
|
|
312
|
+
"Answers by rule that cover this repo, from other repos' questions. A call one matches goes where it says: don't ask about it.",
|
|
313
|
+
...rules.map((r) => `- ${ruleLineOf(r)}`)
|
|
314
|
+
] : []
|
|
293
315
|
].join("\n");
|
|
294
316
|
}
|
|
295
317
|
function keptText(facts, budgetTokens) {
|
|
@@ -364,7 +386,7 @@ function taughtIn(source, op) {
|
|
|
364
386
|
return texts.some((t) => declared.test(t));
|
|
365
387
|
}));
|
|
366
388
|
}
|
|
367
|
-
async function packFor(root, s, batch, source, op, now) {
|
|
389
|
+
async function packFor(root, s, batch, source, op, now, notes) {
|
|
368
390
|
const agent = repoReaderAgent(op);
|
|
369
391
|
const budget = op.runtime.budgets.perAgent[agent.id] ?? agent.tokenBudget;
|
|
370
392
|
const fix = batch >= s.batches.length;
|
|
@@ -373,6 +395,7 @@ async function packFor(root, s, batch, source, op, now) {
|
|
|
373
395
|
const kept = await readFactsFile(root, s.repo);
|
|
374
396
|
const facts = typeof kept === "string" ? [] : kept;
|
|
375
397
|
const onFile = (await listQuestions(root, { repo: s.repo })).questions.filter((q) => q.state !== "retired");
|
|
398
|
+
const rules = await rulesCovering(root, s.repo, op);
|
|
376
399
|
const slices = fix ? [] : s.batches[batch];
|
|
377
400
|
const rejected = s.rejected.map((r) => rejectedText(r, source));
|
|
378
401
|
const own = kindsOf(slices.map((x) => x.path));
|
|
@@ -398,7 +421,9 @@ async function packFor(root, s, batch, source, op, now) {
|
|
|
398
421
|
// Nothing says what this repo is: ask for one line, cited, for a person to confirm.
|
|
399
422
|
...about ? {} : { askAbout: true },
|
|
400
423
|
// A-taught: how to read the wrapper calls and annotations of the frameworks it is built on.
|
|
401
|
-
...taughtOption(taughtIn(source, op))
|
|
424
|
+
...taughtOption(taughtIn(source, op)),
|
|
425
|
+
// ADR 0163: what the organisation's terms mean here and what must hold, as data.
|
|
426
|
+
...notes ? { notes } : {}
|
|
402
427
|
}),
|
|
403
428
|
classification: "public",
|
|
404
429
|
trusted: true
|
|
@@ -442,12 +467,12 @@ ${s.problems.map((p) => `- ${p}`).join("\n")}`,
|
|
|
442
467
|
priority: 5
|
|
443
468
|
}
|
|
444
469
|
] : [],
|
|
445
|
-
...onFile.length ? [
|
|
470
|
+
...onFile.length || rules.length ? [
|
|
446
471
|
{
|
|
447
472
|
id: "4-questions",
|
|
448
473
|
kind: "document",
|
|
449
474
|
origin: "questions/",
|
|
450
|
-
text: questionsText(onFile),
|
|
475
|
+
text: questionsText(onFile, rules),
|
|
451
476
|
classification: "internal",
|
|
452
477
|
priority: 4
|
|
453
478
|
}
|
|
@@ -523,14 +548,29 @@ async function mapCommand(root, repo, o, io, deps = {}) {
|
|
|
523
548
|
const source = dirSource(dir);
|
|
524
549
|
const exclude = await excludesOf(root, repo);
|
|
525
550
|
const factsFile = `${factsRelOf(root)}/${repo}.jsonl`;
|
|
551
|
+
const repoNotes = await notesAt(root, repo, dir, op);
|
|
552
|
+
const notesPrompt = notesText(repoNotes.notes, repoNotes.type);
|
|
526
553
|
if (o.gaps) {
|
|
527
|
-
const { mapGaps } = await import("./chunk-
|
|
554
|
+
const { mapGaps } = await import("./chunk-S7ZWCMDO.js");
|
|
528
555
|
const tier = await tierHere(root, op);
|
|
556
|
+
let part;
|
|
557
|
+
if (o.part !== void 0) {
|
|
558
|
+
const p = (await readPlanProgress(root, repo))?.parts.find((x) => x.part === o.part);
|
|
559
|
+
if (!p) {
|
|
560
|
+
io.err(`${repo}'s read plan has no part ${o.part} (${readPlanRelOf(root, repo)}): atticus map ${repo} --estimate plans it.`);
|
|
561
|
+
return 2;
|
|
562
|
+
}
|
|
563
|
+
part = {
|
|
564
|
+
n: p.part,
|
|
565
|
+
left: [...p.paths.filter((g) => !lineRangeOf(g)), ...p.left.filter((g) => lineRangeOf(g))]
|
|
566
|
+
};
|
|
567
|
+
}
|
|
529
568
|
return mapGaps(root, repo, {
|
|
530
569
|
commit,
|
|
531
570
|
source,
|
|
532
571
|
session: sessionTokensFor(limitOf(o, op, tier).limit),
|
|
533
|
-
...o.json ? { json: true } : {}
|
|
572
|
+
...o.json ? { json: true } : {},
|
|
573
|
+
...part ? { part } : {}
|
|
534
574
|
}, io);
|
|
535
575
|
}
|
|
536
576
|
if (o.estimate)
|
|
@@ -652,7 +692,7 @@ async function mapCommand(root, repo, o, io, deps = {}) {
|
|
|
652
692
|
break;
|
|
653
693
|
if (fixRound)
|
|
654
694
|
s.fixRound = true;
|
|
655
|
-
const { agent, pack } = await packFor(root, s, s.next, source, op, now());
|
|
695
|
+
const { agent, pack } = await packFor(root, s, s.next, source, op, now(), notesPrompt);
|
|
656
696
|
const prepared = await runtime.prepare({
|
|
657
697
|
change: changeOf(repo),
|
|
658
698
|
agent,
|
|
@@ -732,7 +772,9 @@ async function takeAnswer(root, s, run, batch, source, exclude, now, io, at) {
|
|
|
732
772
|
reviewed: reviewed.entries,
|
|
733
773
|
// J1 (ADR 0143): an exposure names a component the manifest lists.
|
|
734
774
|
...estate ? { estate } : {},
|
|
735
|
-
conventions: await conventionsAt(root)
|
|
775
|
+
conventions: await conventionsAt(root),
|
|
776
|
+
// ADR 0163: a term's note is one of those the batch was handed.
|
|
777
|
+
notes: (await notesAt(root, s.repo, at.dir)).notes
|
|
736
778
|
});
|
|
737
779
|
const q = await raiseReadQuestions(root, s.repo, answer.questions, source, {
|
|
738
780
|
command: `atticus map ${s.repo}`,
|
|
@@ -741,7 +783,7 @@ async function takeAnswer(root, s, run, batch, source, exclude, now, io, at) {
|
|
|
741
783
|
});
|
|
742
784
|
const summary = await writeVerifyFiles(root, s.repo, report, s.commit, q.problems, [], reviewedProblemsOf(reviewed.bad, report), answer.slips);
|
|
743
785
|
if (answer.about) {
|
|
744
|
-
const { keepDraftedDescription } = await import("./chunk-
|
|
786
|
+
const { keepDraftedDescription } = await import("./chunk-ZKUDS7JG.js");
|
|
745
787
|
const d = await keepDraftedDescription(root, s.repo, answer.about, now());
|
|
746
788
|
if (d.kept)
|
|
747
789
|
io.out(`Your assistant says ${s.repo} is: "${answer.about.text}" \u2014 written to the manifest as a draft, unconfirmed. Confirm it (atticus repo describe ${s.repo} --accept), change it (--description "...") or drop it (--reject).`);
|
|
@@ -873,6 +915,8 @@ async function estimate(root, repo, c, io) {
|
|
|
873
915
|
await saveReadPlan(root, { ...plan0, estimate: estimate2 });
|
|
874
916
|
const progress = parts.length ? await readPlanProgress(root, repo, { commit: c.commit }) : void 0;
|
|
875
917
|
const questions = (await listQuestions(root, { repo })).questions.filter((q) => q.state !== "retired");
|
|
918
|
+
const notes = await notesAt(root, repo, c.dir, c.op);
|
|
919
|
+
const rules = await rulesCovering(root, repo, c.op);
|
|
876
920
|
const house = await houseUntaughtOf(root, repo, {
|
|
877
921
|
dir: c.dir,
|
|
878
922
|
source: c.source,
|
|
@@ -921,12 +965,15 @@ async function estimate(root, repo, c, io) {
|
|
|
921
965
|
taughtFrameworks: taughtIn(c.source, c.op).map((m) => m.name),
|
|
922
966
|
// R3: the house packages to teach before the first read.
|
|
923
967
|
houseUntaught: house,
|
|
968
|
+
// ADR 0163: the org notes the reader is handed, numbered, and the repo type they are of.
|
|
969
|
+
notes: { ...notes.type ? { repoType: notes.type } : {}, notes: notes.notes },
|
|
924
970
|
questions: questions.map((q) => ({
|
|
925
971
|
id: q.id,
|
|
926
972
|
question: q.question,
|
|
927
973
|
state: q.state,
|
|
928
974
|
...q.answer ? { answer: q.answer } : {}
|
|
929
975
|
})),
|
|
976
|
+
rules,
|
|
930
977
|
// A re-read: what the files and batches above are, and the facts to revisit.
|
|
931
978
|
reread: reread ? {
|
|
932
979
|
...reread,
|
|
@@ -947,6 +994,10 @@ async function estimate(root, repo, c, io) {
|
|
|
947
994
|
if (taught)
|
|
948
995
|
for (const l of taught.split("\n"))
|
|
949
996
|
io.out(l);
|
|
997
|
+
const notesLines = notesText(notes.notes, notes.type);
|
|
998
|
+
if (notesLines)
|
|
999
|
+
for (const l of notesLines.split("\n"))
|
|
1000
|
+
io.out(l);
|
|
950
1001
|
for (const l of houseUntaughtLines(repo, house))
|
|
951
1002
|
io.out(l);
|
|
952
1003
|
if (reread)
|
|
@@ -1001,14 +1052,20 @@ repo: ${repo}`);
|
|
|
1001
1052
|
io.out(plan ? `In batches at ${limit} tokens a prompt${given === void 0 ? " (GPT-4o mini through Copilot; --max-tokens n for your model's limit)" : from === "probe" ? ` (the limit stated when your assistant was measured on ${tier.measured?.at})` : ""}: ${plural(plan.batches.length, "prompt")}, one more if facts are rejected in the last.` : `A model of ${limit} tokens leaves too little room for the files beside the instructions: use a model with a bigger limit.`);
|
|
1002
1053
|
for (const q of questions)
|
|
1003
1054
|
io.out(`Question ${q.id}: ${q.question} (${q.state === "answered" ? `answered: ${q.answer?.text ?? q.options[(q.answer?.option ?? 1) - 1]?.label ?? ""}` : "open"})`);
|
|
1004
|
-
|
|
1005
|
-
io.out(
|
|
1055
|
+
for (const r of rules)
|
|
1056
|
+
io.out(ruleLineOf(r));
|
|
1057
|
+
if (questions.length || rules.length)
|
|
1058
|
+
io.out("Follow each answer and each rule; don't ask what they settle again.");
|
|
1006
1059
|
return 0;
|
|
1007
1060
|
}
|
|
1061
|
+
|
|
1008
1062
|
export {
|
|
1009
1063
|
REPO_READER,
|
|
1010
|
-
mapCommand,
|
|
1011
|
-
readAnswer,
|
|
1012
1064
|
repoReaderAgent,
|
|
1013
|
-
|
|
1065
|
+
mapStateOf,
|
|
1066
|
+
readAnswer,
|
|
1067
|
+
rulesCovering,
|
|
1068
|
+
ruleLineOf,
|
|
1069
|
+
taughtIn,
|
|
1070
|
+
mapCommand
|
|
1014
1071
|
};
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
ATTICUS_FOLDER_IGNORE,
|
|
8
8
|
CHECKLISTS_README,
|
|
9
9
|
STARTER_CHECKLISTS_README
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NG5R2WIY.js";
|
|
11
11
|
import {
|
|
12
12
|
openspecRootOf,
|
|
13
13
|
rewriteStories
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EV4TEFOD.js";
|
|
15
15
|
import {
|
|
16
16
|
STARTER_REVIEW_PATH,
|
|
17
17
|
readPackFiles,
|
|
18
18
|
starterReviewText
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T6ESD5KM.js";
|
|
20
20
|
import {
|
|
21
21
|
metarepoOrigin
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3LU6YCSQ.js";
|
|
23
23
|
import {
|
|
24
24
|
ORG_FLOW_VERSION,
|
|
25
25
|
STORE_MARKER,
|
|
@@ -28,16 +28,16 @@ import {
|
|
|
28
28
|
storeIdOf,
|
|
29
29
|
writeOrgFlowSchema,
|
|
30
30
|
writeStoreMarker
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-L7I5PKGD.js";
|
|
32
32
|
import {
|
|
33
33
|
VERSION,
|
|
34
34
|
versionAtLeast
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-7RUMD56V.js";
|
|
36
36
|
import {
|
|
37
37
|
IGNORED,
|
|
38
38
|
ensureGitignore,
|
|
39
39
|
gitUser
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XZJE6WIT.js";
|
|
41
41
|
import {
|
|
42
42
|
MetarepoStamp,
|
|
43
43
|
WORKSPACE_SCHEMA_VERSION,
|
|
@@ -59,12 +59,12 @@ import {
|
|
|
59
59
|
require_dist,
|
|
60
60
|
specsDirOf,
|
|
61
61
|
specsRelOf
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-JMOLB347.js";
|
|
63
63
|
import {
|
|
64
64
|
LOCAL_ONLY,
|
|
65
65
|
ensureLocalIgnore,
|
|
66
66
|
writeFileAtomic
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MMB2OHUY.js";
|
|
68
68
|
import {
|
|
69
69
|
__toESM
|
|
70
70
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -159,8 +159,9 @@ var MIGRATIONS = [
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
+
// The id is kept as it was first shipped (stamps record it); the step writes the current version.
|
|
162
163
|
id: "questions-v3",
|
|
163
|
-
summary: "Questions at schema version
|
|
164
|
+
summary: "Questions at schema version 4: a question can name the earlier one it may be the same as (ADR 0117), an answer can carry its rule and the proposal it accepted (ADR 0153), and a question the code later disagreed with keeps why it reopened and the answer it had (ADR 0162)",
|
|
164
165
|
pending: (root) => migrateQuestions(root, { dryRun: true }),
|
|
165
166
|
apply: (root) => migrateQuestions(root)
|
|
166
167
|
},
|
|
@@ -181,6 +182,8 @@ var MIGRATIONS = [
|
|
|
181
182
|
},
|
|
182
183
|
// The version-2 files: only the number changes, no field gains a required (ADR 0125).
|
|
183
184
|
catalogStep("catalog-schema-v3", "Catalog records at schema version 3: a Schema field can say whether it is required (ADR 0125)", [2]),
|
|
185
|
+
// The version-3 files: only the number changes; version 4 adds a Schema format (ADR 0164).
|
|
186
|
+
catalogStep("catalog-schema-v4", "Catalog records at schema version 4: a Schema can be a protobuf message (ADR 0164)", [3]),
|
|
184
187
|
sourcesStep("sources-v2", "sources.yaml at version 2: a wiki can include and exclude pages by pattern; every wiki still reads every page (ADR 0083)", { from: 1, to: 2 }),
|
|
185
188
|
// ADR 0132: from version 1 or 2 (a version 1 file is moved to 2 by the step before, then here).
|
|
186
189
|
sourcesStep("sources-v3", "sources.yaml at version 3: a wiki can say how much its word counts (authority) and where it applies (appliesTo); every wiki still ranks as a team's and applies everywhere (ADR 0132)", { to: 3 }),
|
|
@@ -5,10 +5,10 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
readReviewed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ASKDCMW5.js";
|
|
9
9
|
import {
|
|
10
10
|
lineRangeOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XPWSNKF3.js";
|
|
12
12
|
import {
|
|
13
13
|
citedFiles,
|
|
14
14
|
external_exports,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
factsRelOf,
|
|
17
17
|
parseFacts,
|
|
18
18
|
require_dist
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JMOLB347.js";
|
|
20
20
|
import {
|
|
21
21
|
writeFileAtomic
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MMB2OHUY.js";
|
|
23
23
|
import {
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -116,6 +116,15 @@ function folderOf(path) {
|
|
|
116
116
|
return { dir: path.slice(0, star).replace(/\/$/, ""), deep: true };
|
|
117
117
|
}
|
|
118
118
|
var under = (dir, of) => of === "" || dir === of || dir.startsWith(`${of}/`);
|
|
119
|
+
function globHolds(glob, file) {
|
|
120
|
+
const u = unitOf(glob);
|
|
121
|
+
if (u.range)
|
|
122
|
+
return u.range.file === file;
|
|
123
|
+
if (!/[*]/.test(glob))
|
|
124
|
+
return glob === file;
|
|
125
|
+
const dir = file.replace(/\/?[^/]*$/, "");
|
|
126
|
+
return u.deep ? under(dir, u.dir) : dir === u.dir;
|
|
127
|
+
}
|
|
119
128
|
var HEADER = "# The parts this repo is read in (ADR 0124 addendum A-ledger), as atticus map --estimate planned them,\n# and what the read cost (ADR 0141): tokens are estimates, reported numbers are the reader's word.\n# Which part is next is read back from the facts; atticus next says it. Atticus writes this file.\n";
|
|
120
129
|
async function saveReadPlan(root, plan) {
|
|
121
130
|
await writeFileAtomic(readPlanPath(root, plan.repo), `${HEADER}${(0, import_yaml.stringify)(ReadPlanFile.parse(plan), { lineWidth: 0 })}`);
|
|
@@ -381,6 +390,7 @@ export {
|
|
|
381
390
|
ReadPlanFile,
|
|
382
391
|
migrateReadPlan,
|
|
383
392
|
readPlanRelOf,
|
|
393
|
+
globHolds,
|
|
384
394
|
saveReadPlan,
|
|
385
395
|
writeReadPlan,
|
|
386
396
|
loadReadPlan,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
openIndex,
|
|
14
14
|
runContextTool,
|
|
15
15
|
translate
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-XNRPCI23.js";
|
|
17
|
+
import "./chunk-BKFGGJKA.js";
|
|
18
|
+
import "./chunk-JMOLB347.js";
|
|
19
|
+
import "./chunk-MMB2OHUY.js";
|
|
20
20
|
import "./chunk-TV45EUGM.js";
|
|
21
21
|
|
|
22
22
|
// packages/cli/dist/index-commands.js
|
|
@@ -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-WCLAOKCH.js";
|
|
14
|
+
import "./chunk-3G4YI4ZU.js";
|
|
15
|
+
import "./chunk-LUPW4WLK.js";
|
|
16
|
+
import "./chunk-NG5R2WIY.js";
|
|
17
|
+
import "./chunk-6RGIM2ZH.js";
|
|
18
|
+
import "./chunk-EV4TEFOD.js";
|
|
19
|
+
import "./chunk-6N2GUZMZ.js";
|
|
20
|
+
import "./chunk-T6ESD5KM.js";
|
|
21
|
+
import "./chunk-3LU6YCSQ.js";
|
|
22
|
+
import "./chunk-L7I5PKGD.js";
|
|
23
|
+
import "./chunk-CAN3EBE5.js";
|
|
24
|
+
import "./chunk-IILZ7J3L.js";
|
|
25
|
+
import "./chunk-TEBBD4XH.js";
|
|
26
|
+
import "./chunk-XPWSNKF3.js";
|
|
27
|
+
import "./chunk-WIMOJMAK.js";
|
|
28
|
+
import "./chunk-5V5BJACL.js";
|
|
29
|
+
import "./chunk-GVFUEGGM.js";
|
|
30
|
+
import "./chunk-XNRPCI23.js";
|
|
31
|
+
import {
|
|
32
|
+
versionAtLeast
|
|
33
|
+
} from "./chunk-7RUMD56V.js";
|
|
34
|
+
import "./chunk-XZJE6WIT.js";
|
|
35
|
+
import "./chunk-FMRMTI7W.js";
|
|
36
|
+
import "./chunk-BKFGGJKA.js";
|
|
37
|
+
import "./chunk-JMOLB347.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
|
+
};
|
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
guideCommand,
|
|
9
9
|
openChanges,
|
|
10
10
|
siteBuildCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-HR4DVO6X.js";
|
|
12
|
+
import "./chunk-3LU6YCSQ.js";
|
|
13
|
+
import "./chunk-L7I5PKGD.js";
|
|
14
|
+
import "./chunk-CAN3EBE5.js";
|
|
15
|
+
import "./chunk-IILZ7J3L.js";
|
|
16
|
+
import "./chunk-TEBBD4XH.js";
|
|
17
|
+
import "./chunk-XPWSNKF3.js";
|
|
18
|
+
import "./chunk-WIMOJMAK.js";
|
|
19
|
+
import "./chunk-5V5BJACL.js";
|
|
20
|
+
import "./chunk-GVFUEGGM.js";
|
|
21
|
+
import "./chunk-XZJE6WIT.js";
|
|
22
|
+
import "./chunk-FMRMTI7W.js";
|
|
23
|
+
import "./chunk-BKFGGJKA.js";
|
|
24
|
+
import "./chunk-JMOLB347.js";
|
|
25
|
+
import "./chunk-MMB2OHUY.js";
|
|
26
26
|
import "./chunk-TV45EUGM.js";
|
|
27
27
|
export {
|
|
28
28
|
catalogRecords,
|