@caspian2026/agent-sdk 0.0.7 → 0.0.9
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-04h360ha.js +57 -0
- package/dist/{chunk-jmkn11my.js → chunk-04pw5akr.js} +20 -20
- package/dist/{chunk-cd7mmbch.js → chunk-0gpem3pk.js} +46 -45
- package/dist/{chunk-8572g6er.js → chunk-0txtpamh.js} +14 -14
- package/dist/{chunk-4m9df5ef.js → chunk-0v89r445.js} +17 -21
- package/dist/chunk-0vp3wfab.js +12 -0
- package/dist/{chunk-9acr8n74.js → chunk-1486qzk5.js} +6 -4
- package/dist/chunk-1efrnkxx.js +468 -0
- package/dist/chunk-1gaw18rz.js +93 -0
- package/dist/{chunk-ew7mrr5b.js → chunk-1hqb50ne.js} +13 -19
- package/dist/chunk-1hqvvvrt.js +96 -0
- package/dist/{chunk-bgfrg1s9.js → chunk-1hx5g6qy.js} +6 -10
- package/dist/{chunk-3g1vqhyx.js → chunk-1kmwf4vn.js} +17 -21
- package/dist/{chunk-naybw0p0.js → chunk-1nhnn2rg.js} +8 -8
- package/dist/{chunk-f42s8t42.js → chunk-1nvcmzj1.js} +66 -77
- package/dist/{chunk-2f21meep.js → chunk-1v01c96r.js} +1 -1
- package/dist/{chunk-spvdb8m2.js → chunk-1vp22nex.js} +2 -2
- package/dist/{chunk-fnny13es.js → chunk-1yfc1d48.js} +52 -90
- package/dist/{chunk-83e71kz6.js → chunk-2072dpbx.js} +2 -2
- package/dist/{chunk-7rnqsng2.js → chunk-22mfb6bp.js} +19 -19
- package/dist/{chunk-d7886r6a.js → chunk-26wtxbdc.js} +7774 -7774
- package/dist/{chunk-x94btg29.js → chunk-2m32xn94.js} +17 -21
- package/dist/{chunk-mw1kpeg9.js → chunk-2nrarbza.js} +1909 -1377
- package/dist/chunk-2vbash3m.js +331 -0
- package/dist/{chunk-c11swzas.js → chunk-2vteceqh.js} +5 -5
- package/dist/{chunk-h5k7m3dv.js → chunk-2y8x7xt7.js} +2 -2
- package/dist/{chunk-sc3r8ja1.js → chunk-2yxqz99n.js} +9 -9
- package/dist/{chunk-z15sw2rn.js → chunk-35nft36d.js} +205 -261
- package/dist/{chunk-73hc55wr.js → chunk-35z2vxep.js} +49 -48
- package/dist/{chunk-15m49c67.js → chunk-3e28fvn0.js} +2 -2
- package/dist/{chunk-82h5qtz0.js → chunk-3e4r5pmc.js} +3 -3
- package/dist/{chunk-4anwkx68.js → chunk-3fn3ysvs.js} +47 -46
- package/dist/{chunk-4hv90qcz.js → chunk-3mgywd32.js} +1 -1
- package/dist/{chunk-ncvr5h4e.js → chunk-3npsy4c4.js} +46 -45
- package/dist/{chunk-xz655xxa.js → chunk-3pzwd6qq.js} +2 -2
- package/dist/{chunk-70eey1nh.js → chunk-40s88wdg.js} +2 -2
- package/dist/{chunk-41dgt6cv.js → chunk-42a0nyrq.js} +47 -46
- package/dist/{chunk-a6e0hsgy.js → chunk-44t1xk05.js} +46 -45
- package/dist/{chunk-0awwmrwr.js → chunk-4ayjwyqj.js} +2 -2
- package/dist/{chunk-wmqazvaj.js → chunk-4myad919.js} +46 -45
- package/dist/{chunk-8g747a8x.js → chunk-4pbx3g7s.js} +1 -1
- package/dist/chunk-4vtvwg7e.js +99 -0
- package/dist/{chunk-qcnhb4cd.js → chunk-54wn2jdr.js} +3 -3
- package/dist/{chunk-1nk93fqz.js → chunk-5cxjxxx8.js} +2 -7
- package/dist/chunk-5m3m7hr5.js +108 -0
- package/dist/{chunk-v37jby04.js → chunk-5mrc0ps5.js} +37 -41
- package/dist/{chunk-d97v7nqz.js → chunk-5tw3gj5z.js} +47 -46
- package/dist/{chunk-savtj5a5.js → chunk-5zcygjb2.js} +46 -45
- package/dist/{chunk-mk1y74w7.js → chunk-65q3hqkw.js} +17 -21
- package/dist/{chunk-vajwapkf.js → chunk-67wms97m.js} +17 -23
- package/dist/chunk-6cfcqjty.js +441 -0
- package/dist/{chunk-2pn3hdmh.js → chunk-6hs0cptm.js} +56 -55
- package/dist/{chunk-bmbq6nt1.js → chunk-6wzg2hpc.js} +2 -2
- package/dist/chunk-72qa16xm.js +91 -0
- package/dist/chunk-7cdy4aj6.js +150 -0
- package/dist/chunk-7cje7scj.js +1534 -0
- package/dist/{chunk-e7h4qxgw.js → chunk-7etkb4pr.js} +4 -4
- package/dist/{chunk-1ax1znzj.js → chunk-7hrmxpha.js} +6 -6
- package/dist/{chunk-wha6v7za.js → chunk-7krg0dkt.js} +2 -2
- package/dist/{chunk-8g5qecvg.js → chunk-7skyagc2.js} +2 -2
- package/dist/{chunk-hzknr99c.js → chunk-83b2frat.js} +4 -4
- package/dist/{chunk-ze3z2k77.js → chunk-84cdy41j.js} +5 -5
- package/dist/{chunk-bxcfz5gy.js → chunk-87xg6yb4.js} +1 -1
- package/dist/{chunk-nrtksr2p.js → chunk-8b2y3x7a.js} +1 -1
- package/dist/{chunk-1xpvkabk.js → chunk-8ckwc9k8.js} +46 -45
- package/dist/{chunk-n5fmkn61.js → chunk-8jy18nx9.js} +1 -1
- package/dist/{chunk-9s832vcg.js → chunk-93vwm44t.js} +100422 -57117
- package/dist/{chunk-rsgwykdr.js → chunk-9957ffjc.js} +2 -2
- package/dist/{chunk-mnmnk0vk.js → chunk-9byfzaeq.js} +46 -45
- package/dist/chunk-9ewnsd7f.js +31 -0
- package/dist/{chunk-xwg327ys.js → chunk-9w114071.js} +6 -6
- package/dist/chunk-9wf3fc4t.js +29 -0
- package/dist/chunk-9z9teq7p.js +87 -0
- package/dist/{chunk-6p4cyhb3.js → chunk-a6d2q415.js} +2 -2
- package/dist/{chunk-reahw5sg.js → chunk-ay5fvc2r.js} +52 -52
- package/dist/{chunk-4sp1bd4k.js → chunk-ayx9aq2k.js} +47 -46
- package/dist/{chunk-xd7zbrwg.js → chunk-azv68vk1.js} +2 -2
- package/dist/chunk-b547q41s.js +92 -0
- package/dist/{chunk-jgjqa49s.js → chunk-b56smerd.js} +3 -3
- package/dist/{chunk-enkdxqas.js → chunk-b5asw4tj.js} +6 -6
- package/dist/{chunk-nk82j7r2.js → chunk-b6prbsae.js} +7 -7
- package/dist/{chunk-dxc3zg1a.js → chunk-b89ese8r.js} +46 -45
- package/dist/{chunk-094bjqmt.js → chunk-be77bcs8.js} +118 -450
- package/dist/{chunk-9y9mn19n.js → chunk-bf03a1w7.js} +48 -47
- package/dist/{chunk-hzzhz6bk.js → chunk-bjdknxqn.js} +46 -45
- package/dist/{chunk-m87bhhqv.js → chunk-bzatg35k.js} +1 -1
- package/dist/{chunk-d6da7ykp.js → chunk-c4d52460.js} +4 -4
- package/dist/{chunk-cc8k9def.js → chunk-c5zkrd7r.js} +47 -46
- package/dist/{chunk-4140c8xy.js → chunk-c6hsz5ey.js} +20 -24
- package/dist/{chunk-c5fx8078.js → chunk-cay13mxk.js} +15 -31
- package/dist/{chunk-s3hsqf80.js → chunk-cexw1jmv.js} +30 -81
- package/dist/{chunk-cvm2tmwg.js → chunk-ckh4f9ry.js} +20 -24
- package/dist/{chunk-xsqhh4xq.js → chunk-cr1dv2js.js} +50 -48
- package/dist/{chunk-z0gsswja.js → chunk-d8z7pyrb.js} +47 -46
- package/dist/chunk-dexkgxt4.js +211 -0
- package/dist/{chunk-xxw9a0bq.js → chunk-dhwr4fz4.js} +2 -2
- package/dist/{chunk-0ym2z0c7.js → chunk-dj7d67ya.js} +1 -1
- package/dist/chunk-djfq8ws0.js +124 -0
- package/dist/{chunk-x2pvw7xw.js → chunk-dmyedkpw.js} +8 -8
- package/dist/{chunk-6byf11g1.js → chunk-dngfdsm9.js} +108 -102
- package/dist/{chunk-ans094d6.js → chunk-dt3epnwj.js} +9 -9
- package/dist/{chunk-11kx8pnj.js → chunk-dz6zxh89.js} +46 -45
- package/dist/{chunk-q638kksz.js → chunk-e7ag583m.js} +47 -46
- package/dist/{chunk-m2dfsbma.js → chunk-ec6ga5ey.js} +51 -50
- package/dist/{chunk-3t8dtbbb.js → chunk-ecbh4n6q.js} +46 -45
- package/dist/{chunk-1zg9pbp1.js → chunk-ecv9kbtk.js} +11 -9
- package/dist/{chunk-vk664f7z.js → chunk-ecvy1ng2.js} +49 -48
- package/dist/{chunk-wwy9zctx.js → chunk-ef2m4xyz.js} +46 -45
- package/dist/{chunk-8k18jq72.js → chunk-etbb3dss.js} +49 -48
- package/dist/{chunk-jgpmpgx6.js → chunk-etdt1xz3.js} +1 -1
- package/dist/{chunk-eynn8t6t.js → chunk-ev7h351p.js} +4 -4
- package/dist/{chunk-vz0s7fkr.js → chunk-ey0n4emm.js} +46 -45
- package/dist/{chunk-18brvww1.js → chunk-f4tdn7yr.js} +46 -45
- package/dist/{chunk-3dx0vvc1.js → chunk-f4v7t54y.js} +11 -11
- package/dist/{chunk-3xfnvwtv.js → chunk-fesvrjhd.js} +10 -10
- package/dist/{chunk-gmkdyx42.js → chunk-frm7mphm.js} +7 -11
- package/dist/{chunk-tjbyte0q.js → chunk-frwznxnf.js} +3 -3
- package/dist/{chunk-2cszsr9h.js → chunk-ftsdm7y7.js} +54 -53
- package/dist/{chunk-qq0qy55j.js → chunk-g597bz1j.js} +47 -46
- package/dist/chunk-g5pe8dew.js +25 -0
- package/dist/{chunk-7d4bfm01.js → chunk-g78fetxa.js} +46 -45
- package/dist/{chunk-ga86yjm1.js → chunk-gdwdqewd.js} +3 -3
- package/dist/{chunk-qqamxvfj.js → chunk-ghwvqhx9.js} +51 -50
- package/dist/chunk-gkn3jgqn.js +123 -0
- package/dist/{chunk-d78b9d2h.js → chunk-grqhgr2b.js} +3 -3
- package/dist/chunk-grqkx44z.js +90 -0
- package/dist/{chunk-aag7s0gz.js → chunk-gzj94jgg.js} +46 -45
- package/dist/{chunk-zy38jrvg.js → chunk-h3vyya5n.js} +20 -14
- package/dist/{chunk-3t9qyd5r.js → chunk-h4xfadhf.js} +1 -1
- package/dist/chunk-h61d4awv.js +95 -0
- package/dist/{chunk-eps7cerv.js → chunk-hae34yd0.js} +5 -9
- package/dist/{chunk-twj38872.js → chunk-hb1gr101.js} +6 -6
- package/dist/{chunk-t9h8qebb.js → chunk-hg45r671.js} +2 -2
- package/dist/{chunk-m50f6mp5.js → chunk-hg6fwhj1.js} +1 -1
- package/dist/{chunk-nywvvkpj.js → chunk-hgmhngje.js} +4 -4
- package/dist/{chunk-a6pw83yd.js → chunk-hparkfvt.js} +55 -51
- package/dist/{chunk-xhv69ftg.js → chunk-hqjdgc6c.js} +2 -2
- package/dist/{chunk-cha6rd4k.js → chunk-hrhp26d7.js} +55 -54
- package/dist/{chunk-rymqz9ma.js → chunk-hzbr9543.js} +4 -4
- package/dist/{chunk-hjzjr1y9.js → chunk-j0gke393.js} +46 -45
- package/dist/{chunk-yyf72f78.js → chunk-j35mw64g.js} +4 -2
- package/dist/{chunk-425w66ka.js → chunk-j99ms5ep.js} +4 -4
- package/dist/{chunk-ey4j1s04.js → chunk-jgvmjwnx.js} +46 -45
- package/dist/{chunk-t4tgbhrc.js → chunk-jj4zs4gr.js} +46 -45
- package/dist/{chunk-3k65t0n1.js → chunk-jjz3hs34.js} +56 -55
- package/dist/{chunk-68d5h34m.js → chunk-jksf0ax9.js} +51 -49
- package/dist/{chunk-gdhz1652.js → chunk-jqfrz5g9.js} +27 -30
- package/dist/{chunk-q7jnesv8.js → chunk-jsj3fx0g.js} +5 -5
- package/dist/{chunk-vawgyev5.js → chunk-jtgyzqbq.js} +3 -3
- package/dist/{chunk-pxr88dvt.js → chunk-jwpp2bq2.js} +1808 -1643
- package/dist/{chunk-fqy0ymjy.js → chunk-jwwpfq76.js} +49 -45
- package/dist/{chunk-t7vh489d.js → chunk-jxp2j9t5.js} +46 -45
- package/dist/{chunk-zctfbr1v.js → chunk-k7cw1a8a.js} +1 -1
- package/dist/chunk-k8jpbz31.js +62 -0
- package/dist/{chunk-tdbz9gbm.js → chunk-kjqyhxz7.js} +6 -6
- package/dist/{chunk-yc23zxmj.js → chunk-kxrrtr3p.js} +1 -1
- package/dist/chunk-m70n19dz.js +93 -0
- package/dist/{chunk-4nspekjp.js → chunk-mcws22k3.js} +1 -28
- package/dist/{chunk-5ywh2en2.js → chunk-mewywsar.js} +46 -45
- package/dist/{chunk-d3csdgaj.js → chunk-mmhkcj7c.js} +64 -58
- package/dist/{chunk-rm2vtv77.js → chunk-msxggy37.js} +22 -25
- package/dist/{chunk-qp9svhcd.js → chunk-njw0haha.js} +10 -8
- package/dist/{chunk-5rv9c8yd.js → chunk-nrjtxhyr.js} +1 -1
- package/dist/{chunk-nqn45znr.js → chunk-ns7x6xam.js} +9 -9
- package/dist/{chunk-jaaxk89e.js → chunk-nsc89h0n.js} +2 -22
- package/dist/{chunk-z19sd3bt.js → chunk-p4196wzm.js} +5 -5
- package/dist/{chunk-1dgdjrm1.js → chunk-p791ydbm.js} +4 -4
- package/dist/{chunk-4wjdcrjp.js → chunk-p9ny0p2a.js} +13 -13
- package/dist/{chunk-phd1qfpc.js → chunk-pd2vy8hx.js} +5 -5
- package/dist/{chunk-sctapt27.js → chunk-pddf0719.js} +49 -48
- package/dist/{chunk-31k5zj46.js → chunk-pfarypfq.js} +48 -46
- package/dist/{chunk-w4yn8cq7.js → chunk-psm26hv7.js} +8 -8
- package/dist/{chunk-hwn8vetn.js → chunk-pwpk3gm6.js} +10 -10
- package/dist/{chunk-kdtvndzg.js → chunk-q14wrksq.js} +48 -47
- package/dist/{chunk-6zagvgdx.js → chunk-q4f1g9y6.js} +31 -27
- package/dist/{chunk-23jzrwsw.js → chunk-q6tdxy8v.js} +5 -5
- package/dist/chunk-q8hxwh48.js +445 -0
- package/dist/{chunk-eenq3avg.js → chunk-qcrpqjya.js} +1 -1
- package/dist/{chunk-e7efcp3k.js → chunk-qctsv1d7.js} +257 -2857
- package/dist/{chunk-ck0ap688.js → chunk-qkczt8cr.js} +4 -4
- package/dist/{chunk-f81dwk5k.js → chunk-qkp4ygnk.js} +2 -2
- package/dist/{chunk-x968ydc6.js → chunk-qqs58ywv.js} +7 -7
- package/dist/{chunk-c5sd36sr.js → chunk-qxjhw1dt.js} +29 -30
- package/dist/{chunk-rkg741k3.js → chunk-qz0xdht6.js} +14 -14
- package/dist/chunk-r3ehjkj5.js +123 -0
- package/dist/{chunk-n404hpdz.js → chunk-r5nd93kc.js} +1 -1
- package/dist/{chunk-8ezp9zbc.js → chunk-r6nnp8mj.js} +46 -45
- package/dist/{chunk-k0kvs7dv.js → chunk-r7684mmh.js} +5 -5
- package/dist/chunk-ratnrv9v.js +517 -0
- package/dist/{chunk-2s9vbdg2.js → chunk-rfbbcx5s.js} +46 -45
- package/dist/{chunk-z9n0183s.js → chunk-rfq9kmsy.js} +9 -9
- package/dist/{chunk-9s563c87.js → chunk-rhvn1rqs.js} +2 -2
- package/dist/{chunk-gvrjgq1n.js → chunk-rjq5nf1c.js} +16 -20
- package/dist/{chunk-xp61y5ba.js → chunk-rkv8bdtr.js} +2 -2
- package/dist/{chunk-cb2vt4h9.js → chunk-rmpaj37q.js} +48 -47
- package/dist/{chunk-gx13py0x.js → chunk-rn1s097c.js} +46 -45
- package/dist/{chunk-3zs49z47.js → chunk-rnxpvm3m.js} +1 -1
- package/dist/{chunk-2fr1hsfn.js → chunk-rpsqtvkx.js} +46 -45
- package/dist/{chunk-1fyvnmsg.js → chunk-rx4mcfg1.js} +55 -54
- package/dist/{chunk-qpj44gjs.js → chunk-rygxwjtc.js} +47 -46
- package/dist/{chunk-jpc9zwsk.js → chunk-rz94yg8c.js} +3 -3
- package/dist/{chunk-wgcacskp.js → chunk-s19b0bc7.js} +46 -45
- package/dist/{chunk-wayfjcwt.js → chunk-sdfvr9ps.js} +4 -4
- package/dist/{chunk-w83b25cn.js → chunk-sh2v9ywv.js} +5 -3
- package/dist/{chunk-1avzakfd.js → chunk-sjpqw47t.js} +3 -3
- package/dist/{chunk-7mqab3z7.js → chunk-skp5w8bq.js} +1 -1
- package/dist/{chunk-76j2e9vy.js → chunk-snxp8mxj.js} +2 -2
- package/dist/{chunk-vsqwd13w.js → chunk-ssb4wba6.js} +17 -19
- package/dist/{chunk-rztjnjhv.js → chunk-szzff973.js} +7 -5
- package/dist/{chunk-x3brs7xp.js → chunk-t1pygy19.js} +47 -46
- package/dist/{chunk-jf493266.js → chunk-t1s91wrk.js} +1 -1
- package/dist/{chunk-h6zzdk99.js → chunk-t3gmfcy7.js} +47 -46
- package/dist/{chunk-5vmrxh5r.js → chunk-t9eeyrkn.js} +48 -47
- package/dist/{chunk-0jtbeesf.js → chunk-tf859h88.js} +16 -20
- package/dist/{chunk-0wextpj6.js → chunk-thenr6b3.js} +14 -12
- package/dist/{chunk-79vr8d0q.js → chunk-thmtkfgj.js} +5 -5
- package/dist/chunk-tj7v47cp.js +20 -0
- package/dist/{chunk-68ereakd.js → chunk-tpk67mjc.js} +3 -3
- package/dist/chunk-trvc6jh7.js +92 -0
- package/dist/{chunk-hr9zwhyh.js → chunk-ttyfhx12.js} +524 -195
- package/dist/{chunk-fg8sh9td.js → chunk-txgbs4hp.js} +49 -48
- package/dist/{chunk-ze3cbhkf.js → chunk-ty1cyqr7.js} +49 -48
- package/dist/{chunk-r6kaak61.js → chunk-v0tgjdx0.js} +16 -20
- package/dist/chunk-v3s93bzd.js +34 -0
- package/dist/{chunk-4cp6193g.js → chunk-v4t6dyyh.js} +2 -2
- package/dist/{chunk-msh77ewm.js → chunk-v4wba09w.js} +46 -45
- package/dist/{chunk-9nf2vp4m.js → chunk-v5g8nf5h.js} +8 -8
- package/dist/{chunk-at1nwv1b.js → chunk-v6hbqcmr.js} +44 -43
- package/dist/{chunk-21gmrwhs.js → chunk-vajsk9ya.js} +17 -21
- package/dist/{chunk-8hpq2659.js → chunk-vbtm9g57.js} +1 -1
- package/dist/{chunk-5n83ds1r.js → chunk-vk3nb2xe.js} +51 -56
- package/dist/{chunk-sm4a1dhp.js → chunk-vmbht6ec.js} +12 -12
- package/dist/{chunk-as5rvw4n.js → chunk-vmp5rk8q.js} +17 -21
- package/dist/{chunk-02hqbd8r.js → chunk-vtmxgm1m.js} +4 -4
- package/dist/{chunk-prxcckgh.js → chunk-vw5jzpcm.js} +6 -6
- package/dist/{chunk-76fnknvb.js → chunk-vyz3v0qx.js} +5 -5
- package/dist/{chunk-067nrwpq.js → chunk-w3782jck.js} +51 -50
- package/dist/{chunk-fxjhzm1r.js → chunk-w3gnkyfc.js} +57 -66
- package/dist/chunk-w6mcmmt5.js +1457 -0
- package/dist/chunk-wa0xgm6m.js +988 -0
- package/dist/{chunk-vrjbc8ap.js → chunk-wa8yn2p0.js} +1 -1
- package/dist/{chunk-y93xtfqa.js → chunk-wg47eg7y.js} +46 -45
- package/dist/{chunk-y7we499r.js → chunk-wgd4n1q7.js} +8 -8
- package/dist/{chunk-0g5cy3wj.js → chunk-wgk9sxk7.js} +4 -4
- package/dist/{chunk-wr3pd88n.js → chunk-wkt2q02c.js} +40 -9
- package/dist/{chunk-w22nawab.js → chunk-wm1zm5xj.js} +4 -2
- package/dist/{chunk-yd45cbwe.js → chunk-wtpgjmjd.js} +49 -46
- package/dist/{chunk-zrg1tbjz.js → chunk-wxkrq9eb.js} +46 -45
- package/dist/{chunk-st5zy0wn.js → chunk-x2bnzvd6.js} +46 -45
- package/dist/{chunk-80ajr65m.js → chunk-x3jthbjq.js} +47 -46
- package/dist/chunk-x7fdwq3d.js +33 -0
- package/dist/{chunk-1myhsm69.js → chunk-xcrzgyce.js} +46 -45
- package/dist/{chunk-chsyvavm.js → chunk-xeb6075z.js} +1 -1
- package/dist/{chunk-9ky3xjag.js → chunk-xffb3dsw.js} +1 -1
- package/dist/{chunk-k3vwp17j.js → chunk-xgbd6ec5.js} +47 -46
- package/dist/{chunk-n7pnyq43.js → chunk-xhfmdq1y.js} +16 -0
- package/dist/{chunk-96dakveq.js → chunk-xhn4ptjn.js} +51 -50
- package/dist/{chunk-rkf6m79g.js → chunk-xs7zsmzk.js} +46 -45
- package/dist/chunk-xswyz2es.js +118 -0
- package/dist/{chunk-ky39hkg1.js → chunk-xtdm6ejq.js} +9 -7
- package/dist/{chunk-hh3k5s1s.js → chunk-xvk90wpt.js} +3 -3
- package/dist/{chunk-tcsh7s9s.js → chunk-xw99fqv1.js} +14 -6
- package/dist/{chunk-xnv6kb39.js → chunk-y32em34x.js} +22 -23
- package/dist/chunk-y5wfy524.js +94 -0
- package/dist/{chunk-avddtws1.js → chunk-ya9dxex0.js} +48 -46
- package/dist/{chunk-97wgdsab.js → chunk-z16txqz0.js} +3 -3
- package/dist/{chunk-yvtzznds.js → chunk-z6wm96eh.js} +2 -2
- package/dist/{chunk-b7h31fmf.js → chunk-zcgprbyy.js} +29 -27
- package/dist/chunk-zqbnw3n2.js +197 -0
- package/dist/{chunk-d6rypdxt.js → chunk-zxywawr7.js} +1 -1
- package/dist/{chunk-3j5mbnax.js → chunk-zyjkg76f.js} +7 -7
- package/dist/cli.js +8 -8
- package/dist/gateway/index.js +326 -0
- package/dist/gateway/worker.js +482241 -0
- package/package.json +1 -1
- package/dist/chunk-02f1t77x.js +0 -73
- package/dist/chunk-0y3ae4ty.js +0 -116
- package/dist/chunk-1h11d405.js +0 -117
- package/dist/chunk-238bwjt4.js +0 -92
- package/dist/chunk-2n868zv8.js +0 -89
- package/dist/chunk-6ye0jmx5.js +0 -91
- package/dist/chunk-74c00z2d.js +0 -90
- package/dist/chunk-8xwx1xtg.js +0 -120
- package/dist/chunk-99ze7d94.js +0 -93
- package/dist/chunk-a3ce0rwj.js +0 -654
- package/dist/chunk-cfv996bs.js +0 -22
- package/dist/chunk-czdrs0bx.js +0 -516
- package/dist/chunk-dms7egdz.js +0 -111
- package/dist/chunk-e5t5eefc.js +0 -62
- package/dist/chunk-eq4cfq5r.js +0 -145
- package/dist/chunk-fg6ezbz3.js +0 -95
- package/dist/chunk-h4c232ns.js +0 -91
- package/dist/chunk-hmdxn1qn.js +0 -92
- package/dist/chunk-k9bmm1hz.js +0 -1003
- package/dist/chunk-kjftjh83.js +0 -86
- package/dist/chunk-kjkac4wp.js +0 -88
- package/dist/chunk-mqj8zx52.js +0 -116
- package/dist/chunk-mrhpct12.js +0 -95
- package/dist/chunk-njrt3tac.js +0 -640
- package/dist/chunk-qvh1w3t7.js +0 -157
- package/dist/chunk-qz2x630m.js +0 -49145
- package/dist/chunk-r6bex8wg.js +0 -40
- package/dist/chunk-rm40kgv5.js +0 -91
- package/dist/chunk-v0krc430.js +0 -436
- package/dist/chunk-v2cdga08.js +0 -93
- package/dist/chunk-waewz1gq.js +0 -94
- package/dist/chunk-wdgdax51.js +0 -91
- package/dist/chunk-x50zdpbb.js +0 -120
- package/dist/chunk-y0fhjxef.js +0 -276
- package/dist/chunk-ychc8xwz.js +0 -92
- package/dist/chunk-ymq56dxr.js +0 -87
- package/dist/chunk-zt62qnf5.js +0 -369
package/dist/cli.js
CHANGED
|
@@ -28,22 +28,22 @@ async function main() {
|
|
|
28
28
|
console.log(`${"2.1.888"} (Claude Code)`);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
const { profileCheckpoint } = await import("./chunk-
|
|
31
|
+
const { profileCheckpoint } = await import("./chunk-z16txqz0.js");
|
|
32
32
|
profileCheckpoint("cli_entry");
|
|
33
33
|
if (false) {}
|
|
34
34
|
if (process.argv[2] === "--claude-in-chrome-mcp") {
|
|
35
35
|
profileCheckpoint("cli_claude_in_chrome_mcp_path");
|
|
36
|
-
const { runClaudeInChromeMcpServer } = await import("./chunk-
|
|
36
|
+
const { runClaudeInChromeMcpServer } = await import("./chunk-ay5fvc2r.js");
|
|
37
37
|
await runClaudeInChromeMcpServer();
|
|
38
38
|
return;
|
|
39
39
|
} else if (process.argv[2] === "--chrome-native-host") {
|
|
40
40
|
profileCheckpoint("cli_chrome_native_host_path");
|
|
41
|
-
const { runChromeNativeHost } = await import("./chunk-
|
|
41
|
+
const { runChromeNativeHost } = await import("./chunk-pwpk3gm6.js");
|
|
42
42
|
await runChromeNativeHost();
|
|
43
43
|
return;
|
|
44
44
|
} else if (process.argv[2] === "--computer-use-mcp") {
|
|
45
45
|
profileCheckpoint("cli_computer_use_mcp_path");
|
|
46
|
-
const { runComputerUseMcpServer } = await import("./chunk-
|
|
46
|
+
const { runComputerUseMcpServer } = await import("./chunk-jqfrz5g9.js");
|
|
47
47
|
await runComputerUseMcpServer();
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
@@ -62,11 +62,11 @@ async function main() {
|
|
|
62
62
|
const hasTmuxFlag = args.includes("--tmux") || args.includes("--tmux=classic");
|
|
63
63
|
if (hasTmuxFlag && (args.includes("-w") || args.includes("--worktree") || args.some((a) => a.startsWith("--worktree=")))) {
|
|
64
64
|
profileCheckpoint("cli_tmux_worktree_fast_path");
|
|
65
|
-
const { enableConfigs } = await import("./chunk-
|
|
65
|
+
const { enableConfigs } = await import("./chunk-rjq5nf1c.js");
|
|
66
66
|
enableConfigs();
|
|
67
67
|
const { isWorktreeModeEnabled } = await import("./chunk-pwwa7s62.js");
|
|
68
68
|
if (isWorktreeModeEnabled()) {
|
|
69
|
-
const { execIntoTmuxWorktree } = await import("./chunk-
|
|
69
|
+
const { execIntoTmuxWorktree } = await import("./chunk-0gpem3pk.js");
|
|
70
70
|
const result = await execIntoTmuxWorktree(args);
|
|
71
71
|
if (result.handled) {
|
|
72
72
|
return;
|
|
@@ -80,10 +80,10 @@ async function main() {
|
|
|
80
80
|
if (args.includes("--bare")) {
|
|
81
81
|
process.env.CLAUDE_CODE_SIMPLE = "1";
|
|
82
82
|
}
|
|
83
|
-
const { startCapturingEarlyInput } = await import("./chunk-
|
|
83
|
+
const { startCapturingEarlyInput } = await import("./chunk-etdt1xz3.js");
|
|
84
84
|
startCapturingEarlyInput();
|
|
85
85
|
profileCheckpoint("cli_before_main_import");
|
|
86
|
-
const { main: cliMain } = await import("./chunk-
|
|
86
|
+
const { main: cliMain } = await import("./chunk-35nft36d.js");
|
|
87
87
|
profileCheckpoint("cli_after_main_import");
|
|
88
88
|
await cliMain();
|
|
89
89
|
profileCheckpoint("cli_after_main_complete");
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
// src/entrypoints/gateway/index.ts
|
|
2
|
+
import { createInterface } from "node:readline";
|
|
3
|
+
import { resolve, dirname } from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
|
|
6
|
+
// src/entrypoints/gateway/protocol.ts
|
|
7
|
+
function writeJsonRpc(msg) {
|
|
8
|
+
return JSON.stringify({ jsonrpc: "2.0", ...msg }) + `
|
|
9
|
+
`;
|
|
10
|
+
}
|
|
11
|
+
function parseJsonRpc(line) {
|
|
12
|
+
if (!line.trim())
|
|
13
|
+
return null;
|
|
14
|
+
try {
|
|
15
|
+
const obj = JSON.parse(line);
|
|
16
|
+
if (obj && typeof obj === "object" && typeof obj.method === "string") {
|
|
17
|
+
return obj;
|
|
18
|
+
}
|
|
19
|
+
} catch {}
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// src/entrypoints/gateway/sessionRouter.ts
|
|
24
|
+
import { Worker } from "node:worker_threads";
|
|
25
|
+
import { createHash } from "node:crypto";
|
|
26
|
+
var DEFAULT_MAX_SESSIONS = 16;
|
|
27
|
+
var DEFAULT_IDLE_TTL_MS = 10 * 60 * 1000;
|
|
28
|
+
var IDLE_CHECK_INTERVAL_MS = 60 * 1000;
|
|
29
|
+
|
|
30
|
+
class SessionRouter {
|
|
31
|
+
sessions = new Map;
|
|
32
|
+
workerPath;
|
|
33
|
+
maxSessions;
|
|
34
|
+
idleTtlMs;
|
|
35
|
+
onWorkerMessage;
|
|
36
|
+
onWorkerExit;
|
|
37
|
+
idleTimer = null;
|
|
38
|
+
constructor(options) {
|
|
39
|
+
this.workerPath = options.workerPath;
|
|
40
|
+
this.maxSessions = options.maxSessions ?? DEFAULT_MAX_SESSIONS;
|
|
41
|
+
this.idleTtlMs = options.idleTtlMs ?? DEFAULT_IDLE_TTL_MS;
|
|
42
|
+
this.onWorkerMessage = options.onWorkerMessage;
|
|
43
|
+
this.onWorkerExit = options.onWorkerExit;
|
|
44
|
+
}
|
|
45
|
+
start() {
|
|
46
|
+
this.idleTimer = setInterval(() => this.evictIdle(), IDLE_CHECK_INTERVAL_MS);
|
|
47
|
+
}
|
|
48
|
+
async create(sessionKey, config) {
|
|
49
|
+
if (this.sessions.has(sessionKey)) {
|
|
50
|
+
throw new Error(`Session already exists: ${sessionKey}`);
|
|
51
|
+
}
|
|
52
|
+
if (this.sessions.size >= this.maxSessions) {
|
|
53
|
+
this.evictLRU();
|
|
54
|
+
}
|
|
55
|
+
const configHash = computeConfigHash(config);
|
|
56
|
+
const worker = new Worker(this.workerPath, {
|
|
57
|
+
workerData: config
|
|
58
|
+
});
|
|
59
|
+
const entry = {
|
|
60
|
+
sessionKey,
|
|
61
|
+
worker,
|
|
62
|
+
sessionId: null,
|
|
63
|
+
configHash,
|
|
64
|
+
lastActive: new Date,
|
|
65
|
+
created: new Date
|
|
66
|
+
};
|
|
67
|
+
worker.on("message", (msg) => {
|
|
68
|
+
if (msg.type === "ready") {
|
|
69
|
+
entry.sessionId = msg.session_id;
|
|
70
|
+
}
|
|
71
|
+
entry.lastActive = new Date;
|
|
72
|
+
this.onWorkerMessage(sessionKey, msg);
|
|
73
|
+
});
|
|
74
|
+
worker.on("exit", (code) => {
|
|
75
|
+
this.sessions.delete(sessionKey);
|
|
76
|
+
this.onWorkerExit(sessionKey, code);
|
|
77
|
+
});
|
|
78
|
+
worker.on("error", (err) => {
|
|
79
|
+
this.onWorkerMessage(sessionKey, {
|
|
80
|
+
type: "error",
|
|
81
|
+
session_key: sessionKey,
|
|
82
|
+
error: `Worker thread error: ${err.message}`
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
this.sessions.set(sessionKey, entry);
|
|
86
|
+
}
|
|
87
|
+
get(sessionKey) {
|
|
88
|
+
return this.sessions.get(sessionKey);
|
|
89
|
+
}
|
|
90
|
+
has(sessionKey) {
|
|
91
|
+
return this.sessions.has(sessionKey);
|
|
92
|
+
}
|
|
93
|
+
getConfigHash(sessionKey) {
|
|
94
|
+
return this.sessions.get(sessionKey)?.configHash;
|
|
95
|
+
}
|
|
96
|
+
send(sessionKey, msg) {
|
|
97
|
+
const entry = this.sessions.get(sessionKey);
|
|
98
|
+
if (!entry)
|
|
99
|
+
throw new Error(`Session not found: ${sessionKey}`);
|
|
100
|
+
entry.lastActive = new Date;
|
|
101
|
+
entry.worker.postMessage(msg);
|
|
102
|
+
}
|
|
103
|
+
async destroy(sessionKey) {
|
|
104
|
+
const entry = this.sessions.get(sessionKey);
|
|
105
|
+
if (!entry)
|
|
106
|
+
return;
|
|
107
|
+
this.sessions.delete(sessionKey);
|
|
108
|
+
entry.worker.postMessage({ type: "destroy" });
|
|
109
|
+
await entry.worker.terminate();
|
|
110
|
+
}
|
|
111
|
+
async destroyAll() {
|
|
112
|
+
const keys = [...this.sessions.keys()];
|
|
113
|
+
await Promise.all(keys.map((k) => this.destroy(k)));
|
|
114
|
+
}
|
|
115
|
+
get activeCount() {
|
|
116
|
+
return this.sessions.size;
|
|
117
|
+
}
|
|
118
|
+
get entries() {
|
|
119
|
+
return this.sessions;
|
|
120
|
+
}
|
|
121
|
+
stop() {
|
|
122
|
+
if (this.idleTimer) {
|
|
123
|
+
clearInterval(this.idleTimer);
|
|
124
|
+
this.idleTimer = null;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
evictIdle() {
|
|
128
|
+
const now = Date.now();
|
|
129
|
+
const toEvict = [];
|
|
130
|
+
for (const [key, entry] of this.sessions) {
|
|
131
|
+
if (now - entry.lastActive.getTime() > this.idleTtlMs) {
|
|
132
|
+
toEvict.push(key);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
for (const key of toEvict) {
|
|
136
|
+
this.destroy(key).catch(() => {});
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
evictLRU() {
|
|
140
|
+
let oldest = null;
|
|
141
|
+
let oldestTime = Infinity;
|
|
142
|
+
for (const [key, entry] of this.sessions) {
|
|
143
|
+
if (entry.lastActive.getTime() < oldestTime) {
|
|
144
|
+
oldestTime = entry.lastActive.getTime();
|
|
145
|
+
oldest = key;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
if (oldest) {
|
|
149
|
+
this.destroy(oldest).catch(() => {});
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function computeConfigHash(config) {
|
|
154
|
+
const parts = [
|
|
155
|
+
config.session.model ?? "",
|
|
156
|
+
config.session.cwd ?? "",
|
|
157
|
+
config.session.systemPrompt ?? "",
|
|
158
|
+
config.session.appendSystemPrompt ?? "",
|
|
159
|
+
config.session.permissionMode ?? "",
|
|
160
|
+
config.permission.mode ?? "",
|
|
161
|
+
...(config.permission.allowed_tools ?? []).sort(),
|
|
162
|
+
...(config.permission.denied_tools ?? []).sort()
|
|
163
|
+
];
|
|
164
|
+
return createHash("sha256").update(JSON.stringify(parts)).digest("hex").slice(0, 16);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// src/entrypoints/gateway/index.ts
|
|
168
|
+
var __dirname2 = dirname(fileURLToPath(import.meta.url));
|
|
169
|
+
var WORKER_PATH = resolve(__dirname2, "worker.js");
|
|
170
|
+
var outputBuffer = "";
|
|
171
|
+
var drainResolve = null;
|
|
172
|
+
var MAX_OUTPUT_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
173
|
+
function notify(msg) {
|
|
174
|
+
let line;
|
|
175
|
+
try {
|
|
176
|
+
line = writeJsonRpc(msg);
|
|
177
|
+
} catch (err) {
|
|
178
|
+
process.stderr.write(`Failed to serialize notification: ${err instanceof Error ? err.message : String(err)}
|
|
179
|
+
`);
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
if (outputBuffer.length + line.length > MAX_OUTPUT_BUFFER_SIZE) {
|
|
183
|
+
process.stderr.write(`Output buffer overflow, dropping notification
|
|
184
|
+
`);
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
outputBuffer += line;
|
|
188
|
+
flushOutput();
|
|
189
|
+
}
|
|
190
|
+
function flushOutput() {
|
|
191
|
+
if (!outputBuffer)
|
|
192
|
+
return;
|
|
193
|
+
const canContinue = process.stdout.write(outputBuffer);
|
|
194
|
+
outputBuffer = "";
|
|
195
|
+
if (!canContinue && !drainResolve) {
|
|
196
|
+
drainResolve = () => {
|
|
197
|
+
drainResolve = null;
|
|
198
|
+
flushOutput();
|
|
199
|
+
};
|
|
200
|
+
process.stdout.once("drain", drainResolve);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
var router = new SessionRouter({
|
|
204
|
+
workerPath: WORKER_PATH,
|
|
205
|
+
onWorkerMessage: (sessionKey, msg) => {
|
|
206
|
+
switch (msg.type) {
|
|
207
|
+
case "ready":
|
|
208
|
+
notify({ method: "session.ready", params: { session_key: msg.session_key, session_id: msg.session_id } });
|
|
209
|
+
break;
|
|
210
|
+
case "stream":
|
|
211
|
+
notify({ method: "session.stream", params: { session_key: msg.session_key, data: msg.data } });
|
|
212
|
+
break;
|
|
213
|
+
case "complete":
|
|
214
|
+
notify({ method: "session.complete", params: { session_key: msg.session_key, session_id: msg.session_id } });
|
|
215
|
+
break;
|
|
216
|
+
case "error":
|
|
217
|
+
notify({ method: "session.error", params: { session_key: msg.session_key, error: msg.error } });
|
|
218
|
+
break;
|
|
219
|
+
case "permission_request":
|
|
220
|
+
notify({
|
|
221
|
+
method: "session.permission_request",
|
|
222
|
+
params: {
|
|
223
|
+
session_key: msg.session_key,
|
|
224
|
+
request_id: msg.request_id,
|
|
225
|
+
tool_name: msg.tool_name,
|
|
226
|
+
input: msg.input,
|
|
227
|
+
description: msg.description,
|
|
228
|
+
tool_use_id: msg.tool_use_id
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
onWorkerExit: (sessionKey, code) => {
|
|
235
|
+
notify({ method: "session.error", params: { session_key: sessionKey, error: `Worker exited with code ${code}` } });
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
async function handleRequest(req) {
|
|
239
|
+
switch (req.method) {
|
|
240
|
+
case "session.create": {
|
|
241
|
+
const { session_key, config, permission, env } = req.params;
|
|
242
|
+
const workerConfig = {
|
|
243
|
+
sessionKey: session_key,
|
|
244
|
+
session: config,
|
|
245
|
+
permission,
|
|
246
|
+
env
|
|
247
|
+
};
|
|
248
|
+
try {
|
|
249
|
+
await router.create(session_key, workerConfig);
|
|
250
|
+
} catch (err) {
|
|
251
|
+
notify({
|
|
252
|
+
method: "session.error",
|
|
253
|
+
params: { session_key, error: err instanceof Error ? err.message : String(err) }
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
case "session.prompt": {
|
|
259
|
+
const { session_key, text } = req.params;
|
|
260
|
+
try {
|
|
261
|
+
router.send(session_key, { type: "prompt", text });
|
|
262
|
+
} catch (err) {
|
|
263
|
+
notify({
|
|
264
|
+
method: "session.error",
|
|
265
|
+
params: { session_key, error: err instanceof Error ? err.message : String(err) }
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
case "session.interrupt": {
|
|
271
|
+
const { session_key } = req.params;
|
|
272
|
+
try {
|
|
273
|
+
router.send(session_key, { type: "interrupt" });
|
|
274
|
+
} catch (err) {
|
|
275
|
+
notify({
|
|
276
|
+
method: "session.error",
|
|
277
|
+
params: { session_key, error: err instanceof Error ? err.message : String(err) }
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
break;
|
|
281
|
+
}
|
|
282
|
+
case "session.destroy": {
|
|
283
|
+
const { session_key } = req.params;
|
|
284
|
+
await router.destroy(session_key);
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
287
|
+
case "session.permission_response": {
|
|
288
|
+
const { session_key, request_id, result } = req.params;
|
|
289
|
+
try {
|
|
290
|
+
router.send(session_key, { type: "permission_response", request_id, result });
|
|
291
|
+
} catch (err) {}
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
async function main() {
|
|
297
|
+
router.start();
|
|
298
|
+
const rl = createInterface({ input: process.stdin });
|
|
299
|
+
for await (const line of rl) {
|
|
300
|
+
if (line.length > 1024 * 1024) {
|
|
301
|
+
process.stderr.write(`Line too long (${line.length} bytes), skipping
|
|
302
|
+
`);
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
const req = parseJsonRpc(line);
|
|
306
|
+
if (req) {
|
|
307
|
+
await handleRequest(req);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
await router.destroyAll();
|
|
311
|
+
router.stop();
|
|
312
|
+
}
|
|
313
|
+
main().catch((err) => {
|
|
314
|
+
process.stderr.write(`Gateway fatal error: ${err instanceof Error ? err.message : String(err)}
|
|
315
|
+
`);
|
|
316
|
+
process.exit(1);
|
|
317
|
+
});
|
|
318
|
+
var shuttingDown = false;
|
|
319
|
+
process.on("SIGTERM", async () => {
|
|
320
|
+
if (shuttingDown)
|
|
321
|
+
return;
|
|
322
|
+
shuttingDown = true;
|
|
323
|
+
await router.destroyAll();
|
|
324
|
+
router.stop();
|
|
325
|
+
process.exit(0);
|
|
326
|
+
});
|