@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-7b6f2pz4.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-t2yvaxt4.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-1hgzjtp2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service77,
|
|
21
|
+
node81
|
|
22
|
+
} from "./worktree-95v9dhdk.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node29
|
|
26
|
+
} from "./worktree-e32cc78a.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service26;
|
|
65
|
+
const store = yield* Service77;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node29, node81, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-t2yvaxt4.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service69,
|
|
12
|
+
node73,
|
|
13
|
+
Event16
|
|
14
|
+
} from "./worktree-q86ksqw5.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-44h5tttr.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-3he9s93f.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event15,
|
|
41
|
+
ID: () => ID9,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service68,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node72,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
68
|
+
var ID9 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info23 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service69;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info23.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service68.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node87, node73, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service68, node72, exports_provider3, Event15 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service69,
|
|
4
|
+
node73
|
|
5
|
+
} from "./worktree-q86ksqw5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service68,
|
|
16
|
+
node72
|
|
17
|
+
} from "./worktree-6893nb2p.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service65,
|
|
20
|
+
node69
|
|
21
|
+
} from "./worktree-qysgwets.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service66,
|
|
27
|
+
node70
|
|
28
|
+
} from "./worktree-e14rzxnr.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service64,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
|
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
47
|
layer: () => layer24,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node68,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID9,
|
|
59
|
+
modelID: ID8,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID9,
|
|
69
|
+
modelID: ID8,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID9,
|
|
80
|
+
modelID: ID8,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID9,
|
|
91
|
+
modelID: ID8,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID9,
|
|
103
|
+
modelID: ID8,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID9,
|
|
113
|
+
modelID: ID8,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var layer24 = Layer.effect(
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service68;
|
|
263
|
+
const models = yield* Service66;
|
|
264
|
+
const integrations = yield* Service69;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service65;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service64.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node68 = makeLocationNode({
|
|
314
|
+
service: Service64,
|
|
315
315
|
layer: layer24,
|
|
316
|
-
deps: [
|
|
316
|
+
deps: [node72, node70, node73, Npm.node, node69]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service69
|
|
4
|
+
} from "./worktree-q86ksqw5.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service69;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID10.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./worktree-gdv4qzn0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./worktree-c8jj867k.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/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin41
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin41 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
|
+
const image = yield* Service53;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin25 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin41, exports_image };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-k7s9b0vb.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-y2zgx20r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-3he9s93f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service49,
|
|
22
|
+
node52
|
|
23
|
+
} from "./worktree-f1kzstbv.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node51,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service49;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node51 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node52]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node51, exports_environment2, makeFiles2, exports_environment3 };
|