@opencode/core 0.0.0-dev-20006 → 0.0.0-dev-20011
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{image-v2d4nfg6.js → location-services-076fzj3m.js} +65 -65
- package/dist/chunks/{image-562q7wbc.js → location-services-09e6rhkd.js} +3 -3
- package/dist/chunks/{image-2wjfht85.js → location-services-0c0gbnv2.js} +25 -25
- package/dist/chunks/{image-ky1wqy4d.js → location-services-0jb4kqev.js} +6 -6
- package/dist/chunks/{image-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{image-5h461sw9.js → location-services-0qvtyca8.js} +5 -5
- package/dist/chunks/{image-4j3qm3aa.js → location-services-0tqfqrz3.js} +13 -13
- package/dist/chunks/{image-ccjm5jwm.js → location-services-0w9jsh9p.js} +2 -2
- package/dist/chunks/{image-fjq2xkn5.js → location-services-0ydqtzrm.js} +4 -4
- package/dist/chunks/{image-qq8x5mwt.js → location-services-10jtetaj.js} +6 -6
- package/dist/chunks/{image-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{image-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-pf65k87v.js → location-services-1e4fdp0q.js} +25 -25
- package/dist/chunks/{image-c65bk09p.js → location-services-1jzkgb6x.js} +24 -24
- package/dist/chunks/{image-2cyrvn8x.js → location-services-1sqpmxae.js} +16 -16
- package/dist/chunks/{image-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{image-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{image-ctcwtzvf.js → location-services-2461agpp.js} +4 -4
- package/dist/chunks/{image-0dq2z8tv.js → location-services-291jvy86.js} +9 -9
- package/dist/chunks/{image-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-zby6yqdy.js → location-services-2h6rt1y3.js} +10 -10
- package/dist/chunks/{image-c1g2sg74.js → location-services-2js1jyf4.js} +6 -6
- package/dist/chunks/{image-cpneeje0.js → location-services-2mq1h16s.js} +9 -9
- package/dist/chunks/{image-7c1v976m.js → location-services-2q6q177z.js} +24 -24
- package/dist/chunks/{image-m0r31qfn.js → location-services-3ewed21c.js} +4 -4
- package/dist/chunks/{image-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-en6ej7pb.js → location-services-3fxc45xk.js} +34 -34
- package/dist/chunks/{image-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-h00wc835.js → location-services-3n35ajgm.js} +9 -9
- package/dist/chunks/{image-d6nyrcj2.js → location-services-3n95krej.js} +74 -74
- package/dist/chunks/{image-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-x5c3aeq5.js → location-services-4c2df9zx.js} +8 -8
- package/dist/chunks/{image-z1a1r82q.js → location-services-4ceq19qe.js} +40 -40
- package/dist/chunks/{image-6y6gh17j.js → location-services-4d2wgyyk.js} +11 -11
- package/dist/chunks/{image-30vt497d.js → location-services-4kxvs4qg.js} +20 -20
- package/dist/chunks/{image-y6cmh0fw.js → location-services-4p0wpyt8.js} +18 -18
- package/dist/chunks/{image-51vapca8.js → location-services-4qv5dbzb.js} +14 -14
- package/dist/chunks/{image-6qv2tz5h.js → location-services-4qwjb3y0.js} +3 -3
- package/dist/chunks/{image-v6ghzfeb.js → location-services-4v4bfvma.js} +5 -5
- package/dist/chunks/{image-tghr4gv7.js → location-services-4z5f2nag.js} +33 -33
- package/dist/chunks/{image-mtfpdj4s.js → location-services-50mgpba2.js} +16 -16
- package/dist/chunks/{image-0r7yqxbf.js → location-services-510m7gjw.js} +5 -5
- package/dist/chunks/{image-zqdbm9z2.js → location-services-51ghk93f.js} +5 -5
- package/dist/chunks/{image-ssdqnhy0.js → location-services-53fyba40.js} +4 -4
- package/dist/chunks/{image-3a46yhs1.js → location-services-54z46b7q.js} +7 -7
- package/dist/chunks/{image-33w4ejhs.js → location-services-56gdpj1q.js} +6 -6
- package/dist/chunks/{image-57ez7d0k.js → location-services-57ez7d0k.js} +2 -2
- package/dist/chunks/{image-t336cqnw.js → location-services-58951jed.js} +30 -30
- package/dist/chunks/{image-jexxy024.js → location-services-5cmxdwv8.js} +3 -3
- package/dist/chunks/{image-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5ekn9679.js → location-services-5ekn9679.js} +1 -1
- package/dist/chunks/{image-9nn0v0s4.js → location-services-5fezsetf.js} +8 -8
- package/dist/chunks/{image-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-bsf00r8m.js → location-services-5y5mrdty.js} +39 -39
- package/dist/chunks/{image-d0db64mf.js → location-services-5yf9hs8d.js} +11 -11
- package/dist/chunks/{image-5pwncfkc.js → location-services-5z6f9w00.js} +22 -22
- package/dist/chunks/location-services-619r8v3y.js +18 -0
- package/dist/chunks/{image-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{image-vnm9krcg.js → location-services-6b2fqmg9.js} +12 -12
- package/dist/chunks/{image-rpk92v1f.js → location-services-6b5n2jj1.js} +23 -23
- package/dist/chunks/{image-0hbc4pey.js → location-services-6kkvj210.js} +15 -15
- package/dist/chunks/{image-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{image-nxsy2y7z.js → location-services-6sgxs7jb.js} +5 -5
- package/dist/chunks/{image-f8qe00s5.js → location-services-6vn9xp8b.js} +25 -25
- package/dist/chunks/{image-6vzndrx9.js → location-services-7b1fe5ah.js} +17 -17
- package/dist/chunks/{image-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-7dqw4kz8.js → location-services-7dqw4kz8.js} +1 -1
- package/dist/chunks/{image-c6tkka2d.js → location-services-7pfrbv4x.js} +25 -25
- package/dist/chunks/{image-xdrba4jw.js → location-services-7v81x33d.js} +9 -9
- package/dist/chunks/{image-41jpfm3y.js → location-services-7xgtadz5.js} +6 -6
- package/dist/chunks/{image-t0wvvjy4.js → location-services-7z7wxyf7.js} +11 -11
- package/dist/chunks/{image-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-x8cycxf4.js → location-services-8kysg0nx.js} +6 -6
- package/dist/chunks/{image-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{image-vfd4qxz2.js → location-services-8va4mfas.js} +15 -15
- package/dist/chunks/{image-spcdvtsy.js → location-services-911dk90e.js} +8 -8
- package/dist/chunks/{image-5bd42syd.js → location-services-929zw6j4.js} +27 -27
- package/dist/chunks/{image-xycsd9rr.js → location-services-94tds4en.js} +33 -33
- package/dist/chunks/{image-gaq06wk0.js → location-services-954vm9zf.js} +6 -6
- package/dist/chunks/{image-j9jbccy5.js → location-services-95ae4rxz.js} +8 -8
- package/dist/chunks/{image-2s2nkvc8.js → location-services-9a65bwts.js} +22 -22
- package/dist/chunks/{image-t3jy044j.js → location-services-9c01p13y.js} +19 -19
- package/dist/chunks/{image-47fdfwyn.js → location-services-9czmx1d9.js} +166 -166
- package/dist/chunks/{image-askrbw57.js → location-services-9jsb8q8w.js} +11 -11
- package/dist/chunks/{image-z7vss07q.js → location-services-9rddrra1.js} +13 -13
- package/dist/chunks/{image-5pnw7v32.js → location-services-9v41vzcn.js} +33 -33
- package/dist/chunks/{image-mqjt19q2.js → location-services-9w34r5ct.js} +13 -13
- package/dist/chunks/{image-9nkdv7c2.js → location-services-9z21m1vc.js} +10 -10
- package/dist/chunks/{image-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{image-4w5f3qm5.js → location-services-a2qe2ev9.js} +8 -8
- package/dist/chunks/{image-vpcr0tzx.js → location-services-a3fhgjkr.js} +24 -24
- package/dist/chunks/{image-kgknqqx1.js → location-services-a4abrdce.js} +28 -28
- package/dist/chunks/{image-bm8h0423.js → location-services-a7cj8fws.js} +14 -14
- package/dist/chunks/{image-mxg9zmwk.js → location-services-a8d8pa79.js} +24 -24
- package/dist/chunks/{image-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{image-nw24pgk5.js → location-services-ab3hzfp7.js} +43 -43
- package/dist/chunks/{image-smqvnbx5.js → location-services-at170bbr.js} +11 -11
- package/dist/chunks/{image-7pas1d4n.js → location-services-b1te3k81.js} +12 -12
- package/dist/chunks/{image-8d4xtxp9.js → location-services-b4n8ys81.js} +6 -6
- package/dist/chunks/{image-wrpf7kpx.js → location-services-b5btqhwc.js} +5 -5
- package/dist/chunks/{image-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-n3p8zf4b.js → location-services-b8pbb6y1.js} +16 -16
- package/dist/chunks/{image-ghyv0by5.js → location-services-b8qgwjvd.js} +16 -16
- package/dist/chunks/{image-hzam0k1f.js → location-services-bd5rzvrt.js} +10 -10
- package/dist/chunks/{image-8dar51kt.js → location-services-bfhq8xkj.js} +15 -15
- package/dist/chunks/{image-7ac170kv.js → location-services-bha4atvq.js} +4 -4
- package/dist/chunks/{image-4zks2f0q.js → location-services-bhseht6g.js} +5 -5
- package/dist/chunks/{image-v5wa63ar.js → location-services-bkd4yspx.js} +10 -10
- package/dist/chunks/{image-c6wxt469.js → location-services-bmyx1hfb.js} +16 -16
- package/dist/chunks/{image-czfptnv9.js → location-services-br0tr5aq.js} +8 -8
- package/dist/chunks/{image-xzpgrndz.js → location-services-bsba7pb1.js} +11 -11
- package/dist/chunks/{image-rx7459vr.js → location-services-bygrnxdr.js} +29 -29
- package/dist/chunks/{image-d897rehy.js → location-services-bza16hp0.js} +13 -13
- package/dist/chunks/{image-mksgfzgs.js → location-services-c0ge5ze9.js} +6 -6
- package/dist/chunks/{image-4z914n5c.js → location-services-c1wd4kg2.js} +11 -11
- package/dist/chunks/{image-ba5nqppt.js → location-services-c4h63tt8.js} +30 -30
- package/dist/chunks/{image-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{image-3pbjq009.js → location-services-ckfwh0ft.js} +8 -8
- package/dist/chunks/{image-h6r3nrb9.js → location-services-cpj0znwe.js} +4 -4
- package/dist/chunks/{image-w7pqkv4e.js → location-services-crnk5gej.js} +15 -15
- package/dist/chunks/{image-331knf88.js → location-services-cw093v2r.js} +30 -30
- package/dist/chunks/{image-bg8akm6q.js → location-services-djsrhgf5.js} +73 -73
- package/dist/chunks/{image-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
- package/dist/chunks/{image-6p6ynqbb.js → location-services-drhhyq3n.js} +23 -23
- package/dist/chunks/{image-29eyaswh.js → location-services-drs1kqv3.js} +8 -8
- package/dist/chunks/{image-drwq78ky.js → location-services-drwq78ky.js} +1 -1
- package/dist/chunks/{image-rwm5vee1.js → location-services-e2hjzebn.js} +4 -4
- package/dist/chunks/{image-4sy14yqe.js → location-services-e58jwmtf.js} +18 -18
- package/dist/chunks/{image-rmp6454a.js → location-services-e6e3axhh.js} +5 -5
- package/dist/chunks/{image-r9np7b10.js → location-services-e7aj1vd0.js} +17 -17
- package/dist/chunks/{image-w9tg0pj8.js → location-services-e91k1as5.js} +7 -7
- package/dist/chunks/{image-s8d7rejh.js → location-services-eaj1djv9.js} +6 -6
- package/dist/chunks/{image-hwk6cm66.js → location-services-ecphvagr.js} +33 -33
- package/dist/chunks/{image-3mg2z7dk.js → location-services-eczyt3tv.js} +26 -26
- package/dist/chunks/{image-y2h1vj9s.js → location-services-eeqknjfh.js} +2 -2
- package/dist/chunks/{image-ahk0vccf.js → location-services-ef172n3c.js} +37 -37
- package/dist/chunks/{image-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-mw6hmxw7.js → location-services-eg5k0e50.js} +12 -12
- package/dist/chunks/{image-q5jh1fb4.js → location-services-ekw1vzjb.js} +1 -1
- package/dist/chunks/{image-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{image-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-3w0fmcng.js → location-services-evbgk2k8.js} +5 -5
- package/dist/chunks/{image-v8qha12t.js → location-services-f3kw9eex.js} +8 -8
- package/dist/chunks/{image-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{image-0kem7bvd.js → location-services-ffv7dphc.js} +44 -44
- package/dist/chunks/{image-h7ygw6q4.js → location-services-fhs97t90.js} +9 -9
- package/dist/chunks/{image-knb7evpn.js → location-services-fkjmw100.js} +6 -6
- package/dist/chunks/{image-71mkcn1r.js → location-services-fpgytpcd.js} +11 -11
- package/dist/chunks/{image-9kzkn7eg.js → location-services-fphfnw8p.js} +21 -21
- package/dist/chunks/{image-m3c3c009.js → location-services-fz4rhnde.js} +24 -24
- package/dist/chunks/{image-f3ngv102.js → location-services-g190xswt.js} +4 -4
- package/dist/chunks/{image-sczk8sc9.js → location-services-g866mvw0.js} +7 -7
- package/dist/chunks/{image-b27vhd2z.js → location-services-g8d3gcyj.js} +7 -7
- package/dist/chunks/{image-k0pwyxrd.js → location-services-g9bf7h26.js} +1 -1
- package/dist/chunks/{image-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-7qhv4691.js → location-services-ggepezj9.js} +11 -11
- package/dist/chunks/{image-etzz3kcr.js → location-services-gv66gg0x.js} +5 -5
- package/dist/chunks/{image-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{image-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-1sb7p0dt.js → location-services-hbdpwzfq.js} +13 -13
- package/dist/chunks/location-services-hnnewyce.js +26 -0
- package/dist/chunks/{image-c9ttrcnj.js → location-services-hssynh61.js} +17 -17
- package/dist/chunks/{image-dfvycwty.js → location-services-htetns6h.js} +52 -52
- package/dist/chunks/{image-vjqycgcg.js → location-services-j48xdb6e.js} +11 -11
- package/dist/chunks/{image-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{image-r9w3djhf.js → location-services-j58c5xyq.js} +9 -9
- package/dist/chunks/{image-msrm0et3.js → location-services-j5kemd6q.js} +4 -4
- package/dist/chunks/{image-t9zs3egg.js → location-services-j83byb14.js} +4 -4
- package/dist/chunks/{image-tbe0yh0n.js → location-services-jjvhwfpq.js} +18 -18
- package/dist/chunks/{image-kmzbkppp.js → location-services-jmjmabnt.js} +9 -9
- package/dist/chunks/{image-pjx495pd.js → location-services-jrgj59py.js} +20 -20
- package/dist/chunks/{image-zj09a0ew.js → location-services-jva4mgym.js} +4 -4
- package/dist/chunks/{image-9cj48zab.js → location-services-jyg7bppw.js} +17 -17
- package/dist/chunks/{image-6w5959sb.js → location-services-jzvw9cjy.js} +3 -3
- package/dist/chunks/{image-3de8jbpy.js → location-services-k255hwzq.js} +11 -11
- package/dist/chunks/{image-mwjwfxbw.js → location-services-k31jsr5k.js} +13 -13
- package/dist/chunks/{image-nzks3jc8.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{image-wedyt5kt.js → location-services-k4js8n82.js} +42 -42
- package/dist/chunks/{image-ed90htb6.js → location-services-k89tvy88.js} +15 -15
- package/dist/chunks/{image-ghz97e63.js → location-services-kcd5m8qj.js} +13 -13
- package/dist/chunks/{image-3kpaa0td.js → location-services-kgcsqxc0.js} +3 -3
- package/dist/chunks/{image-10exa8s0.js → location-services-kjbgyhn1.js} +15 -15
- package/dist/chunks/{image-kaj3fc1v.js → location-services-kpt1pgx2.js} +11 -11
- package/dist/chunks/{image-g1ehtde2.js → location-services-kwbh71xg.js} +47 -47
- package/dist/chunks/{image-0wqqq2fr.js → location-services-m2d4znkh.js} +11 -11
- package/dist/chunks/{image-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-3jfaqhpt.js → location-services-m8azmk47.js} +29 -29
- package/dist/chunks/{image-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-pccj551n.js → location-services-mfdejc95.js} +5 -5
- package/dist/chunks/{image-89kyrcsf.js → location-services-mt7hacs3.js} +18 -18
- package/dist/chunks/{image-cvgmfefw.js → location-services-mvr5bn4j.js} +12 -12
- package/dist/chunks/{image-vvx4scmw.js → location-services-mwr9pqc9.js} +21 -21
- package/dist/chunks/{image-xc182qv4.js → location-services-n5xzyk2f.js} +23 -23
- package/dist/chunks/{image-74csta2h.js → location-services-n93zkqgy.js} +22 -22
- package/dist/chunks/{image-w3encw62.js → location-services-nhn30yps.js} +3 -3
- package/dist/chunks/{image-69h1251q.js → location-services-njp0gf2a.js} +9 -9
- package/dist/chunks/{image-wachdqys.js → location-services-npq7nscb.js} +4 -4
- package/dist/chunks/{image-kxpygcw9.js → location-services-nqnxh7mc.js} +6 -6
- package/dist/chunks/{image-mrfxdnhj.js → location-services-p26kqw2f.js} +26 -26
- package/dist/chunks/{image-hc4fnx3k.js → location-services-p26stxcb.js} +4 -4
- package/dist/chunks/{image-p28j5sbe.js → location-services-p28j5sbe.js} +2 -2
- package/dist/chunks/{image-6azszf0a.js → location-services-p3rst35z.js} +9 -9
- package/dist/chunks/{image-hkfg6fzm.js → location-services-p44d8wdy.js} +5 -5
- package/dist/chunks/{image-j14qg5xv.js → location-services-pbqq4tza.js} +20 -20
- package/dist/chunks/{image-zt9p3yjk.js → location-services-pe8tv1h6.js} +9 -9
- package/dist/chunks/{image-4kgn5hht.js → location-services-phgh3kxd.js} +3 -3
- package/dist/chunks/{image-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{image-4yc7rcx0.js → location-services-prjfewh6.js} +4 -4
- package/dist/chunks/{image-pfm0qd87.js → location-services-ptrzmbv7.js} +43 -43
- package/dist/chunks/{image-2r47jwp9.js → location-services-qa4rgfar.js} +13 -13
- package/dist/chunks/location-services-qapv375x.js +4 -0
- package/dist/chunks/{image-vhmj078x.js → location-services-qedddj0d.js} +13 -13
- package/dist/chunks/{image-zww8syw5.js → location-services-qh5mrz6m.js} +28 -28
- package/dist/chunks/{image-y48wrjg8.js → location-services-qjsjev06.js} +21 -21
- package/dist/chunks/{image-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{image-qmsdj5ty.js → location-services-qt21ay13.js} +36 -36
- package/dist/chunks/{image-v3sgzvyr.js → location-services-r3c4069c.js} +1 -1
- package/dist/chunks/{image-1bbkgx8g.js → location-services-r5x6zcsm.js} +3 -3
- package/dist/chunks/{image-ydz4e7k1.js → location-services-r756e8jm.js} +19 -19
- package/dist/chunks/{image-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-n76j5b51.js → location-services-rm4rssxj.js} +3 -3
- package/dist/chunks/{image-w0xzj0tq.js → location-services-rrwq8gjb.js} +27 -27
- package/dist/chunks/{image-8fyyqzq4.js → location-services-s402295g.js} +12 -12
- package/dist/chunks/{image-a492eg67.js → location-services-sg4jxb88.js} +12 -12
- package/dist/chunks/{image-kkgqwbhz.js → location-services-skezdadn.js} +8 -8
- package/dist/chunks/{image-g506jvv0.js → location-services-st74dpns.js} +11 -11
- package/dist/chunks/{image-z8n9wp4m.js → location-services-sz74yh9r.js} +9 -9
- package/dist/chunks/{image-yw7cjn17.js → location-services-t0qhjgyp.js} +6 -6
- package/dist/chunks/{image-2zve5a08.js → location-services-t134qhcv.js} +29 -29
- package/dist/chunks/{image-5z5bvwse.js → location-services-t55y95db.js} +37 -37
- package/dist/chunks/{image-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-9v1mpwvv.js → location-services-tcffg621.js} +37 -37
- package/dist/chunks/{image-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{image-ehvx6czw.js → location-services-te8pmjpx.js} +3 -3
- package/dist/chunks/{image-t2xq3ndf.js → location-services-th3akfh8.js} +18 -18
- package/dist/chunks/{image-wwbsa95s.js → location-services-tkkpbq49.js} +9 -9
- package/dist/chunks/{image-d2w700dw.js → location-services-tm53c378.js} +17 -17
- package/dist/chunks/{image-yawka9q3.js → location-services-ttjqyb0b.js} +15 -15
- package/dist/chunks/{image-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{image-z6qfc3y3.js → location-services-tx06y4r2.js} +26 -26
- package/dist/chunks/{image-ef9gv310.js → location-services-tzz062re.js} +11 -11
- package/dist/chunks/location-services-v0jj9yeq.js +503 -0
- package/dist/chunks/{image-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{image-g0kyh3qv.js → location-services-vm0ks5e0.js} +10 -10
- package/dist/chunks/{image-a3r4dcrj.js → location-services-vmgq4x8b.js} +2 -2
- package/dist/chunks/{image-ybhbtxjg.js → location-services-vmwh049b.js} +6 -6
- package/dist/chunks/{image-x2aneysw.js → location-services-vqxt8g7e.js} +10 -10
- package/dist/chunks/{image-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-607q5haz.js → location-services-w47g9jnr.js} +5 -5
- package/dist/chunks/{image-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{image-5qtcqs7h.js → location-services-wfgx88ta.js} +24 -24
- package/dist/chunks/{image-ayy92s6e.js → location-services-wpg9je3n.js} +13 -13
- package/dist/chunks/{image-938vt2d6.js → location-services-wqz2nznd.js} +18 -18
- package/dist/chunks/{image-g52y0c92.js → location-services-wrgwgm8m.js} +10 -10
- package/dist/chunks/{image-xpknqd88.js → location-services-wxafn8fs.js} +44 -44
- package/dist/chunks/{image-x5xthkqs.js → location-services-x163ashe.js} +5 -5
- package/dist/chunks/{image-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-4a6jpjer.js → location-services-x2d9qy7d.js} +5 -5
- package/dist/chunks/{image-am88kmff.js → location-services-xjqa0996.js} +22 -22
- package/dist/chunks/{image-173cpqtx.js → location-services-xmgg1s1t.js} +44 -44
- package/dist/chunks/{image-d94r6qj5.js → location-services-y1e7j0p1.js} +24 -24
- package/dist/chunks/{image-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-6h8hy4mr.js → location-services-yce5w86h.js} +17 -17
- package/dist/chunks/{image-vvw75pzs.js → location-services-yj10h50k.js} +20 -20
- package/dist/chunks/location-services-ykg4wt0r.js +252 -0
- package/dist/chunks/{image-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{image-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-56b3zt1s.js → location-services-z5rd9rww.js} +8 -8
- package/dist/chunks/{image-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{image-186v3xpn.js → location-services-z81vx979.js} +10 -10
- package/dist/chunks/{image-nwj13746.js → location-services-zacw89sw.js} +15 -15
- package/dist/chunks/{image-prmgem5b.js → location-services-zdwe30dy.js} +6 -6
- package/dist/chunks/{image-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{image-bczcn6w4.js → location-services-zh3km4py.js} +4 -4
- package/dist/chunks/{image-g169rf3a.js → location-services-zpdbj17a.js} +32 -32
- package/dist/chunks/{image-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-daz99daz.js → location-services-zz760rd9.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- 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 +161 -161
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +94 -94
- 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 +69 -69
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- 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 +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- 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/compaction.js +132 -132
- 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 +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +159 -159
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +5 -5
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- 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 +90 -90
- 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 +147 -147
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- 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 +5 -5
- 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 +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +111 -111
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- 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 +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/image-6kdq0pjd.js +0 -4
- package/dist/chunks/image-hjkzpa7r.js +0 -503
- package/dist/chunks/image-mj9f1fhh.js +0 -252
- package/dist/chunks/image-qc068m1q.js +0 -18
- package/dist/chunks/image-rzyd1vqx.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./location-services-ffv7dphc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service19,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
layer: () => layer8,
|
|
20
|
-
node: () =>
|
|
20
|
+
node: () => node22
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service19 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var layer8 = Layer.effect(
|
|
38
|
+
var layer8 = Layer.effect(Service19, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service61;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer8 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service19.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
68
|
+
var node22 = makeLocationNode({
|
|
69
|
+
service: Service19,
|
|
70
70
|
layer: layer8,
|
|
71
|
-
deps: [
|
|
71
|
+
deps: [node64, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service19, layer8, node22, exports_generate };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-services-m8azmk47.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-te8pmjpx.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service64,
|
|
17
|
+
node: () => node68
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service64 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service64.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service64, node68, exports_kv };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./location-services-7v81x33d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./location-services-zdwe30dy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-619r8v3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service79
|
|
15
|
+
} from "./location-services-a2qe2ev9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-vmwh049b.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service72
|
|
23
|
+
} from "./location-services-a3fhgjkr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service58;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service72;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service43;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node67,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node67 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer24, configured11, node67, exports_app };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-0ydqtzrm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node41
|
|
8
|
+
} from "./location-services-wxafn8fs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./location-services-htetns6h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node45
|
|
16
|
+
} from "./location-services-7pfrbv4x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service42;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service75;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node40 = makeLocationNode({
|
|
124
|
+
service: Service37,
|
|
125
|
+
layer: layer14,
|
|
126
|
+
deps: [node45, node41, node87, node79]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service37, layer14, node40, exports_mcp3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node77,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-3n35ajgm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node61
|
|
9
|
+
} from "./location-services-zdwe30dy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./location-services-1jzkgb6x.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ykg4wt0r.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(Service73, 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, Service13);
|
|
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
|
+
node61.replace(Layer.succeed(Service58, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node77.replace(Layer.succeed(Service73, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-w47g9jnr.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: () => make20
|
|
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 make20 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make20, exports_git2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-services-jjvhwfpq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-services-qt21ay13.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-b4n8ys81.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin12
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin12 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service51;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service52;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin38 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin12, exports_compatibility };
|