@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-deefrv65.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node78 = makeLocationNode({ service: Service76, layer: layer26, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer26, node78, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-deefrv65.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service55,
|
|
7
|
+
node57
|
|
8
|
+
} from "./form-d4cbjqqc.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service16 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service85;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service55;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service16.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node19 = makeLocationNode({
|
|
188
|
+
service: Service16,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node89,
|
|
190
|
+
deps: [node89, node57]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service16, node19, exports_websearch3, Event3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./form-beh5shbh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./form-sqmzwr9m.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const image = yield* Service56;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin15 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin46, exports_image };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-y3446w5g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-deefrv65.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./form-f8t4d16m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-rvh56s2y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID12
|
|
17
|
+
} from "./form-9v2kfm1y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-5az94262.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID12.make("digitalocean");
|
|
31
|
+
var integrationID = ID13.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID11.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-9v2kfm1y.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service71,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node73
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service71 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service71.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node73 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service71, locationLayer2, node73, exports_aisdk };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Service74,
|
|
7
|
+
node76
|
|
8
|
+
} from "./form-rvh56s2y.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
UnavailableError: () => UnavailableError4,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer20,
|
|
21
|
+
node: () => node47
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,16 +37,16 @@ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service45 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service74;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
49
|
+
const connection = (yield* integrations.get(ID13.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
50
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
52
|
return yield* new UnavailableError4({
|
|
@@ -55,12 +55,12 @@ var layer26 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service45.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node47 = makeLocationNode({
|
|
61
|
+
service: Service45,
|
|
62
|
+
layer: layer20,
|
|
63
|
+
deps: [node76, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export { InvalidRequestError2, UnavailableError4,
|
|
66
|
+
export { InvalidRequestError2, UnavailableError4, Service45, layer20, node47, exports_voice };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./form-ntmr2xz8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service80
|
|
12
|
+
} from "./form-1sgdx4a3.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./form-3n8x12gt.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-j4kckz96.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service63
|
|
26
|
+
} from "./form-db0xh7a7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service47
|
|
29
|
+
} from "./form-prs36zqv.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./form-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
39
|
Output: () => Output5,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin8,
|
|
41
|
+
name: () => name8,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name8 = "grep";
|
|
48
|
+
var Input8 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input7 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output5 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin8 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service80;
|
|
90
|
+
const ripgrep = yield* Service79;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service47;
|
|
93
|
+
const permission = yield* Service63;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input8,
|
|
99
99
|
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin43 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin43 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output5, toModelContent2, Plugin8, exports_grep };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|