@opencode/core 0.0.0-dev-19290 → 0.0.0-dev-19291
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-rqe8k6zz.js → workspace-0cmfkvjr.js} +33 -33
- package/dist/chunks/{file-mutation-x1cwef45.js → workspace-0em1p5dp.js} +71 -71
- package/dist/chunks/{file-mutation-s8d7rejh.js → workspace-0gdmqesm.js} +4 -4
- package/dist/chunks/{file-mutation-3c1tgrea.js → workspace-0hf9g8pg.js} +6 -6
- package/dist/chunks/{file-mutation-7dqw4kz8.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-mutation-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-1szwbpnb.js → workspace-0s5v0p6k.js} +50 -50
- package/dist/chunks/{file-mutation-ycfq134k.js → workspace-0yq4eb34.js} +23 -23
- package/dist/chunks/{file-mutation-4987xj8v.js → workspace-10dffqyq.js} +22 -22
- package/dist/chunks/{file-mutation-jp8zdrch.js → workspace-12jdhdht.js} +9 -9
- package/dist/chunks/{file-mutation-bmkgz7g4.js → workspace-15pjexzy.js} +13 -13
- package/dist/chunks/{file-mutation-tzgbtwt8.js → workspace-19g3xj2s.js} +32 -32
- package/dist/chunks/{file-mutation-1acjjqhc.js → workspace-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
- package/dist/chunks/{file-mutation-bjkwpmm4.js → workspace-1ev0k7s6.js} +8 -8
- package/dist/chunks/{file-mutation-jx68r56q.js → workspace-1jyjw0dy.js} +7 -7
- package/dist/chunks/{file-mutation-gj51d7zm.js → workspace-1s5kemrg.js} +28 -28
- package/dist/chunks/{file-mutation-n2vnpf0s.js → workspace-1s80jvpe.js} +19 -19
- package/dist/chunks/{file-mutation-jgr73rv7.js → workspace-1tbv6t5g.js} +46 -46
- package/dist/chunks/{file-mutation-chnmz1hg.js → workspace-1vtz46z8.js} +8 -8
- package/dist/chunks/{file-mutation-xh32439v.js → workspace-1yafz2c2.js} +24 -24
- package/dist/chunks/{file-mutation-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-5mc8sdd0.js → workspace-2fsj26k1.js} +15 -15
- package/dist/chunks/{file-mutation-jy802t3j.js → workspace-2nyvck04.js} +9 -9
- package/dist/chunks/{file-mutation-nmrfm0gg.js → workspace-2vg72gbq.js} +9 -9
- package/dist/chunks/{file-mutation-sg6k5evp.js → workspace-2yamwwtx.js} +10 -10
- package/dist/chunks/{file-mutation-vy0fz0t1.js → workspace-317x7tvz.js} +16 -16
- package/dist/chunks/{file-mutation-mv963wd8.js → workspace-323qkwbp.js} +10 -10
- package/dist/chunks/{file-mutation-56gdpj1q.js → workspace-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-mutation-eyw5y5ns.js → workspace-36jkazxa.js} +5 -5
- package/dist/chunks/{file-mutation-2z69z2z6.js → workspace-39mbwg99.js} +10 -10
- package/dist/chunks/{file-mutation-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-b6ef75he.js → workspace-3q6hd4jt.js} +12 -12
- package/dist/chunks/{file-mutation-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-gt0cxfk7.js → workspace-3trbxeqx.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-p9jw5g8v.js → workspace-3v77a270.js} +28 -28
- package/dist/chunks/{file-mutation-f5afc4hg.js → workspace-40ztfmwz.js} +17 -17
- package/dist/chunks/{file-mutation-nz2mz1gd.js → workspace-42h2bxtq.js} +10 -10
- package/dist/chunks/{file-mutation-wes06vxe.js → workspace-43bvnm0c.js} +32 -32
- package/dist/chunks/{file-mutation-1e6zf924.js → workspace-48hw3qw3.js} +22 -22
- package/dist/chunks/{file-mutation-8m1xr3ks.js → workspace-4d61g8er.js} +45 -45
- package/dist/chunks/{file-mutation-94s48bjb.js → workspace-4dg124c5.js} +5 -5
- package/dist/chunks/{file-mutation-drknmmyh.js → workspace-4jmdj23e.js} +9 -9
- package/dist/chunks/{file-mutation-hswn8xy3.js → workspace-4rd6evxz.js} +18 -18
- package/dist/chunks/{file-mutation-hmhbz54a.js → workspace-4t57t1en.js} +14 -14
- package/dist/chunks/{file-mutation-cfkkrys1.js → workspace-4tq5d7x2.js} +25 -25
- package/dist/chunks/{file-mutation-b20qtm1y.js → workspace-4zb7zm34.js} +10 -10
- package/dist/chunks/{file-mutation-66q9z4br.js → workspace-4zbs3q2b.js} +32 -32
- package/dist/chunks/{file-mutation-fkpr039d.js → workspace-50p99xk2.js} +54 -54
- package/dist/chunks/{file-mutation-9afe43sd.js → workspace-51e3a5p7.js} +6 -6
- package/dist/chunks/{file-mutation-mfqdpyct.js → workspace-540a1fgr.js} +36 -36
- package/dist/chunks/{file-mutation-5kkfv654.js → workspace-5aktmhjp.js} +15 -15
- package/dist/chunks/{file-mutation-tds7k197.js → workspace-5cwvq4ff.js} +2 -2
- package/dist/chunks/{file-mutation-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-h50gws74.js → workspace-5jfbnsm9.js} +50 -50
- package/dist/chunks/{file-mutation-vxe4sz8v.js → workspace-5kmnb5g6.js} +15 -15
- package/dist/chunks/{file-mutation-fjmrr6sh.js → workspace-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-mutation-pysvbzwn.js → workspace-5nzafj0m.js} +11 -11
- package/dist/chunks/{file-mutation-pdn4nwyd.js → workspace-5pq3v0sk.js} +18 -18
- package/dist/chunks/{file-mutation-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-tgcbeaxg.js → workspace-5yrg3hxm.js} +5 -5
- package/dist/chunks/{file-mutation-avqavnvr.js → workspace-60stz191.js} +37 -37
- package/dist/chunks/{file-mutation-3zpfh13e.js → workspace-61tdtcny.js} +13 -13
- package/dist/chunks/{file-mutation-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-j87xf96j.js → workspace-66j98p5d.js} +28 -28
- package/dist/chunks/{file-mutation-4zfheq4h.js → workspace-6gfd5xf8.js} +29 -29
- package/dist/chunks/{file-mutation-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-mutation-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-xq7xzvw5.js → workspace-6st33d4x.js} +26 -26
- package/dist/chunks/{file-mutation-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-h06ptj5x.js → workspace-7gb606e6.js} +16 -16
- package/dist/chunks/{file-mutation-k3zgx0jf.js → workspace-7gvp9cq5.js} +11 -11
- package/dist/chunks/{file-mutation-nmh3r2hf.js → workspace-7k17nv4j.js} +24 -24
- package/dist/chunks/{file-mutation-eznmj3sb.js → workspace-7mz653pd.js} +15 -15
- package/dist/chunks/{file-mutation-gexpj94d.js → workspace-7vbk9m4e.js} +18 -18
- package/dist/chunks/{file-mutation-06dxphr1.js → workspace-81czwxpn.js} +4 -4
- package/dist/chunks/{file-mutation-8e68mvyz.js → workspace-83q95eg7.js} +9 -9
- package/dist/chunks/{file-mutation-c7ecgrk6.js → workspace-84tssp1s.js} +6 -6
- package/dist/chunks/{file-mutation-ya82w510.js → workspace-86jav2f7.js} +26 -26
- package/dist/chunks/{file-mutation-bf4xsm60.js → workspace-8761qpcg.js} +36 -36
- package/dist/chunks/{file-mutation-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-db4cj44h.js → workspace-8hpffc5d.js} +15 -15
- package/dist/chunks/{file-mutation-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-38tk2frk.js → workspace-8p83gb6h.js} +6 -6
- package/dist/chunks/{file-mutation-shk0kkcm.js → workspace-90qgvd9n.js} +23 -23
- package/dist/chunks/{file-mutation-30av012k.js → workspace-91xp5nbf.js} +7 -7
- package/dist/chunks/{file-mutation-erj64bxn.js → workspace-93dyhyad.js} +17 -17
- package/dist/chunks/{file-mutation-7w99qc9d.js → workspace-93hpb89x.js} +3 -3
- package/dist/chunks/{file-mutation-89smrnyf.js → workspace-95x6xbkr.js} +4 -4
- package/dist/chunks/{file-mutation-amyqcmk0.js → workspace-97s80yy3.js} +12 -12
- package/dist/chunks/{file-mutation-sh51fs40.js → workspace-9a52esse.js} +26 -26
- package/dist/chunks/{file-mutation-h3x9dy5p.js → workspace-9cex7hp6.js} +57 -57
- package/dist/chunks/{file-mutation-5nsrms9d.js → workspace-9k2v62xn.js} +1 -1
- package/dist/chunks/{file-mutation-4kdtw8t2.js → workspace-9m6qag95.js} +28 -28
- package/dist/chunks/{file-mutation-arjzrn5a.js → workspace-9n5bgjha.js} +11 -11
- package/dist/chunks/{file-mutation-9vh5426k.js → workspace-9phvn7ns.js} +3 -3
- package/dist/chunks/{file-mutation-9zswys26.js → workspace-9zswys26.js} +2 -2
- package/dist/chunks/{file-mutation-hsze3szr.js → workspace-a1963bm0.js} +35 -35
- package/dist/chunks/{file-mutation-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-ccc85ntn.js → workspace-a2vj9kk6.js} +19 -19
- package/dist/chunks/{file-mutation-rr1pnw44.js → workspace-a68v6zx7.js} +8 -8
- package/dist/chunks/{file-mutation-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-jwbqhvyy.js → workspace-af04s6ss.js} +5 -5
- package/dist/chunks/{file-mutation-t41sh3fy.js → workspace-ak2adswv.js} +18 -18
- package/dist/chunks/{file-mutation-844ef7ks.js → workspace-asmz7wyz.js} +8 -8
- package/dist/chunks/{file-mutation-7w3s9kd0.js → workspace-awaee7qt.js} +5 -5
- package/dist/chunks/{file-mutation-1bbvzyjf.js → workspace-awhdw3pf.js} +74 -74
- package/dist/chunks/{file-mutation-0n9gyfew.js → workspace-awz7xhfp.js} +4 -4
- package/dist/chunks/{file-mutation-g4pfa4xx.js → workspace-ayjzdqkx.js} +4 -4
- package/dist/chunks/{file-mutation-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-d8jb5f6w.js → workspace-b8gwhbay.js} +24 -24
- package/dist/chunks/{file-mutation-hn57h045.js → workspace-baaqp4zd.js} +4 -4
- package/dist/chunks/{file-mutation-v3czrx3e.js → workspace-beamd2gc.js} +7 -7
- package/dist/chunks/{file-mutation-5st6evmp.js → workspace-bgqpk6ej.js} +5 -5
- package/dist/chunks/{file-mutation-f0754xwj.js → workspace-bh0wyjv7.js} +6 -6
- package/dist/chunks/{file-mutation-v0pcpx2w.js → workspace-bkqaqtv1.js} +20 -20
- package/dist/chunks/{file-mutation-ddg0keqc.js → workspace-bskx12th.js} +7 -7
- package/dist/chunks/{file-mutation-gn45qare.js → workspace-bsxfqzhc.js} +11 -11
- package/dist/chunks/{file-mutation-fgdcpdkn.js → workspace-bt8hdx22.js} +20 -20
- package/dist/chunks/{file-mutation-tzr8x31v.js → workspace-c0mtdgpv.js} +18 -18
- package/dist/chunks/{file-mutation-h4bphj8q.js → workspace-c4t116nm.js} +6 -6
- package/dist/chunks/{file-mutation-j3se2fan.js → workspace-c82pnra3.js} +30 -30
- package/dist/chunks/workspace-cdm0865e.js +462 -0
- package/dist/chunks/{file-mutation-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-4q68rcfa.js → workspace-cgnjyr8a.js} +50 -50
- package/dist/chunks/{file-mutation-nhwrnnz4.js → workspace-cjsvwj1q.js} +13 -13
- package/dist/chunks/{file-mutation-pyakq9xe.js → workspace-cwtysmh4.js} +12 -12
- package/dist/chunks/{file-mutation-ts3py094.js → workspace-d53dp3ny.js} +11 -11
- package/dist/chunks/{file-mutation-qbqjg59n.js → workspace-d5a42mez.js} +20 -20
- package/dist/chunks/{file-mutation-xnwaa15y.js → workspace-dffz74yj.js} +29 -29
- package/dist/chunks/{file-mutation-et0rkxxj.js → workspace-dgmwn8ez.js} +5 -5
- package/dist/chunks/{file-mutation-5sj81wm5.js → workspace-dj9sq318.js} +5 -5
- package/dist/chunks/{file-mutation-mn0r11pb.js → workspace-dvzjgrza.js} +39 -39
- package/dist/chunks/{file-mutation-z8c31j70.js → workspace-e3b0d0gy.js} +9 -9
- package/dist/chunks/{file-mutation-t85qda8j.js → workspace-e4k3fffr.js} +21 -21
- package/dist/chunks/{file-mutation-0wqxq3st.js → workspace-ed1arge1.js} +18 -18
- package/dist/chunks/{file-mutation-6bbmfhx2.js → workspace-eds7zwp6.js} +30 -30
- package/dist/chunks/{file-mutation-g6dyb386.js → workspace-eh4km76q.js} +27 -27
- package/dist/chunks/{file-mutation-j4g328tf.js → workspace-ej8xv5ds.js} +3 -3
- package/dist/chunks/{file-mutation-mvfsc1pv.js → workspace-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-1wxb385z.js → workspace-esdnemd6.js} +1 -1
- package/dist/chunks/{file-mutation-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-jmx3m735.js → workspace-ewztbjbx.js} +169 -169
- package/dist/chunks/{file-mutation-n39s91yj.js → workspace-f10twq9w.js} +11 -11
- package/dist/chunks/{file-mutation-e8q8ymv9.js → workspace-f4x3f9y9.js} +29 -29
- package/dist/chunks/{file-mutation-gahfey0t.js → workspace-f5agypy8.js} +20 -20
- package/dist/chunks/{file-mutation-hdnk95c8.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-1rn2x45b.js → workspace-fmah640z.js} +13 -13
- package/dist/chunks/{file-mutation-jhetwysa.js → workspace-fq1h1v14.js} +3 -3
- package/dist/chunks/{file-mutation-fg2bnwc2.js → workspace-fvr7jna4.js} +13 -13
- package/dist/chunks/{file-mutation-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-yvmq8qxx.js → workspace-g5twr0sp.js} +12 -12
- package/dist/chunks/{file-mutation-a46v4e4v.js → workspace-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-mutation-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-tb9sktrw.js → workspace-gf3khw20.js} +13 -13
- package/dist/chunks/{file-mutation-493f7437.js → workspace-gk38wydt.js} +17 -17
- package/dist/chunks/{file-mutation-yyb7tjpc.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-tv90gqe8.js → workspace-gwwc15b8.js} +15 -15
- package/dist/chunks/{file-mutation-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-t8mcaem5.js → workspace-h2gyv3sg.js} +1 -1
- package/dist/chunks/{file-mutation-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-q8qja58b.js → workspace-h7ygw6q4.js} +2 -2
- package/dist/chunks/{file-mutation-9f29k48v.js → workspace-hrhrxexm.js} +4 -4
- package/dist/chunks/{file-mutation-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-9d2a04sx.js → workspace-j69p6wmc.js} +28 -28
- package/dist/chunks/{file-mutation-czzymjv3.js → workspace-j6rj9xt6.js} +41 -41
- package/dist/chunks/{file-mutation-fszq3ebn.js → workspace-jab8rdhp.js} +6 -6
- package/dist/chunks/{file-mutation-k92qbpdh.js → workspace-jh06ctgk.js} +35 -35
- package/dist/chunks/{file-mutation-vy4zx9mg.js → workspace-jwqth68t.js} +22 -22
- package/dist/chunks/{file-mutation-8xvfbpps.js → workspace-jxn2j4b1.js} +6 -6
- package/dist/chunks/{file-mutation-ay0mqvsw.js → workspace-k19spz14.js} +4 -4
- package/dist/chunks/{file-mutation-m1mhztjg.js → workspace-k1hbjbhr.js} +46 -46
- package/dist/chunks/{file-mutation-jt1jb6n6.js → workspace-kenqsagb.js} +6 -6
- package/dist/chunks/{file-mutation-9m1j547z.js → workspace-kfdzm4dd.js} +28 -28
- package/dist/chunks/{file-mutation-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-j1f3bjwj.js → workspace-kma43rbx.js} +33 -33
- package/dist/chunks/{file-mutation-cpy6gm2a.js → workspace-kxpygcw9.js} +6 -6
- package/dist/chunks/{file-mutation-apj1wc8h.js → workspace-m95v7z6z.js} +16 -16
- package/dist/chunks/{file-mutation-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-edbejkys.js → workspace-mpxhxrb2.js} +21 -21
- package/dist/chunks/{file-mutation-jva4mgym.js → workspace-mqy0jkn2.js} +4 -4
- package/dist/chunks/{file-mutation-ce2hxja8.js → workspace-mrk2ms14.js} +40 -40
- package/dist/chunks/{file-mutation-en74w496.js → workspace-mrw4weg4.js} +5 -5
- package/dist/chunks/{file-mutation-5dtztt9w.js → workspace-mtd5x7py.js} +20 -20
- package/dist/chunks/{file-mutation-4xtbmw5z.js → workspace-mw6ans9c.js} +5 -5
- package/dist/chunks/{file-mutation-me8n1f0m.js → workspace-mxj2eewr.js} +23 -23
- package/dist/chunks/{file-mutation-fqccbatp.js → workspace-n51qh0r9.js} +8 -8
- package/dist/chunks/{file-mutation-hjt4xg1x.js → workspace-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-mutation-qj8eh1ht.js → workspace-nrdmrqsx.js} +4 -4
- package/dist/chunks/{file-mutation-txcgvecv.js → workspace-ntgxvp5h.js} +11 -11
- package/dist/chunks/{file-mutation-3b4h19dh.js → workspace-p129658b.js} +17 -17
- package/dist/chunks/{file-mutation-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-5jsmfmw5.js → workspace-pkjnw8xf.js} +27 -27
- package/dist/chunks/{file-mutation-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-9dbsfx6n.js → workspace-pn6nrrpr.js} +27 -27
- package/dist/chunks/{file-mutation-xycjtdwc.js → workspace-pq4st5kv.js} +2 -2
- package/dist/chunks/{file-mutation-zhsd0qzh.js → workspace-q265yh5d.js} +9 -9
- package/dist/chunks/{file-mutation-ve4pfa0n.js → workspace-q2b1ymqp.js} +4 -4
- package/dist/chunks/{file-mutation-vp5vmy86.js → workspace-q3jq24j1.js} +8 -8
- package/dist/chunks/workspace-q509s3k3.js +18 -0
- package/dist/chunks/{file-mutation-ek135dac.js → workspace-qkek724z.js} +8 -8
- package/dist/chunks/{file-mutation-t3swkhbg.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{file-mutation-ra8drftq.js → workspace-qqbqqn54.js} +40 -40
- package/dist/chunks/{file-mutation-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-xb3f970q.js → workspace-qzyph8ek.js} +10 -10
- package/dist/chunks/{file-mutation-1qky1dph.js → workspace-r0nnab1q.js} +27 -27
- package/dist/chunks/{file-mutation-rjdxcr83.js → workspace-r7x04355.js} +36 -36
- package/dist/chunks/{file-mutation-x1r77kwh.js → workspace-rdz2tx67.js} +3 -3
- package/dist/chunks/{file-mutation-ew4n0ysj.js → workspace-rjqwr5dw.js} +24 -24
- package/dist/chunks/{file-mutation-5y3v8yyp.js → workspace-rme5v0wm.js} +10 -10
- package/dist/chunks/{file-mutation-y4kvf6na.js → workspace-rrjgssxh.js} +46 -46
- package/dist/chunks/{file-mutation-4mkcvr19.js → workspace-rs226bz6.js} +5 -5
- package/dist/chunks/{file-mutation-5bdbc12f.js → workspace-rtv6ahp9.js} +6 -6
- package/dist/chunks/{file-mutation-b2yvxq9g.js → workspace-rztdx977.js} +9 -9
- package/dist/chunks/{file-mutation-1zd2z3e5.js → workspace-s2bazk07.js} +26 -26
- package/dist/chunks/{file-mutation-989x2e3r.js → workspace-s5g9mpsf.js} +4 -4
- package/dist/chunks/{file-mutation-11n1c7wa.js → workspace-s6jr34qb.js} +31 -31
- package/dist/chunks/{file-mutation-v68haqbh.js → workspace-s7731dqm.js} +2 -2
- package/dist/chunks/{file-mutation-kk8h1mek.js → workspace-sp5zyyma.js} +8 -8
- package/dist/chunks/{file-mutation-xeqvbkwb.js → workspace-srvat6zp.js} +6 -6
- package/dist/chunks/{file-mutation-6h3wybc7.js → workspace-t6msp11s.js} +6 -6
- package/dist/chunks/{file-mutation-382x1p91.js → workspace-t6qa8pj9.js} +20 -20
- package/dist/chunks/{file-mutation-fpkv3smw.js → workspace-t7b1xacm.js} +8 -8
- package/dist/chunks/{file-mutation-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-vd2v5vf9.js → workspace-v1cqtm69.js} +16 -16
- package/dist/chunks/{file-mutation-q5rhn9x0.js → workspace-v84z85pp.js} +11 -11
- package/dist/chunks/{file-mutation-8tn5cth9.js → workspace-v9ct93z2.js} +8 -8
- package/dist/chunks/{file-mutation-zxwpk2nb.js → workspace-vabb23s0.js} +1 -1
- package/dist/chunks/{file-mutation-ab0k302h.js → workspace-ve0zfa78.js} +11 -11
- package/dist/chunks/{file-mutation-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-83x6p9kd.js → workspace-vypqtakx.js} +1 -1
- package/dist/chunks/{file-mutation-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-pck3w1ab.js → workspace-vze96k0n.js} +4 -4
- package/dist/chunks/{file-mutation-r8bq8m7e.js → workspace-w23a9fg2.js} +3 -3
- package/dist/chunks/{file-mutation-kbx5grnm.js → workspace-w2ztz3kz.js} +10 -10
- package/dist/chunks/{file-mutation-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-3b8sehd7.js → workspace-wgq3akg3.js} +29 -29
- package/dist/chunks/{file-mutation-sgfkh1bp.js → workspace-wkwfxgj3.js} +4 -4
- package/dist/chunks/{file-mutation-30evxvz3.js → workspace-wmqmw210.js} +8 -8
- package/dist/chunks/{file-mutation-v80gs2ga.js → workspace-wn4kdw9q.js} +16 -16
- package/dist/chunks/{file-mutation-x2fjf6jt.js → workspace-wv6yb1rv.js} +1 -1
- package/dist/chunks/{file-mutation-vy4m5cs8.js → workspace-wwhdthxc.js} +28 -28
- package/dist/chunks/{file-mutation-c51gv9kq.js → workspace-wynthrjp.js} +6 -6
- package/dist/chunks/{file-mutation-0achb7g5.js → workspace-wzkwse1s.js} +15 -15
- package/dist/chunks/workspace-x1a21s98.js +247 -0
- package/dist/chunks/{file-mutation-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-4gd699e5.js → workspace-xkzbfh0m.js} +13 -13
- package/dist/chunks/{file-mutation-d50f2zf5.js → workspace-xmh8jj88.js} +1 -1
- package/dist/chunks/{file-mutation-qkkbqqha.js → workspace-xp88wr07.js} +9 -9
- package/dist/chunks/{file-mutation-16ry34za.js → workspace-xwwm14an.js} +9 -9
- package/dist/chunks/{file-mutation-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/workspace-y31r8zkp.js +22 -0
- package/dist/chunks/{file-mutation-y71avatq.js → workspace-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-1a3znk6y.js → workspace-ya5s98jd.js} +11 -11
- package/dist/chunks/{file-mutation-vj8zb37n.js → workspace-yagmabmz.js} +4 -4
- package/dist/chunks/{file-mutation-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-zysaywdt.js → workspace-yyhgy33t.js} +13 -13
- package/dist/chunks/{file-mutation-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{file-mutation-9pxaqpvj.js → workspace-z9xz7t7m.js} +19 -19
- package/dist/chunks/{file-mutation-rq775frq.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-bwa99ep7.js → workspace-zka56nxw.js} +25 -25
- package/dist/chunks/{file-mutation-c4peqche.js → workspace-zke2pdp6.js} +11 -11
- package/dist/chunks/{file-mutation-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-9s0e0bnb.js → workspace-zyzp2298.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +92 -92
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +143 -143
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +101 -101
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
- package/dist/chunks/file-mutation-46q9gth8.js +0 -22
- package/dist/chunks/file-mutation-5wmax8g7.js +0 -462
- package/dist/chunks/file-mutation-e1prnxjm.js +0 -247
- /package/dist/chunks/{file-mutation-0mesazry.js → workspace-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-paphc93g.js → workspace-paphc93g.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-g5twr0sp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./workspace-1tbv6t5g.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-91xp5nbf.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service41;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID15.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./workspace-0yq4eb34.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-xkzbfh0m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service15
|
|
11
|
+
} from "./workspace-7mz653pd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service56
|
|
14
|
+
} from "./workspace-50p99xk2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./workspace-ed1arge1.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin9,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin9 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service40;
|
|
58
|
+
const formatter = yield* Service15;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input8,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent5, Plugin9, exports_write };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
node58
|
|
7
|
+
} from "./workspace-dvzjgrza.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service37,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer14,
|
|
20
|
+
node: () => node41
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service55;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service37.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node41 = makeLocationNode({
|
|
67
|
+
service: Service37,
|
|
68
|
+
layer: layer14,
|
|
69
|
+
deps: [node58, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service37, layer14, node41, exports_generate2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./workspace-1tbv6t5g.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./workspace-0yq4eb34.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./workspace-p129658b.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./workspace-50p99xk2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-ed1arge1.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service48,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-93dyhyad.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service38
|
|
37
|
+
} from "./workspace-cgnjyr8a.js";
|
|
38
38
|
import {
|
|
39
39
|
Service20
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-awhdw3pf.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-hrhrxexm.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -79,7 +79,7 @@ var Input8 = Schema.Struct({
|
|
|
79
79
|
description: `Timeout in milliseconds. Set to 0 to disable the timeout. Defaults to ${DEFAULT_TIMEOUT_MS2} for foreground commands. Background commands have no timeout by default.`
|
|
80
80
|
}),
|
|
81
81
|
background: Schema.optionalKey(Schema.Boolean).annotate({
|
|
82
|
-
description: "Run the command in the background and return immediately. You will be notified when it completes. DO NOT poll
|
|
82
|
+
description: "Run the command in the background and return immediately (useful for dev servers and long-running builds). You do not need to use '&' at the end of the command when using this parameter. You will be notified when it completes. DO NOT poll for completion."
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
var StructuredOutput = Schema.Struct({
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
121
|
const sessions = yield* Service20;
|
|
122
|
-
const jobs = yield*
|
|
122
|
+
const jobs = yield* Service67;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service40;
|
|
125
|
+
const access = yield* Service19;
|
|
126
|
+
const shell = yield* Service38;
|
|
127
|
+
const shellSelect = yield* Service48;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service56;
|
|
130
|
+
const config = yield* Service41;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin26 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name6,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin26 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name6,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input6,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin26 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name6,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name6];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service45,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node49
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service45 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service45.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node49 = makeLocationNode({ service: Service45, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service45, node49, exports_image2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./workspace-wn4kdw9q.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./workspace-v1cqtm69.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service35,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node39
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service35 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service61;
|
|
45
45
|
const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
115
115
|
const registered = events.get(name);
|
|
116
116
|
if (!registered)
|
|
117
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service61, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service35.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [node84, node64] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service35, node39, exports_rpc, define2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service41
|
|
4
|
+
} from "./workspace-1tbv6t5g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./workspace-93dyhyad.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service41;
|
|
27
|
+
const shell = yield* Service48;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin11 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin30, exports_shell2 };
|