@caspian2026/agent-sdk 0.0.11 → 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-0k9sft0s.js → chunk-00d76x8k.js} +35 -37
- package/dist/{chunk-f73trmvk.js → chunk-0b7gfh40.js} +34 -36
- package/dist/{chunk-1gz2wrhq.js → chunk-0q7109wh.js} +37 -39
- package/dist/{chunk-zbb7qd0v.js → chunk-0rb968t3.js} +4 -4
- package/dist/{chunk-hadww3nd.js → chunk-0wy4ckdx.js} +6 -8
- package/dist/{chunk-v6fcbmqz.js → chunk-0z0jnhy4.js} +77 -81
- package/dist/{chunk-1etzkkxs.js → chunk-11snnhy9.js} +1 -1
- package/dist/{chunk-d2g976qe.js → chunk-12s5j5ga.js} +8 -10
- package/dist/chunk-17zbq30e.js +148 -0
- package/dist/{chunk-bhabqhx1.js → chunk-1a245sn2.js} +39 -42
- package/dist/{chunk-cexw1jmv.js → chunk-1a5w7wdt.js} +2 -2
- package/dist/{chunk-wahqac7c.js → chunk-1aq0n033.js} +19 -23
- package/dist/{chunk-0f5anjkb.js → chunk-1pee6gwp.js} +22 -24
- package/dist/{chunk-hekf5s9q.js → chunk-1t59zkwn.js} +2 -2
- package/dist/{chunk-cfyvkbe5.js → chunk-20ka896x.js} +40 -42
- package/dist/{chunk-qmmxwh8x.js → chunk-28za36s8.js} +3 -3
- package/dist/{chunk-vgk0nymz.js → chunk-2apvtmkd.js} +5 -7
- package/dist/{chunk-83b2frat.js → chunk-2avrzsjc.js} +2 -2
- package/dist/{chunk-28k13wc7.js → chunk-2b42fj9k.js} +2 -2
- package/dist/{chunk-wt6v1zbe.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-pcbm66ch.js → chunk-337ft6zr.js} +36 -38
- package/dist/{chunk-fcww10dt.js → chunk-35ezdbnv.js} +16 -18
- package/dist/{chunk-hkgb5y9f.js → chunk-3hmgf3wg.js} +34 -36
- package/dist/{chunk-dsqfe05n.js → chunk-3s0dfr99.js} +34 -36
- package/dist/{chunk-wdzjtdye.js → chunk-43n91ybe.js} +6 -8
- package/dist/{chunk-snxp8mxj.js → chunk-45fm4zby.js} +2 -2
- package/dist/{chunk-fnf4av18.js → chunk-46k21cp2.js} +4 -4
- package/dist/{chunk-9nk34wee.js → chunk-496a2dj9.js} +38 -40
- package/dist/{chunk-kj4m0j4n.js → chunk-4ch0yj7k.js} +7 -9
- package/dist/{chunk-2tfe2zs1.js → chunk-4s4vgf9j.js} +35 -37
- package/dist/{chunk-y1ps26mz.js → chunk-4xes6pr4.js} +34 -36
- package/dist/{chunk-nebntwvd.js → chunk-4zx71gjb.js} +17 -19
- package/dist/{chunk-pp8nrx40.js → chunk-51p97n3a.js} +113 -117
- package/dist/{chunk-6696fngv.js → chunk-542phb5x.js} +10 -14
- package/dist/{chunk-tpn6rh31.js → chunk-57190x8z.js} +14 -16
- package/dist/{chunk-kamesdff.js → chunk-5enwkx00.js} +39 -41
- package/dist/{chunk-r0m970pk.js → chunk-5hz3rcv3.js} +1 -1
- package/dist/{chunk-gw1g065z.js → chunk-5pa7rye9.js} +1 -1
- package/dist/{chunk-hapvn84d.js → chunk-5r10r06a.js} +8 -10
- package/dist/{chunk-ewbvcf88.js → chunk-5rezzje2.js} +6 -8
- package/dist/{chunk-jkens34n.js → chunk-5vktw684.js} +34 -36
- package/dist/{chunk-2072dpbx.js → chunk-5vp228m5.js} +4 -6
- package/dist/{chunk-8r5eevap.js → chunk-5yvg4h4w.js} +14 -16
- package/dist/{chunk-fy543pwf.js → chunk-60q5gfv2.js} +9 -11
- package/dist/{chunk-dmyedkpw.js → chunk-657y059h.js} +6 -7
- package/dist/{chunk-wc0np2zw.js → chunk-6af6k8cg.js} +6 -8
- package/dist/{chunk-pbeee2kp.js → chunk-6e48t2eg.js} +6 -6
- package/dist/{chunk-dhwr4fz4.js → chunk-6e84jw8j.js} +1 -1
- package/dist/{chunk-scrk9jbt.js → chunk-6f02d6a7.js} +17 -19
- package/dist/{chunk-peh3mj19.js → chunk-6f3v6q11.js} +7 -8
- package/dist/{chunk-jperb6n2.js → chunk-6hd3qses.js} +34 -36
- package/dist/{chunk-h7dm24cc.js → chunk-6jbmp7cc.js} +4 -4
- package/dist/{chunk-90bqyqfd.js → chunk-6jh4ktef.js} +34 -36
- package/dist/{chunk-r0dpeqg0.js → chunk-6pjsqs43.js} +8 -8
- package/dist/{chunk-f70fwxds.js → chunk-6prf7w2a.js} +6 -8
- package/dist/{chunk-j3awswy3.js → chunk-6vn3qve2.js} +34 -36
- package/dist/{chunk-z16txqz0.js → chunk-6w51dnv1.js} +2 -2
- package/dist/{chunk-q1j8ebyf.js → chunk-73fcxjts.js} +12 -14
- package/dist/{chunk-bp4s0gry.js → chunk-786fba9z.js} +35 -37
- package/dist/{chunk-38rkx4cj.js → chunk-7bn9x3a4.js} +35 -37
- package/dist/{chunk-6ebvysef.js → chunk-7dzf0vyg.js} +35 -37
- package/dist/{chunk-hzceftr4.js → chunk-7nzbvx9e.js} +2 -2
- package/dist/{chunk-8kmna3cc.js → chunk-7we9b3rw.js} +12 -14
- package/dist/{chunk-y41svpxw.js → chunk-8a0rxq4x.js} +34 -36
- package/dist/{chunk-xemw9d52.js → chunk-8d3kntdb.js} +3 -3
- package/dist/{chunk-jyz65rfv.js → chunk-8qqf4fqb.js} +38 -41
- package/dist/{chunk-7etkb4pr.js → chunk-8y55mc4q.js} +2 -3
- package/dist/{chunk-5pqq0nym.js → chunk-918zn0bw.js} +3 -3
- package/dist/{chunk-xdg2rpj3.js → chunk-92jgn98p.js} +36 -38
- package/dist/{chunk-0ac6r0fw.js → chunk-93hfvyd0.js} +34 -36
- package/dist/{chunk-qb88vpgy.js → chunk-956kn4jm.js} +37 -39
- package/dist/{chunk-4d0g9n3q.js → chunk-95tfr5nc.js} +35 -37
- package/dist/{chunk-zjxv5g2n.js → chunk-99kjyjqv.js} +42 -44
- package/dist/{chunk-40s88wdg.js → chunk-9an46bhy.js} +3 -5
- package/dist/{chunk-fhprmgf4.js → chunk-9cjqv8ks.js} +1 -1
- package/dist/{chunk-h5mkzk0z.js → chunk-9t6ktd1k.js} +2 -2
- package/dist/{chunk-eseq7djh.js → chunk-a1e7apvj.js} +4 -4
- package/dist/{chunk-vhxrn87v.js → chunk-a3tsmh82.js} +39 -42
- package/dist/{chunk-na63s9wn.js → chunk-a4f2eabx.js} +13 -15
- package/dist/{chunk-nrjtxhyr.js → chunk-a4vds27m.js} +1 -1
- package/dist/{chunk-eba0b85f.js → chunk-a7fqavjt.js} +5 -7
- package/dist/{chunk-w1h5z2sy.js → chunk-a9b8mvnf.js} +34 -36
- package/dist/{chunk-jsj3fx0g.js → chunk-agfhxmaa.js} +4 -4
- package/dist/{chunk-wyj3wpjv.js → chunk-arr63gs7.js} +43 -45
- package/dist/{chunk-n9d0gg9z.js → chunk-atm8mys9.js} +10 -10
- package/dist/{chunk-ewhxddsa.js → chunk-ay73qdn7.js} +1 -1
- package/dist/{chunk-mmn62bh2.js → chunk-b4e2yxzs.js} +35 -37
- package/dist/{chunk-7tphrzjj.js → chunk-bas84mgf.js} +1 -1
- package/dist/{chunk-nj02kck4.js → chunk-bf0apkzz.js} +1 -1
- package/dist/{chunk-vgzpbh28.js → chunk-bh3mqd1n.js} +35 -37
- package/dist/{chunk-xv5a2xbe.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-8hn2xqjz.js → chunk-c95dbdzk.js} +2 -2
- package/dist/{chunk-xmdny0m1.js → chunk-cdqb8pyj.js} +15 -17
- package/dist/{chunk-y2r5e6kv.js → chunk-cejztqqp.js} +12 -14
- package/dist/{chunk-z6wm96eh.js → chunk-cfvgegjj.js} +2 -2
- package/dist/{chunk-1wr6ag3j.js → chunk-cgc5028n.js} +6 -8
- package/dist/{chunk-7t5ymv2m.js → chunk-cj7gh4sc.js} +1 -1
- package/dist/{chunk-tn0xnp8a.js → chunk-cmb7rm1k.js} +46 -48
- package/dist/{chunk-cs9aqzag.js → chunk-cmqt0dnf.js} +35 -37
- package/dist/{chunk-gw1a82j8.js → chunk-cnvck8hk.js} +90 -92
- package/dist/{chunk-qxmm3jbn.js → chunk-cp1y5wek.js} +38 -42
- package/dist/{chunk-msvv7dpt.js → chunk-cscffe8t.js} +34 -36
- package/dist/{chunk-r7xpsch7.js → chunk-d4n334px.js} +34 -36
- package/dist/{chunk-h4dnamt5.js → chunk-d6pdfssm.js} +34 -36
- package/dist/{chunk-4re879ja.js → chunk-d7grzg31.js} +35 -37
- package/dist/{chunk-3e28fvn0.js → chunk-db92x7yq.js} +2 -2
- package/dist/{chunk-24t2wjab.js → chunk-dm7fhe2p.js} +1 -1
- package/dist/{chunk-g5epkvz2.js → chunk-dpg9k0qm.js} +6 -8
- package/dist/{chunk-skp5w8bq.js → chunk-dwyaks7s.js} +1 -1
- package/dist/{chunk-8dzg4nr5.js → chunk-e114ax4f.js} +35 -37
- package/dist/{chunk-4pj88fnc.js → chunk-egj7sq93.js} +2 -2
- package/dist/{chunk-2589k4k0.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-2cr43hzw.js → chunk-ez7x0ev9.js} +42 -44
- package/dist/{chunk-vz3pa5n6.js → chunk-f52xxv34.js} +1 -1
- package/dist/{chunk-tq4vws6e.js → chunk-f7y0axm3.js} +2 -2
- package/dist/{chunk-bj85dnsy.js → chunk-f81crq64.js} +13 -15
- package/dist/{chunk-erj5nc8b.js → chunk-fhfbj1pd.js} +37 -39
- package/dist/{chunk-bvdzmdw4.js → chunk-fn9xfcx2.js} +35 -37
- package/dist/{chunk-8b2y3x7a.js → chunk-fys33rtr.js} +1 -1
- package/dist/{chunk-tj6hejny.js → chunk-g3pgn9a9.js} +34 -36
- package/dist/{chunk-cjca0q27.js → chunk-g5jyxbsc.js} +6 -6
- package/dist/{chunk-0dm971mw.js → chunk-g96611rv.js} +2 -2
- package/dist/{chunk-w2vvxj1f.js → chunk-gh9qnfb8.js} +15 -17
- package/dist/{chunk-7ce8wn1f.js → chunk-ghs0pvtp.js} +36 -38
- package/dist/{chunk-k9z36r5q.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-8vkv63c5.js → chunk-h7s9yqgb.js} +1 -1
- package/dist/{chunk-g5pe8dew.js → chunk-h8e89948.js} +4 -5
- package/dist/{chunk-9nj016rn.js → chunk-hcpahckc.js} +2 -2
- package/dist/{chunk-fybanr7d.js → chunk-hgm8d1ke.js} +10 -14
- package/dist/{chunk-wcpmtszh.js → chunk-hm6aeakn.js} +35 -37
- package/dist/{chunk-v3s93bzd.js → chunk-hqdwr6mz.js} +1 -1
- package/dist/{chunk-eqnfk1g0.js → chunk-hy3ye51v.js} +34 -36
- package/dist/{chunk-a3gq2vv4.js → chunk-hy74wncp.js} +9 -9
- package/dist/{chunk-cttezxcb.js → chunk-j1y56wgn.js} +7 -11
- package/dist/{chunk-7krg0dkt.js → chunk-j7ptfetg.js} +1 -1
- package/dist/{chunk-vf9c1649.js → chunk-j8bapw4n.js} +34 -36
- package/dist/{chunk-ggq2y3tn.js → chunk-ja513x2h.js} +162 -166
- package/dist/{chunk-m25yfqc3.js → chunk-ja9h4h89.js} +34 -36
- package/dist/{chunk-aqq5qh2y.js → chunk-jbrktexr.js} +38 -40
- package/dist/{chunk-xswyz2es.js → chunk-jbv0d2xg.js} +1 -1
- package/dist/{chunk-brng9f4q.js → chunk-jry93mfk.js} +34 -36
- package/dist/{chunk-4hgxxzdw.js → chunk-jvwbz0zr.js} +37 -39
- package/dist/{chunk-j513wqe9.js → chunk-kbdaeekj.js} +34 -36
- package/dist/{chunk-kjqyhxz7.js → chunk-kd5k97vr.js} +6 -8
- package/dist/{chunk-ge57c9hg.js → chunk-kj3w1t4e.js} +4 -4
- package/dist/{chunk-6wzg2hpc.js → chunk-kpr0q6sr.js} +1 -1
- package/dist/{chunk-ys17e80d.js → chunk-kweh7zc3.js} +34 -36
- package/dist/{chunk-zmwgp2sh.js → chunk-kxjfdqf8.js} +4 -6
- package/dist/{chunk-nv7vcqme.js → chunk-m6w05wvy.js} +37 -39
- package/dist/{chunk-gbztsm42.js → chunk-m799k476.js} +37 -40
- package/dist/{chunk-bayvqjm6.js → chunk-m9jet1d8.js} +35 -37
- package/dist/{chunk-g8183rkv.js → chunk-mg0an997.js} +3 -3
- package/dist/{chunk-bgyb0z0p.js → chunk-mgg5a735.js} +43 -45
- package/dist/{chunk-b3nkagky.js → chunk-mqqq51yf.js} +2 -2
- package/dist/{chunk-1vhjn1j9.js → chunk-mtb0aeh7.js} +34 -36
- package/dist/{chunk-w5zezk61.js → chunk-mv2g25hg.js} +7 -9
- package/dist/{chunk-q347821k.js → chunk-nasq48jf.js} +42 -44
- package/dist/{chunk-b8f5dz5b.js → chunk-nazmv0yc.js} +5 -7
- package/dist/{chunk-j2x6fp25.js → chunk-nczt1pg8.js} +2 -2
- package/dist/{chunk-400r5gmq.js → chunk-njm3ynry.js} +14 -16
- package/dist/{chunk-mtv83pq4.js → chunk-nqd47stn.js} +46 -48
- package/dist/{chunk-99ck62v1.js → chunk-nwj6zx84.js} +37 -39
- package/dist/{chunk-s3s0611n.js → chunk-p10431ea.js} +1 -1
- package/dist/{chunk-pepgckn4.js → chunk-p546k5vf.js} +12 -14
- package/dist/{chunk-4fh25m1z.js → chunk-p6ayjcy6.js} +7 -7
- package/dist/{chunk-rm4c8zd9.js → chunk-p7t9gxz7.js} +38 -40
- package/dist/{chunk-49bs7x5p.js → chunk-pbejmtc5.js} +62 -65
- package/dist/{chunk-9z45660r.js → chunk-pcv6hjxt.js} +42 -45
- package/dist/{chunk-cdact4jj.js → chunk-pn1gzpw4.js} +15 -17
- package/dist/{chunk-tzzzbb9d.js → chunk-pzhgwt85.js} +4 -4
- package/dist/{chunk-wskkym13.js → chunk-q0dfe2ma.js} +5 -7
- package/dist/{chunk-3we6j8b4.js → chunk-q1tan6f7.js} +6 -8
- package/dist/{chunk-488spx13.js → chunk-q2795dh5.js} +43 -45
- package/dist/{chunk-d7ws01qk.js → chunk-q3b963kf.js} +1 -1
- package/dist/{chunk-66dk94r4.js → chunk-q3jf7cv8.js} +34 -36
- package/dist/{chunk-0kgwksm1.js → chunk-qb786rmk.js} +17 -19
- package/dist/{chunk-pwpk3gm6.js → chunk-qd5n2h9f.js} +5 -7
- package/dist/{chunk-k5mckm5f.js → chunk-qgzma8ky.js} +3 -3
- package/dist/{chunk-2vteceqh.js → chunk-qhsd552n.js} +4 -4
- package/dist/{chunk-9g29z3dv.js → chunk-r328sk36.js} +5 -5
- package/dist/{chunk-8c907cv9.js → chunk-r7xxhzs2.js} +4 -4
- package/dist/{chunk-1pr4hr5x.js → chunk-r8q566z2.js} +37 -39
- package/dist/{chunk-esrkw9v4.js → chunk-rbq4mcw7.js} +2 -2
- package/dist/{chunk-q2fn2p7y.js → chunk-rj6htvwb.js} +34 -36
- package/dist/{chunk-31bwdrm5.js → chunk-rxmv911f.js} +35 -37
- package/dist/{chunk-41en0cc6.js → chunk-sa6bbzsy.js} +11 -13
- package/dist/{chunk-8w8d1k7b.js → chunk-sfsy9bm0.js} +12 -14
- package/dist/{chunk-50art2hr.js → chunk-skr9v618.js} +7 -9
- package/dist/{chunk-r5bf0h0t.js → chunk-t1xq3fhc.js} +37 -39
- package/dist/{chunk-gpzkzg7v.js → chunk-t2ng3ptk.js} +35 -37
- package/dist/{chunk-vdk9b74d.js → chunk-t47pgtvn.js} +17 -19
- package/dist/{chunk-rkvwts6v.js → chunk-t5thxbgd.js} +5 -5
- package/dist/{chunk-8w21adpe.js → chunk-t6b35end.js} +3 -3
- package/dist/{chunk-yrqx3p9k.js → chunk-t74h1vfr.js} +11 -13
- package/dist/{chunk-6zsxtysq.js → chunk-t83k78sc.js} +3 -3
- package/dist/{chunk-vnzgpyrz.js → chunk-tbw0dr1x.js} +7 -9
- package/dist/{chunk-vqh6cjfx.js → chunk-tcjxkf7r.js} +11 -13
- package/dist/{chunk-ykv414dd.js → chunk-te8afx2m.js} +36 -38
- package/dist/{chunk-k7cw1a8a.js → chunk-tmjt0nae.js} +1 -1
- package/dist/{chunk-394djs3v.js → chunk-tw8tg8kd.js} +47 -49
- package/dist/{chunk-67808qek.js → chunk-v2ah6nmr.js} +4 -4
- package/dist/{chunk-2z9rak9s.js → chunk-v3215haz.js} +35 -37
- package/dist/{chunk-69841w77.js → chunk-v3edramj.js} +34 -36
- package/dist/{chunk-ca72efeb.js → chunk-v9dqk91p.js} +38 -41
- package/dist/{chunk-ynkzfhs1.js → chunk-vg83d3zq.js} +13 -15
- package/dist/{chunk-4057dtxd.js → chunk-vpqp1mq8.js} +1 -1
- package/dist/{chunk-765zdaq8.js → chunk-vq3sw69a.js} +36 -38
- package/dist/{chunk-rm9gb396.js → chunk-vwtdaw6w.js} +13 -17
- package/dist/{chunk-4ayjwyqj.js → chunk-w28t9jy7.js} +2 -4
- package/dist/{chunk-jx6k8msx.js → chunk-w7w8t8tn.js} +36 -39
- package/dist/{chunk-pzp8fj0a.js → chunk-w96856xh.js} +46 -48
- package/dist/{chunk-75qqeec8.js → chunk-w9v6bd0p.js} +2 -2
- package/dist/{chunk-j30g8fd1.js → chunk-wb53cfxb.js} +12 -14
- package/dist/{chunk-vc59jf3q.js → chunk-wejkerqs.js} +46 -49
- package/dist/{chunk-n36xjgtj.js → chunk-wnvvmh04.js} +36 -38
- package/dist/{chunk-jqmr6ag1.js → chunk-wz575naw.js} +37 -39
- package/dist/{chunk-ygwcq4vd.js → chunk-x5yc4663.js} +4 -4
- package/dist/{chunk-qywk2c7m.js → chunk-x8webzs9.js} +34 -36
- package/dist/{chunk-s213xmp8.js → chunk-xdzhs9yv.js} +34 -36
- package/dist/{chunk-e82vbky2.js → chunk-xe3c1vqh.js} +36 -39
- package/dist/{chunk-942yq6xx.js → chunk-xe49p33m.js} +4 -6
- package/dist/{chunk-mq94v5vn.js → chunk-xkpb3hbc.js} +4 -6
- package/dist/{chunk-wmbpjx7v.js → chunk-xmv9n004.js} +42 -45
- package/dist/{chunk-pe3n0w2t.js → chunk-xnyztq9h.js} +36 -38
- package/dist/{chunk-f1v8h236.js → chunk-xr05z50c.js} +10 -14
- package/dist/{chunk-rfq9kmsy.js → chunk-xxahhkz2.js} +7 -8
- package/dist/{chunk-pq5290db.js → chunk-y3qrx3ys.js} +34 -36
- package/dist/{chunk-akqsq8bn.js → chunk-y5nttq3d.js} +13 -16
- package/dist/{chunk-qehbwde1.js → chunk-y8thpqv0.js} +35 -37
- package/dist/{chunk-2sqhjnpn.js → chunk-y93z1mpf.js} +34 -36
- package/dist/{chunk-pd2vy8hx.js → chunk-yb6xww2x.js} +525 -56
- package/dist/{chunk-ey1pg5v8.js → chunk-ycc8yj76.js} +46 -48
- package/dist/{chunk-wrsy4y58.js → chunk-yg11waka.js} +36 -38
- package/dist/{chunk-awdftfcf.js → chunk-ynytwr1a.js} +35 -37
- package/dist/{chunk-pm67yj46.js → chunk-ys8cwzed.js} +4 -4
- package/dist/{chunk-y024419t.js → chunk-z3xh5n00.js} +36 -39
- package/dist/{chunk-tgmettzd.js → chunk-zjnpfrg7.js} +6 -6
- package/dist/{chunk-xx709m24.js → chunk-zs8gxf6g.js} +4 -4
- package/dist/{chunk-7p2vw8qe.js → chunk-zzadbnpy.js} +20 -22
- package/dist/cli.js +7 -7
- package/dist/gateway/worker.js +1109 -1079
- package/package.json +1 -1
- package/dist/chunk-5cxjxxx8.js +0 -352
- package/dist/chunk-mgpj5f7h.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-mgpj5f7h.js
DELETED
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
REPL
|
|
4
|
-
} from "./chunk-v6fcbmqz.js";
|
|
5
|
-
import"./chunk-50art2hr.js";
|
|
6
|
-
import"./chunk-wahqac7c.js";
|
|
7
|
-
import"./chunk-ynkzfhs1.js";
|
|
8
|
-
import"./chunk-0f5anjkb.js";
|
|
9
|
-
import"./chunk-67808qek.js";
|
|
10
|
-
import"./chunk-4fh25m1z.js";
|
|
11
|
-
import"./chunk-eseq7djh.js";
|
|
12
|
-
import"./chunk-mswx2nma.js";
|
|
13
|
-
import"./chunk-h5mkzk0z.js";
|
|
14
|
-
import"./chunk-xhfmdq1y.js";
|
|
15
|
-
import"./chunk-h9n54swm.js";
|
|
16
|
-
import"./chunk-8vkv63c5.js";
|
|
17
|
-
import"./chunk-3mgywd32.js";
|
|
18
|
-
import"./chunk-942yq6xx.js";
|
|
19
|
-
import"./chunk-kj4m0j4n.js";
|
|
20
|
-
import"./chunk-5pqq0nym.js";
|
|
21
|
-
import"./chunk-tq4vws6e.js";
|
|
22
|
-
import"./chunk-tzzzbb9d.js";
|
|
23
|
-
import"./chunk-0dm971mw.js";
|
|
24
|
-
import"./chunk-esrkw9v4.js";
|
|
25
|
-
import"./chunk-7t5ymv2m.js";
|
|
26
|
-
import"./chunk-0paqc2yw.js";
|
|
27
|
-
import"./chunk-zbb7qd0v.js";
|
|
28
|
-
import"./chunk-wt6v1zbe.js";
|
|
29
|
-
import"./chunk-c6sjhj89.js";
|
|
30
|
-
import"./chunk-7p2vw8qe.js";
|
|
31
|
-
import"./chunk-ygwcq4vd.js";
|
|
32
|
-
import"./chunk-cnsj3vq2.js";
|
|
33
|
-
import"./chunk-8w21adpe.js";
|
|
34
|
-
import"./chunk-zmwgp2sh.js";
|
|
35
|
-
import"./chunk-cjca0q27.js";
|
|
36
|
-
import"./chunk-hzceftr4.js";
|
|
37
|
-
import"./chunk-hapvn84d.js";
|
|
38
|
-
import"./chunk-wc0np2zw.js";
|
|
39
|
-
import"./chunk-1wr6ag3j.js";
|
|
40
|
-
import"./chunk-3we6j8b4.js";
|
|
41
|
-
import"./chunk-b8f5dz5b.js";
|
|
42
|
-
import"./chunk-5ccdsxgy.js";
|
|
43
|
-
import"./chunk-hekf5s9q.js";
|
|
44
|
-
import"./chunk-xv5a2xbe.js";
|
|
45
|
-
import"./chunk-1etzkkxs.js";
|
|
46
|
-
import"./chunk-8c907cv9.js";
|
|
47
|
-
import"./chunk-a3gq2vv4.js";
|
|
48
|
-
import"./chunk-fnf4av18.js";
|
|
49
|
-
import"./chunk-8r5eevap.js";
|
|
50
|
-
import"./chunk-qmmxwh8x.js";
|
|
51
|
-
import"./chunk-rkvwts6v.js";
|
|
52
|
-
import"./chunk-d2g976qe.js";
|
|
53
|
-
import"./chunk-pm67yj46.js";
|
|
54
|
-
import"./chunk-k5mckm5f.js";
|
|
55
|
-
import"./chunk-s3s0611n.js";
|
|
56
|
-
import"./chunk-ewhxddsa.js";
|
|
57
|
-
import"./chunk-j2x6fp25.js";
|
|
58
|
-
import"./chunk-fybanr7d.js";
|
|
59
|
-
import"./chunk-x7fdwq3d.js";
|
|
60
|
-
import"./chunk-eba0b85f.js";
|
|
61
|
-
import"./chunk-9nj016rn.js";
|
|
62
|
-
import"./chunk-r0m970pk.js";
|
|
63
|
-
import"./chunk-t9p85zff.js";
|
|
64
|
-
import"./chunk-fy543pwf.js";
|
|
65
|
-
import"./chunk-v3s93bzd.js";
|
|
66
|
-
import"./chunk-rn0v1hk8.js";
|
|
67
|
-
import"./chunk-wa8yn2p0.js";
|
|
68
|
-
import"./chunk-ggq2y3tn.js";
|
|
69
|
-
import"./chunk-mcws22k3.js";
|
|
70
|
-
import"./chunk-jzthz1bx.js";
|
|
71
|
-
import"./chunk-mq94v5vn.js";
|
|
72
|
-
import"./chunk-hwfknpxv.js";
|
|
73
|
-
import"./chunk-1gx78081.js";
|
|
74
|
-
import"./chunk-ehtwnxpg.js";
|
|
75
|
-
import"./chunk-75qqeec8.js";
|
|
76
|
-
import"./chunk-hadww3nd.js";
|
|
77
|
-
import"./chunk-87xg6yb4.js";
|
|
78
|
-
import"./chunk-w5zezk61.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-6696fngv.js";
|
|
85
|
-
import"./chunk-ps49ymvj.js";
|
|
86
|
-
import"./chunk-68ffk5qa.js";
|
|
87
|
-
import"./chunk-g8183rkv.js";
|
|
88
|
-
import"./chunk-vnzgpyrz.js";
|
|
89
|
-
import"./chunk-7krg0dkt.js";
|
|
90
|
-
import"./chunk-4057dtxd.js";
|
|
91
|
-
import"./chunk-p7vkh4wx.js";
|
|
92
|
-
import"./chunk-6wzg2hpc.js";
|
|
93
|
-
import"./chunk-9g29z3dv.js";
|
|
94
|
-
import"./chunk-7tphrzjj.js";
|
|
95
|
-
import"./chunk-2vteceqh.js";
|
|
96
|
-
import"./chunk-xeb6075z.js";
|
|
97
|
-
import"./chunk-nrjtxhyr.js";
|
|
98
|
-
import"./chunk-v4t6dyyh.js";
|
|
99
|
-
import"./chunk-g5epkvz2.js";
|
|
100
|
-
import"./chunk-bzatg35k.js";
|
|
101
|
-
import"./chunk-rm9gb396.js";
|
|
102
|
-
import"./chunk-p4196wzm.js";
|
|
103
|
-
import"./chunk-cttezxcb.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 };
|