@opencode/core 0.0.0-dev-20402 → 0.0.0-dev-20406
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-retention-hyd4csjw.js → shell-027h9grx.js} +15 -15
- package/dist/chunks/{file-retention-6psg71na.js → shell-0a5qyhqp.js} +5 -5
- package/dist/chunks/{file-retention-z1h4hzgz.js → shell-0bwxef5p.js} +41 -41
- package/dist/chunks/{file-retention-vyr41dye.js → shell-0d8tbd59.js} +19 -19
- package/dist/chunks/{file-retention-af04s6ss.js → shell-0f9afca0.js} +5 -5
- package/dist/chunks/{file-retention-tqqs58hf.js → shell-0p8b1wz2.js} +11 -11
- package/dist/chunks/{file-retention-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0ydfd3tt.js → shell-0pgf3wjz.js} +11 -11
- package/dist/chunks/{file-retention-4xykdr3j.js → shell-0tf9f9fk.js} +8 -8
- package/dist/chunks/{file-retention-y5rf7nzv.js → shell-0xqyf95c.js} +4 -4
- package/dist/chunks/{file-retention-cst1g9ty.js → shell-0yvfy2gr.js} +93 -93
- package/dist/chunks/{file-retention-y042j87z.js → shell-11xytnza.js} +32 -32
- package/dist/chunks/{file-retention-g9jwfn6x.js → shell-17dp9b3b.js} +11 -11
- package/dist/chunks/{file-retention-phstrbs2.js → shell-1ajx6rf5.js} +8 -8
- package/dist/chunks/{file-retention-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-0tpv2kjk.js → shell-1ezyexdv.js} +14 -14
- package/dist/chunks/{file-retention-d0xdxexk.js → shell-1ntkjgb8.js} +29 -29
- package/dist/chunks/shell-1q4hgdtf.js +507 -0
- package/dist/chunks/{file-retention-a7bcxdzj.js → shell-1rh4yqvv.js} +9 -9
- package/dist/chunks/{file-retention-xf1sebn0.js → shell-1t9fg1b5.js} +11 -11
- package/dist/chunks/{file-retention-5hd43tkx.js → shell-1y782dng.js} +27 -27
- package/dist/chunks/{file-retention-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-pgk2xcsw.js → shell-24zydrzs.js} +56 -56
- package/dist/chunks/{file-retention-914z0d4t.js → shell-2832djng.js} +10 -10
- package/dist/chunks/{file-retention-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-9zmzhm3z.js → shell-2a5svkms.js} +12 -12
- package/dist/chunks/{file-retention-5xpznt2d.js → shell-2mhsvxbb.js} +4 -4
- package/dist/chunks/{file-retention-a8ymkhm3.js → shell-2q4t2vtj.js} +27 -27
- package/dist/chunks/{file-retention-1v17rnrm.js → shell-2yxkykh1.js} +35 -35
- package/dist/chunks/{file-retention-7qkbk131.js → shell-302sxsq7.js} +8 -8
- package/dist/chunks/{file-retention-56gdpj1q.js → shell-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-retention-6es9zfpy.js → shell-350namw0.js} +34 -34
- package/dist/chunks/{file-retention-en6tpsg7.js → shell-3a1r704r.js} +7 -7
- package/dist/chunks/{file-retention-gxjs0nkc.js → shell-3aqqv3ta.js} +24 -24
- package/dist/chunks/{file-retention-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-cgsggtpg.js → shell-3namxzrj.js} +86 -86
- package/dist/chunks/{file-retention-kkcecp2w.js → shell-3nsr1h9t.js} +32 -32
- package/dist/chunks/{file-retention-cx4jqw99.js → shell-3p2gykje.js} +3 -3
- package/dist/chunks/{file-retention-m12j2t06.js → shell-3pqrab3r.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-ae141jqd.js → shell-3x602478.js} +17 -17
- package/dist/chunks/{file-retention-3zsf4n22.js → shell-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-16b29q1p.js → shell-40ejgnmq.js} +6 -6
- package/dist/chunks/{file-retention-1tp0pegs.js → shell-445bgnxh.js} +9 -9
- package/dist/chunks/{file-retention-5xychhr1.js → shell-46gkbd0c.js} +23 -23
- package/dist/chunks/{file-retention-bah76z4e.js → shell-4bjzyjqa.js} +12 -12
- package/dist/chunks/{file-retention-pyhnah5r.js → shell-4hbxt91c.js} +27 -27
- package/dist/chunks/{file-retention-wgm89zzg.js → shell-4r8tvr6m.js} +3 -3
- package/dist/chunks/{file-retention-ftjf86m5.js → shell-4rt0ga34.js} +9 -9
- package/dist/chunks/{file-retention-54ma36ye.js → shell-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-57ez7d0k.js → shell-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-retention-frt7t1he.js → shell-5bjd8ds0.js} +45 -45
- package/dist/chunks/{file-retention-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-tnnwyf4v.js → shell-5gj63dwh.js} +13 -13
- package/dist/chunks/{file-retention-b6c8hgaq.js → shell-5gr04vgg.js} +7 -7
- package/dist/chunks/{file-retention-mm5kxf07.js → shell-5kw0n2ma.js} +8 -8
- package/dist/chunks/{file-retention-0by5znvt.js → shell-5t0mhrn0.js} +3 -3
- package/dist/chunks/{file-retention-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-hd8vw2pw.js → shell-5tat9ppm.js} +1 -1
- package/dist/chunks/{file-retention-mt193r2g.js → shell-5v8k5syq.js} +28 -28
- package/dist/chunks/{file-retention-wvje6e6q.js → shell-5vrj9ban.js} +15 -15
- package/dist/chunks/{file-retention-1s8bbjk0.js → shell-5whaezv9.js} +21 -21
- package/dist/chunks/{file-retention-26wtd377.js → shell-6033txqd.js} +19 -19
- package/dist/chunks/shell-619r8v3y.js +18 -0
- package/dist/chunks/{file-retention-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-p0b4ytnr.js → shell-6anwy9fs.js} +6 -6
- package/dist/chunks/{file-retention-8csa8wgg.js → shell-6ar8w4pq.js} +44 -44
- package/dist/chunks/{file-retention-08cyycf1.js → shell-6fhqajxq.js} +9 -9
- package/dist/chunks/{file-retention-j6c2djjz.js → shell-6gnvbdx3.js} +3 -3
- package/dist/chunks/{file-retention-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-r5x6zcsm.js → shell-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-retention-9965yrjj.js → shell-763zc42s.js} +23 -23
- package/dist/chunks/{file-retention-6x3ncgzs.js → shell-77p9tcjg.js} +48 -48
- package/dist/chunks/{file-retention-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-7dqw4kz8.js → shell-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-retention-4pk7p1z9.js → shell-7dthvaew.js} +21 -21
- package/dist/chunks/shell-7kw0n3fd.js +252 -0
- package/dist/chunks/{file-retention-z8bdrrqs.js → shell-83y1qfs6.js} +181 -181
- package/dist/chunks/{file-retention-bw7f9m3t.js → shell-845k646w.js} +25 -25
- package/dist/chunks/{file-retention-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-epdvd4ev.js → shell-8j1jmj9t.js} +5 -5
- package/dist/chunks/{file-retention-z5s5xvpn.js → shell-8x3ar29j.js} +8 -8
- package/dist/chunks/{file-retention-h896pcm5.js → shell-909p1r3q.js} +6 -6
- package/dist/chunks/{file-retention-exx9ekpx.js → shell-90xpxcvn.js} +11 -11
- package/dist/chunks/{file-retention-dhfqkfjw.js → shell-92tzgrpg.js} +27 -27
- package/dist/chunks/{file-retention-94ek1h2f.js → shell-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-fnge4047.js → shell-9g29qv69.js} +4 -4
- package/dist/chunks/{file-retention-k9xjptez.js → shell-9m18q581.js} +17 -17
- package/dist/chunks/{file-retention-ccy2pgf3.js → shell-9rzhta9t.js} +13 -13
- package/dist/chunks/{file-retention-382s30hz.js → shell-9syxb0r3.js} +10 -10
- package/dist/chunks/{file-retention-61wct4zt.js → shell-a6t0d3d8.js} +27 -27
- package/dist/chunks/{file-retention-kkp8zx71.js → shell-a89e0tac.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-g2jqna9d.js → shell-agthfym9.js} +36 -36
- package/dist/chunks/{file-retention-68dcddmz.js → shell-awbtvej0.js} +6 -6
- package/dist/chunks/{file-retention-kp34pf0p.js → shell-ax630gpb.js} +11 -11
- package/dist/chunks/{file-retention-rsper1ey.js → shell-b44gvvvr.js} +23 -23
- package/dist/chunks/{file-retention-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-x757zt7n.js → shell-bfafj43h.js} +24 -24
- package/dist/chunks/{file-retention-hv3sa1e0.js → shell-bj8111r1.js} +11 -11
- package/dist/chunks/{file-retention-8g4srgx8.js → shell-br9mj3ey.js} +32 -32
- package/dist/chunks/{file-retention-hyt73fgk.js → shell-c1bwn9r9.js} +15 -15
- package/dist/chunks/{file-retention-bjc78pkx.js → shell-cbntc203.js} +5 -5
- package/dist/chunks/{file-retention-hphkqdz5.js → shell-cebrzyqt.js} +20 -20
- package/dist/chunks/{file-retention-8sze2n9a.js → shell-cfsekr6v.js} +6 -6
- package/dist/chunks/{file-retention-ckecvw8r.js → shell-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-x2gkbbe6.js → shell-cm8jqk38.js} +5 -5
- package/dist/chunks/{file-retention-73880a7e.js → shell-cs4k5zgq.js} +9 -9
- package/dist/chunks/{file-retention-x2t18wqz.js → shell-cxqfxpp1.js} +8 -8
- package/dist/chunks/{file-retention-4q7jz6f3.js → shell-d38myz56.js} +40 -40
- package/dist/chunks/{file-retention-znjk7567.js → shell-d7xrmwxz.js} +15 -15
- package/dist/chunks/{file-retention-0y9112s8.js → shell-d8cfvk62.js} +17 -17
- package/dist/chunks/{file-retention-gqbx8pvk.js → shell-dawgpkjz.js} +8 -8
- package/dist/chunks/{file-retention-3m0ax14b.js → shell-de6jgy4a.js} +32 -32
- package/dist/chunks/{file-retention-bscb95cy.js → shell-dg5bcj4q.js} +6 -6
- package/dist/chunks/{file-retention-92nsqna1.js → shell-dj3aa5wj.js} +3 -3
- package/dist/chunks/{file-retention-dmqcgk4z.js → shell-dmqcgk4z.js} +2 -2
- package/dist/chunks/{file-retention-zj4ah9h6.js → shell-dy2xnbj8.js} +17 -17
- package/dist/chunks/{file-retention-p8g5gece.js → shell-dzrr9fx3.js} +10 -10
- package/dist/chunks/{file-retention-phjaars8.js → shell-e0vtkr8g.js} +6 -6
- package/dist/chunks/{file-retention-3t81ps34.js → shell-e1t80gge.js} +41 -41
- package/dist/chunks/{file-retention-er0xdfmw.js → shell-e1vgqt98.js} +32 -32
- package/dist/chunks/{file-retention-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-c651xxjb.js → shell-em3h5ktn.js} +4 -4
- package/dist/chunks/{file-retention-hwhbafy2.js → shell-er11akkf.js} +18 -18
- package/dist/chunks/{file-retention-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-8142ayq4.js → shell-ew9zfet1.js} +26 -26
- package/dist/chunks/{file-retention-gztggq6p.js → shell-exq671fp.js} +8 -8
- package/dist/chunks/{file-retention-t5nr2mq2.js → shell-f41jbqvm.js} +14 -14
- package/dist/chunks/{file-retention-fpn03fpt.js → shell-f42drt00.js} +20 -20
- package/dist/chunks/{file-retention-0kt9y2yg.js → shell-fc62ns0w.js} +5 -5
- package/dist/chunks/{file-retention-6hh8tjw2.js → shell-fm2qvscf.js} +4 -4
- package/dist/chunks/{file-retention-n3sb98w8.js → shell-fmb7ydzj.js} +18 -18
- package/dist/chunks/{file-retention-2qr48v8r.js → shell-fq36cd5d.js} +15 -15
- package/dist/chunks/{file-retention-30846h32.js → shell-fqtvmpfq.js} +8 -8
- package/dist/chunks/{file-retention-pfvbrrxt.js → shell-frz7qx3c.js} +13 -13
- package/dist/chunks/{file-retention-h6b02349.js → shell-fy6cggrf.js} +5 -5
- package/dist/chunks/{file-retention-1vp4gevy.js → shell-fz2hs8me.js} +11 -11
- package/dist/chunks/{file-retention-xfkkasph.js → shell-g5w8qwbj.js} +4 -4
- package/dist/chunks/{file-retention-8fm7fx0h.js → shell-g5zc0msw.js} +1 -1
- package/dist/chunks/shell-g619fkyf.js +26 -0
- package/dist/chunks/{file-retention-tckasdr8.js → shell-gc7e05zt.js} +20 -20
- package/dist/chunks/{file-retention-8ryk0bb9.js → shell-gcavn3wx.js} +5 -5
- package/dist/chunks/{file-retention-hznfsya8.js → shell-gce79w0q.js} +22 -22
- package/dist/chunks/{file-retention-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-76tq4jpv.js → shell-ghvvmysb.js} +47 -47
- package/dist/chunks/{file-retention-f5gy8qwh.js → shell-gs4tkc79.js} +8 -8
- package/dist/chunks/{file-retention-e75wa3q3.js → shell-gs9kr2a8.js} +12 -12
- package/dist/chunks/{file-retention-8wshxwa8.js → shell-gsgd9zjh.js} +22 -22
- package/dist/chunks/{file-retention-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-ndc9tmhz.js → shell-gwt0t2e2.js} +23 -23
- package/dist/chunks/{file-retention-4agzmtjj.js → shell-gxf6g2qt.js} +19 -19
- package/dist/chunks/{file-retention-9cvt8pvp.js → shell-h3qzknde.js} +30 -30
- package/dist/chunks/{file-retention-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-na8089pj.js → shell-hadadgvf.js} +4 -4
- package/dist/chunks/{file-retention-555wn5z1.js → shell-hbe0cwhg.js} +21 -21
- package/dist/chunks/{file-retention-07v38qck.js → shell-hgr40ys5.js} +16 -16
- package/dist/chunks/{file-retention-23vhgpjn.js → shell-hzazvw9e.js} +43 -43
- package/dist/chunks/{file-retention-tzhaj3et.js → shell-hzk924x7.js} +19 -19
- package/dist/chunks/{file-retention-t3kdfj5b.js → shell-j0zcen4g.js} +9 -9
- package/dist/chunks/{file-retention-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-nng2ktcm.js → shell-jca4demv.js} +2 -2
- package/dist/chunks/{file-retention-f36tabf2.js → shell-jnps75af.js} +11 -11
- package/dist/chunks/{file-retention-pb1eahw5.js → shell-k0gdq8ga.js} +5 -5
- package/dist/chunks/{file-retention-w1ym612x.js → shell-k0t8x34b.js} +1 -1
- package/dist/chunks/{file-retention-k3c624dm.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-kjwwdp92.js → shell-kg2zmxw6.js} +34 -34
- package/dist/chunks/{file-retention-70e78xk1.js → shell-kgc2xkc7.js} +2 -2
- package/dist/chunks/{file-retention-rjkh2wef.js → shell-kqgb7ch4.js} +5 -5
- package/dist/chunks/{file-retention-tc5he9wg.js → shell-kw0mk995.js} +30 -30
- package/dist/chunks/{file-retention-2q4jbtx6.js → shell-ky96t3kz.js} +18 -18
- package/dist/chunks/{file-retention-qj12mzv5.js → shell-m0rmv5bm.js} +12 -12
- package/dist/chunks/{file-retention-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-w3bcvcpc.js → shell-m41nq2xm.js} +13 -13
- package/dist/chunks/{file-retention-901fz9t0.js → shell-m568jpcd.js} +28 -28
- package/dist/chunks/{file-retention-m58kmhef.js → shell-m58kmhef.js} +2 -2
- package/dist/chunks/{file-retention-kd88yaz5.js → shell-m7s2bw5g.js} +33 -33
- package/dist/chunks/{file-retention-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-n7hfvk42.js → shell-mdr46t4g.js} +3 -3
- package/dist/chunks/{file-retention-v2yybn63.js → shell-mebcx2ev.js} +5 -5
- package/dist/chunks/{file-retention-pkkyf0r9.js → shell-mesrmzak.js} +8 -8
- package/dist/chunks/{file-retention-53ms7kcc.js → shell-mhjvq9xf.js} +30 -30
- package/dist/chunks/{file-retention-d5grx31m.js → shell-mkwp3yp2.js} +8 -8
- package/dist/chunks/{file-retention-qvb3nf84.js → shell-mp6d0dty.js} +8 -8
- package/dist/chunks/{file-retention-3v25ja2b.js → shell-mv7vmavb.js} +22 -22
- package/dist/chunks/{file-retention-yktqjfap.js → shell-myrh9h6p.js} +10 -10
- package/dist/chunks/{file-retention-rd456c9t.js → shell-n0x2a21q.js} +20 -20
- package/dist/chunks/{file-retention-3a9d28fc.js → shell-ng9nphe0.js} +22 -22
- package/dist/chunks/{file-retention-yebp4zhw.js → shell-nmww7jyx.js} +3 -3
- package/dist/chunks/{file-retention-m2d0j7c0.js → shell-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-retention-6r9q50nc.js → shell-nsq97wxa.js} +15 -15
- package/dist/chunks/{file-retention-0mc7b5yt.js → shell-nwakhswj.js} +34 -34
- package/dist/chunks/{file-retention-nxm207yx.js → shell-nxm207yx.js} +1 -1
- package/dist/chunks/{file-retention-4j4tgtq5.js → shell-pd7gvt3w.js} +4 -4
- package/dist/chunks/{file-retention-wycphyd6.js → shell-pjnbb6nv.js} +29 -29
- package/dist/chunks/{file-retention-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-b34228va.js → shell-pk6jt4dn.js} +25 -25
- package/dist/chunks/{file-retention-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-azw3908z.js → shell-pmc1jkpx.js} +15 -15
- package/dist/chunks/{file-retention-0jy993ce.js → shell-ps9psapg.js} +27 -27
- package/dist/chunks/{file-retention-7w99qc9d.js → shell-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-retention-5ar0959a.js → shell-q4g7nk9d.js} +8 -8
- package/dist/chunks/{file-retention-y3yyngt1.js → shell-qdd0q08y.js} +18 -18
- package/dist/chunks/{file-retention-hkw967g2.js → shell-qfc3y584.js} +9 -9
- package/dist/chunks/{file-retention-magykp64.js → shell-qj8eh1ht.js} +4 -4
- package/dist/chunks/{file-retention-ptg1zr2n.js → shell-qk5y71t7.js} +10 -10
- package/dist/chunks/{file-retention-d4he2qe1.js → shell-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-retention-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-pvx6jnbt.js → shell-qvb81wqx.js} +17 -17
- package/dist/chunks/{file-retention-q4qpptcn.js → shell-qwe7bsa3.js} +17 -17
- package/dist/chunks/{file-retention-ba15hegp.js → shell-r7srsjaq.js} +11 -11
- package/dist/chunks/{file-retention-1acjjqhc.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-retention-a2w2trrv.js → shell-rbgk9g65.js} +21 -21
- package/dist/chunks/{file-retention-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-b0a6mgz0.js → shell-rp3pg7vc.js} +4 -4
- package/dist/chunks/{file-retention-kbq17jxs.js → shell-rthp8kp4.js} +18 -18
- package/dist/chunks/{file-retention-f3v49yrq.js → shell-rwrdja42.js} +19 -19
- package/dist/chunks/{file-retention-f1mm0mp4.js → shell-s0p782fc.js} +20 -20
- package/dist/chunks/{file-retention-dk1ph2hs.js → shell-s19nf2ge.js} +9 -9
- package/dist/chunks/{file-retention-jdcs44sz.js → shell-sgy5rc4s.js} +15 -15
- package/dist/chunks/{file-retention-jqryekp8.js → shell-sgyq1qp9.js} +20 -20
- package/dist/chunks/{file-retention-3wa3ckeq.js → shell-smnd959e.js} +10 -10
- package/dist/chunks/{file-retention-96kfm23h.js → shell-spcspf24.js} +11 -11
- package/dist/chunks/{file-retention-rjreqr61.js → shell-sw0g5drg.js} +30 -30
- package/dist/chunks/{file-retention-2f0bjgcj.js → shell-t0fxg8b9.js} +5 -5
- package/dist/chunks/{file-retention-1h6fgt3y.js → shell-t34bv3bh.js} +8 -8
- package/dist/chunks/{file-retention-dfe8djrf.js → shell-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-retention-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-v1c9ckpm.js → shell-tmvj6me9.js} +10 -10
- package/dist/chunks/{file-retention-4ygabsyh.js → shell-tqrmv6wh.js} +35 -35
- package/dist/chunks/{file-retention-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-p4h43hm5.js → shell-v148dh5x.js} +9 -9
- package/dist/chunks/{file-retention-ztwp6n71.js → shell-v3a302k8.js} +5 -5
- package/dist/chunks/{file-retention-07ehc897.js → shell-v5me1390.js} +26 -26
- package/dist/chunks/{file-retention-rsrs7t03.js → shell-vdmdzg77.js} +4 -4
- package/dist/chunks/{file-retention-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-nxy4r4q2.js → shell-vq2r4xxp.js} +52 -52
- package/dist/chunks/{file-retention-rfkk6xr1.js → shell-vxfrmkmy.js} +25 -25
- package/dist/chunks/{file-retention-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → shell-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-84txncab.js → shell-w1eejvng.js} +5 -5
- package/dist/chunks/{file-retention-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-qn4ba14w.js → shell-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-retention-wd3x2cqz.js → shell-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-4wct8n2q.js → shell-wdt5kg7f.js} +9 -9
- package/dist/chunks/{file-retention-4kc82and.js → shell-wh0yrkpr.js} +13 -13
- package/dist/chunks/{file-retention-xj3m6db3.js → shell-ws227ysr.js} +11 -11
- package/dist/chunks/{file-retention-s8d7rejh.js → shell-wv396vej.js} +8 -8
- package/dist/chunks/{file-retention-gp2fw5da.js → shell-wx3q8r90.js} +10 -10
- package/dist/chunks/{file-retention-car3yqh5.js → shell-wzh9kx9c.js} +4 -4
- package/dist/chunks/{file-retention-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-7q81yew2.js → shell-x3ec03mt.js} +12 -12
- package/dist/chunks/{file-retention-dnxkq42g.js → shell-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-psm6mvq2.js → shell-xd0e3npz.js} +15 -15
- package/dist/chunks/{file-retention-5sm82are.js → shell-xh2bzhhz.js} +6 -6
- package/dist/chunks/{file-retention-5178wfd8.js → shell-xky4w4my.js} +31 -31
- package/dist/chunks/{file-retention-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-enghkq7s.js → shell-y2acyqmb.js} +35 -35
- package/dist/chunks/{file-retention-nvymb3gw.js → shell-y30nbvw3.js} +23 -23
- package/dist/chunks/{file-retention-0t1hj50p.js → shell-y6drww2a.js} +47 -47
- package/dist/chunks/{file-retention-jjctv81n.js → shell-yfmq466m.js} +18 -18
- package/dist/chunks/{file-retention-h4z1mxff.js → shell-yq14pbr7.js} +5 -5
- package/dist/chunks/{file-retention-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-tjhbrvq4.js → shell-yrxdn3w6.js} +13 -13
- package/dist/chunks/{file-retention-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-z07pqspn.js → shell-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-1tnfewyb.js → shell-z2sk8n0r.js} +11 -11
- package/dist/chunks/{file-retention-32ymn5e1.js → shell-z2wvrawj.js} +6 -6
- package/dist/chunks/{file-retention-h0ddtxn3.js → shell-z41n5maa.js} +69 -69
- package/dist/chunks/{file-retention-h67bwh8a.js → shell-z4h5d8ps.js} +21 -21
- package/dist/chunks/{file-retention-s16mhmbj.js → shell-z4pb129a.js} +4 -4
- package/dist/chunks/{file-retention-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-cw1stz9h.js → shell-z9v69aw7.js} +33 -33
- package/dist/chunks/{file-retention-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-3aw7vgta.js → shell-zrfk4xcc.js} +32 -32
- package/dist/chunks/{file-retention-efkdte57.js → shell-zvjxv4v7.js} +21 -21
- package/dist/chunks/{file-retention-zav06jzw.js → shell-zvt5dnpc.js} +4 -4
- package/dist/chunks/{file-retention-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-ycgx5mwh.js → shell-zz8pmeaw.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
- package/dist/chunks/file-retention-js7f2ndc.js +0 -507
- package/dist/chunks/file-retention-n4ksp8v5.js +0 -26
- package/dist/chunks/file-retention-pwvtcxk6.js +0 -252
- /package/dist/chunks/{file-retention-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → shell-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → shell-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-8x3ar29j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./shell-z9v69aw7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./shell-n0x2a21q.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./shell-1ezyexdv.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-0d8tbd59.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-cbntc203.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service61,
|
|
36
36
|
Event12,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node64
|
|
38
|
+
} from "./shell-xd0e3npz.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./shell-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service58,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node61,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service59;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service67;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service61;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,7 +221,7 @@ var layer22 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service58.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service58,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node62, node86, FSUtil.node, Global.node, node84, node71, node64]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node61 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service58, Test2, testLayer2, layer23, configured8, node61, exports_config };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./shell-5whaezv9.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./shell-11xytnza.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./shell-e1t80gge.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./shell-d8cfvk62.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service71
|
|
22
|
+
} from "./shell-vq2r4xxp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./shell-0yvfy2gr.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./shell-spcspf24.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
39
|
Input: () => Input3,
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description2,
|
|
44
44
|
name: () => name3
|
|
@@ -72,7 +72,7 @@ var Input3 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin3 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service55;
|
|
94
|
+
const agents = yield* Service74;
|
|
95
|
+
const config = yield* Service58;
|
|
96
|
+
const permission = yield* Service71;
|
|
97
|
+
const models = yield* Service62;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -119,7 +119,7 @@ var Plugin4 = {
|
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description2,
|
|
121
121
|
input: Input3,
|
|
122
|
-
output:
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -168,7 +168,7 @@ var Plugin4 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID13.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export { name3, Input3,
|
|
256
|
+
export { name3, Input3, Output3, description2, Plugin3, exports_subagent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin9,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin9 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin7 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin9, exports_opencode };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-3aqqv3ta.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./shell-e1t80gge.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin24,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin24 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service58;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin24, exports_skill2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./shell-1ezyexdv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node26
|
|
11
|
+
} from "./shell-yfmq466m.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service22,
|
|
26
26
|
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node25,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options3 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const ripgrep = yield* Service23;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service22.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service22.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service22.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,8 +174,8 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured3(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service22, layer: layer10(options), deps: [node84, node26] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node25 = configured3();
|
|
189
189
|
|
|
190
|
-
export { Options3,
|
|
190
|
+
export { Options3, Service22, ripgrepLayer2, fffLayer2, layer10, configured3, node25, exports_search };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./shell-n0x2a21q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service59;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make8, LoadError2, exports_module };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-8x3ar29j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./shell-1ezyexdv.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./shell-y6drww2a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin29
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin29 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service40;
|
|
201
201
|
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin29, exports_command };
|