@opencode/core 0.0.0-dev-19447 → 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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +77 -77
- package/dist/chunks/{state-z7xb9rwf.js → file-retention-01z5yxwd.js} +5 -5
- package/dist/chunks/{state-z3w2ebh5.js → file-retention-02dn0gj9.js} +3 -3
- package/dist/chunks/{state-fwqtep5n.js → file-retention-03vdvqz5.js} +11 -11
- package/dist/chunks/{state-bccb6npm.js → file-retention-06dxphr1.js} +4 -4
- package/dist/chunks/{state-zh8xyr5z.js → file-retention-07n10xmz.js} +3 -3
- package/dist/chunks/{state-sf9n3m03.js → file-retention-07vp4eyz.js} +79 -79
- package/dist/chunks/{state-yjrwatts.js → file-retention-096ebvky.js} +24 -24
- package/dist/chunks/{state-k685xtze.js → file-retention-0cehhtm7.js} +6 -6
- package/dist/chunks/{state-hv30yv51.js → file-retention-0f2q25am.js} +13 -13
- package/dist/chunks/{state-qtkzm0vp.js → file-retention-0h54jqbs.js} +8 -8
- package/dist/chunks/{state-7m8aa493.js → file-retention-0hqrfwhm.js} +2 -2
- package/dist/chunks/file-retention-0mesazry.js +4 -0
- package/dist/chunks/{state-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-xspgg4sy.js → file-retention-0swpfrb6.js} +15 -15
- package/dist/chunks/{state-n33trdnk.js → file-retention-0t37s3gb.js} +8 -8
- package/dist/chunks/{state-mdzsfjay.js → file-retention-0vnpdrzz.js} +21 -21
- package/dist/chunks/{state-y8w077mg.js → file-retention-10mpg1ev.js} +24 -24
- package/dist/chunks/{state-yvmq8qxx.js → file-retention-1awm1f41.js} +10 -10
- package/dist/chunks/{state-qt279kmq.js → file-retention-1bv5gv1b.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-rez2rx9y.js → file-retention-1f6hy9rq.js} +13 -13
- package/dist/chunks/{state-ghn57zes.js → file-retention-1gjj1166.js} +18 -18
- package/dist/chunks/{state-nstjqxq4.js → file-retention-1rev7gxe.js} +10 -10
- package/dist/chunks/{state-a8daj8er.js → file-retention-21ph0r93.js} +17 -17
- package/dist/chunks/{state-21r38tys.js → file-retention-21r38tys.js} +1 -1
- package/dist/chunks/{state-ft5ddddr.js → file-retention-21y16wm3.js} +11 -11
- package/dist/chunks/{state-hgwdew3c.js → file-retention-22hd0j66.js} +6 -6
- package/dist/chunks/{state-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
- package/dist/chunks/{state-rk0rec3h.js → file-retention-27rr2vyz.js} +7 -7
- package/dist/chunks/{state-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-gv04f4x2.js → file-retention-2ce14n3m.js} +3 -3
- package/dist/chunks/{state-bjmdedkt.js → file-retention-2e96adxv.js} +9 -9
- package/dist/chunks/{state-pcfbqvzv.js → file-retention-2ehqxkpw.js} +18 -18
- package/dist/chunks/{state-q01tve33.js → file-retention-2j4n21tp.js} +24 -24
- package/dist/chunks/{state-n4gt17cv.js → file-retention-2mjmkh9s.js} +7 -7
- package/dist/chunks/{state-wp6vn9tt.js → file-retention-2n1m09z1.js} +43 -43
- package/dist/chunks/{state-630nmsgx.js → file-retention-2rq070n9.js} +8 -8
- package/dist/chunks/{state-egaqz5a1.js → file-retention-2vjdmk3d.js} +4 -4
- package/dist/chunks/{state-j2hxc3t3.js → file-retention-39ndxgpe.js} +36 -36
- package/dist/chunks/{state-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-r7abcrtk.js → file-retention-3hxd2pas.js} +9 -9
- package/dist/chunks/{state-g2kcfwq1.js → file-retention-3rdyp2e9.js} +17 -17
- package/dist/chunks/{state-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-4r0p8j9m.js → file-retention-3xh7thmg.js} +24 -24
- package/dist/chunks/{state-0n9gyfew.js → file-retention-43k15f45.js} +4 -4
- package/dist/chunks/{state-2a04vspk.js → file-retention-44pwjz7h.js} +10 -10
- package/dist/chunks/{state-vcjhp4qm.js → file-retention-4cbsgq64.js} +9 -9
- package/dist/chunks/{state-pvv5xcv6.js → file-retention-4mfjr29g.js} +11 -11
- package/dist/chunks/{state-mvfdckk2.js → file-retention-4ns3h2re.js} +4 -4
- package/dist/chunks/{state-py1bxw50.js → file-retention-50qymgqy.js} +25 -25
- package/dist/chunks/{state-q6kb9sck.js → file-retention-50tj1fna.js} +12 -12
- package/dist/chunks/{state-n5rrarpp.js → file-retention-53an9qaw.js} +9 -9
- package/dist/chunks/{state-kf7j6cg9.js → file-retention-555ky206.js} +10 -10
- package/dist/chunks/{state-56gdpj1q.js → file-retention-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
- package/dist/chunks/{state-rknfjh7e.js → file-retention-5s16absr.js} +1 -1
- package/dist/chunks/{state-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-hp2hfxry.js → file-retention-5xcyjzx9.js} +30 -30
- package/dist/chunks/file-retention-619r8v3y.js +18 -0
- package/dist/chunks/{state-669tq793.js → file-retention-669tq793.js} +1 -1
- package/dist/chunks/{state-rne9htfb.js → file-retention-6h729pt7.js} +25 -25
- package/dist/chunks/{state-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-hf8gcg7x.js → file-retention-6s5ftx64.js} +22 -22
- package/dist/chunks/{state-fn0qbmzq.js → file-retention-6tsrzwz7.js} +5 -5
- package/dist/chunks/{state-w00e6xjq.js → file-retention-6xvefnve.js} +20 -20
- package/dist/chunks/{state-w7spaet8.js → file-retention-70rp2wwb.js} +16 -16
- package/dist/chunks/{state-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
- package/dist/chunks/{state-371rq13y.js → file-retention-7afqphx4.js} +30 -30
- package/dist/chunks/{state-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{state-88m64g4a.js → file-retention-7gmgk224.js} +28 -28
- package/dist/chunks/{state-741rac0p.js → file-retention-7h3vxbq8.js} +24 -24
- package/dist/chunks/{state-eqk324jh.js → file-retention-7hc658wz.js} +43 -43
- package/dist/chunks/{state-2xf2qswm.js → file-retention-7kn0j7vj.js} +20 -20
- package/dist/chunks/{state-d8nc1xcx.js → file-retention-7sqxeqwy.js} +4 -4
- package/dist/chunks/{state-bq8a1h3r.js → file-retention-7sza4df7.js} +13 -13
- package/dist/chunks/{state-pc9p5g4e.js → file-retention-8273cdnn.js} +16 -16
- package/dist/chunks/{state-69z021zb.js → file-retention-869zy1ww.js} +11 -11
- package/dist/chunks/{state-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-7vg8dtx8.js → file-retention-8kma1xxh.js} +17 -17
- package/dist/chunks/{state-d5drqwgr.js → file-retention-8kvrn2j1.js} +6 -6
- package/dist/chunks/{state-2c7dx6p2.js → file-retention-8p08r1qg.js} +23 -23
- package/dist/chunks/{state-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-9w4ppqge.js → file-retention-8ryk0bb9.js} +5 -5
- package/dist/chunks/{state-20d64x48.js → file-retention-8tn92620.js} +11 -11
- package/dist/chunks/{state-vqyfcyyq.js → file-retention-8wwtrzd2.js} +11 -11
- package/dist/chunks/{state-zrx4sfag.js → file-retention-8x2v7k4j.js} +54 -54
- package/dist/chunks/{state-6xcfd9ra.js → file-retention-9486j81v.js} +9 -9
- package/dist/chunks/{state-83x6p9kd.js → file-retention-96yt6zt0.js} +1 -1
- package/dist/chunks/{state-w6sqmgkm.js → file-retention-9vgqcaan.js} +17 -17
- package/dist/chunks/{state-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
- package/dist/chunks/{state-qham2r5k.js → file-retention-aaxyspyh.js} +12 -12
- package/dist/chunks/{state-hydn0fzr.js → file-retention-ac89cwr5.js} +9 -9
- package/dist/chunks/{state-d09006c3.js → file-retention-af4kcksd.js} +9 -9
- package/dist/chunks/{state-e0jg44ag.js → file-retention-afqmc9k2.js} +16 -16
- package/dist/chunks/{state-bfrr9zkb.js → file-retention-ah47jct0.js} +144 -144
- package/dist/chunks/{state-1dsbh3ng.js → file-retention-arezx02c.js} +43 -43
- package/dist/chunks/{state-589ed8en.js → file-retention-aw7a9nw5.js} +5 -5
- package/dist/chunks/{state-adas53zv.js → file-retention-b0k29y2c.js} +15 -15
- package/dist/chunks/{state-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-3j8sdtpz.js → file-retention-bct739vz.js} +4 -4
- package/dist/chunks/{state-n8c291r7.js → file-retention-bdqrk2vk.js} +6 -6
- package/dist/chunks/{state-cdtt9ez6.js → file-retention-bvbz56nf.js} +17 -17
- package/dist/chunks/{state-whj48kk1.js → file-retention-bw6ad3ce.js} +7 -7
- package/dist/chunks/{state-e25hakt3.js → file-retention-c28eb4sz.js} +24 -24
- package/dist/chunks/{state-m3raks5k.js → file-retention-c95d7h9p.js} +18 -18
- package/dist/chunks/{state-26sztzag.js → file-retention-cat71d1r.js} +8 -8
- package/dist/chunks/{state-5wtwrezn.js → file-retention-cavr175a.js} +21 -21
- package/dist/chunks/{state-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-hzm9egg4.js → file-retention-cjg4xdhd.js} +11 -11
- package/dist/chunks/{state-cq37gk0t.js → file-retention-cq37gk0t.js} +4 -4
- package/dist/chunks/{state-yqvvfgxe.js → file-retention-crnty030.js} +15 -15
- package/dist/chunks/{state-t23qze4t.js → file-retention-d50f2zf5.js} +1 -1
- package/dist/chunks/{state-s6xtjvjv.js → file-retention-d93f29dp.js} +8 -8
- package/dist/chunks/{state-vgstyqk1.js → file-retention-dak94xbq.js} +4 -4
- package/dist/chunks/{state-8rgwsr78.js → file-retention-dfj54ch4.js} +16 -16
- package/dist/chunks/{state-7b15y959.js → file-retention-dgj0dq1g.js} +8 -8
- package/dist/chunks/{state-bw0vgseb.js → file-retention-dh35ypn5.js} +5 -5
- package/dist/chunks/{state-nk5bqcmm.js → file-retention-dm0r48f7.js} +6 -6
- package/dist/chunks/{state-dpkg50ah.js → file-retention-dpkg50ah.js} +1 -1
- package/dist/chunks/{state-8n4kyv5a.js → file-retention-e1zd518x.js} +17 -17
- package/dist/chunks/{state-zhg3k1bt.js → file-retention-ebpnnjbe.js} +59 -59
- package/dist/chunks/{state-xmwwwpgj.js → file-retention-ekz5bwcn.js} +35 -35
- package/dist/chunks/{state-ag4rn41e.js → file-retention-embw8kgh.js} +4 -4
- package/dist/chunks/{state-5jv30jb5.js → file-retention-emcapr5g.js} +15 -15
- package/dist/chunks/{state-v0n7m6cm.js → file-retention-epn8kvkh.js} +15 -15
- package/dist/chunks/{state-wwr1ex90.js → file-retention-erc452cp.js} +11 -11
- package/dist/chunks/{state-z2t22we9.js → file-retention-etpxg0rn.js} +79 -79
- package/dist/chunks/{state-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-4apk1xby.js → file-retention-f3qh1r3p.js} +8 -8
- package/dist/chunks/{state-f828m53h.js → file-retention-f828m53h.js} +2 -2
- package/dist/chunks/{state-t8mcaem5.js → file-retention-f8q7mv7a.js} +1 -1
- package/dist/chunks/{state-mwjh8pk4.js → file-retention-fa7a5kmm.js} +10 -10
- package/dist/chunks/{state-gt0cxfk7.js → file-retention-fgh0kbhd.js} +1 -1
- package/dist/chunks/{state-t0x5rdq8.js → file-retention-fjmrr6sh.js} +9 -9
- package/dist/chunks/{state-zfznrpx1.js → file-retention-frwpyczr.js} +4 -4
- package/dist/chunks/{state-kjmahcfy.js → file-retention-fs2pkz11.js} +24 -24
- package/dist/chunks/{state-73v7pdd7.js → file-retention-fsnnn25x.js} +8 -8
- package/dist/chunks/{state-qqtwvk4z.js → file-retention-fvanntqq.js} +6 -6
- package/dist/chunks/{state-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-jhetwysa.js → file-retention-fygdb7h7.js} +3 -3
- package/dist/chunks/{state-wfhhx5kx.js → file-retention-fzg7178x.js} +24 -24
- package/dist/chunks/{state-sygp3w95.js → file-retention-g47eftgs.js} +9 -9
- package/dist/chunks/{state-0648k9gm.js → file-retention-g76ncgrf.js} +9 -9
- package/dist/chunks/{state-8hgfhrm0.js → file-retention-g8jasmdt.js} +11 -11
- package/dist/chunks/{state-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-69gqtgnz.js → file-retention-gf6kms5r.js} +26 -26
- package/dist/chunks/{state-nxk9db36.js → file-retention-gnwa8js5.js} +5 -5
- package/dist/chunks/{state-nqh9s1ag.js → file-retention-gsnhw10k.js} +30 -30
- package/dist/chunks/{state-2bt6bea8.js → file-retention-gsx0ryk4.js} +9 -9
- package/dist/chunks/{state-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-0s202vxj.js → file-retention-gw2ymje7.js} +32 -32
- package/dist/chunks/{state-1av7y6ck.js → file-retention-gyg8dfc2.js} +4 -4
- package/dist/chunks/{state-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-eqkthcn2.js → file-retention-h0r85tvv.js} +11 -11
- package/dist/chunks/{state-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/file-retention-hs9vagrq.js +22 -0
- package/dist/chunks/{state-4b08hh7s.js → file-retention-j07qhehd.js} +36 -36
- package/dist/chunks/{state-k1mmad3q.js → file-retention-j0z6kjp0.js} +54 -54
- package/dist/chunks/{state-9m226mrz.js → file-retention-j2n4dsrb.js} +8 -8
- package/dist/chunks/{state-tjxnqq6b.js → file-retention-j4m03wzn.js} +13 -13
- package/dist/chunks/{state-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{state-05a7kx7a.js → file-retention-j9d0ywkw.js} +11 -11
- package/dist/chunks/{state-3cvmtvgn.js → file-retention-jhe81125.js} +271 -271
- package/dist/chunks/{state-s71e30v8.js → file-retention-jhrth04p.js} +20 -20
- package/dist/chunks/{state-dj9214gk.js → file-retention-jw5zxnhe.js} +8 -8
- package/dist/chunks/{state-5nsrms9d.js → file-retention-k16ay38w.js} +1 -1
- package/dist/chunks/file-retention-k39k42nb.js +247 -0
- package/dist/chunks/{state-dm2tk95h.js → file-retention-kbmsdr00.js} +26 -26
- package/dist/chunks/{state-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
- package/dist/chunks/{state-18rb28sc.js → file-retention-kksxa1cq.js} +31 -31
- package/dist/chunks/{state-6wmqk8tg.js → file-retention-km74qb37.js} +32 -32
- package/dist/chunks/{state-9jz16955.js → file-retention-kmbf06zj.js} +19 -19
- package/dist/chunks/{state-gd44rrza.js → file-retention-krm7e7dw.js} +20 -20
- package/dist/chunks/{state-zxwpk2nb.js → file-retention-ksz0h0wp.js} +1 -1
- package/dist/chunks/{state-ymtr76dy.js → file-retention-kwqs22xk.js} +6 -6
- package/dist/chunks/{state-c7ecgrk6.js → file-retention-m27pyyd3.js} +6 -6
- package/dist/chunks/{state-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
- package/dist/chunks/{state-t02ee0r6.js → file-retention-mmxganfs.js} +4 -4
- package/dist/chunks/{state-r7y3b39c.js → file-retention-mn59ba1z.js} +26 -26
- package/dist/chunks/{state-b1hwkhhg.js → file-retention-mn5tqr63.js} +8 -8
- package/dist/chunks/{state-r5x6zcsm.js → file-retention-mvfsc1pv.js} +3 -3
- package/dist/chunks/{state-fxpw1b1v.js → file-retention-n1d91sft.js} +7 -7
- package/dist/chunks/{state-71qjf0b8.js → file-retention-n2sd6q17.js} +38 -38
- package/dist/chunks/{state-4mkcvr19.js → file-retention-n76fdqym.js} +5 -5
- package/dist/chunks/{state-jv1rjkwz.js → file-retention-n92f50s8.js} +9 -9
- package/dist/chunks/{state-fkd2ewj5.js → file-retention-nfq246yx.js} +12 -12
- package/dist/chunks/{state-2k6pebmx.js → file-retention-nhahagkd.js} +10 -10
- package/dist/chunks/{state-nha5c8v7.js → file-retention-nhph57h8.js} +15 -15
- package/dist/chunks/{state-e82z9tr0.js → file-retention-nhy5jxhy.js} +7 -7
- package/dist/chunks/{state-t1k5mf8a.js → file-retention-nkr2m8gd.js} +13 -13
- package/dist/chunks/{state-vfd9tqdg.js → file-retention-npgs9cj4.js} +25 -25
- package/dist/chunks/{state-d2aac7k2.js → file-retention-p44d8wdy.js} +5 -5
- package/dist/chunks/{state-qre08jc7.js → file-retention-p6q9533y.js} +46 -46
- package/dist/chunks/{state-j935v87r.js → file-retention-paphc93g.js} +2 -2
- package/dist/chunks/{state-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{state-f6yt6dgc.js → file-retention-pn64wmq6.js} +20 -20
- package/dist/chunks/{state-3bjt6tyc.js → file-retention-ppna41xj.js} +25 -25
- package/dist/chunks/{state-2ejv1vgm.js → file-retention-ptj67sqd.js} +11 -11
- package/dist/chunks/{state-8zz7gbde.js → file-retention-pv1zy8m3.js} +9 -9
- package/dist/chunks/{state-szp4egx7.js → file-retention-q5besymn.js} +7 -7
- package/dist/chunks/{state-sakk5q3t.js → file-retention-qcpabzqj.js} +10 -10
- package/dist/chunks/{state-nrs119em.js → file-retention-qek8dtx8.js} +16 -16
- package/dist/chunks/{state-3gccbha0.js → file-retention-qhh22kz2.js} +24 -24
- package/dist/chunks/{state-9kt8rvst.js → file-retention-qmyyxapx.js} +3 -3
- package/dist/chunks/{state-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{state-vmq7ehpy.js → file-retention-qte5z7bc.js} +5 -5
- package/dist/chunks/{state-7vt79aw3.js → file-retention-qtwbjpms.js} +35 -35
- package/dist/chunks/{state-5mgyr71h.js → file-retention-qwqrj6wy.js} +15 -15
- package/dist/chunks/{state-ptcns195.js → file-retention-qymdde0s.js} +33 -33
- package/dist/chunks/{state-y0gzpn3q.js → file-retention-qyrhphfh.js} +6 -6
- package/dist/chunks/{state-80ajb4ze.js → file-retention-r0hxv64b.js} +18 -18
- package/dist/chunks/{state-yddgxcp4.js → file-retention-r1wdcgzk.js} +5 -5
- package/dist/chunks/{state-5mxf2g3h.js → file-retention-r453yw66.js} +35 -35
- package/dist/chunks/{state-1wxb385z.js → file-retention-r9babyk8.js} +1 -1
- package/dist/chunks/{state-r9mregkx.js → file-retention-r9mregkx.js} +2 -2
- package/dist/chunks/{state-zcypt17g.js → file-retention-rc7zd1wa.js} +34 -34
- package/dist/chunks/{state-rhjbct0v.js → file-retention-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-ratrq7cm.js → file-retention-ryr25ayn.js} +4 -4
- package/dist/chunks/{state-xw1aq7ry.js → file-retention-s1ad6w9q.js} +20 -20
- package/dist/chunks/{state-08j3z4gr.js → file-retention-s5rvfnyx.js} +34 -34
- package/dist/chunks/{state-8eevnfmp.js → file-retention-srjznz14.js} +14 -14
- package/dist/chunks/{state-0epz30wj.js → file-retention-sw1efyn5.js} +11 -11
- package/dist/chunks/{state-xya91wz4.js → file-retention-t7z3zppm.js} +2 -2
- package/dist/chunks/{state-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{state-sgfkh1bp.js → file-retention-tfngb0ww.js} +4 -4
- package/dist/chunks/{state-3w2b2yj4.js → file-retention-tn0aqsam.js} +5 -5
- package/dist/chunks/{state-zcszxaec.js → file-retention-tpf4g67y.js} +24 -24
- package/dist/chunks/{state-cca5jwjt.js → file-retention-tprh6xrh.js} +15 -15
- package/dist/chunks/{state-p5c842fr.js → file-retention-tqgn9w63.js} +11 -11
- package/dist/chunks/{state-6mzje07h.js → file-retention-tr8f0wtm.js} +27 -27
- package/dist/chunks/{state-h5y3ggrz.js → file-retention-trfd6fkk.js} +30 -30
- package/dist/chunks/{state-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
- package/dist/chunks/{state-v68haqbh.js → file-retention-v68haqbh.js} +2 -2
- package/dist/chunks/{state-wmnxc830.js → file-retention-v8jfbz3g.js} +6 -6
- package/dist/chunks/{state-61gfw7vb.js → file-retention-vaxvpga0.js} +13 -13
- package/dist/chunks/{state-yc6ba066.js → file-retention-vd83qvgk.js} +16 -16
- package/dist/chunks/{state-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{state-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-xvcx3c16.js → file-retention-wb19mssj.js} +23 -23
- package/dist/chunks/{state-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{state-5m22982g.js → file-retention-wpewnqw5.js} +8 -8
- package/dist/chunks/{state-3ysw30zh.js → file-retention-wvehkrpd.js} +15 -15
- package/dist/chunks/{state-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-2vvhwkt5.js → file-retention-xegz7fxd.js} +3 -3
- package/dist/chunks/{state-xt6fp642.js → file-retention-xejffc0d.js} +21 -21
- package/dist/chunks/{state-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-2qv402zs.js → file-retention-y772rwhv.js} +26 -26
- package/dist/chunks/{state-v110bm42.js → file-retention-y9qg9czc.js} +13 -13
- package/dist/chunks/{state-9kxz69xd.js → file-retention-ycdsf1jf.js} +45 -45
- package/dist/chunks/{state-qwft8tw5.js → file-retention-ydh6k28s.js} +20 -20
- package/dist/chunks/{state-xy44egkm.js → file-retention-yk6wg77b.js} +39 -39
- package/dist/chunks/{state-f2n192rq.js → file-retention-yp2x3t23.js} +4 -4
- package/dist/chunks/{state-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-s4enseaf.js → file-retention-yrznvahk.js} +2 -2
- package/dist/chunks/{state-ddx3tg71.js → file-retention-ytx9308a.js} +8 -8
- package/dist/chunks/{state-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-3swjnzyz.js → file-retention-z3ndh4jt.js} +9 -9
- package/dist/chunks/{state-29x78va6.js → file-retention-z63w68vq.js} +6 -6
- package/dist/chunks/{state-en74w496.js → file-retention-z69s9t6b.js} +5 -5
- package/dist/chunks/{state-7cp8re23.js → file-retention-z7x0xt50.js} +15 -15
- package/dist/chunks/{state-2hwvj3p4.js → file-retention-z80kxeh4.js} +20 -20
- package/dist/chunks/{state-1wd5x2dp.js → file-retention-za681ws6.js} +13 -13
- package/dist/chunks/{state-020j3mp2.js → file-retention-za77p82n.js} +6 -6
- package/dist/chunks/{state-sbv6zvrh.js → file-retention-zb0sdjym.js} +43 -43
- package/dist/chunks/{state-jaynhz0w.js → file-retention-zcwm7cjd.js} +24 -24
- package/dist/chunks/{state-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-nx4sh7k4.js → file-retention-zk0xr9z7.js} +4 -4
- package/dist/chunks/{state-930xmq4h.js → file-retention-zps6r183.js} +2 -2
- package/dist/chunks/{state-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-ghf4fa8m.js → file-retention-zwsa7mgc.js} +16 -16
- package/dist/chunks/{state-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +122 -122
- 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 +114 -114
- 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 +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +74 -74
- 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 +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +116 -116
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- 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 +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +109 -109
- 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 +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/state-26rhzh90.js +0 -247
- package/dist/chunks/state-h47he10w.js +0 -4
- package/dist/chunks/state-p2m6ahm5.js +0 -22
- package/dist/chunks/state-vnkjks7b.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7w99qc9d.js → file-retention-7w99qc9d.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → file-retention-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{state-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-2vjdmk3d.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service72,
|
|
15
|
-
node77
|
|
16
|
-
} from "./state-8rgwsr78.js";
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./file-retention-7gmgk224.js";
|
|
17
13
|
import {
|
|
18
14
|
Service69,
|
|
19
15
|
node73
|
|
20
|
-
} from "./
|
|
16
|
+
} from "./file-retention-dfj54ch4.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
Service68,
|
|
19
|
+
node72
|
|
20
|
+
} from "./file-retention-zcwm7cjd.js";
|
|
21
|
+
import {
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node83
|
|
25
|
+
} from "./file-retention-ydh6k28s.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service76,
|
|
34
34
|
node81
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-pv1zy8m3.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service33,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node38
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service33 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service69;
|
|
178
|
+
const environment = yield* Service68;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
180
|
+
const forms = yield* Service78;
|
|
181
181
|
const integration = yield* Service76;
|
|
182
|
-
const credentials = yield*
|
|
182
|
+
const credentials = yield* Service77;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID16.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service68, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service33.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service33,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node73, node72, node84, node83, node81, node82]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node38 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service33, Options5, layer15, configured5, node38, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./file-retention-arezx02c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./file-retention-0vnpdrzz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin26 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const shell = yield* Service42;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-2ce14n3m.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service72
|
|
8
|
-
} from "./state-8rgwsr78.js";
|
|
5
|
+
} from "./file-retention-2a5m3afh.js";
|
|
9
6
|
import {
|
|
10
7
|
Service69
|
|
11
|
-
} from "./
|
|
8
|
+
} from "./file-retention-dfj54ch4.js";
|
|
9
|
+
import {
|
|
10
|
+
Service68
|
|
11
|
+
} from "./file-retention-zcwm7cjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./file-retention-nhph57h8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service67,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-za681ws6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./file-retention-j0z6kjp0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service16,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-1gjj1166.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
|
+
name: () => name10,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name10 = "patch";
|
|
89
|
+
var Input10 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin12 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service68;
|
|
112
|
+
const access = yield* Service16;
|
|
113
|
+
const fileMutation = yield* Service67;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service69;
|
|
116
|
+
const permission = yield* Service59;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin10 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name10, Input10, Applied2, Output6, toModelContent5, Plugin12, exports_patch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./file-retention-v8jfbz3g.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-2e96adxv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./file-retention-7h3vxbq8.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./file-retention-zcwm7cjd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-retention-npgs9cj4.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service68;
|
|
331
|
+
return Service6.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node9 = makeLocationNode({ service: Service6, layer, deps: [node72] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node9, exports_read_filesystem };
|
|
@@ -1,44 +1,44 @@
|
|
|
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/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info23,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service62,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info23 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service62 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info23.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service62.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info23, Service62, node66, exports_agent4, Event15 };
|