@opencode/core 0.0.0-dev-19446 → 0.0.0-dev-19448
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{skill-sacvkn4e.js → file-retention-01z5yxwd.js} +5 -5
- package/dist/chunks/{skill-nrw4td2n.js → file-retention-02dn0gj9.js} +3 -3
- package/dist/chunks/{skill-g5x3p52g.js → file-retention-03vdvqz5.js} +8 -8
- package/dist/chunks/{skill-w1k39n5e.js → file-retention-06dxphr1.js} +4 -4
- package/dist/chunks/{skill-q7y8k7bj.js → file-retention-07n10xmz.js} +6 -6
- package/dist/chunks/{skill-6yqy0e4g.js → file-retention-07vp4eyz.js} +85 -85
- package/dist/chunks/{skill-ahycpabw.js → file-retention-096ebvky.js} +27 -27
- package/dist/chunks/{skill-dz69mbbk.js → file-retention-0cehhtm7.js} +6 -6
- package/dist/chunks/{skill-vc3kmvr8.js → file-retention-0f2q25am.js} +13 -13
- package/dist/chunks/{skill-703jyx7f.js → file-retention-0h54jqbs.js} +8 -8
- package/dist/chunks/{skill-g7rz0sxb.js → file-retention-0hqrfwhm.js} +6 -6
- package/dist/chunks/{skill-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-p31wqd2s.js → file-retention-0swpfrb6.js} +16 -16
- package/dist/chunks/{skill-xpm1fec2.js → file-retention-0t37s3gb.js} +10 -10
- package/dist/chunks/{skill-qx0n0hnh.js → file-retention-0vnpdrzz.js} +21 -21
- package/dist/chunks/{skill-ccf3t0a5.js → file-retention-10mpg1ev.js} +22 -22
- package/dist/chunks/{skill-rh63tm4e.js → file-retention-1awm1f41.js} +14 -14
- package/dist/chunks/{skill-zqa4xgzf.js → file-retention-1bv5gv1b.js} +4 -4
- package/dist/chunks/{skill-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-wzw8h0en.js → file-retention-1f6hy9rq.js} +19 -19
- package/dist/chunks/{skill-kw3wbhtp.js → file-retention-1gjj1166.js} +18 -18
- package/dist/chunks/{skill-xnc6bxth.js → file-retention-1rev7gxe.js} +10 -10
- package/dist/chunks/{skill-pj4qz0sj.js → file-retention-21ph0r93.js} +14 -14
- package/dist/chunks/{skill-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{skill-06p9s07g.js → file-retention-21y16wm3.js} +16 -16
- package/dist/chunks/{skill-eksyn7fm.js → file-retention-22hd0j66.js} +6 -6
- package/dist/chunks/{skill-6h73sxmp.js → file-retention-2402vzrj.js} +5 -5
- package/dist/chunks/{skill-81swgkk7.js → file-retention-27rr2vyz.js} +9 -9
- package/dist/chunks/{skill-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-89vwjast.js → file-retention-2ce14n3m.js} +3 -3
- package/dist/chunks/{skill-hb7yy7na.js → file-retention-2e96adxv.js} +3 -3
- package/dist/chunks/{skill-mpgj7yzy.js → file-retention-2ehqxkpw.js} +12 -12
- package/dist/chunks/{skill-6vaz6wbx.js → file-retention-2j4n21tp.js} +24 -24
- package/dist/chunks/{skill-38pmhpq9.js → file-retention-2mjmkh9s.js} +7 -7
- package/dist/chunks/{skill-sq391nww.js → file-retention-2n1m09z1.js} +50 -50
- package/dist/chunks/{skill-04q3dmd9.js → file-retention-2rq070n9.js} +11 -11
- package/dist/chunks/{skill-m9wbqshr.js → file-retention-2vjdmk3d.js} +4 -4
- package/dist/chunks/{skill-0sxgj3q6.js → file-retention-39ndxgpe.js} +33 -33
- package/dist/chunks/{skill-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-5f0r7wn2.js → file-retention-3hxd2pas.js} +9 -9
- package/dist/chunks/{skill-ey3r30py.js → file-retention-3rdyp2e9.js} +15 -15
- package/dist/chunks/{skill-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-8xhx5x0e.js → file-retention-3xh7thmg.js} +21 -21
- package/dist/chunks/{skill-9kt49dv5.js → file-retention-43k15f45.js} +4 -4
- package/dist/chunks/{skill-1w82hygq.js → file-retention-44pwjz7h.js} +7 -7
- package/dist/chunks/{skill-6dd0fr5r.js → file-retention-4cbsgq64.js} +9 -9
- package/dist/chunks/{skill-h5vwbggd.js → file-retention-4mfjr29g.js} +11 -11
- package/dist/chunks/{skill-g17w5wg1.js → file-retention-4ns3h2re.js} +6 -6
- package/dist/chunks/{skill-dph9w4m5.js → file-retention-50qymgqy.js} +22 -22
- package/dist/chunks/{skill-tv2zb7b5.js → file-retention-50tj1fna.js} +12 -12
- package/dist/chunks/{skill-ecxazetx.js → file-retention-53an9qaw.js} +9 -9
- package/dist/chunks/{skill-c7yqmbpx.js → file-retention-555ky206.js} +10 -10
- package/dist/chunks/{skill-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
- package/dist/chunks/{skill-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-58ez0xmy.js → file-retention-5s16absr.js} +1 -1
- package/dist/chunks/{skill-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-vphs0ems.js → file-retention-5xcyjzx9.js} +32 -32
- package/dist/chunks/file-retention-619r8v3y.js +18 -0
- package/dist/chunks/{skill-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{skill-hzbw9fn5.js → file-retention-6h729pt7.js} +25 -25
- package/dist/chunks/{skill-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-427v0r19.js → file-retention-6s5ftx64.js} +27 -27
- package/dist/chunks/{skill-vy7x5tbn.js → file-retention-6tsrzwz7.js} +7 -7
- package/dist/chunks/{skill-k5ge3013.js → file-retention-6xvefnve.js} +20 -20
- package/dist/chunks/{skill-cfx2hezr.js → file-retention-70rp2wwb.js} +21 -21
- package/dist/chunks/{skill-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{skill-21zrd450.js → file-retention-7afqphx4.js} +28 -28
- package/dist/chunks/{skill-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-esafk7q3.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-536cph44.js → file-retention-7gmgk224.js} +30 -30
- package/dist/chunks/{skill-v7cfskca.js → file-retention-7h3vxbq8.js} +22 -22
- package/dist/chunks/{skill-fgp06zs4.js → file-retention-7hc658wz.js} +34 -34
- package/dist/chunks/{skill-smn8xsvq.js → file-retention-7kn0j7vj.js} +23 -23
- package/dist/chunks/{skill-tm7zr4pr.js → file-retention-7sqxeqwy.js} +4 -4
- package/dist/chunks/{skill-aqrcawhr.js → file-retention-7sza4df7.js} +13 -13
- package/dist/chunks/{skill-2f04pwep.js → file-retention-7w99qc9d.js} +3 -3
- package/dist/chunks/{skill-km9mpse9.js → file-retention-8273cdnn.js} +12 -12
- package/dist/chunks/{skill-5efzqhr2.js → file-retention-869zy1ww.js} +11 -11
- package/dist/chunks/{skill-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-8y2nn4c7.js → file-retention-8kma1xxh.js} +20 -20
- package/dist/chunks/{skill-hkj6fxjk.js → file-retention-8kvrn2j1.js} +6 -6
- package/dist/chunks/{skill-485rp6r9.js → file-retention-8p08r1qg.js} +23 -23
- package/dist/chunks/{skill-dj2t23y0.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{skill-x6pyv2yz.js → file-retention-8ryk0bb9.js} +5 -5
- package/dist/chunks/{skill-yavve3w1.js → file-retention-8tn92620.js} +11 -11
- package/dist/chunks/{skill-073yvgp4.js → file-retention-8wwtrzd2.js} +11 -11
- package/dist/chunks/{skill-pea6dbqf.js → file-retention-8x2v7k4j.js} +54 -54
- package/dist/chunks/{skill-g7hsbyvn.js → file-retention-9486j81v.js} +9 -9
- package/dist/chunks/{skill-00mqm9kf.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{skill-4qzgagaa.js → file-retention-9vgqcaan.js} +17 -17
- package/dist/chunks/{skill-5c4hm403.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{skill-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-rrjahgq1.js → file-retention-aaxyspyh.js} +19 -19
- package/dist/chunks/{skill-273bqgwm.js → file-retention-ac89cwr5.js} +9 -9
- package/dist/chunks/{skill-tjsj89dc.js → file-retention-af4kcksd.js} +9 -9
- package/dist/chunks/{skill-fbvn2b0m.js → file-retention-afqmc9k2.js} +17 -17
- package/dist/chunks/{skill-cwxy8s66.js → file-retention-ah47jct0.js} +173 -173
- package/dist/chunks/{skill-4gv65rh6.js → file-retention-arezx02c.js} +45 -45
- package/dist/chunks/{skill-gknhvrra.js → file-retention-aw7a9nw5.js} +5 -5
- package/dist/chunks/{skill-4ksjm71c.js → file-retention-b0k29y2c.js} +15 -15
- package/dist/chunks/{skill-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-pmr4s4kc.js → file-retention-bct739vz.js} +4 -4
- package/dist/chunks/{skill-b0awdqvx.js → file-retention-bdqrk2vk.js} +7 -7
- package/dist/chunks/{skill-d2azexz5.js → file-retention-bvbz56nf.js} +11 -11
- package/dist/chunks/{skill-m16b28xc.js → file-retention-bw6ad3ce.js} +7 -7
- package/dist/chunks/{skill-asqmdnzm.js → file-retention-c28eb4sz.js} +19 -19
- package/dist/chunks/{skill-x1hekaqh.js → file-retention-c95d7h9p.js} +18 -18
- package/dist/chunks/{skill-bgn62fr8.js → file-retention-cat71d1r.js} +8 -8
- package/dist/chunks/{skill-kvvk39gs.js → file-retention-cavr175a.js} +4 -4
- package/dist/chunks/{skill-m0jqrx5p.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{skill-c2fa0gjs.js → file-retention-cjg4xdhd.js} +10 -10
- package/dist/chunks/{skill-2tfmgkzg.js → file-retention-cq37gk0t.js} +4 -4
- package/dist/chunks/{skill-wvx86wgz.js → file-retention-crnty030.js} +12 -12
- package/dist/chunks/{skill-rfnzy394.js → file-retention-d50f2zf5.js} +1 -1
- package/dist/chunks/{skill-nymmp31y.js → file-retention-d93f29dp.js} +8 -8
- package/dist/chunks/{skill-sd6b6aez.js → file-retention-dak94xbq.js} +4 -4
- package/dist/chunks/{skill-f75rfffy.js → file-retention-dfj54ch4.js} +17 -17
- package/dist/chunks/{skill-cxv3b682.js → file-retention-dgj0dq1g.js} +8 -8
- package/dist/chunks/{skill-rtathh62.js → file-retention-dh35ypn5.js} +8 -8
- package/dist/chunks/{skill-0222smgd.js → file-retention-dm0r48f7.js} +9 -9
- package/dist/chunks/{skill-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-vwdfkczd.js → file-retention-e1zd518x.js} +15 -15
- package/dist/chunks/{skill-yattrjvx.js → file-retention-ebpnnjbe.js} +60 -60
- package/dist/chunks/{skill-qfrge5cf.js → file-retention-ekz5bwcn.js} +37 -37
- package/dist/chunks/{skill-ttqh24zm.js → file-retention-embw8kgh.js} +4 -4
- package/dist/chunks/{skill-fkhf9ky0.js → file-retention-emcapr5g.js} +20 -20
- package/dist/chunks/{skill-6y8mdthe.js → file-retention-epn8kvkh.js} +15 -15
- package/dist/chunks/{skill-cxjx4k2f.js → file-retention-erc452cp.js} +11 -11
- package/dist/chunks/{skill-jbyvhchy.js → file-retention-etpxg0rn.js} +80 -80
- package/dist/chunks/{skill-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-qjc9h60s.js → file-retention-f3qh1r3p.js} +8 -8
- package/dist/chunks/{skill-hdnk95c8.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{skill-4066mr2m.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{skill-tdh80rdv.js → file-retention-fa7a5kmm.js} +10 -10
- package/dist/chunks/{skill-kmv022h3.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{skill-p1wf2k30.js → file-retention-fjmrr6sh.js} +9 -9
- package/dist/chunks/{skill-05b1y4dr.js → file-retention-frwpyczr.js} +4 -4
- package/dist/chunks/{skill-37jpxhaq.js → file-retention-fs2pkz11.js} +24 -24
- package/dist/chunks/{skill-3h5xskan.js → file-retention-fsnnn25x.js} +5 -5
- package/dist/chunks/{skill-15zevn5w.js → file-retention-fvanntqq.js} +6 -6
- package/dist/chunks/{skill-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-z7xj2rat.js → file-retention-fygdb7h7.js} +3 -3
- package/dist/chunks/{skill-b7fqsxev.js → file-retention-fzg7178x.js} +24 -24
- package/dist/chunks/{skill-z9nm54ts.js → file-retention-g47eftgs.js} +9 -9
- package/dist/chunks/{skill-0s2ms6dh.js → file-retention-g76ncgrf.js} +9 -9
- package/dist/chunks/{skill-xn9jxgmv.js → file-retention-g8jasmdt.js} +8 -8
- package/dist/chunks/{skill-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-37tpcphx.js → file-retention-gf6kms5r.js} +28 -28
- package/dist/chunks/{skill-bwkch31r.js → file-retention-gnwa8js5.js} +10 -10
- package/dist/chunks/{skill-n1rxvz2x.js → file-retention-gsnhw10k.js} +30 -30
- package/dist/chunks/{skill-crptryd9.js → file-retention-gsx0ryk4.js} +9 -9
- package/dist/chunks/{skill-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{skill-fx4shqry.js → file-retention-gw2ymje7.js} +32 -32
- package/dist/chunks/{skill-wh6nx8gk.js → file-retention-gyg8dfc2.js} +4 -4
- package/dist/chunks/{skill-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{skill-9rszdcmw.js → file-retention-h0r85tvv.js} +11 -11
- package/dist/chunks/{skill-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/file-retention-hs9vagrq.js +22 -0
- package/dist/chunks/{skill-4hhf61nd.js → file-retention-j07qhehd.js} +34 -34
- package/dist/chunks/{skill-n95r7dn6.js → file-retention-j0z6kjp0.js} +49 -49
- package/dist/chunks/{skill-xpbqh003.js → file-retention-j2n4dsrb.js} +11 -11
- package/dist/chunks/{skill-a6yex81s.js → file-retention-j4m03wzn.js} +13 -13
- package/dist/chunks/{skill-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-8xttkpaf.js → file-retention-j9d0ywkw.js} +11 -11
- package/dist/chunks/file-retention-jhe81125.js +462 -0
- package/dist/chunks/{skill-y7zhbg8e.js → file-retention-jhrth04p.js} +22 -22
- package/dist/chunks/{skill-1x7w021c.js → file-retention-jw5zxnhe.js} +8 -8
- package/dist/chunks/{skill-c3kepfq8.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/file-retention-k39k42nb.js +247 -0
- package/dist/chunks/{skill-cr3aetdn.js → file-retention-kbmsdr00.js} +26 -26
- package/dist/chunks/{skill-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-ewezmb4f.js → file-retention-kksxa1cq.js} +41 -41
- package/dist/chunks/{skill-5g6sb6sw.js → file-retention-km74qb37.js} +27 -27
- package/dist/chunks/{skill-5m7j8hm9.js → file-retention-kmbf06zj.js} +19 -19
- package/dist/chunks/{skill-8pybqfp6.js → file-retention-krm7e7dw.js} +20 -20
- package/dist/chunks/{skill-79r1wrqa.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{skill-748gj6gn.js → file-retention-kwqs22xk.js} +6 -6
- package/dist/chunks/{skill-t69nnh3p.js → file-retention-m27pyyd3.js} +8 -8
- package/dist/chunks/{skill-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{skill-116g6ysg.js → file-retention-mmxganfs.js} +4 -4
- package/dist/chunks/{skill-kb1mepd1.js → file-retention-mn59ba1z.js} +26 -26
- package/dist/chunks/{skill-mn5tqr63.js → file-retention-mn5tqr63.js} +2 -2
- package/dist/chunks/{skill-mvfsc1pv.js → file-retention-mvfsc1pv.js} +1 -1
- package/dist/chunks/{skill-827nqb10.js → file-retention-n1d91sft.js} +10 -10
- package/dist/chunks/{skill-d46kpj6a.js → file-retention-n2sd6q17.js} +37 -37
- package/dist/chunks/{skill-rz0qknjf.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{skill-90qmd7bg.js → file-retention-n92f50s8.js} +11 -11
- package/dist/chunks/{skill-vccwxyms.js → file-retention-nfq246yx.js} +12 -12
- package/dist/chunks/{skill-f0tca92g.js → file-retention-nhahagkd.js} +2 -2
- package/dist/chunks/{skill-m2951qy5.js → file-retention-nhph57h8.js} +18 -18
- package/dist/chunks/{skill-nhy5jxhy.js → file-retention-nhy5jxhy.js} +1 -1
- package/dist/chunks/{skill-cdj9q7e3.js → file-retention-nkr2m8gd.js} +14 -14
- package/dist/chunks/{skill-m0mxmb48.js → file-retention-npgs9cj4.js} +25 -25
- package/dist/chunks/{skill-s8zy8myc.js → file-retention-p44d8wdy.js} +5 -5
- package/dist/chunks/{skill-sqvf8rgk.js → file-retention-p6q9533y.js} +46 -46
- package/dist/chunks/{skill-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{skill-ht5s5k2z.js → file-retention-pn64wmq6.js} +18 -18
- package/dist/chunks/{skill-52pmyg9z.js → file-retention-ppna41xj.js} +24 -24
- package/dist/chunks/{skill-59y1j56r.js → file-retention-ptj67sqd.js} +25 -25
- package/dist/chunks/{skill-cw06aj2p.js → file-retention-pv1zy8m3.js} +30 -30
- package/dist/chunks/{skill-skegxwkp.js → file-retention-q5besymn.js} +7 -7
- package/dist/chunks/{skill-fdamjsg4.js → file-retention-qcpabzqj.js} +10 -10
- package/dist/chunks/{skill-t97t2t7r.js → file-retention-qek8dtx8.js} +11 -11
- package/dist/chunks/{skill-jc5zh87m.js → file-retention-qhh22kz2.js} +24 -24
- package/dist/chunks/{skill-q2s1vy6g.js → file-retention-qmyyxapx.js} +5 -5
- package/dist/chunks/{skill-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-bgxcxs0p.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{skill-fdwb90kk.js → file-retention-qtwbjpms.js} +37 -37
- package/dist/chunks/{skill-ahgm1r24.js → file-retention-qwqrj6wy.js} +20 -20
- package/dist/chunks/{skill-w16ds23h.js → file-retention-qymdde0s.js} +33 -33
- package/dist/chunks/{skill-7cxe0w6q.js → file-retention-qyrhphfh.js} +3 -3
- package/dist/chunks/{skill-2y5et45e.js → file-retention-r0hxv64b.js} +19 -19
- package/dist/chunks/{skill-yddgxcp4.js → file-retention-r1wdcgzk.js} +5 -5
- package/dist/chunks/{skill-cq17aevt.js → file-retention-r453yw66.js} +38 -38
- package/dist/chunks/{skill-dcj77ap2.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{skill-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
- package/dist/chunks/{skill-62a0qfn1.js → file-retention-rc7zd1wa.js} +33 -33
- package/dist/chunks/{skill-eaj1djv9.js → file-retention-rhjbct0v.js} +8 -8
- package/dist/chunks/{skill-g8d3gcyj.js → file-retention-ryr25ayn.js} +7 -7
- package/dist/chunks/{skill-c0e85pqa.js → file-retention-s1ad6w9q.js} +20 -20
- package/dist/chunks/{skill-ztpcpx2k.js → file-retention-s5rvfnyx.js} +23 -23
- package/dist/chunks/{skill-frzkm7eq.js → file-retention-srjznz14.js} +18 -18
- package/dist/chunks/{skill-mvqrx4s2.js → file-retention-sw1efyn5.js} +11 -11
- package/dist/chunks/{skill-p1p8k1ef.js → file-retention-t7z3zppm.js} +2 -2
- package/dist/chunks/{skill-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
- package/dist/chunks/{skill-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{skill-76myzc3f.js → file-retention-tfngb0ww.js} +4 -4
- package/dist/chunks/{skill-c78bbtc9.js → file-retention-tn0aqsam.js} +5 -5
- package/dist/chunks/{skill-k3m7ejjg.js → file-retention-tpf4g67y.js} +32 -32
- package/dist/chunks/{skill-6kcsr840.js → file-retention-tprh6xrh.js} +17 -17
- package/dist/chunks/{skill-0y5eb3hv.js → file-retention-tqgn9w63.js} +13 -13
- package/dist/chunks/{skill-2vfz407x.js → file-retention-tr8f0wtm.js} +25 -25
- package/dist/chunks/{skill-snm4v5fs.js → file-retention-trfd6fkk.js} +30 -30
- package/dist/chunks/{skill-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-p72z5xx6.js → file-retention-v68haqbh.js} +2 -2
- package/dist/chunks/{skill-ecrv93z9.js → file-retention-v8jfbz3g.js} +6 -6
- package/dist/chunks/{skill-hbf770qa.js → file-retention-vaxvpga0.js} +15 -15
- package/dist/chunks/{skill-ba8tn576.js → file-retention-vd83qvgk.js} +16 -16
- package/dist/chunks/{skill-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-jcvp1ydt.js → file-retention-wb19mssj.js} +25 -25
- package/dist/chunks/{skill-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{skill-cjgwzec5.js → file-retention-wpewnqw5.js} +8 -8
- package/dist/chunks/{skill-1ge3p48e.js → file-retention-wvehkrpd.js} +15 -15
- package/dist/chunks/{skill-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-prp2s7ks.js → file-retention-xegz7fxd.js} +5 -5
- package/dist/chunks/{skill-y16xxa45.js → file-retention-xejffc0d.js} +22 -22
- package/dist/chunks/{skill-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-dv96pvfp.js → file-retention-y772rwhv.js} +18 -18
- package/dist/chunks/{skill-bsq7y6bp.js → file-retention-y9qg9czc.js} +17 -17
- package/dist/chunks/{skill-9z7kng03.js → file-retention-ycdsf1jf.js} +47 -47
- package/dist/chunks/{skill-t4tq2a7p.js → file-retention-ydh6k28s.js} +26 -26
- package/dist/chunks/{skill-tkr4f2t1.js → file-retention-yk6wg77b.js} +39 -39
- package/dist/chunks/{skill-r8xr0va3.js → file-retention-yp2x3t23.js} +4 -4
- package/dist/chunks/{skill-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-bpqahvg7.js → file-retention-ytx9308a.js} +8 -8
- package/dist/chunks/{skill-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-4sjc8vp5.js → file-retention-z3ndh4jt.js} +9 -9
- package/dist/chunks/{skill-z63w68vq.js → file-retention-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-qcfsefxz.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{skill-fxjtq7wv.js → file-retention-z7x0xt50.js} +15 -15
- package/dist/chunks/{skill-xrsf5jnj.js → file-retention-z80kxeh4.js} +24 -24
- package/dist/chunks/{skill-tgw0t7t4.js → file-retention-za681ws6.js} +13 -13
- package/dist/chunks/{skill-nhnj3r8x.js → file-retention-za77p82n.js} +6 -6
- package/dist/chunks/{skill-zvt67h1h.js → file-retention-zb0sdjym.js} +43 -43
- package/dist/chunks/{skill-snkxabjd.js → file-retention-zcwm7cjd.js} +24 -24
- package/dist/chunks/{skill-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-868tn2h5.js → file-retention-zk0xr9z7.js} +4 -4
- package/dist/chunks/{skill-nec87jdd.js → file-retention-zps6r183.js} +2 -2
- package/dist/chunks/{skill-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-mbfa63ez.js → file-retention-zwsa7mgc.js} +16 -16
- package/dist/chunks/{skill-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- 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 +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +83 -83
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- 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 +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- 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 +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- 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 +158 -158
- package/dist/plugin/sdk.js +68 -68
- 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 +339 -339
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +108 -108
- 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 +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +103 -103
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +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 +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/skill-e8mq09xw.js +0 -462
- package/dist/chunks/skill-nhb97n4t.js +0 -22
- package/dist/chunks/skill-pf31ssb9.js +0 -18
- package/dist/chunks/skill-taebzevr.js +0 -247
- /package/dist/chunks/{skill-0mesazry.js → file-retention-0mesazry.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-paphc93g.js → file-retention-paphc93g.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service35,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service35 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service35.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service35, awaitActivation2, exports_service };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node78
|
|
7
|
+
} from "./file-retention-kksxa1cq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer18,
|
|
20
|
+
node: () => node49
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service45 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service73;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer8 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service45.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node49 = makeLocationNode({
|
|
67
|
+
service: Service45,
|
|
68
|
+
layer: layer18,
|
|
69
|
+
deps: [node78, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service45, layer18, node49, exports_generate2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./file-retention-dfj54ch4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./file-retention-1gjj1166.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./file-retention-aaxyspyh.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service6
|
|
27
|
+
} from "./file-retention-3rdyp2e9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin8,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin8 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service6;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service69;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin9 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin8, toModelContent2, exports_read };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-m27pyyd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./file-retention-ptj67sqd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./file-retention-arezx02c.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service75;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service53);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-2vjdmk3d.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node61
|
|
9
|
+
} from "./file-retention-qcpabzqj.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node59,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service55 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service57;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service55.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node59 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node61, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event12, inspect2, resolve3, node59, exports_wellknown };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-2vjdmk3d.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info6,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service38,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node42
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info6.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service38.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node42 = makeLocationNode({
|
|
75
|
+
service: Service38,
|
|
76
|
+
layer: layer17,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info6, NotFoundError5, ExecutionError2, Service38, layer17, node42, exports_command4, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-2ce14n3m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-2vjdmk3d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./file-retention-v8jfbz3g.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,38 +20,38 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-2e96adxv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./file-retention-8273cdnn.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service50
|
|
34
|
+
} from "./file-retention-fzg7178x.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service46
|
|
37
|
+
} from "./file-retention-n2sd6q17.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-retention-vd83qvgk.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./file-retention-s1ad6w9q.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-retention-9486j81v.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./file-retention-3hxd2pas.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,10 +65,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service79;
|
|
67
67
|
const database = yield* Service80;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service61;
|
|
69
|
+
const instances = yield* Service49;
|
|
70
|
+
const execution = yield* Service46;
|
|
71
|
+
const admission = yield* Service50;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
127
127
|
});
|
|
128
128
|
if (existing)
|
|
129
129
|
return existing;
|
|
130
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
130
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
131
131
|
if (session.revert)
|
|
132
132
|
yield* commit2(bus, session);
|
|
133
133
|
return yield* admission.admit({
|
|
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
143
143
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
144
144
|
const session = yield* get(sessionID);
|
|
145
145
|
const running = yield* Effect.gen(function* () {
|
|
146
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
146
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
147
147
|
text: `User shell command failed to start:
|
|
148
148
|
${input.command}
|
|
149
149
|
|
|
@@ -172,7 +172,7 @@ ${error.message}`,
|
|
|
172
172
|
});
|
|
173
173
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
174
174
|
const session = yield* get(sessionID);
|
|
175
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
175
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
|
|
176
176
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
177
177
|
sessionID,
|
|
178
178
|
id: skill.id,
|
|
@@ -229,13 +229,13 @@ ${error.message}`,
|
|
|
229
229
|
const session = yield* get(sessionID);
|
|
230
230
|
if (yield* execution.isActive(sessionID))
|
|
231
231
|
return yield* new BusyError2({ sessionID });
|
|
232
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
232
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
233
233
|
});
|
|
234
234
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
235
235
|
const session = yield* get(sessionID);
|
|
236
236
|
if (yield* execution.isActive(sessionID))
|
|
237
237
|
return yield* new BusyError2({ sessionID });
|
|
238
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
238
|
+
yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
|
|
239
239
|
return yield* execution.wake(sessionID);
|
|
240
240
|
});
|
|
241
241
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|