@opencode/core 0.0.0-dev-21103 → 0.0.0-dev-21105
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{models-dev-2akqzpk3.js → form-01a0dr57.js} +21 -21
- package/dist/chunks/{models-dev-kqx1b4hy.js → form-0b5g1ynf.js} +4 -4
- package/dist/chunks/{models-dev-3ej3pa37.js → form-0bj3nf4q.js} +5 -5
- package/dist/chunks/{models-dev-n1t23x52.js → form-0cnk6m96.js} +18 -18
- package/dist/chunks/{models-dev-hgmf4m41.js → form-0j6p9vqs.js} +21 -21
- package/dist/chunks/{models-dev-fs0ryakd.js → form-0js0xjhh.js} +11 -11
- package/dist/chunks/{models-dev-pmnneqsb.js → form-0thqkfh6.js} +55 -55
- package/dist/chunks/{models-dev-80ss7tj8.js → form-0tww4wex.js} +33 -33
- package/dist/chunks/{models-dev-qzpyk82z.js → form-0vawvjhj.js} +6 -6
- package/dist/chunks/{models-dev-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-wxc0f3yq.js → form-0wws6hjz.js} +14 -14
- package/dist/chunks/{models-dev-55yh6xd3.js → form-0y5h5hqm.js} +8 -8
- package/dist/chunks/{models-dev-d56qzfzb.js → form-12a633mt.js} +3 -3
- package/dist/chunks/{models-dev-ecw21w1h.js → form-148jjfyp.js} +4 -4
- package/dist/chunks/{models-dev-z135rspg.js → form-14hxsfdw.js} +9 -9
- package/dist/chunks/{models-dev-gh6hwtw0.js → form-17xwg79a.js} +3 -3
- package/dist/chunks/{models-dev-598djycs.js → form-1ae71dfs.js} +11 -11
- package/dist/chunks/{models-dev-2r1j4600.js → form-1bmjn0qh.js} +8 -8
- package/dist/chunks/{models-dev-wjr9rjd7.js → form-1ffvrpkg.js} +9 -9
- package/dist/chunks/{models-dev-dcpdnsk6.js → form-1g9yzgxb.js} +20 -20
- package/dist/chunks/{models-dev-8ank75fn.js → form-1gfgk62c.js} +8 -8
- package/dist/chunks/{models-dev-w74zvrdf.js → form-1gyqrq6p.js} +19 -19
- package/dist/chunks/{models-dev-j0dm9avb.js → form-1mw1ka0c.js} +40 -40
- package/dist/chunks/{models-dev-bgtk5hwy.js → form-1q3h93r0.js} +10 -10
- package/dist/chunks/{models-dev-xvae3yab.js → form-1sgdx4a3.js} +24 -24
- package/dist/chunks/{models-dev-12xa7c19.js → form-1xw87vn2.js} +6 -6
- package/dist/chunks/{models-dev-xj3491xa.js → form-1z57bhj8.js} +13 -13
- package/dist/chunks/{models-dev-nfejd64p.js → form-24q4p3nw.js} +34 -34
- package/dist/chunks/{models-dev-2z6przmx.js → form-2a813mr4.js} +14 -14
- package/dist/chunks/{models-dev-damz5fwt.js → form-2gytb7wg.js} +20 -20
- package/dist/chunks/{models-dev-w3x9v1nk.js → form-2hr5nhwa.js} +8 -8
- package/dist/chunks/{models-dev-bf4gbvg4.js → form-2pdg46mn.js} +8 -8
- package/dist/chunks/{models-dev-r966epky.js → form-2qb81z4b.js} +18 -18
- package/dist/chunks/{models-dev-pp2ce1g6.js → form-2qy1ne1f.js} +21 -21
- package/dist/chunks/{models-dev-ckf8nxjz.js → form-2vs2nh1n.js} +4 -4
- package/dist/chunks/{models-dev-r0jx86qv.js → form-2w2jw15j.js} +21 -21
- package/dist/chunks/{models-dev-zf24vjx2.js → form-319ctarb.js} +1 -1
- package/dist/chunks/{models-dev-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-anr4w7k8.js → form-3n8x12gt.js} +18 -18
- package/dist/chunks/{models-dev-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-zhpzfnnm.js → form-3yt14ahe.js} +6 -6
- package/dist/chunks/{models-dev-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-s04yg0h5.js → form-43bw2k76.js} +38 -38
- package/dist/chunks/{models-dev-aj3rbcf1.js → form-4ekscj25.js} +5 -5
- package/dist/chunks/{models-dev-1jzxfm5p.js → form-4g66ymys.js} +4 -4
- package/dist/chunks/{models-dev-mszqs36w.js → form-4kv7khez.js} +14 -14
- package/dist/chunks/{models-dev-1hgqdnhq.js → form-4qa0gxex.js} +12 -12
- package/dist/chunks/form-4v7qdvcn.js +18 -0
- package/dist/chunks/{models-dev-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{models-dev-ytqyg6zh.js → form-56301932.js} +3 -3
- package/dist/chunks/{models-dev-z6zf04q7.js → form-5atndy4c.js} +20 -20
- package/dist/chunks/{models-dev-p7763bs8.js → form-5az94262.js} +31 -31
- package/dist/chunks/{models-dev-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-whw5zgdk.js → form-5sdmzxjs.js} +25 -25
- package/dist/chunks/{models-dev-csdvkhge.js → form-60qrxp7p.js} +51 -51
- package/dist/chunks/{models-dev-p3gkw1kz.js → form-645n92dz.js} +13 -13
- package/dist/chunks/{models-dev-j7aq1t3e.js → form-6nhx3y9w.js} +8 -8
- package/dist/chunks/{models-dev-py3kkmfq.js → form-6pc27hjz.js} +6 -6
- package/dist/chunks/{models-dev-vfjhn2wd.js → form-6rm5yzkt.js} +4 -4
- package/dist/chunks/{models-dev-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-em0gpvwq.js → form-6yvzt56s.js} +23 -23
- package/dist/chunks/{models-dev-4nhk0sdz.js → form-76njjj1w.js} +39 -39
- package/dist/chunks/{models-dev-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{models-dev-3gmam5k1.js → form-79f3pcaf.js} +4 -4
- package/dist/chunks/{models-dev-6aqh8tvj.js → form-7bdytd2w.js} +10 -10
- package/dist/chunks/{models-dev-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-b7ykavmz.js → form-7eenkzgj.js} +6 -6
- package/dist/chunks/{models-dev-r953n9w9.js → form-7erbtyx3.js} +11 -11
- package/dist/chunks/{models-dev-tkjw6tc9.js → form-7g33d3vx.js} +10 -10
- package/dist/chunks/{models-dev-y80h604t.js → form-7gdkps73.js} +15 -15
- package/dist/chunks/{models-dev-f4d0nvvk.js → form-7v6bcey3.js} +8 -8
- package/dist/chunks/{models-dev-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{models-dev-6rqswetv.js → form-88h1x7q7.js} +15 -15
- package/dist/chunks/{models-dev-tcezcvh9.js → form-89znhe33.js} +4 -4
- package/dist/chunks/{models-dev-dfxa828b.js → form-8akyp47s.js} +21 -21
- package/dist/chunks/{models-dev-5d1ww40v.js → form-8c12240n.js} +35 -35
- package/dist/chunks/{models-dev-zp4b7z7f.js → form-8cms378j.js} +11 -11
- package/dist/chunks/{models-dev-2h747eb3.js → form-8d85tyyw.js} +5 -5
- package/dist/chunks/{models-dev-wgwt0zmy.js → form-8gngkb78.js} +11 -11
- package/dist/chunks/{models-dev-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-zzyrpm7p.js → form-8nhzyrxz.js} +25 -25
- package/dist/chunks/{models-dev-snygwxgw.js → form-8pe5aa2t.js} +9 -9
- package/dist/chunks/{models-dev-d216944b.js → form-8rqycdgd.js} +4 -4
- package/dist/chunks/{models-dev-eask04rd.js → form-8w33d7yj.js} +11 -11
- package/dist/chunks/{models-dev-8snydk6z.js → form-8ywxhbtv.js} +17 -17
- package/dist/chunks/{models-dev-5r77gv8f.js → form-901f95hp.js} +25 -25
- package/dist/chunks/{models-dev-91qna3x0.js → form-91qna3x0.js} +3 -3
- package/dist/chunks/{models-dev-3mkrw1ny.js → form-924pcbt5.js} +6 -6
- package/dist/chunks/{models-dev-0m54b994.js → form-95s8xwj6.js} +5 -5
- package/dist/chunks/{models-dev-y5975pxr.js → form-965qm7dd.js} +13 -13
- package/dist/chunks/{models-dev-rfxjeba6.js → form-98n93haa.js} +4 -4
- package/dist/chunks/{models-dev-rbwza9gb.js → form-9e6jq2sd.js} +69 -69
- package/dist/chunks/{models-dev-gwj8012a.js → form-9p9gtwv3.js} +45 -45
- package/dist/chunks/{models-dev-156fkcxj.js → form-9v2kfm1y.js} +30 -30
- package/dist/chunks/{models-dev-w86a4jbk.js → form-a6et1nw0.js} +19 -19
- package/dist/chunks/{models-dev-0jzbpbks.js → form-a7ksjw1b.js} +10 -10
- package/dist/chunks/{models-dev-a89e0tac.js → form-a89e0tac.js} +1 -1
- package/dist/chunks/{models-dev-tksp512h.js → form-ae1d2cnk.js} +50 -50
- package/dist/chunks/{models-dev-73g36y3t.js → form-ak3qsp58.js} +4 -4
- package/dist/chunks/{models-dev-21x2tq4y.js → form-apds20hx.js} +8 -8
- package/dist/chunks/{models-dev-a6m5ge69.js → form-arm62a2s.js} +5 -5
- package/dist/chunks/{models-dev-fad1fstv.js → form-b36rn7vd.js} +32 -32
- package/dist/chunks/{models-dev-q4vh7wx4.js → form-bbgghgw2.js} +45 -45
- package/dist/chunks/{models-dev-18yjff17.js → form-beh5shbh.js} +44 -44
- package/dist/chunks/form-bp1dmp05.js +257 -0
- package/dist/chunks/{models-dev-c1fqxshp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{models-dev-ksqd16ha.js → form-c2r6z7pt.js} +5 -5
- package/dist/chunks/{models-dev-14dmx2cw.js → form-c5j6ww4m.js} +11 -11
- package/dist/chunks/{models-dev-h11j87t7.js → form-cdjk4qrs.js} +46 -46
- package/dist/chunks/{models-dev-18j937x3.js → form-cdv1e2mm.js} +29 -29
- package/dist/chunks/{models-dev-pt3sjhha.js → form-cwcv4v74.js} +20 -20
- package/dist/chunks/{models-dev-02whdv0x.js → form-d49tyx67.js} +7 -7
- package/dist/chunks/{models-dev-80edwejb.js → form-d4cbjqqc.js} +10 -10
- package/dist/chunks/{models-dev-hkhazw4s.js → form-da9q9y1p.js} +42 -42
- package/dist/chunks/{models-dev-73mn35m0.js → form-db0xh7a7.js} +50 -50
- package/dist/chunks/{models-dev-20hxmkmy.js → form-deefrv65.js} +4 -4
- package/dist/chunks/{models-dev-c765mh8b.js → form-djszqvmq.js} +9 -9
- package/dist/chunks/{models-dev-dqxsqydv.js → form-dqxsqydv.js} +1 -1
- package/dist/chunks/{models-dev-rgeb7nt4.js → form-dr0qdjyn.js} +25 -25
- package/dist/chunks/{models-dev-xfkkasph.js → form-drwq78ky.js} +4 -4
- package/dist/chunks/{models-dev-zjzm1mqh.js → form-dsy27fts.js} +12 -12
- package/dist/chunks/{models-dev-3c0dn32h.js → form-dvhv3b5e.js} +20 -20
- package/dist/chunks/{models-dev-6hxktd23.js → form-e04zm3w2.js} +15 -15
- package/dist/chunks/{models-dev-tvfx0eya.js → form-e0g3rkc8.js} +3 -3
- package/dist/chunks/{models-dev-5rzwp8tz.js → form-e80seqcp.js} +3 -3
- package/dist/chunks/form-e9jspw56.js +26 -0
- package/dist/chunks/{models-dev-589cd944.js → form-eawn7k72.js} +16 -16
- package/dist/chunks/{models-dev-rtrczrsy.js → form-eb2ky45d.js} +32 -32
- package/dist/chunks/{models-dev-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-jynx48he.js → form-ejeb2f46.js} +14 -14
- package/dist/chunks/{models-dev-4enwrpjj.js → form-ekd234cw.js} +88 -88
- package/dist/chunks/{models-dev-2466df47.js → form-enfjksvz.js} +36 -36
- package/dist/chunks/{models-dev-xvyqtd7m.js → form-epy0rrb9.js} +16 -16
- package/dist/chunks/{models-dev-kgz81yt2.js → form-erd65f1s.js} +27 -27
- package/dist/chunks/{models-dev-c36fk44k.js → form-etdkazj2.js} +9 -9
- package/dist/chunks/{models-dev-mdtzp1pw.js → form-f25jab1e.js} +21 -21
- package/dist/chunks/{models-dev-xvr28c84.js → form-f4a633pw.js} +5 -5
- package/dist/chunks/{models-dev-tdbz35zs.js → form-f8t4d16m.js} +28 -28
- package/dist/chunks/{models-dev-5ye64gj6.js → form-fnvzehws.js} +32 -32
- package/dist/chunks/{models-dev-e76kv9r4.js → form-fww2ha2b.js} +10 -10
- package/dist/chunks/{models-dev-r2y1k1ra.js → form-g3ew9s85.js} +45 -45
- package/dist/chunks/{models-dev-s9v1gswf.js → form-g3tb3bkv.js} +18 -18
- package/dist/chunks/{models-dev-g8h5p3ab.js → form-g5j39fp8.js} +7 -7
- package/dist/chunks/{models-dev-g686f6pq.js → form-g686f6pq.js} +2 -2
- package/dist/chunks/{models-dev-dssbfrwz.js → form-g6yfr6ja.js} +5 -5
- package/dist/chunks/{models-dev-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-22zphmk5.js → form-gh864679.js} +8 -8
- package/dist/chunks/{models-dev-rqct9df9.js → form-ghp9faw8.js} +11 -11
- package/dist/chunks/{models-dev-ygdna4kr.js → form-gj71zhbs.js} +5 -5
- package/dist/chunks/{models-dev-k2k03ya2.js → form-gkkd4eh1.js} +21 -21
- package/dist/chunks/{models-dev-7zkbhs7g.js → form-gn31e51v.js} +11 -11
- package/dist/chunks/{models-dev-00rnpv17.js → form-gtv92395.js} +17 -17
- package/dist/chunks/{models-dev-byba8atx.js → form-h4pp1fb1.js} +13 -13
- package/dist/chunks/{models-dev-g99py8zc.js → form-h6tscvwz.js} +11 -11
- package/dist/chunks/{models-dev-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{models-dev-h7s7r6s9.js → form-h7s7r6s9.js} +2 -2
- package/dist/chunks/{models-dev-jktyb4p1.js → form-hg42hcse.js} +15 -15
- package/dist/chunks/{models-dev-y95rb4b8.js → form-hgwjhw5g.js} +10 -10
- package/dist/chunks/{models-dev-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-1w2wqhfv.js → form-hq3c8me3.js} +4 -4
- package/dist/chunks/{models-dev-fn7bcat4.js → form-j0rkyft6.js} +17 -17
- package/dist/chunks/{models-dev-wgnf5zhk.js → form-j4fmqw4y.js} +2 -2
- package/dist/chunks/{models-dev-128c3rgk.js → form-j4kckz96.js} +34 -34
- package/dist/chunks/{models-dev-qrf0dgbn.js → form-j6ktnsbj.js} +12 -12
- package/dist/chunks/{models-dev-wmgjprx4.js → form-jcabavvb.js} +17 -17
- package/dist/chunks/{models-dev-f13580fy.js → form-jcjsg0yw.js} +1 -1
- package/dist/chunks/{models-dev-721yw7xq.js → form-jej310j1.js} +19 -19
- package/dist/chunks/{models-dev-p83e3t0x.js → form-jgmgg0kd.js} +26 -26
- package/dist/chunks/{models-dev-5w6g5fb7.js → form-jjjszhzk.js} +24 -24
- package/dist/chunks/{models-dev-30fcd0bd.js → form-jmktzpps.js} +23 -23
- package/dist/chunks/{models-dev-kr0apa3b.js → form-jrdn16tm.js} +11 -11
- package/dist/chunks/{models-dev-jda5r79c.js → form-jtsn5x2a.js} +15 -15
- package/dist/chunks/{models-dev-z8p7drz6.js → form-k4kf9yqz.js} +11 -11
- package/dist/chunks/{models-dev-sw6dhtwx.js → form-kkmzdvsx.js} +19 -19
- package/dist/chunks/{models-dev-nxqm7gwv.js → form-ksghmgr8.js} +32 -32
- package/dist/chunks/{models-dev-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{models-dev-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{models-dev-mb14aw74.js → form-mb14aw74.js} +2 -2
- package/dist/chunks/{models-dev-b154dzx1.js → form-mcpys3nw.js} +15 -15
- package/dist/chunks/{models-dev-0ynsf4tc.js → form-mhpqhn3p.js} +27 -27
- package/dist/chunks/{models-dev-j34dxvpb.js → form-mjagy123.js} +5 -5
- package/dist/chunks/{models-dev-txm3e8qz.js → form-mv3hx7wz.js} +4 -4
- package/dist/chunks/{models-dev-x3exxkhm.js → form-mwa48nkk.js} +17 -17
- package/dist/chunks/{models-dev-snpcd400.js → form-n57xz5tc.js} +325 -325
- package/dist/chunks/{models-dev-gvc0pday.js → form-na2mqbmn.js} +35 -35
- package/dist/chunks/{models-dev-5e6zhe75.js → form-nkr0z86r.js} +32 -32
- package/dist/chunks/{models-dev-ay3ezy6z.js → form-npc7606s.js} +8 -8
- package/dist/chunks/{models-dev-20qam0gr.js → form-ntmr2xz8.js} +17 -17
- package/dist/chunks/{models-dev-rchmsnxv.js → form-nvmcdg7v.js} +16 -16
- package/dist/chunks/{models-dev-z5hpwnec.js → form-p7ns44ff.js} +16 -16
- package/dist/chunks/{models-dev-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-1cxrryk4.js → form-pkywwt6e.js} +14 -14
- package/dist/chunks/{models-dev-w3jqc8y5.js → form-pn0jkhpq.js} +11 -11
- package/dist/chunks/{models-dev-pnzf6mjf.js → form-pnzf6mjf.js} +1 -1
- package/dist/chunks/{models-dev-nfdwzame.js → form-prs36zqv.js} +18 -18
- package/dist/chunks/{models-dev-fps60k0v.js → form-pwtnz7b5.js} +24 -24
- package/dist/chunks/{models-dev-337a4zhp.js → form-q1he1383.js} +32 -32
- package/dist/chunks/{models-dev-kj84qpwx.js → form-q6atrn4y.js} +4 -4
- package/dist/chunks/{models-dev-nmzb0xa3.js → form-qa2wssbs.js} +86 -86
- package/dist/chunks/{models-dev-k87dtxhj.js → form-qa91yeft.js} +21 -21
- package/dist/chunks/{models-dev-gm7mgs39.js → form-qenf3jww.js} +13 -13
- package/dist/chunks/{models-dev-wx7p5bgg.js → form-qfwkm3zm.js} +190 -190
- package/dist/chunks/{models-dev-2k8khapm.js → form-qgn6gcr1.js} +5 -5
- package/dist/chunks/{models-dev-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-6efh69t8.js → form-r0fd0dmv.js} +11 -11
- package/dist/chunks/{models-dev-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-y9cmq7cc.js → form-re7rb3aw.js} +34 -34
- package/dist/chunks/{models-dev-rert0e01.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{models-dev-cww38x45.js → form-rh9s7fne.js} +45 -45
- package/dist/chunks/{models-dev-rj3eygr5.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{models-dev-cdq3zv6g.js → form-rvh56s2y.js} +28 -28
- package/dist/chunks/{models-dev-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{models-dev-zyk1yjk8.js → form-scgrse2b.js} +5 -5
- package/dist/chunks/{models-dev-tk5cb0ff.js → form-scvg7r3v.js} +22 -22
- package/dist/chunks/{models-dev-6n4b0dsb.js → form-sqmzwr9m.js} +9 -9
- package/dist/chunks/{models-dev-j0gvhh7c.js → form-srbwjet0.js} +17 -17
- package/dist/chunks/{models-dev-z54hq8gt.js → form-srshcccg.js} +4 -4
- package/dist/chunks/{models-dev-acd4vkpt.js → form-sxzvkvgj.js} +6 -6
- package/dist/chunks/{models-dev-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-1bkg66xs.js → form-t1cks73m.js} +9 -9
- package/dist/chunks/{models-dev-y5h2s11h.js → form-t4c2ejeg.js} +7 -7
- package/dist/chunks/{models-dev-rhjbct0v.js → form-t550f9t1.js} +4 -4
- package/dist/chunks/{models-dev-nfypdxw6.js → form-t5xyb1ja.js} +28 -28
- package/dist/chunks/{models-dev-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-hrfrq9hz.js → form-tdch55bj.js} +9 -9
- package/dist/chunks/{models-dev-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-ypcym4nd.js → form-tjtx32p0.js} +46 -46
- package/dist/chunks/{models-dev-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-cmwkp3r5.js → form-tpw6cwsb.js} +8 -8
- package/dist/chunks/{models-dev-2cghqvnp.js → form-tsbpfnxq.js} +24 -24
- package/dist/chunks/{models-dev-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-4434d9q2.js → form-v0es1rhs.js} +9 -9
- package/dist/chunks/{models-dev-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-f8068ewz.js → form-v871hv85.js} +5 -5
- package/dist/chunks/{models-dev-6bh82st2.js → form-v99yejb3.js} +15 -15
- package/dist/chunks/{models-dev-2da87w3a.js → form-vdwbg7py.js} +6 -6
- package/dist/chunks/{models-dev-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-y343fkzx.js → form-w0t5s28e.js} +11 -11
- package/dist/chunks/{models-dev-nanfamht.js → form-w2qf73x2.js} +16 -16
- package/dist/chunks/{models-dev-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-gj3abg68.js → form-w5h454c3.js} +25 -25
- package/dist/chunks/{models-dev-vm7ea25z.js → form-wasck064.js} +13 -13
- package/dist/chunks/{models-dev-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-bydnjh3t.js → form-wk5z6jzv.js} +9 -9
- package/dist/chunks/{models-dev-hawbp04s.js → form-wtywgeq9.js} +25 -25
- package/dist/chunks/{models-dev-y1ejwj9k.js → form-wz5ft07p.js} +4 -4
- package/dist/chunks/{models-dev-jtp4xp8v.js → form-x18hf8e6.js} +7 -7
- package/dist/chunks/{models-dev-3y377wv9.js → form-x661k3y3.js} +4 -4
- package/dist/chunks/{models-dev-j2dqzky9.js → form-xbeqzkq0.js} +34 -34
- package/dist/chunks/{models-dev-jae11whn.js → form-xex3azfv.js} +20 -20
- package/dist/chunks/{models-dev-k7ad02mm.js → form-xrm6a1t7.js} +14 -14
- package/dist/chunks/{models-dev-f2576r4s.js → form-xxzne356.js} +13 -13
- package/dist/chunks/{models-dev-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-0z3sj3f1.js → form-y23yj848.js} +20 -20
- package/dist/chunks/{models-dev-zcxh2nc1.js → form-y3446w5g.js} +11 -11
- package/dist/chunks/{models-dev-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{models-dev-c8jf41fm.js → form-y82mnqt8.js} +5 -5
- package/dist/chunks/{models-dev-td64wsrz.js → form-ya7tddt7.js} +20 -20
- package/dist/chunks/{models-dev-dfksb2wc.js → form-ykmtdm3w.js} +33 -33
- package/dist/chunks/{models-dev-yp2x3t23.js → form-yp2x3t23.js} +1 -1
- package/dist/chunks/{models-dev-yrcj3v3g.js → form-yrcj3v3g.js} +1 -1
- package/dist/chunks/{models-dev-w4axh9wz.js → form-yx0rmv9r.js} +4 -4
- package/dist/chunks/{models-dev-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-a8wpgx3y.js → form-z0tkdgf1.js} +20 -20
- package/dist/chunks/{models-dev-pwj87jde.js → form-z3t7mm12.js} +17 -17
- package/dist/chunks/{models-dev-6qcm6qfy.js → form-z501vt5b.js} +14 -14
- package/dist/chunks/{models-dev-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -355
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/models-dev-n95b3jav.js +0 -18
- package/dist/chunks/models-dev-rffya3h2.js +0 -26
- package/dist/chunks/models-dev-xf54mzqc.js +0 -257
- /package/dist/chunks/{models-dev-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5qd3pb7m.js → form-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-c2sed5cq.js → form-c2sed5cq.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-deefrv65.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-x661k3y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./form-f8t4d16m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./form-rvh56s2y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service73
|
|
16
|
+
} from "./form-9v2kfm1y.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-dsy27fts.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service73;
|
|
30
30
|
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z501vt5b.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-56301932.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-deefrv65.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-3yt14ahe.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-0b5g1ynf.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-yrcj3v3g.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-gh864679.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service65,
|
|
33
|
+
node67
|
|
34
|
+
} from "./form-4qa0gxex.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service15,
|
|
37
|
+
node17
|
|
38
|
+
} from "./form-8c12240n.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./form-775gj3j1.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service31,
|
|
44
|
+
node34
|
|
45
|
+
} from "./form-7erbtyx3.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./form-0tww4wex.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make9
|
|
51
|
+
} from "./form-scgrse2b.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./form-95s8xwj6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service9,
|
|
57
|
+
node11,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./form-da9q9y1p.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service23,
|
|
62
|
+
node27
|
|
63
|
+
} from "./form-ekd234cw.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./form-5atndy4c.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service2,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node3
|
|
73
|
+
} from "./form-tsbpfnxq.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service40
|
|
77
|
+
} from "./form-2vs2nh1n.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node38
|
|
80
|
+
} from "./form-q1he1383.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node55
|
|
83
|
+
} from "./form-gn31e51v.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
86
|
make3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./form-gtv92395.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service29
|
|
90
|
+
} from "./form-4v7qdvcn.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node18
|
|
93
|
+
} from "./form-z0tkdgf1.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./form-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./form-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -110,16 +110,16 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
112
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service85;
|
|
115
|
-
const lifecycle = yield*
|
|
116
|
-
const store = yield*
|
|
117
|
-
const context = yield*
|
|
118
|
-
const modelTransport = yield*
|
|
115
|
+
const lifecycle = yield* Service15;
|
|
116
|
+
const store = yield* Service65;
|
|
117
|
+
const context = yield* Service23;
|
|
118
|
+
const modelTransport = yield* Service31;
|
|
119
119
|
const db = (yield* Service86).db;
|
|
120
|
-
const compaction = yield*
|
|
121
|
-
const plugins = yield*
|
|
122
|
-
const title = yield*
|
|
120
|
+
const compaction = yield* Service9;
|
|
121
|
+
const plugins = yield* Service29;
|
|
122
|
+
const title = yield* Service2;
|
|
123
123
|
const steps = yield* make3;
|
|
124
124
|
const titles = yield* FiberMap.make();
|
|
125
125
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
241
241
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
242
242
|
const sessionID = first.session.id;
|
|
243
243
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
244
|
-
const retry = yield*
|
|
244
|
+
const retry = yield* make9(bus, sessionID);
|
|
245
245
|
let initial = first;
|
|
246
246
|
let recoverOverflow = true;
|
|
247
247
|
let recoverContinuation = true;
|
|
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service40.of({ drain });
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node2 = makeLocationNode({
|
|
379
|
+
service: Service40,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
382
|
node89,
|
|
383
|
-
|
|
383
|
+
node17,
|
|
384
384
|
llmClient2,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
385
|
+
node27,
|
|
386
|
+
node34,
|
|
387
|
+
node67,
|
|
388
|
+
node11,
|
|
389
|
+
node18,
|
|
390
|
+
node3,
|
|
391
|
+
node38,
|
|
392
|
+
node55,
|
|
393
393
|
node90
|
|
394
394
|
]
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { node2, exports_llm };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./form-01a0dr57.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./form-5az94262.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./form-beh5shbh.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-c2sed5cq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service44
|
|
18
|
+
} from "./form-nvmcdg7v.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./form-db0xh7a7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service21
|
|
25
|
+
} from "./form-qa2wssbs.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./form-jej310j1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin2,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input9 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin2 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service21;
|
|
93
|
+
const jobs = yield* Service44;
|
|
94
|
+
const agents = yield* Service66;
|
|
95
|
+
const config = yield* Service50;
|
|
96
|
+
const permission = yield* Service63;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin45 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin45 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin45 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-deefrv65.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service74,
|
|
15
|
+
node76,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./form-rvh56s2y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./form-ntmr2xz8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event16,
|
|
43
|
+
ID: () => ID12,
|
|
44
|
+
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service73,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node75,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
75
|
+
var ID12 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info21 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service73 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
303
|
+
const integrations = yield* Service74;
|
|
304
|
+
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service73.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node75 = makeLocationNode({ service: Service73, layer, deps: [node89, node76, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service73, node75, exports_provider3, Event16 };
|