@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service34,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node37
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service34 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service34.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node37 = makeLocationNode({
|
|
143
|
+
service: Service34,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service34, node37, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service24,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node28
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service24.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node28 = makeGlobalNode({ service: Service24, layer: layer12, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service24, makeLayer2, layer12, node28, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin29,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin29 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin12 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin29, exports_identity };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-services-6t298p2h.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make16
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make16 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make16, exports_git2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service79
|
|
4
|
+
} from "./location-services-f4v42jqx.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service79;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-j41a475f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-services-w8m4edh1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-services-ydta7ff5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-f4v42jqx.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-8habrbe1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-3f7778ma.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
30
|
var providerID = ID13.make("digitalocean");
|
|
31
|
-
var integrationID =
|
|
31
|
+
var integrationID = ID16.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service82;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-services-w8m4edh1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service79,
|
|
12
|
+
node83,
|
|
13
|
+
Event19
|
|
14
|
+
} from "./location-services-f4v42jqx.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80
|
|
21
|
+
} from "./location-services-7crnfscb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -42,7 +42,7 @@ __export(exports_provider3, {
|
|
|
42
42
|
LoadError: () => LoadError3,
|
|
43
43
|
Provider: () => exports_provider3,
|
|
44
44
|
Request: () => Request3,
|
|
45
|
-
Service: () =>
|
|
45
|
+
Service: () => Service75,
|
|
46
46
|
Settings: () => Settings2,
|
|
47
47
|
aisdk: () => aisdk2,
|
|
48
48
|
isAISDK: () => isAISDK2,
|
|
@@ -50,7 +50,7 @@ __export(exports_provider3, {
|
|
|
50
50
|
mergeHeaders: () => mergeHeaders2,
|
|
51
51
|
mergeOverlay: () => mergeOverlay2,
|
|
52
52
|
nativeSettings: () => nativeSettings2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node79,
|
|
54
54
|
packageName: () => packageName2
|
|
55
55
|
});
|
|
56
56
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -203,7 +203,7 @@ var Request3 = Provider.Request;
|
|
|
203
203
|
var Settings2 = Provider.Settings;
|
|
204
204
|
var Info27 = Provider.Info;
|
|
205
205
|
|
|
206
|
-
class
|
|
206
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
207
207
|
}
|
|
208
208
|
var definitions = new WeakMap;
|
|
209
209
|
function index(providerID, models) {
|
|
@@ -216,10 +216,10 @@ function index(providerID, models) {
|
|
|
216
216
|
definitions.set(models, indexes);
|
|
217
217
|
return result;
|
|
218
218
|
}
|
|
219
|
-
var layer = Layer.effect(
|
|
220
|
-
const bus = yield*
|
|
221
|
-
const integrations = yield*
|
|
222
|
-
const location = yield*
|
|
219
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
220
|
+
const bus = yield* Service82;
|
|
221
|
+
const integrations = yield* Service79;
|
|
222
|
+
const location = yield* Service76;
|
|
223
223
|
const state = create3({
|
|
224
224
|
name: "provider",
|
|
225
225
|
initial: () => new Map,
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
311
311
|
const available = Array.from(records.values()).filter((record) => {
|
|
312
312
|
if (record.provider.activation === "disabled")
|
|
313
313
|
return false;
|
|
314
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
314
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
315
315
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
316
316
|
return false;
|
|
317
317
|
if (record.provider.activation === "enabled")
|
|
@@ -337,8 +337,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
337
337
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
|
-
yield* bus.subscribe([
|
|
341
|
-
return
|
|
340
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
341
|
+
return Service75.of({
|
|
342
342
|
transform: state.transform,
|
|
343
343
|
reload: state.reload,
|
|
344
344
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
347
347
|
snapshot
|
|
348
348
|
});
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
350
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node83, node80] });
|
|
351
351
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
352
352
|
const module = yield* Effect.tryPromise({
|
|
353
353
|
try: () => {
|
|
@@ -607,4 +607,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
607
607
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
608
608
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
609
609
|
|
|
610
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27,
|
|
610
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-services-w8m4edh1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-services-7crnfscb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node61
|
|
12
|
+
} from "./location-services-pajqd7p6.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service49,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node53
|
|
20
|
+
} from "./location-services-g1ep8q13.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node74
|
|
24
|
+
} from "./location-services-pnaxc6j9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service33,
|
|
27
|
+
node36
|
|
28
|
+
} from "./location-services-69j91c1q.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-7w99qc9d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service45,
|
|
35
|
+
node49
|
|
36
|
+
} from "./location-services-20t16kv5.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-services-7p3xftwe.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service32,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node35
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service32 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service32, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service82;
|
|
91
|
+
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service49;
|
|
94
|
+
const environment = yield* Service57;
|
|
95
|
+
const hooks = yield* Service70;
|
|
96
|
+
const environments = yield* Service33;
|
|
97
|
+
const config = yield* Service45;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service32.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node35 = makeLocationNode({
|
|
320
|
+
service: Service32,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node86,
|
|
324
|
+
node80,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node53,
|
|
327
|
+
node61,
|
|
328
|
+
node74,
|
|
329
|
+
node36,
|
|
330
|
+
node49,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service32, cleanup2, node35, exports_shell4 };
|