@opencode/core 0.0.0-dev-19740 → 0.0.0-dev-19742
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{instance-eyytece3.js → location-services-07z7m3r0.js} +3 -3
- package/dist/chunks/{instance-34accnar.js → location-services-09gbft45.js} +4 -4
- package/dist/chunks/{instance-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-bf5cr955.js → location-services-0z1gmn2q.js} +6 -6
- package/dist/chunks/{instance-wsbpamkk.js → location-services-132n0e07.js} +88 -88
- package/dist/chunks/{instance-jdj30cbt.js → location-services-16nqpafv.js} +20 -20
- package/dist/chunks/{instance-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-ph7hnhvz.js → location-services-1e1y4qmt.js} +14 -14
- package/dist/chunks/{instance-d3kc7xvt.js → location-services-1jryqany.js} +23 -23
- package/dist/chunks/{instance-d4md2610.js → location-services-1qdj8r61.js} +4 -4
- package/dist/chunks/{instance-94sx8xyh.js → location-services-1rpsx04s.js} +32 -32
- package/dist/chunks/{instance-na55qs2p.js → location-services-1sg8k3x6.js} +16 -16
- package/dist/chunks/{instance-1rmaqtrx.js → location-services-1yv162eq.js} +4 -4
- package/dist/chunks/{instance-xtsptd3g.js → location-services-20t16kv5.js} +43 -43
- package/dist/chunks/{instance-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{instance-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{instance-cnh15mhy.js → location-services-2a535hsk.js} +29 -29
- package/dist/chunks/{instance-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-zm5tw79g.js → location-services-2rh66w0b.js} +26 -26
- package/dist/chunks/{instance-kc9msmzg.js → location-services-2ykh22ph.js} +13 -13
- package/dist/chunks/{instance-djg6zb4k.js → location-services-33294r0b.js} +8 -8
- package/dist/chunks/{instance-q0vc8s6k.js → location-services-34hvhtp7.js} +16 -16
- package/dist/chunks/{instance-qm0v3jhh.js → location-services-34rkz0x9.js} +4 -4
- package/dist/chunks/{instance-gn49kpzm.js → location-services-36gktzve.js} +2 -2
- package/dist/chunks/{instance-z3j2prvw.js → location-services-37mxhb92.js} +28 -28
- package/dist/chunks/{instance-8ee59fd0.js → location-services-3axme2ba.js} +12 -12
- package/dist/chunks/{instance-692yjtjr.js → location-services-3f06dy19.js} +11 -11
- package/dist/chunks/{instance-vvr7k7nq.js → location-services-3f7778ma.js} +21 -21
- package/dist/chunks/{instance-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-9dhzhs08.js → location-services-3kyvxja7.js} +5 -5
- package/dist/chunks/{instance-rg5kz6bj.js → location-services-3q180tsg.js} +20 -20
- package/dist/chunks/{instance-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-vexvy179.js → location-services-3tzfttan.js} +37 -37
- package/dist/chunks/{instance-2mzaa9xv.js → location-services-3xjrp8vt.js} +21 -21
- package/dist/chunks/{instance-ep9bxrrg.js → location-services-439dx3w9.js} +12 -12
- package/dist/chunks/{instance-s0agc963.js → location-services-4xhhjths.js} +8 -8
- package/dist/chunks/location-services-57p3bxwn.js +26 -0
- package/dist/chunks/{instance-c1wmecdp.js → location-services-5ag325a7.js} +18 -18
- package/dist/chunks/{instance-w4g29w8c.js → location-services-5ajfnc04.js} +26 -26
- package/dist/chunks/{instance-5c0f1prt.js → location-services-5c0f1prt.js} +1 -1
- package/dist/chunks/{instance-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-7jjeyvbx.js → location-services-5tjjgn68.js} +3 -3
- package/dist/chunks/{instance-0f044h30.js → location-services-5wse32sw.js} +21 -21
- package/dist/chunks/{instance-x017ctyq.js → location-services-5yy5v8xs.js} +8 -8
- package/dist/chunks/{instance-74wc54fb.js → location-services-5znk54qx.js} +35 -35
- package/dist/chunks/{instance-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{instance-yvvvp4gn.js → location-services-69j91c1q.js} +8 -8
- package/dist/chunks/{instance-vdtqcs92.js → location-services-69q04mfm.js} +28 -28
- package/dist/chunks/{instance-j15mfg1p.js → location-services-6anwy9fs.js} +6 -6
- package/dist/chunks/{instance-kqyg9a9m.js → location-services-6dvc98m6.js} +1 -1
- package/dist/chunks/{instance-15dwcjm2.js → location-services-6jqerq4j.js} +23 -23
- package/dist/chunks/{instance-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/location-services-6qfj1prg.js +478 -0
- package/dist/chunks/{instance-9x94t55b.js → location-services-6semq976.js} +18 -18
- package/dist/chunks/{instance-607q5haz.js → location-services-6t298p2h.js} +12 -12
- package/dist/chunks/{instance-3rn8dp4g.js → location-services-6vk32evd.js} +15 -15
- package/dist/chunks/{instance-wxcz305r.js → location-services-6vnzct9r.js} +159 -159
- package/dist/chunks/{instance-b3cd8zc7.js → location-services-6we4q7zk.js} +4 -4
- package/dist/chunks/{instance-qdky8g4s.js → location-services-6wx8xhdj.js} +16 -16
- package/dist/chunks/{instance-xrfpcc86.js → location-services-6xcmfak7.js} +17 -17
- package/dist/chunks/{instance-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-sxcwve5h.js → location-services-7crnfscb.js} +17 -17
- package/dist/chunks/{instance-s5t8m6zb.js → location-services-7fm0yp7k.js} +32 -32
- package/dist/chunks/{instance-2ybfvxrq.js → location-services-7gc9k1mh.js} +12 -12
- package/dist/chunks/{instance-f9fw6h37.js → location-services-7hawy35n.js} +13 -13
- package/dist/chunks/{instance-7vta3a1d.js → location-services-7jgg7q0m.js} +5 -5
- package/dist/chunks/{instance-9k7h9nqd.js → location-services-7knahq77.js} +12 -12
- package/dist/chunks/{instance-af9bydhz.js → location-services-7n86tvyp.js} +9 -9
- package/dist/chunks/{instance-mvr5bn4j.js → location-services-7p3xftwe.js} +12 -12
- package/dist/chunks/{instance-ntkt9wmk.js → location-services-7t8e8ps1.js} +11 -11
- package/dist/chunks/{instance-1rykmckm.js → location-services-8078vm6x.js} +1 -1
- package/dist/chunks/{instance-ph842b28.js → location-services-80scg3y3.js} +4 -4
- package/dist/chunks/{instance-mksgfzgs.js → location-services-824w6ej1.js} +8 -8
- package/dist/chunks/{instance-m808447b.js → location-services-87x3xb46.js} +5 -5
- package/dist/chunks/{instance-jy5h5avn.js → location-services-88pk7gn3.js} +13 -13
- package/dist/chunks/{instance-tcezcvh9.js → location-services-89znhe33.js} +4 -4
- package/dist/chunks/{instance-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-6bhbh7ez.js → location-services-8habrbe1.js} +26 -26
- package/dist/chunks/{instance-8p4f9s12.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-gytx8grs.js → location-services-8srm5xw3.js} +51 -51
- package/dist/chunks/{instance-e2mgt0xn.js → location-services-8v3c42p4.js} +7 -7
- package/dist/chunks/{instance-1v1dkfn7.js → location-services-93c99t7r.js} +17 -17
- package/dist/chunks/{instance-87gj6da7.js → location-services-959x3j7n.js} +9 -9
- package/dist/chunks/{instance-twedqa03.js → location-services-98p7gzxk.js} +6 -6
- package/dist/chunks/{instance-xwmb94wa.js → location-services-9eyr8qgw.js} +9 -9
- package/dist/chunks/{instance-pm5ymerh.js → location-services-9jjhp2ka.js} +10 -10
- package/dist/chunks/{instance-jk955789.js → location-services-9twmqstx.js} +9 -9
- package/dist/chunks/{instance-ydr0jaet.js → location-services-9txp4hbw.js} +8 -8
- package/dist/chunks/{instance-a1bz86dw.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-myd6n0m7.js → location-services-a58nmf2f.js} +11 -11
- package/dist/chunks/{instance-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-57ez7d0k.js → location-services-aamtrqep.js} +9 -9
- package/dist/chunks/{instance-qrem40p6.js → location-services-acsb2ab5.js} +16 -16
- package/dist/chunks/{instance-v7vj21ay.js → location-services-ag0w7sb1.js} +18 -18
- package/dist/chunks/{instance-65mnhc1j.js → location-services-amax4ght.js} +11 -11
- package/dist/chunks/{instance-p9bebrf4.js → location-services-ax228mh5.js} +8 -8
- package/dist/chunks/{instance-nvpavzjp.js → location-services-aygy83kf.js} +4 -4
- package/dist/chunks/{instance-9hzdjcf3.js → location-services-b1vd0026.js} +17 -17
- package/dist/chunks/{instance-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-3btq6k56.js → location-services-bdfxp8y4.js} +1 -1
- package/dist/chunks/{instance-5ebwwas2.js → location-services-be2hac41.js} +9 -9
- package/dist/chunks/{instance-hde5vqnc.js → location-services-bphss62d.js} +43 -43
- package/dist/chunks/{instance-4ejga1gj.js → location-services-bsgcsy6n.js} +9 -9
- package/dist/chunks/{instance-qyhdf2wj.js → location-services-c4vtem9y.js} +26 -26
- package/dist/chunks/{instance-0ft71dpg.js → location-services-c6m1n2c7.js} +38 -38
- package/dist/chunks/{instance-gvde4h9p.js → location-services-ced3yeaf.js} +17 -17
- package/dist/chunks/{instance-cfpkc3c9.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-cxx7zj7j.js → location-services-cg0397kv.js} +3 -3
- package/dist/chunks/{instance-4sr15yzn.js → location-services-ch35dqjr.js} +27 -27
- package/dist/chunks/{instance-8z5qneg5.js → location-services-cj45y46z.js} +43 -43
- package/dist/chunks/{instance-78dy1fag.js → location-services-cvet6nsk.js} +14 -14
- package/dist/chunks/{instance-wttd4cxy.js → location-services-cwx4x0dd.js} +70 -70
- package/dist/chunks/{instance-pd1ybs8a.js → location-services-cys4dgee.js} +30 -30
- package/dist/chunks/{instance-928y647m.js → location-services-d2xc2jwh.js} +47 -47
- package/dist/chunks/{instance-yd5fw6pk.js → location-services-dahfv0b8.js} +25 -25
- package/dist/chunks/{instance-qw0gg287.js → location-services-ddc1b1w5.js} +24 -24
- package/dist/chunks/{instance-0nqyh7j5.js → location-services-dmg16yjh.js} +8 -8
- package/dist/chunks/{instance-pzymyf86.js → location-services-drfpxjgx.js} +13 -13
- package/dist/chunks/{instance-xfkkasph.js → location-services-drwq78ky.js} +4 -4
- package/dist/chunks/{instance-3ae4nf31.js → location-services-dz3n6ket.js} +37 -37
- package/dist/chunks/{instance-c85yt1tn.js → location-services-e0x352hd.js} +32 -32
- package/dist/chunks/{instance-hnr5yq9h.js → location-services-e6hmchc5.js} +5 -5
- package/dist/chunks/{instance-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-cpkat1yc.js → location-services-eq4zd08d.js} +17 -17
- package/dist/chunks/{instance-62ygmbt9.js → location-services-es36zed6.js} +20 -20
- package/dist/chunks/{instance-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/location-services-exny8ayn.js +65 -0
- package/dist/chunks/{instance-yx3z1052.js → location-services-f4v42jqx.js} +30 -30
- package/dist/chunks/{instance-3yn1mv56.js → location-services-f63sy675.js} +24 -24
- package/dist/chunks/{instance-f828m53h.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{instance-wev4yfyv.js → location-services-fhtz75pq.js} +35 -35
- package/dist/chunks/{instance-k9kj6xed.js → location-services-fkjmw100.js} +2 -2
- package/dist/chunks/{instance-sykjztyd.js → location-services-ftafywpx.js} +13 -13
- package/dist/chunks/{instance-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-b2kqrvg1.js → location-services-g0e3ejhr.js} +18 -18
- package/dist/chunks/{instance-h611dxg5.js → location-services-g1ep8q13.js} +19 -19
- package/dist/chunks/{instance-e4j4gzct.js → location-services-g23y2d6e.js} +10 -10
- package/dist/chunks/location-services-gbadjzag.js +4 -0
- package/dist/chunks/{instance-t1cm040f.js → location-services-gbay818y.js} +6 -6
- package/dist/chunks/{instance-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-pbnff0fa.js → location-services-gpf1akt4.js} +8 -8
- package/dist/chunks/{instance-r30ezdbg.js → location-services-gtenmb26.js} +7 -7
- package/dist/chunks/{instance-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-vzjpnn5c.js → location-services-h0s6deas.js} +42 -42
- package/dist/chunks/{instance-h6r3nrb9.js → location-services-h6r3nrb9.js} +1 -1
- package/dist/chunks/{instance-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-bjtwfxsb.js → location-services-hafv7pha.js} +10 -10
- package/dist/chunks/{instance-hfdr1yjj.js → location-services-hfdr1yjj.js} +4 -4
- package/dist/chunks/{instance-akfbw93z.js → location-services-hha0j8te.js} +8 -8
- package/dist/chunks/{instance-p44d8wdy.js → location-services-hkfg6fzm.js} +5 -5
- package/dist/chunks/{instance-wvx39x9m.js → location-services-hrkwn6h0.js} +10 -10
- package/dist/chunks/{instance-273hm007.js → location-services-hs11hgz1.js} +41 -41
- package/dist/chunks/{instance-96kew7g3.js → location-services-hxx1ax7w.js} +51 -51
- package/dist/chunks/{instance-g55ecp5r.js → location-services-hy61wner.js} +11 -11
- package/dist/chunks/{instance-nnsszj5x.js → location-services-j41a475f.js} +11 -11
- package/dist/chunks/{instance-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-j4ny2zpm.js → location-services-j5m0tr6e.js} +4 -4
- package/dist/chunks/{instance-wr4jxw21.js → location-services-j5tpcpx5.js} +5 -5
- package/dist/chunks/{instance-d8mpssd6.js → location-services-j85ebrbn.js} +51 -51
- package/dist/chunks/{instance-b7xwtgz9.js → location-services-j9v00nmq.js} +31 -31
- package/dist/chunks/{instance-e4t2pfz2.js → location-services-ja6ed9xr.js} +13 -13
- package/dist/chunks/{instance-626tgsy1.js → location-services-jwm07f16.js} +5 -5
- package/dist/chunks/{instance-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{instance-jppvw2tx.js → location-services-k3gnzxs0.js} +5 -5
- package/dist/chunks/{instance-ts8dmx4a.js → location-services-k77hftfd.js} +29 -29
- package/dist/chunks/{instance-k9avtbwf.js → location-services-k9avtbwf.js} +3 -3
- package/dist/chunks/{instance-1nrd3t2r.js → location-services-kazmqbag.js} +24 -24
- package/dist/chunks/{instance-6tb0s1b5.js → location-services-kr67dsen.js} +9 -9
- package/dist/chunks/{instance-731nkt3h.js → location-services-kzh82faq.js} +28 -28
- package/dist/chunks/{instance-mkxn73j8.js → location-services-kzrz6mk7.js} +11 -11
- package/dist/chunks/{instance-sr8vrdp8.js → location-services-m2ytg560.js} +14 -14
- package/dist/chunks/{instance-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{instance-nw6c5nrj.js → location-services-m4jqfbnh.js} +23 -23
- package/dist/chunks/{instance-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-bscb95cy.js → location-services-m9wy7qrr.js} +5 -5
- package/dist/chunks/{instance-a8bn8zg0.js → location-services-magykp64.js} +4 -4
- package/dist/chunks/{instance-1ygqh575.js → location-services-mfqp6xfm.js} +6 -6
- package/dist/chunks/{instance-x9fpjt76.js → location-services-mvex88qa.js} +11 -11
- package/dist/chunks/{instance-mhkvc446.js → location-services-mvfsc1pv.js} +3 -3
- package/dist/chunks/{instance-nqm9w7s9.js → location-services-nd78smks.js} +20 -20
- package/dist/chunks/location-services-ndg9br84.js +252 -0
- package/dist/chunks/{instance-nng2ktcm.js → location-services-nng2ktcm.js} +2 -2
- package/dist/chunks/{instance-68wpamz1.js → location-services-nx1mz71v.js} +36 -36
- package/dist/chunks/{instance-tjkp0c04.js → location-services-nzdggpth.js} +13 -13
- package/dist/chunks/{instance-9hn6k4tm.js → location-services-p37cw4rj.js} +8 -8
- package/dist/chunks/{instance-y2kye83a.js → location-services-pajqd7p6.js} +24 -24
- package/dist/chunks/{instance-y7x142mt.js → location-services-pb1eahw5.js} +8 -8
- package/dist/chunks/location-services-pf31ssb9.js +18 -0
- package/dist/chunks/{instance-h1gdx6c0.js → location-services-pf6cgfs2.js} +36 -36
- package/dist/chunks/{instance-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{instance-qwjmgwmn.js → location-services-pnaxc6j9.js} +8 -8
- package/dist/chunks/{instance-vcyr0kdn.js → location-services-pqwh9zsn.js} +28 -28
- package/dist/chunks/{instance-k3nxmgtg.js → location-services-pt81pzmj.js} +26 -26
- package/dist/chunks/{instance-xc1gqs3w.js → location-services-py1xq93p.js} +10 -10
- package/dist/chunks/{instance-xsab4j0w.js → location-services-qd6rj703.js} +5 -5
- package/dist/chunks/{instance-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
- package/dist/chunks/{instance-g4k52w4f.js → location-services-qjxfe6zh.js} +6 -6
- package/dist/chunks/{instance-zsa5khbb.js → location-services-qr6drbwe.js} +32 -32
- package/dist/chunks/{instance-68ftjh2s.js → location-services-qs2g0y6d.js} +11 -11
- package/dist/chunks/{instance-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-vz3sjp96.js → location-services-qvn2gqcg.js} +31 -31
- package/dist/chunks/{instance-djszqvmq.js → location-services-r2m716tb.js} +9 -9
- package/dist/chunks/{instance-r8xr0va3.js → location-services-r8xr0va3.js} +1 -1
- package/dist/chunks/{instance-ynk3aq68.js → location-services-rbfpryyb.js} +6 -6
- package/dist/chunks/{instance-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-hxtet8kv.js → location-services-repb58am.js} +8 -8
- package/dist/chunks/{instance-p5mc6htx.js → location-services-rfe8f7qr.js} +40 -40
- package/dist/chunks/{instance-j3s2z371.js → location-services-rhafb4aa.js} +9 -9
- package/dist/chunks/{instance-5kvw582v.js → location-services-rvz4r40v.js} +13 -13
- package/dist/chunks/{instance-0gr7cw0d.js → location-services-s0hza5ac.js} +4 -4
- package/dist/chunks/{instance-cf1hvjvq.js → location-services-s338r0jz.js} +7 -7
- package/dist/chunks/{instance-s8d7rejh.js → location-services-s8d7rejh.js} +1 -1
- package/dist/chunks/{instance-xe2jp86f.js → location-services-s9gcex8s.js} +9 -9
- package/dist/chunks/{instance-277sd2f6.js → location-services-sa2qr51e.js} +8 -8
- package/dist/chunks/{instance-xvxydy34.js → location-services-sa45wwhj.js} +9 -9
- package/dist/chunks/{instance-3wppz2sp.js → location-services-sr3a5bp1.js} +13 -13
- package/dist/chunks/{instance-00z3vp5f.js → location-services-sx1n432n.js} +4 -4
- package/dist/chunks/{instance-ey12kmkc.js → location-services-szjrhb9a.js} +1 -1
- package/dist/chunks/{instance-873n4nbh.js → location-services-t5ey53gg.js} +19 -19
- package/dist/chunks/{instance-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{instance-sx7jx6j4.js → location-services-tksejaeh.js} +6 -6
- package/dist/chunks/{instance-gtx7648h.js → location-services-tpsrfwtg.js} +17 -17
- package/dist/chunks/{instance-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-evbgk2k8.js → location-services-tz2bjj40.js} +5 -5
- package/dist/chunks/{instance-bw9zjykr.js → location-services-v6gb7zv2.js} +6 -6
- package/dist/chunks/{instance-r1yqph4a.js → location-services-v8v96swe.js} +13 -13
- package/dist/chunks/{instance-zwzwqwy2.js → location-services-var4818b.js} +1 -1
- package/dist/chunks/{instance-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-03af5vjq.js → location-services-vf88r308.js} +13 -13
- package/dist/chunks/{instance-1ajeyyn8.js → location-services-vh668qnd.js} +11 -11
- package/dist/chunks/{instance-706c77ge.js → location-services-vs02wkx2.js} +1 -1
- package/dist/chunks/{instance-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-8xhfv1ya.js → location-services-w1xzzgns.js} +13 -13
- package/dist/chunks/{instance-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-7vfeaj74.js → location-services-w48yskvc.js} +10 -10
- package/dist/chunks/{instance-82w3f8a5.js → location-services-w71gma7k.js} +22 -22
- package/dist/chunks/{instance-x2vjkaxr.js → location-services-w7qw9xwr.js} +8 -8
- package/dist/chunks/{instance-7sf5r3jr.js → location-services-w8m4edh1.js} +12 -12
- package/dist/chunks/{instance-4v4bfvma.js → location-services-w8xr7nv8.js} +5 -5
- package/dist/chunks/{instance-bx6fff81.js → location-services-wcrvbbfg.js} +11 -11
- package/dist/chunks/{instance-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{instance-mssdyfgy.js → location-services-wm2hqhc4.js} +9 -9
- package/dist/chunks/{instance-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-11dqjexa.js → location-services-x2aynqqh.js} +9 -9
- package/dist/chunks/{instance-sffprc5q.js → location-services-x4nj4b9x.js} +15 -15
- package/dist/chunks/{instance-sj33qgc8.js → location-services-xa8mwyge.js} +2 -2
- package/dist/chunks/{instance-z0wvvfbp.js → location-services-xe99ny0v.js} +15 -15
- package/dist/chunks/{instance-8jk6hqd4.js → location-services-xfsrjhjb.js} +2 -2
- package/dist/chunks/{instance-ewk8zjyq.js → location-services-xq5zbssz.js} +83 -83
- package/dist/chunks/{instance-jan52bh0.js → location-services-xxyg89kp.js} +32 -32
- package/dist/chunks/{instance-se6e83cd.js → location-services-y022vn7y.js} +18 -18
- package/dist/chunks/{instance-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-dpkg50ah.js → location-services-y71avatq.js} +4 -4
- package/dist/chunks/{instance-yw2sbvf7.js → location-services-y911dxk0.js} +11 -11
- package/dist/chunks/{instance-n1hkstq5.js → location-services-ydta7ff5.js} +31 -31
- package/dist/chunks/{instance-bdk0yvsy.js → location-services-ygk3awzv.js} +24 -24
- package/dist/chunks/{instance-8hcfvsjj.js → location-services-yh9mwy9w.js} +20 -20
- package/dist/chunks/{instance-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-8arqayb9.js → location-services-yskaqpbc.js} +25 -25
- package/dist/chunks/{instance-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-bd4ercyv.js → location-services-z2012gvx.js} +25 -25
- package/dist/chunks/{instance-jf8e62xz.js → location-services-z3w6djs0.js} +15 -15
- package/dist/chunks/{instance-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-z2ygd36a.js → location-services-z9szqmxk.js} +27 -27
- package/dist/chunks/{instance-zee1rnkq.js → location-services-zee1rnkq.js} +1 -1
- package/dist/chunks/{instance-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-cjatpnqb.js → location-services-zf3513pr.js} +15 -15
- package/dist/chunks/{instance-a1k8fzfk.js → location-services-zfhdmptt.js} +9 -9
- package/dist/chunks/{instance-zhq6vg7a.js → location-services-zhq6vg7a.js} +1 -1
- package/dist/chunks/{instance-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-a9s7pht3.js → location-services-zs51yffv.js} +3 -3
- package/dist/chunks/{instance-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +93 -93
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +89 -89
- package/dist/provider.js +92 -92
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +119 -119
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/instance-6kdq0pjd.js +0 -4
- package/dist/chunks/instance-dcp6dkgp.js +0 -65
- package/dist/chunks/instance-dxj72tfx.js +0 -18
- package/dist/chunks/instance-pxfmwfcv.js +0 -26
- package/dist/chunks/instance-x77r87hm.js +0 -252
- package/dist/chunks/instance-z4krr0n7.js +0 -478
- /package/dist/chunks/{instance-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-7w99qc9d.js → location-services-7w99qc9d.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-magykp64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./location-services-pb1eahw5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./location-services-tz2bjj40.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./location-services-34rkz0x9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info12
|
|
18
|
+
} from "./location-services-hkfg6fzm.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info13
|
|
24
|
+
} from "./location-services-e6hmchc5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./location-services-hs11hgz1.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-6we4q7zk.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info9, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info12, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-services-w8m4edh1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service35,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./location-services-2a535hsk.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service35;
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
yield* bus.subscribe(
|
|
62
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
function environmentNames(provider) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service65,
|
|
3
|
+
node69,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-mvex88qa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./location-services-v6gb7zv2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service31
|
|
12
|
+
} from "./location-services-exny8ayn.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ndg9br84.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service65, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service31);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node67.replace(Layer.succeed(Service63, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node69.replace(Layer.succeed(Service65, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./location-services-7crnfscb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./location-services-pajqd7p6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service56
|
|
15
|
+
} from "./location-services-y022vn7y.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./location-services-7fm0yp7k.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service66
|
|
24
|
+
} from "./location-services-nx1mz71v.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service41
|
|
27
|
+
} from "./location-services-g0e3ejhr.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-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: () => Input2,
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin35,
|
|
39
|
+
name: () => name2,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
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 name2 = "glob";
|
|
46
|
+
var Input2 = 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 Input11 = 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 Output2 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent2 = (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 Plugin35 = {
|
|
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* Service57;
|
|
70
|
+
const ripgrep = yield* Service56;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service41;
|
|
73
|
+
const permission = yield* Service66;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name2,
|
|
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: Input2,
|
|
79
|
+
output: Output2,
|
|
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: name2,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin44 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
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: toModelContent2(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 { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./location-services-6t298p2h.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./location-services-7crnfscb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service30,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service30 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service30.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node33 = makeLocationNode({
|
|
144
|
+
service: Service30,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service53, Service53.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID3, Error2, Service30, node33, noopLayer2, exports_snapshot2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info16 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|