@opencode/core 0.0.0-dev-19815 → 0.0.0-dev-19821
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 +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-mutation-s8wea8bx.js → job-06v682d8.js} +16 -16
- package/dist/chunks/{file-mutation-vackyeka.js → job-0dhz5hwf.js} +10 -10
- package/dist/chunks/{file-mutation-af04s6ss.js → job-0f9afca0.js} +5 -5
- package/dist/chunks/{file-mutation-fjvq75r9.js → job-0h0s6eq7.js} +31 -31
- package/dist/chunks/{file-mutation-s1kvmffy.js → job-0jq9fyba.js} +9 -9
- package/dist/chunks/job-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-510m7gjw.js → job-0r7yqxbf.js} +5 -5
- package/dist/chunks/{file-mutation-2vw86sre.js → job-0vvpktwt.js} +28 -28
- package/dist/chunks/{file-mutation-ye41kewf.js → job-15d0d0bm.js} +17 -17
- package/dist/chunks/{file-mutation-yp2x3t23.js → job-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-zgr90j8v.js → job-1e0p5273.js} +51 -51
- package/dist/chunks/{file-mutation-cvkwxbsz.js → job-1ej0a07e.js} +26 -26
- package/dist/chunks/{file-mutation-cbje66mk.js → job-1gtkbj19.js} +15 -15
- package/dist/chunks/{file-mutation-8hvq2ep8.js → job-1jaberd3.js} +15 -15
- package/dist/chunks/{file-mutation-0tg136y5.js → job-1padrdc5.js} +9 -9
- package/dist/chunks/{file-mutation-1awtappa.js → job-1rtycg88.js} +20 -20
- package/dist/chunks/{file-mutation-56gdpj1q.js → job-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-hm06wjfd.js → job-27e1jej6.js} +87 -87
- package/dist/chunks/{file-mutation-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-mrhf43mr.js → job-2b4h2ww7.js} +11 -11
- package/dist/chunks/{file-mutation-h6jr292a.js → job-2evyaa68.js} +4 -4
- package/dist/chunks/{file-mutation-6vew141g.js → job-2qazqbzw.js} +5 -5
- package/dist/chunks/{file-mutation-vkxpz7g2.js → job-2tfmgkzg.js} +4 -4
- package/dist/chunks/{file-mutation-8gwfkhjz.js → job-2vr0m82r.js} +12 -12
- package/dist/chunks/{file-mutation-gdaj5aat.js → job-2xsycv5e.js} +13 -13
- package/dist/chunks/{file-mutation-gpsxp3jx.js → job-2y5824bb.js} +32 -32
- package/dist/chunks/{file-mutation-6pcefmbq.js → job-32sn9zmq.js} +27 -27
- package/dist/chunks/{file-mutation-f3fzf6ct.js → job-3bfmbvg2.js} +29 -29
- package/dist/chunks/{file-mutation-bew5cyq4.js → job-3dr0v1fh.js} +32 -32
- package/dist/chunks/{file-mutation-h7w9m21h.js → job-3e34z61w.js} +6 -6
- package/dist/chunks/{file-mutation-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-0x4jbnkh.js → job-3kvw8mnh.js} +44 -44
- package/dist/chunks/{file-mutation-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-2r0aj5wh.js → job-3szszgrt.js} +3 -3
- package/dist/chunks/{file-mutation-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-tvs3qzmc.js → job-3vh7x5wm.js} +29 -29
- package/dist/chunks/{file-mutation-7a9f7nwj.js → job-481kcnmx.js} +20 -20
- package/dist/chunks/{file-mutation-07nzwxsz.js → job-48xyscag.js} +9 -9
- package/dist/chunks/{file-mutation-q26d77qc.js → job-4jz5jyn0.js} +7 -7
- package/dist/chunks/{file-mutation-4rys938p.js → job-4nzxx4d3.js} +12 -12
- package/dist/chunks/{file-mutation-q5k1gk2r.js → job-50ejayt8.js} +20 -20
- package/dist/chunks/{file-mutation-aamtrqep.js → job-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-a1bz86dw.js → job-5c4hm403.js} +3 -3
- package/dist/chunks/{file-mutation-7w99qc9d.js → job-5cmxdwv8.js} +3 -3
- package/dist/chunks/{file-mutation-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-xnetyx8p.js → job-5jkb1k88.js} +11 -11
- package/dist/chunks/{file-mutation-2a234wtm.js → job-5m8b30t3.js} +28 -28
- package/dist/chunks/{file-mutation-e3qxr5gk.js → job-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-akrwbyqx.js → job-5z4wn5yq.js} +37 -37
- package/dist/chunks/{file-mutation-nxp2ndre.js → job-63e71ytq.js} +2 -2
- package/dist/chunks/{file-mutation-vyxtkag7.js → job-668w0xjb.js} +34 -34
- package/dist/chunks/{file-mutation-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-6h73sxmp.js → job-6h73sxmp.js} +1 -1
- package/dist/chunks/{file-mutation-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-tfthf431.js → job-71m3rqxh.js} +11 -11
- package/dist/chunks/{file-mutation-fzw6vb94.js → job-71shgfsf.js} +29 -29
- package/dist/chunks/{file-mutation-mvfsc1pv.js → job-73tb2d7t.js} +3 -3
- package/dist/chunks/job-76z3yd02.js +252 -0
- package/dist/chunks/{file-mutation-ett7491z.js → job-7aqv3jr3.js} +17 -17
- package/dist/chunks/{file-mutation-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-5aj0q20a.js → job-7kvkdg61.js} +18 -18
- package/dist/chunks/{file-mutation-vb0h7fes.js → job-7ma37mjv.js} +30 -30
- package/dist/chunks/{file-mutation-f4zk55g1.js → job-7pz960d0.js} +7 -7
- package/dist/chunks/{file-mutation-emkv37r5.js → job-7thy3neb.js} +17 -17
- package/dist/chunks/{file-mutation-3rqkssp8.js → job-87deq66t.js} +6 -6
- package/dist/chunks/{file-mutation-y8gdy8xa.js → job-87sngdwh.js} +11 -11
- package/dist/chunks/{file-mutation-tcezcvh9.js → job-89znhe33.js} +4 -4
- package/dist/chunks/{file-mutation-8mhg0p4j.js → job-8ahba785.js} +3 -3
- package/dist/chunks/{file-mutation-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-8d81dgab.js → job-8f57sem9.js} +8 -8
- package/dist/chunks/{file-mutation-5p7phca6.js → job-8j9pcpgt.js} +44 -44
- package/dist/chunks/{file-mutation-g1q4s0jw.js → job-8mt5e22m.js} +20 -20
- package/dist/chunks/{file-mutation-x2kz3kd9.js → job-8s8dhtps.js} +10 -10
- package/dist/chunks/{file-mutation-vndk1130.js → job-92tc7jpe.js} +21 -21
- package/dist/chunks/{file-mutation-1xebqrby.js → job-985zy11a.js} +43 -43
- package/dist/chunks/{file-mutation-mgscsna9.js → job-9a60j1p0.js} +22 -22
- package/dist/chunks/{file-mutation-4vg93jqq.js → job-9bwme3e5.js} +13 -13
- package/dist/chunks/{file-mutation-sm4ygxtf.js → job-9fe0nesq.js} +4 -4
- package/dist/chunks/{file-mutation-n22ydv4n.js → job-9nap1tbr.js} +11 -11
- package/dist/chunks/{file-mutation-zxfw9cda.js → job-9wbyf57d.js} +5 -5
- package/dist/chunks/{file-mutation-tvzz1vvx.js → job-a1xnpkxd.js} +31 -31
- package/dist/chunks/{file-mutation-5zrd1yp0.js → job-a21nqz3m.js} +10 -10
- package/dist/chunks/{file-mutation-ymnk3hjs.js → job-a6fsw91z.js} +21 -21
- package/dist/chunks/{file-mutation-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-3hn2t390.js → job-aazyja1w.js} +19 -19
- package/dist/chunks/{file-mutation-qjj0dw3c.js → job-apsrg68e.js} +37 -37
- package/dist/chunks/job-asj1j4ys.js +65 -0
- package/dist/chunks/{file-mutation-nk6ab3nm.js → job-atbq07bs.js} +16 -16
- package/dist/chunks/{file-mutation-se8haf2r.js → job-b4z9ja23.js} +3 -3
- package/dist/chunks/{file-mutation-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-eyrsk2wr.js → job-b7nw3dz7.js} +17 -17
- package/dist/chunks/{file-mutation-25r2jws7.js → job-bc1scf50.js} +15 -15
- package/dist/chunks/{file-mutation-7m15pt6c.js → job-bgc09g8q.js} +30 -30
- package/dist/chunks/{file-mutation-h53tpazp.js → job-bm3m92rh.js} +12 -12
- package/dist/chunks/{file-mutation-ptkbcdgn.js → job-bqmgswbv.js} +14 -14
- package/dist/chunks/{file-mutation-vfmrq4xs.js → job-brvmyjnj.js} +4 -4
- package/dist/chunks/{file-mutation-25835ps7.js → job-bv11tn3t.js} +16 -16
- package/dist/chunks/{file-mutation-0q6eeezy.js → job-c45er5nk.js} +5 -5
- package/dist/chunks/{file-mutation-d4he2qe1.js → job-c765mh8b.js} +9 -9
- package/dist/chunks/{file-mutation-jb05x9cx.js → job-c7nv01yg.js} +52 -52
- package/dist/chunks/{file-mutation-fvhrn3gk.js → job-caajgf1j.js} +5 -5
- package/dist/chunks/{file-mutation-vynmvp9h.js → job-d43tgzm4.js} +9 -9
- package/dist/chunks/{file-mutation-cwe02ca0.js → job-d6qthb8j.js} +11 -11
- package/dist/chunks/{file-mutation-kkp8zx71.js → job-d858xzj7.js} +4 -4
- package/dist/chunks/{file-mutation-8ar1z498.js → job-dba8p38n.js} +13 -13
- package/dist/chunks/{file-mutation-8p4f9s12.js → job-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-mutation-ag9w8cw1.js → job-dj9sq318.js} +5 -5
- package/dist/chunks/{file-mutation-wqexvhqz.js → job-dm1rxb12.js} +1 -1
- package/dist/chunks/{file-mutation-szbjyn1k.js → job-dmdcvf38.js} +16 -16
- package/dist/chunks/job-dqkwgabx.js +26 -0
- package/dist/chunks/{file-mutation-xfkkasph.js → job-drwq78ky.js} +4 -4
- package/dist/chunks/{file-mutation-zw4pk1bw.js → job-e89xj288.js} +5 -5
- package/dist/chunks/{file-mutation-0gdmqesm.js → job-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-mutation-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-r1q2hccy.js → job-ef62gz93.js} +20 -20
- package/dist/chunks/{file-mutation-jyzcxg5d.js → job-efm8p952.js} +15 -15
- package/dist/chunks/{file-mutation-mfk1rbdv.js → job-egkz4txj.js} +22 -22
- package/dist/chunks/{file-mutation-xyd70p3w.js → job-epybzj2g.js} +20 -20
- package/dist/chunks/{file-mutation-erw5rpbs.js → job-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-k1grr621.js → job-es0t55qq.js} +25 -25
- package/dist/chunks/{file-mutation-89sbf2tr.js → job-esqzc4fs.js} +3 -3
- package/dist/chunks/{file-mutation-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-yjvamrjh.js → job-f063ghk9.js} +20 -20
- package/dist/chunks/{file-mutation-5jwj12zg.js → job-f0p5ctes.js} +4 -4
- package/dist/chunks/{file-mutation-8hbb8fdq.js → job-f5ftdqyv.js} +4 -4
- package/dist/chunks/{file-mutation-pnv527nz.js → job-fhs97t90.js} +9 -9
- package/dist/chunks/{file-mutation-whtqb0a0.js → job-fk58vp44.js} +32 -32
- package/dist/chunks/{file-mutation-44ke2mar.js → job-fkjmw100.js} +6 -6
- package/dist/chunks/{file-mutation-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-q85fv5sm.js → job-g47mxt1p.js} +51 -51
- package/dist/chunks/{file-mutation-khgmt31j.js → job-g6v7ypq0.js} +18 -18
- package/dist/chunks/{file-mutation-7m9w9bvj.js → job-g7pvs3fs.js} +10 -10
- package/dist/chunks/{file-mutation-806j49yq.js → job-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-mutation-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-bzbtqdde.js → job-gg62xv4q.js} +1 -1
- package/dist/chunks/{file-mutation-t9mj6jt2.js → job-gsw6h1kf.js} +4 -4
- package/dist/chunks/{file-mutation-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-a0t9nbea.js → job-gzkctzh1.js} +3 -3
- package/dist/chunks/{file-mutation-dhwr7h25.js → job-h2r7bbkd.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-fb10pz29.js → job-h7kw5x2h.js} +20 -20
- package/dist/chunks/{file-mutation-5jyrccsa.js → job-h8z3wjez.js} +27 -27
- package/dist/chunks/{file-mutation-v9spj19e.js → job-habd9p12.js} +30 -30
- package/dist/chunks/{file-mutation-e8qyrgb1.js → job-hbyhqfhs.js} +5 -5
- package/dist/chunks/{file-mutation-jp61ynmd.js → job-hd50s0sm.js} +20 -20
- package/dist/chunks/{file-mutation-f828m53h.js → job-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-mutation-5ft7ers2.js → job-hggmt63b.js} +11 -11
- package/dist/chunks/{file-mutation-3yxkz7nw.js → job-hjb25kd7.js} +46 -46
- package/dist/chunks/{file-mutation-1yaa2472.js → job-hkzck3ga.js} +8 -8
- package/dist/chunks/{file-mutation-kne8f3cn.js → job-hn57h045.js} +4 -4
- package/dist/chunks/{file-mutation-4dxew0jv.js → job-hpxbhh9j.js} +6 -6
- package/dist/chunks/{file-mutation-ghfgp0c3.js → job-hqq6j2f9.js} +24 -24
- package/dist/chunks/{file-mutation-27hdnw63.js → job-hsg4398k.js} +13 -13
- package/dist/chunks/{file-mutation-npnjm836.js → job-hsmc4e55.js} +11 -11
- package/dist/chunks/{file-mutation-pdb8ga4w.js → job-j0d9e70d.js} +12 -12
- package/dist/chunks/{file-mutation-8ymss7tz.js → job-j1g8nv42.js} +5 -5
- package/dist/chunks/{file-mutation-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-b5a5chs4.js → job-jczg0w2x.js} +11 -11
- package/dist/chunks/{file-mutation-vsp1fds9.js → job-jw80jp6b.js} +21 -21
- package/dist/chunks/{file-mutation-mx4jkr8z.js → job-k28n6t13.js} +9 -9
- package/dist/chunks/{file-mutation-k3c624dm.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{file-mutation-h2g1afwd.js → job-kbx20vne.js} +11 -11
- package/dist/chunks/{file-mutation-yxc72q6g.js → job-kcbwjnna.js} +17 -17
- package/dist/chunks/{file-mutation-83w0rrj2.js → job-kfgbczz1.js} +30 -30
- package/dist/chunks/{file-mutation-fk7y4jkk.js → job-kwrb1vta.js} +11 -11
- package/dist/chunks/{file-mutation-cfpkc3c9.js → job-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-mutation-r2h83j2n.js → job-m2v8bx2y.js} +7 -7
- package/dist/chunks/{file-mutation-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-n0rcm67m.js → job-m7s474br.js} +22 -22
- package/dist/chunks/{file-mutation-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-vxfja19v.js → job-mfna20ew.js} +3 -3
- package/dist/chunks/{file-mutation-618kh5az.js → job-mjqkth3z.js} +179 -179
- package/dist/chunks/{file-mutation-3zbb0e4x.js → job-mkw2wvv0.js} +10 -10
- package/dist/chunks/{file-mutation-7ehb06f5.js → job-mr86hgcg.js} +24 -24
- package/dist/chunks/{file-mutation-r98d5qx5.js → job-nv7rbgje.js} +9 -9
- package/dist/chunks/{file-mutation-p28j5sbe.js → job-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-mutation-7hf3hesr.js → job-p293czm2.js} +4 -4
- package/dist/chunks/job-p2h6zvwc.js +18 -0
- package/dist/chunks/{file-mutation-cmwkp3r5.js → job-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-mutation-w9jrmyp1.js → job-p479xm5n.js} +24 -24
- package/dist/chunks/{file-mutation-64kphnzf.js → job-paegk39x.js} +4 -4
- package/dist/chunks/{file-mutation-fz059jzw.js → job-pbnv5caj.js} +3 -3
- package/dist/chunks/{file-mutation-q58h1swb.js → job-pc4bd1ey.js} +18 -18
- package/dist/chunks/{file-mutation-qz49fwgp.js → job-pf2hb43r.js} +6 -6
- package/dist/chunks/{file-mutation-gdsttb99.js → job-pggmyjh7.js} +4 -4
- package/dist/chunks/{file-mutation-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-mzrbxmyd.js → job-pn56yd6f.js} +11 -11
- package/dist/chunks/{file-mutation-yd2f7xje.js → job-q0x3bbkn.js} +24 -24
- package/dist/chunks/{file-mutation-jh7y3ak4.js → job-q1zmm1c6.js} +7 -7
- package/dist/chunks/{file-mutation-349ahzma.js → job-q2sqeqex.js} +21 -21
- package/dist/chunks/{file-mutation-ma79mf5h.js → job-q8b8x23r.js} +25 -25
- package/dist/chunks/{file-mutation-7dqw4kz8.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-mutation-9d7xkn7g.js → job-qhk3c1hk.js} +15 -15
- package/dist/chunks/job-qqb4kf29.js +492 -0
- package/dist/chunks/{file-mutation-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-bdqrk2vk.js → job-qsxf26yz.js} +6 -6
- package/dist/chunks/{file-mutation-a7h69g84.js → job-qvzgrdvp.js} +70 -70
- package/dist/chunks/{file-mutation-h6r3nrb9.js → job-r55vasa2.js} +4 -4
- package/dist/chunks/{file-mutation-qz5dz7fn.js → job-r6ssyrn8.js} +16 -16
- package/dist/chunks/{file-mutation-v3qe9rs0.js → job-r6tah6zk.js} +19 -19
- package/dist/chunks/{file-mutation-kkhsm4n5.js → job-rdpx5tsz.js} +24 -24
- package/dist/chunks/{file-mutation-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-42ybwkjg.js → job-rfyfz3ew.js} +17 -17
- package/dist/chunks/{file-mutation-grdqhvxd.js → job-rpwm8seb.js} +23 -23
- package/dist/chunks/{file-mutation-4khym028.js → job-rxmj5mzk.js} +6 -6
- package/dist/chunks/{file-mutation-zzm21s8t.js → job-rxv8w89z.js} +10 -10
- package/dist/chunks/{file-mutation-beq4zmjh.js → job-rzvntaz1.js} +6 -6
- package/dist/chunks/{file-mutation-hk26yxvn.js → job-s65x92mt.js} +17 -17
- package/dist/chunks/{file-mutation-mn433rsw.js → job-s6e14krq.js} +10 -10
- package/dist/chunks/{file-mutation-jxt024yh.js → job-sd834t27.js} +11 -11
- package/dist/chunks/{file-mutation-hfbvy1sn.js → job-ss3wr7y3.js} +19 -19
- package/dist/chunks/{file-mutation-rk9tjfwx.js → job-ssb8vzq0.js} +14 -14
- package/dist/chunks/{file-mutation-ve4pfa0n.js → job-sx1n432n.js} +4 -4
- package/dist/chunks/{file-mutation-fradymh3.js → job-szcj0kzf.js} +8 -8
- package/dist/chunks/{file-mutation-4ym5jtja.js → job-t4x7ra2n.js} +24 -24
- package/dist/chunks/{file-mutation-0eg4rpj5.js → job-t6e30qbs.js} +47 -47
- package/dist/chunks/{file-mutation-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-wy8b5sm2.js → job-tcg29b4q.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-xw3aqcjm.js → job-tem2pcp0.js} +7 -7
- package/dist/chunks/{file-mutation-8aaqm6qj.js → job-tk9ew89t.js} +8 -8
- package/dist/chunks/{file-mutation-969z9wtq.js → job-tktcwvw2.js} +47 -47
- package/dist/chunks/{file-mutation-kdbxf4qp.js → job-tsdhstjq.js} +9 -9
- package/dist/chunks/{file-mutation-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-yw8t9dwe.js → job-tx9w5tca.js} +8 -8
- package/dist/chunks/{file-mutation-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-nng2ktcm.js → job-vmgq4x8b.js} +2 -2
- package/dist/chunks/{file-mutation-mx9vqzsb.js → job-vqfzq50h.js} +6 -6
- package/dist/chunks/{file-mutation-3hdyanjz.js → job-vr2vg3zy.js} +4 -4
- package/dist/chunks/{file-mutation-q643w91n.js → job-vv1h1xbx.js} +5 -5
- package/dist/chunks/{file-mutation-a43a3g9h.js → job-vxt7r4vg.js} +10 -10
- package/dist/chunks/{file-mutation-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-kjfdeayr.js → job-w1ad28wa.js} +8 -8
- package/dist/chunks/{file-mutation-ft2kdwr0.js → job-w2tyfqqp.js} +41 -41
- package/dist/chunks/{file-mutation-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-0pkscahp.js → job-wbktg4wj.js} +18 -18
- package/dist/chunks/{file-mutation-vvqa46qn.js → job-wd36wav5.js} +32 -32
- package/dist/chunks/{file-mutation-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-ff2d2r5m.js → job-wh1n14bd.js} +17 -17
- package/dist/chunks/{file-mutation-yq432fpn.js → job-wncs52te.js} +24 -24
- package/dist/chunks/{file-mutation-ddszz877.js → job-wnrxzpw0.js} +5 -5
- package/dist/chunks/{file-mutation-3wwmjj1e.js → job-wv5yzdar.js} +19 -19
- package/dist/chunks/{file-mutation-tgkhkf8q.js → job-wzdyyep8.js} +8 -8
- package/dist/chunks/{file-mutation-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-tf439zmr.js → job-x7kmr8sd.js} +26 -26
- package/dist/chunks/{file-mutation-dm5eaebf.js → job-xakv51w3.js} +37 -37
- package/dist/chunks/{file-mutation-1tve5nz8.js → job-xnm8kjs2.js} +8 -8
- package/dist/chunks/{file-mutation-1xv6ggcd.js → job-xxa0rhz0.js} +37 -37
- package/dist/chunks/{file-mutation-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-272j0xxc.js → job-y1fyccvv.js} +7 -7
- package/dist/chunks/{file-mutation-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-vf8xkcyd.js → job-ye7w4cqk.js} +13 -13
- package/dist/chunks/{file-mutation-an8v9wk2.js → job-yfz9e6q0.js} +46 -46
- package/dist/chunks/{file-mutation-hfdv8wax.js → job-yjab35yh.js} +6 -6
- package/dist/chunks/{file-mutation-h2mtz7rf.js → job-ymqqterr.js} +22 -22
- package/dist/chunks/{file-mutation-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-7ea56vch.js → job-yw26j43m.js} +9 -9
- package/dist/chunks/{file-mutation-tz0rw111.js → job-yxvmkcfe.js} +41 -41
- package/dist/chunks/{file-mutation-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-8hpm3er8.js → job-z135kqbe.js} +38 -38
- package/dist/chunks/{file-mutation-ymw7bbdm.js → job-z1xjbeh4.js} +9 -9
- package/dist/chunks/{file-mutation-29x78va6.js → job-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-9xw9w00h.js → job-za2adgwd.js} +14 -14
- package/dist/chunks/{file-mutation-th6pfvs0.js → job-za8v1e16.js} +33 -33
- package/dist/chunks/{file-mutation-e1qag84x.js → job-zdx017e5.js} +20 -20
- package/dist/chunks/{file-mutation-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-8q83d4tx.js → job-zhtw8qjf.js} +15 -15
- package/dist/chunks/{file-mutation-x2ncb56t.js → job-zmxkbdbt.js} +24 -24
- package/dist/chunks/{file-mutation-cpbpaj6d.js → job-znj4065v.js} +21 -21
- package/dist/chunks/{file-mutation-kbgxh5wd.js → job-znrpspxx.js} +11 -11
- package/dist/chunks/{file-mutation-b0kddjqc.js → job-zqgctg7n.js} +90 -90
- package/dist/chunks/{file-mutation-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-xpjszw2w.js → job-zsxqfppe.js} +14 -14
- package/dist/chunks/{file-mutation-sbydz4ep.js → job-zw67fc8n.js} +6 -6
- package/dist/chunks/{file-mutation-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-w15v5k7j.js → job-zxxqg0t9.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- 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 +129 -129
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- 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 +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +91 -91
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2680q31g.js +0 -65
- package/dist/chunks/file-mutation-5fvgv7y0.js +0 -26
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-e2h1d8z0.js +0 -492
- package/dist/chunks/file-mutation-w1v3sb82.js +0 -252
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-pn56yd6f.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-gsw6h1kf.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./job-bgc09g8q.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-0h0s6eq7.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-fk58vp44.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-rzvntaz1.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
49
|
const bus = yield* Service82;
|
|
50
50
|
const tokens = new Map;
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID8.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID8.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -163,9 +163,9 @@ var AzurePlugin2 = define({
|
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
166
|
-
yield* bus.subscribe(
|
|
166
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
167
167
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
168
|
-
const connection = yield* ctx.integration.connection.active(
|
|
168
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
169
169
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
170
170
|
return;
|
|
171
171
|
})) : undefined;
|
|
@@ -177,7 +177,7 @@ var AzurePlugin2 = define({
|
|
|
177
177
|
return `Bearer ${current.access}`;
|
|
178
178
|
});
|
|
179
179
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
180
|
-
if (evt.model.providerID !==
|
|
180
|
+
if (evt.model.providerID !== ID8.azure)
|
|
181
181
|
return;
|
|
182
182
|
const authorization = yield* bearer(evt.request.url);
|
|
183
183
|
if (!authorization)
|
|
@@ -186,9 +186,9 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", authorization);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID8.azure });
|
|
190
190
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
191
|
-
if (evt.model.providerID !==
|
|
191
|
+
if (evt.model.providerID !== ID8.azure)
|
|
192
192
|
return;
|
|
193
193
|
const authorization = yield* bearer(evt.url);
|
|
194
194
|
if (!authorization)
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
delete evt.headers["x-api-key"];
|
|
198
198
|
evt.headers.authorization = authorization;
|
|
199
199
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
200
|
-
}), { providerID:
|
|
200
|
+
}), { providerID: ID8.azure });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9a60j1p0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID4.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gzkctzh1.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-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: () => Service66,
|
|
17
|
+
node: () => node69
|
|
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 Service66 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service66.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 node69 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service66, node69, exports_kv };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./job-fk58vp44.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./job-yfz9e6q0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service54;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service45);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gzkctzh1.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info28, ListInput5, AddInput2, Service75, node79, exports_saved };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-gsw6h1kf.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer4, node6, exports_sdk };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-fk58vp44.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info19
|
|
11
|
+
} from "./job-7ma37mjv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info19.make({
|
|
122
|
+
...Info19.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./job-7thy3neb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service27,
|
|
19
|
+
node: () => node30
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service27.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node83] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node30, exports_builtins };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./job-yfz9e6q0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./job-t4x7ra2n.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = 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* Service45;
|
|
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 Plugin30 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin31, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_skills };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./job-q0x3bbkn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service46;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|