@maycombhq/atticus 2.0.0-beta.18 → 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-MUSJJ6CQ.js → chunk-265LWMOA.js} +16 -16
- package/dist/chunk-26WBY34Y.js +37 -0
- package/dist/{chunk-6H5JG5GL.js → chunk-26Z7OGQW.js} +63 -30
- package/dist/{chunk-4REDBQOZ.js → chunk-2D7PWSOK.js} +20 -20
- package/dist/{chunk-YPH6ZJ6R.js → chunk-2HH3UCZM.js} +4 -4
- package/dist/{chunk-RTUUX7PX.js → chunk-2HTEMYTB.js} +12 -26
- package/dist/{chunk-EHQUY26D.js → chunk-2UCRFXFZ.js} +11 -11
- package/dist/{chunk-ILDGIXNH.js → chunk-2V2ZPQQU.js} +81 -13
- package/dist/{chunk-YSEZQ6D3.js → chunk-36RY7ZXM.js} +107 -64
- package/dist/{chunk-QXFDM2FZ.js → chunk-37WE3LS2.js} +3 -3
- package/dist/{chunk-BAXM3JFQ.js → chunk-3AQ2R5NL.js} +1212 -754
- package/dist/chunk-3G6S7LAA.js +43 -0
- package/dist/{chunk-7TOAS7KI.js → chunk-3J5I7ZOU.js} +4 -4
- package/dist/{chunk-TAKAEJRD.js → chunk-3LZ6P5EP.js} +1 -1
- package/dist/chunk-3SSTNB4E.js +191 -0
- package/dist/chunk-3TD6S4TC.js +49 -0
- package/dist/{chunk-UUL6ZGMU.js → chunk-3UTYPHN3.js} +1 -1
- package/dist/{chunk-6AP2ZUUM.js → chunk-3WON4G3M.js} +2 -2
- package/dist/{chunk-AXY6LBW4.js → chunk-42EPP7OB.js} +12 -12
- package/dist/{chunk-QKMDT7VU.js → chunk-455SYIIE.js} +2 -2
- package/dist/{chunk-MFUFB3LN.js → chunk-4B6BT75O.js} +110 -20
- package/dist/{chunk-75MYLZSB.js → chunk-4CLK2RJO.js} +7 -7
- package/dist/chunk-4CYTJ5TZ.js +38 -0
- package/dist/{chunk-IH7RANGB.js → chunk-4D62IZII.js} +5 -5
- package/dist/{chunk-2QMZOCWN.js → chunk-4FOAYLI4.js} +14 -7
- package/dist/{chunk-V3UEPUHT.js → chunk-4KNOJC6J.js} +294 -215
- package/dist/{chunk-O6ILVBYB.js → chunk-4PYC2UGC.js} +1 -1
- package/dist/{chunk-EZBAS5BL.js → chunk-4SLBCEPD.js} +82 -50
- package/dist/{chunk-VIRTPODJ.js → chunk-4TKVU2I2.js} +6 -14
- package/dist/{chunk-IVCDU443.js → chunk-4WXRPQDE.js} +281 -51
- package/dist/{chunk-RMEEHH24.js → chunk-5CMPVC3N.js} +24 -24
- package/dist/chunk-5G7ILBUG.js +66 -0
- package/dist/{chunk-Z75XDWQR.js → chunk-5PV7S2ZP.js} +3 -3
- package/dist/{chunk-WWPC2AZ2.js → chunk-5QUOPNLN.js} +4 -4
- package/dist/{chunk-7OVH2L7L.js → chunk-5TDRBOAV.js} +5 -5
- package/dist/{chunk-YXUIUOQZ.js → chunk-5WERBKLE.js} +199 -63
- package/dist/{chunk-6WNNXEG6.js → chunk-62DLJSLV.js} +8 -8
- package/dist/{chunk-KCQS52TH.js → chunk-64AADMTW.js} +99 -25
- package/dist/{chunk-KLRUXRPN.js → chunk-67BP7HXL.js} +17 -17
- package/dist/chunk-6DQYZU2W.js +379 -0
- package/dist/{chunk-RONDYDMQ.js → chunk-6EXDI5GI.js} +51 -34
- package/dist/chunk-6FNAKCET.js +38 -0
- package/dist/{chunk-6SNEA73E.js → chunk-75ASLHBT.js} +21 -15
- package/dist/{chunk-EFT4KM6K.js → chunk-75ZOZFGH.js} +18 -18
- package/dist/{chunk-B3KW7EQW.js → chunk-77O633L5.js} +12 -12
- package/dist/{chunk-TLDL2ZZI.js → chunk-7AB6OWTV.js} +3 -3
- package/dist/{chunk-R5YXY6NT.js → chunk-7CZHUZBL.js} +25 -25
- package/dist/{chunk-F4D4G2A6.js → chunk-7FHNFCHK.js} +306 -125
- package/dist/{chunk-CC5RNYZF.js → chunk-7FUIVIBG.js} +19 -9
- package/dist/{chunk-UBTOSSNK.js → chunk-7QPCGTPS.js} +21 -21
- package/dist/{chunk-CDLTRJ4N.js → chunk-A2G72UI4.js} +7 -7
- package/dist/{chunk-YGSOQ5LX.js → chunk-AE4P57KK.js} +23 -17
- package/dist/{chunk-PGQL5YGH.js → chunk-AHW3RY3X.js} +7 -7
- package/dist/chunk-AM6FP6JW.js +43 -0
- package/dist/{chunk-DYNC6BAQ.js → chunk-AOCWFA7T.js} +93 -10
- package/dist/{chunk-CYX36GKZ.js → chunk-API5TOUB.js} +1 -1
- package/dist/{chunk-BJ5T3KDF.js → chunk-AZDITBCT.js} +3 -3
- package/dist/{chunk-U6GZSUMC.js → chunk-BA2HUMDN.js} +25 -3
- package/dist/chunk-BA3U7ALS.js +99 -0
- package/dist/{chunk-63565QTF.js → chunk-BC6KKZ67.js} +5 -5
- package/dist/{chunk-XO5RQKNM.js → chunk-BEPCKDCP.js} +1843 -577
- package/dist/{chunk-KUH62AQ3.js → chunk-BPPU3PW7.js} +4 -4
- package/dist/{chunk-52ULYRV4.js → chunk-BVWWPBKD.js} +18 -18
- package/dist/{chunk-R2FGEBIU.js → chunk-BXZ4PKIT.js} +13 -11
- package/dist/{chunk-4BU26GFB.js → chunk-C7CEK3KW.js} +4 -4
- package/dist/chunk-CFH3QH26.js +29 -0
- package/dist/chunk-CG6CULP6.js +170 -0
- package/dist/chunk-CLD4RVTA.js +45 -0
- package/dist/{chunk-BU543ZEC.js → chunk-CNPY4NTZ.js} +13 -13
- package/dist/{chunk-PLBIWEPV.js → chunk-CNU5Q2D5.js} +32 -31
- package/dist/{chunk-JTYYEYRR.js → chunk-COYN3UAN.js} +124 -21
- package/dist/{chunk-TNCROWPQ.js → chunk-CPK7QSBG.js} +10 -10
- package/dist/{chunk-43E6XX67.js → chunk-D2WSW4GU.js} +1 -1
- package/dist/{chunk-SHEUEHKC.js → chunk-D57MFJPP.js} +3 -3
- package/dist/chunk-D5KV5PSK.js +45 -0
- package/dist/chunk-D5MASS4I.js +48 -0
- package/dist/{chunk-TQYBXDVH.js → chunk-DCWN3HFV.js} +1 -1
- package/dist/{chunk-FF4IGX4Z.js → chunk-DDJPM5YX.js} +2 -2
- package/dist/chunk-DN4A2Q2O.js +57 -0
- package/dist/{chunk-4ZCFCIEL.js → chunk-DUPZPDCJ.js} +52 -16
- package/dist/{chunk-CUJ5TIEB.js → chunk-E2VXBSIR.js} +4 -4
- package/dist/{chunk-BX47X5DJ.js → chunk-E57AOFYN.js} +13 -13
- package/dist/{chunk-SSTI7GAV.js → chunk-ECLXZWAG.js} +12 -12
- package/dist/{chunk-KYK3TA4Q.js → chunk-EDZ45WIR.js} +14 -14
- package/dist/chunk-EFCQSMXB.js +37 -0
- package/dist/{chunk-YC2K3FJG.js → chunk-EZIN5E5B.js} +8 -8
- package/dist/{chunk-MIZNACDI.js → chunk-F6H2RJ3N.js} +1 -1
- package/dist/{chunk-EMZVHDJP.js → chunk-FAJDKNSD.js} +7 -3
- package/dist/chunk-FGAGWYZB.js +47 -0
- package/dist/{chunk-KBGQ3IAM.js → chunk-FLVZFTLQ.js} +18 -18
- package/dist/{chunk-2NNXLH53.js → chunk-FQ6WH6PB.js} +22 -7
- package/dist/{chunk-QWSLMVHI.js → chunk-FRHD22WM.js} +61 -23
- package/dist/{chunk-5MEN4SM5.js → chunk-FVMPFCDS.js} +4 -4
- package/dist/{chunk-KLRZKW7Y.js → chunk-FY3QIRTL.js} +3 -3
- package/dist/{chunk-B3SWPNJF.js → chunk-FYBF5MB2.js} +13 -11
- package/dist/{chunk-CVZCW3NI.js → chunk-G5YJBNDZ.js} +14 -5
- package/dist/{chunk-U6EPS5PF.js → chunk-G6IQYM25.js} +5 -5
- package/dist/chunk-G6X4YL4D.js +161 -0
- package/dist/{chunk-DOSX3MRW.js → chunk-GC2VK3JT.js} +25 -25
- package/dist/{chunk-EEWBTFRP.js → chunk-GCS3FZOB.js} +27 -3
- package/dist/{chunk-6H6OPNEP.js → chunk-GDZB57IU.js} +5 -5
- package/dist/chunk-GIFMBCTW.js +221 -0
- package/dist/{chunk-X5WYPIH3.js → chunk-GK4PYVEC.js} +18 -8
- package/dist/{chunk-VBSJ5NRB.js → chunk-GNWAOVFQ.js} +5 -5
- package/dist/{chunk-TXFDQRBL.js → chunk-GS76RXQE.js} +11 -11
- package/dist/{chunk-U3YC4RGC.js → chunk-GSGIZ2OO.js} +23 -23
- package/dist/chunk-GUYL7RMK.js +60 -0
- package/dist/{chunk-AZYBHPV4.js → chunk-GX74YWR7.js} +14 -13
- package/dist/{chunk-YY7VP7KW.js → chunk-HE3HRDNZ.js} +2 -2
- package/dist/{chunk-Z7HYYDZM.js → chunk-HGHRSF3E.js} +14 -13
- package/dist/{chunk-Q2X4IREC.js → chunk-HK3VOHIE.js} +106 -36
- package/dist/{chunk-P5JYMO7Y.js → chunk-HS4BGB4G.js} +22 -22
- package/dist/{chunk-IOW6BF3U.js → chunk-HSZMPH5T.js} +798 -141
- package/dist/{chunk-L3T33FA7.js → chunk-HWD4JPU7.js} +4 -2
- package/dist/{chunk-7NYCH5HY.js → chunk-HXXP2NTE.js} +6 -6
- package/dist/{chunk-7S7OFVIU.js → chunk-I2A3Z5AK.js} +4 -4
- package/dist/{chunk-WQSDKX7M.js → chunk-ICHDSWEY.js} +7 -7
- package/dist/chunk-IFFRGC3N.js +31 -0
- package/dist/{chunk-HMZQAIR5.js → chunk-IFHDV6KQ.js} +24 -17
- package/dist/chunk-J2O4LFVI.js +80 -0
- package/dist/chunk-J5AAZ6OJ.js +161 -0
- package/dist/{chunk-CVRWAG76.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-XFCK5B27.js → chunk-JS6WMC3J.js} +8 -8
- package/dist/chunk-JU4QNJSR.js +62 -0
- package/dist/{chunk-IPSFMTK2.js → chunk-JYMIB5XY.js} +152 -42
- package/dist/{chunk-L336AJCZ.js → chunk-JYTIHTIK.js} +8 -6
- package/dist/{chunk-VEJYZEPC.js → chunk-K332XW7K.js} +135 -16
- package/dist/{chunk-KCF7TFOE.js → chunk-K6JB6XTX.js} +11 -11
- package/dist/{chunk-LFIIX4OV.js → chunk-KDAHXQIE.js} +46 -34
- package/dist/chunk-KYZMRSPS.js +93 -0
- package/dist/chunk-L4CESDPB.js +22 -0
- package/dist/{chunk-3LR4522O.js → chunk-LEBR5NHW.js} +14 -14
- package/dist/{chunk-US3QZU23.js → chunk-LIJJCBQI.js} +67 -7
- package/dist/{chunk-XLHL6WTI.js → chunk-LIRVU3HW.js} +16 -16
- package/dist/{chunk-BAT4CBB7.js → chunk-LN77DXBM.js} +19 -10
- package/dist/{chunk-E5FM44EJ.js → chunk-LNWEWYCM.js} +2474 -315
- package/dist/{chunk-TX4OGZKU.js → chunk-LO3BLMVG.js} +3 -3
- package/dist/{chunk-RUOGHYSK.js → chunk-LPV6T362.js} +5 -5
- package/dist/{chunk-2T5CQH4R.js → chunk-LQH4P45K.js} +1 -1
- package/dist/chunk-LU4MQVAL.js +41 -0
- package/dist/{chunk-HW4RRIJA.js → chunk-LWDNKE4X.js} +12 -10
- package/dist/chunk-M4H2UG4R.js +218 -0
- package/dist/{chunk-CANMOOE6.js → chunk-M6D2U3YM.js} +3 -3
- package/dist/{chunk-AB5E5HCN.js → chunk-MD7KUEJ3.js} +14 -272
- package/dist/{chunk-ENTAAEDK.js → chunk-MMZUN7ZO.js} +20 -20
- package/dist/{chunk-L4MHJG3I.js → chunk-MZGRDONP.js} +46 -36
- package/dist/{chunk-IYI2S6BB.js → chunk-N3RUGTGV.js} +18 -18
- package/dist/{chunk-WZRCGGXG.js → chunk-NCB6656Z.js} +7 -7
- package/dist/{chunk-SBE773JU.js → chunk-NRQ65LTQ.js} +5 -5
- package/dist/{chunk-NRPMPZWJ.js → chunk-NTAVOWYD.js} +117 -18
- package/dist/{chunk-UJBZS5I7.js → chunk-NYOABJNK.js} +36 -27
- package/dist/{chunk-LXAPJ3BL.js → chunk-O4IKAIZ2.js} +24 -20
- package/dist/{chunk-MMB2OHUY.js → chunk-ODMBPDDV.js} +48 -13
- package/dist/chunk-OKUB6RJA.js +533 -0
- package/dist/{chunk-MKFYQQ5Q.js → chunk-OMPENNWY.js} +4 -1
- package/dist/chunk-OPQZISG3.js +25 -0
- package/dist/{chunk-ROJMXG4E.js → chunk-OV57AHCG.js} +24 -24
- package/dist/{chunk-7KGXDIWV.js → chunk-OZJ3JLYI.js} +9 -8
- package/dist/{chunk-G5BYKJIM.js → chunk-P2VBXX7N.js} +11 -10
- package/dist/{chunk-YK6CSODO.js → chunk-PAINMSID.js} +4353 -1106
- package/dist/chunk-PKJAV25S.js +43 -0
- package/dist/{chunk-R5MNPIMD.js → chunk-PNQLCRSS.js} +4 -4
- package/dist/{chunk-3SMMFQED.js → chunk-PQH56YF6.js} +37 -5
- package/dist/chunk-PRTBPXYA.js +50 -0
- package/dist/{chunk-FF4ZMLSL.js → chunk-PRW3HXM3.js} +2 -2
- package/dist/chunk-PRZ7KMWL.js +42 -0
- package/dist/{chunk-IFV6MKYV.js → chunk-PTQ3ZALZ.js} +42 -4
- package/dist/{chunk-ELQSLAP6.js → chunk-PUEWDYGP.js} +2 -2
- package/dist/{chunk-F2ZCZYIK.js → chunk-Q26LDIUV.js} +12 -11
- package/dist/chunk-Q46QDDMF.js +277 -0
- package/dist/chunk-QBNWF5ZU.js +19 -0
- package/dist/{chunk-ANETFNTV.js → chunk-QE527XRY.js} +24 -21
- package/dist/{chunk-QNMLLYTN.js → chunk-QHJJMZLX.js} +397 -32
- package/dist/chunk-QJCJOMW3.js +425 -0
- package/dist/{chunk-3HOONZUE.js → chunk-QKMRFNMA.js} +15 -15
- package/dist/{chunk-7S6VJ643.js → chunk-QOOEYDNJ.js} +101 -13
- package/dist/{chunk-4YNKN4DF.js → chunk-QSIDVFB7.js} +20 -18
- package/dist/{chunk-2IT7SIJY.js → chunk-RA33EYS4.js} +19 -18
- package/dist/{chunk-P7NV3FEJ.js → chunk-RALY3E5U.js} +4 -4
- package/dist/{chunk-6NESNLVU.js → chunk-S2RY3BOD.js} +35 -21
- package/dist/chunk-SB5GRUFM.js +54 -0
- package/dist/{chunk-EUQHM2CH.js → chunk-SH27FYPF.js} +18 -18
- package/dist/chunk-T74WQQGS.js +40 -0
- package/dist/{chunk-LGDW4G73.js → chunk-TGVVUKTG.js} +2 -2
- package/dist/chunk-THN26IEF.js +48 -0
- package/dist/{chunk-ZV2VCBMQ.js → chunk-TJH2EUAZ.js} +18 -12
- package/dist/{chunk-NGT5LLSE.js → chunk-TQ4TG57V.js} +6 -6
- package/dist/{chunk-WEDXFJPG.js → chunk-TQTRWENN.js} +12 -12
- package/dist/{chunk-ZRWS54RI.js → chunk-TSM6T6GQ.js} +23 -23
- package/dist/{chunk-KET7KOVE.js → chunk-TW3KOSQK.js} +15 -7
- package/dist/{chunk-RBXDHCN7.js → chunk-TWQRPM76.js} +2 -2
- package/dist/{chunk-IO6DQCZX.js → chunk-TYD6I4CZ.js} +4 -4
- package/dist/{chunk-5NLJH6R4.js → chunk-U3NBK4EU.js} +56 -17
- package/dist/{chunk-U542BJME.js → chunk-UDXWIPCB.js} +7 -7
- package/dist/{chunk-OSB6AKF2.js → chunk-UEVZZZU2.js} +4 -4
- package/dist/{chunk-5ZV7BK22.js → chunk-UF4UHCIG.js} +2 -2
- package/dist/{chunk-PHJOOL6U.js → chunk-UFE36WJH.js} +4 -4
- package/dist/{chunk-IHRP4OYV.js → chunk-URIKUID7.js} +12 -12
- package/dist/chunk-UYLBRRFK.js +1106 -0
- package/dist/chunk-UZACEG2C.js +515 -0
- package/dist/{chunk-LR4XBH4L.js → chunk-VAMHOHUU.js} +12 -12
- package/dist/{chunk-S5PSGAQ2.js → chunk-VUVGX5L2.js} +1 -1
- package/dist/{chunk-2TG2QGKW.js → chunk-VYOCPTUB.js} +18 -16
- package/dist/{chunk-VTEDQ6GY.js → chunk-WAZEXEJH.js} +175 -3
- package/dist/{chunk-UTSFKZ72.js → chunk-WCEF7H6L.js} +3 -3
- package/dist/{chunk-DXPUYG5L.js → chunk-WEOMJHPV.js} +12 -12
- package/dist/{chunk-NFKBU2UH.js → chunk-WFU77T3A.js} +5 -5
- package/dist/chunk-WIWTJMMR.js +292 -0
- package/dist/{chunk-MRFSUAJH.js → chunk-WNTIOBOG.js} +18 -18
- package/dist/{chunk-UROTYIGJ.js → chunk-X2CUXTWU.js} +6 -6
- package/dist/chunk-X7EMBM5X.js +34 -0
- package/dist/{chunk-OO5TKEAG.js → chunk-XEQCQO66.js} +8 -8
- package/dist/{chunk-NBQO75XT.js → chunk-XG4WJHLQ.js} +17 -1
- package/dist/{chunk-ZQC7MNQB.js → chunk-XOL3GFW2.js} +101 -30
- package/dist/{chunk-GXDATVSY.js → chunk-XQ3YZ4QW.js} +22 -22
- package/dist/{chunk-GTW54D3D.js → chunk-Y6K3CJBU.js} +726 -88
- package/dist/{chunk-CQCAJI6G.js → chunk-YAH5IQAL.js} +5 -5
- package/dist/{chunk-U6TD7UOH.js → chunk-YBOVNMHC.js} +51 -14
- package/dist/{chunk-OJICVOZH.js → chunk-YF5DZCPN.js} +79 -39
- package/dist/chunk-YIGBJNH4.js +37 -0
- package/dist/{chunk-7C7OZARH.js → chunk-YJ3TBOTK.js} +25 -25
- package/dist/{chunk-HXFSM4LG.js → chunk-YKTE2RU3.js} +2 -2
- package/dist/{chunk-7IM4BVVH.js → chunk-YO2PKTXT.js} +268 -36
- package/dist/{chunk-Z3UU7XV6.js → chunk-YTTNTQOX.js} +15 -15
- package/dist/{chunk-2ZICHO3V.js → chunk-YWAKDNMH.js} +183 -33
- package/dist/{chunk-OXOSJXOI.js → chunk-YZDZOEV4.js} +4 -4
- package/dist/{chunk-MRCETHW5.js → chunk-Z3QFH7YG.js} +4 -4
- package/dist/{chunk-5KZTRD4V.js → chunk-Z6VLC5X4.js} +17 -17
- package/dist/{chunk-EDURU5DF.js → chunk-ZFQMMU5Y.js} +2 -2
- package/dist/{chunk-3GLDB4IT.js → chunk-ZKYRDV7A.js} +12 -12
- package/dist/{chunk-GBGJ6WSO.js → chunk-ZLS6PU2O.js} +3 -3
- package/dist/{chunk-JZOOX3PQ.js → chunk-ZOSD4FXV.js} +3 -3
- package/dist/chunk-ZPDDEVQX.js +47 -0
- package/dist/{chunk-2TTSX7NB.js → chunk-ZQLRCA2V.js} +7 -7
- package/dist/{chunk-ESP3RUUR.js → chunk-ZX7235KR.js} +128 -54
- package/dist/{chunk-MH4XG5XS.js → chunk-ZZFHLRQW.js} +18 -16
- package/dist/files.json +559 -439
- package/dist/packages/sdk/npm/index.js +4679 -2672
- package/dist/packages/ui/dist/assets/{elk-api-BuFBvNyV.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 +3 -3
- package/dist/chunk-25TJC2CL.js +0 -48
- package/dist/chunk-3Q5RHGCA.js +0 -47
- package/dist/chunk-4W7FOGAB.js +0 -41
- package/dist/chunk-6AF3CVJT.js +0 -48
- package/dist/chunk-A3KEXFQS.js +0 -34
- package/dist/chunk-BAUINGGJ.js +0 -41
- package/dist/chunk-BOFUCRJX.js +0 -47
- package/dist/chunk-GGKGILIP.js +0 -54
- package/dist/chunk-IKN6C67W.js +0 -53
- package/dist/chunk-K7MYVIFK.js +0 -54
- package/dist/chunk-KHA5LVPE.js +0 -34
- package/dist/chunk-LSXGM6MB.js +0 -37
- package/dist/chunk-M54TDRM3.js +0 -29
- package/dist/chunk-M5GF4NAB.js +0 -45
- package/dist/chunk-UTZGBCXE.js +0 -38
- package/dist/chunk-UVTSMBM4.js +0 -43
- package/dist/chunk-XXE3S3OG.js +0 -44
- package/dist/chunk-YJRQCUVJ.js +0 -43
- package/dist/chunk-ZFTK4BDN.js +0 -41
- package/dist/chunk-ZMARAW37.js +0 -38
- package/dist/packages/ui/dist/assets/index-C5QnK82A.css +0 -1
- package/dist/packages/ui/dist/assets/index-CQ0a1cBg.js +0 -29
|
@@ -3,15 +3,15 @@ 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
|
-
intakeContext
|
|
8
|
-
} from "./chunk-NGT5LLSE.js";
|
|
9
6
|
import {
|
|
10
7
|
headCommitOf
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G6IQYM25.js";
|
|
12
9
|
import {
|
|
13
10
|
denyHashesAt
|
|
14
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LPV6T362.js";
|
|
12
|
+
import {
|
|
13
|
+
intakeContext
|
|
14
|
+
} from "./chunk-TQ4TG57V.js";
|
|
15
15
|
import {
|
|
16
16
|
componentRenames,
|
|
17
17
|
estateFacts,
|
|
@@ -19,22 +19,22 @@ import {
|
|
|
19
19
|
hostAliases,
|
|
20
20
|
joinReposOf,
|
|
21
21
|
outsideProfileSystems
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4SLBCEPD.js";
|
|
23
23
|
import {
|
|
24
24
|
sameCommit
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JYMIB5XY.js";
|
|
26
26
|
import {
|
|
27
27
|
openApiContractSpecs,
|
|
28
28
|
readContractSpecs,
|
|
29
29
|
readRepoSpecs,
|
|
30
30
|
readVendorSpec
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CPK7QSBG.js";
|
|
32
32
|
import {
|
|
33
33
|
VERSION
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VUVGX5L2.js";
|
|
35
35
|
import {
|
|
36
36
|
createGit
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XOL3GFW2.js";
|
|
38
38
|
import {
|
|
39
39
|
SpecsFile,
|
|
40
40
|
catalogDirOf,
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
orgPackDirOf,
|
|
49
49
|
questionsDirOf,
|
|
50
50
|
require_dist
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PAINMSID.js";
|
|
52
52
|
import {
|
|
53
53
|
writeFileAtomic
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ODMBPDDV.js";
|
|
55
55
|
import {
|
|
56
56
|
__toESM
|
|
57
57
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -223,7 +223,7 @@ async function estateJoinOnFile(root, op, estate, stamp) {
|
|
|
223
223
|
if (hit)
|
|
224
224
|
return hit;
|
|
225
225
|
await breathe();
|
|
226
|
-
const join2 = estateJoinOf(op, estate.repos, estate.targets);
|
|
226
|
+
const join2 = estateJoinOf(op, estate.repos, estate.targets, estate.pairs, estate.aiTargets);
|
|
227
227
|
await writeCached(root, "estate-join", at, join2);
|
|
228
228
|
return join2;
|
|
229
229
|
}
|
|
@@ -315,6 +315,7 @@ async function workOutContractCheck(root, stamp) {
|
|
|
315
315
|
|
|
316
316
|
export {
|
|
317
317
|
writeRepoSpecs,
|
|
318
|
+
stampOf,
|
|
318
319
|
estateJoinOnFile,
|
|
319
320
|
contractCheckOf
|
|
320
321
|
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
estateRepos,
|
|
8
8
|
joinReposOf,
|
|
9
9
|
outsideSystems
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4SLBCEPD.js";
|
|
11
11
|
import {
|
|
12
12
|
factIdPart,
|
|
13
13
|
factsDirOf,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
loadOrgPack,
|
|
17
17
|
orgPackDirOf,
|
|
18
18
|
parseFacts
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PAINMSID.js";
|
|
20
20
|
|
|
21
21
|
// packages/cli/dist/onboarding-queue.js
|
|
22
22
|
import { readFile } from "node:fs/promises";
|
|
@@ -3,20 +3,20 @@ 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
|
+
upgradeCheck
|
|
8
|
+
} from "./chunk-4B6BT75O.js";
|
|
6
9
|
import {
|
|
7
10
|
isMetarepo,
|
|
8
11
|
notMetarepo
|
|
9
12
|
} from "./chunk-3G4YI4ZU.js";
|
|
10
|
-
import {
|
|
11
|
-
upgradeCheck
|
|
12
|
-
} from "./chunk-MFUFB3LN.js";
|
|
13
13
|
import {
|
|
14
14
|
ASSISTANT_FORMATS,
|
|
15
15
|
assistantTier,
|
|
16
16
|
generateAssistantFiles,
|
|
17
17
|
readProbes,
|
|
18
18
|
tierLine
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3AQ2R5NL.js";
|
|
20
20
|
import {
|
|
21
21
|
BETA_FEATURES,
|
|
22
22
|
OPENSPEC_PINNED,
|
|
@@ -26,22 +26,22 @@ import {
|
|
|
26
26
|
openspecFeatures,
|
|
27
27
|
openspecHasStores,
|
|
28
28
|
readStoreMarker
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-D2WSW4GU.js";
|
|
30
30
|
import {
|
|
31
31
|
versionAtLeast
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VUVGX5L2.js";
|
|
33
33
|
import {
|
|
34
34
|
baseClonePath,
|
|
35
35
|
createGit,
|
|
36
36
|
isInPlace,
|
|
37
37
|
loadRepos,
|
|
38
38
|
remoteDefaultBranch
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XOL3GFW2.js";
|
|
40
40
|
import {
|
|
41
41
|
modelEnvOf,
|
|
42
42
|
modelSourceWords,
|
|
43
43
|
modelsByClass
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QHJJMZLX.js";
|
|
45
45
|
import {
|
|
46
46
|
DEFAULT_PORT,
|
|
47
47
|
STEP_CLASSES,
|
|
@@ -53,10 +53,10 @@ import {
|
|
|
53
53
|
require_dist,
|
|
54
54
|
retrievalOf,
|
|
55
55
|
stepModelsOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PAINMSID.js";
|
|
57
57
|
import {
|
|
58
58
|
readLock
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-ODMBPDDV.js";
|
|
60
60
|
import {
|
|
61
61
|
__toESM
|
|
62
62
|
} from "./chunk-TV45EUGM.js";
|
|
@@ -127,7 +127,7 @@ async function defaultFreeBytes(dir) {
|
|
|
127
127
|
}
|
|
128
128
|
function defaultOnPath(env, platform) {
|
|
129
129
|
const exts = platform === "win32" ? (env.PATHEXT ?? ".EXE;.CMD;.BAT").split(";") : [""];
|
|
130
|
-
const dirs = (env.PATH ?? env.Path ?? "").split(platform === "win32" ? ";" : delimiter);
|
|
130
|
+
const dirs = (env.PATH ?? env.Path ?? "").split(platform === "win32" ? ";" : delimiter).map((d) => d.trim().replace(/^"(.*)"$/, "$1"));
|
|
131
131
|
return (program) => dirs.some((d) => d && exts.some((e) => existsSync(join(d, program + e.toLowerCase())) || existsSync(join(d, program + e))));
|
|
132
132
|
}
|
|
133
133
|
var envName = (env, ...names) => names.find((n) => env[n] !== void 0 && env[n] !== "");
|
|
@@ -429,7 +429,7 @@ async function doctorChecks(root, deps = {}) {
|
|
|
429
429
|
});
|
|
430
430
|
if (rt.ai !== "off" && rt.modes.allowed.includes("copilot-acp")) {
|
|
431
431
|
const command = copilotAcpOf(rt).command;
|
|
432
|
-
const probe = deps.copilotAcp ?? (async (o) => (await import("./chunk-
|
|
432
|
+
const probe = deps.copilotAcp ?? (async (o) => (await import("./chunk-GCS3FZOB.js")).copilotAcpProbe(o));
|
|
433
433
|
const p = await probe({ command, cwd: root }).catch((e) => ({
|
|
434
434
|
found: false,
|
|
435
435
|
said: e.message
|
|
@@ -476,7 +476,7 @@ async function doctorChecks(root, deps = {}) {
|
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
const lexical = "the context engine searches by words and names only";
|
|
479
|
-
const embed = await (deps.embed ?? (() => import("./chunk-
|
|
479
|
+
const embed = await (deps.embed ?? (() => import("./chunk-LO3BLMVG.js")))().catch((e) => e);
|
|
480
480
|
if (embed instanceof Error) {
|
|
481
481
|
const model2 = retrievalOf(rt).embeddings.model;
|
|
482
482
|
const off = process.env.ATTICUS_EMBEDDINGS === "off" || model2 === "off";
|
|
@@ -552,6 +552,7 @@ export {
|
|
|
552
552
|
stepModelLine,
|
|
553
553
|
MIN_NODE,
|
|
554
554
|
MIN_GIT,
|
|
555
|
+
defaultOnPath,
|
|
555
556
|
doctorChecks,
|
|
556
557
|
doctorCommand
|
|
557
558
|
};
|
|
@@ -3,15 +3,6 @@ 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
|
-
readRound,
|
|
8
|
-
reviewedGates,
|
|
9
|
-
roundsOf
|
|
10
|
-
} from "./chunk-VEJYZEPC.js";
|
|
11
|
-
import {
|
|
12
|
-
changeFolder,
|
|
13
|
-
changeStore
|
|
14
|
-
} from "./chunk-IOW6BF3U.js";
|
|
15
6
|
import {
|
|
16
7
|
QueryError,
|
|
17
8
|
askLookup,
|
|
@@ -19,17 +10,27 @@ import {
|
|
|
19
10
|
impact,
|
|
20
11
|
openIndex,
|
|
21
12
|
translate
|
|
22
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5WERBKLE.js";
|
|
14
|
+
import {
|
|
15
|
+
readRound,
|
|
16
|
+
reviewedGates,
|
|
17
|
+
roundsOf
|
|
18
|
+
} from "./chunk-K332XW7K.js";
|
|
19
|
+
import {
|
|
20
|
+
changeFolder,
|
|
21
|
+
changeStore
|
|
22
|
+
} from "./chunk-HSZMPH5T.js";
|
|
23
23
|
import {
|
|
24
24
|
baseClonePath,
|
|
25
25
|
gitUser,
|
|
26
26
|
loadRepos
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XOL3GFW2.js";
|
|
28
28
|
import {
|
|
29
29
|
API_VERSION,
|
|
30
30
|
DEFAULT_PORT,
|
|
31
31
|
Lens,
|
|
32
32
|
RECORD_KINDS,
|
|
33
|
+
RecordId,
|
|
33
34
|
Severity,
|
|
34
35
|
catalogDirOf,
|
|
35
36
|
factsDirOf,
|
|
@@ -46,10 +47,11 @@ import {
|
|
|
46
47
|
runsDirOf,
|
|
47
48
|
specsDirOf,
|
|
48
49
|
withSignal
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PAINMSID.js";
|
|
50
51
|
import {
|
|
52
|
+
FileChangedError,
|
|
51
53
|
SCHEMA_VERSION
|
|
52
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ODMBPDDV.js";
|
|
53
55
|
|
|
54
56
|
// packages/server/dist/http.js
|
|
55
57
|
var HttpError = class extends Error {
|
|
@@ -145,15 +147,23 @@ var JobManager = class {
|
|
|
145
147
|
cancelledIds = /* @__PURE__ */ new Set();
|
|
146
148
|
aborts = /* @__PURE__ */ new Map();
|
|
147
149
|
seq = 0;
|
|
150
|
+
/** Round 41: every running job of a kind, in start order (a later one never hides an earlier). */
|
|
148
151
|
running = /* @__PURE__ */ new Map();
|
|
149
152
|
constructor(publish, now = () => /* @__PURE__ */ new Date()) {
|
|
150
153
|
this.publish = publish;
|
|
151
154
|
this.now = now;
|
|
152
155
|
}
|
|
153
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* A running job of a kind, if any: the earliest still running (one scan at a time: a second
|
|
158
|
+
* ask gets 409).
|
|
159
|
+
*/
|
|
154
160
|
runningOf(kind) {
|
|
155
|
-
const id
|
|
156
|
-
|
|
161
|
+
for (const id of this.running.get(kind) ?? []) {
|
|
162
|
+
const j = this.jobs.get(id);
|
|
163
|
+
if (j?.state === "running")
|
|
164
|
+
return j;
|
|
165
|
+
}
|
|
166
|
+
return void 0;
|
|
157
167
|
}
|
|
158
168
|
get(id) {
|
|
159
169
|
return this.jobs.get(id);
|
|
@@ -169,7 +179,9 @@ var JobManager = class {
|
|
|
169
179
|
errors: []
|
|
170
180
|
};
|
|
171
181
|
this.jobs.set(id, job);
|
|
172
|
-
this.running.
|
|
182
|
+
const ofKind = this.running.get(kind) ?? /* @__PURE__ */ new Set();
|
|
183
|
+
ofKind.add(id);
|
|
184
|
+
this.running.set(kind, ofKind);
|
|
173
185
|
const abort = new AbortController();
|
|
174
186
|
this.aborts.set(id, abort);
|
|
175
187
|
const cancelled = this.cancelledIds;
|
|
@@ -200,7 +212,8 @@ var JobManager = class {
|
|
|
200
212
|
}
|
|
201
213
|
this.aborts.delete(id);
|
|
202
214
|
job.finishedAt = this.now().toISOString();
|
|
203
|
-
|
|
215
|
+
ofKind.delete(id);
|
|
216
|
+
if (!ofKind.size && this.running.get(kind) === ofKind)
|
|
204
217
|
this.running.delete(kind);
|
|
205
218
|
this.publish({ type: "job.done", jobId: id, state: job.state });
|
|
206
219
|
})();
|
|
@@ -315,6 +328,7 @@ function apiRoutes(r, ctx) {
|
|
|
315
328
|
...strParam(query, "status") ? { status: strParam(query, "status") } : {},
|
|
316
329
|
...strParam(query, "system") ? { system: strParam(query, "system") } : {},
|
|
317
330
|
...strParam(query, "q") ? { q: strParam(query, "q") } : {},
|
|
331
|
+
...strParam(query, "confidence") ? { confidence: strParam(query, "confidence") } : {},
|
|
318
332
|
...strParam(query, "cursor") ? { cursor: strParam(query, "cursor") } : {},
|
|
319
333
|
...limit !== void 0 ? { limit } : {}
|
|
320
334
|
};
|
|
@@ -372,7 +386,20 @@ function apiRoutes(r, ctx) {
|
|
|
372
386
|
return { status: 200, body: await withIndex(root, (ix) => graph(ix, o)) };
|
|
373
387
|
}).add("GET", "/api/impact/{id}", async ({ params, query }) => {
|
|
374
388
|
const depth = intParam(query, "depth", 1, 10);
|
|
375
|
-
const res = await withIndex(root, (ix) =>
|
|
389
|
+
const res = await withIndex(root, (ix) => {
|
|
390
|
+
const r2 = impact(ix, params.id, depth);
|
|
391
|
+
if (!r2)
|
|
392
|
+
return void 0;
|
|
393
|
+
return {
|
|
394
|
+
...r2,
|
|
395
|
+
affected: r2.affected.map((a) => {
|
|
396
|
+
const rec = ix.find(a.id)[0];
|
|
397
|
+
const ai = (rec?.evidence ?? []).find((e) => e.source === "ai");
|
|
398
|
+
const flagged = Array.isArray(rec?.flags) && rec.flags.includes("joined-by-ai");
|
|
399
|
+
return flagged || ai ? { ...a, byAi: true, ...ai?.run ? { run: ai.run } : {} } : a;
|
|
400
|
+
})
|
|
401
|
+
};
|
|
402
|
+
});
|
|
376
403
|
if (!res)
|
|
377
404
|
throw notFound(`There is no record ${params.id} in the catalog.`);
|
|
378
405
|
return { status: 200, body: res };
|
|
@@ -463,6 +490,8 @@ function apiRoutes(r, ctx) {
|
|
|
463
490
|
return { status: 200, body };
|
|
464
491
|
}).add("GET", "/api/findings", async ({ query }) => {
|
|
465
492
|
const change = strParam(query, "change");
|
|
493
|
+
if (change !== void 0 && !RecordId.safeParse(change).success)
|
|
494
|
+
throw badRequest(`${change} isn't a change id.`);
|
|
466
495
|
const gate = strParam(query, "gate");
|
|
467
496
|
const state = strParam(query, "state");
|
|
468
497
|
const lens = enumParam(query, "lens", Lens.options);
|
|
@@ -476,6 +505,8 @@ function apiRoutes(r, ctx) {
|
|
|
476
505
|
body.push(f);
|
|
477
506
|
return { status: 200, body };
|
|
478
507
|
}).add("GET", "/api/findings/{changeId}/{findingId}", async ({ params }) => {
|
|
508
|
+
if (!RecordId.safeParse(params.changeId).success)
|
|
509
|
+
throw badRequest(`${params.changeId} isn't a change id.`);
|
|
479
510
|
const f = (await latestFindings(root, params.changeId)).find((x) => x.id === params.findingId);
|
|
480
511
|
if (!f)
|
|
481
512
|
throw notFound(`Change ${params.changeId} has no finding ${params.findingId}.`);
|
|
@@ -520,7 +551,7 @@ function apiRoutes(r, ctx) {
|
|
|
520
551
|
|
|
521
552
|
// packages/server/dist/static.js
|
|
522
553
|
import { readFile as readFile2, stat as stat2 } from "node:fs/promises";
|
|
523
|
-
import { extname, join as join2, normalize, sep } from "node:path";
|
|
554
|
+
import { extname, join as join2, normalize, resolve, sep } from "node:path";
|
|
524
555
|
var TYPES = {
|
|
525
556
|
".html": "text/html; charset=utf-8",
|
|
526
557
|
".js": "text/javascript; charset=utf-8",
|
|
@@ -549,7 +580,8 @@ function appCsp(port, embed) {
|
|
|
549
580
|
].join("; ");
|
|
550
581
|
}
|
|
551
582
|
var escapeAttr = (s) => s.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<");
|
|
552
|
-
async function staticFile(
|
|
583
|
+
async function staticFile(givenDir, path, token) {
|
|
584
|
+
const dir = resolve(givenDir);
|
|
553
585
|
let rel;
|
|
554
586
|
try {
|
|
555
587
|
rel = decodeURIComponent(path);
|
|
@@ -598,6 +630,14 @@ function watchMetarepo(o) {
|
|
|
598
630
|
const delay = o.delayMs ?? 300;
|
|
599
631
|
const maxPaths = o.maxPaths ?? 50;
|
|
600
632
|
const watchers = /* @__PURE__ */ new Map();
|
|
633
|
+
const inodes = /* @__PURE__ */ new Map();
|
|
634
|
+
const inodeOf = (d) => {
|
|
635
|
+
try {
|
|
636
|
+
return statSync(d).ino;
|
|
637
|
+
} catch {
|
|
638
|
+
return void 0;
|
|
639
|
+
}
|
|
640
|
+
};
|
|
601
641
|
const problems = [];
|
|
602
642
|
const pending = /* @__PURE__ */ new Set();
|
|
603
643
|
let timer;
|
|
@@ -658,21 +698,39 @@ function watchMetarepo(o) {
|
|
|
658
698
|
note(name ? join3(dir, String(name)) : dir);
|
|
659
699
|
});
|
|
660
700
|
w.on("error", (e) => {
|
|
661
|
-
problems.push(`${posix(relative(root, dir)) || "."}: ${e.message}`);
|
|
662
701
|
w.close();
|
|
702
|
+
if (watchers.get(dir) !== w)
|
|
703
|
+
return;
|
|
704
|
+
problems.push(`${posix(relative(root, dir)) || "."}: ${e.message}`);
|
|
663
705
|
watchers.delete(dir);
|
|
706
|
+
inodes.delete(dir);
|
|
664
707
|
});
|
|
665
708
|
watchers.set(dir, w);
|
|
709
|
+
const ino = inodeOf(dir);
|
|
710
|
+
if (ino !== void 0)
|
|
711
|
+
inodes.set(dir, ino);
|
|
712
|
+
const label = `${posix(relative(root, dir)) || "."}: `;
|
|
713
|
+
for (let i = problems.length - 1; i >= 0; i--)
|
|
714
|
+
if (problems[i].startsWith(label))
|
|
715
|
+
problems.splice(i, 1);
|
|
666
716
|
} catch (e) {
|
|
667
717
|
problems.push(`${posix(relative(root, dir)) || "."}: ${e.message}`);
|
|
668
718
|
}
|
|
669
719
|
};
|
|
670
720
|
const attach = () => {
|
|
721
|
+
for (const [d, w] of watchers) {
|
|
722
|
+
const ino = inodeOf(d);
|
|
723
|
+
if (ino === void 0 || inodes.has(d) && inodes.get(d) !== ino) {
|
|
724
|
+
w.close();
|
|
725
|
+
watchers.delete(d);
|
|
726
|
+
inodes.delete(d);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
follow(root, false);
|
|
730
|
+
follow(join3(root, ".atticus"), false);
|
|
671
731
|
for (const d of folders())
|
|
672
732
|
follow(d, true);
|
|
673
733
|
};
|
|
674
|
-
follow(root, false);
|
|
675
|
-
follow(join3(root, ".atticus"), false);
|
|
676
734
|
attach();
|
|
677
735
|
return {
|
|
678
736
|
get following() {
|
|
@@ -692,6 +750,8 @@ function watchMetarepo(o) {
|
|
|
692
750
|
|
|
693
751
|
// packages/server/dist/ws.js
|
|
694
752
|
import { createHash } from "node:crypto";
|
|
753
|
+
var MAX_CLIENT_FRAME = 64 * 1024;
|
|
754
|
+
var MAX_CLIENT_BUFFER = 256 * 1024;
|
|
695
755
|
var GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
|
696
756
|
function acceptKey(key) {
|
|
697
757
|
return createHash("sha1").update(key + GUID).digest("base64");
|
|
@@ -743,8 +803,14 @@ var Socket = class {
|
|
|
743
803
|
this.closed = true;
|
|
744
804
|
this.onClose(this);
|
|
745
805
|
}
|
|
746
|
-
/**
|
|
806
|
+
/**
|
|
807
|
+
* Client frames are masked; only control frames matter to us. The page sends nothing but pings
|
|
808
|
+
* and a close, so a frame over MAX_CLIENT_FRAME, a buffer over MAX_CLIENT_BUFFER or an unmasked
|
|
809
|
+
* frame (RFC 6455 5.1) closes the connection rather than growing memory.
|
|
810
|
+
*/
|
|
747
811
|
read(d) {
|
|
812
|
+
if (this.buf.length + d.length > MAX_CLIENT_BUFFER)
|
|
813
|
+
return this.close();
|
|
748
814
|
this.buf = Buffer.concat([this.buf, d]);
|
|
749
815
|
while (this.buf.length >= 2) {
|
|
750
816
|
const opcode = this.buf[0] & 15;
|
|
@@ -762,15 +828,15 @@ var Socket = class {
|
|
|
762
828
|
len = Number(this.buf.readBigUInt64BE(2));
|
|
763
829
|
off = 10;
|
|
764
830
|
}
|
|
831
|
+
if (!masked || len > MAX_CLIENT_FRAME)
|
|
832
|
+
return this.close();
|
|
765
833
|
const maskOff = off;
|
|
766
|
-
|
|
767
|
-
off += 4;
|
|
834
|
+
off += 4;
|
|
768
835
|
if (this.buf.length < off + len)
|
|
769
836
|
return;
|
|
770
837
|
const payload = Buffer.from(this.buf.subarray(off, off + len));
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
payload[i] ^= this.buf[maskOff + i % 4];
|
|
838
|
+
for (let i = 0; i < payload.length; i++)
|
|
839
|
+
payload[i] ^= this.buf[maskOff + i % 4];
|
|
774
840
|
this.buf = this.buf.subarray(off + len);
|
|
775
841
|
if (opcode === 8)
|
|
776
842
|
return this.close();
|
|
@@ -961,14 +1027,18 @@ async function startServer(o) {
|
|
|
961
1027
|
send(res, out.status, out.body);
|
|
962
1028
|
done(out.status);
|
|
963
1029
|
} catch (e) {
|
|
964
|
-
const err = e instanceof HttpError ? e : new HttpError(
|
|
1030
|
+
const err = e instanceof HttpError ? e : e instanceof FileChangedError ? new HttpError(409, "The file changed meanwhile", e.message) : (
|
|
1031
|
+
// The message stays in the log (onRequest gets the error): an fs error names the
|
|
1032
|
+
// metarepo's absolute path, which the page has no use for.
|
|
1033
|
+
new HttpError(500, "Something went wrong", "The app's log (.atticus/logs/atticus.log) has the details.")
|
|
1034
|
+
);
|
|
965
1035
|
send(res, err.status, problem(err), "application/problem+json");
|
|
966
1036
|
done(err.status, err.status >= 500 && e instanceof Error ? e : void 0);
|
|
967
1037
|
}
|
|
968
1038
|
});
|
|
969
1039
|
server.on("upgrade", (req, sock) => {
|
|
970
|
-
const url = new URL(req.url ?? "/", "http://127.0.0.1");
|
|
971
1040
|
try {
|
|
1041
|
+
const url = new URL(req.url ?? "/", "http://127.0.0.1");
|
|
972
1042
|
if (url.pathname !== "/api/events")
|
|
973
1043
|
throw new HttpError(404, "Not found");
|
|
974
1044
|
guard(req, url, true);
|
|
@@ -984,9 +1054,9 @@ Connection: close\r
|
|
|
984
1054
|
if (s)
|
|
985
1055
|
events.add(s);
|
|
986
1056
|
});
|
|
987
|
-
await new Promise((
|
|
1057
|
+
await new Promise((resolve2, reject) => {
|
|
988
1058
|
server.once("error", reject);
|
|
989
|
-
server.listen(o.port ?? DEFAULT_PORT, host, () =>
|
|
1059
|
+
server.listen(o.port ?? DEFAULT_PORT, host, () => resolve2());
|
|
990
1060
|
});
|
|
991
1061
|
port = server.address().port;
|
|
992
1062
|
const watcher = o.watch === false ? void 0 : watchMetarepo({ root: o.root, publish: (e) => events.publish(e) });
|
|
@@ -1000,11 +1070,11 @@ Connection: close\r
|
|
|
1000
1070
|
get following() {
|
|
1001
1071
|
return watcher?.following ?? [];
|
|
1002
1072
|
},
|
|
1003
|
-
close: () => new Promise((
|
|
1073
|
+
close: () => new Promise((resolve2) => {
|
|
1004
1074
|
watcher?.close();
|
|
1005
1075
|
events.closeAll();
|
|
1006
1076
|
server.closeAllConnections?.();
|
|
1007
|
-
server.close(() =>
|
|
1077
|
+
server.close(() => resolve2());
|
|
1008
1078
|
})
|
|
1009
1079
|
};
|
|
1010
1080
|
}
|
|
@@ -5,7 +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
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4B6BT75O.js";
|
|
9
9
|
import {
|
|
10
10
|
AdoptError,
|
|
11
11
|
absorb,
|
|
@@ -18,34 +18,34 @@ import {
|
|
|
18
18
|
reposDiscover,
|
|
19
19
|
unadopt,
|
|
20
20
|
zeroInstallFiles
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2HTEMYTB.js";
|
|
22
22
|
import {
|
|
23
23
|
assistantTier,
|
|
24
24
|
readProbes,
|
|
25
25
|
tierLine
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-3AQ2R5NL.js";
|
|
27
|
+
import "./chunk-BEPCKDCP.js";
|
|
28
|
+
import "./chunk-HWD4JPU7.js";
|
|
29
|
+
import "./chunk-5WERBKLE.js";
|
|
30
|
+
import "./chunk-K332XW7K.js";
|
|
31
|
+
import "./chunk-HSZMPH5T.js";
|
|
32
|
+
import "./chunk-D2WSW4GU.js";
|
|
33
|
+
import "./chunk-4KNOJC6J.js";
|
|
34
|
+
import "./chunk-4SLBCEPD.js";
|
|
35
|
+
import "./chunk-64AADMTW.js";
|
|
36
|
+
import "./chunk-JYMIB5XY.js";
|
|
37
|
+
import "./chunk-CPK7QSBG.js";
|
|
38
|
+
import "./chunk-YO2PKTXT.js";
|
|
39
|
+
import "./chunk-TWQRPM76.js";
|
|
40
|
+
import "./chunk-VUVGX5L2.js";
|
|
41
|
+
import "./chunk-XOL3GFW2.js";
|
|
42
|
+
import "./chunk-QHJJMZLX.js";
|
|
43
|
+
import "./chunk-7AB6OWTV.js";
|
|
44
44
|
import {
|
|
45
45
|
loadOrgPack,
|
|
46
46
|
orgPackDirOf
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-PAINMSID.js";
|
|
48
|
+
import "./chunk-ODMBPDDV.js";
|
|
49
49
|
import "./chunk-TV45EUGM.js";
|
|
50
50
|
|
|
51
51
|
// packages/cli/dist/setup-commands.js
|