@opencode/core 0.0.0-dev-19466 → 0.0.0-dev-19468
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/{form-2vnwx32a.js → command-02dn8pjv.js} +8 -8
- package/dist/chunks/{form-qcd9kc12.js → command-07q4da3w.js} +28 -28
- package/dist/chunks/{form-krw20rj3.js → command-08w2x8wj.js} +26 -26
- package/dist/chunks/{form-qk3y3hde.js → command-0fwh74eg.js} +8 -8
- package/dist/chunks/{form-rhjbct0v.js → command-0gdmqesm.js} +4 -4
- package/dist/chunks/{form-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-7sqxeqwy.js → command-0rpg7gzc.js} +4 -4
- package/dist/chunks/{form-s9ww160f.js → command-11vz36px.js} +67 -67
- package/dist/chunks/{form-nbzsj80d.js → command-17j9h1rv.js} +11 -11
- package/dist/chunks/{form-rshbrcq5.js → command-1awm1f41.js} +12 -12
- package/dist/chunks/{form-mvfsc1pv.js → command-1bbkgx8g.js} +3 -3
- package/dist/chunks/{form-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-jf418vq7.js → command-1natq340.js} +17 -17
- package/dist/chunks/{form-assnr950.js → command-1w6a0hnx.js} +29 -29
- package/dist/chunks/{form-jnqkmre8.js → command-1w9eg795.js} +16 -16
- package/dist/chunks/{form-rk1hq680.js → command-1y7qjh7f.js} +26 -26
- package/dist/chunks/{form-56gdpj1q.js → command-1ygqh575.js} +9 -9
- package/dist/chunks/{form-w35d8h7t.js → command-1z06sqnr.js} +6 -6
- package/dist/chunks/{form-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{form-z8618jgn.js → command-22j10vgt.js} +11 -11
- package/dist/chunks/{form-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{form-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-ccyhgnjw.js → command-2bvt8f80.js} +14 -14
- package/dist/chunks/{form-0tn53hfe.js → command-2cbvdzk3.js} +8 -8
- package/dist/chunks/{form-2cc6gfv2.js → command-2ehqxkpw.js} +12 -12
- package/dist/chunks/{form-576nzah0.js → command-2eyezv9v.js} +15 -15
- package/dist/chunks/{form-pc7hkmqs.js → command-2f45m2dq.js} +11 -11
- package/dist/chunks/{form-xfkmbs5e.js → command-2fd5jjda.js} +33 -33
- package/dist/chunks/{form-4szxvfgb.js → command-2gdjp541.js} +4 -4
- package/dist/chunks/{form-65m55qcr.js → command-2vs0bhag.js} +24 -24
- package/dist/chunks/{form-2540tbp6.js → command-2wxfd3z4.js} +7 -7
- package/dist/chunks/{form-swbpz5np.js → command-3b8gsagm.js} +41 -41
- package/dist/chunks/{form-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-vt4g59c2.js → command-3frp61p1.js} +11 -11
- package/dist/chunks/{form-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-wht8nnzv.js → command-3ng855cv.js} +13 -13
- package/dist/chunks/{form-tw1wmbrw.js → command-3s0x99s8.js} +22 -22
- package/dist/chunks/{form-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-g887w5he.js → command-3tey5e4w.js} +10 -10
- package/dist/chunks/{form-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-4zhe13z7.js → command-3xwc0nbz.js} +28 -28
- package/dist/chunks/{form-8hfx6jq1.js → command-43k15f45.js} +4 -4
- package/dist/chunks/{form-c31c74kw.js → command-49dgzs36.js} +14 -14
- package/dist/chunks/{form-q1a7cndp.js → command-4mp12xfm.js} +11 -11
- package/dist/chunks/{form-97fgwabn.js → command-4xwq6bpx.js} +14 -14
- package/dist/chunks/{form-4y66k410.js → command-4y66k410.js} +2 -2
- package/dist/chunks/{form-vxh04kh8.js → command-4zan7p04.js} +32 -32
- package/dist/chunks/{form-n8fstsqy.js → command-5133n32a.js} +4 -4
- package/dist/chunks/{form-nng2ktcm.js → command-51jra4mh.js} +2 -2
- package/dist/chunks/{form-asbzqvmn.js → command-53g8qqsb.js} +23 -23
- package/dist/chunks/{form-2e96adxv.js → command-56zp6hen.js} +9 -9
- package/dist/chunks/{form-hqd08fbh.js → command-58hs0120.js} +9 -9
- package/dist/chunks/{form-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{form-t33aqq77.js → command-5r1zsdx9.js} +8 -8
- package/dist/chunks/{form-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-qb79v30g.js → command-5wgc7fb1.js} +5 -5
- package/dist/chunks/{form-7b15y959.js → command-5xtgfte3.js} +8 -8
- package/dist/chunks/{form-ypxt1aq0.js → command-606t1thy.js} +6 -6
- package/dist/chunks/{form-8rdrgp2d.js → command-623tf1ms.js} +22 -22
- package/dist/chunks/{form-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{form-mp8p9m1k.js → command-68rj78f5.js} +25 -25
- package/dist/chunks/{form-hrvd6t1f.js → command-6d9mz4vp.js} +9 -9
- package/dist/chunks/{form-8n4pt1dd.js → command-6dqz5g6p.js} +44 -44
- package/dist/chunks/{form-f1k9ra80.js → command-6j9ecrq6.js} +3 -3
- package/dist/chunks/{form-qffh8edp.js → command-6kwa84ek.js} +26 -26
- package/dist/chunks/{form-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-50mzsvk4.js → command-6sr3ve8g.js} +21 -21
- package/dist/chunks/{form-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{form-q2b1ymqp.js → command-7atngb88.js} +4 -4
- package/dist/chunks/{form-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-7w99qc9d.js → command-7jdsj2a9.js} +3 -3
- package/dist/chunks/{form-gac2jfnd.js → command-7kqtcfr2.js} +13 -13
- package/dist/chunks/{form-05gmxw6z.js → command-7r9nvvan.js} +11 -11
- package/dist/chunks/{form-cqg8v4c7.js → command-7yqjxrmz.js} +6 -6
- package/dist/chunks/{form-q57g8ht8.js → command-82tjt3dw.js} +8 -8
- package/dist/chunks/{form-8qvgnq7a.js → command-88k2vggc.js} +7 -7
- package/dist/chunks/{form-m7azt10s.js → command-8bzwbvaa.js} +23 -23
- package/dist/chunks/{form-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-tm9cmf1r.js → command-8nk26xcd.js} +4 -4
- package/dist/chunks/{form-dj2t23y0.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-p0wx6aq5.js → command-8qbrsgc3.js} +18 -18
- package/dist/chunks/{form-tknye5wz.js → command-8w2x90d8.js} +22 -22
- package/dist/chunks/{form-0jnzg8v1.js → command-8wgprd1f.js} +18 -18
- package/dist/chunks/{form-t1bhcjx3.js → command-96yt6zt0.js} +1 -1
- package/dist/chunks/{form-fex876vs.js → command-9dm3xxv4.js} +6 -6
- package/dist/chunks/{form-yjwn9hr3.js → command-a0v18vk0.js} +43 -43
- package/dist/chunks/{form-5c4hm403.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-38jtcpsq.js → command-a2ap4c0w.js} +17 -17
- package/dist/chunks/{form-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{form-x5jmn9g9.js → command-ab1j02q5.js} +36 -36
- package/dist/chunks/{form-jq049rxw.js → command-abx73nef.js} +44 -44
- package/dist/chunks/{form-d216944b.js → command-at5d07az.js} +7 -7
- package/dist/chunks/{form-w4hyaehm.js → command-atcs2qeq.js} +12 -12
- package/dist/chunks/{form-hxdk6r1y.js → command-atywk8py.js} +21 -21
- package/dist/chunks/{form-m2r5gtbr.js → command-avj4qb0a.js} +24 -24
- package/dist/chunks/{form-yc1dk1yy.js → command-awhebgdh.js} +9 -9
- package/dist/chunks/{form-ksk8vt3f.js → command-b3nrcp5c.js} +19 -19
- package/dist/chunks/{form-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-f101e7mq.js → command-b8jxd6e3.js} +6 -6
- package/dist/chunks/{form-06dxphr1.js → command-bccb6npm.js} +4 -4
- package/dist/chunks/{form-bv2k5xqy.js → command-bn5pg142.js} +12 -12
- package/dist/chunks/{form-aay990tf.js → command-bqx9ejx6.js} +23 -23
- package/dist/chunks/{form-q2ape1mq.js → command-bvbz56nf.js} +11 -11
- package/dist/chunks/{form-2t2fnzfp.js → command-c0haxaz1.js} +26 -26
- package/dist/chunks/{form-6ycnsh5g.js → command-c6b6ay3f.js} +13 -13
- package/dist/chunks/{form-tx292w9v.js → command-c6e7cwvj.js} +53 -53
- package/dist/chunks/{form-zecg6pzy.js → command-ce2p0j6g.js} +39 -39
- package/dist/chunks/{form-z0g25t4y.js → command-ce62gj8z.js} +14 -14
- package/dist/chunks/{form-hm66575d.js → command-cf4sgr4m.js} +13 -13
- package/dist/chunks/{form-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-5fygcj3v.js → command-cj25t1z9.js} +30 -30
- package/dist/chunks/command-cjk994kr.js +247 -0
- package/dist/chunks/{form-1cm4s572.js → command-csz8m25e.js} +15 -15
- package/dist/chunks/{form-kyfv81ps.js → command-cw6zws1e.js} +21 -21
- package/dist/chunks/{form-awkf3rkk.js → command-cyrm38ka.js} +4 -4
- package/dist/chunks/{form-hnr5yq9h.js → command-d1khqved.js} +5 -5
- package/dist/chunks/{form-00433yj6.js → command-d40bqwh8.js} +1 -1
- package/dist/chunks/{form-afdssyjb.js → command-ddt2bs9e.js} +4 -4
- package/dist/chunks/{form-h1c4f905.js → command-depwzj9d.js} +9 -9
- package/dist/chunks/{form-b823frnw.js → command-dfzjkmr7.js} +20 -20
- package/dist/chunks/{form-9pm72jv4.js → command-dqw3007c.js} +10 -10
- package/dist/chunks/{form-9b3h0hdy.js → command-dsdd247v.js} +7 -7
- package/dist/chunks/{form-14a88h70.js → command-dyrcy9xv.js} +20 -20
- package/dist/chunks/{form-z2qbjhyn.js → command-e89xj288.js} +5 -5
- package/dist/chunks/{form-rkbf8qnf.js → command-efje2ph3.js} +4 -4
- package/dist/chunks/{form-xsd6f48w.js → command-ek7sb5kq.js} +16 -16
- package/dist/chunks/{form-fab8hzt3.js → command-epd1fg1b.js} +4 -4
- package/dist/chunks/{form-v7q3tn0x.js → command-et4cfen6.js} +17 -17
- package/dist/chunks/{form-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-swqn9gat.js → command-f1yy6z4t.js} +5 -5
- package/dist/chunks/{form-2f2wkhxh.js → command-f2dtw58t.js} +19 -19
- package/dist/chunks/{form-1z0aknf9.js → command-f6c90htb.js} +34 -34
- package/dist/chunks/{form-hdnk95c8.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{form-n5zjdcc0.js → command-f8q7mv7a.js} +1 -1
- package/dist/chunks/{form-0jwsre1p.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{form-1fa9ans5.js → command-fgh0kbhd.js} +1 -1
- package/dist/chunks/{form-evp151d0.js → command-fvcnrdsd.js} +2 -2
- package/dist/chunks/{form-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-fmmn8x74.js → command-fygdb7h7.js} +3 -3
- package/dist/chunks/{form-yc1rv2nb.js → command-fypfzqg6.js} +6 -6
- package/dist/chunks/{form-8w5eg97y.js → command-gc5k1756.js} +18 -18
- package/dist/chunks/{form-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-g4sdyxzz.js → command-gew808h9.js} +7 -7
- package/dist/chunks/{form-caze8vm3.js → command-gn4w61g6.js} +7 -7
- package/dist/chunks/{form-ssysrae3.js → command-gr4w44ny.js} +25 -25
- package/dist/chunks/{form-xa2j3jkz.js → command-grw19vv8.js} +35 -35
- package/dist/chunks/{form-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-t7d5z6x6.js → command-h0vzxx5t.js} +16 -16
- package/dist/chunks/command-h47he10w.js +4 -0
- package/dist/chunks/{form-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-zs85szgj.js → command-ha44nnvw.js} +13 -13
- package/dist/chunks/{form-998hv5gp.js → command-hct2a0fv.js} +26 -26
- package/dist/chunks/command-hgstdy4b.js +22 -0
- package/dist/chunks/{form-w49376b9.js → command-hjtepwtx.js} +20 -20
- package/dist/chunks/{form-41raftcs.js → command-hph61g7p.js} +24 -24
- package/dist/chunks/{form-fjwhbg0m.js → command-hyzf9tpp.js} +22 -22
- package/dist/chunks/{form-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{form-tsnc6md1.js → command-j6q1n0sc.js} +6 -6
- package/dist/chunks/{form-z51q84wk.js → command-j7cjz3r7.js} +20 -20
- package/dist/chunks/{form-paphc93g.js → command-j935v87r.js} +2 -2
- package/dist/chunks/{form-bdhcyfgd.js → command-janxdphz.js} +27 -27
- package/dist/chunks/{form-1ghpc1h3.js → command-jff1ryk2.js} +33 -33
- package/dist/chunks/{form-t6zqq4mq.js → command-jfrxj68p.js} +298 -298
- package/dist/chunks/{form-9ra0mmgv.js → command-jq16a9yq.js} +49 -49
- package/dist/chunks/{form-wy6fvhf7.js → command-jq77w4zw.js} +11 -11
- package/dist/chunks/{form-05b1y4dr.js → command-jrrn2k62.js} +4 -4
- package/dist/chunks/{form-rg87589h.js → command-jzbwbd34.js} +11 -11
- package/dist/chunks/{form-m48990ta.js → command-k12jm31d.js} +27 -27
- package/dist/chunks/{form-qssq5wvh.js → command-k16ay38w.js} +1 -1
- package/dist/chunks/{form-g35tdwe4.js → command-k3qnv071.js} +11 -11
- package/dist/chunks/{form-2nm5ff7y.js → command-kar9ash6.js} +82 -82
- package/dist/chunks/{form-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{form-xn5rvdk3.js → command-kh9sx4kg.js} +8 -8
- package/dist/chunks/{form-hf8cnsjw.js → command-ksz0h0wp.js} +1 -1
- package/dist/chunks/{form-d2e6rrcm.js → command-ktrv770k.js} +18 -18
- package/dist/chunks/{form-11hzmxk0.js → command-kxdgf94m.js} +34 -34
- package/dist/chunks/{form-dt849bc4.js → command-m27pyyd3.js} +6 -6
- package/dist/chunks/{form-6jnybvqn.js → command-m2d0j7c0.js} +9 -9
- package/dist/chunks/{form-cwfb3t4k.js → command-m8zgfef2.js} +5 -5
- package/dist/chunks/{form-2hxyrecd.js → command-m91662m1.js} +9 -9
- package/dist/chunks/{form-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-g4ajyp53.js → command-mj56dvqn.js} +21 -21
- package/dist/chunks/{form-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{form-8z17e00v.js → command-mn5tqr63.js} +6 -6
- package/dist/chunks/{form-fr2kbfxw.js → command-mqkmkpfj.js} +10 -10
- package/dist/chunks/{form-6ymymyv8.js → command-mqzwkyay.js} +6 -6
- package/dist/chunks/{form-wk2hrdx5.js → command-msgzsd09.js} +29 -29
- package/dist/chunks/{form-qpv3bqr6.js → command-n093m6g5.js} +30 -30
- package/dist/chunks/{form-431dt5ep.js → command-n5rv7k3r.js} +8 -8
- package/dist/chunks/{form-vwqc105j.js → command-n68r2zkb.js} +12 -12
- package/dist/chunks/{form-6jex2xta.js → command-n76fdqym.js} +5 -5
- package/dist/chunks/{form-0q4gv9rf.js → command-n81d318j.js} +43 -43
- package/dist/chunks/{form-wz6q5vwf.js → command-nbf8yg7d.js} +28 -28
- package/dist/chunks/{form-wzz0kxab.js → command-nca7p386.js} +7 -7
- package/dist/chunks/{form-hjt4xg1x.js → command-nhy5jxhy.js} +4 -4
- package/dist/chunks/{form-n0err2ak.js → command-nre9bmbr.js} +28 -28
- package/dist/chunks/{form-342bs8hn.js → command-nse75xca.js} +46 -46
- package/dist/chunks/{form-d4c0rpe7.js → command-p8h51xpj.js} +11 -11
- package/dist/chunks/{form-6dkp0jpv.js → command-pbmwqkmp.js} +18 -18
- package/dist/chunks/{form-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-kakm5609.js → command-pk3bwvhp.js} +23 -23
- package/dist/chunks/{form-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{form-3y0vn2ab.js → command-pnw8gab2.js} +11 -11
- package/dist/chunks/{form-gsd5dsw3.js → command-ps5pwecj.js} +13 -13
- package/dist/chunks/{form-mbb6x4gq.js → command-q029wpmv.js} +9 -9
- package/dist/chunks/command-q509s3k3.js +18 -0
- package/dist/chunks/{form-3wqgjbe3.js → command-qbs9wpx5.js} +6 -6
- package/dist/chunks/{form-7h47emwc.js → command-qhzsw49z.js} +13 -13
- package/dist/chunks/{form-xdppvteq.js → command-qjmsdj0v.js} +18 -18
- package/dist/chunks/{form-gxt7q2nb.js → command-qkn0he17.js} +86 -86
- package/dist/chunks/{form-b02gdezj.js → command-qqe6tnq7.js} +10 -10
- package/dist/chunks/{form-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{form-zv8wzcrz.js → command-qtewthd2.js} +8 -8
- package/dist/chunks/{form-grcagha7.js → command-r31hq9tw.js} +15 -15
- package/dist/chunks/{form-qnhgznfc.js → command-r7vvp0pq.js} +18 -18
- package/dist/chunks/{form-n032fvft.js → command-r80rqf00.js} +6 -6
- package/dist/chunks/{form-7s02b6me.js → command-r9babyk8.js} +1 -1
- package/dist/chunks/{form-r9mregkx.js → command-r9mregkx.js} +2 -2
- package/dist/chunks/{form-2jzp3xtm.js → command-rbzw3czx.js} +30 -30
- package/dist/chunks/{form-81swgkk7.js → command-rk0rec3h.js} +9 -9
- package/dist/chunks/{form-4nh1fksq.js → command-rrn4n66a.js} +11 -11
- package/dist/chunks/{form-yrznvahk.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{form-d50f2zf5.js → command-t23qze4t.js} +1 -1
- package/dist/chunks/{form-6apjjhdk.js → command-t3an8jwj.js} +24 -24
- package/dist/chunks/{form-g9ep4xdc.js → command-t3bdjydy.js} +37 -37
- package/dist/chunks/{form-wktmrfzn.js → command-t5mzcy74.js} +14 -14
- package/dist/chunks/{form-hv4dbmz4.js → command-t7z3zppm.js} +2 -2
- package/dist/chunks/{form-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{form-zyddxhh7.js → command-tfngb0ww.js} +4 -4
- package/dist/chunks/{form-maby05qh.js → command-tn44nq14.js} +11 -11
- package/dist/chunks/{form-xstt6w6w.js → command-tqza4b3e.js} +57 -57
- package/dist/chunks/{form-dep1tgj5.js → command-trnnyg3s.js} +11 -11
- package/dist/chunks/{form-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{form-gbgwd44t.js → command-v6gj3a76.js} +7 -7
- package/dist/chunks/{form-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{form-6nncasy6.js → command-vkpd1pcz.js} +13 -13
- package/dist/chunks/{form-knsaty1w.js → command-vwkvnd24.js} +41 -41
- package/dist/chunks/{form-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-a00065a9.js → command-w2rsnnhh.js} +5 -5
- package/dist/chunks/{form-7jyc931p.js → command-w2wp25j3.js} +13 -13
- package/dist/chunks/{form-w5s4s3ts.js → command-w3qz1p8h.js} +20 -20
- package/dist/chunks/{form-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-qcjn0ash.js → command-w4280d3n.js} +47 -47
- package/dist/chunks/{form-fcaqg7qr.js → command-w632jh98.js} +9 -9
- package/dist/chunks/{form-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{form-ypmxyqks.js → command-wj6rvh9s.js} +8 -8
- package/dist/chunks/{form-9h9xq4n3.js → command-wpsncnrz.js} +16 -16
- package/dist/chunks/{form-t6730khh.js → command-wq14gy70.js} +18 -18
- package/dist/chunks/{form-9bqyd62a.js → command-wtgrkprm.js} +37 -37
- package/dist/chunks/{form-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-tf4ysc3w.js → command-xdmx6wv9.js} +11 -11
- package/dist/chunks/{form-h9dx7f6h.js → command-xe49p51w.js} +22 -22
- package/dist/chunks/{form-vdwzkfen.js → command-xg3w2jr6.js} +11 -11
- package/dist/chunks/{form-nv4mj6tb.js → command-xrv37rzx.js} +11 -11
- package/dist/chunks/{form-w8pkwymp.js → command-xwnd57w1.js} +9 -9
- package/dist/chunks/{form-3hf7z3yq.js → command-xzmxhkya.js} +11 -11
- package/dist/chunks/{form-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-0c9trx5t.js → command-y62qmqfa.js} +9 -9
- package/dist/chunks/{form-jwcy2c2z.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{form-mvnm64jf.js → command-yjb6gg26.js} +160 -160
- package/dist/chunks/{form-r8xr0va3.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{form-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-pecb0brz.js → command-yt0fqk68.js} +5 -5
- package/dist/chunks/{form-3ft0qgkj.js → command-ytbffa2g.js} +10 -10
- package/dist/chunks/{form-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-tz2bjj40.js → command-z3pw5915.js} +5 -5
- package/dist/chunks/{form-2ee8pmxs.js → command-z69s9t6b.js} +5 -5
- package/dist/chunks/{form-k0ka9z30.js → command-zbgm0av8.js} +6 -6
- package/dist/chunks/{form-ycjb11n5.js → command-zcqf6png.js} +6 -6
- package/dist/chunks/{form-6xva45ts.js → command-zd4hnhbr.js} +35 -35
- package/dist/chunks/{form-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-1vpq6b2c.js → command-zk4xc3a5.js} +8 -8
- package/dist/chunks/{form-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-2f7aa0dt.js → command-zsvvz215.js} +7 -7
- package/dist/chunks/{form-zwg5k4st.js → command-zwwg1j6t.js} +15 -15
- package/dist/chunks/{form-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-46hcdknc.js → command-zytqva6s.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +118 -118
- package/dist/config/plugin/command.js +210 -210
- 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 +127 -127
- 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 +117 -117
- 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 +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +84 -84
- 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 +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- 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 +79 -79
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- 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 +4 -4
- 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 +81 -81
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- 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 +216 -216
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- 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 +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- 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 +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- 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 +121 -121
- 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 +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- 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 +11 -11
- 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 +5 -5
- 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 +86 -86
- 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 +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/form-0mesazry.js +0 -4
- package/dist/chunks/form-9sh4wc5j.js +0 -18
- package/dist/chunks/form-crwfem31.js +0 -22
- package/dist/chunks/form-dt2e4e7m.js +0 -247
- /package/dist/chunks/{form-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{form-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-m27pyyd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./command-rrn4n66a.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-t7z3zppm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref4
|
|
20
|
+
} from "./command-1awm1f41.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node80
|
|
25
|
+
} from "./command-k12jm31d.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service74,
|
|
28
|
+
node79
|
|
29
|
+
} from "./command-08w2x8wj.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service73,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
42
42
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer24,
|
|
46
|
+
node: () => node78,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID18,
|
|
57
|
+
modelID: ID17,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID18,
|
|
67
|
+
modelID: ID17,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID18,
|
|
77
|
+
modelID: ID17,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID18,
|
|
87
|
+
modelID: ID17,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service73 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
221
|
+
var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
222
|
+
const catalog = yield* Service74;
|
|
223
|
+
const integrations = yield* Service75;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service77;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
228
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
229
229
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
230
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
231
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -235,7 +235,7 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
235
235
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
236
236
|
return {
|
|
237
237
|
model: runtime,
|
|
238
|
-
ref:
|
|
238
|
+
ref: Ref4.make({
|
|
239
239
|
id: selected.id,
|
|
240
240
|
providerID: selected.providerID,
|
|
241
241
|
...variant === undefined ? {} : { variant }
|
|
@@ -247,7 +247,7 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
247
247
|
websocket: selected.websocket ?? false
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
|
-
return
|
|
250
|
+
return Service73.of({
|
|
251
251
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
252
252
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
253
253
|
if (!selected)
|
|
@@ -264,10 +264,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
264
264
|
const name = packageName2(packageName);
|
|
265
265
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
269
|
-
layer:
|
|
270
|
-
deps: [
|
|
267
|
+
var node78 = makeLocationNode({
|
|
268
|
+
service: Service73,
|
|
269
|
+
layer: layer24,
|
|
270
|
+
deps: [node79, node80, Npm.node, node82]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
273
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node78, exports_model_resolver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./command-2f45m2dq.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-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: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node73
|
|
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 Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service68.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
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node73, exports_kv };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./command-c6e7cwvj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
9
|
Service41
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-f2dtw58t.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
18
|
Input: () => Input8,
|
|
19
19
|
Output: () => Output5,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
20
|
+
Plugin: () => Plugin23,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description4,
|
|
23
23
|
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,7 +28,7 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name8 = "skill";
|
|
30
30
|
var Input8 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
@@ -43,12 +43,12 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin23 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const skills = yield* Service41;
|
|
51
|
-
const permission = yield*
|
|
51
|
+
const permission = yield* Service43;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
@@ -79,4 +79,4 @@ var Plugin9 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name8, Input8, Output5, description4, toModelOutput2,
|
|
82
|
+
export { name8, Input8, Output5, description4, toModelOutput2, Plugin23, exports_skill2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-xzmxhkya.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-jzbwbd34.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./command-n093m6g5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-k12jm31d.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID18,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-m27pyyd3.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-gew808h9.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID18.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID18.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID18.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID18.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -169,11 +169,11 @@ var AzurePlugin2 = define({
|
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
172
|
-
yield* bus.subscribe(
|
|
172
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
173
173
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
174
|
-
if (evt.model.providerID !==
|
|
174
|
+
if (evt.model.providerID !== ID18.azure)
|
|
175
175
|
return;
|
|
176
|
-
const connection = yield* ctx.integration.connection.active(
|
|
176
|
+
const connection = yield* ctx.integration.connection.active(ID18.azure);
|
|
177
177
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
178
178
|
return;
|
|
179
179
|
})) : undefined;
|
|
@@ -186,11 +186,11 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID18.azure });
|
|
190
190
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
191
191
|
if (evt.package !== "@ai-sdk/azure")
|
|
192
192
|
return;
|
|
193
|
-
if (evt.model.providerID ===
|
|
193
|
+
if (evt.model.providerID === ID18.azure) {
|
|
194
194
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
195
195
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
196
196
|
}
|
|
@@ -199,7 +199,7 @@ var AzurePlugin2 = define({
|
|
|
199
199
|
evt.sdk = mod.createAzure(evt.options);
|
|
200
200
|
}));
|
|
201
201
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
202
|
-
if (evt.model.providerID !==
|
|
202
|
+
if (evt.model.providerID !== ID18.azure)
|
|
203
203
|
return;
|
|
204
204
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
205
205
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service71,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node76
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service71 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service71.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node76 = makeGlobalNode({ service: Service71, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service71, node76, exports_git3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service69,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node74
|
|
7
|
+
} from "./command-q029wpmv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service56,
|
|
10
|
+
node60
|
|
11
|
+
} from "./command-t5mzcy74.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./command-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options7,
|
|
25
|
+
Service: () => Service55,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer19,
|
|
29
|
+
node: () => node59,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service55 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service69;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service56;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service55.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service69;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service55.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service55.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer19 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service69;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service55, layer: layer19(options), deps: [node74, node60] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node59 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options7, Service55, ripgrepLayer2, fffLayer2, layer19, configured8, node59, exports_search };
|