@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
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service56
|
|
11
|
+
} from "./job-bgc09g8q.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./job-0h0s6eq7.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./job-fk58vp44.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-rzvntaz1.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service56;
|
|
57
|
+
const integrations = yield* Service55;
|
|
58
58
|
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./job-7thy3neb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./job-yfz9e6q0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service34
|
|
12
|
+
} from "./job-q2sqeqex.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin19
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service45;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service34;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin31 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin19, exports_worktree };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gzkctzh1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-gsw6h1kf.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service56,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node59
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service56 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service56.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node59 = makeGlobalNode({ service: Service56, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event15, Info23, Service56, node59, exports_credential };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./job-92tc7jpe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./job-1e0p5273.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service77;
|
|
57
|
+
const permission = yield* Service73;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-e89xj288.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gzkctzh1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-gsw6h1kf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./job-vqfzq50h.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID6,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./job-3bfmbvg2.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-q1zmm1c6.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service41;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service49;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service41;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service49;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./job-fk58vp44.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node9, exports_location_watcher_policy };
|