@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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin14
|
|
3
|
+
} from "./location-services-dgmwn8ez.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin18
|
|
6
|
+
} from "./location-services-8qgkpww5.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin17
|
|
9
|
+
} from "./location-services-jxnawz51.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin15
|
|
12
|
+
} from "./location-services-y5r1chhz.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin16
|
|
15
|
+
} from "./location-services-2est6f04.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin14,
|
|
20
|
+
Plugin18,
|
|
21
|
+
Plugin17,
|
|
22
|
+
Plugin15,
|
|
23
|
+
Plugin16
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command5 };
|
|
@@ -1,45 +1,45 @@
|
|
|
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
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID14,
|
|
19
|
+
Info: () => Info28,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node77
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID14 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID14.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info28 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info28.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID14.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service72.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID14.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID14.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID14, Name3, defaultID2, Color2, Info28, Service72, node77, exports_agent4, Event19 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-69j49pks.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-services-k4e7wm7p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./location-services-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service78,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-services-z4fsc67a.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service79;
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service78;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node18 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node79, node83]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service57,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node61
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service57 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service57.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node61 = makeLocationNode({
|
|
143
|
+
service: Service57,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service57, node61, exports_tool_output2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-services-j26kwb45.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID17
|
|
10
|
+
} from "./location-services-rsym84ch.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-gebd4c9n.js";
|
|
14
|
+
import {
|
|
15
|
+
Service80,
|
|
16
|
+
node85
|
|
17
|
+
} from "./location-services-v9b1dqp1.js";
|
|
14
18
|
import {
|
|
15
19
|
Service79,
|
|
16
20
|
node84
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service78,
|
|
20
|
-
node83
|
|
21
|
-
} from "./repository-x6rcf4cj.js";
|
|
21
|
+
} from "./location-services-69j49pks.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./location-services-k4e7wm7p.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-1emffesh.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-services-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-services-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service22,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node26
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service22 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service22.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node26 = makeLocationNode({
|
|
273
|
+
service: Service22,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node84, node85, AppProcess.node, node79, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service22, node26, exports_worktree2, OperationError2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
|