@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,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-w47g9jnr.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-te8pmjpx.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-0ydqtzrm.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-f3kw9eex.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-eeqknjfh.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node77
|
|
35
|
+
} from "./location-services-3n35ajgm.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make20
|
|
42
|
+
} from "./location-services-c0ge5ze9.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service70
|
|
45
|
+
} from "./location-services-1sqpmxae.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-services-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event16,
|
|
57
|
+
Info: () => Info25,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service69,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node73
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info25 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event16 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service69 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service73;
|
|
108
|
+
const gitStrategy = yield* make20;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service70).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event16.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service69.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node73 = Node.makeGlobalNode({
|
|
265
|
+
service: Service69,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node86, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node77]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info25, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event16, Service69, node73, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-phgh3kxd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-nhn30yps.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./location-services-mwr9pqc9.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service22,
|
|
24
|
+
node: () => node25
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service22 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service48;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service22.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node51, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service22, node25, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./location-services-zdwe30dy.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service72
|
|
12
|
+
} from "./location-services-a3fhgjkr.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service58;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service72), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-w47g9jnr.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service64,
|
|
16
|
+
node68
|
|
17
|
+
} from "./location-services-bkd4yspx.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node43,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service40 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service64;
|
|
110
|
+
return Service40.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node43 = makeGlobalNode({
|
|
171
|
+
service: Service40,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node68]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node43, exports_repository_cache };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-qjsjev06.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-htetns6h.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin44
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin44 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin25 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin25 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin25 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-te8pmjpx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node53
|
|
12
|
+
} from "./location-services-8kysg0nx.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info7,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured6,
|
|
30
|
+
node: () => node52
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info7 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service49 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service49,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node53]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info7({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service49.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node52 = configured6();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info7, NotFound3, CreateConflict2, Service49, configured6, node52, exports_workspace };
|