@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-7b6f2pz4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-t2yvaxt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node67
|
|
12
|
+
} from "./worktree-kvkgejfx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service62,
|
|
15
|
+
node66
|
|
16
|
+
} from "./worktree-bw9zjykr.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make18
|
|
22
|
+
} from "./worktree-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service59
|
|
26
|
+
} from "./worktree-n4r3xatb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service77,
|
|
29
|
+
node81
|
|
30
|
+
} from "./worktree-95v9dhdk.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-dqt0xvez.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-5xhdg7n0.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service58,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node63,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service58 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service77;
|
|
64
|
+
const instances = yield* Service62;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service63;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service59.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make18({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service58.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node63 = makeGlobalNode({
|
|
127
|
+
service: Service58,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node81, node66, node87, node88, node67]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service58, terminal2, layer22, node63, noopLayer3, exports_execution };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./worktree-ewbjc8wa.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-3he9s93f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./worktree-gdv4qzn0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service44,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-d9vsz0nw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./worktree-gafemadt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./worktree-92zh7pxv.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin42
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin42 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service42;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin18 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service44;
|
|
60
|
+
const sessions = yield* Service24;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin18 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin42, exports_command2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-d9vsz0nw.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46
|
|
4
|
+
} from "./worktree-kmnyjx2j.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-3he9s93f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node45
|
|
12
|
+
} from "./worktree-gdv4qzn0.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service7,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node8
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service7, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service42;
|
|
40
|
+
const watcher = yield* Service43;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service7.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node8 = makeLocationNode({
|
|
74
|
+
service: Service7,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node45, FSUtil.node, node46, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service7,
|
|
80
|
+
layer: Layer.succeed(Service7, Service7.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service7, layer5, node8, empty2, exports_source };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-6893nb2p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info22,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-e14rzxnr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info22.make({
|
|
98
|
+
...Info22.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-7b6f2pz4.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-t2yvaxt4.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-s2ynmxvy.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-d9s573fh.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-psazpmmj.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-gfvb90ym.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-t2yvaxt4.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-d9vsz0nw.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer9,
|
|
26
|
+
node: () => node24
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service21.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service38, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer9 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service21,
|
|
261
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node24 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError4, Service21, layer9, configured3, node24, exports_persistent_pty, Handoff2 };
|