@opencode/core 0.0.0-dev-19290 → 0.0.0-dev-19292
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-1dfhrqqs.js → filesystem-0hpxrkyb.js} +5 -5
- package/dist/chunks/{file-mutation-edbejkys.js → filesystem-0ja9s148.js} +23 -23
- package/dist/chunks/{file-mutation-tzr8x31v.js → filesystem-0my5tm07.js} +16 -16
- package/dist/chunks/{file-mutation-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-gexpj94d.js → filesystem-182ekf6d.js} +15 -15
- package/dist/chunks/{file-mutation-jhetwysa.js → filesystem-18cztcj7.js} +3 -3
- package/dist/chunks/{file-mutation-1acjjqhc.js → filesystem-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-en74w496.js → filesystem-1ah30sey.js} +5 -5
- package/dist/chunks/{file-mutation-4q68rcfa.js → filesystem-1d6xgsn1.js} +49 -49
- package/dist/chunks/{file-mutation-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-apj1wc8h.js → filesystem-1j4zjt90.js} +20 -20
- package/dist/chunks/{file-mutation-rjdxcr83.js → filesystem-1pmr1wh0.js} +36 -36
- package/dist/chunks/{file-mutation-5st6evmp.js → filesystem-1rrwdqhg.js} +5 -5
- package/dist/chunks/{file-mutation-xnwaa15y.js → filesystem-1s6e1gpa.js} +29 -29
- package/dist/chunks/{file-mutation-fpkv3smw.js → filesystem-1ypbpeza.js} +10 -10
- package/dist/chunks/{file-mutation-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-eyw5y5ns.js → filesystem-29bacfvv.js} +5 -5
- package/dist/chunks/{file-mutation-tb9sktrw.js → filesystem-29k8s8e4.js} +18 -18
- package/dist/chunks/{file-mutation-z63w68vq.js → filesystem-29x78va6.js} +6 -6
- package/dist/chunks/{file-mutation-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-ce2hxja8.js → filesystem-2chnyb6y.js} +35 -35
- package/dist/chunks/{file-mutation-c7ecgrk6.js → filesystem-2d6j2h4j.js} +6 -6
- package/dist/chunks/{file-mutation-jmx3m735.js → filesystem-2fjmmd1n.js} +175 -175
- package/dist/chunks/{file-mutation-493f7437.js → filesystem-2g4a82s9.js} +17 -17
- package/dist/chunks/{file-mutation-9f29k48v.js → filesystem-2hybh429.js} +4 -4
- package/dist/chunks/{file-mutation-7dqw4kz8.js → filesystem-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-zhsd0qzh.js → filesystem-2mrtaxmf.js} +9 -9
- package/dist/chunks/{file-mutation-89smrnyf.js → filesystem-2tfmgkzg.js} +4 -4
- package/dist/chunks/{file-mutation-chnmz1hg.js → filesystem-2vnwx32a.js} +7 -7
- package/dist/chunks/{file-mutation-hn57h045.js → filesystem-2vs2nh1n.js} +4 -4
- package/dist/chunks/{file-mutation-nmh3r2hf.js → filesystem-306yx9xs.js} +24 -24
- package/dist/chunks/{file-mutation-1wxb385z.js → filesystem-31dz7cp4.js} +1 -1
- package/dist/chunks/{file-mutation-vxe4sz8v.js → filesystem-33yyfjes.js} +15 -15
- package/dist/chunks/{file-mutation-9d2a04sx.js → filesystem-36q2s365.js} +28 -28
- package/dist/chunks/{file-mutation-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-d50f2zf5.js → filesystem-3jp54z3r.js} +1 -1
- package/dist/chunks/{file-mutation-sg6k5evp.js → filesystem-3nbz8wd3.js} +10 -10
- package/dist/chunks/{file-mutation-jgr73rv7.js → filesystem-3rz5xnhe.js} +44 -44
- package/dist/chunks/{file-mutation-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-30evxvz3.js → filesystem-45pqravd.js} +8 -8
- package/dist/chunks/{file-mutation-et0rkxxj.js → filesystem-4nvekdmf.js} +8 -8
- package/dist/chunks/{file-mutation-m1mhztjg.js → filesystem-4r3mqmdm.js} +44 -44
- package/dist/chunks/{file-mutation-g6dyb386.js → filesystem-4zskx0sx.js} +33 -33
- package/dist/chunks/{file-mutation-8m1xr3ks.js → filesystem-52j78j64.js} +47 -47
- package/dist/chunks/{file-mutation-j1f3bjwj.js → filesystem-55azg7hm.js} +35 -35
- package/dist/chunks/{file-mutation-j4g328tf.js → filesystem-560shqbd.js} +3 -3
- package/dist/chunks/{file-mutation-56gdpj1q.js → filesystem-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-5c4hm403.js → filesystem-5c4hm403.js} +3 -3
- package/dist/chunks/{file-mutation-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-zxwpk2nb.js → filesystem-5jtdmvnp.js} +1 -1
- package/dist/chunks/{file-mutation-vj8zb37n.js → filesystem-5nzkepsx.js} +4 -4
- package/dist/chunks/{file-mutation-382x1p91.js → filesystem-5qsm3jka.js} +20 -20
- package/dist/chunks/{file-mutation-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-5kkfv654.js → filesystem-610n7dfb.js} +17 -17
- package/dist/chunks/{file-mutation-4gd699e5.js → filesystem-6175y1py.js} +13 -13
- package/dist/chunks/{file-mutation-vd2v5vf9.js → filesystem-61938heb.js} +17 -17
- package/dist/chunks/{file-mutation-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-k3zgx0jf.js → filesystem-68rttjrp.js} +25 -25
- package/dist/chunks/{file-mutation-q8qja58b.js → filesystem-6jnybvqn.js} +9 -9
- package/dist/chunks/{file-mutation-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-c4peqche.js → filesystem-6nvdcf2p.js} +11 -11
- package/dist/chunks/{file-mutation-8xvfbpps.js → filesystem-6v7xqtha.js} +6 -6
- package/dist/chunks/{file-mutation-66q9z4br.js → filesystem-6wfg927e.js} +30 -30
- package/dist/chunks/{file-mutation-amyqcmk0.js → filesystem-70h0dqcv.js} +12 -12
- package/dist/chunks/{file-mutation-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-7w99qc9d.js → filesystem-721tb84k.js} +3 -3
- package/dist/chunks/{file-mutation-gj51d7zm.js → filesystem-73df9qch.js} +28 -28
- package/dist/chunks/{file-mutation-3zpfh13e.js → filesystem-77934d6b.js} +13 -13
- package/dist/chunks/{file-mutation-eznmj3sb.js → filesystem-77kqwf55.js} +15 -15
- package/dist/chunks/{file-mutation-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-5dtztt9w.js → filesystem-7d9rgk6v.js} +20 -20
- package/dist/chunks/{file-mutation-ra8drftq.js → filesystem-7g04y0rf.js} +41 -41
- package/dist/chunks/{file-mutation-fg2bnwc2.js → filesystem-7stty0k9.js} +13 -13
- package/dist/chunks/{file-mutation-v68haqbh.js → filesystem-7wc683m2.js} +2 -2
- package/dist/chunks/{file-mutation-8tn5cth9.js → filesystem-7xcv53jd.js} +8 -8
- package/dist/chunks/{file-mutation-mn0r11pb.js → filesystem-7yjg4qch.js} +41 -41
- package/dist/chunks/{file-mutation-7w3s9kd0.js → filesystem-7yqnf43w.js} +4 -4
- package/dist/chunks/{file-mutation-yvmq8qxx.js → filesystem-80e0yyk8.js} +12 -12
- package/dist/chunks/{file-mutation-qkkbqqha.js → filesystem-81swgkk7.js} +9 -9
- package/dist/chunks/{file-mutation-844ef7ks.js → filesystem-844ef7ks.js} +1 -1
- package/dist/chunks/{file-mutation-q5rhn9x0.js → filesystem-851r6173.js} +12 -12
- package/dist/chunks/{file-mutation-5jsmfmw5.js → filesystem-85g0gjbv.js} +25 -25
- package/dist/chunks/{file-mutation-5bdbc12f.js → filesystem-87deq66t.js} +6 -6
- package/dist/chunks/{file-mutation-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-k92qbpdh.js → filesystem-8eyjkgz3.js} +34 -34
- package/dist/chunks/{file-mutation-ab0k302h.js → filesystem-8fjdeang.js} +12 -12
- package/dist/chunks/{file-mutation-38tk2frk.js → filesystem-8z6evsjd.js} +6 -6
- package/dist/chunks/{file-mutation-9afe43sd.js → filesystem-9afe43sd.js} +2 -2
- package/dist/chunks/{file-mutation-pyakq9xe.js → filesystem-9bey2zpa.js} +12 -12
- package/dist/chunks/{file-mutation-4zfheq4h.js → filesystem-9d8ap61w.js} +29 -29
- package/dist/chunks/{file-mutation-1e6zf924.js → filesystem-9g4h0krc.js} +25 -25
- package/dist/chunks/{file-mutation-h50gws74.js → filesystem-9m17q65d.js} +49 -49
- package/dist/chunks/{file-mutation-5mc8sdd0.js → filesystem-9pdjfdc0.js} +15 -15
- package/dist/chunks/{file-mutation-sh51fs40.js → filesystem-9vf0b0kg.js} +25 -25
- package/dist/chunks/{file-mutation-h06ptj5x.js → filesystem-9yx1vv9a.js} +13 -13
- package/dist/chunks/{file-mutation-cpy6gm2a.js → filesystem-9z2n9fsv.js} +4 -4
- package/dist/chunks/{file-mutation-9zswys26.js → filesystem-9zswys26.js} +2 -2
- package/dist/chunks/{file-mutation-b2yvxq9g.js → filesystem-a2rp47zj.js} +9 -9
- package/dist/chunks/{file-mutation-a46v4e4v.js → filesystem-a46v4e4v.js} +1 -1
- package/dist/chunks/{file-mutation-0n9gyfew.js → filesystem-a4exdnt3.js} +4 -4
- package/dist/chunks/{file-mutation-mfqdpyct.js → filesystem-a79c2avy.js} +30 -30
- package/dist/chunks/{file-mutation-9dbsfx6n.js → filesystem-aabx2j0n.js} +27 -27
- package/dist/chunks/{file-mutation-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-ycfq134k.js → filesystem-abzdtrwv.js} +24 -24
- package/dist/chunks/{file-mutation-wes06vxe.js → filesystem-ac9yf703.js} +29 -29
- package/dist/chunks/{file-mutation-h4bphj8q.js → filesystem-afc89ev1.js} +9 -9
- package/dist/chunks/{file-mutation-6bbmfhx2.js → filesystem-am15qhr4.js} +32 -32
- package/dist/chunks/{file-mutation-1bbvzyjf.js → filesystem-apbzxcta.js} +90 -90
- package/dist/chunks/{file-mutation-fgdcpdkn.js → filesystem-at1f71x6.js} +17 -17
- package/dist/chunks/{file-mutation-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-bmkgz7g4.js → filesystem-b6vhrqz2.js} +13 -13
- package/dist/chunks/{file-mutation-fkpr039d.js → filesystem-bpzgnhx9.js} +56 -56
- package/dist/chunks/{file-mutation-tgcbeaxg.js → filesystem-bq07s7py.js} +5 -5
- package/dist/chunks/{file-mutation-y4kvf6na.js → filesystem-bsfhgqyd.js} +46 -46
- package/dist/chunks/{file-mutation-1zd2z3e5.js → filesystem-c3h4b1pf.js} +28 -28
- package/dist/chunks/{file-mutation-tv90gqe8.js → filesystem-ca4qmn19.js} +19 -19
- package/dist/chunks/{file-mutation-fqccbatp.js → filesystem-cc3f4dqb.js} +8 -8
- package/dist/chunks/{file-mutation-kk8h1mek.js → filesystem-cny5rd43.js} +8 -8
- package/dist/chunks/{file-mutation-xb3f970q.js → filesystem-crzr9tv5.js} +11 -11
- package/dist/chunks/{file-mutation-9s0e0bnb.js → filesystem-csa1wr7g.js} +13 -13
- package/dist/chunks/{file-mutation-06dxphr1.js → filesystem-csf2jhsg.js} +4 -4
- package/dist/chunks/{file-mutation-arjzrn5a.js → filesystem-cv4ngb9q.js} +11 -11
- package/dist/chunks/{file-mutation-f5afc4hg.js → filesystem-cvx3h1xc.js} +14 -14
- package/dist/chunks/{file-mutation-vp5vmy86.js → filesystem-d6jf792w.js} +18 -18
- package/dist/chunks/{file-mutation-1szwbpnb.js → filesystem-dbftckt4.js} +61 -61
- package/dist/chunks/{file-mutation-czzymjv3.js → filesystem-ddztgakg.js} +41 -41
- package/dist/chunks/filesystem-de4mmwy9.js +247 -0
- package/dist/chunks/{file-mutation-94s48bjb.js → filesystem-dfzjqex4.js} +5 -5
- package/dist/chunks/{file-mutation-dj2t23y0.js → filesystem-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-mutation-pysvbzwn.js → filesystem-dm4dnfc4.js} +11 -11
- package/dist/chunks/{file-mutation-xycjtdwc.js → filesystem-e0prvjnp.js} +2 -2
- package/dist/chunks/{file-mutation-s8d7rejh.js → filesystem-eaj1djv9.js} +6 -6
- package/dist/chunks/{file-mutation-r8bq8m7e.js → filesystem-eeavwd92.js} +3 -3
- package/dist/chunks/{file-mutation-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-6h3wybc7.js → filesystem-f2gse5fy.js} +6 -6
- package/dist/chunks/{file-mutation-t8mcaem5.js → filesystem-f9bavhm2.js} +1 -1
- package/dist/chunks/{file-mutation-4kdtw8t2.js → filesystem-f9jz9apw.js} +28 -28
- package/dist/chunks/{file-mutation-e8q8ymv9.js → filesystem-ff6crjyd.js} +32 -32
- package/dist/chunks/{file-mutation-3b8sehd7.js → filesystem-fffs15cf.js} +29 -29
- package/dist/chunks/{file-mutation-qbqjg59n.js → filesystem-fkf7rt1g.js} +17 -17
- package/dist/chunks/{file-mutation-5sj81wm5.js → filesystem-fpmq6gma.js} +5 -5
- package/dist/chunks/{file-mutation-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-ek135dac.js → filesystem-fyjrpq2n.js} +5 -5
- package/dist/chunks/{file-mutation-x1r77kwh.js → filesystem-g5g6qkd8.js} +3 -3
- package/dist/chunks/filesystem-gbeg4n2a.js +22 -0
- package/dist/chunks/{file-mutation-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-b6ef75he.js → filesystem-gepszj42.js} +18 -18
- package/dist/chunks/{file-mutation-yyb7tjpc.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-hdnk95c8.js → filesystem-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-mutation-xeqvbkwb.js → filesystem-hdxhjexh.js} +6 -6
- package/dist/chunks/{file-mutation-hjt4xg1x.js → filesystem-hjt4xg1x.js} +1 -1
- package/dist/chunks/{file-mutation-pck3w1ab.js → filesystem-hv2e1k7y.js} +4 -4
- package/dist/chunks/{file-mutation-tzgbtwt8.js → filesystem-hwdsezy6.js} +32 -32
- package/dist/chunks/{file-mutation-x1cwef45.js → filesystem-j2d2x7tv.js} +86 -86
- package/dist/chunks/{file-mutation-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-nhwrnnz4.js → filesystem-j86xyryf.js} +18 -18
- package/dist/chunks/{file-mutation-cfkkrys1.js → filesystem-j8xrsd60.js} +21 -21
- package/dist/chunks/{file-mutation-paphc93g.js → filesystem-j935v87r.js} +2 -2
- package/dist/chunks/{file-mutation-hmhbz54a.js → filesystem-jbd8s1pr.js} +14 -14
- package/dist/chunks/{file-mutation-5y3v8yyp.js → filesystem-jefma2gq.js} +10 -10
- package/dist/chunks/{file-mutation-hsze3szr.js → filesystem-jgeey3vd.js} +33 -33
- package/dist/chunks/{file-mutation-4xtbmw5z.js → filesystem-jmgfrcfm.js} +2 -2
- package/dist/chunks/{file-mutation-hswn8xy3.js → filesystem-jrjrrhp8.js} +23 -23
- package/dist/chunks/{file-mutation-avqavnvr.js → filesystem-jtc6bzgn.js} +34 -34
- package/dist/chunks/{file-mutation-vy0fz0t1.js → filesystem-jw6vwvft.js} +16 -16
- package/dist/chunks/{file-mutation-83x6p9kd.js → filesystem-jy16bfac.js} +1 -1
- package/dist/chunks/{file-mutation-jt1jb6n6.js → filesystem-jzdnffp3.js} +9 -9
- package/dist/chunks/{file-mutation-9vh5426k.js → filesystem-k0k8y9a7.js} +3 -3
- package/dist/chunks/{file-mutation-ddg0keqc.js → filesystem-k8zgzs4j.js} +7 -7
- package/dist/chunks/{file-mutation-30av012k.js → filesystem-kam6mwnv.js} +7 -7
- package/dist/chunks/{file-mutation-kg06axw8.js → filesystem-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-11n1c7wa.js → filesystem-knac7z16.js} +29 -29
- package/dist/chunks/{file-mutation-n2vnpf0s.js → filesystem-kxf93db8.js} +30 -30
- package/dist/chunks/{file-mutation-m0jqrx5p.js → filesystem-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-mutation-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-3b4h19dh.js → filesystem-md8xapqn.js} +17 -17
- package/dist/chunks/{file-mutation-mkcjrzeh.js → filesystem-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-p9jw5g8v.js → filesystem-mmqk02zq.js} +20 -20
- package/dist/chunks/{file-mutation-pdn4nwyd.js → filesystem-mn7mvsf2.js} +20 -20
- package/dist/chunks/{file-mutation-x2fjf6jt.js → filesystem-mqafpt2f.js} +1 -1
- package/dist/chunks/{file-mutation-jwbqhvyy.js → filesystem-mtft99cd.js} +5 -5
- package/dist/chunks/{file-mutation-2z69z2z6.js → filesystem-n819r5x6.js} +15 -15
- package/dist/chunks/{file-mutation-fszq3ebn.js → filesystem-nb12cs01.js} +9 -9
- package/dist/chunks/{file-mutation-5wmax8g7.js → filesystem-nb2mwgfq.js} +297 -297
- package/dist/chunks/{file-mutation-ve4pfa0n.js → filesystem-nfkr9082.js} +4 -4
- package/dist/chunks/{file-mutation-z8c31j70.js → filesystem-nv8hv94m.js} +9 -9
- package/dist/chunks/{file-mutation-f0754xwj.js → filesystem-ny7m7jyt.js} +6 -6
- package/dist/chunks/{file-mutation-shk0kkcm.js → filesystem-p5eadnhw.js} +20 -20
- package/dist/chunks/{file-mutation-gn45qare.js → filesystem-pahszt5y.js} +11 -11
- package/dist/chunks/{file-mutation-h3x9dy5p.js → filesystem-phnksyfb.js} +64 -64
- package/dist/chunks/{file-mutation-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-nz2mz1gd.js → filesystem-pzh96g4g.js} +10 -10
- package/dist/chunks/{file-mutation-me8n1f0m.js → filesystem-q13v07rn.js} +23 -23
- package/dist/chunks/{file-mutation-kbx5grnm.js → filesystem-q3n43qhw.js} +10 -10
- package/dist/chunks/{file-mutation-gt0cxfk7.js → filesystem-qmr73083.js} +1 -1
- package/dist/chunks/{file-mutation-ew4n0ysj.js → filesystem-qpcd101b.js} +24 -24
- package/dist/chunks/{file-mutation-sgfkh1bp.js → filesystem-qr27hz8v.js} +4 -4
- package/dist/chunks/{file-mutation-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-t3swkhbg.js → filesystem-qte5z7bc.js} +5 -5
- package/dist/chunks/{file-mutation-drknmmyh.js → filesystem-qynpn6w3.js} +9 -9
- package/dist/chunks/{file-mutation-16ry34za.js → filesystem-qyp1btz3.js} +9 -9
- package/dist/chunks/{file-mutation-db4cj44h.js → filesystem-qywpveqw.js} +12 -12
- package/dist/chunks/{file-mutation-1qky1dph.js → filesystem-qzkfvpqa.js} +27 -27
- package/dist/chunks/{file-mutation-mv963wd8.js → filesystem-r1p902q3.js} +10 -10
- package/dist/chunks/{file-mutation-erj64bxn.js → filesystem-r3x1gk33.js} +19 -19
- package/dist/chunks/{file-mutation-ts3py094.js → filesystem-r59yas2b.js} +11 -11
- package/dist/chunks/{file-mutation-mvfsc1pv.js → filesystem-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-mutation-ay0mqvsw.js → filesystem-ra6n8sk1.js} +4 -4
- package/dist/chunks/filesystem-rap9a73h.js +18 -0
- package/dist/chunks/{file-mutation-c51gv9kq.js → filesystem-rhm006ed.js} +6 -6
- package/dist/chunks/{file-mutation-vy4zx9mg.js → filesystem-rt3ch154.js} +22 -22
- package/dist/chunks/{file-mutation-v0pcpx2w.js → filesystem-s3ef3sn4.js} +27 -27
- package/dist/chunks/{file-mutation-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-9pxaqpvj.js → filesystem-sc1v85yd.js} +28 -28
- package/dist/chunks/{file-mutation-rr1pnw44.js → filesystem-sea28k5q.js} +11 -11
- package/dist/chunks/{file-mutation-v3czrx3e.js → filesystem-snfe3xn9.js} +7 -7
- package/dist/chunks/{file-mutation-j3se2fan.js → filesystem-st1tj7wz.js} +25 -25
- package/dist/chunks/{file-mutation-4mkcvr19.js → filesystem-sv9bpgvh.js} +5 -5
- package/dist/chunks/{file-mutation-fjmrr6sh.js → filesystem-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-mutation-vy4m5cs8.js → filesystem-t4e6bmk3.js} +24 -24
- package/dist/chunks/{file-mutation-0achb7g5.js → filesystem-t4z0wkpb.js} +15 -15
- package/dist/chunks/{file-mutation-qj8eh1ht.js → filesystem-t51qk8jz.js} +21 -21
- package/dist/chunks/{file-mutation-ya82w510.js → filesystem-t54fdmqn.js} +26 -26
- package/dist/chunks/{file-mutation-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-bf4xsm60.js → filesystem-tdwyp4wd.js} +38 -38
- package/dist/chunks/{file-mutation-jva4mgym.js → filesystem-tm7zr4pr.js} +4 -4
- package/dist/chunks/{file-mutation-nmrfm0gg.js → filesystem-tn4g20bc.js} +9 -9
- package/dist/chunks/{file-mutation-1rn2x45b.js → filesystem-tpxc5hbb.js} +13 -13
- package/dist/chunks/{file-mutation-d8jb5f6w.js → filesystem-tqjtzs87.js} +22 -22
- package/dist/chunks/{file-mutation-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-5nsrms9d.js → filesystem-v8ch97zc.js} +1 -1
- package/dist/chunks/{file-mutation-txcgvecv.js → filesystem-v8wb3v9z.js} +11 -11
- package/dist/chunks/{file-mutation-xh32439v.js → filesystem-va2cr1hn.js} +27 -27
- package/dist/chunks/{file-mutation-gahfey0t.js → filesystem-vbfce96g.js} +24 -24
- package/dist/chunks/{file-mutation-3c1tgrea.js → filesystem-ve6nm2s5.js} +6 -6
- package/dist/chunks/{file-mutation-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-t85qda8j.js → filesystem-vfkzc9c7.js} +18 -18
- package/dist/chunks/{file-mutation-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-t41sh3fy.js → filesystem-w6jjpet8.js} +18 -18
- package/dist/chunks/{file-mutation-8e68mvyz.js → filesystem-wbs9x86t.js} +9 -9
- package/dist/chunks/{file-mutation-0wqxq3st.js → filesystem-wd3khw6k.js} +18 -18
- package/dist/chunks/{file-mutation-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-b20qtm1y.js → filesystem-wgfj0ahh.js} +11 -11
- package/dist/chunks/{file-mutation-9m1j547z.js → filesystem-wgnc4fqp.js} +31 -31
- package/dist/chunks/{file-mutation-zysaywdt.js → filesystem-wwrcmqtb.js} +10 -10
- package/dist/chunks/{file-mutation-rqe8k6zz.js → filesystem-wzchp92g.js} +31 -31
- package/dist/chunks/{file-mutation-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → filesystem-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-n39s91yj.js → filesystem-x553xac2.js} +11 -11
- package/dist/chunks/{file-mutation-jy802t3j.js → filesystem-xhv33s0s.js} +9 -9
- package/dist/chunks/{file-mutation-xq7xzvw5.js → filesystem-xmxn88x7.js} +28 -28
- package/dist/chunks/{file-mutation-bwa99ep7.js → filesystem-xtskrd06.js} +35 -35
- package/dist/chunks/{file-mutation-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-j87xf96j.js → filesystem-y4f4eb8e.js} +28 -28
- package/dist/chunks/{file-mutation-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-989x2e3r.js → filesystem-y81batpe.js} +4 -4
- package/dist/chunks/{file-mutation-jp8zdrch.js → filesystem-y9aqre06.js} +11 -11
- package/dist/chunks/{file-mutation-ccc85ntn.js → filesystem-ydvj4nw2.js} +19 -19
- package/dist/chunks/{file-mutation-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-g4pfa4xx.js → filesystem-yt0bjwgq.js} +4 -4
- package/dist/chunks/{file-mutation-tds7k197.js → filesystem-ytws7ykb.js} +2 -2
- package/dist/chunks/{file-mutation-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-v80gs2ga.js → filesystem-z412kppw.js} +16 -16
- package/dist/chunks/{file-mutation-jx68r56q.js → filesystem-zbmxxgxf.js} +11 -11
- package/dist/chunks/{file-mutation-4987xj8v.js → filesystem-zdejx0ks.js} +24 -24
- package/dist/chunks/{file-mutation-1a3znk6y.js → filesystem-ze5td8vt.js} +11 -11
- package/dist/chunks/{file-mutation-rq775frq.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-bjkwpmm4.js → filesystem-zsdmrg6x.js} +11 -11
- package/dist/chunks/{file-mutation-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- 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 +77 -77
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- 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 +124 -124
- 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 +115 -115
- 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 +117 -117
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- 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 +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +120 -120
- 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 +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- 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 +2 -2
- package/dist/plugin/plan.js +95 -95
- 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 +78 -78
- 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 +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- 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 +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +167 -167
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- 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 +115 -115
- 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 +15 -15
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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 +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- 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 +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- 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-e1prnxjm.js +0 -247
- /package/dist/chunks/{file-mutation-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → filesystem-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-2d6j2h4j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info28,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-80e0yyk8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID15.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID14.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info28.make({
|
|
92
|
+
...Info28.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID14.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./filesystem-ve6nm2s5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-afc89ev1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./filesystem-c3h4b1pf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service43;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-4r3mqmdm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./filesystem-61938heb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service52,
|
|
13
|
+
node56
|
|
14
|
+
} from "./filesystem-bpzgnhx9.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service52;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node80, node56] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service17, resolvePath2, node20, exports_file_access };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service32.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node37 = makeGlobalNode({ service: Service32, layer: layer12, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service32, makeLayer2, layer12, node37, exports_model_transport };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./filesystem-z412kppw.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-r3x1gk33.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node26
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service22 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service22.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service22,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node26 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError3, Service22, layer10, configured3, node26, exports_persistent_pty, Handoff2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./filesystem-3rz5xnhe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./filesystem-9m17q65d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service70;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin15, register2, exports_mcp };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./filesystem-cv4ngb9q.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./file-mutation-v80gs2ga.js";
|
|
8
|
+
} from "./filesystem-z412kppw.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-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: () =>
|
|
24
|
-
ID: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID16,
|
|
25
25
|
Info: () => Info30,
|
|
26
|
-
Key: () =>
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
43
|
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
-
id:
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -77,7 +77,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
79
|
const credential = new Info30({
|
|
80
|
-
id:
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key3, Value2, Event18, Info30, Service73, node78, exports_credential };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./filesystem-3rz5xnhe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./filesystem-am15qhr4.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin21
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin21 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin6 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin21, exports_compaction };
|