@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,26 +1,26 @@
|
|
|
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
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID8,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-fk58vp44.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID9.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service82;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID8.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID8.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.settings = mergeOverlay2(draft.settings, {
|
|
200
200
|
transport: models.provider.get(model.providerID)?.provider.settings?.transport ?? "websocket"
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID8.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -318,4 +318,4 @@ function claim(token) {
|
|
|
318
318
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
export {
|
|
321
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gsw6h1kf.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service76,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node80
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service76.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info29, Service76, node80, exports_agent4, Event19 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./job-fk58vp44.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-rzvntaz1.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID8.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID4,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service35,
|
|
13
|
+
node38
|
|
14
|
+
} from "./job-9a60j1p0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
20
|
var exports_instructions4 = {};
|
|
21
21
|
__export(exports_instructions4, {
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
SkillInstructions: () => exports_instructions4,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID4,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service23 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service35;
|
|
67
|
+
return Service23.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make21({
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node38] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service23, node26, exports_instructions4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./job-bm3m92rh.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service81;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-r55vasa2.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
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service54
|
|
20
|
+
} from "./job-fk58vp44.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./job-7ma37mjv.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-sd834t27.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-pn56yd6f.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service54;
|
|
161
161
|
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|