@opencode/core 0.0.0-dev-21756 → 0.0.0-dev-21763
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/agent.js +62 -62
- package/dist/aisdk-native.js +63 -62
- package/dist/aisdk.js +69 -68
- package/dist/app.js +9 -9
- package/dist/bus.js +50 -50
- package/dist/chunks/{websearch-cv8jg5mf.js → websearch-028jhwed.js} +10 -10
- package/dist/chunks/{websearch-eraf7cqm.js → websearch-02bgezqx.js} +30 -30
- package/dist/chunks/{websearch-99v8e8rn.js → websearch-06vk0kzn.js} +4 -4
- package/dist/chunks/{websearch-pyg2ad4d.js → websearch-07kams43.js} +46 -46
- package/dist/chunks/{websearch-mvx17366.js → websearch-0ear39jp.js} +8 -8
- package/dist/chunks/{websearch-shvrd9z9.js → websearch-0sc0whcy.js} +28 -28
- package/dist/chunks/{websearch-601m2pka.js → websearch-0yhm11wk.js} +18 -18
- package/dist/chunks/{websearch-tez9md4y.js → websearch-16hqm74r.js} +2 -2
- package/dist/chunks/{websearch-cz1vwcws.js → websearch-1cjk9esd.js} +1 -1
- package/dist/chunks/{websearch-tgsxr5er.js → websearch-1jq5v97j.js} +19 -19
- package/dist/chunks/{websearch-77mes9hg.js → websearch-1qn5xget.js} +13 -13
- package/dist/chunks/{websearch-67gksmdf.js → websearch-1rbznk76.js} +29 -29
- package/dist/chunks/{websearch-p7vhpwh8.js → websearch-1yq9hg58.js} +4 -4
- package/dist/chunks/{websearch-ejgxm2nm.js → websearch-2a2xbt2q.js} +17 -17
- package/dist/chunks/{websearch-nq3mvejp.js → websearch-2e9c1ftj.js} +8 -8
- package/dist/chunks/{websearch-dhww0s6x.js → websearch-2fx6sc8m.js} +1 -1
- package/dist/chunks/{websearch-35myeakn.js → websearch-2kpf2tnx.js} +9 -9
- package/dist/chunks/{websearch-9hj5qrya.js → websearch-2sadzmpt.js} +19 -19
- package/dist/chunks/{websearch-ygqqsqxe.js → websearch-30asdcnx.js} +2 -2
- package/dist/chunks/{websearch-0hxcp4e6.js → websearch-32tek056.js} +3 -3
- package/dist/chunks/{websearch-pd0633z0.js → websearch-3tt1qka2.js} +22 -22
- package/dist/chunks/{websearch-4r4bnvcy.js → websearch-3ypzwevx.js} +2 -2
- package/dist/chunks/{websearch-mfwfc967.js → websearch-45k1q4jf.js} +5 -5
- package/dist/chunks/{websearch-pv4tdx85.js → websearch-48khph17.js} +8 -8
- package/dist/chunks/{websearch-hzrfc1p4.js → websearch-48kw51zw.js} +3 -3
- package/dist/chunks/{websearch-zpe8k49a.js → websearch-48yja14g.js} +11 -11
- package/dist/chunks/{websearch-4c9adx7x.js → websearch-4kaztr7e.js} +9 -9
- package/dist/chunks/{websearch-2bcte980.js → websearch-4p7eafa8.js} +5 -5
- package/dist/chunks/{websearch-4a126rg5.js → websearch-4sjm1mdd.js} +27 -27
- package/dist/chunks/{websearch-q5ksxkha.js → websearch-4x5ne6q5.js} +4 -4
- package/dist/chunks/{websearch-rxrz6b15.js → websearch-4ytg8f8f.js} +1 -1
- package/dist/chunks/{websearch-vnmgdpj6.js → websearch-50bs153s.js} +4 -4
- package/dist/chunks/{websearch-mmqtdvrn.js → websearch-50ya5pgh.js} +4 -4
- package/dist/chunks/{websearch-aamv54pf.js → websearch-52760bbp.js} +30 -30
- package/dist/chunks/{websearch-t2c8c6tj.js → websearch-538n6qw9.js} +21 -21
- package/dist/chunks/{websearch-c6r66q4n.js → websearch-57p715bj.js} +4 -4
- package/dist/chunks/{websearch-befe4cf3.js → websearch-5bfg49e7.js} +1 -1
- package/dist/chunks/{websearch-da9th9a0.js → websearch-5f5f6dw4.js} +14 -14
- package/dist/chunks/{websearch-m8gc8z80.js → websearch-5gwd981r.js} +18 -18
- package/dist/chunks/{websearch-v2aqy3r9.js → websearch-5kxxqds9.js} +9 -9
- package/dist/chunks/{websearch-3qn9w17a.js → websearch-5mb8ret5.js} +6 -6
- package/dist/chunks/{websearch-4jv1qxwj.js → websearch-5nqw6vw5.js} +5 -5
- package/dist/chunks/{websearch-vq142dc8.js → websearch-5v4yb9wj.js} +6 -6
- package/dist/chunks/{websearch-y4kbxhdq.js → websearch-5xfk6dbg.js} +1 -1
- package/dist/chunks/{websearch-g4fsskpn.js → websearch-610jhrvc.js} +22 -22
- package/dist/chunks/{websearch-e1g8z5n0.js → websearch-627jp256.js} +8 -8
- package/dist/chunks/{websearch-d1dxzg06.js → websearch-6a99w62x.js} +1 -1
- package/dist/chunks/{websearch-xrc3640n.js → websearch-6ejgy672.js} +7 -7
- package/dist/chunks/{websearch-c3b0e464.js → websearch-6revxm77.js} +17 -17
- package/dist/chunks/{websearch-qtmq7hg9.js → websearch-6tbrfh06.js} +29 -29
- package/dist/chunks/{websearch-afmnpta1.js → websearch-6y263vp8.js} +3 -3
- package/dist/chunks/{websearch-wfewkgqg.js → websearch-709aftea.js} +33 -33
- package/dist/chunks/{websearch-qfw0te7b.js → websearch-72gkwb92.js} +15 -15
- package/dist/chunks/{websearch-w8qtt4th.js → websearch-76cb1hcw.js} +3 -3
- package/dist/chunks/{websearch-xfbpcgb3.js → websearch-76t1xp06.js} +21 -21
- package/dist/chunks/{websearch-qhsybjre.js → websearch-783zccns.js} +10 -10
- package/dist/chunks/{websearch-gjw9pjem.js → websearch-78je3d3v.js} +11 -11
- package/dist/chunks/{websearch-fmnjzv27.js → websearch-79ykxmfx.js} +5 -5
- package/dist/chunks/{websearch-n7wnam13.js → websearch-7akzmw6y.js} +7 -7
- package/dist/chunks/{websearch-dkcjkp08.js → websearch-7deqkbqn.js} +6 -6
- package/dist/chunks/{websearch-2f6dwfym.js → websearch-8371ggt2.js} +19 -19
- package/dist/chunks/{websearch-pk0v2zct.js → websearch-87fjpdw3.js} +17 -17
- package/dist/chunks/{websearch-zzhs96fs.js → websearch-87s7n4ge.js} +10 -10
- package/dist/chunks/{websearch-j82mhg5v.js → websearch-888hgb07.js} +8 -8
- package/dist/chunks/{websearch-xazjtzbh.js → websearch-8dbt3gp8.js} +13 -13
- package/dist/chunks/{websearch-876de6v3.js → websearch-98t00bmz.js} +27 -27
- package/dist/chunks/{websearch-fvc4bqe2.js → websearch-9b28cy4d.js} +3 -3
- package/dist/chunks/{websearch-b87x680z.js → websearch-9cvvmdrm.js} +14 -14
- package/dist/chunks/{websearch-b65mwzbx.js → websearch-9d47xe23.js} +21 -21
- package/dist/chunks/{websearch-1v0n44x7.js → websearch-9fm2qjhc.js} +15 -15
- package/dist/chunks/{websearch-mjxc5aj5.js → websearch-9sh8p6nx.js} +46 -46
- package/dist/chunks/{websearch-6zrr0fnw.js → websearch-9v9xq6k7.js} +23 -23
- package/dist/chunks/{websearch-7vftsjfj.js → websearch-a42dnrht.js} +21 -21
- package/dist/chunks/{websearch-syvntbhr.js → websearch-a4fjeg88.js} +19 -19
- package/dist/chunks/{websearch-shnwrs1k.js → websearch-abdhesrb.js} +28 -28
- package/dist/chunks/{websearch-mptby4ra.js → websearch-af6r45an.js} +44 -44
- package/dist/chunks/{websearch-tnqzh63d.js → websearch-agqd6nxz.js} +16 -6
- package/dist/chunks/{websearch-y605yc6m.js → websearch-akv6whtz.js} +21 -21
- package/dist/chunks/{websearch-bjhzkqyk.js → websearch-ar2j3j0f.js} +3 -3
- package/dist/chunks/{websearch-53xcczwb.js → websearch-aw3srb6e.js} +9 -9
- package/dist/chunks/{websearch-74m3x80w.js → websearch-b2fr11m5.js} +6 -6
- package/dist/chunks/{websearch-pvn3retk.js → websearch-b4e1jcxa.js} +14 -14
- package/dist/chunks/{websearch-8rf240hq.js → websearch-b4nx6saa.js} +7 -7
- package/dist/chunks/{websearch-4snbakks.js → websearch-b7mcgwp3.js} +3 -3
- package/dist/chunks/{websearch-e14ep8c2.js → websearch-ba38v71t.js} +4 -4
- package/dist/chunks/{websearch-fq91yvwf.js → websearch-bcvfpan3.js} +16 -16
- package/dist/chunks/{websearch-35sav4w0.js → websearch-bd5kqybq.js} +8 -8
- package/dist/chunks/{websearch-6twykydk.js → websearch-bgm817xr.js} +7 -7
- package/dist/chunks/{websearch-neyf1ckr.js → websearch-bnarb0wx.js} +9 -9
- package/dist/chunks/{websearch-8emm9fy9.js → websearch-c1khejyh.js} +4 -4
- package/dist/chunks/{websearch-e4k6zsy1.js → websearch-ca6atg52.js} +53 -46
- package/dist/chunks/{websearch-ve5gzmd5.js → websearch-csqtxx7c.js} +4 -4
- package/dist/chunks/{websearch-ddj2qmc2.js → websearch-cvna5pvx.js} +3 -3
- package/dist/chunks/{websearch-3rgj9tjs.js → websearch-d0qd2q9y.js} +27 -27
- package/dist/chunks/{websearch-4x7cszc9.js → websearch-d1g76nqk.js} +17 -17
- package/dist/chunks/{websearch-61m88qqz.js → websearch-d2nhvyww.js} +23 -23
- package/dist/chunks/{websearch-adcxthm4.js → websearch-d86zx6ex.js} +25 -25
- package/dist/chunks/{websearch-53b428tw.js → websearch-dcw70mgd.js} +9 -9
- package/dist/chunks/{websearch-pc1v25hk.js → websearch-dh62xe4r.js} +2 -2
- package/dist/chunks/{websearch-dmk8nbcm.js → websearch-dncnpr57.js} +10 -10
- package/dist/chunks/{websearch-60ndzxv8.js → websearch-drcvb97p.js} +35 -35
- package/dist/chunks/{websearch-r5q4n18f.js → websearch-e43td24s.js} +7 -7
- package/dist/chunks/{websearch-vy9rjjkt.js → websearch-ebh17g7q.js} +15 -15
- package/dist/chunks/{websearch-6bqp8z2s.js → websearch-ecj92f6p.js} +19 -19
- package/dist/chunks/{websearch-xqqxjzgs.js → websearch-em430e81.js} +11 -11
- package/dist/chunks/{websearch-vz1a888q.js → websearch-ew9j7vn7.js} +180 -180
- package/dist/chunks/{websearch-sepw9312.js → websearch-exzfyd93.js} +5 -5
- package/dist/chunks/{websearch-qvswfh9d.js → websearch-ey051h0d.js} +23 -23
- package/dist/chunks/{websearch-sc8entjg.js → websearch-ez0ps4vh.js} +1 -1
- package/dist/chunks/{websearch-czcebxpq.js → websearch-f89qnyv0.js} +61 -61
- package/dist/chunks/{websearch-fv6att8a.js → websearch-fgr117q8.js} +12 -12
- package/dist/chunks/{websearch-gnk1ngs3.js → websearch-ft9kpk2e.js} +13 -13
- package/dist/chunks/{websearch-b6ft8j34.js → websearch-fy4awrc2.js} +6 -6
- package/dist/chunks/{websearch-6dbnd2pd.js → websearch-fyr07a1r.js} +20 -20
- package/dist/chunks/{websearch-5pr32gd7.js → websearch-g0cks53z.js} +44 -44
- package/dist/chunks/{websearch-ezdmt8g7.js → websearch-gcrsyfkm.js} +4 -4
- package/dist/chunks/{websearch-68k8pcn2.js → websearch-gg4606bf.js} +14 -14
- package/dist/chunks/{websearch-z7w4m9jf.js → websearch-gg9100yt.js} +46 -46
- package/dist/chunks/{websearch-mzw1ndaz.js → websearch-gk3b5har.js} +82 -82
- package/dist/chunks/{websearch-g6wnqzhb.js → websearch-gk8rb9qf.js} +9 -9
- package/dist/chunks/{websearch-kbjsyctr.js → websearch-gxjy29d9.js} +27 -27
- package/dist/chunks/{websearch-fz7prppb.js → websearch-h069xeqn.js} +13 -13
- package/dist/chunks/{websearch-nqaab5fx.js → websearch-h7ymgnqs.js} +4 -4
- package/dist/chunks/{websearch-hwyh2kpq.js → websearch-hdcc19jf.js} +9 -9
- package/dist/chunks/{websearch-2fkrhbg9.js → websearch-hf84ee0d.js} +22 -22
- package/dist/chunks/{websearch-n7hthk3p.js → websearch-hfcmmhta.js} +24 -24
- package/dist/chunks/{websearch-wkpxpnd1.js → websearch-htnwkh5a.js} +30 -30
- package/dist/chunks/{websearch-gyz3azbf.js → websearch-hyv9r77w.js} +13 -13
- package/dist/chunks/{websearch-ceeb7cqk.js → websearch-jgp1rfxc.js} +9 -9
- package/dist/chunks/{websearch-eb0nfaz4.js → websearch-jkxkafzy.js} +9 -9
- package/dist/chunks/{websearch-8t9b736e.js → websearch-k4g9p6fx.js} +16 -16
- package/dist/chunks/{websearch-bc0ymgk0.js → websearch-k61qs451.js} +41 -41
- package/dist/chunks/{websearch-q3bgpfy7.js → websearch-k8yzaem4.js} +1 -1
- package/dist/chunks/websearch-ka8y8jkb.js +111 -0
- package/dist/chunks/{websearch-vnntc3sm.js → websearch-kdw5wkbd.js} +29 -29
- package/dist/chunks/{websearch-sy9xwmw1.js → websearch-kfknhheq.js} +6 -6
- package/dist/chunks/{websearch-5fjdabgp.js → websearch-kp4881bv.js} +14 -14
- package/dist/chunks/{websearch-eqmd2tfz.js → websearch-m37sd98t.js} +6 -6
- package/dist/chunks/{websearch-3aw6bcdd.js → websearch-m5hjs3vf.js} +17 -17
- package/dist/chunks/{websearch-d0ctn9ee.js → websearch-mbk0t8q9.js} +16 -16
- package/dist/chunks/websearch-meywf6fv.js +257 -0
- package/dist/chunks/{websearch-3bp5jjvw.js → websearch-mqrfkf7g.js} +7 -7
- package/dist/chunks/{websearch-rv7ddw0n.js → websearch-mxpbzbap.js} +22 -22
- package/dist/chunks/{websearch-q3vt6pnc.js → websearch-n1jvtmv7.js} +22 -22
- package/dist/chunks/{websearch-zkgq49d1.js → websearch-n1pz9w08.js} +1 -1
- package/dist/chunks/{websearch-770pw0s1.js → websearch-nah043kf.js} +3 -3
- package/dist/chunks/{websearch-rjbe0a9e.js → websearch-nah9ekst.js} +10 -10
- package/dist/chunks/{websearch-pbjsg7m1.js → websearch-nfdkbbm6.js} +19 -19
- package/dist/chunks/{websearch-rwf9r3m0.js → websearch-nfx6rd1e.js} +30 -30
- package/dist/chunks/{websearch-y22e2amb.js → websearch-nkxanhw7.js} +13 -13
- package/dist/chunks/{websearch-zxxqm14y.js → websearch-nnfcn29r.js} +13 -13
- package/dist/chunks/{websearch-a6959n1g.js → websearch-nt00n9sh.js} +8 -8
- package/dist/chunks/{websearch-zsgey489.js → websearch-nzh3qh6x.js} +5 -5
- package/dist/chunks/{websearch-q6bn7qw5.js → websearch-p580ev26.js} +5 -5
- package/dist/chunks/{websearch-ztf6n3de.js → websearch-p76me67c.js} +3 -3
- package/dist/chunks/{websearch-hch4wa3n.js → websearch-p8rxrw5c.js} +7 -5
- package/dist/chunks/{websearch-kp0e8qdv.js → websearch-p9r4530m.js} +21 -21
- package/dist/chunks/{websearch-85sv36r4.js → websearch-ptavmxt8.js} +35 -35
- package/dist/chunks/{websearch-d7qtxm9r.js → websearch-pww3ccs0.js} +18 -18
- package/dist/chunks/{websearch-kndc5src.js → websearch-q3k4em5e.js} +3 -3
- package/dist/chunks/{websearch-0421tmwc.js → websearch-q46y00v4.js} +7 -7
- package/dist/chunks/{websearch-qyrktak0.js → websearch-q9w4eaj5.js} +28 -28
- package/dist/chunks/{websearch-t0h12fke.js → websearch-q9wrv6hp.js} +9 -9
- package/dist/chunks/{websearch-6rg7kjpy.js → websearch-qjj7qevc.js} +23 -23
- package/dist/chunks/{websearch-584q6htd.js → websearch-qtw36mps.js} +2 -2
- package/dist/chunks/{websearch-c9erfsw0.js → websearch-qvn0et0v.js} +41 -41
- package/dist/chunks/{websearch-3g41ey7s.js → websearch-rdx9gx2w.js} +9 -9
- package/dist/chunks/{websearch-090ayew8.js → websearch-rg36x40h.js} +12 -12
- package/dist/chunks/{websearch-b5yc11pg.js → websearch-rv8hmem0.js} +11 -11
- package/dist/chunks/{websearch-vs6d5gmb.js → websearch-rw6n77w3.js} +4 -4
- package/dist/chunks/{websearch-0ty15b8r.js → websearch-rwvztcr2.js} +11 -11
- package/dist/chunks/{websearch-0kajrgn5.js → websearch-ry63fkbp.js} +7 -7
- package/dist/chunks/{websearch-negnaxrt.js → websearch-s3jtn4b4.js} +15 -15
- package/dist/chunks/{websearch-0r7sceh0.js → websearch-s5zfzkdr.js} +13 -13
- package/dist/chunks/{websearch-vbymnfc5.js → websearch-sa1k6cm5.js} +12 -12
- package/dist/chunks/websearch-sa3fpqfw.js +46 -0
- package/dist/chunks/{websearch-bne87zw5.js → websearch-sb275byf.js} +23 -23
- package/dist/chunks/{websearch-54mwpwnj.js → websearch-seqv54nm.js} +3 -3
- package/dist/chunks/{websearch-nzcs0wzz.js → websearch-sgrv6mzf.js} +10 -10
- package/dist/chunks/{websearch-etj7xr5r.js → websearch-skj4q71p.js} +22 -22
- package/dist/chunks/{websearch-bxfrdttp.js → websearch-srcpqtfh.js} +27 -27
- package/dist/chunks/{websearch-d2887f8n.js → websearch-ssfehs1z.js} +3 -3
- package/dist/chunks/{websearch-tn5rj4h4.js → websearch-stgkv189.js} +17 -17
- package/dist/chunks/{websearch-efz7hhzt.js → websearch-sxbxv19s.js} +5 -5
- package/dist/chunks/{websearch-an558sqv.js → websearch-t211gxpv.js} +3 -3
- package/dist/chunks/{websearch-mt3ysty9.js → websearch-tasvem1v.js} +3 -3
- package/dist/chunks/{websearch-gecnmrws.js → websearch-teq1sh86.js} +8 -8
- package/dist/chunks/{websearch-sf4dycwn.js → websearch-tgycm7xg.js} +8 -8
- package/dist/chunks/{websearch-1yf62w26.js → websearch-tkjf59m0.js} +1 -1
- package/dist/chunks/{websearch-1v3m6w2k.js → websearch-twhcdnyf.js} +325 -325
- package/dist/chunks/{websearch-9yt3qsdq.js → websearch-v50mas5h.js} +26 -26
- package/dist/chunks/{websearch-vgr3c4a7.js → websearch-v6e01gce.js} +1 -1
- package/dist/chunks/{websearch-b868c8d8.js → websearch-vq4ea6e1.js} +28 -28
- package/dist/chunks/{websearch-26ye1a0h.js → websearch-vs81z90t.js} +41 -41
- package/dist/chunks/{websearch-6jm1rnt9.js → websearch-vweg9rhc.js} +79 -79
- package/dist/chunks/{websearch-0jst9dmz.js → websearch-vy8mxgjx.js} +23 -23
- package/dist/chunks/{websearch-39kss88q.js → websearch-vzmjdaw1.js} +7 -7
- package/dist/chunks/{websearch-2axrbrmc.js → websearch-vzvckjxq.js} +6 -6
- package/dist/chunks/{websearch-nbv85aqk.js → websearch-w1zzsny8.js} +13 -13
- package/dist/chunks/{websearch-bn7kdvhq.js → websearch-w610p6d9.js} +9 -9
- package/dist/chunks/{websearch-fznmdakp.js → websearch-w687dnns.js} +3 -3
- package/dist/chunks/{websearch-ezejdjmf.js → websearch-wdv0vama.js} +8 -8
- package/dist/chunks/{websearch-kb4gstwj.js → websearch-wg3wqxny.js} +3 -3
- package/dist/chunks/{websearch-rsdttbp5.js → websearch-wz7v9a4w.js} +17 -17
- package/dist/chunks/{websearch-ga92ybw9.js → websearch-x01kwc3d.js} +10 -10
- package/dist/chunks/{websearch-ahjrynj8.js → websearch-x32t5rjd.js} +13 -13
- package/dist/chunks/{websearch-dswfp19d.js → websearch-x7e5kpxn.js} +1 -1
- package/dist/chunks/{websearch-w9gfj7y9.js → websearch-xe844d6a.js} +18 -18
- package/dist/chunks/{websearch-tdpgt7wh.js → websearch-xfs8aec3.js} +23 -23
- package/dist/chunks/{websearch-4hjg18t3.js → websearch-xnh3x4zb.js} +1 -1
- package/dist/chunks/{websearch-4p8v6gf7.js → websearch-y24s7hc7.js} +2 -2
- package/dist/chunks/{websearch-jneg3k74.js → websearch-y2tacs4v.js} +7 -7
- package/dist/chunks/{websearch-yydqqga9.js → websearch-y4n6pw34.js} +3 -3
- package/dist/chunks/{websearch-7jz0dh2k.js → websearch-ycg9ewh9.js} +17 -17
- package/dist/chunks/{websearch-zzfxyc91.js → websearch-yfja0yt8.js} +24 -24
- package/dist/chunks/{websearch-hswty8r3.js → websearch-ys1mpr1q.js} +19 -19
- package/dist/chunks/{websearch-3z074cxn.js → websearch-ys71vevy.js} +4 -4
- package/dist/chunks/{websearch-yg7ytxzr.js → websearch-z5wdff31.js} +9 -9
- package/dist/chunks/{websearch-yhta6zhb.js → websearch-zn3s3q02.js} +14 -14
- package/dist/chunks/{websearch-5mmnsyp9.js → websearch-zrc037h4.js} +9 -9
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +64 -64
- package/dist/config/discovery.js +60 -59
- package/dist/config/normalize.js +70 -69
- package/dist/config/plugin/agent.js +81 -81
- package/dist/config/plugin/command.js +166 -166
- package/dist/config/plugin/compaction.js +115 -115
- package/dist/config/plugin/compatibility.js +97 -97
- package/dist/config/plugin/formatter.js +82 -82
- package/dist/config/plugin/image.js +81 -81
- package/dist/config/plugin/instruction.js +82 -82
- package/dist/config/plugin/location-watcher.js +81 -81
- package/dist/config/plugin/mcp.js +87 -87
- package/dist/config/plugin/policy.js +82 -82
- package/dist/config/plugin/provider.js +81 -81
- package/dist/config/plugin/reference.js +82 -82
- package/dist/config/plugin/shell.js +83 -83
- package/dist/config/plugin/skill-file.js +72 -71
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +100 -100
- package/dist/config/plugin/snapshot.js +81 -81
- package/dist/config/plugin/source.js +84 -84
- package/dist/config/plugin/tool-output.js +82 -82
- package/dist/config/plugin/websearch.js +82 -82
- package/dist/config/plugin/worktree.js +83 -83
- package/dist/config.js +87 -87
- package/dist/credential.js +63 -63
- package/dist/database/database.js +49 -49
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +14 -13
- package/dist/effect/app-node-builder.js +232 -232
- package/dist/environment/environment.js +65 -64
- package/dist/environment/index.js +67 -66
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +75 -74
- package/dist/file-mutation.js +66 -65
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +180 -180
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +70 -69
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +75 -74
- package/dist/form.js +65 -65
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +63 -62
- package/dist/generate.js +79 -78
- package/dist/git.js +4 -3
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +73 -72
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +302 -302
- package/dist/instruction-discovery.js +65 -65
- package/dist/instructions/builtins.js +63 -62
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +65 -65
- package/dist/job.js +59 -59
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +67 -67
- package/dist/location-lifecycle.js +78 -77
- package/dist/location-service-map.js +62 -61
- package/dist/location-services.js +300 -300
- package/dist/location.js +57 -56
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +18 -17
- package/dist/mcp/index.js +81 -80
- package/dist/mcp/instructions.js +104 -103
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +62 -61
- package/dist/modal/models.js +73 -72
- package/dist/model-resolver.js +75 -74
- package/dist/model.js +74 -73
- package/dist/models-dev.js +73 -72
- package/dist/permission/saved.js +60 -60
- package/dist/permission.js +84 -83
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +53 -53
- package/dist/plugin/agent.js +55 -55
- package/dist/plugin/command.js +72 -71
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/identity.js +5 -3
- package/dist/plugin/internal.js +274 -274
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +70 -69
- package/dist/plugin/module.js +80 -80
- package/dist/plugin/optimize.js +5 -3
- package/dist/plugin/plan.js +73 -72
- package/dist/plugin/provider/amazon-bedrock.js +64 -63
- package/dist/plugin/provider/azure.js +82 -82
- package/dist/plugin/provider/chatgpt.js +80 -80
- package/dist/plugin/provider/cloudflare-ai-gateway.js +79 -79
- package/dist/plugin/provider/cloudflare-workers-ai.js +79 -79
- package/dist/plugin/provider/configured.js +78 -78
- package/dist/plugin/provider/digitalocean.js +66 -65
- package/dist/plugin/provider/github-copilot.js +68 -67
- package/dist/plugin/provider/gitlab.js +66 -65
- package/dist/plugin/provider/google-vertex.js +79 -79
- package/dist/plugin/provider/llmgateway.js +56 -56
- package/dist/plugin/provider/lmstudio.js +89 -89
- package/dist/plugin/provider/local.js +86 -86
- package/dist/plugin/provider/modal.js +66 -65
- package/dist/plugin/provider/ollama.js +89 -89
- package/dist/plugin/provider/openai-context-caps.js +64 -63
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +72 -71
- package/dist/plugin/provider/openrouter.js +65 -64
- package/dist/plugin/provider/poe.js +56 -56
- package/dist/plugin/provider/sap-ai-core.js +64 -63
- package/dist/plugin/provider/snowflake-cortex.js +80 -80
- package/dist/plugin/provider/vercel.js +64 -63
- package/dist/plugin/provider/vllm.js +89 -89
- package/dist/plugin/provider/xai.js +65 -64
- package/dist/plugin/provider.js +124 -124
- package/dist/plugin/sdk.js +55 -55
- package/dist/plugin/skill.js +95 -95
- package/dist/plugin/supervisor.js +290 -290
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +60 -59
- package/dist/plugin/vcs/hg.js +62 -61
- package/dist/plugin/verbosity.js +65 -64
- package/dist/plugin/warming.js +80 -80
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +6 -6
- package/dist/plugin/websearch/parallel.js +2 -2
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +176 -176
- package/dist/project.js +56 -55
- package/dist/provider.js +75 -74
- package/dist/pty.js +64 -64
- package/dist/reference/instructions.js +66 -65
- package/dist/reference.js +64 -63
- package/dist/repository-cache.js +59 -58
- package/dist/ripgrep.js +66 -65
- package/dist/rpc.js +62 -61
- package/dist/session/command.js +54 -54
- package/dist/session/compaction.js +102 -101
- package/dist/session/context.js +127 -126
- package/dist/session/diff.js +62 -61
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +112 -112
- package/dist/session/execution.js +99 -98
- package/dist/session/generate.js +128 -127
- package/dist/session/history.js +5 -5
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +69 -68
- package/dist/session/model-request.js +90 -89
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +99 -98
- package/dist/session/projector.js +60 -60
- package/dist/session/prompt.js +74 -73
- package/dist/session/revert.js +66 -65
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +183 -183
- package/dist/session/runner/model.js +74 -73
- package/dist/session/runner/publish-llm-event.js +84 -83
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +96 -95
- package/dist/session/runner/to-llm-message.js +6 -6
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +122 -122
- package/dist/session/shell.js +92 -92
- package/dist/session/skill.js +73 -72
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +60 -60
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +130 -129
- package/dist/session/to-session-error.js +83 -82
- package/dist/session/transfer.js +106 -106
- package/dist/session.js +172 -172
- package/dist/shell/parse.js +6 -6
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +96 -96
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +78 -77
- package/dist/skill.js +83 -82
- package/dist/snapshot.js +69 -68
- package/dist/tool/mcp.js +101 -100
- package/dist/tool/plugin/edit.js +86 -85
- package/dist/tool/plugin/glob.js +91 -90
- package/dist/tool/plugin/grep.js +91 -90
- package/dist/tool/plugin/mcp-resource.js +90 -89
- package/dist/tool/plugin/opencode.js +78 -77
- package/dist/tool/plugin/patch.js +86 -85
- package/dist/tool/plugin/question.js +72 -71
- package/dist/tool/plugin/read.js +91 -90
- package/dist/tool/plugin/shell.js +172 -172
- package/dist/tool/plugin/skill.js +82 -81
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/todo.js +100 -100
- package/dist/tool/plugin/webfetch.js +80 -79
- package/dist/tool/plugin/websearch.js +79 -78
- package/dist/tool/plugin/write.js +88 -87
- package/dist/tool/read-filesystem.js +72 -71
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- package/dist/types/plugin/optimize.d.ts +26 -0
- package/dist/types/util/git-executable.d.ts +6 -2
- package/dist/util/git-executable.js +4 -1
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +65 -64
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +65 -64
- package/dist/vcs.js +65 -64
- package/dist/voice.js +60 -60
- package/dist/websearch.js +61 -61
- package/dist/wellknown/plugin.js +53 -53
- package/dist/wellknown.js +58 -58
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +61 -61
- package/dist/worktree/git.js +7 -6
- package/dist/worktree/strategies.js +64 -63
- package/dist/worktree.js +72 -71
- package/package.json +8 -8
- package/dist/chunks/websearch-ef5x83kb.js +0 -15
- package/dist/chunks/websearch-gnqtsnxp.js +0 -82
- package/dist/chunks/websearch-ms1v96r1.js +0 -257
- /package/dist/chunks/{websearch-qcf9sep0.js → websearch-558sn0j3.js} +0 -0
- /package/dist/chunks/{websearch-j6a70pje.js → websearch-dx5g0f3r.js} +0 -0
- /package/dist/chunks/{websearch-sfkj0ta1.js → websearch-j34dxvpb.js} +0 -0
- /package/dist/chunks/{websearch-z41z05dk.js → websearch-pxkxhxat.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./websearch-
|
|
4
|
+
} from "./websearch-v6e01gce.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./websearch-
|
|
6
|
+
Service69,
|
|
7
|
+
node72
|
|
8
|
+
} from "./websearch-hfcmmhta.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./websearch-
|
|
12
|
+
} from "./websearch-seqv54nm.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service82,
|
|
16
16
|
node86
|
|
17
|
-
} from "./websearch-
|
|
17
|
+
} from "./websearch-k8yzaem4.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./websearch-
|
|
20
|
+
} from "./websearch-tgycm7xg.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
23
|
} from "./websearch-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./websearch-
|
|
25
|
+
Service74,
|
|
26
|
+
node77
|
|
27
|
+
} from "./websearch-af6r45an.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./websearch-
|
|
29
|
+
Service23,
|
|
30
|
+
node26
|
|
31
|
+
} from "./websearch-dcw70mgd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./websearch-9rqn6x4v.js";
|
|
@@ -37,22 +37,22 @@ import {
|
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service13,
|
|
41
|
+
node: () => node15
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service82;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service74;
|
|
54
|
+
const forms = yield* Service69;
|
|
55
|
+
const rpc = yield* Service23;
|
|
56
56
|
const project = yield* Service83;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service13.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node15 = makeLocationNode({
|
|
89
|
+
service: Service13,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node86,
|
|
91
|
+
deps: [node89, node86, node77, node87, node72, node26]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./websearch-
|
|
4
|
+
} from "./websearch-v6e01gce.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Ref4,
|
|
11
11
|
Service82,
|
|
12
12
|
node86
|
|
13
|
-
} from "./websearch-
|
|
13
|
+
} from "./websearch-k8yzaem4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./websearch-9rqn6x4v.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service23 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service85;
|
|
44
44
|
const location = yield* Service82;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service23.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node89, node86] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service23, node26, exports_rpc, define2 };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make8(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make8 };
|
|
@@ -7,18 +7,18 @@ var exports_app = {};
|
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer20,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make15(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
+
var node47 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer20, configured6, node47, exports_app };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./websearch-
|
|
4
|
+
} from "./websearch-y24s7hc7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./websearch-
|
|
8
|
+
} from "./websearch-v6e01gce.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./websearch-
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./websearch-zn3s3q02.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./websearch-
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./websearch-p580ev26.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
19
|
} from "./websearch-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./websearch-
|
|
21
|
+
make18
|
|
22
|
+
} from "./websearch-ssfehs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./websearch-
|
|
25
|
+
Service50
|
|
26
|
+
} from "./websearch-p76me67c.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./websearch-
|
|
28
|
+
Service76,
|
|
29
|
+
node79
|
|
30
|
+
} from "./websearch-783zccns.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./websearch-
|
|
33
|
+
} from "./websearch-nzh3qh6x.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./websearch-
|
|
36
|
+
} from "./websearch-ys1mpr1q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./websearch-9rqn6x4v.js";
|
|
@@ -41,16 +41,16 @@ import {
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service49,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node53,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service49, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service76;
|
|
64
|
+
const instances = yield* Service52;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service71;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node53 = makeGlobalNode({
|
|
127
|
+
service: Service49,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node79, node55, node89, node90, node74]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service49, Service49.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service43, Service43.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service49, terminal2, layer22, node53, noopLayer2, exports_execution };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service46,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node50
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service46 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service46.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node50 = makeLocationNode({ service: Service46, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service46, node50, exports_image2 };
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service61,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node64,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service61 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service61.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node64 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service61, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured8, node64, exports_select };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./websearch-
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./websearch-xe844d6a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./websearch-
|
|
10
|
+
} from "./websearch-y2tacs4v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service30,
|
|
20
|
+
node: () => node33
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service30 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service40;
|
|
68
|
+
return Service30.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make20({
|
|
76
|
+
key: Key4.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node43] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service30, node33, exports_instructions2 };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./websearch-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./websearch-
|
|
7
|
+
Service80,
|
|
8
|
+
node83
|
|
9
|
+
} from "./websearch-mbk0t8q9.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./websearch-maspj1v3.js";
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service48,
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service80;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service48.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node52 = makeLocationNode({ service: Service48, layer, deps: [node83, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error3, InvalidPatternError2,
|
|
180
|
+
export { Error3, InvalidPatternError2, Service48, node52, exports_ripgrep };
|