@opencode/core 0.0.0-dev-189 → 0.0.0-dev-192
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 +90 -90
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{repository-z6y50tdx.js → command-00mjjsd1.js} +9 -9
- package/dist/chunks/{repository-a7jkxg7e.js → command-01b4dp20.js} +22 -22
- package/dist/chunks/{repository-6pzctp9a.js → command-07b35671.js} +31 -31
- package/dist/chunks/{repository-a44gt5xs.js → command-0821qhef.js} +6 -6
- package/dist/chunks/{repository-etamvy03.js → command-0md8jbwq.js} +11 -11
- package/dist/chunks/{repository-abs1shnw.js → command-0rq6zj2e.js} +40 -40
- package/dist/chunks/{repository-pnwsrq7c.js → command-0xgy9r8e.js} +7 -7
- package/dist/chunks/{repository-y21mv437.js → command-10z2q35a.js} +20 -20
- package/dist/chunks/{repository-ycywz2xw.js → command-16xbxjgz.js} +9 -9
- package/dist/chunks/{repository-pg5757gf.js → command-1v0kgbst.js} +25 -25
- package/dist/chunks/{repository-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-1yq9hg58.js → command-1yq9hg58.js} +1 -1
- package/dist/chunks/{repository-204s3925.js → command-204s3925.js} +1 -1
- package/dist/chunks/{repository-vaq1yek0.js → command-26x8chrq.js} +6 -6
- package/dist/chunks/{repository-1ep2p91f.js → command-27w5k9zf.js} +2 -2
- package/dist/chunks/{repository-cbtp3bm0.js → command-28ac1jrk.js} +55 -55
- package/dist/chunks/{repository-vb2gkw1m.js → command-29ph2m0n.js} +31 -31
- package/dist/chunks/{repository-d68w9w8c.js → command-29t3wztw.js} +32 -32
- package/dist/chunks/{repository-hez1w8bb.js → command-2bnkmtyn.js} +34 -34
- package/dist/chunks/{repository-s0dcwz21.js → command-2n3kxmrb.js} +3 -3
- package/dist/chunks/{repository-9yvzdddr.js → command-2rysqmgp.js} +20 -20
- package/dist/chunks/{repository-mjyzwzry.js → command-2t58wk4f.js} +11 -11
- package/dist/chunks/{repository-jgcte78g.js → command-2v2p2rpz.js} +2 -2
- package/dist/chunks/{repository-4esa3dv6.js → command-30bemqd7.js} +28 -28
- package/dist/chunks/{repository-ektnw284.js → command-3268pdg4.js} +16 -16
- package/dist/chunks/{repository-xj7pfj7j.js → command-33p3rw4f.js} +21 -21
- package/dist/chunks/{repository-84k97wh8.js → command-34z95qkg.js} +40 -40
- package/dist/chunks/{repository-jkfm927m.js → command-36y1bd58.js} +12 -12
- package/dist/chunks/{repository-ayjs7tqn.js → command-3cbjf1nt.js} +2 -2
- package/dist/chunks/{repository-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-0hkk56st.js → command-3j1x65zx.js} +190 -190
- package/dist/chunks/{repository-ym290evk.js → command-3mxdezre.js} +12 -12
- package/dist/chunks/{repository-vs1fx8n5.js → command-3nthtgk6.js} +30 -30
- package/dist/chunks/{repository-wrf4qw91.js → command-3qrv10r6.js} +23 -23
- package/dist/chunks/{repository-qqg9c0kv.js → command-3ryz99p0.js} +4 -4
- package/dist/chunks/{repository-pkvxjntv.js → command-3zj1xpaw.js} +30 -30
- package/dist/chunks/{repository-r41sfy63.js → command-40za9wsf.js} +6 -6
- package/dist/chunks/{repository-182gebkv.js → command-438nppkm.js} +33 -33
- package/dist/chunks/{repository-k93f34r6.js → command-455g72dc.js} +14 -14
- package/dist/chunks/{repository-9n4yzf43.js → command-4c6kfn9z.js} +7 -7
- package/dist/chunks/{repository-72gawy4v.js → command-4d51p485.js} +23 -23
- package/dist/chunks/{repository-0evha2wn.js → command-4mpvz957.js} +32 -32
- package/dist/chunks/{repository-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-2kzkh518.js → command-4rc4c6p6.js} +45 -45
- package/dist/chunks/{repository-swv5h1tw.js → command-4rm62t2b.js} +16 -16
- package/dist/chunks/{repository-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-dh9dmr4q.js → command-4vy9vv05.js} +323 -323
- package/dist/chunks/{repository-swe5sap9.js → command-5043ej2r.js} +30 -30
- package/dist/chunks/{repository-8r2xb3b3.js → command-515hc563.js} +19 -19
- package/dist/chunks/{repository-vz9e3ctc.js → command-5851zxg9.js} +4 -4
- package/dist/chunks/{repository-ptht14fh.js → command-5dnzaf1y.js} +43 -43
- package/dist/chunks/{repository-5kgs3fk1.js → command-5kbev7nh.js} +6 -6
- package/dist/chunks/{repository-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-g9b1jkrx.js → command-5nx4wf47.js} +30 -30
- package/dist/chunks/{repository-nf4jh0jx.js → command-5qsq6d1y.js} +23 -23
- package/dist/chunks/{repository-dz5kpwyf.js → command-6bz7qnk4.js} +24 -24
- package/dist/chunks/{repository-6esdw8yj.js → command-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-qcb8jahv.js → command-6etkam66.js} +36 -36
- package/dist/chunks/{repository-sjnxn81j.js → command-6jkh4qsb.js} +6 -6
- package/dist/chunks/{repository-7g779wd2.js → command-6n9ky129.js} +17 -17
- package/dist/chunks/{repository-ataenv19.js → command-6sffq8p7.js} +4 -4
- package/dist/chunks/{repository-m0hczx0h.js → command-6xr9vfwh.js} +13 -13
- package/dist/chunks/{repository-13r1xmr6.js → command-6xrdpfmf.js} +38 -38
- package/dist/chunks/{repository-5r0vxddc.js → command-70wrqntk.js} +9 -9
- package/dist/chunks/{repository-76cb1hcw.js → command-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-2rgppjw0.js → command-7bd1zx9q.js} +17 -17
- package/dist/chunks/{repository-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-za5evj2v.js → command-7g4ceemv.js} +3 -3
- package/dist/chunks/{repository-ydpqsc0x.js → command-7hmy122c.js} +15 -15
- package/dist/chunks/{repository-037k7tff.js → command-7tgj3thq.js} +23 -23
- package/dist/chunks/{repository-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-3t73xeyv.js → command-7yect7x1.js} +2 -2
- package/dist/chunks/{repository-mkc3d31y.js → command-86s92ra1.js} +43 -43
- package/dist/chunks/{repository-1apn0a4c.js → command-8at4k5nj.js} +21 -21
- package/dist/chunks/{repository-11hfp36g.js → command-8jztxfpf.js} +4 -4
- package/dist/chunks/{repository-yckfh1kh.js → command-8kggrr3e.js} +13 -13
- package/dist/chunks/{repository-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/command-8x060fmy.js +18 -0
- package/dist/chunks/{repository-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{repository-5jv51wq9.js → command-93ee6ynz.js} +26 -26
- package/dist/chunks/{repository-wde7vnje.js → command-9h1y6hg7.js} +28 -28
- package/dist/chunks/{repository-9q8g9sv8.js → command-9q8g9sv8.js} +1 -1
- package/dist/chunks/{repository-hs9b4b47.js → command-9r0x1bva.js} +9 -9
- package/dist/chunks/{repository-dbmp929s.js → command-9s06frge.js} +5 -5
- package/dist/chunks/{repository-e8rkqp2f.js → command-9tvh7z9g.js} +49 -49
- package/dist/chunks/{repository-ce8850xx.js → command-9wzjb77v.js} +5 -5
- package/dist/chunks/{repository-nhs8pjpx.js → command-9y6y4p5q.js} +86 -86
- package/dist/chunks/{repository-zgd8t41s.js → command-9z9tayqc.js} +9 -9
- package/dist/chunks/{repository-wdmx20pv.js → command-a7s1nr2m.js} +9 -9
- package/dist/chunks/{repository-034tev2y.js → command-aj7mw0zk.js} +2 -2
- package/dist/chunks/{repository-9nzgnp4r.js → command-atzg8zb1.js} +34 -34
- package/dist/chunks/{repository-k1qkeqm0.js → command-ay2wbdds.js} +11 -11
- package/dist/chunks/{repository-c2zjjdcb.js → command-ayf3m2d5.js} +17 -17
- package/dist/chunks/{repository-ye2mws6y.js → command-azw5wzd7.js} +25 -25
- package/dist/chunks/{repository-1w79wwhg.js → command-b277gfsp.js} +31 -31
- package/dist/chunks/{repository-zw4pk1bw.js → command-b29mbqx6.js} +5 -5
- package/dist/chunks/{repository-3j1m3tq4.js → command-b4vpdc8n.js} +5 -5
- package/dist/chunks/{repository-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-61ennm6n.js → command-bjhzkqyk.js} +4 -4
- package/dist/chunks/{repository-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-w1j2qcct.js → command-bz229hd6.js} +24 -24
- package/dist/chunks/{repository-esd0f7sy.js → command-c3tj1nfn.js} +16 -16
- package/dist/chunks/{repository-gadvwfpz.js → command-cbkde0jd.js} +21 -21
- package/dist/chunks/{repository-bda3vcj5.js → command-cby6psbp.js} +9 -9
- package/dist/chunks/{repository-gvvhvz2q.js → command-cdq1pcjt.js} +16 -16
- package/dist/chunks/{repository-0av5441t.js → command-chx6yw2v.js} +16 -16
- package/dist/chunks/{repository-56ae33c2.js → command-cmx0zgd5.js} +27 -27
- package/dist/chunks/{repository-jcrsb2we.js → command-cn1mgj56.js} +9 -9
- package/dist/chunks/{repository-6x6r8n8f.js → command-cn79fdx8.js} +17 -17
- package/dist/chunks/{repository-nf3nsvxh.js → command-cpgbtk9c.js} +4 -4
- package/dist/chunks/{repository-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-ectwy8nt.js → command-czkk2md7.js} +5 -5
- package/dist/chunks/{repository-fnn8wx3k.js → command-dq1vsfnp.js} +12 -12
- package/dist/chunks/{repository-3fa3xdsy.js → command-dsbck6v3.js} +11 -11
- package/dist/chunks/{repository-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{repository-d96fxdz4.js → command-dy0rdwyn.js} +7 -7
- package/dist/chunks/{repository-nwyfjcs7.js → command-e71bb87j.js} +8 -8
- package/dist/chunks/{repository-qbcktyw0.js → command-e79z1jvy.js} +19 -19
- package/dist/chunks/{repository-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{repository-nscwgnf9.js → command-e9nx9dch.js} +65 -65
- package/dist/chunks/{repository-g4wje5yf.js → command-ebj3rvtd.js} +11 -11
- package/dist/chunks/{repository-kjrf1av9.js → command-ec66vark.js} +25 -25
- package/dist/chunks/{repository-pyv44sw6.js → command-eehpsxwd.js} +22 -22
- package/dist/chunks/{repository-p91eqx64.js → command-eexq3avs.js} +7 -7
- package/dist/chunks/{repository-5w0ghgtj.js → command-egzpwr9w.js} +5 -5
- package/dist/chunks/{repository-2ytvyz2d.js → command-em23s76k.js} +20 -20
- package/dist/chunks/{repository-gg8p9cgs.js → command-ep59zg61.js} +3 -3
- package/dist/chunks/{repository-5q3h0csw.js → command-etbjhst2.js} +7 -7
- package/dist/chunks/{repository-82zcwhsx.js → command-exfq29n4.js} +22 -22
- package/dist/chunks/{repository-98r3g1tv.js → command-ff597jm7.js} +29 -29
- package/dist/chunks/{repository-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-dsk9ctag.js → command-fft6kzd2.js} +3 -3
- package/dist/chunks/{repository-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{repository-gbafzqgw.js → command-fgs47z99.js} +25 -25
- package/dist/chunks/{repository-3e05p5k6.js → command-fhazfch2.js} +45 -45
- package/dist/chunks/{repository-5z598wn3.js → command-frj2twk5.js} +15 -15
- package/dist/chunks/{repository-cm490s5r.js → command-fw1xdg81.js} +15 -15
- package/dist/chunks/{repository-33ae382d.js → command-gbkvsjtb.js} +31 -31
- package/dist/chunks/{repository-dsxmp27p.js → command-gdrsszk7.js} +14 -14
- package/dist/chunks/{repository-ywm3m9q2.js → command-gf3f1z7b.js} +9 -9
- package/dist/chunks/{repository-xck40x38.js → command-gf614vnd.js} +4 -4
- package/dist/chunks/{repository-d4v9tmah.js → command-gn8tkhbf.js} +2 -2
- package/dist/chunks/{repository-3t74rz0k.js → command-gtbct7qe.js} +10 -10
- package/dist/chunks/{repository-gtn9c16a.js → command-gtn9c16a.js} +1 -1
- package/dist/chunks/{repository-rnd635dt.js → command-h1ytfc0y.js} +11 -11
- package/dist/chunks/{repository-bqh84c2y.js → command-h2ry2ahb.js} +9 -9
- package/dist/chunks/{repository-eag44dyn.js → command-h9kvttc7.js} +1 -1
- package/dist/chunks/{repository-tgcnwcew.js → command-hf61y91y.js} +11 -11
- package/dist/chunks/{repository-m37sd98t.js → command-hfgk9wzg.js} +4 -4
- package/dist/chunks/{repository-5107fk2n.js → command-hnfbx6gz.js} +3 -3
- package/dist/chunks/{repository-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
- package/dist/chunks/{repository-2zp5a6yg.js → command-hqxkkta1.js} +3 -3
- package/dist/chunks/{repository-t6tqz55s.js → command-hr8ybq2q.js} +3 -3
- package/dist/chunks/{repository-12r92wk3.js → command-hvm8hq2z.js} +14 -14
- package/dist/chunks/{repository-3v8t9fvp.js → command-j12cv1sc.js} +25 -25
- package/dist/chunks/{repository-werc16xm.js → command-j2d02bpj.js} +15 -15
- package/dist/chunks/{repository-3njy631w.js → command-jf78x530.js} +13 -13
- package/dist/chunks/{repository-jfaecv01.js → command-jfaecv01.js} +1 -1
- package/dist/chunks/{repository-exd6sskf.js → command-jrye536t.js} +11 -11
- package/dist/chunks/{repository-jtnps1zs.js → command-jtnps1zs.js} +2 -2
- package/dist/chunks/{repository-agwv7dq2.js → command-jxqj52kg.js} +11 -11
- package/dist/chunks/{repository-0r3ejwj6.js → command-jzfm45zn.js} +5 -5
- package/dist/chunks/{repository-1mde9y8f.js → command-k0z9xgt2.js} +11 -11
- package/dist/chunks/{repository-k814nvkf.js → command-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-r94gekwm.js → command-k9zkdd2y.js} +4 -4
- package/dist/chunks/{repository-ck8hq31j.js → command-km31c7kj.js} +21 -21
- package/dist/chunks/{repository-7tpyp9vw.js → command-kmzgegqq.js} +8 -8
- package/dist/chunks/{repository-j10bffxc.js → command-ksmsdsrm.js} +17 -17
- package/dist/chunks/{repository-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{repository-97e8yvkm.js → command-kytj30gb.js} +11 -11
- package/dist/chunks/{repository-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{repository-n4zn000z.js → command-m5gkvr4e.js} +4 -4
- package/dist/chunks/{repository-5vtqq6dj.js → command-m7h6p2mz.js} +15 -15
- package/dist/chunks/{repository-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-qk7rmbj1.js → command-ma407v5y.js} +9 -9
- package/dist/chunks/{repository-c4bknmrm.js → command-mptdz56v.js} +33 -33
- package/dist/chunks/{repository-n7wnam13.js → command-msj7tqt3.js} +8 -8
- package/dist/chunks/{repository-a5jmwq8r.js → command-myvbtv3b.js} +1 -1
- package/dist/chunks/{repository-x62nhpqw.js → command-mz5czfjq.js} +26 -26
- package/dist/chunks/{repository-dpgr420w.js → command-n3bkb5q1.js} +8 -8
- package/dist/chunks/{repository-wkjtf16h.js → command-n6vpezgx.js} +21 -21
- package/dist/chunks/{repository-0hp4fr82.js → command-n9e6fwv2.js} +4 -4
- package/dist/chunks/{repository-770pw0s1.js → command-nah043kf.js} +4 -4
- package/dist/chunks/{repository-sdb8g23r.js → command-nfze187e.js} +15 -15
- package/dist/chunks/{repository-08rz5a36.js → command-njmdq0v4.js} +14 -14
- package/dist/chunks/{repository-k0h7zcy3.js → command-nzjp5m62.js} +8 -8
- package/dist/chunks/{repository-p015t6z3.js → command-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-mh6czyn0.js → command-p1jpxsyv.js} +33 -33
- package/dist/chunks/{repository-g6dfma3d.js → command-p7f9amnf.js} +2 -2
- package/dist/chunks/{repository-6cv4a685.js → command-p7mdng8d.js} +10 -10
- package/dist/chunks/{repository-ssv9vbjn.js → command-p7n3nxvc.js} +16 -16
- package/dist/chunks/{repository-0rtm666e.js → command-p9ayhvdt.js} +21 -21
- package/dist/chunks/{repository-1aypnazc.js → command-pcr7gbpj.js} +13 -13
- package/dist/chunks/{repository-y50d8q8d.js → command-phtkj9qf.js} +5 -5
- package/dist/chunks/{repository-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{repository-yara3q77.js → command-pxtfkpje.js} +2 -2
- package/dist/chunks/{repository-se71yjgd.js → command-q1v2rqx1.js} +30 -30
- package/dist/chunks/{repository-6pycad06.js → command-qcwk3ksp.js} +12 -12
- package/dist/chunks/{repository-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-qf65b5pw.js → command-qps2khjy.js} +39 -39
- package/dist/chunks/{repository-wvpmhz6e.js → command-qv2477tn.js} +17 -17
- package/dist/chunks/{repository-r0yr0wbs.js → command-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-86g12mv6.js → command-r29jt39q.js} +22 -22
- package/dist/chunks/{repository-p16d4jds.js → command-r438avjf.js} +43 -43
- package/dist/chunks/{repository-r542h3bh.js → command-r542h3bh.js} +1 -1
- package/dist/chunks/{repository-bpa6my4e.js → command-r6drjba7.js} +12 -12
- package/dist/chunks/{repository-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-ms02w4bg.js → command-rsjmrn99.js} +5 -5
- package/dist/chunks/{repository-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-sv3cbmwn.js → command-rtn5n65h.js} +5 -5
- package/dist/chunks/{repository-1k4zgc1c.js → command-s1e3bnys.js} +25 -25
- package/dist/chunks/{repository-a792y6s0.js → command-s73byfaf.js} +20 -20
- package/dist/chunks/{repository-s7gmm2q3.js → command-s7gmm2q3.js} +3 -3
- package/dist/chunks/{repository-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-aytsh6n6.js → command-sbke1tyt.js} +5 -5
- package/dist/chunks/{repository-7n5hdcgz.js → command-sh3c00mc.js} +9 -9
- package/dist/chunks/{repository-xpx9qcwm.js → command-shanfhsz.js} +9 -9
- package/dist/chunks/{repository-ra34yqmw.js → command-sq4s6wq1.js} +6 -6
- package/dist/chunks/{repository-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-d2887f8n.js → command-ssfehs1z.js} +4 -4
- package/dist/chunks/{repository-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-vrcsa8qx.js → command-takvccra.js} +9 -9
- package/dist/chunks/{repository-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-k8sh24kp.js → command-tdjjjkq6.js} +30 -30
- package/dist/chunks/{repository-2080gwb7.js → command-tjre620e.js} +6 -6
- package/dist/chunks/{repository-kex0kwh3.js → command-tjt434kf.js} +18 -18
- package/dist/chunks/{repository-8enexpz6.js → command-tk7f1t18.js} +33 -33
- package/dist/chunks/{repository-3nnrz6f6.js → command-tmc7xdjs.js} +4 -4
- package/dist/chunks/{repository-nkwqs6wb.js → command-tvv0tn9w.js} +6 -6
- package/dist/chunks/{repository-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-0m9q59s6.js → command-tx91wa5k.js} +4 -4
- package/dist/chunks/{repository-x5kjwm05.js → command-tyaqfnq9.js} +12 -12
- package/dist/chunks/{repository-a23yrjc9.js → command-tzqrh5pq.js} +13 -13
- package/dist/chunks/{repository-sx391g08.js → command-v0q3mgw6.js} +12 -12
- package/dist/chunks/{repository-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-4nc3cf8h.js → command-v5brjje0.js} +15 -15
- package/dist/chunks/{repository-phy9rbgr.js → command-v6pfsmaj.js} +80 -80
- package/dist/chunks/{repository-qwcynr2z.js → command-v8d0t8r0.js} +33 -33
- package/dist/chunks/{repository-8hrfnhev.js → command-vc24ps4y.js} +21 -21
- package/dist/chunks/{repository-a4sx5s4k.js → command-vfybh93w.js} +50 -50
- package/dist/chunks/{repository-ts7mkfs9.js → command-vpm8vpz0.js} +3 -3
- package/dist/chunks/{repository-ems0zhva.js → command-vv0zpxc5.js} +10 -10
- package/dist/chunks/{repository-cdhs4fq1.js → command-vw06atv7.js} +8 -8
- package/dist/chunks/{repository-rw7j67zp.js → command-w1yz8y9w.js} +8 -8
- package/dist/chunks/{repository-we470cqt.js → command-w2arfqwz.js} +11 -11
- package/dist/chunks/{repository-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-6z1wc5nc.js → command-w4re67rg.js} +3 -3
- package/dist/chunks/{repository-w687dnns.js → command-w687dnns.js} +1 -1
- package/dist/chunks/{repository-h1rcny21.js → command-w84a1txn.js} +11 -11
- package/dist/chunks/{repository-7kehrbx0.js → command-waamrcjf.js} +2 -2
- package/dist/chunks/{repository-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{repository-tbkdp4xy.js → command-wgjkkrj2.js} +27 -27
- package/dist/chunks/{repository-aar8rcwj.js → command-wm2sanfk.js} +4 -4
- package/dist/chunks/{repository-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-v1vf4bjp.js → command-wxy4dqwa.js} +8 -8
- package/dist/chunks/{repository-y624qwvn.js → command-wzxekqyh.js} +9 -9
- package/dist/chunks/command-x17jgygk.js +26 -0
- package/dist/chunks/{repository-dvet5ash.js → command-x9szzvh5.js} +10 -10
- package/dist/chunks/{repository-jz3hgwrm.js → command-xjzmf0f0.js} +4 -4
- package/dist/chunks/{repository-2dv9mwt9.js → command-xkmmweqg.js} +17 -17
- package/dist/chunks/{repository-ehfhc1vp.js → command-xmsgn8wk.js} +11 -11
- package/dist/chunks/command-xxs30trs.js +257 -0
- package/dist/chunks/{repository-r5tkst50.js → command-y0gcdphe.js} +44 -44
- package/dist/chunks/{repository-xa7geska.js → command-y0z7xxr2.js} +22 -22
- package/dist/chunks/{repository-mpaxnys6.js → command-y57mav2x.js} +14 -14
- package/dist/chunks/{repository-gtbhcp1b.js → command-y6sqc5ks.js} +4 -4
- package/dist/chunks/{repository-dwmchd07.js → command-y7crk8z2.js} +13 -13
- package/dist/chunks/{repository-fcevtanz.js → command-yafp75j8.js} +11 -11
- package/dist/chunks/{repository-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-q9z0p7gh.js → command-yhdj4qa2.js} +14 -14
- package/dist/chunks/{repository-qdvp98ce.js → command-yjx9frm7.js} +5 -5
- package/dist/chunks/{repository-9n4vggc2.js → command-ymz7p2c9.js} +3 -3
- package/dist/chunks/{repository-qt5bw9qd.js → command-yp1yfw1j.js} +5 -5
- package/dist/chunks/{repository-rgzggw2r.js → command-yqhz1kx0.js} +2 -2
- package/dist/chunks/{repository-s5b0caas.js → command-yr0jtzyt.js} +11 -11
- package/dist/chunks/{repository-z38nccrw.js → command-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-p9pswzjx.js → command-z6445x7a.js} +12 -12
- package/dist/chunks/{repository-zqeyh3pg.js → command-zf0kqan8.js} +4 -4
- package/dist/chunks/{repository-x9mcs5as.js → command-zjfjzrw7.js} +4 -4
- package/dist/chunks/{repository-ptkgc041.js → command-znhbtrmf.js} +15 -15
- package/dist/chunks/{repository-tsk01jw9.js → command-zrc3q1m0.js} +11 -11
- package/dist/chunks/{repository-snn1b1cz.js → command-zrjs9xec.js} +5 -5
- package/dist/chunks/{repository-yqveydy6.js → command-ztf6n3de.js} +4 -4
- package/dist/chunks/{repository-xgv24g03.js → command-zyy21h18.js} +27 -27
- package/dist/chunks/{repository-wmgx0dmg.js → command-zz7cy004.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +220 -220
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/database.js +73 -73
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +101 -101
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +378 -378
- 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 +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +77 -77
- package/dist/file-access.js +147 -147
- package/dist/file-mutation.js +103 -103
- package/dist/file-retention.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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +233 -233
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +111 -111
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +108 -108
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +369 -369
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +94 -94
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- package/dist/job.js +83 -83
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +366 -366
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +167 -167
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -108
- package/dist/model-resolver.js +106 -106
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -113
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +140 -140
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +81 -81
- package/dist/plugin/command.js +109 -109
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +339 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -99
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +102 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +129 -129
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -131
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +122 -122
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -172
- package/dist/plugin/sdk.js +81 -81
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +237 -237
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +104 -104
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +228 -228
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +163 -163
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- 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 +226 -226
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +189 -189
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +239 -239
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -80
- package/dist/session/store.js +130 -130
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -224
- package/dist/shell/parse.js +8 -8
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -144
- package/dist/skill.js +141 -141
- package/dist/snapshot.js +102 -102
- 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 +166 -166
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +153 -153
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +150 -150
- package/dist/tool/plugin/subagent.js +227 -227
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +150 -150
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +109 -109
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +100 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +86 -86
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/repository-3ygt5d1v.js +0 -257
- package/dist/chunks/repository-dym6dez5.js +0 -26
- package/dist/chunks/repository-z7bdqmx5.js +0 -18
- /package/dist/chunks/{repository-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1jakw16s.js → command-1jakw16s.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-myztnk54.js → command-myztnk54.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-ncqqe42p.js → command-ncqqe42p.js} +0 -0
- /package/dist/chunks/{repository-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./command-cdq1pcjt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./command-bz229hd6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service58
|
|
15
|
+
} from "./command-hvm8hq2z.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-q1v2rqx1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./command-07b35671.js";
|
|
25
25
|
import {
|
|
26
26
|
Service14
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-em23s76k.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin43,
|
|
39
|
+
name: () => name8,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name8 = "glob";
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input13 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin43 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
69
|
+
const environment = yield* Service59;
|
|
70
|
+
const ripgrep = yield* Service58;
|
|
71
|
+
const location = yield* Service82;
|
|
72
72
|
const access = yield* Service14;
|
|
73
|
-
const permission = yield*
|
|
73
|
+
const permission = yield* Service67;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name8,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input8,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name8,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin14 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name8, Input8, Output7, toModelContent4, Plugin43, exports_glob };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-5851zxg9.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event10,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info12,
|
|
20
|
+
NotFoundError: () => NotFoundError7,
|
|
21
|
+
Service: () => Service65,
|
|
22
|
+
layer: () => layer24,
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
29
|
+
var Info12 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service65 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer24 = Layer.effect(Service65, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service85;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info12.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service65.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node69 = makeLocationNode({
|
|
76
|
+
service: Service65,
|
|
77
|
+
layer: layer24,
|
|
78
78
|
deps: [node89]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info12, NotFoundError7, ExecutionError2, Service65, layer24, node69, exports_command4, Event10 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-5851zxg9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./command-30bemqd7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./command-cdq1pcjt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node61
|
|
20
|
+
} from "./command-bz229hd6.js";
|
|
21
21
|
import {
|
|
22
22
|
ID15,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service79,
|
|
24
|
+
node83
|
|
25
|
+
} from "./command-16xbxjgz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-204s3925.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./command-93ee6ynz.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service40,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node43
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service40 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service82;
|
|
117
|
+
const environment = yield* Service59;
|
|
118
118
|
const bus = yield* Service85;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service79;
|
|
120
|
+
const integration = yield* Service77;
|
|
121
|
+
const credentials = yield* Service78;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID13.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,14 +157,14 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError4({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
@@ -272,7 +272,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service40.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured4(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service40,
|
|
617
|
+
layer: layer18(options),
|
|
618
|
+
deps: [node86, node61, node89, node83, node81, node82]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node43 = configured4();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service40, Options4, layer18, configured4, node43, exports_mcp4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info20 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info20, SessionSchema2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5851zxg9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
ID14
|
|
9
|
-
} from "./repository-5jv51wq9.js";
|
|
5
|
+
Event17
|
|
6
|
+
} from "./command-30bemqd7.js";
|
|
10
7
|
import {
|
|
11
8
|
ID13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./command-93ee6ynz.js";
|
|
10
|
+
import {
|
|
11
|
+
ID12
|
|
12
|
+
} from "./command-tdjjjkq6.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID12.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tdjjjkq6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./command-4mpvz957.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service74;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin9, exports_verbosity };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-k0z9xgt2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin8,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin8 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin21 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin8, exports_tavily };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5851zxg9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./command-cdq1pcjt.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./command-vfybh93w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin16 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service82;
|
|
200
|
+
const mcp = yield* Service40;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin16, exports_command };
|