@opencode/core 0.0.0-dev-20214 → 0.0.0-dev-20215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{ripgrep-cwmzg64k.js → worktree-01nwxe82.js} +11 -11
- package/dist/chunks/{ripgrep-p9zsz0x5.js → worktree-0bdrcw2s.js} +2 -2
- package/dist/chunks/{ripgrep-rk1r2hx8.js → worktree-0bfcnrg1.js} +1 -1
- package/dist/chunks/{ripgrep-bn9y56zf.js → worktree-0d4mnv31.js} +15 -15
- package/dist/chunks/{ripgrep-bn2pe2hy.js → worktree-0fzv9h34.js} +23 -23
- package/dist/chunks/{ripgrep-n5et7dpj.js → worktree-0j68vngr.js} +10 -10
- package/dist/chunks/{ripgrep-d31757xt.js → worktree-0k3fqexr.js} +10 -10
- package/dist/chunks/{ripgrep-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-q9bqj99v.js → worktree-0r0ksm42.js} +18 -18
- package/dist/chunks/{ripgrep-4w0s546m.js → worktree-0rbtyk3w.js} +10 -10
- package/dist/chunks/{ripgrep-hc7887ne.js → worktree-0v5qhdm7.js} +48 -48
- package/dist/chunks/{ripgrep-wzce99wp.js → worktree-1arnrgt5.js} +8 -8
- package/dist/chunks/{ripgrep-edc6jshq.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{ripgrep-npxj08d4.js → worktree-1chzq234.js} +5 -5
- package/dist/chunks/{ripgrep-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-x7c7n8ct.js → worktree-1ft64m98.js} +9 -9
- package/dist/chunks/{ripgrep-9g55x113.js → worktree-1hgzjtp2.js} +8 -8
- package/dist/chunks/{ripgrep-bgk9j2hb.js → worktree-1jvcwpzv.js} +4 -4
- package/dist/chunks/{ripgrep-rxshm0sb.js → worktree-1xpaaevk.js} +21 -21
- package/dist/chunks/{ripgrep-pje8b49m.js → worktree-1zj7c1b9.js} +36 -36
- package/dist/chunks/{ripgrep-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2gsdyw26.js → worktree-2384dzxb.js} +26 -26
- package/dist/chunks/{ripgrep-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-sspsyg24.js → worktree-27zhgsem.js} +4 -4
- package/dist/chunks/{ripgrep-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-5cem5vvw.js → worktree-2gcp25fc.js} +22 -22
- package/dist/chunks/{ripgrep-070x7jqv.js → worktree-2ggx711d.js} +12 -12
- package/dist/chunks/{ripgrep-0jwsre1p.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-k228d5wx.js → worktree-2sscpfbp.js} +8 -8
- package/dist/chunks/{ripgrep-56gdpj1q.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{ripgrep-ae3gwck6.js → worktree-3c8jswt4.js} +27 -27
- package/dist/chunks/{ripgrep-khja88a7.js → worktree-3cvzpexn.js} +13 -13
- package/dist/chunks/{ripgrep-c9wpfjta.js → worktree-3e18wkss.js} +27 -27
- package/dist/chunks/{ripgrep-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-q9bv1n31.js → worktree-3he9s93f.js} +2 -2
- package/dist/chunks/{ripgrep-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-wmtcr06c.js → worktree-3j8dagdk.js} +33 -33
- package/dist/chunks/{ripgrep-czkm8csv.js → worktree-3k8b8397.js} +15 -15
- package/dist/chunks/{ripgrep-h4z1mxff.js → worktree-3qaj82j9.js} +5 -5
- package/dist/chunks/{ripgrep-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-mh69476p.js → worktree-3t40p5r2.js} +18 -18
- package/dist/chunks/{ripgrep-pss0kfhr.js → worktree-3t7mm76h.js} +20 -20
- package/dist/chunks/{ripgrep-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-v3cs42z7.js → worktree-3vhzm9vc.js} +13 -13
- package/dist/chunks/{ripgrep-q3e16cjs.js → worktree-3zkmgewa.js} +16 -16
- package/dist/chunks/{ripgrep-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-h6r3nrb9.js → worktree-44h5tttr.js} +4 -4
- package/dist/chunks/worktree-4chajvys.js +252 -0
- package/dist/chunks/{ripgrep-x3gcvk5s.js → worktree-4da46de2.js} +25 -25
- package/dist/chunks/{ripgrep-t2k3fcmw.js → worktree-4nhngmcq.js} +33 -33
- package/dist/chunks/{ripgrep-hpzaeq5b.js → worktree-51kfgev1.js} +13 -13
- package/dist/chunks/{ripgrep-54tcyq79.js → worktree-54tcyq79.js} +2 -2
- package/dist/chunks/{ripgrep-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-zvpyqeek.js → worktree-5kwfr1e0.js} +25 -25
- package/dist/chunks/{ripgrep-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-kv6rgdgk.js → worktree-5xhdg7n0.js} +24 -24
- package/dist/chunks/{ripgrep-pmytgcn0.js → worktree-5xv65hkg.js} +33 -33
- package/dist/chunks/{ripgrep-kw68gt8s.js → worktree-60z3krt2.js} +13 -13
- package/dist/chunks/{ripgrep-16bf5rpj.js → worktree-659sfxq9.js} +11 -11
- package/dist/chunks/{ripgrep-x8877teh.js → worktree-65tps2j5.js} +11 -11
- package/dist/chunks/{ripgrep-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-19e25byy.js → worktree-674nz3pn.js} +26 -26
- package/dist/chunks/{ripgrep-kp3ccd2p.js → worktree-6893nb2p.js} +29 -29
- package/dist/chunks/{ripgrep-z9yrm4kz.js → worktree-6f5meky0.js} +42 -42
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{ripgrep-wwass4bc.js → worktree-6krmax6q.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-0kppctkg.js → worktree-72mty36f.js} +11 -11
- package/dist/chunks/{ripgrep-xp2hm3rn.js → worktree-7b6f2pz4.js} +3 -3
- package/dist/chunks/{ripgrep-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-ghshyr7t.js → worktree-7eezvbx7.js} +21 -21
- package/dist/chunks/{ripgrep-a0pm8hjd.js → worktree-7gt3e72m.js} +25 -25
- package/dist/chunks/{ripgrep-hm1jkskx.js → worktree-7sxxv0k9.js} +11 -11
- package/dist/chunks/{ripgrep-q14nnn67.js → worktree-7t5fpg5d.js} +12 -12
- package/dist/chunks/{ripgrep-qaskr6ck.js → worktree-80n4v3ph.js} +7 -7
- package/dist/chunks/{ripgrep-hnr5yq9h.js → worktree-8cmvxv2n.js} +5 -5
- package/dist/chunks/{ripgrep-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-yf5s7ntk.js → worktree-8m4g0388.js} +24 -24
- package/dist/chunks/{ripgrep-yaeh8x3m.js → worktree-8qbj2xnf.js} +16 -16
- package/dist/chunks/{ripgrep-cb0dmbvc.js → worktree-92zh7pxv.js} +11 -11
- package/dist/chunks/{ripgrep-77vfrych.js → worktree-95v9dhdk.js} +12 -12
- package/dist/chunks/{ripgrep-82teqrmt.js → worktree-961mqe0b.js} +12 -12
- package/dist/chunks/{ripgrep-rqpceq6q.js → worktree-96ak3467.js} +15 -15
- package/dist/chunks/{ripgrep-ded48gaz.js → worktree-9e5ez0z2.js} +15 -15
- package/dist/chunks/{ripgrep-0g79en4w.js → worktree-9t5s1r97.js} +9 -9
- package/dist/chunks/{ripgrep-0txwbxc4.js → worktree-9zraknnh.js} +30 -30
- package/dist/chunks/{ripgrep-4w5f3qm5.js → worktree-a2qe2ev9.js} +8 -8
- package/dist/chunks/{ripgrep-s5bs032n.js → worktree-a4p2e6yr.js} +6 -6
- package/dist/chunks/{ripgrep-x1wt5kst.js → worktree-a8nvjzqv.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-470th4w4.js → worktree-axtbgcsn.js} +5 -5
- package/dist/chunks/{ripgrep-6cehfpa0.js → worktree-aybmmbc8.js} +17 -17
- package/dist/chunks/{ripgrep-5we73979.js → worktree-b047h9s9.js} +17 -17
- package/dist/chunks/{ripgrep-7wtv0cyd.js → worktree-b5pxe27k.js} +25 -25
- package/dist/chunks/{ripgrep-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-sx1n432n.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{ripgrep-bjtzbw4r.js → worktree-bjtzbw4r.js} +3 -3
- package/dist/chunks/{ripgrep-zjzvptz9.js → worktree-bng40jb9.js} +9 -9
- package/dist/chunks/{ripgrep-tgkxrmwx.js → worktree-bqrh5ykt.js} +7 -7
- package/dist/chunks/{ripgrep-acd4vkpt.js → worktree-bw9zjykr.js} +6 -6
- package/dist/chunks/{ripgrep-09rgwd1w.js → worktree-c39c3jzn.js} +12 -12
- package/dist/chunks/{ripgrep-dda0p7y7.js → worktree-c8jj867k.js} +9 -9
- package/dist/chunks/{ripgrep-k1s5fk6j.js → worktree-caszb10r.js} +22 -22
- package/dist/chunks/{ripgrep-s1rxbgtw.js → worktree-cn3880dm.js} +3 -3
- package/dist/chunks/{ripgrep-qmqgtz8f.js → worktree-cpneeje0.js} +9 -9
- package/dist/chunks/{ripgrep-bn1fqadf.js → worktree-cxn44tg0.js} +3 -3
- package/dist/chunks/{ripgrep-7sbkp4xb.js → worktree-d216944b.js} +7 -7
- package/dist/chunks/{ripgrep-v60cs7q6.js → worktree-d4gc91s6.js} +24 -24
- package/dist/chunks/{ripgrep-57ez7d0k.js → worktree-d9s573fh.js} +2 -2
- package/dist/chunks/{ripgrep-v8ys44m2.js → worktree-d9vsz0nw.js} +22 -22
- package/dist/chunks/{ripgrep-8tsdq50x.js → worktree-dj68pnee.js} +4 -4
- package/dist/chunks/{ripgrep-dmqcgk4z.js → worktree-dmqcgk4z.js} +2 -2
- package/dist/chunks/{ripgrep-mejwe17d.js → worktree-dqt0xvez.js} +4 -4
- package/dist/chunks/{ripgrep-zd6bhfye.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{ripgrep-k49htjjy.js → worktree-dt5mtb60.js} +9 -9
- package/dist/chunks/{ripgrep-as5rxwbe.js → worktree-dx2x7qh9.js} +31 -31
- package/dist/chunks/{ripgrep-ap3d8azh.js → worktree-dx8w7vfp.js} +8 -8
- package/dist/chunks/{ripgrep-5jzhktjr.js → worktree-e14rzxnr.js} +27 -27
- package/dist/chunks/{ripgrep-x1eshmbh.js → worktree-e32cc78a.js} +85 -85
- package/dist/chunks/{ripgrep-vkpcntwz.js → worktree-e81dr17b.js} +4 -4
- package/dist/chunks/{ripgrep-6majk428.js → worktree-e9r79r8d.js} +9 -9
- package/dist/chunks/{ripgrep-s8d7rejh.js → worktree-eaj1djv9.js} +6 -6
- package/dist/chunks/{ripgrep-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-3rtxz4nr.js → worktree-eeaf82dq.js} +8 -8
- package/dist/chunks/{ripgrep-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-qf5m3qp7.js → worktree-ejmtyfyw.js} +20 -20
- package/dist/chunks/{ripgrep-gengpk4q.js → worktree-ekhm0sea.js} +7 -7
- package/dist/chunks/{ripgrep-3jfzwhx3.js → worktree-em8v7a32.js} +25 -25
- package/dist/chunks/{ripgrep-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-fn2vm53h.js → worktree-ewbjc8wa.js} +21 -21
- package/dist/chunks/{ripgrep-5vrtv4g9.js → worktree-ex8c9819.js} +9 -9
- package/dist/chunks/{ripgrep-vjjxy6yb.js → worktree-eyz64kwr.js} +6 -6
- package/dist/chunks/{ripgrep-zsm846db.js → worktree-ezg02vs1.js} +13 -13
- package/dist/chunks/{ripgrep-ss6jxd5h.js → worktree-f1kzstbv.js} +20 -20
- package/dist/chunks/{ripgrep-7cas1wtv.js → worktree-f77nxt0h.js} +18 -18
- package/dist/chunks/{ripgrep-nq7qbqzc.js → worktree-f7j90zp2.js} +2 -2
- package/dist/chunks/{ripgrep-symcztc9.js → worktree-f9ag4zkz.js} +20 -20
- package/dist/chunks/{ripgrep-rzwfn0ne.js → worktree-fe8ssjsg.js} +168 -168
- package/dist/chunks/{ripgrep-hmcps9m2.js → worktree-fex7j0m5.js} +11 -11
- package/dist/chunks/{ripgrep-twcsa2yf.js → worktree-fferps3m.js} +20 -20
- package/dist/chunks/{ripgrep-3rnyj502.js → worktree-fgewnttk.js} +6 -6
- package/dist/chunks/{ripgrep-b50dwesx.js → worktree-fj30x8t9.js} +16 -16
- package/dist/chunks/{ripgrep-7cx3b7xt.js → worktree-fv23f2g8.js} +3 -3
- package/dist/chunks/{ripgrep-n2qr5wvz.js → worktree-gafemadt.js} +87 -87
- package/dist/chunks/{ripgrep-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-8yfv9yc5.js → worktree-gdv4qzn0.js} +36 -36
- package/dist/chunks/{ripgrep-gfvb90ym.js → worktree-gfvb90ym.js} +2 -2
- package/dist/chunks/{ripgrep-kjgtxxd0.js → worktree-ggceqynt.js} +11 -11
- package/dist/chunks/{ripgrep-gbgcn9t9.js → worktree-gken7ajx.js} +18 -18
- package/dist/chunks/{ripgrep-c8xqcx36.js → worktree-gnhsmmqn.js} +6 -6
- package/dist/chunks/{ripgrep-f9dn3m9b.js → worktree-gpb9r3qt.js} +10 -10
- package/dist/chunks/{ripgrep-zmk0gg7x.js → worktree-gq56w217.js} +5 -5
- package/dist/chunks/{ripgrep-3ms0g86c.js → worktree-gs4tkc79.js} +8 -8
- package/dist/chunks/{ripgrep-b61etazn.js → worktree-gx48bf3k.js} +8 -8
- package/dist/chunks/{ripgrep-xmm46p6t.js → worktree-gx5nrd37.js} +13 -13
- package/dist/chunks/{ripgrep-1ee8exfz.js → worktree-gyqt3txq.js} +14 -14
- package/dist/chunks/{ripgrep-2e5kebn3.js → worktree-h22tcczk.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-555hjjse.js → worktree-hdkzdw1f.js} +18 -18
- package/dist/chunks/{ripgrep-8qvzptz7.js → worktree-hnr8f6ws.js} +4 -4
- package/dist/chunks/{ripgrep-5ss8824k.js → worktree-hxghybcg.js} +4 -4
- package/dist/chunks/{ripgrep-xhxqht2n.js → worktree-j3b38fkc.js} +3 -3
- package/dist/chunks/{ripgrep-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-a3r4dcrj.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-gejt965h.js → worktree-jjk7p82s.js} +22 -22
- package/dist/chunks/{ripgrep-xvm3nk9v.js → worktree-jwjamgbd.js} +11 -11
- package/dist/chunks/{ripgrep-hmcfw5q9.js → worktree-jwtb7ds2.js} +50 -50
- package/dist/chunks/{ripgrep-2505q7fe.js → worktree-jypr9n4v.js} +24 -24
- package/dist/chunks/{ripgrep-2y34zzjz.js → worktree-jz5sxy2v.js} +6 -6
- package/dist/chunks/{ripgrep-wnc32zva.js → worktree-k33k5sgz.js} +1 -1
- package/dist/chunks/{ripgrep-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-15kp7mbb.js → worktree-k4xjzc9h.js} +7 -7
- package/dist/chunks/{ripgrep-q842h3bn.js → worktree-k6qbet7y.js} +43 -43
- package/dist/chunks/{ripgrep-ad0mdt0a.js → worktree-k7s9b0vb.js} +3 -3
- package/dist/chunks/{ripgrep-b3ssbg72.js → worktree-kbrhjmmj.js} +5 -5
- package/dist/chunks/{ripgrep-ttrnwjg6.js → worktree-kh5y7dsa.js} +32 -32
- package/dist/chunks/{ripgrep-cc4mce2f.js → worktree-kj6zq9q4.js} +11 -11
- package/dist/chunks/{ripgrep-t44twkfx.js → worktree-kmnyjx2j.js} +16 -16
- package/dist/chunks/{ripgrep-j6n240pe.js → worktree-ktvcadya.js} +15 -15
- package/dist/chunks/{ripgrep-maxhh8et.js → worktree-kvkgejfx.js} +17 -17
- package/dist/chunks/{ripgrep-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-c2fkg77t.js → worktree-m75a1scj.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-a8bn8zg0.js → worktree-magykp64.js} +4 -4
- package/dist/chunks/{ripgrep-mm9a79w2.js → worktree-mjk1w6qm.js} +5 -5
- package/dist/chunks/{ripgrep-xee3s8h4.js → worktree-n3h0vr51.js} +5 -5
- package/dist/chunks/{ripgrep-gc1be7ym.js → worktree-n45vtd7p.js} +5 -5
- package/dist/chunks/{ripgrep-q5asdkn4.js → worktree-n4r3xatb.js} +4 -4
- package/dist/chunks/{ripgrep-74dp8hat.js → worktree-n8zk10z2.js} +16 -16
- package/dist/chunks/{ripgrep-d6ygdec0.js → worktree-n9hm6cyq.js} +15 -15
- package/dist/chunks/{ripgrep-h71w788e.js → worktree-njhqdk9p.js} +9 -9
- package/dist/chunks/{ripgrep-7fax3qrw.js → worktree-nn6yf1qt.js} +321 -321
- package/dist/chunks/{ripgrep-cmwkp3r5.js → worktree-p37cw4rj.js} +8 -8
- package/dist/chunks/{ripgrep-9rh4wyvr.js → worktree-pc7a78kv.js} +67 -67
- package/dist/chunks/{ripgrep-rt3ycepw.js → worktree-pcn71y31.js} +8 -8
- package/dist/chunks/{ripgrep-jdyje03d.js → worktree-pd6w8b01.js} +25 -25
- package/dist/chunks/{ripgrep-bgc5ggmx.js → worktree-pgp1nwjn.js} +4 -4
- package/dist/chunks/{ripgrep-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-psazpmmj.js → worktree-psazpmmj.js} +2 -2
- package/dist/chunks/{ripgrep-12vdsn8b.js → worktree-psf552px.js} +18 -18
- package/dist/chunks/{ripgrep-evwvzn8m.js → worktree-pttk24fx.js} +52 -52
- package/dist/chunks/{ripgrep-m1ghs974.js → worktree-pvecmqrq.js} +48 -48
- package/dist/chunks/{ripgrep-kx6qw7rw.js → worktree-q10fqe6z.js} +13 -13
- package/dist/chunks/{ripgrep-kpbxnat6.js → worktree-q3d9qgrv.js} +5 -5
- package/dist/chunks/{ripgrep-jexxy024.js → worktree-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-gt3bz8e3.js → worktree-q86ksqw5.js} +29 -29
- package/dist/chunks/{ripgrep-cms5sp3y.js → worktree-qany4v32.js} +37 -37
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{ripgrep-r6tgknzn.js → worktree-qecp8fbz.js} +11 -11
- package/dist/chunks/{ripgrep-28qa2p8j.js → worktree-qgqfqnbd.js} +12 -12
- package/dist/chunks/worktree-qj6bq7hm.js +26 -0
- package/dist/chunks/{ripgrep-bdnj05zt.js → worktree-qkk2rr8y.js} +37 -37
- package/dist/chunks/{ripgrep-sr2r7h9e.js → worktree-qrevjn02.js} +30 -30
- package/dist/chunks/{ripgrep-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-26z3ws4s.js → worktree-qysgwets.js} +11 -11
- package/dist/chunks/{ripgrep-kj1xsshb.js → worktree-r23pbb8t.js} +24 -24
- package/dist/chunks/{ripgrep-gntj43c3.js → worktree-r5v4xwkj.js} +43 -43
- package/dist/chunks/{ripgrep-1a95bty0.js → worktree-r775761k.js} +23 -23
- package/dist/chunks/{ripgrep-1acjjqhc.js → worktree-r8xr0va3.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-bp2sensp.js → worktree-rf68yed4.js} +4 -4
- package/dist/chunks/{ripgrep-y906m0ew.js → worktree-rkdvqggb.js} +5 -5
- package/dist/chunks/{ripgrep-8phpemx6.js → worktree-rkprpv83.js} +6 -6
- package/dist/chunks/{ripgrep-qr1jhx0t.js → worktree-rp0b7fvm.js} +38 -38
- package/dist/chunks/{ripgrep-zeh9ct20.js → worktree-rq775frq.js} +2 -2
- package/dist/chunks/{ripgrep-58td3c7b.js → worktree-rxmj2525.js} +5 -5
- package/dist/chunks/{ripgrep-mdxpkgt1.js → worktree-s1xp2azn.js} +32 -32
- package/dist/chunks/{ripgrep-dq0v80fr.js → worktree-s2ynmxvy.js} +5 -5
- package/dist/chunks/{ripgrep-f29mbr7f.js → worktree-s30fyz93.js} +4 -4
- package/dist/chunks/{ripgrep-aqpkav4c.js → worktree-s6qgj9yb.js} +11 -11
- package/dist/chunks/{ripgrep-42ja97fm.js → worktree-s8h5ed1j.js} +13 -13
- package/dist/chunks/{ripgrep-cjewx8rg.js → worktree-shcgk7se.js} +6 -6
- package/dist/chunks/{ripgrep-1xnf7mgs.js → worktree-shhg5kc4.js} +16 -16
- package/dist/chunks/{ripgrep-3ksk9rr2.js → worktree-sqgjnw45.js} +1 -1
- package/dist/chunks/{ripgrep-ytgm5639.js → worktree-sssfkgzr.js} +11 -11
- package/dist/chunks/{ripgrep-34b8rt98.js → worktree-swsbd73k.js} +15 -15
- package/dist/chunks/{ripgrep-tz2bjj40.js → worktree-t2vpa3bp.js} +5 -5
- package/dist/chunks/{ripgrep-aqpebcrt.js → worktree-t2yvaxt4.js} +4 -4
- package/dist/chunks/{ripgrep-q06jrgxq.js → worktree-t4km5p4j.js} +17 -17
- package/dist/chunks/{ripgrep-p44d8wdy.js → worktree-t4mbtemh.js} +5 -5
- package/dist/chunks/{ripgrep-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-jampngmm.js → worktree-tpp8915p.js} +31 -31
- package/dist/chunks/{ripgrep-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-n7w0d8kx.js → worktree-v75ben0y.js} +11 -11
- package/dist/chunks/{ripgrep-2qbs3cg9.js → worktree-vc7dggtw.js} +20 -20
- package/dist/chunks/{ripgrep-vzsp23ty.js → worktree-vdcyv8vc.js} +10 -10
- package/dist/chunks/{ripgrep-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-gxnkkmdt.js → worktree-vkxhpebf.js} +9 -9
- package/dist/chunks/{ripgrep-cweqvw0v.js → worktree-vrxvw0ry.js} +45 -45
- package/dist/chunks/{ripgrep-a8zr1srk.js → worktree-vtgtp4yy.js} +8 -8
- package/dist/chunks/{ripgrep-1fmrbde1.js → worktree-vx8g7p8m.js} +8 -8
- package/dist/chunks/{ripgrep-rtathh62.js → worktree-vz7d5c1g.js} +5 -5
- package/dist/chunks/{ripgrep-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-j15mfg1p.js → worktree-w4arg62q.js} +6 -6
- package/dist/chunks/{ripgrep-jjn8g76t.js → worktree-w7ams0n7.js} +40 -40
- package/dist/chunks/{ripgrep-6y4f4487.js → worktree-waa26gy5.js} +16 -16
- package/dist/chunks/{ripgrep-xe892rvg.js → worktree-wagw3cnt.js} +34 -34
- package/dist/chunks/{ripgrep-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-bm4g2d1m.js → worktree-wedrxhxr.js} +6 -6
- package/dist/chunks/{ripgrep-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-hjya9502.js → worktree-x3x9tpbc.js} +18 -18
- package/dist/chunks/{ripgrep-qjmya8rr.js → worktree-xg31f8ct.js} +15 -15
- package/dist/chunks/{ripgrep-c92s42wz.js → worktree-xycfn4ya.js} +15 -15
- package/dist/chunks/{ripgrep-y7adswzc.js → worktree-xznnvfjn.js} +16 -16
- package/dist/chunks/{ripgrep-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-dsd3h4da.js → worktree-y2zgx20r.js} +3 -3
- package/dist/chunks/{ripgrep-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-mfgtk275.js → worktree-ya6t0hrg.js} +20 -20
- package/dist/chunks/{ripgrep-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-xj8f3x9y.js → worktree-yskbjwxr.js} +18 -18
- package/dist/chunks/{ripgrep-4eaf1e5g.js → worktree-ytnjtmra.js} +3 -3
- package/dist/chunks/{ripgrep-4999syfh.js → worktree-yvpmtcpk.js} +10 -10
- package/dist/chunks/{ripgrep-gv6a8nnw.js → worktree-yyb7tjpc.js} +2 -2
- package/dist/chunks/{ripgrep-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-mzywpf3p.js → worktree-zfps0aje.js} +4 -4
- package/dist/chunks/{ripgrep-84ggppa8.js → worktree-zj4nggsa.js} +33 -33
- package/dist/chunks/{ripgrep-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/ripgrep-19ee3xcc.js +0 -252
- package/dist/chunks/ripgrep-hxa7m5za.js +0 -4
- package/dist/chunks/ripgrep-m7hzdmrm.js +0 -26
- package/dist/chunks/ripgrep-phz3h32g.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./worktree-6893nb2p.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info8 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-t2yvaxt4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info17,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service47,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node50
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info17 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info17.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node50 = makeLocationNode({
|
|
75
|
+
service: Service47,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info17, NotFoundError7, ExecutionError2, Service47, layer19, node50, exports_command5, Event10 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service44,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node47,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service44 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service44.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service44, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node47 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service44, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured8, node47, exports_select };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin24,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin24 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin44 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin24, exports_identity };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-eyz64kwr.js";
|
|
5
5
|
import {
|
|
6
6
|
BlockedError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-pttk24fx.js";
|
|
8
8
|
import {
|
|
9
9
|
AuthorizationError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-q86ksqw5.js";
|
|
11
11
|
import {
|
|
12
12
|
ModelNotSelectedError2,
|
|
13
13
|
ModelUnavailableError2,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ModelInitializationError2,
|
|
18
18
|
UnresolvedProviderVariablesError2,
|
|
19
19
|
UnsupportedCompactionError2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-gx5nrd37.js";
|
|
21
21
|
|
|
22
22
|
// src/session/to-session-error.ts
|
|
23
23
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make14(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./worktree-gdv4qzn0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service10
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-jjk7p82s.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
26
|
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin30 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin46, exports_compaction };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-t2yvaxt4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./worktree-9zraknnh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-q86ksqw5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./worktree-6893nb2p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./worktree-e14rzxnr.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-jwjamgbd.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-kj6zq9q4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./worktree-ewbjc8wa.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID10.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,7 +160,7 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
163
|
+
const providers = yield* Service68;
|
|
164
164
|
const bus = yield* Service83;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
@@ -177,7 +177,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
182
|
try: () => load2(url, {
|
|
183
183
|
...provider?.headers,
|
|
@@ -199,7 +199,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID9.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID9.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID9.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID9.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-3he9s93f.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-xznnvfjn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin17,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin17 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service80;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin17, exports_git };
|