@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node74
|
|
7
|
+
} from "./form-swbpz5np.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer18,
|
|
20
|
+
node: () => node48
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service44 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service70;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service44.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node48 = makeLocationNode({
|
|
67
|
+
service: Service44,
|
|
68
|
+
layer: layer18,
|
|
69
|
+
deps: [node74, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service44, layer18, node48, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./form-8n4pt1dd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./form-wk2hrdx5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service35;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin13 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin30, exports_compaction };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./form-pc7hkmqs.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
17
|
node: () => node80
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service76 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service76.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var node80 = makeGlobalNode({ service:
|
|
54
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service76, node80, exports_kv };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node50 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node50, exports_tool_output2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./form-h9dx7f6h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-7jyc931p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./form-t7d5z6x6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./form-tx292w9v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service56
|
|
17
|
+
} from "./form-xsd6f48w.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin7 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service56;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service51;
|
|
58
|
+
const formatter = yield* Service55;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output4, toModelContent4, Plugin7, exports_write };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-3hf7z3yq.js";
|
|
4
4
|
import {
|
|
5
5
|
ID15
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-dt849bc4.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-g4sdyxzz.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-rg87589h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./form-vt4g59c2.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-mvnm64jf.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node19
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service76;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node19 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node19, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-pc7hkmqs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./form-ycjb11n5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-06dxphr1.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-tf4ysc3w.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-wz6q5vwf.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./form-gxt7q2nb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service61;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node82
|
|
7
|
+
} from "./form-g887w5he.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service76,
|
|
16
16
|
node80
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-vt4g59c2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service53,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node58,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service53 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service76;
|
|
110
|
+
return Service53.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node58 = makeGlobalNode({
|
|
171
|
+
service: Service53,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node80]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service53, isError2, validateBranch2, node58, exports_repository_cache };
|