@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-pyv0edze.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin29 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-1ae71dfs.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-9v2kfm1y.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-5az94262.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./form-beh5shbh.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve3
|
|
15
|
+
} from "./form-1xw87vn2.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-qsdy395h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin37
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin37 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service50;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -158,7 +158,7 @@ var Plugin10 = define({
|
|
|
158
158
|
model.limit = { ...model.limit, ...config.limit };
|
|
159
159
|
if (config.capabilities?.reasoning !== undefined)
|
|
160
160
|
model.variants = [
|
|
161
|
-
...
|
|
161
|
+
...resolve3({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
162
162
|
];
|
|
163
163
|
if (config.variants !== undefined) {
|
|
164
164
|
model.variants ??= [];
|
|
@@ -194,7 +194,7 @@ var Plugin10 = define({
|
|
|
194
194
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
195
195
|
models.update(providerID, id, (model) => {
|
|
196
196
|
model.variants = [
|
|
197
|
-
...
|
|
197
|
+
...resolve3({
|
|
198
198
|
...model,
|
|
199
199
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
200
200
|
})
|
|
@@ -209,4 +209,4 @@ function configuredProviders(entries) {
|
|
|
209
209
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { Plugin37, exports_provider };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-56301932.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-c1fqxshp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-gh864679.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-mb14aw74.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service65,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node67
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service65 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service86;
|
|
59
|
-
return
|
|
59
|
+
return Service65.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node67 = makeGlobalNode({ service: Service65, layer, deps: [node90] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service65, node67, exports_store };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service29,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service29 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service29, awaitActivation2, exports_service };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-7eenkzgj.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-17xwg79a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-56301932.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-deefrv65.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-c2sed5cq.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service41,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer19,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make15,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node43,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service41 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service86;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service85;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer19 = Layer.effect(Service41, make15());
|
|
231
|
+
var node43 = makeGlobalNode({ service: Service41, layer: layer19, deps: [node90, node89] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service41, make15, layer19, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,28 +1,28 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./form-ntmr2xz8.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node75,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./form-9v2kfm1y.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./form-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node74,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info20 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service73;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
|
-
const location = yield*
|
|
77
|
+
const location = yield* Service82;
|
|
78
78
|
let input;
|
|
79
79
|
const state = create3({
|
|
80
80
|
name: "model",
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
119
119
|
const models = writable(providerID);
|
|
120
120
|
if (!models)
|
|
121
121
|
return;
|
|
122
|
-
const model = draft(providerID, modelID) ??
|
|
122
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
123
123
|
update(model);
|
|
124
124
|
model.id = modelID;
|
|
125
125
|
model.providerID = providerID;
|
|
@@ -209,8 +209,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
209
209
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
yield* bus.subscribe(
|
|
213
|
-
return
|
|
212
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
|
+
return Service72.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
216
216
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var
|
|
232
|
+
var node74 = makeLocationNode({ service: Service72, layer, deps: [node75, node89, node86] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
|
|
|
237
237
|
"muse-spark-1.3-contributor-free"
|
|
238
238
|
];
|
|
239
239
|
function preferFree(models) {
|
|
240
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
240
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
241
241
|
if (!freeOnly)
|
|
242
242
|
return models;
|
|
243
243
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -256,9 +256,9 @@ function compatibility2(input) {
|
|
|
256
256
|
function parse5(input) {
|
|
257
257
|
const index = input.indexOf("/");
|
|
258
258
|
return {
|
|
259
|
-
providerID:
|
|
260
|
-
modelID:
|
|
259
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
260
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service72, node74, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-deefrv65.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./form-60qrxp7p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node65
|
|
12
|
+
} from "./form-db0xh7a7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service46,
|
|
15
|
+
node48
|
|
16
|
+
} from "./form-wtywgeq9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer12,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service46;
|
|
43
43
|
const bus = yield* Service85;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node32 = makeLocationNode({
|
|
124
|
+
service: Service28,
|
|
125
|
+
layer: layer12,
|
|
126
|
+
deps: [node48, node35, node89, node65]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service28, layer12, node32, exports_mcp3 };
|