@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-eeqknjfh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./location-services-qt21ay13.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-p26kqw2f.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin13
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin13 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin13, exports_reference };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-0ydqtzrm.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
|
+
ID9,
|
|
11
|
+
Service67,
|
|
12
|
+
node71,
|
|
13
|
+
Event14
|
|
14
|
+
} from "./location-services-t134qhcv.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-eeqknjfh.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 = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event13,
|
|
41
|
+
ID: () => ID8,
|
|
42
|
+
Info: () => Info21,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node70,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
68
|
+
var ID8 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info21 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service66 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service67;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service66.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [node87, node71, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service66, node70, exports_provider3, Event13 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-c4h63tt8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID9,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-t134qhcv.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID9.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service39,
|
|
3
|
+
node42
|
|
4
|
+
} from "./location-services-p26kqw2f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service30,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service39;
|
|
64
|
+
return Service30.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
71
|
return make21({
|
|
72
|
-
key:
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [node42] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service30, node34, exports_instructions3 };
|
|
@@ -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: () => Service47,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node50
|
|
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 Service47 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(Service47, 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(Service53, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service47.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 node50 = makeLocationNode({
|
|
143
|
+
service: Service47,
|
|
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, Service47, node50, exports_tool_output2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-eeqknjfh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service49,
|
|
22
|
+
node52
|
|
23
|
+
} from "./location-services-tx06y4r2.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node51,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service49;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node51 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node52]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node51, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-bsba7pb1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-0ydqtzrm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-services-c4h63tt8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-t134qhcv.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID8
|
|
20
|
+
} from "./location-services-m8azmk47.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-7xgtadz5.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID8.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID8.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID8.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID8.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID8.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID8.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|