@maycombhq/atticus 2.0.0-beta.24 → 2.0.0-beta.26
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-YA2IJJ6N.js → chunk-2FTHLB2H.js} +5 -5
- package/dist/{chunk-QPLNB2BM.js → chunk-2GT47PWU.js} +4 -4
- package/dist/{chunk-25CUJJTP.js → chunk-2HDNOUJU.js} +56 -19
- package/dist/{chunk-IUBBEU6O.js → chunk-2IO6XH37.js} +11 -11
- package/dist/{chunk-SGYQORAD.js → chunk-2JT4QV3Q.js} +3 -3
- package/dist/{chunk-W4EG25TI.js → chunk-2SCZZQNQ.js} +7 -7
- package/dist/{chunk-NQDHRT2H.js → chunk-2XIIUXGX.js} +13 -13
- package/dist/{chunk-RSKMV3VC.js → chunk-3D74UADA.js} +1 -1
- package/dist/chunk-3FFIDQQB.js +42 -0
- package/dist/{chunk-X7HFXXTZ.js → chunk-3GEAUW62.js} +13 -13
- package/dist/{chunk-TXYMNKGM.js → chunk-3KIMLBGZ.js} +5 -5
- package/dist/{chunk-GKZDHXC2.js → chunk-3KP7OOJ4.js} +8 -8
- package/dist/{chunk-LBG4GMOR.js → chunk-43OWNS5N.js} +4 -4
- package/dist/{chunk-NTEPBOAF.js → chunk-4DHYXODN.js} +4 -4
- package/dist/chunk-4N5W7LYW.js +41 -0
- package/dist/{chunk-MUY5MAGM.js → chunk-4NWE2KY3.js} +12 -12
- package/dist/{chunk-5FUFVNXB.js → chunk-5A4RHEEL.js} +2 -2
- package/dist/{chunk-NTOPAOBY.js → chunk-5JGRF53S.js} +3 -3
- package/dist/{chunk-G3W7GNEP.js → chunk-5UIGGXA5.js} +18 -18
- package/dist/{chunk-QGBS4GMS.js → chunk-63572EFC.js} +13 -13
- package/dist/{chunk-BFQ5IKQA.js → chunk-64LSDT3D.js} +11 -11
- package/dist/{chunk-3VS7RNEB.js → chunk-6EMJ4XFC.js} +18 -18
- package/dist/{chunk-XERIHPBF.js → chunk-6P67IUET.js} +9 -9
- package/dist/{chunk-FDL2JOLB.js → chunk-6SIGGA37.js} +23 -23
- package/dist/{chunk-NC56V6KQ.js → chunk-6TZ4YRGJ.js} +5 -5
- package/dist/{chunk-ESJALLOK.js → chunk-6U65YB54.js} +3 -3
- package/dist/{chunk-GJVCBTSO.js → chunk-6ZDAEUKB.js} +798 -175
- package/dist/{chunk-5EIKOU7L.js → chunk-723OQZ3N.js} +5 -5
- package/dist/{chunk-XXRBAJ36.js → chunk-76AHTJVY.js} +13 -13
- package/dist/{chunk-BYKWWSXL.js → chunk-7AEB74KW.js} +6 -6
- package/dist/{chunk-JMH6TCZJ.js → chunk-7IWMRZRI.js} +21 -21
- package/dist/{chunk-JUHZBZPZ.js → chunk-7JZONWAA.js} +7 -7
- package/dist/chunk-7NVLGPER.js +45 -0
- package/dist/{chunk-ZCU2UY47.js → chunk-7ZBYRMWK.js} +23 -23
- package/dist/{chunk-6FIYEB7M.js → chunk-A6LGX56J.js} +23 -23
- package/dist/{chunk-UWJOM457.js → chunk-ACY3U2RD.js} +4 -4
- package/dist/chunk-AHACUPGL.js +46 -0
- package/dist/{chunk-YUJTOALL.js → chunk-ANFBBJEV.js} +19 -19
- package/dist/{chunk-D5CJEKZI.js → chunk-B3JHERXM.js} +3 -3
- package/dist/{chunk-MQFSEGTU.js → chunk-B7KGNEFI.js} +135 -31
- package/dist/{chunk-2ITYURTR.js → chunk-BABRMZET.js} +3 -3
- package/dist/{chunk-OYTSRNSZ.js → chunk-BD7HBZLP.js} +6 -6
- package/dist/{chunk-CCQZN6W3.js → chunk-BEEHCL5O.js} +34 -34
- package/dist/{chunk-JCG2EBNB.js → chunk-BGOAJFPB.js} +1 -1
- package/dist/{chunk-MVXMISNA.js → chunk-BIAQ6NQS.js} +7 -7
- package/dist/{chunk-GS7N3RFG.js → chunk-BIKMME4S.js} +30 -25
- package/dist/{chunk-4DCIUKIE.js → chunk-BIWNRS5I.js} +26 -14
- package/dist/{chunk-QOC3Q4UU.js → chunk-BSZII65X.js} +3 -3
- package/dist/{chunk-7U46TCRZ.js → chunk-BV2BZIUF.js} +19 -19
- package/dist/{chunk-FFDVAV56.js → chunk-C3TBDX7Y.js} +23 -23
- package/dist/{chunk-ASFRT33J.js → chunk-CFK6CFXM.js} +9 -9
- package/dist/{chunk-DF6DPCW2.js → chunk-CG6MG7SE.js} +11 -11
- package/dist/{chunk-M3RWF7MC.js → chunk-CNEOKSTO.js} +27 -27
- package/dist/{chunk-JFBVIMGY.js → chunk-CNT6T2JM.js} +13 -13
- package/dist/{chunk-MPATOMY5.js → chunk-CPE7HLIK.js} +15 -15
- package/dist/{chunk-WECCLSYY.js → chunk-CSHJZFOE.js} +229 -32
- package/dist/{chunk-XKNISZ6N.js → chunk-CUTMM4NY.js} +16 -16
- package/dist/{chunk-NOU5IBLM.js → chunk-CWLXVRFH.js} +5 -5
- package/dist/{chunk-MWN7CBVL.js → chunk-D4TW3PUO.js} +4 -4
- package/dist/{chunk-QJ3AYXVO.js → chunk-D5H3RZNE.js} +13 -13
- package/dist/{chunk-XPXOKHNZ.js → chunk-DARX3ATP.js} +11 -11
- package/dist/{chunk-L3PIN47C.js → chunk-DASVVML7.js} +5 -5
- package/dist/{chunk-37UTWGU4.js → chunk-DB3NWAU3.js} +4 -4
- package/dist/{chunk-DCQSPSXU.js → chunk-DB6TDJ4T.js} +19 -19
- package/dist/{chunk-CCQWQFOT.js → chunk-DG7KYZAL.js} +18 -18
- package/dist/{chunk-FL53R4SW.js → chunk-DHQXCP2X.js} +5 -2
- package/dist/{chunk-6UTD5RQH.js → chunk-DJBXXYYA.js} +11 -11
- package/dist/{chunk-PZBNDFZ7.js → chunk-DOU52XFZ.js} +40 -20
- package/dist/{chunk-BWYW533C.js → chunk-DPH4BS3F.js} +10 -10
- package/dist/{chunk-LAGZBQHK.js → chunk-DS5M2J2H.js} +13 -13
- package/dist/chunk-DWD6BKHG.js +52 -0
- package/dist/{chunk-2JHE75RW.js → chunk-DXBXZNKV.js} +10 -10
- package/dist/{chunk-HXFZX2BI.js → chunk-DXLWZ3BJ.js} +9 -9
- package/dist/{chunk-EUMXLSW5.js → chunk-E5NHFHGC.js} +5 -5
- package/dist/{chunk-U37ZOYJJ.js → chunk-EECFUQP3.js} +109 -15
- package/dist/{chunk-66DWUSNY.js → chunk-EEVSFGIU.js} +21 -21
- package/dist/{chunk-3XCCT2GR.js → chunk-ELR7DEQM.js} +156 -110
- package/dist/chunk-EN3N6LNU.js +52 -0
- package/dist/{chunk-FGW5TLGM.js → chunk-EQMNMG6X.js} +11 -11
- package/dist/{chunk-AWDCVZYO.js → chunk-ET7SPOBA.js} +6 -6
- package/dist/{chunk-ZIAYNHHE.js → chunk-EUTZTJIO.js} +32 -15
- package/dist/{chunk-4CS3PMIM.js → chunk-EVKDWJ5Y.js} +5 -5
- package/dist/{chunk-ANUMIPF6.js → chunk-EY3OVHNC.js} +21 -21
- package/dist/{chunk-UXO25YBN.js → chunk-F4EGHECF.js} +3 -3
- package/dist/{chunk-YHWX5LPT.js → chunk-F6GRBF5L.js} +22 -22
- package/dist/{chunk-KYO5HT4G.js → chunk-FIZ5LYL2.js} +13 -13
- package/dist/{chunk-JVMNEI7B.js → chunk-FOOU5OJE.js} +3 -3
- package/dist/{chunk-RQSUFGU2.js → chunk-FWQDH5NK.js} +25 -25
- package/dist/{chunk-IRXZKKCG.js → chunk-FYCN2Y5P.js} +16 -16
- package/dist/{chunk-BQXAHIZ6.js → chunk-GAJBMPWC.js} +8 -8
- package/dist/{chunk-ZJ2W2RDE.js → chunk-GFFTVQ7R.js} +6 -6
- package/dist/chunk-GHCFWIUW.js +38 -0
- package/dist/{chunk-4MNMOUU7.js → chunk-GHST3KAB.js} +4 -4
- package/dist/{chunk-UKRJ2ISN.js → chunk-GJSLO2E2.js} +4 -4
- package/dist/{chunk-XNW3EDCY.js → chunk-GNFZ227W.js} +3 -3
- package/dist/{chunk-CI4D6VSU.js → chunk-GSIJWDXH.js} +19 -19
- package/dist/{chunk-432FGEVB.js → chunk-GXJ2PSDW.js} +8 -8
- package/dist/{chunk-CKRPMRFQ.js → chunk-H26T2LQL.js} +26 -26
- package/dist/{chunk-G67GOK4S.js → chunk-H5BIVULF.js} +7 -7
- package/dist/{chunk-4RKIOUPA.js → chunk-H7CSCA73.js} +5 -5
- package/dist/{chunk-HYHV2P3G.js → chunk-HCC5547C.js} +12 -12
- package/dist/{chunk-SUAHNYNQ.js → chunk-HLDUWEO7.js} +16 -16
- package/dist/{chunk-HI7ADE4E.js → chunk-HNNMT5L2.js} +1 -1
- package/dist/{chunk-DIYNRYXW.js → chunk-HQMLY2R6.js} +2 -2
- package/dist/{chunk-RSHVSXPJ.js → chunk-HSJKYDHI.js} +5 -5
- package/dist/{chunk-SLGUSFOD.js → chunk-HV6PXXK7.js} +3 -3
- package/dist/{chunk-77AZRGWE.js → chunk-HVOE7ZW2.js} +16 -16
- package/dist/{chunk-B63NWU3P.js → chunk-HVWPN2RY.js} +13 -13
- package/dist/{chunk-CU7ZK7KP.js → chunk-HWPX3T55.js} +15 -15
- package/dist/{chunk-5FPAKAGE.js → chunk-I2EWY3MG.js} +3 -3
- package/dist/{chunk-OCU5S2XG.js → chunk-I72PEROE.js} +4 -4
- package/dist/{chunk-J4K4C4T5.js → chunk-IBIIKUC7.js} +14 -19
- package/dist/{chunk-LDKP7OWQ.js → chunk-IDRCBMJF.js} +29 -29
- package/dist/{chunk-L6Z6TMIK.js → chunk-IEIHVMM6.js} +15 -8
- package/dist/{chunk-ABDE5IRC.js → chunk-IERXBWQU.js} +17 -17
- package/dist/{chunk-D5ZC7IMC.js → chunk-IFQJ3YQE.js} +4 -4
- package/dist/{chunk-U66RQUFC.js → chunk-IH6BYFMH.js} +5 -5
- package/dist/{chunk-A53IYUCR.js → chunk-IJN5PSDU.js} +16 -16
- package/dist/{chunk-LTIXFLYE.js → chunk-IL7PVMUO.js} +6 -6
- package/dist/{chunk-ZSNNF26J.js → chunk-IP6ARMZU.js} +21 -21
- package/dist/{chunk-SUYC5NP6.js → chunk-ISCX25D7.js} +21 -21
- package/dist/{chunk-CFSBBLDD.js → chunk-IYEET4VM.js} +24 -24
- package/dist/{chunk-775FMPUB.js → chunk-IZIGZ7KY.js} +4 -4
- package/dist/{chunk-SWSGRRNO.js → chunk-JJEXMHNZ.js} +5 -5
- package/dist/{chunk-5QF5W5P2.js → chunk-JLTJAOO4.js} +5 -5
- package/dist/{chunk-3UMKLB6P.js → chunk-K2NQTROJ.js} +5 -5
- package/dist/{chunk-GXQYEIYM.js → chunk-K35VNKJH.js} +6 -6
- package/dist/{chunk-CZ75S2EZ.js → chunk-K3QKOVZN.js} +6 -6
- package/dist/{chunk-IK6LHW3E.js → chunk-KAWWXCPI.js} +3 -3
- package/dist/{chunk-T5NH5L7A.js → chunk-KFJMQUSK.js} +13 -13
- package/dist/{chunk-CFSHLQPK.js → chunk-KFZ5IXEZ.js} +25 -25
- package/dist/{chunk-3FGQFDS4.js → chunk-KJD4DLRZ.js} +19 -19
- package/dist/{chunk-3BEGKSDW.js → chunk-KL7UHAOR.js} +9 -9
- package/dist/{chunk-FFYOZ7PF.js → chunk-KS2IQYTZ.js} +9 -9
- package/dist/{chunk-H7KERB6Q.js → chunk-KUEG2Y7M.js} +6 -6
- package/dist/{chunk-532HDXMM.js → chunk-KZ4I5M2X.js} +7 -7
- package/dist/{chunk-PB3NCPRF.js → chunk-KZH5YV6J.js} +6 -6
- package/dist/{chunk-5ORLKITZ.js → chunk-LBBI5P5G.js} +22 -22
- package/dist/{chunk-HRYI22QU.js → chunk-LCRQPWTC.js} +16 -16
- package/dist/chunk-LH4WAJLC.js +45 -0
- package/dist/{chunk-BBZ6UKN3.js → chunk-LHN5UCXD.js} +3 -3
- package/dist/{chunk-PIPYJTIL.js → chunk-LTOBNBJ6.js} +24 -24
- package/dist/{chunk-R6CJOMPC.js → chunk-LY7DOYX2.js} +13 -13
- package/dist/{chunk-QFDPX6C4.js → chunk-LZFKJ2BR.js} +4 -0
- package/dist/chunk-M5IQUWJR.js +59 -0
- package/dist/{chunk-3TGX4SJ3.js → chunk-MCORC2LG.js} +5 -5
- package/dist/{chunk-G3ZFEHCX.js → chunk-MEMEO7YO.js} +88 -25
- package/dist/{chunk-VE2T5URA.js → chunk-MGNO4Q6V.js} +23 -23
- package/dist/{chunk-RRKM3GJA.js → chunk-MKUBDKE2.js} +24 -24
- package/dist/{chunk-Z5YDTIWQ.js → chunk-MM7JSMLW.js} +13 -13
- package/dist/{chunk-MZWM73S2.js → chunk-MQ6HP2TU.js} +6 -6
- package/dist/{chunk-QYFNVQLK.js → chunk-MTIRNHRJ.js} +1 -1
- package/dist/{chunk-5Z7L2TSR.js → chunk-MY3LDBMR.js} +3 -3
- package/dist/chunk-MZ6GOFRF.js +55 -0
- package/dist/{chunk-RQAMZVWW.js → chunk-MZXDSAKW.js} +9 -9
- package/dist/{chunk-RU5W7JJQ.js → chunk-N2AW2DHF.js} +24 -24
- package/dist/chunk-N35Y5HZO.js +47 -0
- package/dist/{chunk-OKSRK2LJ.js → chunk-NCZS2BN2.js} +18 -18
- package/dist/{chunk-ZX6RAGE6.js → chunk-NECDBPFP.js} +10 -10
- package/dist/{chunk-UI6KNLSO.js → chunk-NHFMLMLN.js} +12 -12
- package/dist/{chunk-O4ZWZZZT.js → chunk-NMCPIYTF.js} +5 -5
- package/dist/{chunk-TBQHBOFF.js → chunk-NMURRF5F.js} +9 -9
- package/dist/{chunk-BTS56NV7.js → chunk-NP3PG6OI.js} +37 -34
- package/dist/{chunk-EPQQ2XVM.js → chunk-NQDVD2YR.js} +10 -10
- package/dist/{chunk-OSWOIFRQ.js → chunk-NVVEVP5O.js} +5 -5
- package/dist/{chunk-A3NUZJFI.js → chunk-OH2OHNB5.js} +3 -3
- package/dist/{chunk-IOHRX4KF.js → chunk-OI32KTDM.js} +18 -14
- package/dist/{chunk-ZSD75FYI.js → chunk-OXCHO2QS.js} +19 -19
- package/dist/{chunk-LKUTBQ2Y.js → chunk-P6DM2EFI.js} +6 -6
- package/dist/{chunk-OYKNPZCV.js → chunk-P6EJNPFF.js} +224 -180
- package/dist/{chunk-HWNFFCGB.js → chunk-PBDIVTFL.js} +3 -3
- package/dist/chunk-PFWP624T.js +278 -0
- package/dist/{chunk-3XZRYQWU.js → chunk-PGDVJWCI.js} +32 -32
- package/dist/{chunk-DIXA74N7.js → chunk-PLSCWC2V.js} +4 -4
- package/dist/chunk-PR6Z5L7W.js +67 -0
- package/dist/{chunk-LOCJHNZI.js → chunk-PXDAGXQN.js} +9 -9
- package/dist/{chunk-JJ4SCGRJ.js → chunk-PZFZPHCT.js} +7 -7
- package/dist/{chunk-TKE6ZJMM.js → chunk-Q3RKXK5Z.js} +25 -25
- package/dist/{chunk-GFYVVTKH.js → chunk-QAFQLILX.js} +6 -6
- package/dist/{chunk-WWSCJBF6.js → chunk-QQAWI5LD.js} +13 -13
- package/dist/{chunk-ZRQHSMPK.js → chunk-QXCGRQGO.js} +5 -5
- package/dist/{chunk-EHF2MBGR.js → chunk-R2FUFBHW.js} +3 -3
- package/dist/{chunk-AM7PYKVP.js → chunk-RBO4A7TC.js} +11 -11
- package/dist/{chunk-ETQSQ2EC.js → chunk-RCLBIJRN.js} +5 -5
- package/dist/{chunk-HNPKCRCE.js → chunk-RK5P2DWD.js} +1375 -210
- package/dist/{chunk-WAAPMZWO.js → chunk-RO6BE7ZS.js} +5 -5
- package/dist/{chunk-YF6N45QN.js → chunk-RQM5Y3HJ.js} +1 -1
- package/dist/{chunk-QXXEO4TF.js → chunk-RTCZKKG7.js} +3 -3
- package/dist/{chunk-QIDSEHJA.js → chunk-SAPX3PVK.js} +8 -8
- package/dist/{chunk-5PSKLTBR.js → chunk-SDHGFMES.js} +3 -3
- package/dist/{chunk-GQFUEUC7.js → chunk-SRB54QGX.js} +17 -17
- package/dist/{chunk-UCFNHK5L.js → chunk-STBJ6SVJ.js} +21 -21
- package/dist/{chunk-MCE74XMF.js → chunk-SZDOBIWE.js} +6 -6
- package/dist/{chunk-F63F4NKT.js → chunk-TLBPTUFU.js} +17 -17
- package/dist/{chunk-JLYH2QOE.js → chunk-TPKJD42W.js} +6 -6
- package/dist/{chunk-3NS4RS3C.js → chunk-TQG2DDWH.js} +19 -19
- package/dist/{chunk-CNF2EZ6S.js → chunk-TYN5SG5H.js} +119 -119
- package/dist/{chunk-SYLXQNPC.js → chunk-U3JXMY56.js} +23 -23
- package/dist/chunk-U3RGBYXE.js +62 -0
- package/dist/{chunk-A4VDFIMR.js → chunk-UAYU6K24.js} +13 -13
- package/dist/{chunk-LIQWFDOZ.js → chunk-UBEFT3MQ.js} +5 -5
- package/dist/{chunk-IJQHBK76.js → chunk-UFIQ5FWY.js} +1 -1
- package/dist/{chunk-IWPO5AUT.js → chunk-UIYPX2BA.js} +24 -24
- package/dist/{chunk-XNH5ZWIA.js → chunk-UJ5ZJS4B.js} +19 -19
- package/dist/chunk-URZKIL37.js +42 -0
- package/dist/{chunk-5MKV4TV6.js → chunk-UTZMF5CV.js} +1 -1
- package/dist/{chunk-YB5AKYVQ.js → chunk-UWBPC5XH.js} +6 -6
- package/dist/{chunk-6OZAQPU5.js → chunk-UXVKFOMC.js} +29 -5
- package/dist/{chunk-HRHXTLUM.js → chunk-UZBLVNW6.js} +15 -15
- package/dist/{chunk-JYJMIAFS.js → chunk-V3M4VFUB.js} +5 -5
- package/dist/{chunk-DCRZ3OQ7.js → chunk-V5FT3MZG.js} +6 -6
- package/dist/{chunk-KIY2WCN7.js → chunk-V5ZKGBYL.js} +4 -4
- package/dist/{chunk-MMOMKHAX.js → chunk-VCXFMXMX.js} +5 -5
- package/dist/{chunk-YLZNTVZR.js → chunk-VGGSHDQU.js} +8 -8
- package/dist/{chunk-A6ZG3UOS.js → chunk-VIQHZA53.js} +6 -6
- package/dist/{chunk-MT3FNSXO.js → chunk-VJO7M34N.js} +2 -2
- package/dist/{chunk-4DX4DIND.js → chunk-VPQUFIE7.js} +8 -8
- package/dist/{chunk-TAR6T2RE.js → chunk-VTR4AC2U.js} +3 -3
- package/dist/{chunk-6TNQO76I.js → chunk-VUSYN4R4.js} +6 -6
- package/dist/{chunk-HGDBM3A5.js → chunk-W4SMKUAK.js} +2 -2
- package/dist/chunk-W7HNZDHB.js +71 -0
- package/dist/{chunk-U2JTTRKS.js → chunk-WH3ZFLXT.js} +7 -7
- package/dist/{chunk-IB66ZLDN.js → chunk-WLA2JZ2K.js} +5 -5
- package/dist/{chunk-H5EQOSTC.js → chunk-WM4EMP7T.js} +39 -39
- package/dist/{chunk-E7YDJH6B.js → chunk-WT6EXYEY.js} +10 -10
- package/dist/{chunk-JCEYOSST.js → chunk-WYO4L4NU.js} +4 -4
- package/dist/{chunk-GCMDDVIE.js → chunk-XDLMQL5A.js} +44 -11
- package/dist/{chunk-U57VLY6X.js → chunk-XEWFVHOT.js} +21 -21
- package/dist/{chunk-44QUCNPH.js → chunk-XI3GPYP4.js} +5 -5
- package/dist/{chunk-MDTAZ6NE.js → chunk-XIGVTH24.js} +12 -12
- package/dist/{chunk-OSZTENIA.js → chunk-XIJBQM45.js} +3 -3
- package/dist/{chunk-NN6AXKFX.js → chunk-XT3ZW7C7.js} +16 -16
- package/dist/{chunk-LELM7X5H.js → chunk-YEHSJY6B.js} +8 -8
- package/dist/{chunk-7HWCEDPX.js → chunk-YIOYKA4V.js} +5 -5
- package/dist/{chunk-ROWZYQOI.js → chunk-YJBD5NDV.js} +6 -6
- package/dist/{chunk-PUMNCWHJ.js → chunk-YLXPJWNO.js} +14 -14
- package/dist/{chunk-NX5IPHI3.js → chunk-YWQZ7CCW.js} +13 -13
- package/dist/{chunk-DH3EQMIA.js → chunk-YXKCE5BA.js} +4 -4
- package/dist/{chunk-D63NU53X.js → chunk-YYV276DM.js} +19 -19
- package/dist/{chunk-GQPP4P2E.js → chunk-YYZWSVIS.js} +17 -17
- package/dist/{chunk-RYY554OA.js → chunk-Z33UNTHI.js} +6 -6
- package/dist/{chunk-Q5QSWV2R.js → chunk-ZA2PWNR3.js} +13 -13
- package/dist/{chunk-T24TBI7F.js → chunk-ZAMSF2DF.js} +23 -23
- package/dist/{chunk-MOWUP33K.js → chunk-ZDA72732.js} +3 -3
- package/dist/{chunk-ENZ3PI7L.js → chunk-ZFEOIYK5.js} +3 -3
- package/dist/{chunk-YDDLVBQ4.js → chunk-ZFLBWL2G.js} +3 -3
- package/dist/{chunk-QK6CGRKK.js → chunk-ZLBUFK7L.js} +5 -5
- package/dist/{chunk-LIB6AUZS.js → chunk-ZNYSBQIA.js} +5 -5
- package/dist/{chunk-OTUBMKSG.js → chunk-ZQGFZJH5.js} +4 -4
- package/dist/{chunk-AAY6VPPO.js → chunk-ZWMHL346.js} +17 -17
- package/dist/{chunk-BLVFHN3C.js → chunk-ZYLGEWTC.js} +39 -39
- package/dist/files.json +551 -551
- package/dist/packages/sdk/npm/index.js +183 -30
- package/dist/packages/ui/dist/assets/{elk-api--rH6Kdl4.js → elk-api-BdXSPeBO.js} +2 -2
- package/dist/packages/ui/dist/assets/index-DRSUhpFi.css +1 -0
- package/dist/packages/ui/dist/assets/index-RZe5iotJ.js +63 -0
- package/dist/packages/ui/dist/index.html +2 -2
- package/package.json +3 -3
- package/dist/chunk-26AB2WNW.js +0 -62
- package/dist/chunk-C7BB6IQT.js +0 -147
- package/dist/chunk-DD2AXECF.js +0 -41
- package/dist/chunk-DYDNW4O6.js +0 -52
- package/dist/chunk-EEKQI3U4.js +0 -45
- package/dist/chunk-FYWLB7PO.js +0 -38
- package/dist/chunk-L27KUL5B.js +0 -38
- package/dist/chunk-MA6UK7GX.js +0 -42
- package/dist/chunk-NBZ7RKX3.js +0 -46
- package/dist/chunk-OYZ64UMQ.js +0 -67
- package/dist/chunk-PIPJZIJE.js +0 -47
- package/dist/chunk-Q2ULHBCJ.js +0 -59
- package/dist/chunk-QVF4KYIO.js +0 -71
- package/dist/chunk-T2HXLDY3.js +0 -55
- package/dist/chunk-TKEXS74L.js +0 -52
- package/dist/chunk-WQDJGNJQ.js +0 -45
- package/dist/packages/ui/dist/assets/index-Bf2immpE.css +0 -1
- package/dist/packages/ui/dist/assets/index-CH4nGIW3.js +0 -62
|
@@ -5,22 +5,25 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
appendLines
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BSZII65X.js";
|
|
9
9
|
import {
|
|
10
10
|
readCorrections
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XDLMQL5A.js";
|
|
12
12
|
import {
|
|
13
13
|
HttpError,
|
|
14
14
|
badRequest,
|
|
15
15
|
notFound
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2SCZZQNQ.js";
|
|
17
17
|
import {
|
|
18
18
|
applyCorrections,
|
|
19
19
|
correctedFact,
|
|
20
20
|
correctionFor,
|
|
21
21
|
outsidePairingFor,
|
|
22
22
|
repairFormSlips
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RK5P2DWD.js";
|
|
24
|
+
import {
|
|
25
|
+
loadRepos
|
|
26
|
+
} from "./chunk-XIJBQM45.js";
|
|
24
27
|
import {
|
|
25
28
|
FACT_FIXED_FIELDS,
|
|
26
29
|
FactCorrection,
|
|
@@ -35,14 +38,15 @@ import {
|
|
|
35
38
|
parseFactsLines,
|
|
36
39
|
questionsDirOf,
|
|
37
40
|
sampleConfirmed
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6ZDAEUKB.js";
|
|
39
42
|
import {
|
|
43
|
+
LockHeldError,
|
|
40
44
|
withSharedFileLock,
|
|
41
45
|
writeFileAtomic
|
|
42
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-MEMEO7YO.js";
|
|
43
47
|
|
|
44
48
|
// packages/cli/dist/ui-api-facts.js
|
|
45
|
-
import { mkdir, readFile, rm } from "node:fs/promises";
|
|
49
|
+
import { mkdir, readdir as readdir2, readFile, rm } from "node:fs/promises";
|
|
46
50
|
|
|
47
51
|
// packages/cli/dist/file-memo.js
|
|
48
52
|
import { readdir, stat } from "node:fs/promises";
|
|
@@ -283,7 +287,33 @@ var saysOf = (c) => JSON.stringify([
|
|
|
283
287
|
c.line ?? null,
|
|
284
288
|
c.reason ?? null
|
|
285
289
|
]);
|
|
286
|
-
var
|
|
290
|
+
var LINK_CORRECTIONS_MAX_BODY = 16 * 1024 * 1024;
|
|
291
|
+
var holdingAll = (files, work, o = {}) => files.length ? withSharedFileLock(files[0], () => holdingAll(files.slice(1), work, o), o) : work();
|
|
292
|
+
async function repoSpellings(root) {
|
|
293
|
+
const byLower = /* @__PURE__ */ new Map();
|
|
294
|
+
const add = (n) => {
|
|
295
|
+
const k = n.toLowerCase();
|
|
296
|
+
byLower.set(k, (byLower.get(k) ?? /* @__PURE__ */ new Set()).add(n));
|
|
297
|
+
};
|
|
298
|
+
const manifests = /* @__PURE__ */ new Map();
|
|
299
|
+
for (const r of await loadRepos(root).catch(() => []))
|
|
300
|
+
manifests.set(r.id.toLowerCase(), r.id);
|
|
301
|
+
for (const n of await readdir2(factsDirOf(root)).catch(() => []))
|
|
302
|
+
if (n.endsWith(".jsonl") && !/\.(corrections|rejected|reviewed|questions)\.jsonl$/.test(n))
|
|
303
|
+
add(n.slice(0, -6));
|
|
304
|
+
return (name) => {
|
|
305
|
+
const k = name.toLowerCase();
|
|
306
|
+
const same = [...byLower.get(k) ?? []].sort();
|
|
307
|
+
const manifest = manifests.get(k);
|
|
308
|
+
if (!same.length && manifest)
|
|
309
|
+
return manifest;
|
|
310
|
+
if (!same.length)
|
|
311
|
+
throw notFound(`No repo of the estate is named ${name}.`);
|
|
312
|
+
if (same.length > 1)
|
|
313
|
+
throw new HttpError(422, "Atticus can't tell which repo that is", `The facts files spell ${same.join(", ")}, which differ only by case: one repo where case is ignored. Rename one (and its facts files) so each repo is spelt one way.`, { written: [] });
|
|
314
|
+
return same[0];
|
|
315
|
+
};
|
|
316
|
+
}
|
|
287
317
|
function uiFactsRoutes(r, ctx, deps = {}) {
|
|
288
318
|
const now = deps.now ?? (() => /* @__PURE__ */ new Date());
|
|
289
319
|
const write = deps.write ?? writeFileAtomic;
|
|
@@ -295,13 +325,13 @@ function uiFactsRoutes(r, ctx, deps = {}) {
|
|
|
295
325
|
const fact = query.get("fact") || void 0;
|
|
296
326
|
if (fact && !FactId.safeParse(fact).success)
|
|
297
327
|
throw badRequest(`${JSON.stringify(fact)} isn't a fact id.`);
|
|
298
|
-
const { verifyWritePreview } = await import("./chunk-
|
|
328
|
+
const { verifyWritePreview } = await import("./chunk-PGDVJWCI.js");
|
|
299
329
|
const v = await verifyWritePreview(ctx.root, repo, fact ? { fact } : {});
|
|
300
330
|
if (!v)
|
|
301
331
|
throw notFound(`There are no facts for ${repo} at ${factsRelOf(ctx.root)}/${repo}.jsonl.`);
|
|
302
332
|
return { status: 200, body: v };
|
|
303
333
|
}).add("POST", "/api/facts/{repo}/corrections", async ({ params, body }) => {
|
|
304
|
-
const repo = repoOf(params.repo);
|
|
334
|
+
const repo = (await repoSpellings(ctx.root))(repoOf(params.repo));
|
|
305
335
|
const b = api_exports.FactCorrectionRequest.safeParse(body ?? {});
|
|
306
336
|
if (!b.success)
|
|
307
337
|
throw badRequest("Say which fact and what is wrong: { fact, action, set, line, reason }.", {
|
|
@@ -315,7 +345,11 @@ function uiFactsRoutes(r, ctx, deps = {}) {
|
|
|
315
345
|
const written = correctionLine(c);
|
|
316
346
|
await mkdir(factsDirOf(ctx.root), { recursive: true });
|
|
317
347
|
const cfile = join2(factsDirOf(ctx.root), `${repo}.corrections.jsonl`);
|
|
318
|
-
await appendLines(cfile, [written])
|
|
348
|
+
await appendLines(cfile, [written], { waitMs: deps.lockWaitMs ?? 15e3 }).catch((e) => {
|
|
349
|
+
if (!(e instanceof LockHeldError))
|
|
350
|
+
throw e;
|
|
351
|
+
throw new HttpError(409, "Another write holds a corrections file", `${e.message} Nothing was written; try again once it is done.`, { written: [] });
|
|
352
|
+
});
|
|
319
353
|
ctx.events.publish({ type: "file.changed", path: rel });
|
|
320
354
|
const result = {
|
|
321
355
|
correction: c,
|
|
@@ -326,110 +360,122 @@ git commit -m "${repo}: a person's correction of ${fact.id}"`,
|
|
|
326
360
|
line: written
|
|
327
361
|
};
|
|
328
362
|
return { status: 200, body: result };
|
|
329
|
-
}).add(
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
const read = /* @__PURE__ */ new Map();
|
|
338
|
-
for (const item of b.data.items) {
|
|
339
|
-
const repo = repoOf(item.repo);
|
|
340
|
-
let f = read.get(repo);
|
|
341
|
-
if (!f) {
|
|
342
|
-
f = await readFacts(ctx.root, repo);
|
|
343
|
-
read.set(repo, f);
|
|
344
|
-
}
|
|
345
|
-
if (!f.present)
|
|
346
|
-
throw notFound(`There are no facts for ${repo} at ${f.file}.`);
|
|
347
|
-
const reason = item.reason ?? b.data.reason;
|
|
348
|
-
const { c } = correctionOfRequest(f, {
|
|
349
|
-
fact: item.fact,
|
|
350
|
-
action: item.action,
|
|
351
|
-
...item.set ? { set: item.set } : {},
|
|
352
|
-
...reason ? { reason } : {}
|
|
353
|
-
}, ctx.user, at);
|
|
354
|
-
byRepo.set(repo, [...byRepo.get(repo) ?? [], c]);
|
|
355
|
-
}
|
|
356
|
-
await mkdir(factsDirOf(ctx.root), { recursive: true });
|
|
357
|
-
const repos = [...byRepo.keys()].sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
|
|
358
|
-
const fileOf = (repo) => join2(factsDirOf(ctx.root), `${repo}.corrections.jsonl`);
|
|
359
|
-
const relOf = (repo) => `${factsRelOf(ctx.root)}/${repo}.corrections.jsonl`;
|
|
360
|
-
const files = [];
|
|
361
|
-
const skipped = [];
|
|
362
|
-
await holdingAll(repos.map(fileOf), async () => {
|
|
363
|
-
const plan = [];
|
|
364
|
-
for (const repo of repos) {
|
|
365
|
-
const before = await readFile(fileOf(repo), "utf8").catch((e) => {
|
|
366
|
-
if (e.code === "ENOENT")
|
|
367
|
-
return void 0;
|
|
368
|
-
throw new HttpError(500, "Atticus wrote none of it", `${relOf(repo)} couldn't be read (${e instanceof Error ? e.message : String(e)}): nothing was written to any repo.`, { written: [] });
|
|
363
|
+
}).add(
|
|
364
|
+
"POST",
|
|
365
|
+
"/api/links/corrections",
|
|
366
|
+
async ({ body }) => {
|
|
367
|
+
const b = api_exports.LinkCorrectionsRequest.safeParse(body ?? {});
|
|
368
|
+
if (!b.success)
|
|
369
|
+
throw badRequest("Say which calls and what is wrong: { items: [{ repo, fact, action, set }], reason }.", {
|
|
370
|
+
errors: b.error.issues.map((i) => ({ path: i.path.join("."), message: i.message }))
|
|
369
371
|
});
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
newest.set(c.fact, saysOf(c));
|
|
381
|
-
cs.push(c);
|
|
372
|
+
const at = now();
|
|
373
|
+
const byRepo = /* @__PURE__ */ new Map();
|
|
374
|
+
const read = /* @__PURE__ */ new Map();
|
|
375
|
+
const spelt = await repoSpellings(ctx.root);
|
|
376
|
+
for (const item of b.data.items) {
|
|
377
|
+
const repo = spelt(repoOf(item.repo));
|
|
378
|
+
let f = read.get(repo);
|
|
379
|
+
if (!f) {
|
|
380
|
+
f = await readFacts(ctx.root, repo);
|
|
381
|
+
read.set(repo, f);
|
|
382
382
|
}
|
|
383
|
-
if (!
|
|
384
|
-
|
|
385
|
-
const
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
cs
|
|
394
|
-
});
|
|
383
|
+
if (!f.present)
|
|
384
|
+
throw notFound(`There are no facts for ${repo} at ${f.file}.`);
|
|
385
|
+
const reason = item.reason ?? b.data.reason;
|
|
386
|
+
const corrected = correctionOfRequest(f, {
|
|
387
|
+
fact: item.fact,
|
|
388
|
+
action: item.action,
|
|
389
|
+
...item.set ? { set: item.set } : {},
|
|
390
|
+
...reason ? { reason } : {}
|
|
391
|
+
}, ctx.user, at);
|
|
392
|
+
byRepo.set(repo, [...byRepo.get(repo) ?? [], corrected]);
|
|
395
393
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
394
|
+
await mkdir(factsDirOf(ctx.root), { recursive: true });
|
|
395
|
+
const repos = [...byRepo.keys()].sort((a, b2) => a < b2 ? -1 : a > b2 ? 1 : 0);
|
|
396
|
+
const fileOf = (repo) => join2(factsDirOf(ctx.root), `${repo}.corrections.jsonl`);
|
|
397
|
+
const relOf = (repo) => `${factsRelOf(ctx.root)}/${repo}.corrections.jsonl`;
|
|
398
|
+
const files = [];
|
|
399
|
+
const skipped = [];
|
|
400
|
+
const held = holdingAll(repos.map(fileOf), async () => {
|
|
401
|
+
const plan = [];
|
|
402
|
+
for (const repo of repos) {
|
|
403
|
+
const before = await readFile(fileOf(repo), "utf8").catch((e) => {
|
|
404
|
+
if (e.code === "ENOENT")
|
|
405
|
+
return void 0;
|
|
406
|
+
throw new HttpError(500, "Atticus wrote none of it", `${relOf(repo)} couldn't be read (${e instanceof Error ? e.message : String(e)}): nothing was written to any repo.`, { written: [] });
|
|
407
|
+
});
|
|
408
|
+
const onFile = parseCorrections(before ?? "").corrections;
|
|
409
|
+
const cs = [];
|
|
410
|
+
for (const { c, fact } of byRepo.get(repo)) {
|
|
411
|
+
const meets = correctionFor(fact, onFile);
|
|
412
|
+
if (meets && saysOf(meets) === saysOf(c)) {
|
|
413
|
+
if (!skipped.some((x) => x.repo === repo && x.fact === c.fact))
|
|
414
|
+
skipped.push({ repo, fact: c.fact });
|
|
415
|
+
continue;
|
|
416
|
+
}
|
|
417
|
+
onFile.push(c);
|
|
418
|
+
cs.push(c);
|
|
419
|
+
}
|
|
420
|
+
if (!cs.length)
|
|
421
|
+
continue;
|
|
422
|
+
const was = before ?? "";
|
|
423
|
+
const eol = /\r\n/.test(was) ? "\r\n" : "\n";
|
|
424
|
+
const lead = was && !was.endsWith("\n") ? eol : "";
|
|
425
|
+
const lines = cs.map(correctionLine);
|
|
426
|
+
plan.push({
|
|
427
|
+
repo,
|
|
428
|
+
before,
|
|
429
|
+
after: was + lead + lines.map((l) => `${l}${eol}`).join(""),
|
|
430
|
+
cs
|
|
431
|
+
});
|
|
410
432
|
}
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
433
|
+
const done = [];
|
|
434
|
+
for (const x of plan) {
|
|
435
|
+
try {
|
|
436
|
+
await write(fileOf(x.repo), x.after);
|
|
437
|
+
done.push(x);
|
|
438
|
+
} catch (e) {
|
|
439
|
+
const why = e instanceof Error ? e.message : String(e);
|
|
440
|
+
const kept2 = [];
|
|
441
|
+
for (const y of [...done].reverse())
|
|
442
|
+
await (y.before === void 0 ? rm(fileOf(y.repo), { force: true }) : write(fileOf(y.repo), y.before)).catch(() => kept2.push(y));
|
|
443
|
+
const written = kept2.sort((a, b2) => a.repo < b2.repo ? -1 : 1).map((y) => ({ repo: y.repo, file: relOf(y.repo) }));
|
|
444
|
+
for (const w of written)
|
|
445
|
+
ctx.events.publish({ type: "file.changed", path: w.file });
|
|
446
|
+
throw new HttpError(500, written.length ? "Atticus wrote only part of it" : "Atticus wrote none of it", written.length ? `${relOf(x.repo)} couldn't be written (${why}), and ${written.map((w) => w.file).join(", ")} couldn't be put back as it was: the corrections for ${written.map((w) => w.repo).join(", ")} are on file, the others are not. Asked again, the ones on file are skipped.` : `${relOf(x.repo)} couldn't be written (${why}): nothing was written to any repo.`, { written });
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
for (const x of done)
|
|
450
|
+
files.push({
|
|
451
|
+
repo: x.repo,
|
|
452
|
+
file: relOf(x.repo),
|
|
453
|
+
lines: x.cs.map(correctionLine),
|
|
454
|
+
corrections: x.cs
|
|
455
|
+
});
|
|
456
|
+
}, { waitMs: deps.lockWaitMs ?? 15e3 });
|
|
457
|
+
await held.catch((e) => {
|
|
458
|
+
if (!(e instanceof LockHeldError))
|
|
459
|
+
throw e;
|
|
460
|
+
throw new HttpError(409, "Another write holds a corrections file", `${e.message} Nothing was written to any repo; try again once it is done.`, { written: [] });
|
|
461
|
+
});
|
|
462
|
+
for (const f of files)
|
|
463
|
+
ctx.events.publish({ type: "file.changed", path: f.file });
|
|
464
|
+
const n = files.reduce((k, f) => k + f.corrections.length, 0);
|
|
465
|
+
const result = {
|
|
466
|
+
files,
|
|
467
|
+
// Nothing new written (every one on file already): nothing to commit.
|
|
468
|
+
commit: files.length ? `git add ${files.map((f) => f.file).join(" ")}
|
|
427
469
|
git commit -m "A person's correction of ${n} call${n === 1 ? "" : "s"} on one link"` : "",
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
470
|
+
verify: files.map((f) => `atticus verify ${f.repo}`),
|
|
471
|
+
...skipped.length ? { skipped } : {}
|
|
472
|
+
};
|
|
473
|
+
return { status: 200, body: result };
|
|
474
|
+
},
|
|
475
|
+
// Review of beta.24: up to 5000 calls in one request (every call edge-calls gives), each
|
|
476
|
+
// with its why: more than the server's usual 4 MB.
|
|
477
|
+
{ maxBody: LINK_CORRECTIONS_MAX_BODY }
|
|
478
|
+
);
|
|
433
479
|
}
|
|
434
480
|
|
|
435
481
|
export {
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
BASELINE_FILE,
|
|
8
|
+
MACHINE_CHECKING,
|
|
9
|
+
baselineCommand,
|
|
10
|
+
readBaseline,
|
|
11
|
+
setupCommand,
|
|
12
|
+
setupSteps
|
|
13
|
+
} from "./chunk-VUSYN4R4.js";
|
|
14
|
+
import "./chunk-XIGVTH24.js";
|
|
15
|
+
import "./chunk-FOOU5OJE.js";
|
|
16
|
+
import "./chunk-3G4YI4ZU.js";
|
|
17
|
+
import "./chunk-WT6EXYEY.js";
|
|
18
|
+
import "./chunk-2IO6XH37.js";
|
|
19
|
+
import "./chunk-IBIIKUC7.js";
|
|
20
|
+
import "./chunk-CSHJZFOE.js";
|
|
21
|
+
import "./chunk-5A4RHEEL.js";
|
|
22
|
+
import "./chunk-VIQHZA53.js";
|
|
23
|
+
import "./chunk-WH3ZFLXT.js";
|
|
24
|
+
import "./chunk-UTZMF5CV.js";
|
|
25
|
+
import "./chunk-6U65YB54.js";
|
|
26
|
+
import "./chunk-SZDOBIWE.js";
|
|
27
|
+
import "./chunk-5JGRF53S.js";
|
|
28
|
+
import "./chunk-2HDNOUJU.js";
|
|
29
|
+
import "./chunk-RK5P2DWD.js";
|
|
30
|
+
import "./chunk-K3QKOVZN.js";
|
|
31
|
+
import "./chunk-QAFQLILX.js";
|
|
32
|
+
import "./chunk-HQMLY2R6.js";
|
|
33
|
+
import "./chunk-I2EWY3MG.js";
|
|
34
|
+
import "./chunk-UFIQ5FWY.js";
|
|
35
|
+
import "./chunk-MTIRNHRJ.js";
|
|
36
|
+
import "./chunk-ZDA72732.js";
|
|
37
|
+
import "./chunk-QA4O2GGC.js";
|
|
38
|
+
import "./chunk-XIJBQM45.js";
|
|
39
|
+
import "./chunk-6ZDAEUKB.js";
|
|
40
|
+
import "./chunk-MEMEO7YO.js";
|
|
41
|
+
import "./chunk-LZFKJ2BR.js";
|
|
42
|
+
import "./chunk-CTJHEG6A.js";
|
|
43
|
+
import "./chunk-BQGDB6ZL.js";
|
|
44
|
+
import "./chunk-TV45EUGM.js";
|
|
45
|
+
export {
|
|
46
|
+
BASELINE_FILE,
|
|
47
|
+
MACHINE_CHECKING,
|
|
48
|
+
baselineCommand,
|
|
49
|
+
readBaseline,
|
|
50
|
+
setupCommand,
|
|
51
|
+
setupSteps
|
|
52
|
+
};
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
cliMarkdown,
|
|
8
8
|
gradeDialect,
|
|
9
9
|
kindsMarkdown
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7AEB74KW.js";
|
|
11
11
|
import {
|
|
12
12
|
generateTests
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SAPX3PVK.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_DONE,
|
|
16
16
|
DESIGN_FORMAT,
|
|
@@ -33,19 +33,19 @@ import {
|
|
|
33
33
|
storySteps,
|
|
34
34
|
unfence,
|
|
35
35
|
writesField
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CSHJZFOE.js";
|
|
37
37
|
import {
|
|
38
38
|
DesignScreen
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5A4RHEEL.js";
|
|
40
40
|
import {
|
|
41
41
|
BUILT_IN_CHECKS,
|
|
42
42
|
runCritic
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VIQHZA53.js";
|
|
44
44
|
import {
|
|
45
45
|
buildGlossary,
|
|
46
46
|
proposeDefinitions,
|
|
47
47
|
undefinedCodeTerms
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2HDNOUJU.js";
|
|
49
49
|
import {
|
|
50
50
|
askKnowledge,
|
|
51
51
|
checkQuote,
|
|
@@ -60,23 +60,23 @@ import {
|
|
|
60
60
|
termsOf,
|
|
61
61
|
writeKnowledge,
|
|
62
62
|
writeSnapshots
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-K3QKOVZN.js";
|
|
64
64
|
import {
|
|
65
65
|
MockRuntime,
|
|
66
66
|
ReplayRuntime,
|
|
67
67
|
RuntimeError,
|
|
68
68
|
buildContextPack
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ZDA72732.js";
|
|
70
70
|
import {
|
|
71
71
|
writeChangeRepos
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-XIJBQM45.js";
|
|
73
73
|
import {
|
|
74
74
|
parseRecord,
|
|
75
75
|
projectFacts,
|
|
76
76
|
recordPath,
|
|
77
77
|
serializeRecord,
|
|
78
78
|
stateDirOf
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-6ZDAEUKB.js";
|
|
80
80
|
import {
|
|
81
81
|
AgentDefinition,
|
|
82
82
|
KNOWLEDGE_KINDS,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
external_exports,
|
|
86
86
|
knowledgeKindOf,
|
|
87
87
|
loadOrgPack
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-LZFKJ2BR.js";
|
|
89
89
|
import {
|
|
90
90
|
require_dist
|
|
91
91
|
} from "./chunk-BQGDB6ZL.js";
|
|
@@ -5,14 +5,14 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
denyHashesAt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BD7HBZLP.js";
|
|
9
9
|
import {
|
|
10
10
|
estateRepos,
|
|
11
11
|
outsideProfileSystems
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2HDNOUJU.js";
|
|
13
13
|
import {
|
|
14
14
|
denyListHits
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QAFQLILX.js";
|
|
16
16
|
import {
|
|
17
17
|
SHARED_MAP_SCHEMA_VERSION,
|
|
18
18
|
SharedMapFile,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
serializeFacts,
|
|
28
28
|
sharedDirOf,
|
|
29
29
|
sharedRelOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6ZDAEUKB.js";
|
|
31
31
|
import {
|
|
32
32
|
writeFileAtomic
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MEMEO7YO.js";
|
|
34
34
|
import {
|
|
35
35
|
RepoManifest,
|
|
36
36
|
loadOrgPack
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LZFKJ2BR.js";
|
|
38
38
|
import {
|
|
39
39
|
require_dist
|
|
40
40
|
} from "./chunk-BQGDB6ZL.js";
|
|
@@ -5,25 +5,27 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
contractCheckOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBO4A7TC.js";
|
|
9
9
|
import {
|
|
10
10
|
HttpError,
|
|
11
11
|
badRequest,
|
|
12
12
|
conflict,
|
|
13
13
|
notFound
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2SCZZQNQ.js";
|
|
15
15
|
import {
|
|
16
16
|
readCatalog
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2HDNOUJU.js";
|
|
18
18
|
import {
|
|
19
19
|
frameworkFacts,
|
|
20
|
-
frameworkGaps
|
|
21
|
-
|
|
20
|
+
frameworkGaps,
|
|
21
|
+
keyIsSecret
|
|
22
|
+
} from "./chunk-RK5P2DWD.js";
|
|
22
23
|
import {
|
|
23
24
|
baseClonePath,
|
|
24
25
|
loadRepos
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XIJBQM45.js";
|
|
26
27
|
import {
|
|
28
|
+
ProfileEditError,
|
|
27
29
|
QuestionError,
|
|
28
30
|
api_exports,
|
|
29
31
|
auditItemHolds,
|
|
@@ -37,10 +39,10 @@ import {
|
|
|
37
39
|
listQuestions,
|
|
38
40
|
parseAuditFile,
|
|
39
41
|
parseFacts
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6ZDAEUKB.js";
|
|
41
43
|
import {
|
|
42
44
|
FileChangedError
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MEMEO7YO.js";
|
|
44
46
|
import {
|
|
45
47
|
keptParse
|
|
46
48
|
} from "./chunk-CTJHEG6A.js";
|
|
@@ -143,7 +145,7 @@ function secretsOf(raw) {
|
|
|
143
145
|
return {};
|
|
144
146
|
const secrets = raw.flatMap((x) => {
|
|
145
147
|
const s = x;
|
|
146
|
-
return s && typeof s.file === "string" && typeof s.key === "string" && Number.isInteger(s.line) ? [{ file: s.file, line: s.line, key: s.key }] : [];
|
|
148
|
+
return s && typeof s.file === "string" && typeof s.key === "string" && Number.isInteger(s.line) ? [{ file: s.file, line: s.line, key: keyIsSecret(s.key) ? "" : s.key }] : [];
|
|
147
149
|
});
|
|
148
150
|
return secrets.length ? { secrets } : {};
|
|
149
151
|
}
|
|
@@ -383,7 +385,7 @@ async function trustView(root) {
|
|
|
383
385
|
});
|
|
384
386
|
}
|
|
385
387
|
const contracts = await contractCheckOf(root).then((c) => c.result.counts.compared ? c.result.counts : void 0, () => void 0);
|
|
386
|
-
const { answerBoxesOf } = await import("./chunk-
|
|
388
|
+
const { answerBoxesOf } = await import("./chunk-PFWP624T.js");
|
|
387
389
|
const answerBoxes = await answerBoxesOf(root).catch(() => []);
|
|
388
390
|
return {
|
|
389
391
|
factsDir: factsRel,
|
|
@@ -454,7 +456,7 @@ function uiTrustRoutes(r, ctx) {
|
|
|
454
456
|
status: 200,
|
|
455
457
|
body: await keptAnswer(ctx.root, "trust", () => trustView(ctx.root), () => checkoutsStamp(ctx.root))
|
|
456
458
|
})).add("POST", "/api/trust/answer-boxes/ignore", ({ body }) => answerBoxRoute(ctx, body, false)).add("POST", "/api/trust/answer-boxes/rename", ({ body }) => answerBoxRoute(ctx, body, true)).add("GET", "/api/trust/fresh", async () => {
|
|
457
|
-
const { estateFreshness } = await import("./chunk-
|
|
459
|
+
const { estateFreshness } = await import("./chunk-MZ6GOFRF.js");
|
|
458
460
|
const v = await estateFreshness(ctx.root);
|
|
459
461
|
const body = {
|
|
460
462
|
...v,
|
|
@@ -472,11 +474,12 @@ async function answerBoxRoute(ctx, body, rename) {
|
|
|
472
474
|
const b = api_exports.AnswerBoxRequest.safeParse(body ?? {});
|
|
473
475
|
if (!b.success || rename && !b.data.name)
|
|
474
476
|
throw badRequest(rename ? "Say which box and its real name: { id, name, preview }." : "Say which box: { id, preview }.");
|
|
475
|
-
const { AnswerBoxError, ignoreAnswerBox, renameAnswerBox } = await import("./chunk-
|
|
477
|
+
const { AnswerBoxError, ignoreAnswerBox, renameAnswerBox } = await import("./chunk-PFWP624T.js");
|
|
476
478
|
const o = {
|
|
477
479
|
by: ctx.user,
|
|
478
480
|
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
479
|
-
...b.data.preview ? { preview: true } : {}
|
|
481
|
+
...b.data.preview ? { preview: true } : {},
|
|
482
|
+
...b.data.stamp ? { stamp: b.data.stamp } : {}
|
|
480
483
|
};
|
|
481
484
|
try {
|
|
482
485
|
const r = rename ? await renameAnswerBox(ctx.root, b.data.id, b.data.name, o) : await ignoreAnswerBox(ctx.root, b.data.id, o);
|
|
@@ -488,12 +491,26 @@ async function answerBoxRoute(ctx, body, rename) {
|
|
|
488
491
|
}
|
|
489
492
|
return { status: 200, body: r };
|
|
490
493
|
} catch (e) {
|
|
491
|
-
if (e instanceof AnswerBoxError)
|
|
492
|
-
|
|
494
|
+
if (e instanceof AnswerBoxError) {
|
|
495
|
+
if (e.code === "not-found")
|
|
496
|
+
throw notFound(e.message);
|
|
497
|
+
if (e.code === "changed")
|
|
498
|
+
throw conflict(e.message);
|
|
499
|
+
if (e.code === "partial") {
|
|
500
|
+
for (const f of e.written)
|
|
501
|
+
ctx.events.publish({ type: "file.changed", path: f });
|
|
502
|
+
throw new HttpError(500, "Atticus wrote only part of it", e.message, {
|
|
503
|
+
written: e.written.map((file) => ({ file }))
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
throw badRequest(e.message);
|
|
507
|
+
}
|
|
493
508
|
if (e instanceof FileChangedError)
|
|
494
509
|
throw conflict(e.message);
|
|
495
510
|
if (e instanceof QuestionError)
|
|
496
511
|
throw new HttpError(422, "Atticus can't do that", e.message);
|
|
512
|
+
if (e instanceof ProfileEditError)
|
|
513
|
+
throw new HttpError(422, "Atticus can't do that", e.message);
|
|
497
514
|
if (e instanceof Error && / would not be valid: /.test(e.message))
|
|
498
515
|
throw new HttpError(422, "Atticus can't do that", e.message.split("\n")[0]);
|
|
499
516
|
throw e;
|
|
@@ -5,14 +5,14 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
|
|
|
5
5
|
var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
|
|
6
6
|
import {
|
|
7
7
|
repoFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PBDIVTFL.js";
|
|
9
9
|
import {
|
|
10
10
|
draftRepoType,
|
|
11
11
|
matchRepoType
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2HDNOUJU.js";
|
|
13
13
|
import {
|
|
14
14
|
fsRepo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UFIQ5FWY.js";
|
|
16
16
|
import {
|
|
17
17
|
RULE_WORDS,
|
|
18
18
|
TERM_STEP,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
orgPackDirOf,
|
|
23
23
|
termAnswerNote,
|
|
24
24
|
termOfQuestion
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6ZDAEUKB.js";
|
|
26
26
|
import {
|
|
27
27
|
CONVENTIONS_SCHEMA_VERSION,
|
|
28
28
|
ChecklistPack,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
RecordId,
|
|
34
34
|
RepoType,
|
|
35
35
|
loadOrgPack
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LZFKJ2BR.js";
|
|
37
37
|
import {
|
|
38
38
|
require_dist
|
|
39
39
|
} from "./chunk-BQGDB6ZL.js";
|