@opencode/core 0.0.0-dev-20125 → 0.0.0-dev-20127
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-services-rk7s9xkn.js → config-0br3sbwn.js} +4 -4
- package/dist/chunks/{location-services-eaj1djv9.js → config-0gdmqesm.js} +8 -8
- package/dist/chunks/config-0mesazry.js +4 -0
- package/dist/chunks/{location-services-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-g5mv2pxk.js → config-0pedt0qh.js} +187 -187
- package/dist/chunks/{location-services-6sentj5w.js → config-0vk9pt22.js} +13 -13
- package/dist/chunks/{location-services-1rpr4sn0.js → config-0xytrptb.js} +11 -11
- package/dist/chunks/{location-services-954vm9zf.js → config-10zsszfr.js} +6 -6
- package/dist/chunks/{location-services-40qawf9y.js → config-16g44qj3.js} +20 -20
- package/dist/chunks/{location-services-18qmnhfe.js → config-16kxxb61.js} +12 -12
- package/dist/chunks/{location-services-4ddzww6s.js → config-1a4sspre.js} +4 -4
- package/dist/chunks/{location-services-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-11at1pz6.js → config-1dsw9fq7.js} +31 -31
- package/dist/chunks/{location-services-xyja9mw2.js → config-1h60jvfy.js} +32 -32
- package/dist/chunks/{location-services-mkfyqh68.js → config-1hhnftxq.js} +24 -24
- package/dist/chunks/{location-services-mvr5bn4j.js → config-1mr1eyme.js} +12 -12
- package/dist/chunks/{location-services-fbxx4ebc.js → config-1mxw8x31.js} +17 -17
- package/dist/chunks/{location-services-d1f8kr1w.js → config-1q8wa827.js} +11 -11
- package/dist/chunks/{location-services-nrr650rb.js → config-1rxr7f6r.js} +85 -85
- package/dist/chunks/config-1x11rq2a.js +18 -0
- package/dist/chunks/{location-services-56gdpj1q.js → config-1ygqh575.js} +9 -9
- package/dist/chunks/{location-services-gejgy2pm.js → config-1zh869pz.js} +11 -11
- package/dist/chunks/{location-services-15w2zb5v.js → config-20j0fgcq.js} +11 -11
- package/dist/chunks/{location-services-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-70zp61gn.js → config-22aaza4z.js} +26 -26
- package/dist/chunks/{location-services-z63w68vq.js → config-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-bmgx2yh5.js → config-2c60h6pz.js} +28 -28
- package/dist/chunks/{location-services-at9jh15n.js → config-2dnv9bpn.js} +1 -1
- package/dist/chunks/{location-services-8ajm3ywz.js → config-2hq4rz85.js} +6 -6
- package/dist/chunks/{location-services-jh8c5v8n.js → config-2nfs6qc9.js} +42 -42
- package/dist/chunks/{location-services-2mq1h16s.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{location-services-w130ws8s.js → config-2v0fm1hw.js} +23 -23
- package/dist/chunks/{location-services-skyctjxw.js → config-2xs629qk.js} +8 -8
- package/dist/chunks/{location-services-1pk0hzjw.js → config-2xxgvyge.js} +20 -20
- package/dist/chunks/{location-services-j2n17bp2.js → config-2ywgxq1j.js} +4 -4
- package/dist/chunks/{location-services-r3c4069c.js → config-37mwd34b.js} +1 -1
- package/dist/chunks/{location-services-p44d8wdy.js → config-3cz8rj72.js} +5 -5
- package/dist/chunks/{location-services-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-vjjpwh8d.js → config-3h592g7x.js} +11 -11
- package/dist/chunks/{location-services-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-8tx3xb2f.js → config-3m46j07d.js} +25 -25
- package/dist/chunks/{location-services-57ez7d0k.js → config-3nxb9rvh.js} +9 -9
- package/dist/chunks/{location-services-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-0zfnzv7s.js → config-3wd95d96.js} +17 -17
- package/dist/chunks/{location-services-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-cpj0znwe.js → config-4dgbcxzg.js} +4 -4
- package/dist/chunks/{location-services-zh3km4py.js → config-4n68vvn4.js} +4 -4
- package/dist/chunks/{location-services-tgdwbfc8.js → config-4w6knpbj.js} +45 -45
- package/dist/chunks/{location-services-7v81x33d.js → config-4y7j986s.js} +9 -9
- package/dist/chunks/{location-services-tnfqcryg.js → config-4ye6r6fn.js} +6 -6
- package/dist/chunks/{location-services-6esbcq56.js → config-515z4g5k.js} +27 -27
- package/dist/chunks/{location-services-rfr0hfk5.js → config-52zhtxpf.js} +20 -20
- package/dist/chunks/{location-services-8chsdpa2.js → config-5c29qaae.js} +14 -14
- package/dist/chunks/{location-services-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-r0h6jesp.js → config-5erymg1w.js} +10 -10
- package/dist/chunks/{location-services-j6smyfjg.js → config-5pt7ermt.js} +28 -28
- package/dist/chunks/{location-services-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/config-5w2nd07z.js +252 -0
- package/dist/chunks/{location-services-65b0tj0r.js → config-5y2798r0.js} +11 -11
- package/dist/chunks/{location-services-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{location-services-nqnxh7mc.js → config-6anwy9fs.js} +6 -6
- package/dist/chunks/{location-services-6v6f5jfp.js → config-6b65ztv1.js} +9 -9
- package/dist/chunks/{location-services-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-services-j58c5xyq.js → config-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-services-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-twe1sq19.js → config-6np4m6hv.js} +35 -35
- package/dist/chunks/{location-services-6pc27hjz.js → config-6pc27hjz.js} +2 -2
- package/dist/chunks/{location-services-ze282xkw.js → config-6qg5yf3b.js} +23 -23
- package/dist/chunks/{location-services-7bs9y7h6.js → config-6qgk5hzy.js} +15 -15
- package/dist/chunks/{location-services-sq54nhcy.js → config-6qttmjpq.js} +3 -3
- package/dist/chunks/{location-services-z5rd9rww.js → config-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-services-v4vy6p0z.js → config-7174pgp6.js} +3 -3
- package/dist/chunks/{location-services-2m4n6kw6.js → config-72g3zqyf.js} +12 -12
- package/dist/chunks/{location-services-r5x6zcsm.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-ay4q8r05.js → config-799hf882.js} +18 -18
- package/dist/chunks/{location-services-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-m6kevm74.js → config-7nbgfms9.js} +4 -4
- package/dist/chunks/{location-services-7thazvac.js → config-7t3tfz5t.js} +16 -16
- package/dist/chunks/{location-services-w7eejp4m.js → config-8cmfe1vg.js} +37 -37
- package/dist/chunks/{location-services-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-eapcvek1.js → config-8j7axh46.js} +10 -10
- package/dist/chunks/{location-services-mvxzp4yn.js → config-8q9k32tn.js} +23 -23
- package/dist/chunks/{location-services-ndtar9je.js → config-8sbtcq5s.js} +16 -16
- package/dist/chunks/{location-services-30cazatx.js → config-8v1m0y60.js} +14 -14
- package/dist/chunks/{location-services-c0ge5ze9.js → config-8ved8jnx.js} +8 -8
- package/dist/chunks/{location-services-g8d3gcyj.js → config-8x96bj0m.js} +4 -4
- package/dist/chunks/{location-services-94ek1h2f.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-services-wnfy9vff.js → config-99wrhtss.js} +46 -46
- package/dist/chunks/{location-services-r0hpsfbs.js → config-9dn6mvr2.js} +6 -6
- package/dist/chunks/{location-services-392dz176.js → config-9hccfhrx.js} +30 -30
- package/dist/chunks/{location-services-br0tr5aq.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-services-rnjf2mfy.js → config-9q25103b.js} +16 -16
- package/dist/chunks/{location-services-5xp4z7n8.js → config-9x8w7p4j.js} +21 -21
- package/dist/chunks/{location-services-g59gqwxm.js → config-a0ghkavf.js} +11 -11
- package/dist/chunks/{location-services-axweeaxh.js → config-a2tjvjty.js} +23 -23
- package/dist/chunks/{location-services-0emxgfas.js → config-a7e40s8p.js} +6 -6
- package/dist/chunks/{location-services-9qd8znf5.js → config-a87twgwr.js} +15 -15
- package/dist/chunks/{location-services-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-nqxnamtt.js → config-adx83z8t.js} +30 -30
- package/dist/chunks/{location-services-k0y01600.js → config-akqqet5h.js} +26 -26
- package/dist/chunks/{location-services-7f3q6yqx.js → config-az63ayr1.js} +7 -7
- package/dist/chunks/{location-services-wvv33cf4.js → config-b3q826kt.js} +32 -32
- package/dist/chunks/{location-services-t1nf5hrg.js → config-b4pwz10k.js} +15 -15
- package/dist/chunks/{location-services-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-4v4bfvma.js → config-b7v4cx43.js} +5 -5
- package/dist/chunks/{location-services-fk21kn01.js → config-b8p7xqbm.js} +7 -7
- package/dist/chunks/{location-services-6ewk1465.js → config-bbf2nzw2.js} +20 -20
- package/dist/chunks/{location-services-pxveyybe.js → config-bpcdvc6b.js} +69 -69
- package/dist/chunks/{location-services-99n1k344.js → config-bxk1md5p.js} +4 -4
- package/dist/chunks/{location-services-6w63ww4m.js → config-byggynze.js} +26 -26
- package/dist/chunks/{location-services-a9rrtyrz.js → config-c0g3q3bg.js} +35 -35
- package/dist/chunks/{location-services-16nf19rw.js → config-c35kps7f.js} +19 -19
- package/dist/chunks/{location-services-p6d50vvj.js → config-cfavsdh4.js} +11 -11
- package/dist/chunks/{location-services-jfefyanm.js → config-cgt6twhd.js} +14 -14
- package/dist/chunks/{location-services-ckecvw8r.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-services-rcm2pyze.js → config-cnwyxq1e.js} +4 -4
- package/dist/chunks/{location-services-ztfa9d4b.js → config-cx4bma5z.js} +11 -11
- package/dist/chunks/{location-services-yvcft4ah.js → config-d884m17t.js} +5 -5
- package/dist/chunks/{location-services-j83byb14.js → config-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-services-10jtetaj.js → config-dg5bcj4q.js} +6 -6
- package/dist/chunks/{location-services-ckfwh0ft.js → config-dhwr7h25.js} +11 -11
- package/dist/chunks/{location-services-2wfk4wva.js → config-dpn9gxbb.js} +22 -22
- package/dist/chunks/{location-services-drwq78ky.js → config-drwq78ky.js} +1 -1
- package/dist/chunks/{location-services-5asg57wg.js → config-dssafcpe.js} +18 -18
- package/dist/chunks/{location-services-5qd3pb7m.js → config-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-services-kkp8zx71.js → config-eahhehpg.js} +4 -4
- package/dist/chunks/{location-services-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-services-4qyxhmht.js → config-eddmhssm.js} +9 -9
- package/dist/chunks/{location-services-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-pd6tq2tz.js → config-epmkw3y8.js} +5 -5
- package/dist/chunks/{location-services-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-2fmdgrn5.js → config-eydfqfz8.js} +32 -32
- package/dist/chunks/{location-services-0yznvphr.js → config-ezbsm7tg.js} +51 -51
- package/dist/chunks/{location-services-1acjjqhc.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{location-services-pdtfdfzz.js → config-f7e5rkha.js} +10 -10
- package/dist/chunks/{location-services-njp0gf2a.js → config-fcbbx3j9.js} +7 -7
- package/dist/chunks/{location-services-7dqw4kz8.js → config-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-services-8kysg0nx.js → config-fdzkgkhq.js} +8 -8
- package/dist/chunks/{location-services-ypqexdpc.js → config-ffn32vtp.js} +9 -9
- package/dist/chunks/{location-services-5d5xbkck.js → config-fjkr4zhg.js} +20 -20
- package/dist/chunks/{location-services-ysek0sym.js → config-fps507qa.js} +29 -29
- package/dist/chunks/{location-services-z6jh25qd.js → config-frw0pd7b.js} +5 -5
- package/dist/chunks/{location-services-xfskg7sv.js → config-fxvr7k3s.js} +3 -3
- package/dist/chunks/{location-services-smpcm6e3.js → config-fze14hen.js} +44 -44
- package/dist/chunks/{location-services-v6n3qzc8.js → config-g5prf4y9.js} +14 -14
- package/dist/chunks/{location-services-scx3ygn5.js → config-gbhvfqq2.js} +15 -15
- package/dist/chunks/config-gbs378er.js +26 -0
- package/dist/chunks/{location-services-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-5cmxdwv8.js → config-grqp3cmb.js} +3 -3
- package/dist/chunks/{location-services-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-ey6gzjdn.js → config-gy9at9sn.js} +8 -8
- package/dist/chunks/{location-services-z428gfq7.js → config-h5xc503t.js} +32 -32
- package/dist/chunks/{location-services-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-zkec4d7v.js → config-hw3jf7zs.js} +17 -17
- package/dist/chunks/{location-services-bsba7pb1.js → config-hy258ha3.js} +8 -8
- package/dist/chunks/{location-services-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-vxr8h3va.js → config-j7sgts27.js} +14 -14
- package/dist/chunks/{location-services-prjfewh6.js → config-jcfd94wa.js} +4 -4
- package/dist/chunks/{location-services-eht4x1f2.js → config-jfap9aer.js} +47 -47
- package/dist/chunks/{location-services-r3zred37.js → config-jh2rg891.js} +11 -11
- package/dist/chunks/{location-services-vmwh049b.js → config-jvaehxt1.js} +9 -9
- package/dist/chunks/{location-services-xawabwva.js → config-jvjbkr9j.js} +5 -5
- package/dist/chunks/{location-services-3zyen6e3.js → config-jy58bwtx.js} +5 -5
- package/dist/chunks/{location-services-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-2h18c6je.js → config-kkt1pvxq.js} +48 -48
- package/dist/chunks/{location-services-e2hjzebn.js → config-kne8f3cn.js} +4 -4
- package/dist/chunks/{location-services-m8h3kvsx.js → config-krg1mvne.js} +3 -3
- package/dist/chunks/{location-services-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-nr237r1d.js → config-m853nhb8.js} +5 -5
- package/dist/chunks/{location-services-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-659djk32.js → config-mbmxjtmc.js} +13 -13
- package/dist/chunks/{location-services-r756e8jm.js → config-msvrdtvz.js} +16 -16
- package/dist/chunks/{location-services-zdwe30dy.js → config-mx9vqzsb.js} +6 -6
- package/dist/chunks/{location-services-1zjkac87.js → config-n135dnsm.js} +15 -15
- package/dist/chunks/{location-services-f803x2xd.js → config-ne09twhz.js} +29 -29
- package/dist/chunks/{location-services-z7sjnmbk.js → config-nfg9kq59.js} +21 -21
- package/dist/chunks/{location-services-fhs97t90.js → config-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-services-bzq82520.js → config-nr2w2189.js} +25 -25
- package/dist/chunks/{location-services-510m7gjw.js → config-p1nm93x7.js} +5 -5
- package/dist/chunks/{location-services-p4y0extq.js → config-p2j1q75x.js} +17 -17
- package/dist/chunks/{location-services-kzyapyhx.js → config-p3cpk4pp.js} +28 -28
- package/dist/chunks/{location-services-v5qzn3t7.js → config-p6ayam82.js} +12 -12
- package/dist/chunks/{location-services-jc0bsjh2.js → config-pbas15b9.js} +35 -35
- package/dist/chunks/{location-services-yhb1cynt.js → config-pc13wr2c.js} +10 -10
- package/dist/chunks/{location-services-53fyba40.js → config-pf9pgydg.js} +4 -4
- package/dist/chunks/{location-services-ab3hzfp7.js → config-pfc5wcba.js} +43 -43
- package/dist/chunks/{location-services-zfb8mnxq.js → config-phwsvaab.js} +3 -3
- package/dist/chunks/{location-services-kvbdntjf.js → config-pjpqce74.js} +6 -6
- package/dist/chunks/{location-services-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-emp69c0t.js → config-pm9twwzx.js} +24 -24
- package/dist/chunks/{location-services-6cpevseb.js → config-pz8tbp7j.js} +24 -24
- package/dist/chunks/{location-services-7pfrbv4x.js → config-q0hrn92q.js} +24 -24
- package/dist/chunks/{location-services-h0rpvr5n.js → config-q7tnj3cs.js} +54 -54
- package/dist/chunks/{location-services-mz54m1cf.js → config-qh9bhcvf.js} +26 -26
- package/dist/chunks/{location-services-d3dgreaz.js → config-qm5bh2zg.js} +16 -16
- package/dist/chunks/{location-services-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-e8qyrgb1.js → config-qsr9synt.js} +5 -5
- package/dist/chunks/config-qvh4m5s3.js +507 -0
- package/dist/chunks/{location-services-fj5p2bdw.js → config-qyhc2ect.js} +22 -22
- package/dist/chunks/{location-services-5wg5q7vf.js → config-qzp3w3dw.js} +1 -1
- package/dist/chunks/{location-services-vdqtsfcb.js → config-r1fsesgm.js} +85 -85
- package/dist/chunks/{location-services-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-rwjd94kv.js → config-rk33hdvr.js} +13 -13
- package/dist/chunks/{location-services-vmgq4x8b.js → config-rm23jeyq.js} +2 -2
- package/dist/chunks/{location-services-njkqnv2m.js → config-rw2gjr4k.js} +29 -29
- package/dist/chunks/{location-services-qe35vjqf.js → config-ryjbxne7.js} +5 -5
- package/dist/chunks/{location-services-4c2df9zx.js → config-rzs3gq0x.js} +8 -8
- package/dist/chunks/{location-services-qc636jkm.js → config-s1b4b48z.js} +35 -35
- package/dist/chunks/{location-services-4hgdpg6g.js → config-s26g1336.js} +6 -6
- package/dist/chunks/{location-services-yrznvahk.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{location-services-5jsw2xt7.js → config-s6376x3p.js} +15 -15
- package/dist/chunks/{location-services-7nxgccxd.js → config-sadtqq7n.js} +42 -42
- package/dist/chunks/{location-services-w6f3fvch.js → config-sgc52vgw.js} +17 -17
- package/dist/chunks/{location-services-jjvhwfpq.js → config-shpyybr3.js} +24 -24
- package/dist/chunks/{location-services-2h5c2y8g.js → config-spz7pvpb.js} +30 -30
- package/dist/chunks/{location-services-rtd1zbsh.js → config-sr5e78z3.js} +10 -10
- package/dist/chunks/{location-services-drs1kqv3.js → config-ssn372xj.js} +8 -8
- package/dist/chunks/{location-services-w9ksjw7g.js → config-svc2yp16.js} +5 -5
- package/dist/chunks/{location-services-31mcx224.js → config-t6ka9dx9.js} +20 -20
- package/dist/chunks/{location-services-c85bkqez.js → config-t73e6et9.js} +9 -9
- package/dist/chunks/{location-services-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-wq4mmp7m.js → config-tazp3vs0.js} +4 -4
- package/dist/chunks/{location-services-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-4mcknjjt.js → config-tyn74aag.js} +10 -10
- package/dist/chunks/{location-services-zwczyea9.js → config-v13penc1.js} +41 -41
- package/dist/chunks/{location-services-m21yf6dx.js → config-v1djkr2w.js} +27 -27
- package/dist/chunks/{location-services-m3bpdrrf.js → config-v78vw6yh.js} +10 -10
- package/dist/chunks/{location-services-s27102ja.js → config-v8h8cbks.js} +27 -27
- package/dist/chunks/{location-services-6rnbv420.js → config-v92p9kc0.js} +62 -62
- package/dist/chunks/{location-services-w47g9jnr.js → config-vcfreb8r.js} +12 -12
- package/dist/chunks/{location-services-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-xf0nr9dv.js → config-vgepzxbh.js} +4 -4
- package/dist/chunks/{location-services-57e9z27j.js → config-vkt5fbj2.js} +8 -8
- package/dist/chunks/{location-services-g190xswt.js → config-vsp1fds9.js} +21 -21
- package/dist/chunks/{location-services-rekjz194.js → config-vt7nys27.js} +18 -18
- package/dist/chunks/{location-services-19bt37k1.js → config-vwxfqwvv.js} +2 -2
- package/dist/chunks/{location-services-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-jev1dhp7.js → config-w2m16rkb.js} +10 -10
- package/dist/chunks/{location-services-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-20gy8amv.js → config-w4rqcj1w.js} +5 -5
- package/dist/chunks/{location-services-vdnaayn5.js → config-w87rt6qs.js} +24 -24
- package/dist/chunks/{location-services-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-services-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-p8kvbvy7.js → config-werwj205.js} +10 -10
- package/dist/chunks/{location-services-x6x6kmpk.js → config-wt4b75er.js} +43 -43
- package/dist/chunks/{location-services-7xab2va4.js → config-wvdf2pxg.js} +20 -20
- package/dist/chunks/{location-services-g77y8mjg.js → config-wwbfbydv.js} +20 -20
- package/dist/chunks/{location-services-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-n8d8pzp3.js → config-xc58nfyg.js} +15 -15
- package/dist/chunks/{location-services-dmcw5njr.js → config-xdka3trx.js} +19 -19
- package/dist/chunks/{location-services-9901z4r2.js → config-xka7mv2v.js} +9 -9
- package/dist/chunks/{location-services-72k1ea8x.js → config-xka9c7fg.js} +17 -17
- package/dist/chunks/{location-services-xkntkrq7.js → config-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-services-c97n56v4.js → config-xvfh2x84.js} +6 -6
- package/dist/chunks/{location-services-sv3kc9gc.js → config-xvx8kafd.js} +30 -30
- package/dist/chunks/{location-services-0znqkj0t.js → config-xy5sj35e.js} +20 -20
- package/dist/chunks/{location-services-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-hfjnb18e.js → config-y3842byn.js} +25 -25
- package/dist/chunks/{location-services-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-yw7qsmd6.js → config-yfyk3984.js} +36 -36
- package/dist/chunks/{location-services-pmnhh4k7.js → config-ymptrdr6.js} +22 -22
- package/dist/chunks/{location-services-nxqybc3w.js → config-yp947cz6.js} +8 -8
- package/dist/chunks/{location-services-ry8zayj3.js → config-yqqd4sa6.js} +18 -18
- package/dist/chunks/{location-services-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-3j42n99x.js → config-ysxwcaka.js} +30 -30
- package/dist/chunks/{location-services-ggex6fsv.js → config-yv1fjq0p.js} +11 -11
- package/dist/chunks/{location-services-3b3nb5w1.js → config-yvppk48a.js} +26 -26
- package/dist/chunks/{location-services-74hbrnmz.js → config-yxz8806d.js} +31 -31
- package/dist/chunks/{location-services-3qxrn9bz.js → config-yzep51rf.js} +26 -26
- package/dist/chunks/{location-services-z07pqspn.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{location-services-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-evbgk2k8.js → config-z3pw5915.js} +5 -5
- package/dist/chunks/{location-services-1zm9zs82.js → config-z7227wrg.js} +15 -15
- package/dist/chunks/{location-services-a2qe2ev9.js → config-ze75yzft.js} +8 -8
- package/dist/chunks/{location-services-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-xvrhnmeg.js → config-zkhserxx.js} +13 -13
- package/dist/chunks/{location-services-9rhqejhv.js → config-zpm5mcr1.js} +22 -22
- package/dist/chunks/{location-services-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-0q5ddrp3.js → config-zt2th1vh.js} +26 -26
- package/dist/chunks/{location-services-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-services-619r8v3y.js +0 -18
- package/dist/chunks/location-services-67rk9me1.js +0 -26
- package/dist/chunks/location-services-qapv375x.js +0 -4
- package/dist/chunks/location-services-rav463tp.js +0 -252
- package/dist/chunks/location-services-tyryy8pr.js +0 -507
- /package/dist/chunks/{location-services-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./config-sgc52vgw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./config-yzep51rf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service73;
|
|
95
|
+
const search = yield* Service14;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service13.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node76, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./config-sgc52vgw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./config-pz8tbp7j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service64
|
|
15
|
+
} from "./config-yqqd4sa6.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-byggynze.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service50
|
|
24
|
+
} from "./config-v92p9kc0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service17
|
|
27
|
+
} from "./config-dssafcpe.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input9,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin27,
|
|
39
|
+
name: () => name9,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name9 = "glob";
|
|
46
|
+
var Input9 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin27 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service65;
|
|
70
|
+
const ripgrep = yield* Service64;
|
|
71
|
+
const location = yield* Service73;
|
|
72
|
+
const access = yield* Service17;
|
|
73
|
+
const permission = yield* Service50;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input9,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name9,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin24 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name9, Input9, Output7, toModelContent5, Plugin27, exports_glob };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node76
|
|
4
|
+
} from "./config-sgc52vgw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make18,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-0gdmqesm.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
node: () => node27
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service73;
|
|
29
|
+
return Service23.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make18({
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make18({
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node76] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service23, node27, exports_builtins };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./config-sgc52vgw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service59,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node61,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service59 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service59, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node61 = LayerNode.unbound(Service59, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service59;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -39,10 +39,10 @@ var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
|
39
39
|
yield* Effect.logInfo("location services reloaded", { count: refs.length });
|
|
40
40
|
});
|
|
41
41
|
function canonical3(ref) {
|
|
42
|
-
return
|
|
42
|
+
return Ref3.make({
|
|
43
43
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
44
44
|
workspaceID: ref.workspaceID
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service59, node61, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-6qttmjpq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-z07pqspn.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./config-5y2798r0.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-rm23jeyq.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service52,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node54
|
|
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 ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service52 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service52.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;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node54 = makeGlobalNode({ service: Service52, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service52, node54, exports_store };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-b3q826kt.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-h5xc503t.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./config-wt4b75er.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin45
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin45 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service67;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin13 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin45, exports_websearch2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2dnv9bpn.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-xvfh2x84.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_skills };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
|
+
Info: () => Info18
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info18, exports_formatter3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info20
|
|
6
|
+
} from "./config-vsp1fds9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info19
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info20)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info19 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info19, exports_agent4 };
|