@caspian2026/agent-sdk 0.0.9 → 0.0.12
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/{chunk-c5zkrd7r.js → chunk-00d76x8k.js} +35 -37
- package/dist/{chunk-j0gke393.js → chunk-0b7gfh40.js} +34 -36
- package/dist/{chunk-4myad919.js → chunk-0q7109wh.js} +37 -39
- package/dist/{chunk-c4d52460.js → chunk-0rb968t3.js} +4 -4
- package/dist/{chunk-wkt2q02c.js → chunk-0wy4ckdx.js} +6 -8
- package/dist/{chunk-jwpp2bq2.js → chunk-0z0jnhy4.js} +77 -81
- package/dist/{chunk-hg6fwhj1.js → chunk-11snnhy9.js} +1 -1
- package/dist/{chunk-w6mcmmt5.js → chunk-12s5j5ga.js} +8 -10
- package/dist/chunk-17zbq30e.js +148 -0
- package/dist/{chunk-t3gmfcy7.js → chunk-1a245sn2.js} +39 -42
- package/dist/{chunk-cexw1jmv.js → chunk-1a5w7wdt.js} +2 -2
- package/dist/{chunk-5mrc0ps5.js → chunk-1aq0n033.js} +19 -23
- package/dist/{chunk-0txtpamh.js → chunk-1pee6gwp.js} +22 -24
- package/dist/{chunk-wm1zm5xj.js → chunk-1t59zkwn.js} +2 -2
- package/dist/{chunk-zqbnw3n2.js → chunk-20ka896x.js} +40 -42
- package/dist/{chunk-qqs58ywv.js → chunk-28za36s8.js} +3 -3
- package/dist/{chunk-1nhnn2rg.js → chunk-2apvtmkd.js} +5 -7
- package/dist/{chunk-83b2frat.js → chunk-2avrzsjc.js} +2 -2
- package/dist/{chunk-hqjdgc6c.js → chunk-2b42fj9k.js} +2 -2
- package/dist/{chunk-r7684mmh.js → chunk-2h4bj7qw.js} +3 -3
- package/dist/{chunk-sdfvr9ps.js → chunk-2h6f45jx.js} +5 -7
- package/dist/{chunk-bzatg35k.js → chunk-2k3y6fnp.js} +1 -1
- package/dist/{chunk-qcrpqjya.js → chunk-2nya3j5t.js} +1 -1
- package/dist/{chunk-9ewnsd7f.js → chunk-2tm611h9.js} +2 -2
- package/dist/{chunk-q14wrksq.js → chunk-337ft6zr.js} +36 -38
- package/dist/{chunk-y32em34x.js → chunk-35ezdbnv.js} +16 -18
- package/dist/{chunk-0gpem3pk.js → chunk-3hmgf3wg.js} +34 -36
- package/dist/{chunk-f4tdn7yr.js → chunk-3s0dfr99.js} +34 -36
- package/dist/{chunk-ev7h351p.js → chunk-43n91ybe.js} +6 -8
- package/dist/{chunk-snxp8mxj.js → chunk-45fm4zby.js} +2 -2
- package/dist/{chunk-xw99fqv1.js → chunk-46k21cp2.js} +4 -4
- package/dist/{chunk-6cfcqjty.js → chunk-496a2dj9.js} +38 -40
- package/dist/{chunk-wgd4n1q7.js → chunk-4ch0yj7k.js} +7 -9
- package/dist/{chunk-9z9teq7p.js → chunk-4s4vgf9j.js} +35 -37
- package/dist/{chunk-wxkrq9eb.js → chunk-4xes6pr4.js} +34 -36
- package/dist/{chunk-v6hbqcmr.js → chunk-4zx71gjb.js} +17 -19
- package/dist/{chunk-35nft36d.js → chunk-51p97n3a.js} +113 -117
- package/dist/{chunk-b6prbsae.js → chunk-542phb5x.js} +10 -14
- package/dist/{chunk-k8jpbz31.js → chunk-57190x8z.js} +14 -16
- package/dist/{chunk-ec6ga5ey.js → chunk-5enwkx00.js} +39 -41
- package/dist/{chunk-xffb3dsw.js → chunk-5hz3rcv3.js} +1 -1
- package/dist/{chunk-tj7v47cp.js → chunk-5pa7rye9.js} +1 -1
- package/dist/{chunk-fesvrjhd.js → chunk-5r10r06a.js} +8 -10
- package/dist/{chunk-hae34yd0.js → chunk-5rezzje2.js} +6 -8
- package/dist/{chunk-wg47eg7y.js → chunk-5vktw684.js} +34 -36
- package/dist/{chunk-2072dpbx.js → chunk-5vp228m5.js} +4 -6
- package/dist/{chunk-p9ny0p2a.js → chunk-5yvg4h4w.js} +14 -16
- package/dist/{chunk-frm7mphm.js → chunk-60q5gfv2.js} +9 -11
- package/dist/{chunk-dmyedkpw.js → chunk-657y059h.js} +6 -7
- package/dist/{chunk-84cdy41j.js → chunk-6af6k8cg.js} +6 -8
- package/dist/{chunk-vmp5rk8q.js → chunk-6e48t2eg.js} +6 -6
- package/dist/{chunk-dhwr4fz4.js → chunk-6e84jw8j.js} +1 -1
- package/dist/{chunk-qxjhw1dt.js → chunk-6f02d6a7.js} +17 -19
- package/dist/{chunk-f4v7t54y.js → chunk-6f3v6q11.js} +7 -8
- package/dist/{chunk-ef2m4xyz.js → chunk-6hd3qses.js} +34 -36
- package/dist/{chunk-5m3m7hr5.js → chunk-6jbmp7cc.js} +4 -4
- package/dist/{chunk-r6nnp8mj.js → chunk-6jh4ktef.js} +34 -36
- package/dist/{chunk-1efrnkxx.js → chunk-6pjsqs43.js} +8 -8
- package/dist/{chunk-dexkgxt4.js → chunk-6prf7w2a.js} +6 -8
- package/dist/{chunk-jxp2j9t5.js → chunk-6vn3qve2.js} +34 -36
- package/dist/{chunk-z16txqz0.js → chunk-6w51dnv1.js} +2 -2
- package/dist/{chunk-2m32xn94.js → chunk-73fcxjts.js} +12 -14
- package/dist/{chunk-g597bz1j.js → chunk-786fba9z.js} +35 -37
- package/dist/{chunk-x3jthbjq.js → chunk-7bn9x3a4.js} +35 -37
- package/dist/{chunk-ay5fvc2r.js → chunk-7dzf0vyg.js} +35 -37
- package/dist/{chunk-azv68vk1.js → chunk-7nzbvx9e.js} +2 -2
- package/dist/{chunk-1kmwf4vn.js → chunk-7we9b3rw.js} +12 -14
- package/dist/{chunk-rn1s097c.js → chunk-8a0rxq4x.js} +34 -36
- package/dist/{chunk-grqhgr2b.js → chunk-8d3kntdb.js} +3 -3
- package/dist/{chunk-t9eeyrkn.js → chunk-8qqf4fqb.js} +38 -41
- package/dist/{chunk-7etkb4pr.js → chunk-8y55mc4q.js} +2 -3
- package/dist/{chunk-frwznxnf.js → chunk-918zn0bw.js} +3 -3
- package/dist/{chunk-pfarypfq.js → chunk-92jgn98p.js} +36 -38
- package/dist/{chunk-jgvmjwnx.js → chunk-93hfvyd0.js} +34 -36
- package/dist/{chunk-be77bcs8.js → chunk-956kn4jm.js} +37 -39
- package/dist/{chunk-b547q41s.js → chunk-95tfr5nc.js} +35 -37
- package/dist/{chunk-ftsdm7y7.js → chunk-99kjyjqv.js} +42 -44
- package/dist/{chunk-40s88wdg.js → chunk-9an46bhy.js} +3 -5
- package/dist/{chunk-h4xfadhf.js → chunk-9cjqv8ks.js} +1 -1
- package/dist/{chunk-xvk90wpt.js → chunk-9t6ktd1k.js} +2 -2
- package/dist/{chunk-xtdm6ejq.js → chunk-a1e7apvj.js} +4 -4
- package/dist/{chunk-txgbs4hp.js → chunk-a3tsmh82.js} +39 -42
- package/dist/{chunk-ckh4f9ry.js → chunk-a4f2eabx.js} +13 -15
- package/dist/{chunk-nrjtxhyr.js → chunk-a4vds27m.js} +1 -1
- package/dist/{chunk-jtgyzqbq.js → chunk-a7fqavjt.js} +5 -7
- package/dist/{chunk-3npsy4c4.js → chunk-a9b8mvnf.js} +34 -36
- package/dist/{chunk-jsj3fx0g.js → chunk-agfhxmaa.js} +4 -4
- package/dist/{chunk-hrhp26d7.js → chunk-arr63gs7.js} +43 -45
- package/dist/{chunk-q4f1g9y6.js → chunk-atm8mys9.js} +10 -10
- package/dist/{chunk-q8hxwh48.js → chunk-ay73qdn7.js} +1 -1
- package/dist/{chunk-ayx9aq2k.js → chunk-b4e2yxzs.js} +35 -37
- package/dist/{chunk-3pzwd6qq.js → chunk-bas84mgf.js} +1 -1
- package/dist/{chunk-dj7d67ya.js → chunk-bf0apkzz.js} +1 -1
- package/dist/{chunk-e7ag583m.js → chunk-bh3mqd1n.js} +35 -37
- package/dist/{chunk-8jy18nx9.js → chunk-bngbc1q9.js} +1 -1
- package/dist/{chunk-j35mw64g.js → chunk-bwtw1cbj.js} +1 -1
- package/dist/{chunk-1v01c96r.js → chunk-c25z9zmd.js} +1 -1
- package/dist/{chunk-qkp4ygnk.js → chunk-c95dbdzk.js} +2 -2
- package/dist/{chunk-04pw5akr.js → chunk-cdqb8pyj.js} +15 -17
- package/dist/{chunk-0v89r445.js → chunk-cejztqqp.js} +12 -14
- package/dist/{chunk-z6wm96eh.js → chunk-cfvgegjj.js} +2 -2
- package/dist/{chunk-1hqb50ne.js → chunk-cgc5028n.js} +6 -8
- package/dist/{chunk-t1s91wrk.js → chunk-cj7gh4sc.js} +1 -1
- package/dist/{chunk-djfq8ws0.js → chunk-cmb7rm1k.js} +46 -48
- package/dist/{chunk-wtpgjmjd.js → chunk-cmqt0dnf.js} +35 -37
- package/dist/{chunk-dngfdsm9.js → chunk-cnvck8hk.js} +90 -92
- package/dist/{chunk-jksf0ax9.js → chunk-cp1y5wek.js} +38 -42
- package/dist/{chunk-mewywsar.js → chunk-cscffe8t.js} +34 -36
- package/dist/{chunk-1yfc1d48.js → chunk-d4n334px.js} +34 -36
- package/dist/{chunk-gzj94jgg.js → chunk-d6pdfssm.js} +34 -36
- package/dist/{chunk-t1pygy19.js → chunk-d7grzg31.js} +35 -37
- package/dist/{chunk-3e28fvn0.js → chunk-db92x7yq.js} +2 -2
- package/dist/{chunk-vbtm9g57.js → chunk-dm7fhe2p.js} +1 -1
- package/dist/{chunk-2vbash3m.js → chunk-dpg9k0qm.js} +6 -8
- package/dist/{chunk-skp5w8bq.js → chunk-dwyaks7s.js} +1 -1
- package/dist/{chunk-d8z7pyrb.js → chunk-e114ax4f.js} +35 -37
- package/dist/{chunk-sh2v9ywv.js → chunk-egj7sq93.js} +2 -2
- package/dist/{chunk-vk3nb2xe.js → chunk-ej46x3p8.js} +35 -37
- package/dist/{chunk-p4196wzm.js → chunk-ejjp1fy1.js} +4 -6
- package/dist/{chunk-b5asw4tj.js → chunk-eszdke28.js} +5 -5
- package/dist/{chunk-psm26hv7.js → chunk-etnkcek5.js} +8 -12
- package/dist/{chunk-qz0xdht6.js → chunk-eyys9mkd.js} +8 -9
- package/dist/{chunk-hparkfvt.js → chunk-ez7x0ev9.js} +42 -44
- package/dist/{chunk-r5nd93kc.js → chunk-f52xxv34.js} +1 -1
- package/dist/{chunk-rhvn1rqs.js → chunk-f7y0axm3.js} +2 -2
- package/dist/{chunk-c6hsz5ey.js → chunk-f81crq64.js} +13 -15
- package/dist/{chunk-trvc6jh7.js → chunk-fhfbj1pd.js} +37 -39
- package/dist/{chunk-3fn3ysvs.js → chunk-fn9xfcx2.js} +35 -37
- package/dist/{chunk-8b2y3x7a.js → chunk-fys33rtr.js} +1 -1
- package/dist/{chunk-9byfzaeq.js → chunk-g3pgn9a9.js} +34 -36
- package/dist/{chunk-zyjkg76f.js → chunk-g5jyxbsc.js} +6 -6
- package/dist/{chunk-9957ffjc.js → chunk-g96611rv.js} +2 -2
- package/dist/{chunk-msxggy37.js → chunk-gh9qnfb8.js} +15 -17
- package/dist/{chunk-jwwpfq76.js → chunk-ghs0pvtp.js} +36 -38
- package/dist/{chunk-bf03a1w7.js → chunk-gyrcpcs5.js} +36 -38
- package/dist/{chunk-b56smerd.js → chunk-h3rtwnzt.js} +2 -2
- package/dist/{chunk-q6tdxy8v.js → chunk-h6bgcfma.js} +3 -4
- package/dist/{chunk-1vp22nex.js → chunk-h7s9yqgb.js} +1 -1
- package/dist/{chunk-g5pe8dew.js → chunk-h8e89948.js} +4 -5
- package/dist/{chunk-hg45r671.js → chunk-hcpahckc.js} +2 -2
- package/dist/{chunk-wa0xgm6m.js → chunk-hgm8d1ke.js} +10 -14
- package/dist/{chunk-xgbd6ec5.js → chunk-hm6aeakn.js} +35 -37
- package/dist/{chunk-v3s93bzd.js → chunk-hqdwr6mz.js} +1 -1
- package/dist/{chunk-5zcygjb2.js → chunk-hy3ye51v.js} +34 -36
- package/dist/{chunk-njw0haha.js → chunk-hy74wncp.js} +9 -9
- package/dist/{chunk-7hrmxpha.js → chunk-j1y56wgn.js} +25 -19
- package/dist/{chunk-7krg0dkt.js → chunk-j7ptfetg.js} +1 -1
- package/dist/{chunk-g78fetxa.js → chunk-j8bapw4n.js} +34 -36
- package/dist/{chunk-93vwm44t.js → chunk-ja513x2h.js} +162 -166
- package/dist/{chunk-rpsqtvkx.js → chunk-ja9h4h89.js} +34 -36
- package/dist/{chunk-rmpaj37q.js → chunk-jbrktexr.js} +38 -40
- package/dist/{chunk-xswyz2es.js → chunk-jbv0d2xg.js} +1 -1
- package/dist/{chunk-x2bnzvd6.js → chunk-jry93mfk.js} +34 -36
- package/dist/{chunk-y5wfy524.js → chunk-jvwbz0zr.js} +37 -39
- package/dist/{chunk-bjdknxqn.js → chunk-kbdaeekj.js} +34 -36
- package/dist/{chunk-kjqyhxz7.js → chunk-kd5k97vr.js} +6 -8
- package/dist/{chunk-szzff973.js → chunk-kj3w1t4e.js} +4 -4
- package/dist/{chunk-6wzg2hpc.js → chunk-kpr0q6sr.js} +1 -1
- package/dist/{chunk-8ckwc9k8.js → chunk-kweh7zc3.js} +34 -36
- package/dist/{chunk-j99ms5ep.js → chunk-kxjfdqf8.js} +4 -6
- package/dist/{chunk-pddf0719.js → chunk-m6w05wvy.js} +37 -39
- package/dist/{chunk-ecbh4n6q.js → chunk-m799k476.js} +37 -40
- package/dist/{chunk-rygxwjtc.js → chunk-m9jet1d8.js} +35 -37
- package/dist/{chunk-ratnrv9v.js → chunk-mg0an997.js} +3 -3
- package/dist/{chunk-1hqvvvrt.js → chunk-mgg5a735.js} +43 -45
- package/dist/{chunk-2y8x7xt7.js → chunk-mqqq51yf.js} +2 -2
- package/dist/{chunk-44t1xk05.js → chunk-mtb0aeh7.js} +34 -36
- package/dist/{chunk-2yxqz99n.js → chunk-mv2g25hg.js} +7 -9
- package/dist/{chunk-4vtvwg7e.js → chunk-nasq48jf.js} +42 -44
- package/dist/{chunk-vtmxgm1m.js → chunk-nazmv0yc.js} +5 -7
- package/dist/{chunk-9wf3fc4t.js → chunk-nczt1pg8.js} +2 -2
- package/dist/{chunk-22mfb6bp.js → chunk-njm3ynry.js} +14 -16
- package/dist/{chunk-r3ehjkj5.js → chunk-nqd47stn.js} +46 -48
- package/dist/{chunk-35z2vxep.js → chunk-nwj6zx84.js} +37 -39
- package/dist/{chunk-rnxpvm3m.js → chunk-p10431ea.js} +1 -1
- package/dist/{chunk-65q3hqkw.js → chunk-p546k5vf.js} +12 -14
- package/dist/{chunk-thenr6b3.js → chunk-p6ayjcy6.js} +7 -7
- package/dist/{chunk-w3gnkyfc.js → chunk-p7t9gxz7.js} +38 -40
- package/dist/{chunk-ttyfhx12.js → chunk-pbejmtc5.js} +96 -66
- package/dist/{chunk-xhn4ptjn.js → chunk-pcv6hjxt.js} +42 -45
- package/dist/{chunk-67wms97m.js → chunk-pn1gzpw4.js} +15 -17
- package/dist/{chunk-ecv9kbtk.js → chunk-pzhgwt85.js} +4 -4
- package/dist/{chunk-hb1gr101.js → chunk-q0dfe2ma.js} +5 -7
- package/dist/{chunk-thmtkfgj.js → chunk-q1tan6f7.js} +6 -8
- package/dist/{chunk-rx4mcfg1.js → chunk-q2795dh5.js} +43 -45
- package/dist/{chunk-zxywawr7.js → chunk-q3b963kf.js} +1 -1
- package/dist/{chunk-b89ese8r.js → chunk-q3jf7cv8.js} +34 -36
- package/dist/{chunk-04h360ha.js → chunk-qb786rmk.js} +17 -19
- package/dist/{chunk-pwpk3gm6.js → chunk-qd5n2h9f.js} +5 -7
- package/dist/{chunk-sjpqw47t.js → chunk-qgzma8ky.js} +3 -3
- package/dist/{chunk-2vteceqh.js → chunk-qhsd552n.js} +4 -4
- package/dist/{chunk-9w114071.js → chunk-r328sk36.js} +5 -5
- package/dist/{chunk-hgmhngje.js → chunk-r7xxhzs2.js} +4 -4
- package/dist/{chunk-ty1cyqr7.js → chunk-r8q566z2.js} +37 -39
- package/dist/{chunk-7skyagc2.js → chunk-rbq4mcw7.js} +2 -2
- package/dist/{chunk-jj4zs4gr.js → chunk-rj6htvwb.js} +34 -36
- package/dist/{chunk-1gaw18rz.js → chunk-rxmv911f.js} +35 -37
- package/dist/{chunk-dt3epnwj.js → chunk-sa6bbzsy.js} +11 -13
- package/dist/{chunk-vajsk9ya.js → chunk-sfsy9bm0.js} +12 -14
- package/dist/{chunk-vw5jzpcm.js → chunk-skr9v618.js} +7 -9
- package/dist/{chunk-v4wba09w.js → chunk-t1xq3fhc.js} +37 -39
- package/dist/{chunk-42a0nyrq.js → chunk-t2ng3ptk.js} +35 -37
- package/dist/{chunk-jqfrz5g9.js → chunk-t47pgtvn.js} +17 -19
- package/dist/{chunk-vyz3v0qx.js → chunk-t5thxbgd.js} +5 -5
- package/dist/{chunk-1486qzk5.js → chunk-t6b35end.js} +3 -3
- package/dist/{chunk-rjq5nf1c.js → chunk-t74h1vfr.js} +11 -13
- package/dist/{chunk-tpk67mjc.js → chunk-t83k78sc.js} +3 -3
- package/dist/{chunk-7cje7scj.js → chunk-tbw0dr1x.js} +7 -9
- package/dist/{chunk-v0tgjdx0.js → chunk-tcjxkf7r.js} +11 -13
- package/dist/{chunk-ya9dxex0.js → chunk-te8afx2m.js} +36 -38
- package/dist/{chunk-k7cw1a8a.js → chunk-tmjt0nae.js} +1 -1
- package/dist/{chunk-jjz3hs34.js → chunk-tw8tg8kd.js} +47 -49
- package/dist/{chunk-hzbr9543.js → chunk-v2ah6nmr.js} +4 -4
- package/dist/{chunk-5tw3gj5z.js → chunk-v3215haz.js} +35 -37
- package/dist/{chunk-xcrzgyce.js → chunk-v3edramj.js} +34 -36
- package/dist/{chunk-w3782jck.js → chunk-v9dqk91p.js} +38 -41
- package/dist/{chunk-h3vyya5n.js → chunk-vg83d3zq.js} +13 -15
- package/dist/{chunk-kxrrtr3p.js → chunk-vpqp1mq8.js} +1 -1
- package/dist/{chunk-ecvy1ng2.js → chunk-vq3sw69a.js} +36 -38
- package/dist/{chunk-qctsv1d7.js → chunk-vwtdaw6w.js} +13 -17
- package/dist/{chunk-4ayjwyqj.js → chunk-w28t9jy7.js} +2 -4
- package/dist/{chunk-xs7zsmzk.js → chunk-w7w8t8tn.js} +36 -39
- package/dist/{chunk-gkn3jgqn.js → chunk-w96856xh.js} +46 -48
- package/dist/{chunk-54wn2jdr.js → chunk-w9v6bd0p.js} +2 -2
- package/dist/{chunk-ssb4wba6.js → chunk-wb53cfxb.js} +12 -14
- package/dist/{chunk-mmhkcj7c.js → chunk-wejkerqs.js} +46 -49
- package/dist/{chunk-h61d4awv.js → chunk-wnvvmh04.js} +36 -38
- package/dist/{chunk-etbb3dss.js → chunk-wz575naw.js} +37 -39
- package/dist/{chunk-1hx5g6qy.js → chunk-x5yc4663.js} +4 -4
- package/dist/{chunk-ey0n4emm.js → chunk-x8webzs9.js} +34 -36
- package/dist/{chunk-s19b0bc7.js → chunk-xdzhs9yv.js} +34 -36
- package/dist/{chunk-dz6zxh89.js → chunk-xe3c1vqh.js} +36 -39
- package/dist/{chunk-3e4r5pmc.js → chunk-xe49p33m.js} +4 -6
- package/dist/{chunk-rz94yg8c.js → chunk-xkpb3hbc.js} +4 -6
- package/dist/{chunk-6hs0cptm.js → chunk-xmv9n004.js} +42 -45
- package/dist/{chunk-72qa16xm.js → chunk-xnyztq9h.js} +36 -38
- package/dist/{chunk-v5g8nf5h.js → chunk-xr05z50c.js} +10 -14
- package/dist/{chunk-rfq9kmsy.js → chunk-xxahhkz2.js} +7 -8
- package/dist/{chunk-rfbbcx5s.js → chunk-y3qrx3ys.js} +34 -36
- package/dist/{chunk-tf859h88.js → chunk-y5nttq3d.js} +13 -16
- package/dist/{chunk-grqkx44z.js → chunk-y8thpqv0.js} +35 -37
- package/dist/{chunk-2nrarbza.js → chunk-y93z1mpf.js} +34 -36
- package/dist/{chunk-pd2vy8hx.js → chunk-yb6xww2x.js} +525 -56
- package/dist/{chunk-1nvcmzj1.js → chunk-ycc8yj76.js} +46 -48
- package/dist/{chunk-m70n19dz.js → chunk-yg11waka.js} +36 -38
- package/dist/{chunk-ghwvqhx9.js → chunk-ynytwr1a.js} +35 -37
- package/dist/{chunk-cay13mxk.js → chunk-ys8cwzed.js} +4 -4
- package/dist/{chunk-cr1dv2js.js → chunk-z3xh5n00.js} +36 -39
- package/dist/{chunk-vmbht6ec.js → chunk-zjnpfrg7.js} +6 -6
- package/dist/{chunk-p791ydbm.js → chunk-zs8gxf6g.js} +4 -4
- package/dist/{chunk-zcgprbyy.js → chunk-zzadbnpy.js} +20 -22
- package/dist/cli.js +7 -7
- package/dist/gateway/index.js +131 -27
- package/dist/gateway/worker.js +1664 -1188
- package/package.json +1 -1
- package/dist/chunk-5cxjxxx8.js +0 -352
- package/dist/chunk-7cdy4aj6.js +0 -150
- package/dist/chunk-rkv8bdtr.js +0 -125
package/package.json
CHANGED
package/dist/chunk-5cxjxxx8.js
DELETED
|
@@ -1,352 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
getFsImplementation,
|
|
4
|
-
init_errors,
|
|
5
|
-
init_fsOperations,
|
|
6
|
-
init_slowOperations,
|
|
7
|
-
toError
|
|
8
|
-
} from "./chunk-pd2vy8hx.js";
|
|
9
|
-
import {
|
|
10
|
-
init_state,
|
|
11
|
-
setLastAPIRequest,
|
|
12
|
-
setLastAPIRequestMessages
|
|
13
|
-
} from "./chunk-k8vp0atq.js";
|
|
14
|
-
import {
|
|
15
|
-
init_memoize,
|
|
16
|
-
memoize_default
|
|
17
|
-
} from "./chunk-vf612n57.js";
|
|
18
|
-
import {
|
|
19
|
-
__esm,
|
|
20
|
-
__require
|
|
21
|
-
} from "./chunk-qp2qdcda.js";
|
|
22
|
-
|
|
23
|
-
// src/constants/xml.ts
|
|
24
|
-
var COMMAND_NAME_TAG = "command-name", COMMAND_MESSAGE_TAG = "command-message", COMMAND_ARGS_TAG = "command-args", BASH_INPUT_TAG = "bash-input", BASH_STDOUT_TAG = "bash-stdout", BASH_STDERR_TAG = "bash-stderr", LOCAL_COMMAND_STDOUT_TAG = "local-command-stdout", LOCAL_COMMAND_STDERR_TAG = "local-command-stderr", LOCAL_COMMAND_CAVEAT_TAG = "local-command-caveat", TERMINAL_OUTPUT_TAGS, TICK_TAG = "tick", TASK_NOTIFICATION_TAG = "task-notification", TASK_ID_TAG = "task-id", TOOL_USE_ID_TAG = "tool-use-id", TASK_TYPE_TAG = "task-type", OUTPUT_FILE_TAG = "output-file", STATUS_TAG = "status", SUMMARY_TAG = "summary", WORKTREE_TAG = "worktree", WORKTREE_PATH_TAG = "worktreePath", WORKTREE_BRANCH_TAG = "worktreeBranch", REMOTE_REVIEW_TAG = "remote-review", REMOTE_REVIEW_PROGRESS_TAG = "remote-review-progress", TEAMMATE_MESSAGE_TAG = "teammate-message", CHANNEL_TAG = "channel", FORK_BOILERPLATE_TAG = "fork-boilerplate", FORK_DIRECTIVE_PREFIX = "Your directive: ", COMMON_HELP_ARGS, COMMON_INFO_ARGS;
|
|
25
|
-
var init_xml = __esm(() => {
|
|
26
|
-
TERMINAL_OUTPUT_TAGS = [
|
|
27
|
-
BASH_INPUT_TAG,
|
|
28
|
-
BASH_STDOUT_TAG,
|
|
29
|
-
BASH_STDERR_TAG,
|
|
30
|
-
LOCAL_COMMAND_STDOUT_TAG,
|
|
31
|
-
LOCAL_COMMAND_STDERR_TAG,
|
|
32
|
-
LOCAL_COMMAND_CAVEAT_TAG
|
|
33
|
-
];
|
|
34
|
-
COMMON_HELP_ARGS = ["help", "-h", "--help"];
|
|
35
|
-
COMMON_INFO_ARGS = [
|
|
36
|
-
"list",
|
|
37
|
-
"show",
|
|
38
|
-
"display",
|
|
39
|
-
"current",
|
|
40
|
-
"view",
|
|
41
|
-
"get",
|
|
42
|
-
"check",
|
|
43
|
-
"describe",
|
|
44
|
-
"print",
|
|
45
|
-
"version",
|
|
46
|
-
"about",
|
|
47
|
-
"status",
|
|
48
|
-
"?"
|
|
49
|
-
];
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
// src/types/logs.ts
|
|
53
|
-
function sortLogs(logs) {
|
|
54
|
-
return logs.sort((a, b) => {
|
|
55
|
-
const modifiedDiff = b.modified.getTime() - a.modified.getTime();
|
|
56
|
-
if (modifiedDiff !== 0) {
|
|
57
|
-
return modifiedDiff;
|
|
58
|
-
}
|
|
59
|
-
return b.created.getTime() - a.created.getTime();
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
var init_logs = () => {};
|
|
63
|
-
|
|
64
|
-
// src/utils/privacyLevel.ts
|
|
65
|
-
function getPrivacyLevel() {
|
|
66
|
-
if (process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC) {
|
|
67
|
-
return "essential-traffic";
|
|
68
|
-
}
|
|
69
|
-
if (process.env.DISABLE_TELEMETRY) {
|
|
70
|
-
return "no-telemetry";
|
|
71
|
-
}
|
|
72
|
-
return "default";
|
|
73
|
-
}
|
|
74
|
-
function isEssentialTrafficOnly() {
|
|
75
|
-
return getPrivacyLevel() === "essential-traffic";
|
|
76
|
-
}
|
|
77
|
-
function isTelemetryDisabled() {
|
|
78
|
-
return getPrivacyLevel() !== "default";
|
|
79
|
-
}
|
|
80
|
-
function getEssentialTrafficOnlyReason() {
|
|
81
|
-
if (process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC) {
|
|
82
|
-
return "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC";
|
|
83
|
-
}
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
var init_privacyLevel = () => {};
|
|
87
|
-
|
|
88
|
-
// node_modules/.bun/is-safe-filename@0.1.1/node_modules/is-safe-filename/index.js
|
|
89
|
-
function isSafeFilename(filename) {
|
|
90
|
-
if (typeof filename !== "string") {
|
|
91
|
-
return false;
|
|
92
|
-
}
|
|
93
|
-
const trimmed = filename.trim();
|
|
94
|
-
return trimmed !== "" && trimmed !== "." && trimmed !== ".." && !filename.includes("/") && !filename.includes("\\") && !filename.includes("\x00");
|
|
95
|
-
}
|
|
96
|
-
function assertSafeFilename(filename) {
|
|
97
|
-
if (typeof filename !== "string") {
|
|
98
|
-
throw new TypeError("Expected a string");
|
|
99
|
-
}
|
|
100
|
-
if (!isSafeFilename(filename)) {
|
|
101
|
-
throw new Error(`Unsafe filename: ${JSON.stringify(filename)}`);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
var unsafeFilenameFixtures;
|
|
105
|
-
var init_is_safe_filename = __esm(() => {
|
|
106
|
-
unsafeFilenameFixtures = Object.freeze([
|
|
107
|
-
"",
|
|
108
|
-
" ",
|
|
109
|
-
".",
|
|
110
|
-
"..",
|
|
111
|
-
" .",
|
|
112
|
-
". ",
|
|
113
|
-
" ..",
|
|
114
|
-
".. ",
|
|
115
|
-
"../",
|
|
116
|
-
"../foo",
|
|
117
|
-
"foo/../bar",
|
|
118
|
-
"foo/bar",
|
|
119
|
-
"foo\\bar",
|
|
120
|
-
"foo\x00bar"
|
|
121
|
-
]);
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
// node_modules/.bun/env-paths@4.0.0/node_modules/env-paths/index.js
|
|
125
|
-
import path from "path";
|
|
126
|
-
import os from "os";
|
|
127
|
-
import process2 from "process";
|
|
128
|
-
function envPaths(name, { suffix = "nodejs" } = {}) {
|
|
129
|
-
assertSafeFilename(name);
|
|
130
|
-
if (suffix) {
|
|
131
|
-
name += `-${suffix}`;
|
|
132
|
-
}
|
|
133
|
-
assertSafeFilename(name);
|
|
134
|
-
if (process2.platform === "darwin") {
|
|
135
|
-
return macos(name);
|
|
136
|
-
}
|
|
137
|
-
if (process2.platform === "win32") {
|
|
138
|
-
return windows(name);
|
|
139
|
-
}
|
|
140
|
-
return linux(name);
|
|
141
|
-
}
|
|
142
|
-
var homedir, tmpdir, env, macos = (name) => {
|
|
143
|
-
const library = path.join(homedir, "Library");
|
|
144
|
-
return {
|
|
145
|
-
data: path.join(library, "Application Support", name),
|
|
146
|
-
config: path.join(library, "Preferences", name),
|
|
147
|
-
cache: path.join(library, "Caches", name),
|
|
148
|
-
log: path.join(library, "Logs", name),
|
|
149
|
-
temp: path.join(tmpdir, name)
|
|
150
|
-
};
|
|
151
|
-
}, windows = (name) => {
|
|
152
|
-
const appData = env.APPDATA || path.join(homedir, "AppData", "Roaming");
|
|
153
|
-
const localAppData = env.LOCALAPPDATA || path.join(homedir, "AppData", "Local");
|
|
154
|
-
return {
|
|
155
|
-
data: path.join(localAppData, name, "Data"),
|
|
156
|
-
config: path.join(appData, name, "Config"),
|
|
157
|
-
cache: path.join(localAppData, name, "Cache"),
|
|
158
|
-
log: path.join(localAppData, name, "Log"),
|
|
159
|
-
temp: path.join(tmpdir, name)
|
|
160
|
-
};
|
|
161
|
-
}, linux = (name) => {
|
|
162
|
-
const username = path.basename(homedir);
|
|
163
|
-
return {
|
|
164
|
-
data: path.join(env.XDG_DATA_HOME || path.join(homedir, ".local", "share"), name),
|
|
165
|
-
config: path.join(env.XDG_CONFIG_HOME || path.join(homedir, ".config"), name),
|
|
166
|
-
cache: path.join(env.XDG_CACHE_HOME || path.join(homedir, ".cache"), name),
|
|
167
|
-
log: path.join(env.XDG_STATE_HOME || path.join(homedir, ".local", "state"), name),
|
|
168
|
-
temp: path.join(tmpdir, username, name)
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
var init_env_paths = __esm(() => {
|
|
172
|
-
init_is_safe_filename();
|
|
173
|
-
homedir = os.homedir();
|
|
174
|
-
tmpdir = os.tmpdir();
|
|
175
|
-
({ env } = process2);
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
// src/utils/hash.ts
|
|
179
|
-
function djb2Hash(str) {
|
|
180
|
-
let hash = 0;
|
|
181
|
-
for (let i = 0;i < str.length; i++) {
|
|
182
|
-
hash = (hash << 5) - hash + str.charCodeAt(i) | 0;
|
|
183
|
-
}
|
|
184
|
-
return hash;
|
|
185
|
-
}
|
|
186
|
-
function hashContent(content) {
|
|
187
|
-
if (typeof Bun !== "undefined") {
|
|
188
|
-
return Bun.hash(content).toString();
|
|
189
|
-
}
|
|
190
|
-
const crypto = __require("crypto");
|
|
191
|
-
return crypto.createHash("sha256").update(content).digest("hex");
|
|
192
|
-
}
|
|
193
|
-
function hashPair(a, b) {
|
|
194
|
-
if (typeof Bun !== "undefined") {
|
|
195
|
-
return Bun.hash(b, Bun.hash(a)).toString();
|
|
196
|
-
}
|
|
197
|
-
const crypto = __require("crypto");
|
|
198
|
-
return crypto.createHash("sha256").update(a).update("\x00").update(b).digest("hex");
|
|
199
|
-
}
|
|
200
|
-
var init_hash = () => {};
|
|
201
|
-
|
|
202
|
-
// src/utils/cachePaths.ts
|
|
203
|
-
import { join } from "path";
|
|
204
|
-
function sanitizePath(name) {
|
|
205
|
-
const sanitized = name.replace(/[^a-zA-Z0-9]/g, "-");
|
|
206
|
-
if (sanitized.length <= MAX_SANITIZED_LENGTH) {
|
|
207
|
-
return sanitized;
|
|
208
|
-
}
|
|
209
|
-
return `${sanitized.slice(0, MAX_SANITIZED_LENGTH)}-${Math.abs(djb2Hash(name)).toString(36)}`;
|
|
210
|
-
}
|
|
211
|
-
function getProjectDir(cwd) {
|
|
212
|
-
return sanitizePath(cwd);
|
|
213
|
-
}
|
|
214
|
-
var paths, MAX_SANITIZED_LENGTH = 200, CACHE_PATHS;
|
|
215
|
-
var init_cachePaths = __esm(() => {
|
|
216
|
-
init_env_paths();
|
|
217
|
-
init_fsOperations();
|
|
218
|
-
init_hash();
|
|
219
|
-
paths = envPaths("claude-cli");
|
|
220
|
-
CACHE_PATHS = {
|
|
221
|
-
baseLogs: () => join(paths.cache, getProjectDir(getFsImplementation().cwd())),
|
|
222
|
-
errors: () => join(paths.cache, getProjectDir(getFsImplementation().cwd()), "errors"),
|
|
223
|
-
messages: () => join(paths.cache, getProjectDir(getFsImplementation().cwd()), "messages"),
|
|
224
|
-
mcpLogs: (serverName) => join(paths.cache, getProjectDir(getFsImplementation().cwd()), `mcp-logs-${sanitizePath(serverName)}`)
|
|
225
|
-
};
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
// src/utils/displayTags.ts
|
|
229
|
-
function stripDisplayTags(text) {
|
|
230
|
-
const result = text.replace(XML_TAG_BLOCK_PATTERN, "").trim();
|
|
231
|
-
return result || text;
|
|
232
|
-
}
|
|
233
|
-
function stripDisplayTagsAllowEmpty(text) {
|
|
234
|
-
return text.replace(XML_TAG_BLOCK_PATTERN, "").trim();
|
|
235
|
-
}
|
|
236
|
-
function stripIdeContextTags(text) {
|
|
237
|
-
return text.replace(IDE_CONTEXT_TAGS_PATTERN, "").trim();
|
|
238
|
-
}
|
|
239
|
-
var XML_TAG_BLOCK_PATTERN, IDE_CONTEXT_TAGS_PATTERN;
|
|
240
|
-
var init_displayTags = __esm(() => {
|
|
241
|
-
XML_TAG_BLOCK_PATTERN = /<([a-z][\w-]*)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g;
|
|
242
|
-
IDE_CONTEXT_TAGS_PATTERN = /<(ide_opened_file|ide_selection)(?:\s[^>]*)?>[\s\S]*?<\/\1>\n?/g;
|
|
243
|
-
});
|
|
244
|
-
|
|
245
|
-
// src/utils/log.ts
|
|
246
|
-
function getLogDisplayTitle(log, defaultTitle) {
|
|
247
|
-
const isAutonomousPrompt = log.firstPrompt?.startsWith(`<${TICK_TAG}>`);
|
|
248
|
-
const strippedFirstPrompt = log.firstPrompt ? stripDisplayTagsAllowEmpty(log.firstPrompt) : "";
|
|
249
|
-
const useFirstPrompt = strippedFirstPrompt && !isAutonomousPrompt;
|
|
250
|
-
const title = log.agentName || log.customTitle || log.summary || (useFirstPrompt ? strippedFirstPrompt : undefined) || defaultTitle || (isAutonomousPrompt ? "Autonomous session" : undefined) || (log.sessionId ? log.sessionId.slice(0, 8) : "") || "";
|
|
251
|
-
return stripDisplayTags(title).trim();
|
|
252
|
-
}
|
|
253
|
-
function dateToFilename(date) {
|
|
254
|
-
return date.toISOString().replace(/[:.]/g, "-");
|
|
255
|
-
}
|
|
256
|
-
function addToInMemoryErrorLog(errorInfo) {
|
|
257
|
-
if (inMemoryErrorLog.length >= MAX_IN_MEMORY_ERRORS) {
|
|
258
|
-
inMemoryErrorLog.shift();
|
|
259
|
-
}
|
|
260
|
-
inMemoryErrorLog.push(errorInfo);
|
|
261
|
-
}
|
|
262
|
-
function attachErrorLogSink(newSink) {
|
|
263
|
-
if (errorLogSink !== null) {
|
|
264
|
-
return;
|
|
265
|
-
}
|
|
266
|
-
errorLogSink = newSink;
|
|
267
|
-
if (errorQueue.length > 0) {
|
|
268
|
-
const queuedEvents = [...errorQueue];
|
|
269
|
-
errorQueue.length = 0;
|
|
270
|
-
for (const event of queuedEvents) {
|
|
271
|
-
switch (event.type) {
|
|
272
|
-
case "error":
|
|
273
|
-
errorLogSink.logError(event.error);
|
|
274
|
-
break;
|
|
275
|
-
case "mcpError":
|
|
276
|
-
errorLogSink.logMCPError(event.serverName, event.error);
|
|
277
|
-
break;
|
|
278
|
-
case "mcpDebug":
|
|
279
|
-
errorLogSink.logMCPDebug(event.serverName, event.message);
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
function logError(error) {
|
|
286
|
-
const err = toError(error);
|
|
287
|
-
if (false) {}
|
|
288
|
-
try {
|
|
289
|
-
if (process.env.DISABLE_ERROR_REPORTING || isEssentialTrafficOnly()) {
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
const errorStr = err.stack || err.message;
|
|
293
|
-
const errorInfo = {
|
|
294
|
-
error: errorStr,
|
|
295
|
-
timestamp: new Date().toISOString()
|
|
296
|
-
};
|
|
297
|
-
addToInMemoryErrorLog(errorInfo);
|
|
298
|
-
if (errorLogSink === null) {
|
|
299
|
-
errorQueue.push({ type: "error", error: err });
|
|
300
|
-
return;
|
|
301
|
-
}
|
|
302
|
-
errorLogSink.logError(err);
|
|
303
|
-
} catch {}
|
|
304
|
-
}
|
|
305
|
-
function getInMemoryErrors() {
|
|
306
|
-
return [...inMemoryErrorLog];
|
|
307
|
-
}
|
|
308
|
-
function logMCPError(serverName, error) {
|
|
309
|
-
try {
|
|
310
|
-
if (errorLogSink === null) {
|
|
311
|
-
errorQueue.push({ type: "mcpError", serverName, error });
|
|
312
|
-
return;
|
|
313
|
-
}
|
|
314
|
-
errorLogSink.logMCPError(serverName, error);
|
|
315
|
-
} catch {}
|
|
316
|
-
}
|
|
317
|
-
function logMCPDebug(serverName, message) {
|
|
318
|
-
try {
|
|
319
|
-
if (errorLogSink === null) {
|
|
320
|
-
errorQueue.push({ type: "mcpDebug", serverName, message });
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
errorLogSink.logMCPDebug(serverName, message);
|
|
324
|
-
} catch {}
|
|
325
|
-
}
|
|
326
|
-
function captureAPIRequest(params, querySource) {
|
|
327
|
-
if (!querySource || !querySource.startsWith("repl_main_thread")) {
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
const { messages, ...paramsWithoutMessages } = params;
|
|
331
|
-
setLastAPIRequest(paramsWithoutMessages);
|
|
332
|
-
setLastAPIRequestMessages(process.env.USER_TYPE === "ant" ? messages : null);
|
|
333
|
-
}
|
|
334
|
-
var MAX_IN_MEMORY_ERRORS = 100, inMemoryErrorLog, errorQueue, errorLogSink = null, isHardFailMode;
|
|
335
|
-
var init_log = __esm(() => {
|
|
336
|
-
init_memoize();
|
|
337
|
-
init_state();
|
|
338
|
-
init_xml();
|
|
339
|
-
init_logs();
|
|
340
|
-
init_cachePaths();
|
|
341
|
-
init_displayTags();
|
|
342
|
-
init_errors();
|
|
343
|
-
init_privacyLevel();
|
|
344
|
-
init_slowOperations();
|
|
345
|
-
inMemoryErrorLog = [];
|
|
346
|
-
errorQueue = [];
|
|
347
|
-
isHardFailMode = memoize_default(() => {
|
|
348
|
-
return process.argv.includes("--hard-fail");
|
|
349
|
-
});
|
|
350
|
-
});
|
|
351
|
-
|
|
352
|
-
export { COMMAND_NAME_TAG, COMMAND_MESSAGE_TAG, COMMAND_ARGS_TAG, BASH_INPUT_TAG, BASH_STDOUT_TAG, BASH_STDERR_TAG, LOCAL_COMMAND_STDOUT_TAG, LOCAL_COMMAND_STDERR_TAG, LOCAL_COMMAND_CAVEAT_TAG, TERMINAL_OUTPUT_TAGS, TICK_TAG, TASK_NOTIFICATION_TAG, TASK_ID_TAG, TOOL_USE_ID_TAG, TASK_TYPE_TAG, OUTPUT_FILE_TAG, STATUS_TAG, SUMMARY_TAG, WORKTREE_TAG, WORKTREE_PATH_TAG, WORKTREE_BRANCH_TAG, REMOTE_REVIEW_TAG, REMOTE_REVIEW_PROGRESS_TAG, TEAMMATE_MESSAGE_TAG, CHANNEL_TAG, FORK_BOILERPLATE_TAG, FORK_DIRECTIVE_PREFIX, COMMON_HELP_ARGS, COMMON_INFO_ARGS, init_xml, sortLogs, init_logs, djb2Hash, hashContent, hashPair, init_hash, CACHE_PATHS, init_cachePaths, stripDisplayTags, stripIdeContextTags, init_displayTags, isEssentialTrafficOnly, isTelemetryDisabled, getEssentialTrafficOnlyReason, init_privacyLevel, getLogDisplayTitle, dateToFilename, attachErrorLogSink, logError, getInMemoryErrors, logMCPError, logMCPDebug, captureAPIRequest, init_log };
|
package/dist/chunk-7cdy4aj6.js
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
REPL
|
|
4
|
-
} from "./chunk-jwpp2bq2.js";
|
|
5
|
-
import"./chunk-vw5jzpcm.js";
|
|
6
|
-
import"./chunk-5mrc0ps5.js";
|
|
7
|
-
import"./chunk-h3vyya5n.js";
|
|
8
|
-
import"./chunk-0txtpamh.js";
|
|
9
|
-
import"./chunk-hzbr9543.js";
|
|
10
|
-
import"./chunk-thenr6b3.js";
|
|
11
|
-
import"./chunk-xtdm6ejq.js";
|
|
12
|
-
import"./chunk-mswx2nma.js";
|
|
13
|
-
import"./chunk-xvk90wpt.js";
|
|
14
|
-
import"./chunk-xhfmdq1y.js";
|
|
15
|
-
import"./chunk-h9n54swm.js";
|
|
16
|
-
import"./chunk-1vp22nex.js";
|
|
17
|
-
import"./chunk-3mgywd32.js";
|
|
18
|
-
import"./chunk-3e4r5pmc.js";
|
|
19
|
-
import"./chunk-wgd4n1q7.js";
|
|
20
|
-
import"./chunk-frwznxnf.js";
|
|
21
|
-
import"./chunk-rhvn1rqs.js";
|
|
22
|
-
import"./chunk-ecv9kbtk.js";
|
|
23
|
-
import"./chunk-9957ffjc.js";
|
|
24
|
-
import"./chunk-7skyagc2.js";
|
|
25
|
-
import"./chunk-t1s91wrk.js";
|
|
26
|
-
import"./chunk-0paqc2yw.js";
|
|
27
|
-
import"./chunk-c4d52460.js";
|
|
28
|
-
import"./chunk-r7684mmh.js";
|
|
29
|
-
import"./chunk-c6sjhj89.js";
|
|
30
|
-
import"./chunk-zcgprbyy.js";
|
|
31
|
-
import"./chunk-1hx5g6qy.js";
|
|
32
|
-
import"./chunk-cnsj3vq2.js";
|
|
33
|
-
import"./chunk-1486qzk5.js";
|
|
34
|
-
import"./chunk-j99ms5ep.js";
|
|
35
|
-
import"./chunk-zyjkg76f.js";
|
|
36
|
-
import"./chunk-azv68vk1.js";
|
|
37
|
-
import"./chunk-fesvrjhd.js";
|
|
38
|
-
import"./chunk-84cdy41j.js";
|
|
39
|
-
import"./chunk-1hqb50ne.js";
|
|
40
|
-
import"./chunk-thmtkfgj.js";
|
|
41
|
-
import"./chunk-vtmxgm1m.js";
|
|
42
|
-
import"./chunk-5ccdsxgy.js";
|
|
43
|
-
import"./chunk-wm1zm5xj.js";
|
|
44
|
-
import"./chunk-8jy18nx9.js";
|
|
45
|
-
import"./chunk-hg6fwhj1.js";
|
|
46
|
-
import"./chunk-hgmhngje.js";
|
|
47
|
-
import"./chunk-njw0haha.js";
|
|
48
|
-
import"./chunk-xw99fqv1.js";
|
|
49
|
-
import"./chunk-p9ny0p2a.js";
|
|
50
|
-
import"./chunk-qqs58ywv.js";
|
|
51
|
-
import"./chunk-vyz3v0qx.js";
|
|
52
|
-
import"./chunk-w6mcmmt5.js";
|
|
53
|
-
import"./chunk-cay13mxk.js";
|
|
54
|
-
import"./chunk-sjpqw47t.js";
|
|
55
|
-
import"./chunk-rnxpvm3m.js";
|
|
56
|
-
import"./chunk-q8hxwh48.js";
|
|
57
|
-
import"./chunk-9wf3fc4t.js";
|
|
58
|
-
import"./chunk-wa0xgm6m.js";
|
|
59
|
-
import"./chunk-x7fdwq3d.js";
|
|
60
|
-
import"./chunk-jtgyzqbq.js";
|
|
61
|
-
import"./chunk-hg45r671.js";
|
|
62
|
-
import"./chunk-xffb3dsw.js";
|
|
63
|
-
import"./chunk-t9p85zff.js";
|
|
64
|
-
import"./chunk-frm7mphm.js";
|
|
65
|
-
import"./chunk-v3s93bzd.js";
|
|
66
|
-
import"./chunk-rn0v1hk8.js";
|
|
67
|
-
import"./chunk-wa8yn2p0.js";
|
|
68
|
-
import"./chunk-93vwm44t.js";
|
|
69
|
-
import"./chunk-mcws22k3.js";
|
|
70
|
-
import"./chunk-jzthz1bx.js";
|
|
71
|
-
import"./chunk-rz94yg8c.js";
|
|
72
|
-
import"./chunk-hwfknpxv.js";
|
|
73
|
-
import"./chunk-1gx78081.js";
|
|
74
|
-
import"./chunk-ehtwnxpg.js";
|
|
75
|
-
import"./chunk-54wn2jdr.js";
|
|
76
|
-
import"./chunk-wkt2q02c.js";
|
|
77
|
-
import"./chunk-87xg6yb4.js";
|
|
78
|
-
import"./chunk-2yxqz99n.js";
|
|
79
|
-
import"./chunk-2gzv8nrw.js";
|
|
80
|
-
import"./chunk-sdfvr9ps.js";
|
|
81
|
-
import"./chunk-cgfdkzhb.js";
|
|
82
|
-
import"./chunk-xswyz2es.js";
|
|
83
|
-
import"./chunk-j5bth84e.js";
|
|
84
|
-
import"./chunk-b6prbsae.js";
|
|
85
|
-
import"./chunk-ps49ymvj.js";
|
|
86
|
-
import"./chunk-68ffk5qa.js";
|
|
87
|
-
import"./chunk-ratnrv9v.js";
|
|
88
|
-
import"./chunk-7cje7scj.js";
|
|
89
|
-
import"./chunk-7krg0dkt.js";
|
|
90
|
-
import"./chunk-kxrrtr3p.js";
|
|
91
|
-
import"./chunk-p7vkh4wx.js";
|
|
92
|
-
import"./chunk-6wzg2hpc.js";
|
|
93
|
-
import"./chunk-9w114071.js";
|
|
94
|
-
import"./chunk-3pzwd6qq.js";
|
|
95
|
-
import"./chunk-2vteceqh.js";
|
|
96
|
-
import"./chunk-xeb6075z.js";
|
|
97
|
-
import"./chunk-nrjtxhyr.js";
|
|
98
|
-
import"./chunk-v4t6dyyh.js";
|
|
99
|
-
import"./chunk-2vbash3m.js";
|
|
100
|
-
import"./chunk-bzatg35k.js";
|
|
101
|
-
import"./chunk-qctsv1d7.js";
|
|
102
|
-
import"./chunk-p4196wzm.js";
|
|
103
|
-
import"./chunk-7hrmxpha.js";
|
|
104
|
-
import"./chunk-6nsd9606.js";
|
|
105
|
-
import"./chunk-rkv8bdtr.js";
|
|
106
|
-
import"./chunk-64c1avct.js";
|
|
107
|
-
import"./chunk-8g5pe1gr.js";
|
|
108
|
-
import"./chunk-4pbx3g7s.js";
|
|
109
|
-
import"./chunk-26wtxbdc.js";
|
|
110
|
-
import"./chunk-z6wm96eh.js";
|
|
111
|
-
import"./chunk-4jm600zv.js";
|
|
112
|
-
import"./chunk-1v01c96r.js";
|
|
113
|
-
import"./chunk-8b2y3x7a.js";
|
|
114
|
-
import"./chunk-3c25bcsw.js";
|
|
115
|
-
import"./chunk-cexw1jmv.js";
|
|
116
|
-
import"./chunk-j35mw64g.js";
|
|
117
|
-
import"./chunk-cdz5yb0r.js";
|
|
118
|
-
import"./chunk-c7jwbe76.js";
|
|
119
|
-
import"./chunk-0vkfrmqm.js";
|
|
120
|
-
import"./chunk-7sgtxrsc.js";
|
|
121
|
-
import"./chunk-0xjaqda8.js";
|
|
122
|
-
import"./chunk-x8d2ehd7.js";
|
|
123
|
-
import"./chunk-3e28fvn0.js";
|
|
124
|
-
import"./chunk-kjqyhxz7.js";
|
|
125
|
-
import"./chunk-4ayjwyqj.js";
|
|
126
|
-
import"./chunk-qnfx3qtx.js";
|
|
127
|
-
import"./chunk-40s88wdg.js";
|
|
128
|
-
import"./chunk-5cxjxxx8.js";
|
|
129
|
-
import"./chunk-s8kj6ajy.js";
|
|
130
|
-
import"./chunk-qcrpqjya.js";
|
|
131
|
-
import"./chunk-skp5w8bq.js";
|
|
132
|
-
import"./chunk-5z28bqne.js";
|
|
133
|
-
import"./chunk-qajrkk97.js";
|
|
134
|
-
import"./chunk-pd2vy8hx.js";
|
|
135
|
-
import"./chunk-nsc89h0n.js";
|
|
136
|
-
import"./chunk-fbv4apne.js";
|
|
137
|
-
import"./chunk-k8vp0atq.js";
|
|
138
|
-
import"./chunk-vf612n57.js";
|
|
139
|
-
import"./chunk-07069jq1.js";
|
|
140
|
-
import"./chunk-d4mdda98.js";
|
|
141
|
-
import"./chunk-55raexh7.js";
|
|
142
|
-
import"./chunk-v9smspw2.js";
|
|
143
|
-
import"./chunk-v1kzp02e.js";
|
|
144
|
-
import"./chunk-7wm5s02e.js";
|
|
145
|
-
import"./chunk-b0kf00ff.js";
|
|
146
|
-
import"./chunk-netzwgv1.js";
|
|
147
|
-
import"./chunk-qp2qdcda.js";
|
|
148
|
-
export {
|
|
149
|
-
REPL
|
|
150
|
-
};
|
package/dist/chunk-rkv8bdtr.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
init_log,
|
|
4
|
-
logError
|
|
5
|
-
} from "./chunk-5cxjxxx8.js";
|
|
6
|
-
import {
|
|
7
|
-
getFsImplementation,
|
|
8
|
-
init_fsOperations
|
|
9
|
-
} from "./chunk-pd2vy8hx.js";
|
|
10
|
-
import {
|
|
11
|
-
init_memoize,
|
|
12
|
-
memoize_default
|
|
13
|
-
} from "./chunk-vf612n57.js";
|
|
14
|
-
import {
|
|
15
|
-
__esm
|
|
16
|
-
} from "./chunk-qp2qdcda.js";
|
|
17
|
-
|
|
18
|
-
// src/utils/platform.ts
|
|
19
|
-
import { readdir, readFile } from "fs/promises";
|
|
20
|
-
import { release as osRelease } from "os";
|
|
21
|
-
async function detectVcs(dir) {
|
|
22
|
-
const detected = new Set;
|
|
23
|
-
if (process.env.P4PORT) {
|
|
24
|
-
detected.add("perforce");
|
|
25
|
-
}
|
|
26
|
-
try {
|
|
27
|
-
const targetDir = dir ?? getFsImplementation().cwd();
|
|
28
|
-
const entries = new Set(await readdir(targetDir));
|
|
29
|
-
for (const [marker, vcs] of VCS_MARKERS) {
|
|
30
|
-
if (entries.has(marker)) {
|
|
31
|
-
detected.add(vcs);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
} catch {}
|
|
35
|
-
return [...detected];
|
|
36
|
-
}
|
|
37
|
-
var SUPPORTED_PLATFORMS, getPlatform, getWslVersion, getLinuxDistroInfo, VCS_MARKERS;
|
|
38
|
-
var init_platform = __esm(() => {
|
|
39
|
-
init_memoize();
|
|
40
|
-
init_fsOperations();
|
|
41
|
-
init_log();
|
|
42
|
-
SUPPORTED_PLATFORMS = ["macos", "wsl"];
|
|
43
|
-
getPlatform = memoize_default(() => {
|
|
44
|
-
try {
|
|
45
|
-
if (process.platform === "darwin") {
|
|
46
|
-
return "macos";
|
|
47
|
-
}
|
|
48
|
-
if (process.platform === "win32") {
|
|
49
|
-
return "windows";
|
|
50
|
-
}
|
|
51
|
-
if (process.platform === "linux") {
|
|
52
|
-
try {
|
|
53
|
-
const procVersion = getFsImplementation().readFileSync("/proc/version", { encoding: "utf8" });
|
|
54
|
-
if (procVersion.toLowerCase().includes("microsoft") || procVersion.toLowerCase().includes("wsl")) {
|
|
55
|
-
return "wsl";
|
|
56
|
-
}
|
|
57
|
-
} catch (error) {
|
|
58
|
-
logError(error);
|
|
59
|
-
}
|
|
60
|
-
return "linux";
|
|
61
|
-
}
|
|
62
|
-
return "unknown";
|
|
63
|
-
} catch (error) {
|
|
64
|
-
logError(error);
|
|
65
|
-
return "unknown";
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
getWslVersion = memoize_default(() => {
|
|
69
|
-
if (process.platform !== "linux") {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
try {
|
|
73
|
-
const procVersion = getFsImplementation().readFileSync("/proc/version", {
|
|
74
|
-
encoding: "utf8"
|
|
75
|
-
});
|
|
76
|
-
const wslVersionMatch = procVersion.match(/WSL(\d+)/i);
|
|
77
|
-
if (wslVersionMatch && wslVersionMatch[1]) {
|
|
78
|
-
return wslVersionMatch[1];
|
|
79
|
-
}
|
|
80
|
-
if (procVersion.toLowerCase().includes("microsoft")) {
|
|
81
|
-
return "1";
|
|
82
|
-
}
|
|
83
|
-
return;
|
|
84
|
-
} catch (error) {
|
|
85
|
-
logError(error);
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
getLinuxDistroInfo = memoize_default(async () => {
|
|
90
|
-
if (process.platform !== "linux") {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const result = {
|
|
94
|
-
linuxKernel: osRelease()
|
|
95
|
-
};
|
|
96
|
-
try {
|
|
97
|
-
const content = await readFile("/etc/os-release", "utf8");
|
|
98
|
-
for (const line of content.split(`
|
|
99
|
-
`)) {
|
|
100
|
-
const match = line.match(/^(ID|VERSION_ID)=(.*)$/);
|
|
101
|
-
if (match && match[1] && match[2]) {
|
|
102
|
-
const value = match[2].replace(/^"|"$/g, "");
|
|
103
|
-
if (match[1] === "ID") {
|
|
104
|
-
result.linuxDistroId = value;
|
|
105
|
-
} else {
|
|
106
|
-
result.linuxDistroVersion = value;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
} catch {}
|
|
111
|
-
return result;
|
|
112
|
-
});
|
|
113
|
-
VCS_MARKERS = [
|
|
114
|
-
[".git", "git"],
|
|
115
|
-
[".hg", "mercurial"],
|
|
116
|
-
[".svn", "svn"],
|
|
117
|
-
[".p4config", "perforce"],
|
|
118
|
-
["$tf", "tfs"],
|
|
119
|
-
[".tfvc", "tfs"],
|
|
120
|
-
[".jj", "jujutsu"],
|
|
121
|
-
[".sl", "sapling"]
|
|
122
|
-
];
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
export { SUPPORTED_PLATFORMS, getPlatform, getWslVersion, getLinuxDistroInfo, detectVcs, init_platform };
|