@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,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-922hggd3.js";
|
|
5
|
+
import {
|
|
6
|
+
Info17
|
|
7
|
+
} from "./location-services-jw80jp6b.js";
|
|
5
8
|
import {
|
|
6
9
|
Info16
|
|
7
|
-
} from "./
|
|
10
|
+
} from "./location-services-h2r7bbkd.js";
|
|
11
|
+
import {
|
|
12
|
+
Info15
|
|
13
|
+
} from "./location-services-3w0fmcng.js";
|
|
8
14
|
import {
|
|
9
15
|
Info13
|
|
10
|
-
} from "./
|
|
16
|
+
} from "./location-services-6hh8tjw2.js";
|
|
11
17
|
import {
|
|
12
18
|
Info11
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Info15
|
|
16
|
-
} from "./repository-g8d3gcyj.js";
|
|
17
|
-
import {
|
|
18
|
-
Info9
|
|
19
|
-
} from "./repository-10jtetaj.js";
|
|
19
|
+
} from "./location-services-bscb95cy.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info12
|
|
25
|
+
} from "./location-services-1s3p39g4.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info19
|
|
28
|
+
} from "./location-services-7gvwkz6m.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info18
|
|
34
|
+
} from "./location-services-jv01nqvq.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-services-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info14
|
|
40
|
+
} from "./location-services-vncycja5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info8 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info13)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info14).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info8 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info16), plan: Schema.optional(Info16) }), [Schema.Record(Schema.String, Info16)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info16),
|
|
119
|
+
build: Schema.optional(Info16),
|
|
120
|
+
general: Schema.optional(Info16),
|
|
121
|
+
explore: Schema.optional(Info16),
|
|
122
|
+
title: Schema.optional(Info16),
|
|
123
|
+
summary: Schema.optional(Info16),
|
|
124
|
+
compaction: Schema.optional(Info16)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info16)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info18)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info19, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info11).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info12).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info17),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info15).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info8 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./location-services-fe7neb4g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service68
|
|
10
|
+
} from "./location-services-dpv3ckk4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin11,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin11 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service68;
|
|
51
|
+
const permission = yield* Service69;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin23 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description4, toModelOutput2, Plugin11, exports_skill };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./location-services-33n3bzdy.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./location-services-69j49pks.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./location-services-vpbqjthg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_wellknown, {
|
|
|
19
19
|
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node62,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service58 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
51
|
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service62;
|
|
81
|
+
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service58.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service58, layer, deps: [httpClient, node66, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service58, Event11, inspect2, resolve2, node62, exports_wellknown };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useragent2
|
|
3
|
+
} from "./location-services-b3frasm9.js";
|
|
4
|
+
import {
|
|
5
|
+
call2
|
|
6
|
+
} from "./location-services-33w4ejhs.js";
|
|
7
|
+
import {
|
|
8
|
+
__export
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
|
+
|
|
11
|
+
// src/plugin/websearch/tinyfish.ts
|
|
12
|
+
var exports_tinyfish = {};
|
|
13
|
+
__export(exports_tinyfish, {
|
|
14
|
+
Plugin: () => Plugin16,
|
|
15
|
+
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
|
+
});
|
|
18
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
|
+
import { Effect, Option, Schema } from "effect";
|
|
20
|
+
import { HttpClient } from "effect/unstable/http";
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
|
+
var McpInput = Schema.Struct({
|
|
23
|
+
query: Schema.String
|
|
24
|
+
});
|
|
25
|
+
var McpOutput = Schema.Struct({
|
|
26
|
+
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String }))
|
|
27
|
+
});
|
|
28
|
+
var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
29
|
+
results: Schema.Array(Schema.Struct({
|
|
30
|
+
url: Schema.String,
|
|
31
|
+
title: Schema.String,
|
|
32
|
+
snippet: Schema.String
|
|
33
|
+
}))
|
|
34
|
+
}));
|
|
35
|
+
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
+
var Plugin16 = define({
|
|
37
|
+
id: "opencode.websearch.tinyfish",
|
|
38
|
+
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
|
+
const http = yield* HttpClient.HttpClient;
|
|
40
|
+
yield* ctx.integration.transform((editor) => {
|
|
41
|
+
editor.update("tinyfish", (integration) => integration.name = "TinyFish");
|
|
42
|
+
editor.method.update({
|
|
43
|
+
integrationID: "tinyfish",
|
|
44
|
+
method: { type: "key" }
|
|
45
|
+
});
|
|
46
|
+
editor.method.update({
|
|
47
|
+
integrationID: "tinyfish",
|
|
48
|
+
method: { type: "env", names: ["TINYFISH_API_KEY"] }
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
yield* ctx.websearch.transform((editor) => {
|
|
52
|
+
editor.add({
|
|
53
|
+
id: "tinyfish",
|
|
54
|
+
name: "TinyFish",
|
|
55
|
+
execute: (input) => Effect.gen(function* () {
|
|
56
|
+
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
|
+
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
|
+
"User-Agent": useragent2(ctx.app),
|
|
60
|
+
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
|
+
});
|
|
62
|
+
const content = result?.content.find((item) => item.text);
|
|
63
|
+
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
64
|
+
return response?.results.map((item) => ({
|
|
65
|
+
url: item.url,
|
|
66
|
+
title: item.title,
|
|
67
|
+
...item.snippet ? { content: item.snippet } : {},
|
|
68
|
+
time: {}
|
|
69
|
+
})) ?? [];
|
|
70
|
+
})
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export { endpoint4, Plugin16, exports_tinyfish };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-69j49pks.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service67,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service67 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer24 = Layer.effect(Service67, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service79;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID10.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service67.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node72 = makeLocationNode({ service: Service67, layer: layer24, deps: [node84] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID10, Info24, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service67, layer24, node72, validateAnswer2, validateFields2, exports_form, Event16 };
|