@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-hnfbx6gz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-5851zxg9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node54
|
|
12
|
+
} from "./command-0md8jbwq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service47,
|
|
15
|
+
node49
|
|
16
|
+
} from "./command-sq4s6wq1.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./command-ssfehs1z.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service44
|
|
26
|
+
} from "./command-ztf6n3de.js";
|
|
27
27
|
import {
|
|
28
28
|
Service69,
|
|
29
29
|
node73
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-zrjs9xec.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-egzpwr9w.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-01b4dp20.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service43,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node46,
|
|
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 Service43 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
|
|
62
|
+
var layer19 = Layer.effect(Service43, Effect.gen(function* () {
|
|
63
63
|
const store = yield* Service69;
|
|
64
|
-
const instances = yield*
|
|
64
|
+
const instances = yield* Service47;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service52;
|
|
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 layer18 = Layer.effect(Service42, 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* Service44.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 layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [node73,
|
|
126
|
+
var node46 = makeGlobalNode({
|
|
127
|
+
service: Service43,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node73, node49, node89, node90, node54]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.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(Service42, Service42.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service43, terminal2, layer19, node46, noopLayer2, exports_execution };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-hnfbx6gz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5851zxg9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service76
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-2n3kxmrb.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service38,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-8x060fmy.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
make12,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-3j1x65zx.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event4,
|
|
31
31
|
GuiBundle: () => GuiBundle2,
|
|
32
|
-
ID: () =>
|
|
33
|
-
Info: () =>
|
|
32
|
+
ID: () => ID3,
|
|
33
|
+
Info: () => Info5,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service38,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node23
|
|
40
40
|
});
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event4, GuiBundle as GuiBundle2, ID as ID3, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
48
48
|
const bus = yield* Service85;
|
|
49
49
|
const kv = yield* Service76;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
79
79
|
const code = yield* Effect.promise(() => readFile(fileURLToPath(gui.file), "utf8"));
|
|
80
80
|
return { code, revision: gui.revision, options: gui.options };
|
|
81
81
|
});
|
|
82
|
-
const host = yield*
|
|
82
|
+
const host = yield* make12({ list });
|
|
83
83
|
const load = Effect.fnUntraced(function* (plugin) {
|
|
84
84
|
const activation = { plugin, scope: yield* Scope.fork(scope) };
|
|
85
85
|
const inherit = yield* inherit2();
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service38.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node23 = Node.makeLocationNode({
|
|
236
|
+
service: Service38,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node23, exports_plugin2, Event4, GuiBundle2, ID3, Info5, Source2, State2 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./command-vfybh93w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./command-07b35671.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-m7h6p2mz.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin48
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin48 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service40;
|
|
29
|
+
const permission = yield* Service67;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin15 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin48, exports_mcp_resource };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-hnfbx6gz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-5851zxg9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID14,
|
|
26
|
+
Info: () => Info25,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service78,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node82
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID14 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event17 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID14,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service86).db;
|
|
59
59
|
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info25({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service78.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info25({
|
|
95
|
+
id: input.id ?? ID14.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node90, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID14, OAuth3, Key4, External2, Value2, Event17, Info25, Service78, node82, exports_credential };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-hnfbx6gz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./command-cn1mgj56.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-8x060fmy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./command-msj7tqt3.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-5kbev7nh.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-tvv0tn9w.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service66
|
|
30
|
+
} from "./command-r6drjba7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service70;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service66;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service64;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./command-0rq6zj2e.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./command-07b35671.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
|
+
Output: () => Output3,
|
|
21
|
+
Plugin: () => Plugin38,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name3,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name3 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input3 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output3 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin38 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service71;
|
|
68
|
+
const permission = yield* Service67;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input3,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name3,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin9 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name3, Info2, Input3, Output3, summarize2, Plugin38, exports_todo };
|