@opencode/core 0.0.0-dev-19981 → 0.0.0-dev-19983
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-64kphnzf.js → image-06dxphr1.js} +4 -4
- package/dist/chunks/{persistent-pty-xwt1kq35.js → image-09e552k5.js} +11 -11
- package/dist/chunks/{persistent-pty-yf57fzwh.js → image-09td20c0.js} +26 -26
- package/dist/chunks/{persistent-pty-d7mmen8h.js → image-0dgp5q1e.js} +17 -17
- package/dist/chunks/{persistent-pty-w2xfqmzm.js → image-0gy1wr0y.js} +9 -9
- package/dist/chunks/{persistent-pty-m0gz42vg.js → image-0j14ft90.js} +35 -35
- package/dist/chunks/{persistent-pty-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → image-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-kc43h6j1.js → image-0rt1aerz.js} +3 -3
- package/dist/chunks/{persistent-pty-ezpgfgdn.js → image-18h2bsbn.js} +9 -9
- package/dist/chunks/{persistent-pty-wr7ps67x.js → image-1cfb3ja4.js} +5 -5
- package/dist/chunks/{persistent-pty-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-86eq1ywt.js → image-1g4xhxjj.js} +2 -2
- package/dist/chunks/{persistent-pty-xefnkfpr.js → image-1gs8am01.js} +32 -32
- package/dist/chunks/{persistent-pty-bhnbjyag.js → image-1mp28asa.js} +2 -2
- package/dist/chunks/{persistent-pty-j67awtyy.js → image-1r56tgej.js} +3 -3
- package/dist/chunks/{persistent-pty-e7ff08ah.js → image-1w9v3p18.js} +89 -89
- package/dist/chunks/{persistent-pty-jmkpg1tv.js → image-20bz03sg.js} +1 -1
- package/dist/chunks/{persistent-pty-21r38tys.js → image-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-6h73sxmp.js → image-2402vzrj.js} +5 -5
- package/dist/chunks/{persistent-pty-b0vbrmb4.js → image-258eh3rs.js} +26 -26
- package/dist/chunks/{persistent-pty-9y73z4qs.js → image-27ja88b0.js} +27 -27
- package/dist/chunks/{persistent-pty-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-fcrkznn8.js → image-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-85w0g9jn.js → image-2qp6v2hr.js} +14 -14
- package/dist/chunks/{persistent-pty-jc3qcwgj.js → image-2z66ez54.js} +30 -30
- package/dist/chunks/{persistent-pty-nmzynm19.js → image-2zvss1h4.js} +1 -1
- package/dist/chunks/{persistent-pty-7st6acyk.js → image-388ve0md.js} +11 -11
- package/dist/chunks/{persistent-pty-8hfr5z8m.js → image-397rvywk.js} +12 -12
- package/dist/chunks/{persistent-pty-d87ppnb3.js → image-3cfzdc8e.js} +5 -5
- package/dist/chunks/{persistent-pty-65tm5yk1.js → image-3czpn3qn.js} +13 -13
- package/dist/chunks/{persistent-pty-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-h4h5c8th.js → image-3mtz8sw0.js} +43 -43
- package/dist/chunks/{persistent-pty-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-1fd2gft5.js → image-3z10gw4q.js} +18 -18
- package/dist/chunks/{persistent-pty-3xsfpvq0.js → image-3zzqeb10.js} +23 -23
- package/dist/chunks/{persistent-pty-x2g3fynt.js → image-4030ep1a.js} +33 -33
- package/dist/chunks/image-46t0t9s7.js +503 -0
- package/dist/chunks/{persistent-pty-cmbqfntm.js → image-4jv7e9dq.js} +7 -7
- package/dist/chunks/{persistent-pty-phcgjfvp.js → image-4ynrtxxp.js} +18 -18
- package/dist/chunks/{persistent-pty-xvjd5qxe.js → image-53nrc7mr.js} +32 -32
- package/dist/chunks/{persistent-pty-1ygqh575.js → image-56gdpj1q.js} +9 -9
- package/dist/chunks/{persistent-pty-2fgn2we9.js → image-57ez7d0k.js} +9 -9
- package/dist/chunks/{persistent-pty-pjv150s7.js → image-58da5342.js} +22 -22
- package/dist/chunks/{persistent-pty-r5wczv23.js → image-59fd7wwn.js} +31 -31
- package/dist/chunks/{persistent-pty-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-c8gzcaps.js → image-5qfssqaz.js} +8 -8
- package/dist/chunks/{persistent-pty-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-p1h117cf.js → image-60596gf0.js} +41 -41
- package/dist/chunks/{persistent-pty-5hj9waw1.js → image-63k3xm2x.js} +11 -11
- package/dist/chunks/{persistent-pty-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-jv106vc1.js → image-685dn0bf.js} +20 -20
- package/dist/chunks/{persistent-pty-f71akrxj.js → image-6gfs34nh.js} +8 -8
- package/dist/chunks/image-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → image-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-8qh6anns.js → image-6qr3rp4k.js} +6 -6
- package/dist/chunks/{persistent-pty-4v16j8nk.js → image-6r2bcfeg.js} +1 -1
- package/dist/chunks/{persistent-pty-wjyv1427.js → image-6xh0g4kx.js} +14 -14
- package/dist/chunks/{persistent-pty-tkst0gkj.js → image-6y7njhkw.js} +15 -15
- package/dist/chunks/{persistent-pty-a32n2gyw.js → image-6zh7jmm8.js} +14 -14
- package/dist/chunks/{persistent-pty-fy2vv4qy.js → image-711fd8qe.js} +16 -16
- package/dist/chunks/{persistent-pty-xk77aqwy.js → image-77fp0bkd.js} +5 -5
- package/dist/chunks/{persistent-pty-vx8qjqqy.js → image-78ys8twf.js} +9 -9
- package/dist/chunks/{persistent-pty-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-a379gdqz.js → image-7keqm5b0.js} +13 -13
- package/dist/chunks/{persistent-pty-x2a9gtha.js → image-7nkjve3g.js} +6 -6
- package/dist/chunks/{persistent-pty-q8gd89mn.js → image-7p82tnfq.js} +12 -12
- package/dist/chunks/{persistent-pty-mhkvc446.js → image-7yh4e7ss.js} +3 -3
- package/dist/chunks/{persistent-pty-k252d6tw.js → image-87hh84yj.js} +36 -36
- package/dist/chunks/{persistent-pty-nkgdvn7z.js → image-8d0p2m37.js} +8 -8
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-m3n5d3yw.js → image-8k5gf81b.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → image-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-a6t3kjdk.js → image-924007vm.js} +38 -38
- package/dist/chunks/{persistent-pty-7pach1zh.js → image-92w0nt0v.js} +69 -69
- package/dist/chunks/{persistent-pty-nq7qbqzc.js → image-9a912s85.js} +9 -9
- package/dist/chunks/{persistent-pty-0gdmfj29.js → image-9dpmj859.js} +3 -3
- package/dist/chunks/{persistent-pty-qc6v7e8r.js → image-9gbcws29.js} +29 -29
- package/dist/chunks/{persistent-pty-47gj1eem.js → image-9v8rdtx4.js} +32 -32
- package/dist/chunks/{persistent-pty-9kt7wf3c.js → image-9z4sf5tv.js} +11 -11
- package/dist/chunks/{persistent-pty-7cpynay4.js → image-a0ys4nqc.js} +6 -6
- package/dist/chunks/{persistent-pty-a1bz86dw.js → image-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → image-a2ew8a62.js} +4 -4
- package/dist/chunks/{persistent-pty-g2yz86wh.js → image-a3r4dcrj.js} +2 -2
- package/dist/chunks/{persistent-pty-zpwvqkne.js → image-a4rx6ejt.js} +25 -25
- package/dist/chunks/{persistent-pty-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-b5re83s5.js → image-ad4z1jrs.js} +9 -9
- package/dist/chunks/{persistent-pty-sqsf5w9p.js → image-afkq326b.js} +22 -22
- package/dist/chunks/{persistent-pty-w22d05gm.js → image-afyvqhvk.js} +40 -40
- package/dist/chunks/{persistent-pty-pg06qq32.js → image-aj20rtze.js} +28 -28
- package/dist/chunks/{persistent-pty-p3yqgy1f.js → image-aktb84ke.js} +2 -2
- package/dist/chunks/{persistent-pty-wn7f7h9x.js → image-anb8rm3e.js} +11 -11
- package/dist/chunks/{persistent-pty-scv7p57g.js → image-anf0zms1.js} +9 -9
- package/dist/chunks/{persistent-pty-peg4cznj.js → image-arwg5kd7.js} +29 -29
- package/dist/chunks/{persistent-pty-r5eg2mbx.js → image-b340zwh0.js} +3 -3
- package/dist/chunks/{persistent-pty-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-00ax65t0.js → image-b7vxzd00.js} +22 -22
- package/dist/chunks/image-b89j7fds.js +26 -0
- package/dist/chunks/{persistent-pty-98krwt3q.js → image-bbfngs8v.js} +11 -11
- package/dist/chunks/{persistent-pty-m2px8ay3.js → image-be95997k.js} +21 -21
- package/dist/chunks/{persistent-pty-91p1v22t.js → image-bh0zzf2s.js} +8 -8
- package/dist/chunks/{persistent-pty-5kntwy7m.js → image-bw7h3gmz.js} +11 -11
- package/dist/chunks/{persistent-pty-p9rwa85v.js → image-bweh8ah2.js} +24 -24
- package/dist/chunks/{persistent-pty-3ra5rr95.js → image-bxn1favr.js} +19 -19
- package/dist/chunks/image-by5v678g.js +18 -0
- package/dist/chunks/{persistent-pty-wy8b5sm2.js → image-bz85s9hh.js} +1 -1
- package/dist/chunks/{persistent-pty-r7dcqyc4.js → image-c2a7rk0z.js} +10 -10
- package/dist/chunks/{persistent-pty-n9fty5ck.js → image-c4spbmd0.js} +9 -9
- package/dist/chunks/{persistent-pty-d4he2qe1.js → image-c765mh8b.js} +9 -9
- package/dist/chunks/{persistent-pty-s8j6jbjj.js → image-cavr175a.js} +21 -21
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → image-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-th7zbfdx.js → image-ckjkxw20.js} +30 -30
- package/dist/chunks/{persistent-pty-p37cw4rj.js → image-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-cq37gk0t.js → image-cq37gk0t.js} +4 -4
- package/dist/chunks/{persistent-pty-7eztrc44.js → image-d10jp6w6.js} +24 -24
- package/dist/chunks/{persistent-pty-qasfmn61.js → image-d18skez3.js} +11 -11
- package/dist/chunks/{persistent-pty-mrm42v82.js → image-ddk8b4gr.js} +12 -12
- package/dist/chunks/{persistent-pty-3kf9cyx9.js → image-dks483fm.js} +15 -15
- package/dist/chunks/{persistent-pty-nttf9wpn.js → image-dmt7f73j.js} +27 -27
- package/dist/chunks/{persistent-pty-5f90fjb2.js → image-dq0v80fr.js} +12 -12
- package/dist/chunks/{persistent-pty-6js1jt2x.js → image-dx24mbb4.js} +26 -26
- package/dist/chunks/{persistent-pty-x9mtwtp0.js → image-dz8x4rxg.js} +4 -4
- package/dist/chunks/{persistent-pty-yqdpmpyv.js → image-e255wkp1.js} +3 -3
- package/dist/chunks/{persistent-pty-d8mytp2v.js → image-e2mq9brg.js} +9 -9
- package/dist/chunks/{persistent-pty-mp87qz32.js → image-ea7xz3vj.js} +10 -10
- package/dist/chunks/{persistent-pty-jn2czc9p.js → image-eba62b5m.js} +3 -3
- package/dist/chunks/{persistent-pty-hzssqh1d.js → image-ec7aaxcz.js} +43 -43
- package/dist/chunks/{persistent-pty-7aqdbf5b.js → image-edekhrx7.js} +6 -6
- package/dist/chunks/{persistent-pty-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-erw5rpbs.js → image-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-hevvszjq.js → image-es7jpw9p.js} +4 -4
- package/dist/chunks/{persistent-pty-ja95a0kh.js → image-esh8cnfr.js} +24 -24
- package/dist/chunks/{persistent-pty-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-xwfq1nez.js → image-evrwq1d2.js} +14 -14
- package/dist/chunks/{persistent-pty-3mhj610p.js → image-ewnwpw42.js} +6 -6
- package/dist/chunks/{persistent-pty-740qj6em.js → image-ez5vjv5r.js} +18 -18
- package/dist/chunks/{persistent-pty-s0qgnfzw.js → image-ezt9kfxv.js} +3 -3
- package/dist/chunks/{persistent-pty-h2zrj56v.js → image-f5gy8qwh.js} +8 -8
- package/dist/chunks/{persistent-pty-f828m53h.js → image-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-26njax6j.js → image-fszct94a.js} +28 -28
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → image-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-h8sqqrf3.js → image-fxxz233w.js} +33 -33
- package/dist/chunks/{persistent-pty-kee9v82x.js → image-g05h3mtq.js} +13 -13
- package/dist/chunks/{persistent-pty-ysckq8n5.js → image-g1354m52.js} +9 -9
- package/dist/chunks/{persistent-pty-9c6vz8r3.js → image-g1cnsceh.js} +4 -4
- package/dist/chunks/{persistent-pty-j6e693f4.js → image-g8jasmdt.js} +11 -11
- package/dist/chunks/{persistent-pty-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-byhr62qm.js → image-ge4xn9w4.js} +9 -9
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → image-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → image-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-0jq9fyba.js → image-h71w788e.js} +9 -9
- package/dist/chunks/{persistent-pty-mwzsbcbf.js → image-ha494qqn.js} +10 -10
- package/dist/chunks/{persistent-pty-t6q9b2zv.js → image-hf9mb306.js} +28 -28
- package/dist/chunks/{persistent-pty-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-hd0qsb0v.js → image-j6nsp1g7.js} +10 -10
- package/dist/chunks/{persistent-pty-xkhfjrgz.js → image-jexxy024.js} +2 -2
- package/dist/chunks/{persistent-pty-045s5zgt.js → image-jgphgq4c.js} +17 -17
- package/dist/chunks/{persistent-pty-8wgyvxqj.js → image-k10ne33k.js} +10 -10
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → image-k1gkpfdk.js} +1 -1
- package/dist/chunks/{persistent-pty-nzks3jc8.js → image-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-8f6cy3pb.js → image-k9je938h.js} +5 -5
- package/dist/chunks/{persistent-pty-mmr7bq34.js → image-k9kj6xed.js} +4 -4
- package/dist/chunks/{persistent-pty-gnkgm067.js → image-k9nbv3dt.js} +38 -38
- package/dist/chunks/{persistent-pty-8xnn2f25.js → image-kawpmg25.js} +14 -14
- package/dist/chunks/{persistent-pty-wd30r3h7.js → image-kbt3g993.js} +13 -13
- package/dist/chunks/{persistent-pty-22keffh1.js → image-kes097j4.js} +1 -1
- package/dist/chunks/{persistent-pty-w6h4kwe3.js → image-kh9grtd6.js} +11 -11
- package/dist/chunks/{persistent-pty-vbfgae2j.js → image-kkp8zx71.js} +4 -4
- package/dist/chunks/{persistent-pty-yff54yer.js → image-krva6jg1.js} +15 -15
- package/dist/chunks/{persistent-pty-39gs27gn.js → image-m2yd4h25.js} +43 -43
- package/dist/chunks/{persistent-pty-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-a1gwwkre.js → image-mhbygw65.js} +43 -43
- package/dist/chunks/{persistent-pty-4xxxtaen.js → image-mw934p8z.js} +8 -8
- package/dist/chunks/{persistent-pty-rawmkaew.js → image-my2qptz9.js} +21 -21
- package/dist/chunks/{persistent-pty-81ydyt9n.js → image-mzvzs703.js} +12 -12
- package/dist/chunks/{persistent-pty-0sk4n78x.js → image-n36k2kh7.js} +20 -20
- package/dist/chunks/{persistent-pty-ag4rn41e.js → image-n4r3xatb.js} +4 -4
- package/dist/chunks/{persistent-pty-7aahv9qn.js → image-n5skym8n.js} +15 -15
- package/dist/chunks/{persistent-pty-gjk270n1.js → image-n7vpp5gh.js} +16 -16
- package/dist/chunks/{persistent-pty-tapvjybg.js → image-n8yas6hm.js} +24 -24
- package/dist/chunks/{persistent-pty-ygrvwp4d.js → image-nab6jkb6.js} +14 -14
- package/dist/chunks/{persistent-pty-1tmvx3cs.js → image-namhjc4y.js} +8 -8
- package/dist/chunks/{persistent-pty-5qdhd6wd.js → image-nfd0y60j.js} +4 -4
- package/dist/chunks/{persistent-pty-xwfr1kp3.js → image-nh3m5kwx.js} +1 -1
- package/dist/chunks/{persistent-pty-rjhv0x2x.js → image-npdbymj2.js} +10 -10
- package/dist/chunks/{persistent-pty-99a88f08.js → image-npq2n3tp.js} +13 -13
- package/dist/chunks/{persistent-pty-8fyvcw1c.js → image-nwxse5wp.js} +22 -22
- package/dist/chunks/{persistent-pty-81ygbb57.js → image-nxvwfbqw.js} +16 -16
- package/dist/chunks/{persistent-pty-p28j5sbe.js → image-p28j5sbe.js} +2 -2
- package/dist/chunks/{persistent-pty-jar2n8ad.js → image-p2safxe9.js} +28 -28
- package/dist/chunks/{persistent-pty-ead3g9p8.js → image-p44d8wdy.js} +5 -5
- package/dist/chunks/{persistent-pty-tkcxk75v.js → image-p84br5ek.js} +20 -20
- package/dist/chunks/{persistent-pty-p7sz26rr.js → image-p8a3dq8k.js} +137 -137
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-7935fwzs.js → image-pk5pky18.js} +9 -9
- package/dist/chunks/{persistent-pty-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-5mknq4wh.js → image-pqkzp7xy.js} +22 -22
- package/dist/chunks/{persistent-pty-qejk2hns.js → image-q14p6249.js} +24 -24
- package/dist/chunks/{persistent-pty-c7cwys1z.js → image-q7pthab0.js} +32 -32
- package/dist/chunks/{persistent-pty-584b7awg.js → image-qd1nr1jp.js} +12 -12
- package/dist/chunks/{persistent-pty-c4qm6hzm.js → image-qnqyg1a6.js} +15 -15
- package/dist/chunks/{persistent-pty-99yv1vdm.js → image-qrtzkn9f.js} +10 -10
- package/dist/chunks/{persistent-pty-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-p1nm93x7.js → image-qte5z7bc.js} +5 -5
- package/dist/chunks/{persistent-pty-mm7h7sr7.js → image-qx10sz7d.js} +17 -17
- package/dist/chunks/{persistent-pty-rd4v8kr9.js → image-r16rx7t1.js} +4 -4
- package/dist/chunks/image-r44k0b4h.js +252 -0
- package/dist/chunks/{persistent-pty-4xc2xt5t.js → image-r646k28t.js} +2 -2
- package/dist/chunks/{persistent-pty-kxn0m7ef.js → image-rbxccrva.js} +24 -24
- package/dist/chunks/{persistent-pty-dty6pce2.js → image-rc6wfq74.js} +26 -26
- package/dist/chunks/{persistent-pty-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-rhjbct0v.js → image-rhjbct0v.js} +1 -1
- package/dist/chunks/{persistent-pty-nxer0yad.js → image-rhraev7y.js} +4 -4
- package/dist/chunks/{persistent-pty-x1bw9y7f.js → image-rj372e5a.js} +4 -4
- package/dist/chunks/{persistent-pty-2d57kztd.js → image-rph3zd4r.js} +4 -4
- package/dist/chunks/{persistent-pty-189jkc9d.js → image-rstenykm.js} +1 -1
- package/dist/chunks/{persistent-pty-ktz5apky.js → image-s6pmxk2t.js} +22 -22
- package/dist/chunks/{persistent-pty-7szz8ecw.js → image-svndcwjb.js} +4 -4
- package/dist/chunks/{persistent-pty-rmc194cy.js → image-t9kz1x1h.js} +18 -18
- package/dist/chunks/{persistent-pty-3j8sdtpz.js → image-t9zs3egg.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-bt8eheyv.js → image-tcpw7e5e.js} +19 -19
- package/dist/chunks/{persistent-pty-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-mvm6yp9j.js → image-tjpj2e3q.js} +8 -8
- package/dist/chunks/{persistent-pty-r2e87s7e.js → image-tk2v6jy0.js} +8 -8
- package/dist/chunks/{persistent-pty-nf01b4ny.js → image-tsr6kwcz.js} +1 -1
- package/dist/chunks/{persistent-pty-tvtrv512.js → image-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-ghntyqza.js → image-v2xsvqb7.js} +11 -11
- package/dist/chunks/{persistent-pty-qetnz3qf.js → image-v3vqqm9f.js} +7 -7
- package/dist/chunks/{persistent-pty-mehmtrpt.js → image-v4bjwbs7.js} +19 -19
- package/dist/chunks/{persistent-pty-9gwgf8zn.js → image-v5w4drkp.js} +34 -34
- package/dist/chunks/{persistent-pty-7ga2fv62.js → image-v61m3kz8.js} +3 -3
- package/dist/chunks/{persistent-pty-0et7a6mm.js → image-var6jwka.js} +8 -8
- package/dist/chunks/{persistent-pty-7ewmpmc7.js → image-vca968f4.js} +17 -17
- package/dist/chunks/{persistent-pty-d7r387ef.js → image-vdptz04f.js} +6 -6
- package/dist/chunks/{persistent-pty-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-wy6hpy23.js → image-vg7fngtd.js} +13 -13
- package/dist/chunks/{persistent-pty-4aztedzn.js → image-vjd497wd.js} +6 -6
- package/dist/chunks/{persistent-pty-w24sfk5b.js → image-vk0va4ns.js} +7 -7
- package/dist/chunks/{persistent-pty-dekpyqan.js → image-vke24a77.js} +40 -40
- package/dist/chunks/{persistent-pty-7zx1qa5e.js → image-vtt0yr3x.js} +13 -13
- package/dist/chunks/{persistent-pty-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-v41623e8.js → image-w39s3p85.js} +27 -27
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-675cvrxf.js → image-w5mxr70m.js} +18 -18
- package/dist/chunks/{persistent-pty-ys0rvgwx.js → image-w9sh5ge5.js} +24 -24
- package/dist/chunks/{persistent-pty-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-cbdc55tj.js → image-wz8tevja.js} +27 -27
- package/dist/chunks/{persistent-pty-3vw9y35t.js → image-wzhg77bf.js} +13 -13
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-f62qkzqr.js → image-x2d9qy7d.js} +5 -5
- package/dist/chunks/{persistent-pty-ebpytsbd.js → image-x619ew4b.js} +47 -47
- package/dist/chunks/{persistent-pty-g9tzs1c7.js → image-xc3aj2tv.js} +16 -16
- package/dist/chunks/{persistent-pty-ngc2191d.js → image-xd9b4v3d.js} +52 -52
- package/dist/chunks/{persistent-pty-qqeeq2t9.js → image-xfkkasph.js} +7 -7
- package/dist/chunks/{persistent-pty-j8pax9gn.js → image-xk7j61yv.js} +53 -53
- package/dist/chunks/{persistent-pty-28qz5v8e.js → image-xnf96g2w.js} +90 -90
- package/dist/chunks/{persistent-pty-h8bam43x.js → image-xzz5rq5j.js} +11 -11
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-5nnytrr6.js → image-y5cwy1mn.js} +20 -20
- package/dist/chunks/{persistent-pty-7z7az0f5.js → image-y67gsgy6.js} +4 -4
- package/dist/chunks/{persistent-pty-y71avatq.js → image-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-8cp1dt4b.js → image-y89pgm7x.js} +11 -11
- package/dist/chunks/{persistent-pty-6z3bcrm7.js → image-ybhbtxjg.js} +9 -9
- package/dist/chunks/{persistent-pty-mrvjcs5x.js → image-ycjb11n5.js} +6 -6
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → image-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-1z3fhpx8.js → image-yw90mp9f.js} +8 -8
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-sp0hs84w.js → image-z0tsxkyk.js} +30 -30
- package/dist/chunks/{persistent-pty-pq7b6aj3.js → image-z61r2s3w.js} +13 -13
- package/dist/chunks/{persistent-pty-29x78va6.js → image-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-a70ewb2f.js → image-z6mts4vt.js} +5 -5
- package/dist/chunks/{persistent-pty-f22gk9j9.js → image-z9ee0mf2.js} +280 -280
- package/dist/chunks/{persistent-pty-zeh9ct20.js → image-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-b33g5v9z.js → image-zg7entxf.js} +23 -23
- package/dist/chunks/{persistent-pty-5dcqe31d.js → image-znepfjcf.js} +20 -20
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +88 -88
- 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 +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-43zmxdyv.js +0 -503
- package/dist/chunks/persistent-pty-806pcn4t.js +0 -252
- package/dist/chunks/persistent-pty-qdyb70sk.js +0 -18
- package/dist/chunks/persistent-pty-z2s8v20b.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → image-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → image-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-v61m3kz8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-rj372e5a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./image-ycjb11n5.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./image-924007vm.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-711fd8qe.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service79,
|
|
26
|
+
node83
|
|
27
|
+
} from "./image-pk5pky18.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./image-ybhbtxjg.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service59
|
|
39
|
+
} from "./image-n4r3xatb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service64,
|
|
42
|
+
node68
|
|
43
|
+
} from "./image-n7vpp5gh.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service60,
|
|
48
|
+
node64,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./image-esh8cnfr.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service58,
|
|
53
|
+
node63
|
|
54
|
+
} from "./image-k9nbv3dt.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./image-nxvwfbqw.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./image-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node30
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
|
+
const locations = yield* Service79;
|
|
93
|
+
const store = yield* Service64;
|
|
94
|
+
const execution = yield* Service58;
|
|
95
|
+
const instances = yield* Service61;
|
|
96
|
+
const admission = yield* Service60;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service59.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node30 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node85,
|
|
173
|
+
node83,
|
|
174
|
+
node68,
|
|
174
175
|
node63,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
node32,
|
|
176
|
+
node65,
|
|
177
|
+
node64,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-jexxy024.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-v61m3kz8.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-rj372e5a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./image-924007vm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./image-ycjb11n5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node64
|
|
34
|
+
} from "./image-esh8cnfr.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./image-cq37gk0t.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./image-7keqm5b0.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./image-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node31
|
|
47
|
+
} from "./image-nxvwfbqw.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node61
|
|
51
|
+
} from "./image-9z4sf5tv.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./image-ybhbtxjg.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service64,
|
|
68
|
+
node68
|
|
69
|
+
} from "./image-n7vpp5gh.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service67,
|
|
72
|
+
node71
|
|
73
|
+
} from "./image-jgphgq4c.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service58,
|
|
76
|
+
node63
|
|
77
|
+
} from "./image-k9nbv3dt.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./image-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service36,
|
|
83
|
+
node39
|
|
84
|
+
} from "./image-xzz5rq5j.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./image-397rvywk.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./image-yw90mp9f.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service79,
|
|
93
|
+
node83
|
|
94
|
+
} from "./image-pk5pky18.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service27,
|
|
100
|
+
node30
|
|
101
|
+
} from "./image-xk7j61yv.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service49,
|
|
104
|
+
node52
|
|
105
|
+
} from "./image-bh0zzf2s.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./image-4030ep1a.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./image-09e552k5.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./image-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service26,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node29
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service26 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service58;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service36;
|
|
163
|
+
const store = yield* Service64;
|
|
164
|
+
const instances = yield* Service61;
|
|
165
|
+
const moves = yield* Service27;
|
|
166
|
+
const jobs = yield* Service67;
|
|
167
|
+
const environments = yield* Service49;
|
|
168
|
+
const locations = yield* Service79;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service26.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node29 = Node.makeGlobalNode({
|
|
330
|
+
service: Service26,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node71,
|
|
334
|
+
node52,
|
|
335
335
|
node88,
|
|
336
336
|
node87,
|
|
337
|
-
|
|
338
|
-
node31,
|
|
339
|
-
node25,
|
|
340
|
-
llmClient2,
|
|
337
|
+
node85,
|
|
341
338
|
node63,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
339
|
+
node39,
|
|
340
|
+
llmClient2,
|
|
341
|
+
node68,
|
|
342
|
+
node65,
|
|
343
|
+
node64,
|
|
344
|
+
node30,
|
|
345
|
+
node31,
|
|
346
|
+
node83,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node61
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service26, node29, exports_session };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service36,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service36.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service36, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service36, makeLayer2, layer14, node39, exports_model_transport };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-v61m3kz8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-rj372e5a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./image-ycjb11n5.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service44
|
|
16
|
+
} from "./image-fxxz233w.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./image-ybhbtxjg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service61;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service44;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service61;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service44;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin47
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin47 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin11 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin47, exports_mcp_codemode_exclusion };
|