@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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./worktree-7eezvbx7.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-b5pxe27k.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service3,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node4,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service48;
|
|
335
|
+
return Service3.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node4 = makeLocationNode({ service: Service3, layer, deps: [node51] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-2sscpfbp.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-3he9s93f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./worktree-pttk24fx.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service51,
|
|
26
|
+
node: () => node55,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service51 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service80;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service75;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service51.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node55 = makeLocationNode({ service: Service51, layer, deps: [FSUtil.node, node84, node79] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service51, resolvePath2, node55, exports_file_access };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-kj6zq9q4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin22 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin38 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin38 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin22, exports_tinyfish };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service70, node74, exports_credential };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service79,
|
|
10
|
+
node: () => node83
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service79 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service79.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service79, node83, exports_hooks };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./worktree-6893nb2p.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./worktree-gdv4qzn0.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service68;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service42);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./worktree-gdv4qzn0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./worktree-cpneeje0.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/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin44
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service42;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin23 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin44, exports_location_watcher2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./worktree-6893nb2p.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID9.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-s2ynmxvy.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-3he9s93f.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service45,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service45, node48, noopLayer2, exports_snapshot2 };
|