@opencode/core 2.0.1 → 2.0.2
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{repository-ezbaq0hv.js → location-services-03g9n59p.js} +4 -4
- package/dist/chunks/{repository-cg1ew3t4.js → location-services-0artwwxx.js} +3 -3
- package/dist/chunks/{repository-2k8khapm.js → location-services-0jwsre1p.js} +5 -5
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{repository-36564s8r.js → location-services-0mt0kscd.js} +29 -29
- package/dist/chunks/{repository-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-8c7y8dn0.js → location-services-0pb75hch.js} +5 -5
- package/dist/chunks/{repository-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-5892jdtn.js → location-services-0r684n0p.js} +8 -8
- package/dist/chunks/{repository-8gs4w1fy.js → location-services-107p1e5w.js} +30 -30
- package/dist/chunks/{repository-pctvcs1g.js → location-services-15f8axbg.js} +14 -14
- package/dist/chunks/{repository-g4kbd5hn.js → location-services-1a66p2eq.js} +22 -22
- package/dist/chunks/{repository-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-1bbkgx8g.js → location-services-1bbkgx8g.js} +1 -1
- package/dist/chunks/{repository-h90k734v.js → location-services-1cw6jyks.js} +9 -9
- package/dist/chunks/{repository-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-ehajtz8g.js → location-services-1emffesh.js} +5 -5
- package/dist/chunks/{repository-fmdgzt8c.js → location-services-1ewwg606.js} +45 -45
- package/dist/chunks/{repository-de42ff3x.js → location-services-1ezhg5n2.js} +19 -19
- package/dist/chunks/{repository-3yetcf2r.js → location-services-1m7gs3ah.js} +49 -49
- package/dist/chunks/{repository-r33ff4dw.js → location-services-1s3p39g4.js} +4 -4
- package/dist/chunks/{repository-s2t8c8fj.js → location-services-1txhhsar.js} +4 -4
- package/dist/chunks/{repository-w75dnx21.js → location-services-20ct9c8y.js} +42 -42
- package/dist/chunks/{repository-fv2d43cy.js → location-services-20tey5zg.js} +25 -25
- package/dist/chunks/{repository-qkrnz1pz.js → location-services-219neeqh.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{repository-bkhh0yw4.js → location-services-24w6x0js.js} +16 -16
- package/dist/chunks/{repository-peejr10p.js → location-services-265kqrgy.js} +1 -1
- package/dist/chunks/{repository-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/location-services-2est6f04.js +76 -0
- package/dist/chunks/{repository-yz39bey7.js → location-services-2gv9ss0t.js} +29 -29
- package/dist/chunks/{repository-1g6ktzxp.js → location-services-2hf86re2.js} +46 -46
- package/dist/chunks/{repository-haj0byqn.js → location-services-2mk0xfrn.js} +4 -4
- package/dist/chunks/{repository-j5xt7epv.js → location-services-2p1x4cae.js} +12 -12
- package/dist/chunks/{repository-cq37gk0t.js → location-services-2tfmgkzg.js} +4 -4
- package/dist/chunks/{repository-58e8mpmb.js → location-services-2xh74eyw.js} +7 -7
- package/dist/chunks/{repository-pye8sh6e.js → location-services-33n3bzdy.js} +6 -6
- package/dist/chunks/{repository-56gdpj1q.js → location-services-33w4ejhs.js} +6 -6
- package/dist/chunks/{repository-c9wtqnwj.js → location-services-34cjg5aj.js} +11 -11
- package/dist/chunks/{repository-b6hy6gkz.js → location-services-35wynegs.js} +2 -2
- package/dist/chunks/{repository-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
- package/dist/chunks/{repository-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-4emgtgzt.js → location-services-3hrj6hc1.js} +22 -22
- package/dist/chunks/{repository-84czwvzw.js → location-services-3kx4em2y.js} +13 -13
- package/dist/chunks/{repository-q8rd9qhs.js → location-services-3qccx5hy.js} +30 -30
- package/dist/chunks/{repository-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-dj9sq318.js → location-services-3w0fmcng.js} +5 -5
- package/dist/chunks/{repository-3seenrp7.js → location-services-3z34j0cx.js} +9 -9
- package/dist/chunks/{repository-bejabbw1.js → location-services-42etq36e.js} +32 -32
- package/dist/chunks/{repository-1tjfkw5v.js → location-services-4tka16dg.js} +25 -25
- package/dist/chunks/{repository-4y66k410.js → location-services-4y66k410.js} +2 -2
- package/dist/chunks/{repository-rsbh8q26.js → location-services-542ghrza.js} +51 -51
- package/dist/chunks/{repository-a8ygtzbq.js → location-services-585kdyqn.js} +19 -19
- package/dist/chunks/{repository-02dev0ez.js → location-services-5a8my2dm.js} +15 -15
- package/dist/chunks/{repository-fmvngk0a.js → location-services-5adankya.js} +29 -29
- package/dist/chunks/{repository-1n274c67.js → location-services-5agpr7j3.js} +15 -15
- package/dist/chunks/{repository-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-5cy52y0z.js → location-services-615073jg.js} +6 -6
- package/dist/chunks/{repository-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{repository-x6rcf4cj.js → location-services-69j49pks.js} +16 -16
- package/dist/chunks/location-services-69vkpgwa.js +26 -0
- package/dist/chunks/{repository-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{repository-g8d3gcyj.js → location-services-6hh8tjw2.js} +7 -7
- package/dist/chunks/{repository-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-b5n11jz6.js → location-services-6vgebzwc.js} +24 -24
- package/dist/chunks/{repository-r2dfp6se.js → location-services-6xpnb31x.js} +37 -37
- package/dist/chunks/{repository-zc2xj3qj.js → location-services-70d2s7af.js} +1 -1
- package/dist/chunks/{repository-71q4at8m.js → location-services-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-ky16kd9n.js → location-services-76h67nm5.js} +12 -12
- package/dist/chunks/{repository-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cedwm630.js → location-services-7fyj755m.js} +40 -40
- package/dist/chunks/{repository-pecb0brz.js → location-services-7gvwkz6m.js} +5 -5
- package/dist/chunks/{repository-zdwyj9y5.js → location-services-7mrkexn2.js} +32 -32
- package/dist/chunks/{repository-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-pwf15mvc.js → location-services-8pysh2wa.js} +4 -4
- package/dist/chunks/{repository-y1b098n8.js → location-services-8qgkpww5.js} +9 -9
- package/dist/chunks/{repository-xqzn0vp7.js → location-services-8ztsynak.js} +9 -9
- package/dist/chunks/{repository-xp6wb0v9.js → location-services-948cxjmy.js} +23 -23
- package/dist/chunks/{repository-petjzngd.js → location-services-97gsetns.js} +14 -14
- package/dist/chunks/{repository-2fbr18f9.js → location-services-97x9kwse.js} +42 -42
- package/dist/chunks/{repository-c968x2fe.js → location-services-9bxfga2g.js} +11 -11
- package/dist/chunks/{repository-yjknk9j9.js → location-services-9q7w8qe9.js} +5 -5
- package/dist/chunks/{repository-pn143qvt.js → location-services-9yz08dhv.js} +19 -19
- package/dist/chunks/{repository-nxamnhdf.js → location-services-a2jtfxjw.js} +14 -14
- package/dist/chunks/{repository-47vy4edm.js → location-services-a5nry4jq.js} +5 -5
- package/dist/chunks/{repository-j8g7a3j8.js → location-services-a8kyr2x4.js} +8 -8
- package/dist/chunks/{repository-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-88zp0tbv.js → location-services-adadcvct.js} +10 -10
- package/dist/chunks/{repository-h71w788e.js → location-services-akybccbs.js} +9 -9
- package/dist/chunks/{repository-fmpkkhtn.js → location-services-awf1vrqt.js} +18 -18
- package/dist/chunks/{repository-3mdgf1e2.js → location-services-b1h6aq5y.js} +24 -24
- package/dist/chunks/{repository-213v9py0.js → location-services-b1yrrjjr.js} +6 -6
- package/dist/chunks/{repository-w0cvk6jr.js → location-services-b2r28sfe.js} +25 -25
- package/dist/chunks/{repository-j4z2qnee.js → location-services-b3frasm9.js} +7 -7
- package/dist/chunks/{repository-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-h0gkjmvb.js → location-services-bcb9n2af.js} +13 -13
- package/dist/chunks/{repository-drknmmyh.js → location-services-bna2jm49.js} +9 -9
- package/dist/chunks/{repository-10jtetaj.js → location-services-bscb95cy.js} +4 -4
- package/dist/chunks/{repository-evxnsm19.js → location-services-bx9k359n.js} +15 -15
- package/dist/chunks/{repository-ext3js1z.js → location-services-byj6491s.js} +20 -20
- package/dist/chunks/{repository-cabt264k.js → location-services-c04yyk0p.js} +14 -14
- package/dist/chunks/{repository-y5pstp70.js → location-services-c293rtmv.js} +6 -6
- package/dist/chunks/{repository-kkdm9ajw.js → location-services-ccxa221s.js} +5 -5
- package/dist/chunks/{repository-v3v5frkk.js → location-services-cfq2tqyc.js} +31 -31
- package/dist/chunks/{repository-eprkdeyt.js → location-services-cgryk3d0.js} +18 -18
- package/dist/chunks/{repository-jzksghxf.js → location-services-cj7k1vck.js} +30 -30
- package/dist/chunks/{repository-p6v0vyws.js → location-services-csqhwd0e.js} +23 -23
- package/dist/chunks/{repository-gtm8txn9.js → location-services-cv4zdsrn.js} +28 -28
- package/dist/chunks/{repository-bbarxbyb.js → location-services-cvtmmhw6.js} +1 -1
- package/dist/chunks/{repository-t59s3hhv.js → location-services-cydqfn8g.js} +36 -36
- package/dist/chunks/{repository-pzjh8mr9.js → location-services-d5t04rjd.js} +15 -15
- package/dist/chunks/{repository-jby58kjs.js → location-services-d9627bvv.js} +13 -13
- package/dist/chunks/{repository-qrj9d2ct.js → location-services-db0ywk9p.js} +22 -22
- package/dist/chunks/{repository-4e540xxx.js → location-services-dgmwn8ez.js} +8 -8
- package/dist/chunks/{repository-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
- package/dist/chunks/{repository-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{repository-9xb0s4b9.js → location-services-dpv3ckk4.js} +28 -28
- package/dist/chunks/{repository-he3792rk.js → location-services-drkq60sc.js} +32 -32
- package/dist/chunks/{repository-cmwkp3r5.js → location-services-dv1qgsyq.js} +8 -8
- package/dist/chunks/{repository-wxpch4dk.js → location-services-e1m73h80.js} +27 -27
- package/dist/chunks/{repository-csp720wb.js → location-services-e7vk223c.js} +22 -22
- package/dist/chunks/{repository-rhjbct0v.js → location-services-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-q8bcy8ws.js → location-services-endx0wqw.js} +2 -2
- package/dist/chunks/{repository-txzqvs6q.js → location-services-eqtkqxc7.js} +22 -22
- package/dist/chunks/{repository-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-ykpr0q7c.js → location-services-fe7neb4g.js} +55 -55
- package/dist/chunks/{repository-pvp1cs2e.js → location-services-fkbdwje6.js} +18 -18
- package/dist/chunks/{repository-ct93djtc.js → location-services-fmcxa852.js} +9 -9
- package/dist/chunks/{repository-sgk3431w.js → location-services-fme7gyv2.js} +27 -27
- package/dist/chunks/{repository-5b88mxz1.js → location-services-fv23cpfe.js} +7 -7
- package/dist/chunks/{repository-qfmvv2sm.js → location-services-fx8h9evn.js} +3 -3
- package/dist/chunks/{repository-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-r14cnnrw.js → location-services-garbmm90.js} +4 -4
- package/dist/chunks/{repository-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-yahs3f01.js → location-services-ghv2730f.js} +46 -46
- package/dist/chunks/{repository-sm236kpq.js → location-services-gsr2pv6w.js} +11 -11
- package/dist/chunks/{repository-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-w4wc2211.js → location-services-h0e829jw.js} +32 -32
- package/dist/chunks/{repository-za4pw5w1.js → location-services-h2r7bbkd.js} +8 -8
- package/dist/chunks/{repository-sksn9mf1.js → location-services-h43s0y1m.js} +9 -9
- package/dist/chunks/{repository-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-xhhmv89y.js → location-services-ha8q569c.js} +4 -4
- package/dist/chunks/{repository-ztky2hbm.js → location-services-hajzqnjk.js} +14 -14
- package/dist/chunks/{repository-f828m53h.js → location-services-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-mqsc2h20.js → location-services-hj95hp1y.js} +24 -24
- package/dist/chunks/{repository-hjt4xg1x.js → location-services-hjt4xg1x.js} +1 -1
- package/dist/chunks/{repository-2yv9jfkc.js → location-services-hkn3d3em.js} +10 -10
- package/dist/chunks/{repository-0zkv00cg.js → location-services-htcxsbd3.js} +31 -31
- package/dist/chunks/{repository-51cmmk6m.js → location-services-hyqjefsy.js} +85 -85
- package/dist/chunks/{repository-1gnhqkth.js → location-services-j26kwb45.js} +10 -10
- package/dist/chunks/{repository-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-w96k05dy.js → location-services-j7t2khjb.js} +11 -11
- package/dist/chunks/{repository-y6f0p4jw.js → location-services-j7wq2tw5.js} +3 -3
- package/dist/chunks/{repository-mgx963cj.js → location-services-jj63jgrn.js} +8 -8
- package/dist/chunks/{repository-mw6spqsr.js → location-services-js2cb58t.js} +15 -15
- package/dist/chunks/{repository-0r7yqxbf.js → location-services-jv01nqvq.js} +5 -5
- package/dist/chunks/{repository-g190xswt.js → location-services-jw80jp6b.js} +4 -4
- package/dist/chunks/{repository-hj2f0bzq.js → location-services-jwd472vv.js} +7 -7
- package/dist/chunks/{repository-ff9w6xrb.js → location-services-jxnawz51.js} +9 -9
- package/dist/chunks/{repository-g9cr3d5v.js → location-services-jxyew9fw.js} +4 -4
- package/dist/chunks/{repository-9rs4eqfv.js → location-services-jy6ssemz.js} +16 -16
- package/dist/chunks/{repository-59j62b79.js → location-services-k46ek28k.js} +11 -11
- package/dist/chunks/{repository-6wjjjhy6.js → location-services-k4e7wm7p.js} +17 -17
- package/dist/chunks/{repository-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-87v8z91d.js → location-services-kj36tdkt.js} +11 -11
- package/dist/chunks/{repository-fmykz272.js → location-services-kke3pb1j.js} +7 -7
- package/dist/chunks/{repository-jwjk52g2.js → location-services-kqd2wwpf.js} +4 -4
- package/dist/chunks/{repository-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-m2d0j7c0.js → location-services-m2d0j7c0.js} +2 -2
- package/dist/chunks/{repository-w4axh9wz.js → location-services-m91gvp7t.js} +6 -6
- package/dist/chunks/{repository-fcgysgr5.js → location-services-m9e6zxeh.js} +11 -11
- package/dist/chunks/{repository-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-b0sf2pns.js → location-services-mjbh00zx.js} +6 -6
- package/dist/chunks/{repository-eztf1wzg.js → location-services-mz6ae2yf.js} +1 -1
- package/dist/chunks/{repository-je6c5z5p.js → location-services-n5xg6qpj.js} +9 -9
- package/dist/chunks/{repository-0xfnng1h.js → location-services-n9qvx0dx.js} +16 -16
- package/dist/chunks/{repository-zr3d0gxg.js → location-services-nh7bjnck.js} +22 -22
- package/dist/chunks/{repository-my7gf51c.js → location-services-nqntf4eh.js} +68 -68
- package/dist/chunks/{repository-39fveamk.js → location-services-nsme3wtk.js} +27 -25
- package/dist/chunks/{repository-3tamc9js.js → location-services-nvksyjxq.js} +28 -28
- package/dist/chunks/{repository-sztg2hv4.js → location-services-nwd6ekzm.js} +35 -35
- package/dist/chunks/{repository-1bvekr7f.js → location-services-p0a23dx6.js} +6 -6
- package/dist/chunks/{repository-n4a6bgqk.js → location-services-p1qy1t52.js} +14 -14
- package/dist/chunks/{repository-a5h5qkjp.js → location-services-p3sqqmz6.js} +35 -35
- package/dist/chunks/{repository-msq0jde0.js → location-services-paegk39x.js} +4 -4
- package/dist/chunks/location-services-pd96nw7e.js +462 -0
- package/dist/chunks/{repository-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{repository-rgmexsye.js → location-services-pn0ragf5.js} +13 -13
- package/dist/chunks/{repository-h4e6z68e.js → location-services-pqxmvtn6.js} +15 -15
- package/dist/chunks/{repository-t2x602yk.js → location-services-pvdm847m.js} +18 -18
- package/dist/chunks/{repository-ppq9etn0.js → location-services-pz39f4ja.js} +34 -34
- package/dist/chunks/{repository-1j4qb6e1.js → location-services-q6fregp6.js} +8 -8
- package/dist/chunks/{repository-9yhr46n3.js → location-services-qr5f7037.js} +22 -22
- package/dist/chunks/{repository-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-3x8gcmrs.js → location-services-qwkytnft.js} +6 -6
- package/dist/chunks/{repository-27wgnz1z.js → location-services-r4p7g342.js} +11 -11
- package/dist/chunks/{repository-xjmr3883.js → location-services-r6qxwhmr.js} +6 -6
- package/dist/chunks/{repository-x384g1hs.js → location-services-r986sde3.js} +15 -15
- package/dist/chunks/{repository-r9mregkx.js → location-services-r9mregkx.js} +2 -2
- package/dist/chunks/{repository-r94mrtfv.js → location-services-r9x9035c.js} +18 -18
- package/dist/chunks/{repository-smnv2tch.js → location-services-req99jdj.js} +95 -46
- package/dist/chunks/{repository-mhbk2b8a.js → location-services-rh0bdmv0.js} +15 -15
- package/dist/chunks/{repository-shg3amz7.js → location-services-rkkpgdp7.js} +20 -20
- package/dist/chunks/{repository-ztwfyng4.js → location-services-rmmsmjb4.js} +4 -4
- package/dist/chunks/{repository-0wjw63yk.js → location-services-rq8nv58m.js} +26 -26
- package/dist/chunks/{repository-hqjg1cx1.js → location-services-rsym84ch.js} +9 -9
- package/dist/chunks/location-services-sakrjbba.js +247 -0
- package/dist/chunks/{repository-hrncarcf.js → location-services-sas8pg5s.js} +1 -1
- package/dist/chunks/{repository-tat7nwhe.js → location-services-sczemkxt.js} +10 -10
- package/dist/chunks/{repository-2m84dfka.js → location-services-sjzmzw6k.js} +22 -22
- package/dist/chunks/{repository-19c2b9rb.js → location-services-sng378jj.js} +11 -11
- package/dist/chunks/{repository-6tpt9h9q.js → location-services-ssjhvfxk.js} +62 -62
- package/dist/chunks/{repository-rg2zvvyz.js → location-services-sxat3wmc.js} +11 -11
- package/dist/chunks/{repository-t0x5rdq8.js → location-services-t0x5rdq8.js} +2 -2
- package/dist/chunks/{repository-h1rn3ct5.js → location-services-t1y5sq03.js} +83 -83
- package/dist/chunks/{repository-f78hydwg.js → location-services-t6wppts7.js} +6 -6
- package/dist/chunks/{repository-y973e7aq.js → location-services-t71tw57v.js} +13 -13
- package/dist/chunks/{repository-5n0sh9d6.js → location-services-t9wdc6hm.js} +7 -7
- package/dist/chunks/{repository-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-gxgjkd0x.js → location-services-tbbfetw3.js} +13 -13
- package/dist/chunks/{repository-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{repository-0k7wafs3.js → location-services-tf1j6dqp.js} +28 -28
- package/dist/chunks/{repository-8vg4n516.js → location-services-tnrzkm65.js} +20 -20
- package/dist/chunks/{repository-72ds7gf6.js → location-services-tqntqbg3.js} +30 -30
- package/dist/chunks/{repository-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-7zs56f9j.js → location-services-twbrtgyh.js} +6 -6
- package/dist/chunks/{repository-tx9qvpbt.js → location-services-tx9qvpbt.js} +2 -2
- package/dist/chunks/location-services-v1faaxn9.js +18 -0
- package/dist/chunks/{repository-1t2s0wry.js → location-services-v64gcnw2.js} +5 -5
- package/dist/chunks/{repository-8m31s27t.js → location-services-v9b1dqp1.js} +11 -11
- package/dist/chunks/{repository-c13f7gjw.js → location-services-vbjhd26x.js} +34 -34
- package/dist/chunks/{repository-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-z0xnky3q.js → location-services-vgm7d86c.js} +31 -31
- package/dist/chunks/{repository-20q8k894.js → location-services-vjngb1jq.js} +9 -9
- package/dist/chunks/{repository-j83byb14.js → location-services-vncycja5.js} +4 -4
- package/dist/chunks/{repository-ksjan0t5.js → location-services-vpbqjthg.js} +13 -13
- package/dist/chunks/{repository-penaav09.js → location-services-vv213pfm.js} +30 -30
- package/dist/chunks/{repository-me4pxbk2.js → location-services-vzaj5ab4.js} +32 -32
- package/dist/chunks/{repository-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-8db04et3.js → location-services-w365kw1b.js} +8 -8
- package/dist/chunks/{repository-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-p33ejz0k.js → location-services-w79zsp0s.js} +1 -1
- package/dist/chunks/{repository-a3n1dpj2.js → location-services-wajnf5bs.js} +9 -9
- package/dist/chunks/{repository-pjrv1sn1.js → location-services-wavq5vqb.js} +1 -1
- package/dist/chunks/{repository-2cgm8dc1.js → location-services-wcg6xr7g.js} +11 -11
- package/dist/chunks/{repository-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{repository-seps633m.js → location-services-wv08tht3.js} +28 -28
- package/dist/chunks/{repository-0k3t14ts.js → location-services-x0mzf5sc.js} +7 -7
- package/dist/chunks/{repository-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-d75w7jnc.js → location-services-x8f1tbsj.js} +18 -18
- package/dist/chunks/{repository-j5346eb1.js → location-services-x9k84rm6.js} +169 -169
- package/dist/chunks/{repository-g8mks886.js → location-services-xd2p8b6x.js} +11 -11
- package/dist/chunks/{repository-2v08kgv1.js → location-services-xfm7bwgx.js} +23 -23
- package/dist/chunks/{repository-b09hzw3k.js → location-services-xg9t41r3.js} +2 -2
- package/dist/chunks/{repository-g0dr00md.js → location-services-xvqk5qet.js} +29 -29
- package/dist/chunks/{repository-18e56dsp.js → location-services-xwwz9aqf.js} +4 -4
- package/dist/chunks/{repository-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-5y5h33xd.js → location-services-y5r1chhz.js} +5 -5
- package/dist/chunks/{repository-j38hs89b.js → location-services-y7wy22rx.js} +31 -25
- package/dist/chunks/{repository-tkvvdtgj.js → location-services-yd6mkx5z.js} +5 -5
- package/dist/chunks/{repository-aa4x36r7.js → location-services-yj94a1d5.js} +47 -47
- package/dist/chunks/{repository-386j3b86.js → location-services-yqzynv2p.js} +20 -20
- package/dist/chunks/{repository-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-qt3bdkqw.js → location-services-ywn91hmh.js} +22 -22
- package/dist/chunks/{repository-1jnd8eq9.js → location-services-yz6937d7.js} +16 -16
- package/dist/chunks/{repository-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-3ke3s58r.js → location-services-z4fsc67a.js} +15 -14
- package/dist/chunks/{repository-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-nrk5vjbf.js → location-services-zk8c4w5t.js} +5 -5
- package/dist/chunks/{repository-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-8gxqpgph.js → location-services-zvt5dnpc.js} +4 -4
- package/dist/chunks/{repository-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +79 -79
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +353 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +75 -75
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -8
- 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 +13 -0
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- 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 +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config.d.ts +5 -1
- package/dist/types/filesystem.d.ts +6 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
- package/dist/types/shell/select.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- 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 +5 -5
- package/dist/worktree/refresh.js +340 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/repository-jqh9b0xq.js +0 -18
- package/dist/chunks/repository-mppgq2kn.js +0 -462
- package/dist/chunks/repository-qapv375x.js +0 -4
- package/dist/chunks/repository-qec2v6cx.js +0 -247
- package/dist/chunks/repository-sj51pd9c.js +0 -22
- /package/dist/chunks/{repository-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-paphc93g.js → location-services-paphc93g.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-services-69j49pks.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-services-42etq36e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error4
|
|
9
|
+
} from "./location-services-nsme3wtk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./location-services-76h67nm5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-qwkytnft.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-03g9n59p.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-615073jg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make9
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make9 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service38;
|
|
58
|
+
const toolOutput = yield* Service57;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error4({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make9, exports_step };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin14,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin14 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin14, exports_exa };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-69j49pks.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-fe7neb4g.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event17,
|
|
21
|
+
ID: () => ID11,
|
|
22
|
+
Info: () => Info25,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service68,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node73,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event17 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info25 = Skill.Info;
|
|
43
|
+
var ID11 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID11.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID11.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID11.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID11.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service68.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node73 = makeLocationNode({
|
|
112
|
+
service: Service68,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info25, ID11, Name2, available2, toModelOutput3, prepare3, Service68, node73, exports_skill5, Event17 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./location-services-k4e7wm7p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./location-services-b1h6aq5y.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./location-services-hajzqnjk.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-y7wy22rx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service69
|
|
26
|
+
} from "./location-services-fe7neb4g.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./location-services-fkbdwje6.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
39
|
Output: () => Output6,
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
40
|
+
Plugin: () => Plugin10,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -66,7 +66,7 @@ var Input10 = Schema.Struct({
|
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
68
|
var Output6 = Schema.Array(Match2);
|
|
69
|
-
var
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin10 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service63;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service74;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
98
|
+
input: Input9,
|
|
99
99
|
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin27 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin27 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output6, toModelContent5, Plugin10, exports_grep };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./location-services-k4e7wm7p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./location-services-b1h6aq5y.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service20,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-bcb9n2af.js";
|
|
12
12
|
import {
|
|
13
13
|
Service14
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-2xh74eyw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./location-services-fe7neb4g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-fkbdwje6.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input8,
|
|
34
34
|
Output: () => Output5,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin9,
|
|
36
|
+
name: () => name8
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name8 = "edit";
|
|
43
|
+
var Input8 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin9 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
109
|
+
const access = yield* Service16;
|
|
110
|
+
const fileMutation = yield* Service20;
|
|
111
|
+
const environment = yield* Service63;
|
|
112
112
|
const formatter = yield* Service14;
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
|
+
const permission = yield* Service69;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name8,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
119
|
+
input: Input8,
|
|
120
120
|
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
@@ -194,4 +194,4 @@ var Plugin26 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name8, Input8, Output5, Plugin9, exports_edit };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-services-k4e7wm7p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./location-services-fkbdwje6.js";
|
|
10
10
|
import {
|
|
11
11
|
Service9
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-d5t04rjd.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./location-services-r986sde3.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin7,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name6,
|
|
39
39
|
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin7 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service16;
|
|
63
63
|
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin7, toModelContent3, exports_read };
|