@maycombhq/atticus 2.0.0-beta.2 → 2.0.0-beta.21
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 +8 -4
- package/dist/chunk-265LWMOA.js +91 -0
- package/dist/chunk-26WBY34Y.js +37 -0
- package/dist/{chunk-UBBC2XSG.js → chunk-26Z7OGQW.js} +518 -93
- package/dist/chunk-2D7PWSOK.js +172 -0
- package/dist/{chunk-JCZIKA4C.js → chunk-2HH3UCZM.js} +4 -4
- package/dist/{chunk-GDLULHTC.js → chunk-2HTEMYTB.js} +12 -26
- package/dist/chunk-2UCRFXFZ.js +130 -0
- package/dist/{chunk-MVZVGYXH.js → chunk-2V2ZPQQU.js} +81 -13
- package/dist/{chunk-BOHJZTEQ.js → chunk-36RY7ZXM.js} +130 -71
- package/dist/{chunk-I3E7CX4H.js → chunk-37WE3LS2.js} +3 -3
- package/dist/{chunk-IPKHE5D6.js → chunk-3AQ2R5NL.js} +1520 -871
- package/dist/chunk-3G6S7LAA.js +43 -0
- package/dist/chunk-3J5I7ZOU.js +58 -0
- package/dist/{chunk-65NYPGRC.js → chunk-3LZ6P5EP.js} +1 -1
- package/dist/chunk-3SSTNB4E.js +191 -0
- package/dist/chunk-3TD6S4TC.js +49 -0
- package/dist/{chunk-3C7EYRFZ.js → chunk-3UTYPHN3.js} +1 -1
- package/dist/{chunk-G2B4ZQGH.js → chunk-3WON4G3M.js} +2 -2
- package/dist/{chunk-S3QNRWYR.js → chunk-42EPP7OB.js} +12 -12
- package/dist/chunk-455SYIIE.js +113 -0
- package/dist/{chunk-YISXLPHN.js → chunk-4B6BT75O.js} +166 -23
- package/dist/{chunk-C6EKFH7J.js → chunk-4CLK2RJO.js} +7 -7
- package/dist/chunk-4CYTJ5TZ.js +38 -0
- package/dist/{chunk-EYWIDJFU.js → chunk-4D62IZII.js} +5 -5
- package/dist/chunk-4FOAYLI4.js +328 -0
- package/dist/{chunk-7JUKDRSZ.js → chunk-4KNOJC6J.js} +294 -215
- package/dist/{chunk-YMZ3TNYB.js → chunk-4PYC2UGC.js} +2 -2
- package/dist/{chunk-27NKUS3X.js → chunk-4SLBCEPD.js} +2104 -726
- package/dist/chunk-4TKVU2I2.js +122 -0
- package/dist/{chunk-RUVFXE2L.js → chunk-4WXRPQDE.js} +448 -47
- package/dist/{chunk-7ZUIMTOU.js → chunk-5CMPVC3N.js} +24 -24
- package/dist/chunk-5G7ILBUG.js +66 -0
- package/dist/{chunk-HFQCFSJR.js → chunk-5PV7S2ZP.js} +3 -3
- package/dist/{chunk-FITWGOJ2.js → chunk-5QUOPNLN.js} +4 -4
- package/dist/{chunk-Z6LF7HQN.js → chunk-5TDRBOAV.js} +5 -5
- package/dist/{chunk-T6AIP7H5.js → chunk-5WERBKLE.js} +199 -63
- package/dist/{chunk-XPCM366L.js → chunk-62DLJSLV.js} +8 -8
- package/dist/{chunk-L24C55VN.js → chunk-64AADMTW.js} +99 -25
- package/dist/{chunk-K65BJIMT.js → chunk-67BP7HXL.js} +17 -17
- package/dist/chunk-6DQYZU2W.js +379 -0
- package/dist/{chunk-EDS2L2LD.js → chunk-6EXDI5GI.js} +52 -26
- package/dist/chunk-6FNAKCET.js +38 -0
- package/dist/{chunk-6IU67AEK.js → chunk-75ASLHBT.js} +21 -15
- package/dist/{chunk-A3GY6SOA.js → chunk-75ZOZFGH.js} +18 -18
- package/dist/{chunk-MGYZM27B.js → chunk-77O633L5.js} +49 -23
- package/dist/{chunk-GQ4N4WKF.js → chunk-7AB6OWTV.js} +3 -3
- package/dist/{chunk-M766ZJ6W.js → chunk-7CZHUZBL.js} +25 -25
- package/dist/{chunk-A7UPUQFY.js → chunk-7FHNFCHK.js} +643 -124
- package/dist/chunk-7FUIVIBG.js +415 -0
- package/dist/{chunk-6QSERWXH.js → chunk-7QPCGTPS.js} +21 -21
- package/dist/{chunk-LR3R6Z2A.js → chunk-A2G72UI4.js} +7 -7
- package/dist/{chunk-I4JRCD6M.js → chunk-AE4P57KK.js} +23 -17
- package/dist/{chunk-AVJDSJ2F.js → chunk-AHW3RY3X.js} +7 -7
- package/dist/chunk-AM6FP6JW.js +43 -0
- package/dist/{chunk-CSZ4C5N6.js → chunk-AOCWFA7T.js} +93 -10
- package/dist/{chunk-EPTBZ3GP.js → chunk-API5TOUB.js} +1 -1
- package/dist/{chunk-652QWTLZ.js → chunk-AZDITBCT.js} +3 -3
- package/dist/{chunk-DPUYDDQG.js → chunk-BA2HUMDN.js} +25 -3
- package/dist/chunk-BA3U7ALS.js +99 -0
- package/dist/{chunk-HVUPKCGJ.js → chunk-BC6KKZ67.js} +5 -5
- package/dist/{chunk-CKSITVS4.js → chunk-BEPCKDCP.js} +2554 -722
- package/dist/{chunk-3ALD2W2A.js → chunk-BPPU3PW7.js} +4 -4
- package/dist/{chunk-QRAOANID.js → chunk-BVWWPBKD.js} +21 -21
- package/dist/{chunk-ZDPAS56H.js → chunk-BXBCMGIQ.js} +7 -1
- package/dist/chunk-BXZ4PKIT.js +233 -0
- package/dist/chunk-C7CEK3KW.js +247 -0
- package/dist/chunk-CFH3QH26.js +29 -0
- package/dist/chunk-CG6CULP6.js +170 -0
- package/dist/chunk-CLD4RVTA.js +45 -0
- package/dist/{chunk-DKJA76CJ.js → chunk-CNPY4NTZ.js} +13 -13
- package/dist/chunk-CNU5Q2D5.js +575 -0
- package/dist/{chunk-T2UYZSCQ.js → chunk-COYN3UAN.js} +126 -23
- package/dist/{chunk-23W7VWKR.js → chunk-CPK7QSBG.js} +1360 -113
- package/dist/{chunk-4AK7IBVP.js → chunk-D2WSW4GU.js} +1 -1
- package/dist/{chunk-ABWHYWNI.js → chunk-D57MFJPP.js} +3 -3
- package/dist/chunk-D5KV5PSK.js +45 -0
- package/dist/chunk-D5MASS4I.js +48 -0
- package/dist/{chunk-7EOBHUMC.js → chunk-DCWN3HFV.js} +2 -2
- package/dist/{chunk-QSXK2RGH.js → chunk-DDJPM5YX.js} +2 -2
- package/dist/chunk-DN4A2Q2O.js +57 -0
- package/dist/{chunk-IHMLFRVV.js → chunk-DUPZPDCJ.js} +58 -16
- package/dist/{chunk-PRPPGYZG.js → chunk-E2VXBSIR.js} +4 -4
- package/dist/chunk-E57AOFYN.js +32 -0
- package/dist/{chunk-UGLN7QHV.js → chunk-ECLXZWAG.js} +12 -12
- package/dist/{chunk-5WG5YP4T.js → chunk-EDZ45WIR.js} +14 -14
- package/dist/chunk-EFCQSMXB.js +37 -0
- package/dist/{chunk-2ANOROX3.js → chunk-EZIN5E5B.js} +8 -8
- package/dist/{chunk-BWZ77RQT.js → chunk-F6H2RJ3N.js} +1 -1
- package/dist/{chunk-OLQJTJJU.js → chunk-FAJDKNSD.js} +7 -3
- package/dist/chunk-FGAGWYZB.js +47 -0
- package/dist/{chunk-4WBVUHXN.js → chunk-FLVZFTLQ.js} +18 -18
- package/dist/chunk-FQ6WH6PB.js +140 -0
- package/dist/{chunk-T6XQL73F.js → chunk-FRHD22WM.js} +61 -23
- package/dist/{chunk-XAKWMCXI.js → chunk-FVMPFCDS.js} +4 -4
- package/dist/{chunk-B2WLAWNJ.js → chunk-FY3QIRTL.js} +3 -3
- package/dist/{chunk-CPA6HPVR.js → chunk-FYBF5MB2.js} +15 -11
- package/dist/{chunk-V2YTAIQO.js → chunk-G5YJBNDZ.js} +21 -6
- package/dist/chunk-G6IQYM25.js +339 -0
- package/dist/chunk-G6X4YL4D.js +161 -0
- package/dist/{chunk-SJRGMG6A.js → chunk-GC2VK3JT.js} +25 -25
- package/dist/{chunk-SP2I63OO.js → chunk-GCS3FZOB.js} +77 -3
- package/dist/{chunk-6TACQN3N.js → chunk-GDZB57IU.js} +5 -5
- package/dist/chunk-GIFMBCTW.js +221 -0
- package/dist/{chunk-YY6ZQQBP.js → chunk-GK4PYVEC.js} +18 -8
- package/dist/{chunk-TDD55CJH.js → chunk-GNWAOVFQ.js} +6 -5
- package/dist/chunk-GS76RXQE.js +226 -0
- package/dist/{chunk-YYQN46FY.js → chunk-GSGIZ2OO.js} +23 -23
- package/dist/chunk-GUYL7RMK.js +60 -0
- package/dist/chunk-GX74YWR7.js +321 -0
- package/dist/chunk-HE3HRDNZ.js +122 -0
- package/dist/{chunk-AIOQPLA5.js → chunk-HGHRSF3E.js} +30 -12
- package/dist/{chunk-2RMYG36Q.js → chunk-HK3VOHIE.js} +198 -336
- package/dist/{chunk-QZSX3F7C.js → chunk-HS4BGB4G.js} +24 -22
- package/dist/{chunk-XY3P7JW7.js → chunk-HSZMPH5T.js} +834 -149
- package/dist/{chunk-L6SGQIR3.js → chunk-HWD4JPU7.js} +4 -2
- package/dist/{chunk-PCVDV3UZ.js → chunk-HXXP2NTE.js} +6 -6
- package/dist/{chunk-AA6YULYB.js → chunk-I2A3Z5AK.js} +7 -7
- package/dist/{chunk-N7IXEHK3.js → chunk-ICHDSWEY.js} +7 -7
- package/dist/chunk-IFFRGC3N.js +31 -0
- package/dist/{chunk-4BN53TG3.js → chunk-IFHDV6KQ.js} +31 -23
- package/dist/chunk-J2O4LFVI.js +80 -0
- package/dist/chunk-J5AAZ6OJ.js +161 -0
- package/dist/{chunk-ZMFPW66A.js → chunk-JAABT3DA.js} +3 -3
- package/dist/chunk-JITJP64K.js +34 -0
- package/dist/chunk-JKIGL3XQ.js +162 -0
- package/dist/chunk-JRVNXLZP.js +615 -0
- package/dist/chunk-JRXHON4E.js +41 -0
- package/dist/{chunk-DHPACDG7.js → chunk-JS6WMC3J.js} +8 -8
- package/dist/chunk-JU4QNJSR.js +62 -0
- package/dist/{chunk-PAMPPUR6.js → chunk-JYMIB5XY.js} +1697 -172
- package/dist/{chunk-RRTKKSLQ.js → chunk-JYTIHTIK.js} +8 -6
- package/dist/{chunk-3HI6Z55Y.js → chunk-K332XW7K.js} +324 -39
- package/dist/{chunk-GLUX4EEP.js → chunk-K6JB6XTX.js} +9 -9
- package/dist/chunk-KDAHXQIE.js +294 -0
- package/dist/chunk-KYZMRSPS.js +93 -0
- package/dist/chunk-L4CESDPB.js +22 -0
- package/dist/{chunk-NXFPS2LR.js → chunk-LEBR5NHW.js} +14 -14
- package/dist/chunk-LIJJCBQI.js +223 -0
- package/dist/{chunk-DE76JROX.js → chunk-LIRVU3HW.js} +16 -16
- package/dist/{chunk-JMSCMUCA.js → chunk-LN77DXBM.js} +145 -21
- package/dist/{chunk-JIITQXFB.js → chunk-LNWEWYCM.js} +2969 -788
- package/dist/{chunk-TANFV3MZ.js → chunk-LO3BLMVG.js} +3 -3
- package/dist/chunk-LPV6T362.js +250 -0
- package/dist/{chunk-2VHF7OXM.js → chunk-LQH4P45K.js} +1 -1
- package/dist/chunk-LU4MQVAL.js +41 -0
- package/dist/chunk-LWDNKE4X.js +273 -0
- package/dist/chunk-M4H2UG4R.js +218 -0
- package/dist/{chunk-6BVONWJ7.js → chunk-M6D2U3YM.js} +3 -3
- package/dist/chunk-MD7KUEJ3.js +514 -0
- package/dist/{chunk-66YVAGGM.js → chunk-MMZUN7ZO.js} +20 -20
- package/dist/chunk-MZGRDONP.js +916 -0
- package/dist/chunk-N3RUGTGV.js +39 -0
- package/dist/{chunk-JGZCG5VM.js → chunk-NCB6656Z.js} +7 -7
- package/dist/{chunk-4NDAAFQT.js → chunk-NRQ65LTQ.js} +7 -5
- package/dist/{chunk-UNM6ZOKP.js → chunk-NTAVOWYD.js} +145 -18
- package/dist/{chunk-3USYZGRF.js → chunk-NYOABJNK.js} +36 -27
- package/dist/{chunk-WVPJSRRJ.js → chunk-O4IKAIZ2.js} +24 -20
- package/dist/{chunk-D3PO4DOZ.js → chunk-ODMBPDDV.js} +51 -14
- package/dist/chunk-OKUB6RJA.js +533 -0
- package/dist/chunk-OMPENNWY.js +39 -0
- package/dist/chunk-OPQZISG3.js +25 -0
- package/dist/{chunk-5GGOLAKC.js → chunk-OV57AHCG.js} +26 -26
- package/dist/chunk-OZJ3JLYI.js +58 -0
- package/dist/{chunk-KEM4SDDP.js → chunk-P2VBXX7N.js} +11 -10
- package/dist/{chunk-S2A7YC3Q.js → chunk-PAINMSID.js} +10150 -1720
- package/dist/chunk-PKJAV25S.js +43 -0
- package/dist/{chunk-EBEW3XXQ.js → chunk-PNQLCRSS.js} +4 -4
- package/dist/{chunk-WY6PP6AA.js → chunk-PQH56YF6.js} +37 -5
- package/dist/chunk-PRTBPXYA.js +50 -0
- package/dist/{chunk-YEDDOYSC.js → chunk-PRW3HXM3.js} +2 -2
- package/dist/chunk-PRZ7KMWL.js +42 -0
- package/dist/{chunk-6M5NK3K3.js → chunk-PTQ3ZALZ.js} +42 -4
- package/dist/{chunk-5GDRCDQB.js → chunk-PUEWDYGP.js} +2 -2
- package/dist/chunk-Q26LDIUV.js +236 -0
- package/dist/{chunk-CR3MTH32.js → chunk-Q46QDDMF.js} +77 -7
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/chunk-QE527XRY.js +342 -0
- package/dist/{chunk-CNUKCS2T.js → chunk-QHJJMZLX.js} +1518 -54
- package/dist/chunk-QJCJOMW3.js +425 -0
- package/dist/{chunk-VYDBJ73M.js → chunk-QKMRFNMA.js} +15 -15
- package/dist/chunk-QOOEYDNJ.js +317 -0
- package/dist/chunk-QSIDVFB7.js +45 -0
- package/dist/{chunk-R77KLRB3.js → chunk-RA33EYS4.js} +19 -18
- package/dist/{chunk-DFBCSHVT.js → chunk-RALY3E5U.js} +4 -4
- package/dist/{chunk-ZCJDOK2S.js → chunk-S2RY3BOD.js} +35 -21
- package/dist/chunk-S5LSDXV4.js +40 -0
- package/dist/chunk-SB5GRUFM.js +54 -0
- package/dist/chunk-SH27FYPF.js +150 -0
- package/dist/chunk-T74WQQGS.js +40 -0
- package/dist/{chunk-O3WI5KWW.js → chunk-TGVVUKTG.js} +2 -2
- package/dist/chunk-THN26IEF.js +48 -0
- package/dist/chunk-TJH2EUAZ.js +47 -0
- package/dist/{chunk-ZNCEKR4J.js → chunk-TQ4TG57V.js} +12 -8
- package/dist/{chunk-7FBGJFEE.js → chunk-TQTRWENN.js} +12 -12
- package/dist/{chunk-TYAID7B7.js → chunk-TSM6T6GQ.js} +23 -23
- package/dist/{chunk-DPZHZQKE.js → chunk-TW3KOSQK.js} +43 -10
- package/dist/{chunk-MC3H7736.js → chunk-TWQRPM76.js} +37 -4
- package/dist/chunk-TYD6I4CZ.js +109 -0
- package/dist/chunk-U3NBK4EU.js +420 -0
- package/dist/{chunk-6JCPI55B.js → chunk-UDXWIPCB.js} +47 -7
- package/dist/{chunk-MMOSZPWJ.js → chunk-UEVZZZU2.js} +4 -4
- package/dist/{chunk-JBTK5OP2.js → chunk-UF4UHCIG.js} +2 -2
- package/dist/{chunk-6JUBZBMW.js → chunk-UFE36WJH.js} +4 -4
- package/dist/{chunk-ONLS5QA5.js → chunk-URIKUID7.js} +12 -12
- package/dist/chunk-UYLBRRFK.js +1106 -0
- package/dist/chunk-UZACEG2C.js +515 -0
- package/dist/{chunk-7SW2QWLU.js → chunk-VAMHOHUU.js} +12 -12
- package/dist/{chunk-RZPYKDWS.js → chunk-VUVGX5L2.js} +1 -1
- package/dist/{chunk-Q4D5X7QB.js → chunk-VYOCPTUB.js} +44 -24
- package/dist/{chunk-CAQZUNOH.js → chunk-WAZEXEJH.js} +567 -3
- package/dist/chunk-WCEF7H6L.js +221 -0
- package/dist/{chunk-2DIQQJCB.js → chunk-WEOMJHPV.js} +12 -12
- package/dist/{chunk-FHH4I4ZV.js → chunk-WFU77T3A.js} +12 -6
- package/dist/chunk-WIWTJMMR.js +292 -0
- package/dist/{chunk-2BFCZ3RK.js → chunk-WNTIOBOG.js} +18 -18
- package/dist/{chunk-7WD63HU2.js → chunk-X2CUXTWU.js} +6 -6
- package/dist/chunk-X7EMBM5X.js +34 -0
- package/dist/chunk-XEQCQO66.js +33 -0
- package/dist/{chunk-F7HYOUFF.js → chunk-XG4WJHLQ.js} +20 -4
- package/dist/{chunk-EFHQ3TWP.js → chunk-XOL3GFW2.js} +171 -31
- package/dist/{chunk-NE2W3OO7.js → chunk-XQ3YZ4QW.js} +22 -22
- package/dist/{chunk-CEXSU4S6.js → chunk-Y6K3CJBU.js} +723 -85
- package/dist/{chunk-4RS5KZQD.js → chunk-YAH5IQAL.js} +5 -5
- package/dist/{chunk-64EQYWCA.js → chunk-YBOVNMHC.js} +51 -14
- package/dist/chunk-YF5DZCPN.js +1212 -0
- package/dist/chunk-YIGBJNH4.js +37 -0
- package/dist/{chunk-BKVWTZ6A.js → chunk-YJ3TBOTK.js} +25 -25
- package/dist/{chunk-Q5AMFEWD.js → chunk-YKTE2RU3.js} +2 -2
- package/dist/{chunk-7EKXJZ2Y.js → chunk-YO2PKTXT.js} +296 -37
- package/dist/{chunk-6J5OKA4Y.js → chunk-YTTNTQOX.js} +15 -15
- package/dist/{chunk-OT2O76OS.js → chunk-YWAKDNMH.js} +183 -33
- package/dist/{chunk-R6XF6UR3.js → chunk-YZDZOEV4.js} +4 -4
- package/dist/chunk-Z3QFH7YG.js +17 -0
- package/dist/{chunk-W5BVQF44.js → chunk-Z6VLC5X4.js} +17 -17
- package/dist/{chunk-HLJAXMM4.js → chunk-ZFQMMU5Y.js} +2 -2
- package/dist/{chunk-W3BQAZ3Q.js → chunk-ZKYRDV7A.js} +12 -12
- package/dist/{chunk-ZMAINWBW.js → chunk-ZLS6PU2O.js} +3 -3
- package/dist/{chunk-ZVM6AKKM.js → chunk-ZOSD4FXV.js} +3 -3
- package/dist/chunk-ZPDDEVQX.js +47 -0
- package/dist/{chunk-TXLH6WHQ.js → chunk-ZQLRCA2V.js} +11 -11
- package/dist/{chunk-HITVBIJS.js → chunk-ZX7235KR.js} +128 -54
- package/dist/{chunk-GT4I4ZWM.js → chunk-ZZFHLRQW.js} +18 -16
- package/dist/files.json +636 -364
- package/dist/packages/naysayer/constitution/constitution.yaml +19 -0
- package/dist/packages/sdk/npm/index.js +5614 -2343
- package/dist/packages/ui/dist/assets/{elk-api-tma0MCuh.js → elk-api-CowTnhEJ.js} +2 -2
- package/dist/packages/ui/dist/assets/index-Dw20IRhQ.css +1 -0
- package/dist/packages/ui/dist/assets/index-z2wv0d5d.js +47 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +4 -4
- package/dist/chunk-2BF2EYJV.js +0 -174
- package/dist/chunk-42EVSKME.js +0 -37
- package/dist/chunk-4BKGMUIK.js +0 -53
- package/dist/chunk-5KLGBXG5.js +0 -48
- package/dist/chunk-6BNC6EQ4.js +0 -41
- package/dist/chunk-6D2CQ5II.js +0 -41
- package/dist/chunk-7AVHLZGD.js +0 -45
- package/dist/chunk-D46WUV3T.js +0 -33
- package/dist/chunk-E36QOJMD.js +0 -47
- package/dist/chunk-FQXYPF7E.js +0 -147
- package/dist/chunk-GBRFVT63.js +0 -45
- package/dist/chunk-ICY36XCH.js +0 -34
- package/dist/chunk-J4K3KVLD.js +0 -131
- package/dist/chunk-JZU3H6UQ.js +0 -54
- package/dist/chunk-NN2ZQEB4.js +0 -38
- package/dist/chunk-PCOCACY3.js +0 -385
- package/dist/chunk-RTEYOSJY.js +0 -29
- package/dist/chunk-RVH5SUW5.js +0 -69
- package/dist/chunk-VN3DP4LQ.js +0 -43
- package/dist/chunk-XPTOBS2D.js +0 -48
- package/dist/packages/ui/dist/assets/index-B54fm9FQ.js +0 -29
- package/dist/packages/ui/dist/assets/index-DD_hufQz.css +0 -1
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
changesDirOf,
|
|
11
11
|
external_exports,
|
|
12
12
|
require_dist
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PAINMSID.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM
|
|
16
16
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -252,7 +252,9 @@ var FlowDelta = external_exports.strictObject({
|
|
|
252
252
|
system: Id.optional(),
|
|
253
253
|
platform: external_exports.string().trim().min(1).optional(),
|
|
254
254
|
cloud: external_exports.string().trim().min(1).optional(),
|
|
255
|
-
framework: external_exports.string().trim().min(1).optional()
|
|
255
|
+
framework: external_exports.string().trim().min(1).optional(),
|
|
256
|
+
/** What the new component is (ADR 0180): one of the organisation's component types. Optional and additive. */
|
|
257
|
+
type: Id.optional()
|
|
256
258
|
}).optional(),
|
|
257
259
|
steps: external_exports.array(DeltaStep).default([]),
|
|
258
260
|
/**
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
INPUTS_SOURCE,
|
|
8
8
|
INPUTS_SOURCE_ID,
|
|
9
9
|
inputsPages
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D57MFJPP.js";
|
|
11
11
|
import {
|
|
12
12
|
judgingRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-F6H2RJ3N.js";
|
|
14
14
|
import {
|
|
15
15
|
table
|
|
16
16
|
} from "./chunk-VOGCSYOI.js";
|
|
17
17
|
import {
|
|
18
18
|
readCatalog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4SLBCEPD.js";
|
|
20
20
|
import {
|
|
21
21
|
checkoutGitWiki,
|
|
22
22
|
coverage,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
syncSources,
|
|
29
29
|
toApiCoverage,
|
|
30
30
|
writeSnapshots
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-64AADMTW.js";
|
|
32
32
|
import {
|
|
33
33
|
createGit
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XOL3GFW2.js";
|
|
35
35
|
import {
|
|
36
36
|
Sources,
|
|
37
37
|
fileJudgments,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
loadOrgPack,
|
|
40
40
|
orgPackDirOf,
|
|
41
41
|
require_dist
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PAINMSID.js";
|
|
43
43
|
import {
|
|
44
44
|
__toESM
|
|
45
45
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -5,10 +5,7 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
judgingRuntime
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
table
|
|
11
|
-
} from "./chunk-VOGCSYOI.js";
|
|
8
|
+
} from "./chunk-F6H2RJ3N.js";
|
|
12
9
|
import {
|
|
13
10
|
draftChange,
|
|
14
11
|
draftTemplates,
|
|
@@ -19,14 +16,17 @@ import {
|
|
|
19
16
|
storyBar,
|
|
20
17
|
submitRequests,
|
|
21
18
|
syncWorkItems
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BEPCKDCP.js";
|
|
20
|
+
import {
|
|
21
|
+
table
|
|
22
|
+
} from "./chunk-VOGCSYOI.js";
|
|
23
23
|
import {
|
|
24
24
|
runtimeForCli
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QHJJMZLX.js";
|
|
26
26
|
import {
|
|
27
27
|
changesRelOf,
|
|
28
28
|
proposalsRelOf
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PAINMSID.js";
|
|
30
30
|
|
|
31
31
|
// packages/cli/dist/plan-commands.js
|
|
32
32
|
import { resolve } from "node:path";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
scoreRepo,
|
|
11
11
|
scoreSpecs,
|
|
12
12
|
scoreVerifier
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FYBF5MB2.js";
|
|
14
14
|
import {
|
|
15
15
|
readCatalog
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4SLBCEPD.js";
|
|
17
17
|
import {
|
|
18
18
|
ScanVerifyProposal,
|
|
19
19
|
external_exports,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
readEstateJoins,
|
|
22
22
|
readRepoSpec,
|
|
23
23
|
require_dist
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PAINMSID.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
27
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -113,7 +113,7 @@ var pct = (x) => `${Math.round(x * 100)}%`;
|
|
|
113
113
|
async function benchRun(o, io) {
|
|
114
114
|
try {
|
|
115
115
|
const { dir, cache, repos } = await load(o);
|
|
116
|
-
const { main } = await import("./chunk-
|
|
116
|
+
const { main } = await import("./chunk-7FHNFCHK.js");
|
|
117
117
|
const quiet = { out: () => {
|
|
118
118
|
}, err: () => {
|
|
119
119
|
} };
|
|
@@ -433,7 +433,7 @@ function printSpecScores(scores, none, passes, cache, io) {
|
|
|
433
433
|
async function benchSurvey(o, io) {
|
|
434
434
|
try {
|
|
435
435
|
const { cache, repos } = await load(o);
|
|
436
|
-
const { main } = await import("./chunk-
|
|
436
|
+
const { main } = await import("./chunk-7FHNFCHK.js");
|
|
437
437
|
const quiet = { out: () => {
|
|
438
438
|
}, err: () => {
|
|
439
439
|
} };
|
|
@@ -481,7 +481,7 @@ $1- ${mode}`), "utf8");
|
|
|
481
481
|
async function benchVerify(o, io, deps = {}) {
|
|
482
482
|
try {
|
|
483
483
|
const { cache, repos } = await load(o);
|
|
484
|
-
const { main } = await import("./chunk-
|
|
484
|
+
const { main } = await import("./chunk-7FHNFCHK.js");
|
|
485
485
|
const quiet = { out: () => {
|
|
486
486
|
}, err: () => {
|
|
487
487
|
} };
|
|
@@ -508,7 +508,7 @@ async function benchVerify(o, io, deps = {}) {
|
|
|
508
508
|
const capture = { out: (l) => lines.push(l), err: (l) => lines.push(l) };
|
|
509
509
|
let code;
|
|
510
510
|
if (deps.runtime) {
|
|
511
|
-
const { scanVerify } = await import("./chunk-
|
|
511
|
+
const { scanVerify } = await import("./chunk-GSGIZ2OO.js");
|
|
512
512
|
code = await scanVerify(path, path, {}, { runtime: deps.runtime, ...deps.now ? { now: deps.now } : {} }, capture);
|
|
513
513
|
} else
|
|
514
514
|
code = await main(["scan", "verify", path, "--root", path, ...o.mode ? ["--mode", o.mode] : []], capture);
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
offerLine,
|
|
8
|
+
pickerOf,
|
|
9
|
+
pickerText,
|
|
10
|
+
readRepos,
|
|
11
|
+
targetAnswerOf
|
|
12
|
+
} from "./chunk-4TKVU2I2.js";
|
|
13
|
+
import "./chunk-4SLBCEPD.js";
|
|
14
|
+
import "./chunk-64AADMTW.js";
|
|
15
|
+
import "./chunk-JYMIB5XY.js";
|
|
16
|
+
import "./chunk-CPK7QSBG.js";
|
|
17
|
+
import "./chunk-YO2PKTXT.js";
|
|
18
|
+
import "./chunk-TWQRPM76.js";
|
|
19
|
+
import "./chunk-XOL3GFW2.js";
|
|
20
|
+
import "./chunk-QHJJMZLX.js";
|
|
21
|
+
import "./chunk-7AB6OWTV.js";
|
|
22
|
+
import "./chunk-PAINMSID.js";
|
|
23
|
+
import "./chunk-ODMBPDDV.js";
|
|
24
|
+
import "./chunk-TV45EUGM.js";
|
|
25
|
+
export {
|
|
26
|
+
offerLine,
|
|
27
|
+
pickerOf,
|
|
28
|
+
pickerText,
|
|
29
|
+
readRepos,
|
|
30
|
+
targetAnswerOf
|
|
31
|
+
};
|
|
@@ -5,27 +5,28 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
storeSummaryLines
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LQH4P45K.js";
|
|
9
9
|
import {
|
|
10
10
|
SCAN_REVIEW_OUTPUT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-P2VBXX7N.js";
|
|
12
12
|
import {
|
|
13
|
+
completeGlossaryScan
|
|
14
|
+
} from "./chunk-ZX7235KR.js";
|
|
15
|
+
import {
|
|
16
|
+
completeHandUpLens,
|
|
17
|
+
handUpLensTask
|
|
18
|
+
} from "./chunk-YWAKDNMH.js";
|
|
19
|
+
import {
|
|
20
|
+
completeCriticBatch,
|
|
13
21
|
completeCriticLens,
|
|
14
22
|
yamlAnswerProblems
|
|
15
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PTQ3ZALZ.js";
|
|
16
24
|
import {
|
|
17
25
|
completeFeatureNaming
|
|
18
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A2G72UI4.js";
|
|
19
27
|
import {
|
|
20
28
|
completeTemplatesDraft
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
completeGlossaryScan
|
|
24
|
-
} from "./chunk-HITVBIJS.js";
|
|
25
|
-
import {
|
|
26
|
-
completeHandUpLens,
|
|
27
|
-
handUpLensTask
|
|
28
|
-
} from "./chunk-OT2O76OS.js";
|
|
29
|
+
} from "./chunk-I2A3Z5AK.js";
|
|
29
30
|
import {
|
|
30
31
|
DRAFT_OUTPUT,
|
|
31
32
|
STORY_PROSE_OUTPUT,
|
|
@@ -35,41 +36,41 @@ import {
|
|
|
35
36
|
formatDraftProblems,
|
|
36
37
|
parseDraft,
|
|
37
38
|
stageOfOutput
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BEPCKDCP.js";
|
|
39
40
|
import {
|
|
40
41
|
lensAnswerProblem,
|
|
41
42
|
lensRunOf
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-K332XW7K.js";
|
|
43
44
|
import {
|
|
44
45
|
ORG_FLOW,
|
|
45
46
|
createOpenSpec,
|
|
46
47
|
setDefaultSchema,
|
|
47
48
|
writeOrgFlowSchema
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-D2WSW4GU.js";
|
|
49
50
|
import {
|
|
50
51
|
GLOSSARY_CHANGE,
|
|
51
52
|
GLOSSARY_OUTPUT
|
|
52
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4SLBCEPD.js";
|
|
53
54
|
import {
|
|
54
55
|
KNOWLEDGE_SCAN_OUTPUT,
|
|
55
56
|
NAMING_CHANGE,
|
|
56
57
|
NAMING_OUTPUT,
|
|
57
58
|
checkScanAnswer,
|
|
58
59
|
readSnapshot
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-64AADMTW.js";
|
|
60
61
|
import {
|
|
61
62
|
GitError,
|
|
62
63
|
createWorkspace,
|
|
63
64
|
intellijProjectPath,
|
|
64
65
|
loadRepos,
|
|
65
66
|
vscodeWorkspacePath
|
|
66
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-XOL3GFW2.js";
|
|
67
68
|
import {
|
|
68
69
|
HandoffRuntime
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-QHJJMZLX.js";
|
|
70
71
|
import {
|
|
71
72
|
runsDirOf
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PAINMSID.js";
|
|
73
74
|
|
|
74
75
|
// packages/cli/dist/workspace-commands.js
|
|
75
76
|
import { readFile } from "node:fs/promises";
|
|
@@ -85,7 +86,7 @@ function pick(all, wanted, io) {
|
|
|
85
86
|
}
|
|
86
87
|
return wanted.map((w) => byId.get(w));
|
|
87
88
|
}
|
|
88
|
-
async function workspaceSync(root, repoIds, io) {
|
|
89
|
+
async function workspaceSync(root, repoIds, io, o = {}) {
|
|
89
90
|
const all = await loadRepos(root);
|
|
90
91
|
if (all.length === 0) {
|
|
91
92
|
io.err("No repos found. Add org-pack/profiles/<platform>/repos.manifest.yaml first.");
|
|
@@ -94,10 +95,11 @@ async function workspaceSync(root, repoIds, io) {
|
|
|
94
95
|
const repos = pick(all, repoIds, io);
|
|
95
96
|
if (!repos)
|
|
96
97
|
return 2;
|
|
97
|
-
const results = await createWorkspace(root).sync(repos);
|
|
98
|
+
const results = await createWorkspace(root).sync(repos, o.from ? { from: o.from } : {});
|
|
98
99
|
for (const r of results) {
|
|
99
100
|
const sha = r.sha ? ` ${r.sha.slice(0, 12)}` : "";
|
|
100
|
-
const
|
|
101
|
+
const why = r.from ? `copied from your clone at ${r.from}` : r.reason;
|
|
102
|
+
const line = `${r.id}: ${r.action}${sha}${why ? ` (${why})` : ""}`;
|
|
101
103
|
if (r.action === "failed")
|
|
102
104
|
io.err(line);
|
|
103
105
|
else
|
|
@@ -250,6 +252,12 @@ async function handoffDone(root, runId, io, deps = {}) {
|
|
|
250
252
|
}
|
|
251
253
|
});
|
|
252
254
|
const run = await rt.done(runId, deps.model ? { model: deps.model } : {});
|
|
255
|
+
if (run.parts?.length) {
|
|
256
|
+
const now = deps.now?.();
|
|
257
|
+
return completeCriticBatch(root, run, (id) => rt.result(id), io, {
|
|
258
|
+
...now ? { now: now.toISOString().replace(/\.\d{3}Z$/, "Z") } : {}
|
|
259
|
+
});
|
|
260
|
+
}
|
|
253
261
|
if (run.state === "validated") {
|
|
254
262
|
const kind = completionOf(run.request);
|
|
255
263
|
const now = deps.now?.();
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
listRuns
|
|
8
|
+
} from "./chunk-BA2HUMDN.js";
|
|
9
|
+
import "./chunk-QHJJMZLX.js";
|
|
10
|
+
import {
|
|
11
|
+
runsDirOf
|
|
12
|
+
} from "./chunk-PAINMSID.js";
|
|
13
|
+
import "./chunk-ODMBPDDV.js";
|
|
14
|
+
import "./chunk-TV45EUGM.js";
|
|
15
|
+
|
|
16
|
+
// packages/cli/dist/handoff-resume.js
|
|
17
|
+
import { readFile, writeFile } from "node:fs/promises";
|
|
18
|
+
import { join } from "node:path";
|
|
19
|
+
var STAGE_PAGES = [
|
|
20
|
+
[
|
|
21
|
+
/^atticus change feature \S+(?: --\S+(?: \S+)?)*$/,
|
|
22
|
+
"prepare the feature stage again on Feature design"
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
/^atticus change architecture \S+(?: --\S+(?: \S+)?)*$/,
|
|
26
|
+
"prepare the architecture stage again on Architecture"
|
|
27
|
+
],
|
|
28
|
+
[/^atticus plan stories \S+(?: --\S+(?: \S+)?)*$/, "prepare the stories stage again on Stories"],
|
|
29
|
+
[/^atticus change small \S+(?: --\S+(?: \S+)?)*$/, "prepare its one step again on At a glance"]
|
|
30
|
+
];
|
|
31
|
+
var againWords = (command) => STAGE_PAGES.find(([re]) => re.test(command))?.[1] ?? "prepare it again on the page you prepared it from";
|
|
32
|
+
function appLines(lines, o = {}) {
|
|
33
|
+
const ready = o.next ? "The next prompt is ready: open it on Runs." : "The prompt is ready: open it on Runs, then press Done once your assistant has written the answer.";
|
|
34
|
+
return lines.map((l) => l.replace(/\s*When it is done(?:, run)?: atticus handoff done \S+.*$/, ` ${ready}`).replace(/,? (?:and|then) run atticus handoff done \S+ again/g, ", then press Done again").replace(/\b([Rr])un atticus handoff done \S+ again/g, (_m, r) => r === "R" ? "Press Done again" : "press Done again").replace(/: pull \S+, then run atticus change learn\.$/, ": Bring in what merged on Home; the comparison with what Atticus drafted is kept the next time the drafts are measured.").replace(/^Answer each with atticus questions answer <id> .*, or with \/atticus-answer\.$/, "Answer each on Questions.").replace(/\b([Tt])hen run (atticus [^:]+?) again\b/, (_m, t, cmd) => `${t}hen ${againWords(cmd)}`).replace(/^Open the stage's pull request for a person to approve: .*$/, "Raise the stage's hand-off on the change page for a person to approve.").trimStart());
|
|
35
|
+
}
|
|
36
|
+
async function prepareStep(root, runStep, args, o = {}) {
|
|
37
|
+
const res = await runStep([...args, "--handoff", "--json"]);
|
|
38
|
+
const lines = [...res.out, ...res.err];
|
|
39
|
+
const json = [...res.out].reverse().find((l) => l.trim().startsWith("{"));
|
|
40
|
+
let h = {};
|
|
41
|
+
try {
|
|
42
|
+
h = json ? JSON.parse(json) : {};
|
|
43
|
+
} catch {
|
|
44
|
+
h = {};
|
|
45
|
+
}
|
|
46
|
+
const said = appLines([
|
|
47
|
+
...lines.filter((l) => !l.trim().startsWith("{")),
|
|
48
|
+
...h.messages ?? [],
|
|
49
|
+
...h.errors ?? [],
|
|
50
|
+
...(h.questions ?? []).map((q) => `Question ${q.id}: ${q.question} (answer it on Questions)`),
|
|
51
|
+
...h.pagesLeft ? [`${h.pagesLeft} pages are left for the next part: Prepare it again.`] : []
|
|
52
|
+
], o);
|
|
53
|
+
if (h.state !== "handoff" || !h.runId)
|
|
54
|
+
return { code: res.code, prepared: { lines: said } };
|
|
55
|
+
const run = (await listRuns(root, { limit: 1e5 })).find((x) => x.runId === h.runId);
|
|
56
|
+
if (run && h.resumeArgs)
|
|
57
|
+
await writeFile(join(runsDirOf(root), run.change, run.runId, "resume.json"), JSON.stringify({ args: h.resumeArgs.filter((a) => a !== "--json") }) + "\n", "utf8").catch(() => void 0);
|
|
58
|
+
return {
|
|
59
|
+
code: res.code,
|
|
60
|
+
prepared: {
|
|
61
|
+
runId: h.runId,
|
|
62
|
+
lines: said,
|
|
63
|
+
...h.stillWaiting ? { stillWaiting: true } : {}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
async function resumeAfterDone(root, runStep, change, runId) {
|
|
68
|
+
const t = await readFile(join(runsDirOf(root), change, runId, "resume.json"), "utf8").catch(() => void 0);
|
|
69
|
+
if (!t)
|
|
70
|
+
return void 0;
|
|
71
|
+
const { args } = JSON.parse(t);
|
|
72
|
+
const words = args.filter((a) => a !== "--handoff");
|
|
73
|
+
const r = await prepareStep(root, runStep, words, { next: true });
|
|
74
|
+
return r.prepared.runId && r.prepared.runId !== runId ? { next: r.prepared.runId, lines: r.prepared.lines } : { lines: r.prepared.lines };
|
|
75
|
+
}
|
|
76
|
+
export {
|
|
77
|
+
appLines,
|
|
78
|
+
prepareStep,
|
|
79
|
+
resumeAfterDone
|
|
80
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
gitUser
|
|
8
|
+
} from "./chunk-XOL3GFW2.js";
|
|
9
|
+
import "./chunk-PAINMSID.js";
|
|
10
|
+
import "./chunk-ODMBPDDV.js";
|
|
11
|
+
import "./chunk-TV45EUGM.js";
|
|
12
|
+
|
|
13
|
+
// packages/cli/dist/decision-commands.js
|
|
14
|
+
import { parseArgs } from "node:util";
|
|
15
|
+
var DECISIONS_USAGE = "Usage: atticus questions decisions [--json], atticus questions correct <q-id | link:<repo>:<call>> --option <n> | --api <entry> --to <repo> | --none [--no-similar] [--match <rule>] [--preview] [--json], or atticus questions undo <batch> [--json]";
|
|
16
|
+
var pct = (x) => x === null ? "-" : `${Math.round(x * 1e3) / 10}%`;
|
|
17
|
+
function printView(v, io) {
|
|
18
|
+
const d = v.decide;
|
|
19
|
+
io.out(`Deciding: pairings ${d.now.links}, questions ${d.now.questions} (runtime.yaml decide: links ${d.configured.links}, questions ${d.configured.questions}, minPrecision ${pct(d.configured.minPrecision)}).`);
|
|
20
|
+
if (d.paused)
|
|
21
|
+
io.out(`Paused: ${d.paused.why}`);
|
|
22
|
+
const n = d.precision.right + d.precision.wrong;
|
|
23
|
+
io.out(n ? `Sample audit of the AI's decisions: ${pct(d.precision.precision)} right (${d.precision.right} of ${n}; 95% interval ${pct(d.precision.low)} to ${pct(d.precision.high)}).` : "Sample audit of the AI's decisions: none answered yet (atticus verify audit <repo> draws them).");
|
|
24
|
+
const c = (x) => `${x.fromCode} from code, ${x.byPerson} by a person, ${x.byAi} by AI${x.open !== void 0 ? `, ${x.open} open` : ""}`;
|
|
25
|
+
io.out(`Links (as last written): ${c(v.links.counts)}.`);
|
|
26
|
+
io.out(`Questions: ${c(v.questions.counts)}.`);
|
|
27
|
+
const items = [...v.links.items, ...v.questions.items];
|
|
28
|
+
if (items.length)
|
|
29
|
+
io.out("Detected by AI, standing:");
|
|
30
|
+
for (const i of items)
|
|
31
|
+
io.out(` ${i.item} ${i.what} [${i.bar ?? "ai"}, run ${i.run}${i.batch ? `, ${i.batch}` : ""}]`);
|
|
32
|
+
if (v.batches.length)
|
|
33
|
+
io.out("Batches, newest first:");
|
|
34
|
+
for (const b of v.batches)
|
|
35
|
+
io.out(` ${b.id} ${b.kind === "ai" ? "AI" : "a correction"} by ${b.by}: ${b.applied} applied, ${b.reverted} taken back${b.correction?.rule ? `, rule ${b.correction.rule.match}` : ""}${b.undone ? ` (undone by ${b.undone.by})` : ""}`);
|
|
36
|
+
for (const p of v.problems)
|
|
37
|
+
io.err(`${p.file}: ${p.message}`);
|
|
38
|
+
}
|
|
39
|
+
async function decisionsCli(root, argv, io, deps = {}) {
|
|
40
|
+
const { values, positionals } = parseArgs({
|
|
41
|
+
args: argv,
|
|
42
|
+
allowPositionals: true,
|
|
43
|
+
strict: false,
|
|
44
|
+
options: {
|
|
45
|
+
root: { type: "string" },
|
|
46
|
+
json: { type: "boolean" },
|
|
47
|
+
option: { type: "string" },
|
|
48
|
+
api: { type: "string" },
|
|
49
|
+
to: { type: "string" },
|
|
50
|
+
none: { type: "boolean" },
|
|
51
|
+
similar: { type: "boolean" },
|
|
52
|
+
"no-similar": { type: "boolean" },
|
|
53
|
+
match: { type: "string" },
|
|
54
|
+
preview: { type: "boolean" }
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const str = (v) => typeof v === "string" ? v : void 0;
|
|
58
|
+
const [, command, id] = positionals;
|
|
59
|
+
const m = await import("./chunk-LU4MQVAL.js");
|
|
60
|
+
const fail = (e) => {
|
|
61
|
+
if (e instanceof m.DecideError) {
|
|
62
|
+
io.err(e.message);
|
|
63
|
+
return e.code === "not-found" ? 1 : 2;
|
|
64
|
+
}
|
|
65
|
+
throw e;
|
|
66
|
+
};
|
|
67
|
+
if (command === "decisions") {
|
|
68
|
+
const v = await m.decisionsView(root);
|
|
69
|
+
if (values.json === true)
|
|
70
|
+
io.out(JSON.stringify(v, null, 2));
|
|
71
|
+
else
|
|
72
|
+
printView(v, io);
|
|
73
|
+
return v.problems.length ? 1 : 0;
|
|
74
|
+
}
|
|
75
|
+
const by = async () => (await gitUser(root)).handle;
|
|
76
|
+
if (command === "correct") {
|
|
77
|
+
if (!id) {
|
|
78
|
+
io.err(DECISIONS_USAGE);
|
|
79
|
+
return 2;
|
|
80
|
+
}
|
|
81
|
+
const option = str(values.option);
|
|
82
|
+
if (option !== void 0 && !/^\d+$/.test(option)) {
|
|
83
|
+
io.err("--option is a number, from 1.");
|
|
84
|
+
return 2;
|
|
85
|
+
}
|
|
86
|
+
const req = {
|
|
87
|
+
item: id,
|
|
88
|
+
...option ? { option: Number(option) } : {},
|
|
89
|
+
...str(values.api) ? { api: str(values.api) } : {},
|
|
90
|
+
...str(values.to) ? { repo: str(values.to) } : {},
|
|
91
|
+
...values.none === true ? { none: true } : {},
|
|
92
|
+
similar: values["no-similar"] !== true,
|
|
93
|
+
...str(values.match) ? { match: str(values.match) } : {},
|
|
94
|
+
...values.preview === true ? { preview: true } : {}
|
|
95
|
+
};
|
|
96
|
+
let r;
|
|
97
|
+
try {
|
|
98
|
+
r = await m.correctDecision(root, req, {
|
|
99
|
+
by: await by(),
|
|
100
|
+
...deps.now ? { now: deps.now } : {},
|
|
101
|
+
...deps.env ? { env: deps.env } : {}
|
|
102
|
+
});
|
|
103
|
+
} catch (e) {
|
|
104
|
+
return fail(e);
|
|
105
|
+
}
|
|
106
|
+
if (values.json === true) {
|
|
107
|
+
io.out(JSON.stringify(r, null, 2));
|
|
108
|
+
return 0;
|
|
109
|
+
}
|
|
110
|
+
io.out(`${r.written ? "Corrected" : "Would correct"} ${r.item}: ${r.answer}, as yours${r.batch ? ` (batch ${r.batch})` : ""}.`);
|
|
111
|
+
if (r.rule)
|
|
112
|
+
io.out(`Apply to similar: ${r.rule.derived ? "the rule derived from it" : "your rule"} is ${r.rule.match} (${r.rule.kind}); give another with --match, or --no-similar for this one alone.`);
|
|
113
|
+
if (r.noRule)
|
|
114
|
+
io.out(`Nothing spreads: ${r.noRule}.`);
|
|
115
|
+
for (const s of r.spread)
|
|
116
|
+
io.out(` ${s.change}: ${s.item} ${s.what}${s.was ? ` (was ${s.was})` : ""}${s.now ? ` \u2192 ${s.now}` : ""}`);
|
|
117
|
+
if (r.rule)
|
|
118
|
+
io.out(`${r.counts.applied} applied, ${r.counts.confirmed} confirmed, ${r.counts.replaced} replaced, ${r.counts.reverted} opened again.`);
|
|
119
|
+
if (r.makeRule)
|
|
120
|
+
io.out(`This shape has been corrected ${r.makeRule.corrections} times: make it a reading rule so the next read gets it right (${r.makeRule.command ?? "the app's Make this a rule, on the pairing"}).`);
|
|
121
|
+
if (r.written) {
|
|
122
|
+
io.out(`Then: ${r.verify.join("; ")}. Undo: atticus questions undo ${r.batch}.`);
|
|
123
|
+
io.out(r.commit);
|
|
124
|
+
} else
|
|
125
|
+
io.out("Nothing written: run it again without --preview to save it.");
|
|
126
|
+
return 0;
|
|
127
|
+
}
|
|
128
|
+
if (command === "undo") {
|
|
129
|
+
if (!id) {
|
|
130
|
+
io.err(DECISIONS_USAGE);
|
|
131
|
+
return 2;
|
|
132
|
+
}
|
|
133
|
+
let r;
|
|
134
|
+
try {
|
|
135
|
+
r = await m.undoBatch(root, id, {
|
|
136
|
+
by: await by(),
|
|
137
|
+
...deps.now ? { now: deps.now } : {},
|
|
138
|
+
...deps.env ? { env: deps.env } : {}
|
|
139
|
+
});
|
|
140
|
+
} catch (e) {
|
|
141
|
+
return fail(e);
|
|
142
|
+
}
|
|
143
|
+
if (values.json === true) {
|
|
144
|
+
io.out(JSON.stringify(r, null, 2));
|
|
145
|
+
return 0;
|
|
146
|
+
}
|
|
147
|
+
io.out(`Undid ${r.batch}: ${r.removed} taken away, ${r.restored} put back.`);
|
|
148
|
+
for (const s of r.skipped)
|
|
149
|
+
io.out(` ${s}`);
|
|
150
|
+
if (r.verify.length)
|
|
151
|
+
io.out(`Then: ${r.verify.join("; ")}.`);
|
|
152
|
+
io.out(r.commit);
|
|
153
|
+
return 0;
|
|
154
|
+
}
|
|
155
|
+
io.err(DECISIONS_USAGE);
|
|
156
|
+
return 2;
|
|
157
|
+
}
|
|
158
|
+
export {
|
|
159
|
+
DECISIONS_USAGE,
|
|
160
|
+
decisionsCli
|
|
161
|
+
};
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
reExecForMemory,
|
|
10
10
|
roomGuard,
|
|
11
11
|
streamFacts
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-API5TOUB.js";
|
|
13
|
+
import "./chunk-PAINMSID.js";
|
|
14
|
+
import "./chunk-ODMBPDDV.js";
|
|
15
15
|
import "./chunk-TV45EUGM.js";
|
|
16
16
|
export {
|
|
17
17
|
NoRoomError,
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
catalogDiff,
|
|
8
|
+
diffLines,
|
|
9
|
+
scanCommand
|
|
10
|
+
} from "./chunk-NCB6656Z.js";
|
|
11
|
+
import "./chunk-TYD6I4CZ.js";
|
|
12
|
+
import "./chunk-YWAKDNMH.js";
|
|
13
|
+
import "./chunk-3AQ2R5NL.js";
|
|
14
|
+
import "./chunk-K332XW7K.js";
|
|
15
|
+
import "./chunk-HSZMPH5T.js";
|
|
16
|
+
import "./chunk-D2WSW4GU.js";
|
|
17
|
+
import "./chunk-4KNOJC6J.js";
|
|
18
|
+
import "./chunk-4SLBCEPD.js";
|
|
19
|
+
import "./chunk-64AADMTW.js";
|
|
20
|
+
import "./chunk-JYMIB5XY.js";
|
|
21
|
+
import "./chunk-CPK7QSBG.js";
|
|
22
|
+
import "./chunk-YO2PKTXT.js";
|
|
23
|
+
import "./chunk-TWQRPM76.js";
|
|
24
|
+
import "./chunk-XOL3GFW2.js";
|
|
25
|
+
import "./chunk-QHJJMZLX.js";
|
|
26
|
+
import "./chunk-7AB6OWTV.js";
|
|
27
|
+
import "./chunk-PAINMSID.js";
|
|
28
|
+
import "./chunk-ODMBPDDV.js";
|
|
29
|
+
import "./chunk-TV45EUGM.js";
|
|
30
|
+
export {
|
|
31
|
+
catalogDiff,
|
|
32
|
+
diffLines,
|
|
33
|
+
scanCommand
|
|
34
|
+
};
|