@opencode/core 0.0.0-dev-19462 → 0.0.0-dev-19466
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/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-hhbh3w1t.js → form-00433yj6.js} +1 -1
- package/dist/chunks/{repository-q5j1bp2v.js → form-05b1y4dr.js} +4 -4
- package/dist/chunks/{repository-3821feyt.js → form-05gmxw6z.js} +14 -14
- package/dist/chunks/{repository-22m95qs7.js → form-06dxphr1.js} +4 -4
- package/dist/chunks/{repository-6t6y07ce.js → form-0c9trx5t.js} +9 -9
- package/dist/chunks/{repository-1h7x1mz2.js → form-0jnzg8v1.js} +20 -20
- package/dist/chunks/{repository-7dqw4kz8.js → form-0jwsre1p.js} +5 -5
- package/dist/chunks/{repository-0paq2nw3.js → form-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → form-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-1mv714b0.js → form-0q4gv9rf.js} +43 -43
- package/dist/chunks/{repository-4vj8kpqd.js → form-0tn53hfe.js} +8 -8
- package/dist/chunks/{repository-8nw6zpr4.js → form-11hzmxk0.js} +36 -36
- package/dist/chunks/{repository-k7w803fk.js → form-14a88h70.js} +17 -17
- package/dist/chunks/{repository-7b7gh2z5.js → form-1cm4s572.js} +17 -17
- package/dist/chunks/{repository-1dazxqgg.js → form-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-qmr73083.js → form-1fa9ans5.js} +1 -1
- package/dist/chunks/{repository-qfapmvwx.js → form-1ghpc1h3.js} +33 -33
- package/dist/chunks/{repository-c9e2w61w.js → form-1vpq6b2c.js} +5 -5
- package/dist/chunks/{repository-nywkrfb7.js → form-1z0aknf9.js} +31 -31
- package/dist/chunks/{repository-21r38tys.js → form-21r38tys.js} +1 -1
- package/dist/chunks/{repository-2402vzrj.js → form-2402vzrj.js} +1 -1
- package/dist/chunks/{repository-c33k41yq.js → form-2540tbp6.js} +7 -7
- package/dist/chunks/{repository-2a5m3afh.js → form-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-w6jjpet8.js → form-2cc6gfv2.js} +16 -16
- package/dist/chunks/{repository-jxxmrcps.js → form-2e96adxv.js} +9 -9
- package/dist/chunks/{repository-1ah30sey.js → form-2ee8pmxs.js} +2 -2
- package/dist/chunks/{repository-zpchy40n.js → form-2f2wkhxh.js} +19 -19
- package/dist/chunks/{repository-d8z6v07t.js → form-2f7aa0dt.js} +7 -7
- package/dist/chunks/{repository-9b5bbgrx.js → form-2hxyrecd.js} +9 -9
- package/dist/chunks/{repository-ewbp23zb.js → form-2jzp3xtm.js} +30 -30
- package/dist/chunks/{repository-js2yt1nz.js → form-2nm5ff7y.js} +86 -86
- package/dist/chunks/{repository-757ayx98.js → form-2t2fnzfp.js} +29 -29
- package/dist/chunks/{repository-bpqahvg7.js → form-2vnwx32a.js} +8 -8
- package/dist/chunks/{repository-xdmp4stv.js → form-342bs8hn.js} +48 -48
- package/dist/chunks/{repository-cr0em44r.js → form-38jtcpsq.js} +29 -29
- package/dist/chunks/{repository-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-ne7s8sw8.js → form-3ft0qgkj.js} +10 -10
- package/dist/chunks/{repository-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-a7qvktew.js → form-3hf7z3yq.js} +11 -11
- package/dist/chunks/{repository-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-d230r5q8.js → form-3wqgjbe3.js} +6 -6
- package/dist/chunks/{repository-anty3ns2.js → form-3y0vn2ab.js} +14 -14
- package/dist/chunks/{repository-585pw9ae.js → form-41raftcs.js} +24 -24
- package/dist/chunks/{repository-f6ytka93.js → form-431dt5ep.js} +8 -8
- package/dist/chunks/{repository-r9s20qyb.js → form-46hcdknc.js} +13 -13
- package/dist/chunks/{repository-j4yfb19a.js → form-4nh1fksq.js} +9 -9
- package/dist/chunks/{repository-2rykfwh7.js → form-4szxvfgb.js} +4 -4
- package/dist/chunks/{repository-0ajdgxne.js → form-4y66k410.js} +5 -5
- package/dist/chunks/{repository-9er5p002.js → form-4zhe13z7.js} +32 -32
- package/dist/chunks/{repository-zepncfka.js → form-50mzsvk4.js} +21 -21
- package/dist/chunks/{repository-mfqp6xfm.js → form-56gdpj1q.js} +6 -6
- package/dist/chunks/{repository-pwv7z67e.js → form-576nzah0.js} +15 -15
- package/dist/chunks/{repository-a1bz86dw.js → form-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → form-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-pcmc1zwr.js → form-5fygcj3v.js} +32 -32
- package/dist/chunks/{repository-5t3nmthw.js → form-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-2tvtcs34.js → form-65m55qcr.js} +23 -23
- package/dist/chunks/{repository-669tq793.js → form-669tq793.js} +1 -1
- package/dist/chunks/{repository-s4kjwg47.js → form-6apjjhdk.js} +24 -24
- package/dist/chunks/{repository-efj7rby6.js → form-6dkp0jpv.js} +14 -14
- package/dist/chunks/{repository-sv9bpgvh.js → form-6jex2xta.js} +1 -1
- package/dist/chunks/{repository-fhs97t90.js → form-6jnybvqn.js} +9 -9
- package/dist/chunks/{repository-6msgmcgs.js → form-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-j3gkf22j.js → form-6nncasy6.js} +13 -13
- package/dist/chunks/{repository-a7v51dbc.js → form-6xva45ts.js} +27 -27
- package/dist/chunks/{repository-d98chebz.js → form-6ycnsh5g.js} +21 -21
- package/dist/chunks/{repository-1q3whged.js → form-6ymymyv8.js} +6 -6
- package/dist/chunks/{repository-71q4at8m.js → form-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-5xtgfte3.js → form-7b15y959.js} +8 -8
- package/dist/chunks/{repository-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-epjkq198.js → form-7h47emwc.js} +10 -10
- package/dist/chunks/{repository-bw1aan46.js → form-7jyc931p.js} +13 -13
- package/dist/chunks/{repository-31dz7cp4.js → form-7s02b6me.js} +1 -1
- package/dist/chunks/{repository-s0hza5ac.js → form-7sqxeqwy.js} +4 -4
- package/dist/chunks/{repository-dv250zvr.js → form-7w99qc9d.js} +3 -3
- package/dist/chunks/{repository-81swgkk7.js → form-81swgkk7.js} +2 -2
- package/dist/chunks/{repository-tcezcvh9.js → form-89znhe33.js} +4 -4
- package/dist/chunks/{repository-8d7r5vzw.js → form-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-a4exdnt3.js → form-8hfx6jq1.js} +4 -4
- package/dist/chunks/{repository-v3qpsh98.js → form-8n4pt1dd.js} +44 -44
- package/dist/chunks/{repository-qnvtssqj.js → form-8qvgnq7a.js} +11 -11
- package/dist/chunks/{repository-ek5z2msw.js → form-8rdrgp2d.js} +25 -25
- package/dist/chunks/{repository-q3n10r91.js → form-8w5eg97y.js} +16 -16
- package/dist/chunks/{repository-8z17e00v.js → form-8z17e00v.js} +2 -2
- package/dist/chunks/{repository-h4e9v6cf.js → form-97fgwabn.js} +14 -14
- package/dist/chunks/{repository-qhc60h7n.js → form-998hv5gp.js} +26 -26
- package/dist/chunks/{repository-ekzy4a15.js → form-9b3h0hdy.js} +7 -7
- package/dist/chunks/{repository-ehgmx3s2.js → form-9bqyd62a.js} +31 -31
- package/dist/chunks/{repository-b9ank1ts.js → form-9h9xq4n3.js} +11 -11
- package/dist/chunks/{repository-n5aza2pa.js → form-9pm72jv4.js} +10 -10
- package/dist/chunks/{repository-kx6qnvmq.js → form-9ra0mmgv.js} +45 -45
- package/dist/chunks/form-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-gs48f12t.js → form-a00065a9.js} +3 -3
- package/dist/chunks/{repository-aaet6srn.js → form-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-zf9sx82p.js → form-aay990tf.js} +23 -23
- package/dist/chunks/{repository-q5asdkn4.js → form-afdssyjb.js} +4 -4
- package/dist/chunks/{repository-4qr204ms.js → form-asbzqvmn.js} +23 -23
- package/dist/chunks/{repository-aj2fadgq.js → form-assnr950.js} +29 -29
- package/dist/chunks/{repository-ebd9479t.js → form-awkf3rkk.js} +2 -2
- package/dist/chunks/{repository-me7cqgqr.js → form-b02gdezj.js} +10 -10
- package/dist/chunks/{repository-b6gygkdw.js → form-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-a2fztt6w.js → form-b823frnw.js} +20 -20
- package/dist/chunks/{repository-4sk0y4xd.js → form-bdhcyfgd.js} +21 -21
- package/dist/chunks/{repository-sqnjsewz.js → form-bv2k5xqy.js} +11 -11
- package/dist/chunks/{repository-hwzvcses.js → form-c31c74kw.js} +16 -16
- package/dist/chunks/{repository-0e6dpvm0.js → form-caze8vm3.js} +9 -9
- package/dist/chunks/{repository-pg7njcxf.js → form-ccyhgnjw.js} +12 -12
- package/dist/chunks/{repository-ahgcj67e.js → form-cqg8v4c7.js} +6 -6
- package/dist/chunks/form-crwfem31.js +22 -0
- package/dist/chunks/{repository-kz381zv4.js → form-cwfb3t4k.js} +5 -5
- package/dist/chunks/{repository-jfqtm2ew.js → form-d216944b.js} +7 -7
- package/dist/chunks/{repository-j8jb84gn.js → form-d2e6rrcm.js} +20 -20
- package/dist/chunks/{repository-cva88qnv.js → form-d4c0rpe7.js} +11 -11
- package/dist/chunks/{repository-8ypn74s0.js → form-d50f2zf5.js} +1 -1
- package/dist/chunks/{repository-e4t9qac1.js → form-dep1tgj5.js} +11 -11
- package/dist/chunks/{repository-8p4f9s12.js → form-dj2t23y0.js} +2 -2
- package/dist/chunks/form-dt2e4e7m.js +247 -0
- package/dist/chunks/{repository-2d6j2h4j.js → form-dt849bc4.js} +4 -4
- package/dist/chunks/{repository-etq0c3wd.js → form-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-s301d4t7.js → form-evp151d0.js} +2 -2
- package/dist/chunks/{repository-ky6ecvvs.js → form-f101e7mq.js} +6 -6
- package/dist/chunks/{repository-1jp9w2wz.js → form-f1k9ra80.js} +3 -3
- package/dist/chunks/{repository-hfdr1yjj.js → form-fab8hzt3.js} +4 -4
- package/dist/chunks/{repository-498fxtd6.js → form-fcaqg7qr.js} +9 -9
- package/dist/chunks/{repository-edpf80fc.js → form-fex876vs.js} +6 -6
- package/dist/chunks/{repository-3h2aaj0a.js → form-fjwhbg0m.js} +22 -22
- package/dist/chunks/{repository-18cztcj7.js → form-fmmn8x74.js} +1 -1
- package/dist/chunks/{repository-0q56t1d9.js → form-fr2kbfxw.js} +10 -10
- package/dist/chunks/{repository-fxbjtjnd.js → form-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-sq8adhhz.js → form-g35tdwe4.js} +11 -11
- package/dist/chunks/{repository-3zbcr0s0.js → form-g4ajyp53.js} +19 -19
- package/dist/chunks/{repository-t9c3e8bq.js → form-g4sdyxzz.js} +7 -7
- package/dist/chunks/{repository-kt5w8vxh.js → form-g887w5he.js} +6 -6
- package/dist/chunks/{repository-hx3323mz.js → form-g9ep4xdc.js} +37 -37
- package/dist/chunks/{repository-2shxgy61.js → form-gac2jfnd.js} +11 -11
- package/dist/chunks/{repository-sg3ay6jr.js → form-gbgwd44t.js} +9 -9
- package/dist/chunks/{repository-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-g47hgwy1.js → form-grcagha7.js} +17 -17
- package/dist/chunks/{repository-7b86q5ey.js → form-gsd5dsw3.js} +13 -13
- package/dist/chunks/{repository-gv6a8nnw.js → form-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-fnm2rd37.js → form-gxt7q2nb.js} +89 -89
- package/dist/chunks/{repository-h03wrkyp.js → form-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-y56ehv6b.js → form-h1c4f905.js} +9 -9
- package/dist/chunks/{repository-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-4h9e19ph.js → form-h9dx7f6h.js} +24 -24
- package/dist/chunks/{repository-f828m53h.js → form-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-5jtdmvnp.js → form-hf8cnsjw.js} +1 -1
- package/dist/chunks/{repository-hjt4xg1x.js → form-hjt4xg1x.js} +1 -1
- package/dist/chunks/{repository-x359c73n.js → form-hm66575d.js} +15 -15
- package/dist/chunks/{repository-92a4ap4w.js → form-hnr5yq9h.js} +5 -5
- package/dist/chunks/{repository-2ddb8vnf.js → form-hqd08fbh.js} +9 -9
- package/dist/chunks/{repository-6ck2t1rv.js → form-hrvd6t1f.js} +9 -9
- package/dist/chunks/{repository-4yg7xpeb.js → form-hv4dbmz4.js} +2 -2
- package/dist/chunks/{repository-1ynvz20k.js → form-hxdk6r1y.js} +27 -27
- package/dist/chunks/{repository-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-gh7jcff5.js → form-jf418vq7.js} +13 -13
- package/dist/chunks/{repository-7ht1e3b7.js → form-jnqkmre8.js} +16 -16
- package/dist/chunks/{repository-c742vz2c.js → form-jq049rxw.js} +40 -40
- package/dist/chunks/{repository-dpkg50ah.js → form-jwcy2c2z.js} +4 -4
- package/dist/chunks/{repository-3akyt0ax.js → form-k0ka9z30.js} +3 -3
- package/dist/chunks/{repository-3f6etdc1.js → form-kakm5609.js} +27 -27
- package/dist/chunks/{repository-kg06axw8.js → form-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-06fb0e13.js → form-knsaty1w.js} +46 -46
- package/dist/chunks/{repository-0psa96yy.js → form-krw20rj3.js} +26 -26
- package/dist/chunks/{repository-8ayndkwh.js → form-ksk8vt3f.js} +18 -18
- package/dist/chunks/{repository-pe9eppf5.js → form-kyfv81ps.js} +20 -20
- package/dist/chunks/{repository-cfpkc3c9.js → form-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-34yfzwwr.js → form-m2r5gtbr.js} +22 -22
- package/dist/chunks/{repository-z7dhvtda.js → form-m48990ta.js} +25 -25
- package/dist/chunks/{repository-7sezzb4e.js → form-m7azt10s.js} +27 -27
- package/dist/chunks/{repository-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-tcsyqj73.js → form-maby05qh.js} +11 -11
- package/dist/chunks/{repository-dxmjzr1r.js → form-mbb6x4gq.js} +15 -15
- package/dist/chunks/{repository-mkcjrzeh.js → form-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-veeq5evv.js → form-mp8p9m1k.js} +25 -25
- package/dist/chunks/{repository-1bbkgx8g.js → form-mvfsc1pv.js} +3 -3
- package/dist/chunks/{repository-qybb80ke.js → form-mvnm64jf.js} +162 -162
- package/dist/chunks/{repository-q5zafh14.js → form-n032fvft.js} +6 -6
- package/dist/chunks/{repository-g8bfx21a.js → form-n0err2ak.js} +28 -28
- package/dist/chunks/{repository-f9bavhm2.js → form-n5zjdcc0.js} +1 -1
- package/dist/chunks/{repository-wsxzptys.js → form-n8fstsqy.js} +4 -4
- package/dist/chunks/{repository-h53fs6we.js → form-nbzsj80d.js} +11 -11
- package/dist/chunks/{repository-zpd6x7fe.js → form-nng2ktcm.js} +2 -2
- package/dist/chunks/{repository-tds63m58.js → form-nv4mj6tb.js} +7 -7
- package/dist/chunks/{repository-7tvdhtw8.js → form-p0wx6aq5.js} +20 -20
- package/dist/chunks/{repository-j935v87r.js → form-paphc93g.js} +2 -2
- package/dist/chunks/{repository-b9jb5emj.js → form-pc7hkmqs.js} +11 -11
- package/dist/chunks/{repository-sra9araw.js → form-pecb0brz.js} +5 -5
- package/dist/chunks/{repository-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{repository-439dx3w9.js → form-q1a7cndp.js} +14 -14
- package/dist/chunks/{repository-s54pw8rz.js → form-q2ape1mq.js} +15 -15
- package/dist/chunks/{repository-1a6p2twq.js → form-q2b1ymqp.js} +4 -4
- package/dist/chunks/{repository-gvjwy1ww.js → form-q57g8ht8.js} +11 -11
- package/dist/chunks/{repository-fh173wkb.js → form-qb79v30g.js} +5 -5
- package/dist/chunks/{repository-rsvg5qe3.js → form-qcd9kc12.js} +20 -20
- package/dist/chunks/{repository-67qaz902.js → form-qcjn0ash.js} +47 -47
- package/dist/chunks/{repository-t7qd3f94.js → form-qffh8edp.js} +24 -24
- package/dist/chunks/{repository-915t83ht.js → form-qk3y3hde.js} +3 -3
- package/dist/chunks/{repository-5he1xn5b.js → form-qnhgznfc.js} +20 -20
- package/dist/chunks/{repository-fm1pn3h6.js → form-qpv3bqr6.js} +26 -26
- package/dist/chunks/{repository-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-v8ch97zc.js → form-qssq5wvh.js} +1 -1
- package/dist/chunks/{repository-r8xr0va3.js → form-r8xr0va3.js} +1 -1
- package/dist/chunks/{repository-r9mregkx.js → form-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-h31ehzq9.js → form-rg87589h.js} +11 -11
- package/dist/chunks/{repository-s8d7rejh.js → form-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-b0ysmz6y.js → form-rk1hq680.js} +25 -25
- package/dist/chunks/{repository-fxy4734q.js → form-rkbf8qnf.js} +4 -4
- package/dist/chunks/{repository-80e0yyk8.js → form-rshbrcq5.js} +8 -8
- package/dist/chunks/{repository-yvm9rc9x.js → form-s9ww160f.js} +68 -68
- package/dist/chunks/{repository-dmv09vgm.js → form-ssysrae3.js} +27 -27
- package/dist/chunks/{repository-jnt9jbpr.js → form-swbpz5np.js} +34 -34
- package/dist/chunks/{repository-f8pdk657.js → form-swqn9gat.js} +5 -5
- package/dist/chunks/{repository-jy16bfac.js → form-t1bhcjx3.js} +1 -1
- package/dist/chunks/{repository-sgwh5nyn.js → form-t33aqq77.js} +8 -8
- package/dist/chunks/{repository-t7dkn34m.js → form-t6730khh.js} +18 -18
- package/dist/chunks/{repository-zvrsfabp.js → form-t6zqq4mq.js} +293 -293
- package/dist/chunks/{repository-kc7gkhnn.js → form-t7d5z6x6.js} +18 -18
- package/dist/chunks/{repository-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{repository-m8bbpje0.js → form-tf4ysc3w.js} +11 -11
- package/dist/chunks/{repository-vrx4yh84.js → form-tknye5wz.js} +27 -27
- package/dist/chunks/{repository-62zv3r2w.js → form-tm9cmf1r.js} +4 -4
- package/dist/chunks/{repository-aty0eeer.js → form-tsnc6md1.js} +4 -4
- package/dist/chunks/{repository-tvtrv512.js → form-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-n94hx6h0.js → form-tw1wmbrw.js} +11 -11
- package/dist/chunks/{repository-0df5qb80.js → form-tx292w9v.js} +58 -58
- package/dist/chunks/{repository-dqmwfghx.js → form-tz2bjj40.js} +5 -5
- package/dist/chunks/{repository-jks25yqs.js → form-v7q3tn0x.js} +25 -25
- package/dist/chunks/{repository-t45hg38h.js → form-vdwzkfen.js} +11 -11
- package/dist/chunks/{repository-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-2f140qw9.js → form-vt4g59c2.js} +10 -10
- package/dist/chunks/{repository-b1fx07ep.js → form-vwqc105j.js} +12 -12
- package/dist/chunks/{repository-5ezjrh81.js → form-vxh04kh8.js} +32 -32
- package/dist/chunks/{repository-vzcthcp8.js → form-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-kd9v8sax.js → form-w35d8h7t.js} +4 -4
- package/dist/chunks/{repository-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-rrfg73gn.js → form-w49376b9.js} +18 -18
- package/dist/chunks/{repository-pcsmqseq.js → form-w4hyaehm.js} +16 -16
- package/dist/chunks/{repository-rqx8c1bj.js → form-w5s4s3ts.js} +17 -17
- package/dist/chunks/{repository-psywnqq9.js → form-w8pkwymp.js} +9 -9
- package/dist/chunks/{repository-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{repository-6jtzn1qx.js → form-wht8nnzv.js} +23 -23
- package/dist/chunks/{repository-73x54sz1.js → form-wk2hrdx5.js} +27 -27
- package/dist/chunks/{repository-65vrzz3w.js → form-wktmrfzn.js} +18 -18
- package/dist/chunks/{repository-9ggdqdtw.js → form-wy6fvhf7.js} +11 -11
- package/dist/chunks/{repository-ztncjpjx.js → form-wz6q5vwf.js} +30 -30
- package/dist/chunks/{repository-8a737tnd.js → form-wzz0kxab.js} +9 -9
- package/dist/chunks/{repository-x1ezjp6w.js → form-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-y5qrxrza.js → form-x5jmn9g9.js} +34 -34
- package/dist/chunks/{repository-f8hx9dgc.js → form-xa2j3jkz.js} +37 -37
- package/dist/chunks/{repository-3302fwks.js → form-xdppvteq.js} +18 -18
- package/dist/chunks/{repository-6h0p2839.js → form-xfkmbs5e.js} +22 -22
- package/dist/chunks/{repository-7m5f9412.js → form-xn5rvdk3.js} +8 -8
- package/dist/chunks/{repository-n2nfwst7.js → form-xsd6f48w.js} +18 -18
- package/dist/chunks/{repository-dvjn987s.js → form-xstt6w6w.js} +56 -56
- package/dist/chunks/{repository-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-z1ycjdcc.js → form-yc1dk1yy.js} +11 -11
- package/dist/chunks/{repository-7qhfbrat.js → form-yc1rv2nb.js} +6 -6
- package/dist/chunks/{repository-sabycmh3.js → form-ycjb11n5.js} +6 -6
- package/dist/chunks/{repository-2ghmk56m.js → form-yjwn9hr3.js} +15 -15
- package/dist/chunks/{repository-es1pjgb0.js → form-ypmxyqks.js} +10 -10
- package/dist/chunks/{repository-nezgc4ey.js → form-ypxt1aq0.js} +6 -6
- package/dist/chunks/{repository-yrhqyw5v.js → form-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → form-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-w0a2h48p.js → form-z0g25t4y.js} +16 -16
- package/dist/chunks/{repository-vxp3kcg3.js → form-z2qbjhyn.js} +5 -5
- package/dist/chunks/{repository-fa0hz4rj.js → form-z51q84wk.js} +27 -27
- package/dist/chunks/{repository-29x78va6.js → form-z63w68vq.js} +6 -6
- package/dist/chunks/{repository-faq7vhys.js → form-z8618jgn.js} +11 -11
- package/dist/chunks/{repository-cep4v9kk.js → form-zecg6pzy.js} +41 -41
- package/dist/chunks/{repository-zeh9ct20.js → form-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-fzceatkk.js → form-zs85szgj.js} +15 -15
- package/dist/chunks/{repository-n5bzxk2f.js → form-zv8wzcrz.js} +10 -10
- package/dist/chunks/{repository-y4za65ce.js → form-zwg5k4st.js} +12 -12
- package/dist/chunks/{repository-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-qr27hz8v.js → form-zyddxhh7.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +94 -94
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +78 -78
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +85 -85
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/repository-4v7qdvcn.js +0 -18
- package/dist/chunks/repository-thkcmnfe.js +0 -22
- package/dist/chunks/repository-wpdhr89c.js +0 -247
- /package/dist/chunks/{repository-0mesazry.js → form-0mesazry.js} +0 -0
- /package/dist/chunks/{repository-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → form-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → form-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → form-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → form-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → form-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → form-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → form-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → form-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./form-rg87589h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Event18,
|
|
10
10
|
Service74,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./form-qpv3bqr6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service69,
|
|
15
|
+
node73
|
|
16
|
+
} from "./form-mbb6x4gq.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service51,
|
|
19
|
+
node55
|
|
20
|
+
} from "./form-h9dx7f6h.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service75,
|
|
24
|
+
node79
|
|
25
|
+
} from "./form-m7azt10s.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node77
|
|
35
|
+
} from "./form-m48990ta.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service31,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
65
|
configured: () => configured4,
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
66
|
+
layer: () => layer14,
|
|
67
|
+
node: () => node36
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID13.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
170
|
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -173,12 +173,12 @@ var Options4 = Schema.Struct({
|
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service69;
|
|
178
|
+
const environment = yield* Service51;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
180
|
+
const forms = yield* Service75;
|
|
181
|
+
const integration = yield* Service73;
|
|
182
182
|
const credentials = yield* Service74;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID13.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID16.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service31.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -709,12 +709,12 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
709
709
|
}));
|
|
710
710
|
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service31,
|
|
713
|
+
layer: layer14(options),
|
|
714
|
+
deps: [node73, node55, node83, node79, node77, node78]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node36 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer14, configured4, node36, exports_mcp4 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-00433yj6.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-k0ka9z30.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./form-tx292w9v.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin13,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin13 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service64;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin34 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin13, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service58,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service58 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service58, exports_runner };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-tx292w9v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service31,
|
|
13
|
+
node36
|
|
14
|
+
} from "./form-9ra0mmgv.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./form-2jzp3xtm.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions3 = {};
|
|
25
|
+
__export(exports_instructions3, {
|
|
26
|
+
McpInstructions: () => exports_instructions3,
|
|
27
|
+
Service: () => Service27,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service31;
|
|
69
|
+
return Service27.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node32 = makeLocationNode({ service: Service27, layer: layer12, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service27, layer12, node32, exports_instructions3 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node83
|
|
4
|
+
} from "./form-rg87589h.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node82
|
|
8
|
+
} from "./form-g887w5he.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node73
|
|
12
|
+
} from "./form-mbb6x4gq.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service36,
|
|
18
|
+
node40
|
|
19
|
+
} from "./form-41raftcs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./form-w49376b9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service11,
|
|
25
|
+
node14
|
|
26
|
+
} from "./form-hrvd6t1f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node5
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service69;
|
|
47
|
+
const watcher = yield* Service36;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service78;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node5 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node40, FSUtil.node, node73, node82, node83, node19, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node5, exports_location_watcher };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-rg87589h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service37,
|
|
6
|
+
Event7
|
|
7
|
+
} from "./form-kyfv81ps.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service37;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin32 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event7.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin14, exports_plugin };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|