@opencode/core 0.0.0-dev-20292 → 0.0.0-dev-20294
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-a4691zpg.js → repository-0hpqhmg5.js} +16 -16
- package/dist/chunks/{ripgrep-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-k7sekcqa.js → repository-0vkpmgbt.js} +22 -22
- package/dist/chunks/{ripgrep-gmddfe7k.js → repository-14jy69rb.js} +11 -6
- package/dist/chunks/{ripgrep-14yyfa4b.js → repository-18vsvbhm.js} +24 -24
- package/dist/chunks/{ripgrep-0czp0bk4.js → repository-19b6gxjs.js} +20 -20
- package/dist/chunks/{ripgrep-qnj1ev0v.js → repository-19zwwnfa.js} +11 -11
- package/dist/chunks/{ripgrep-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-2d0eq7f5.js → repository-1mtt7xvh.js} +6 -6
- package/dist/chunks/{ripgrep-0spqb8br.js → repository-1n707za3.js} +45 -45
- package/dist/chunks/{ripgrep-v88ypzx6.js → repository-1qkgxr4g.js} +11 -11
- package/dist/chunks/{ripgrep-ss37jsxd.js → repository-1vcb7p82.js} +11 -11
- package/dist/chunks/{ripgrep-5g11er5x.js → repository-1w1f4pd6.js} +7 -7
- package/dist/chunks/{ripgrep-mfqp6xfm.js → repository-1ygqh575.js} +6 -6
- package/dist/chunks/{ripgrep-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-80scg3y3.js → repository-277eer69.js} +4 -4
- package/dist/chunks/{ripgrep-5nf5fkza.js → repository-28jks9yb.js} +15 -15
- package/dist/chunks/{ripgrep-jgnf2bvc.js → repository-28w42cxn.js} +12 -12
- package/dist/chunks/{ripgrep-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-r4yqrmdq.js → repository-2cmv458r.js} +5 -5
- package/dist/chunks/{ripgrep-aj930q3s.js → repository-2w1sghnn.js} +6 -6
- package/dist/chunks/{ripgrep-s9mggv36.js → repository-2wt8p97z.js} +15 -15
- package/dist/chunks/{ripgrep-bdqrk2vk.js → repository-2y34zzjz.js} +4 -4
- package/dist/chunks/{ripgrep-vkchd65f.js → repository-2ydsszd5.js} +4 -4
- package/dist/chunks/{ripgrep-c5zhzd6d.js → repository-33djd3yz.js} +17 -17
- package/dist/chunks/{ripgrep-464yenze.js → repository-3b9kky5h.js} +33 -33
- package/dist/chunks/{ripgrep-wbd0sh62.js → repository-3dktm290.js} +22 -22
- package/dist/chunks/{ripgrep-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-gpp31qn3.js → repository-3jb78rkx.js} +38 -38
- package/dist/chunks/{ripgrep-614e606q.js → repository-3py87nww.js} +20 -20
- package/dist/chunks/{ripgrep-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-cgkq456e.js → repository-3xyp34gk.js} +17 -17
- package/dist/chunks/{ripgrep-hr01dqex.js → repository-3z2k3hnx.js} +25 -25
- package/dist/chunks/{ripgrep-ajskgwrh.js → repository-3z9zcdgn.js} +26 -26
- package/dist/chunks/{ripgrep-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-8vp0jrea.js → repository-4d9efcsa.js} +3 -3
- package/dist/chunks/{ripgrep-s30fyz93.js → repository-4j4tgtq5.js} +4 -4
- package/dist/chunks/{ripgrep-40p1p2fq.js → repository-4m95e5xq.js} +15 -15
- package/dist/chunks/{ripgrep-84zcxbc9.js → repository-4n607a2z.js} +5 -5
- package/dist/chunks/{ripgrep-7d4qx0wr.js → repository-4s80pf4a.js} +11 -11
- package/dist/chunks/{ripgrep-a2qe2ev9.js → repository-4w5f3qm5.js} +8 -8
- package/dist/chunks/{ripgrep-de52ckkz.js → repository-4wwqnvbr.js} +4 -4
- package/dist/chunks/{ripgrep-67r4mtw2.js → repository-50jssn3y.js} +9 -9
- package/dist/chunks/{ripgrep-yf4jcbx9.js → repository-51f5btjf.js} +6 -6
- package/dist/chunks/{ripgrep-zpmxzwgb.js → repository-52kykq2z.js} +8 -8
- package/dist/chunks/{ripgrep-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-ckecvw8r.js → repository-54tcyq79.js} +2 -2
- package/dist/chunks/{ripgrep-a6znh3jt.js → repository-55b5dnwk.js} +23 -23
- package/dist/chunks/{ripgrep-xfkkasph.js → repository-57b9ws8p.js} +7 -7
- package/dist/chunks/{ripgrep-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-937m9zg6.js → repository-5r2rf0nq.js} +3 -3
- package/dist/chunks/{ripgrep-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-3hfr6h8q.js → repository-5xtgfte3.js} +8 -8
- package/dist/chunks/{ripgrep-f8yxf6yh.js → repository-63bdqmma.js} +2 -2
- package/dist/chunks/{ripgrep-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/repository-678t04nd.js +252 -0
- package/dist/chunks/{ripgrep-97ffttsr.js → repository-67zyhdmh.js} +22 -22
- package/dist/chunks/{ripgrep-asrgbh96.js → repository-6kzh7v0b.js} +21 -21
- package/dist/chunks/{ripgrep-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-5vtq9k1b.js → repository-6pmv43wt.js} +13 -13
- package/dist/chunks/{ripgrep-70m7fb3k.js → repository-6pws2pt7.js} +5 -5
- package/dist/chunks/{ripgrep-ew2ae9f5.js → repository-6zmn3x4v.js} +12 -12
- package/dist/chunks/{ripgrep-ap544ky7.js → repository-71xq2mh9.js} +29 -29
- package/dist/chunks/{ripgrep-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{ripgrep-46tkexde.js → repository-75s06ger.js} +85 -85
- package/dist/chunks/{ripgrep-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-qgn6gcr1.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-1j6r9yf3.js → repository-7j0c068z.js} +30 -30
- package/dist/chunks/{ripgrep-harp7y6f.js → repository-7jdgcrb4.js} +26 -26
- package/dist/chunks/{ripgrep-atg39wsg.js → repository-7y0vmfhg.js} +11 -11
- package/dist/chunks/{ripgrep-drtcq7dv.js → repository-805s2bhx.js} +17 -17
- package/dist/chunks/{ripgrep-8d0p2m37.js → repository-83rdsyqm.js} +3 -3
- package/dist/chunks/{ripgrep-m1gcv8kj.js → repository-856ceffp.js} +48 -48
- package/dist/chunks/{ripgrep-t3fh9vjv.js → repository-86d5j3vh.js} +23 -23
- package/dist/chunks/{ripgrep-snrx9wzx.js → repository-86mrmjc9.js} +34 -34
- package/dist/chunks/{ripgrep-h6b50tg5.js → repository-87ezq1ce.js} +23 -23
- package/dist/chunks/{ripgrep-qr0v61ms.js → repository-886z1dpc.js} +22 -22
- package/dist/chunks/{ripgrep-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-5cmxdwv8.js → repository-8jmaqybk.js} +3 -3
- package/dist/chunks/{ripgrep-w29ra1z6.js → repository-8m7dbv6d.js} +3 -3
- package/dist/chunks/{ripgrep-s7cej264.js → repository-8ta41r54.js} +21 -21
- package/dist/chunks/{ripgrep-n00nrqde.js → repository-8w5neka9.js} +35 -35
- package/dist/chunks/{ripgrep-tn8eqcjj.js → repository-95crna3w.js} +11 -11
- package/dist/chunks/{ripgrep-z508a32f.js → repository-9aj1bw61.js} +25 -25
- package/dist/chunks/{ripgrep-vb3rn859.js → repository-9bkvwbce.js} +24 -24
- package/dist/chunks/{ripgrep-wexprs6b.js → repository-9fnp4mg3.js} +29 -29
- package/dist/chunks/{ripgrep-dbdkqs60.js → repository-a9k4z3j9.js} +20 -20
- package/dist/chunks/{ripgrep-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-g4ev0w7y.js → repository-aeb41jaw.js} +13 -13
- package/dist/chunks/{ripgrep-qq5y994f.js → repository-aezgccn6.js} +18 -18
- package/dist/chunks/{ripgrep-aq3yrsfq.js → repository-akrnt5pz.js} +11 -11
- package/dist/chunks/{ripgrep-xhfc0ae0.js → repository-aw2a2x8a.js} +5 -5
- package/dist/chunks/{ripgrep-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-b446k4sn.js → repository-bdx7mas8.js} +25 -25
- package/dist/chunks/{ripgrep-0j45e4a4.js → repository-bedctmvj.js} +33 -33
- package/dist/chunks/{ripgrep-z07pqspn.js → repository-bjtzbw4r.js} +3 -3
- package/dist/chunks/{ripgrep-qp7sx9de.js → repository-brmf2hf9.js} +30 -30
- package/dist/chunks/{ripgrep-5yjg4844.js → repository-bs9hg8dp.js} +12 -12
- package/dist/chunks/{ripgrep-73a2vzjg.js → repository-bw624gy4.js} +11 -11
- package/dist/chunks/{ripgrep-tb18kw1r.js → repository-c474ncq9.js} +26 -26
- package/dist/chunks/{ripgrep-xq1s1hxa.js → repository-cmsgt7am.js} +4 -4
- package/dist/chunks/{ripgrep-6wgqnbhb.js → repository-cn62kwfv.js} +30 -30
- package/dist/chunks/{ripgrep-97d1gz13.js → repository-cp0ek693.js} +11 -11
- package/dist/chunks/{ripgrep-cpy6gm2a.js → repository-cpy6gm2a.js} +1 -1
- package/dist/chunks/{ripgrep-sh80pnfr.js → repository-cq8d0ptr.js} +37 -37
- package/dist/chunks/{ripgrep-ymtchxmw.js → repository-cszxnbmn.js} +36 -36
- package/dist/chunks/{ripgrep-5d607bsg.js → repository-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-1jqh21ez.js → repository-d0kzhv0j.js} +35 -35
- package/dist/chunks/{ripgrep-qndte7za.js → repository-dew5gbm6.js} +30 -30
- package/dist/chunks/{ripgrep-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-nd3632dr.js → repository-e3m0js48.js} +10 -10
- package/dist/chunks/{ripgrep-7dftej1j.js → repository-e85g35n7.js} +33 -33
- package/dist/chunks/{ripgrep-4ndvwbzn.js → repository-ebmxv542.js} +5 -5
- package/dist/chunks/{ripgrep-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-apcpvt2b.js → repository-eg2xygd3.js} +6 -6
- package/dist/chunks/{ripgrep-h5r8400x.js → repository-ejeqwj0w.js} +11 -11
- package/dist/chunks/{ripgrep-yp4zak5f.js → repository-eqzxj8fj.js} +21 -21
- package/dist/chunks/{ripgrep-a48m945n.js → repository-es0x5b7y.js} +15 -15
- package/dist/chunks/{ripgrep-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-nndvp20a.js → repository-eypemsfj.js} +26 -26
- package/dist/chunks/{ripgrep-q4e7vy2b.js → repository-f6jjas3f.js} +26 -26
- package/dist/chunks/{ripgrep-52dfra55.js → repository-fcdb6q1z.js} +10 -10
- package/dist/chunks/{ripgrep-dxczsaw9.js → repository-fgkd623f.js} +12 -12
- package/dist/chunks/{ripgrep-d5y0ve3n.js → repository-fhb7j999.js} +20 -20
- package/dist/chunks/{ripgrep-dqp0ptjh.js → repository-fjmsqycw.js} +6 -6
- package/dist/chunks/{ripgrep-fr2byary.js → repository-fkx959jc.js} +20 -20
- package/dist/chunks/{ripgrep-9r5kv9cm.js → repository-fmnw2r23.js} +15 -15
- package/dist/chunks/{ripgrep-54n8g67r.js → repository-fnpsswcg.js} +11 -11
- package/dist/chunks/{ripgrep-vv97ra8n.js → repository-g2042726.js} +11 -11
- package/dist/chunks/{ripgrep-n542nw20.js → repository-g2se78h0.js} +15 -15
- package/dist/chunks/{ripgrep-jj72jhew.js → repository-g8atgw3j.js} +6 -6
- package/dist/chunks/{ripgrep-j6bb8g4d.js → repository-gbwn371a.js} +11 -11
- package/dist/chunks/{ripgrep-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-94ek1h2f.js → repository-gfvb90ym.js} +2 -2
- package/dist/chunks/{ripgrep-mxfbfm56.js → repository-ghv7h55a.js} +1 -1
- package/dist/chunks/{ripgrep-n3vygs5b.js → repository-gmkr1ekh.js} +6 -6
- package/dist/chunks/{ripgrep-dnpyyfmr.js → repository-gr7cmsbq.js} +30 -30
- package/dist/chunks/{ripgrep-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-bn30swxx.js → repository-gz56tzj2.js} +26 -26
- package/dist/chunks/{ripgrep-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-e5jn2fa5.js → repository-hc5t8axk.js} +25 -25
- package/dist/chunks/{ripgrep-0bfcnrg1.js → repository-hd8vw2pw.js} +1 -1
- package/dist/chunks/{ripgrep-4c2df9zx.js → repository-hpfvhvya.js} +8 -8
- package/dist/chunks/{ripgrep-bjb1q8ez.js → repository-hpxs712n.js} +8 -8
- package/dist/chunks/{ripgrep-gc0xbwck.js → repository-hrjt4dpr.js} +10 -10
- package/dist/chunks/{ripgrep-cp937pt4.js → repository-j34bs4nz.js} +4 -4
- package/dist/chunks/{ripgrep-mwymx5eg.js → repository-j4tvhaks.js} +42 -42
- package/dist/chunks/{ripgrep-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-ce6ce29e.js → repository-j93j9byk.js} +2 -2
- package/dist/chunks/{ripgrep-gn14yt0k.js → repository-jcqt8fek.js} +25 -25
- package/dist/chunks/{ripgrep-j7y92zpc.js → repository-jjvmyn1y.js} +69 -69
- package/dist/chunks/{ripgrep-jv01nqvq.js → repository-jv01nqvq.js} +2 -2
- package/dist/chunks/{ripgrep-rpg9c19m.js → repository-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-2dfsp93b.js → repository-k73wm98n.js} +24 -24
- package/dist/chunks/{ripgrep-6hjx5zpb.js → repository-k79tzb9n.js} +8 -8
- package/dist/chunks/{ripgrep-4fx0v051.js → repository-kcfw5k6d.js} +7 -7
- package/dist/chunks/{ripgrep-4djqy3b1.js → repository-knh73zev.js} +28 -28
- package/dist/chunks/{ripgrep-p2szdq98.js → repository-m1m46bga.js} +50 -50
- package/dist/chunks/{ripgrep-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-dq0v80fr.js → repository-m88agcr3.js} +5 -5
- package/dist/chunks/{ripgrep-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-9xpmj48t.js → repository-mdqw8d12.js} +7 -7
- package/dist/chunks/{ripgrep-ng5rtwhy.js → repository-mgp6rfqa.js} +3 -3
- package/dist/chunks/{ripgrep-a8bn8zg0.js → repository-mjymc32g.js} +4 -4
- package/dist/chunks/{ripgrep-7ab4f44s.js → repository-mkmyr10v.js} +18 -18
- package/dist/chunks/{ripgrep-x4k31b5q.js → repository-mmcph4q4.js} +40 -40
- package/dist/chunks/{ripgrep-2dch9cv2.js → repository-mpcnc0n1.js} +4 -4
- package/dist/chunks/{ripgrep-addxnjmp.js → repository-mpk0rfs5.js} +4 -4
- package/dist/chunks/{ripgrep-4vznd14g.js → repository-mvj8ndq3.js} +5 -5
- package/dist/chunks/{ripgrep-xwm6bryg.js → repository-mzywpf3p.js} +4 -4
- package/dist/chunks/{ripgrep-f5gy8qwh.js → repository-n9k80d2m.js} +8 -8
- package/dist/chunks/{ripgrep-qkn179pw.js → repository-nqdgrntv.js} +13 -13
- package/dist/chunks/{ripgrep-ez62b8nj.js → repository-ntzq23qa.js} +6 -6
- package/dist/chunks/{ripgrep-pj6tenb7.js → repository-nwa29mh0.js} +163 -163
- package/dist/chunks/{ripgrep-2wyx13rv.js → repository-ny1k4mkg.js} +4 -4
- package/dist/chunks/{ripgrep-k3c624dm.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-cznrqaaz.js → repository-p53a8atn.js} +1 -1
- package/dist/chunks/{ripgrep-6gsfn1dv.js → repository-p8hnm1nw.js} +31 -31
- package/dist/chunks/{ripgrep-y3c47kq2.js → repository-pd23kvzh.js} +15 -15
- package/dist/chunks/{ripgrep-n5qb4bnc.js → repository-pjt329ss.js} +3 -3
- package/dist/chunks/{ripgrep-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-yrdcmk37.js → repository-pqkd14gs.js} +8 -8
- package/dist/chunks/{ripgrep-wd3x2cqz.js → repository-psazpmmj.js} +2 -2
- package/dist/chunks/{ripgrep-bm12swdw.js → repository-pv4awm7k.js} +11 -11
- package/dist/chunks/{ripgrep-rgwtw4pk.js → repository-pykzy8ep.js} +16 -16
- package/dist/chunks/{ripgrep-29jfjc42.js → repository-pztqrn0p.js} +11 -11
- package/dist/chunks/{ripgrep-7nm77vb3.js → repository-q9s2wchy.js} +3 -3
- package/dist/chunks/{ripgrep-72mdmaav.js → repository-qab3c6m1.js} +14 -14
- package/dist/chunks/{ripgrep-atvavzdr.js → repository-qbwywm89.js} +5 -5
- package/dist/chunks/{ripgrep-j3s2z371.js → repository-qg0jgkcp.js} +9 -9
- package/dist/chunks/{ripgrep-2wts5qzq.js → repository-qp3v07n2.js} +5 -5
- package/dist/chunks/{ripgrep-6ydrntg5.js → repository-qscpncy3.js} +6 -6
- package/dist/chunks/{ripgrep-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-dqx57jvk.js → repository-qzy69xxq.js} +7 -7
- package/dist/chunks/{ripgrep-8v9axdqq.js → repository-r3pe7rtq.js} +20 -20
- package/dist/chunks/{ripgrep-e6te0wgx.js → repository-r5vjqpht.js} +10 -10
- package/dist/chunks/{ripgrep-dppfvz3f.js → repository-r8mtfjmr.js} +13 -13
- package/dist/chunks/repository-rap9a73h.js +18 -0
- package/dist/chunks/{ripgrep-qa3qhgw8.js → repository-ratrq7cm.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-ndhs64pk.js → repository-rn3nfvms.js} +9 -9
- package/dist/chunks/{ripgrep-1ynb6qa0.js → repository-rswr9y71.js} +20 -20
- package/dist/chunks/{ripgrep-669mnavw.js → repository-rvfwzs2a.js} +21 -21
- package/dist/chunks/repository-rvs18j5z.js +507 -0
- package/dist/chunks/{ripgrep-9979gqg8.js → repository-s182s2zc.js} +54 -54
- package/dist/chunks/{ripgrep-y5mjhv0c.js → repository-s1bapamg.js} +4 -4
- package/dist/chunks/{ripgrep-eaj1djv9.js → repository-s8d7rejh.js} +6 -6
- package/dist/chunks/{ripgrep-3tfp5dh2.js → repository-scyxybgw.js} +8 -8
- package/dist/chunks/{ripgrep-vg7bdtvb.js → repository-sf5yjpcs.js} +9 -9
- package/dist/chunks/{ripgrep-xm47dg1f.js → repository-src5ze84.js} +4 -4
- package/dist/chunks/{ripgrep-4hkxpksb.js → repository-sv5c2zxk.js} +27 -27
- package/dist/chunks/{ripgrep-tn0aqsam.js → repository-t0fxg8b9.js} +5 -5
- package/dist/chunks/{ripgrep-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/repository-tbqg5x42.js +26 -0
- package/dist/chunks/{ripgrep-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-a8zr1srk.js → repository-tdhe5xga.js} +8 -8
- package/dist/chunks/{ripgrep-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-q826ync2.js → repository-thtzhryg.js} +15 -15
- package/dist/chunks/{ripgrep-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-g3p8qp1x.js → repository-v5p1ehqe.js} +10 -10
- package/dist/chunks/{ripgrep-x3ggs2d6.js → repository-v84na98c.js} +12 -12
- package/dist/chunks/{ripgrep-xdfgknmx.js → repository-v9atbmms.js} +19 -19
- package/dist/chunks/{ripgrep-qpwf5ett.js → repository-vac7npjk.js} +8 -8
- package/dist/chunks/{ripgrep-cpgvmsmz.js → repository-vc31r3zd.js} +9 -9
- package/dist/chunks/{ripgrep-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-svxtz2p3.js → repository-vgb6a2zp.js} +23 -23
- package/dist/chunks/{ripgrep-91wvh588.js → repository-vh8736dd.js} +6 -6
- package/dist/chunks/{ripgrep-sx1n432n.js → repository-vncycja5.js} +4 -4
- package/dist/chunks/{ripgrep-g0qymqv1.js → repository-vndcnmc3.js} +25 -25
- package/dist/chunks/{ripgrep-54j2g604.js → repository-vpy2jm9e.js} +5 -5
- package/dist/chunks/{ripgrep-ea8e1byc.js → repository-vxssw4qv.js} +38 -38
- package/dist/chunks/{ripgrep-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-84txncab.js → repository-w1eejvng.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-py3kkmfq.js → repository-w92k2e0p.js} +8 -8
- package/dist/chunks/{ripgrep-fqhn89qk.js → repository-w9bdab02.js} +32 -32
- package/dist/chunks/{ripgrep-fvy6pxa1.js → repository-w9e6cfzq.js} +21 -21
- package/dist/chunks/{ripgrep-6g6nvm69.js → repository-wa5jcfmw.js} +16 -16
- package/dist/chunks/{ripgrep-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-6dwdgb0a.js → repository-wdea4gcq.js} +5 -5
- package/dist/chunks/{ripgrep-hw1tkaa7.js → repository-wj9mseqa.js} +16 -16
- package/dist/chunks/{ripgrep-vmgq4x8b.js → repository-x0600czv.js} +2 -2
- package/dist/chunks/{ripgrep-eqd5qykg.js → repository-x0skcyz0.js} +13 -13
- package/dist/chunks/{ripgrep-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-avzdjs5z.js → repository-x3pdy2ky.js} +6 -6
- package/dist/chunks/{ripgrep-hjpq76f0.js → repository-x4x4w9ve.js} +20 -20
- package/dist/chunks/{ripgrep-3fn1d266.js → repository-x8e57zem.js} +10 -10
- package/dist/chunks/{ripgrep-j4g07zwy.js → repository-x8x9h4hg.js} +27 -27
- package/dist/chunks/{ripgrep-te91bpk3.js → repository-xbepgsdw.js} +24 -24
- package/dist/chunks/{ripgrep-h90y3pkt.js → repository-xee1h9b3.js} +13 -13
- package/dist/chunks/{ripgrep-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-ner28t5a.js → repository-xr3qtd12.js} +84 -84
- package/dist/chunks/{ripgrep-g5agzp2h.js → repository-xvp1j2dc.js} +5 -5
- package/dist/chunks/{ripgrep-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-rx84aht4.js → repository-y1hpjhb0.js} +18 -18
- package/dist/chunks/{ripgrep-3b9qt4hj.js → repository-y54hr7f3.js} +9 -9
- package/dist/chunks/{ripgrep-9gqwmv79.js → repository-y6zfrytz.js} +9 -9
- package/dist/chunks/{ripgrep-2f7cedef.js → repository-ybw404hh.js} +24 -24
- package/dist/chunks/{ripgrep-e7ncmn5y.js → repository-yees5yn6.js} +15 -15
- package/dist/chunks/{ripgrep-jpcvf65v.js → repository-yfychzeb.js} +6 -6
- package/dist/chunks/{ripgrep-v2p4rfxw.js → repository-yn6k8b68.js} +6 -6
- package/dist/chunks/{ripgrep-5848hxr9.js → repository-ynmv8dbs.js} +11 -11
- package/dist/chunks/{ripgrep-yp2x3t23.js → repository-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-qbbmae1w.js → repository-yqy8qetg.js} +5 -5
- package/dist/chunks/{ripgrep-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-0f9afca0.js → repository-yt0fqk68.js} +5 -5
- package/dist/chunks/{ripgrep-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-pymq7jkz.js → repository-z0xq2v1s.js} +8 -8
- package/dist/chunks/{ripgrep-bv8nht0w.js → repository-z4djtsmk.js} +48 -48
- package/dist/chunks/{ripgrep-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-sypvhjmn.js → repository-z83thqvg.js} +18 -18
- package/dist/chunks/{ripgrep-dnwg479b.js → repository-ze7g7145.js} +18 -18
- package/dist/chunks/{ripgrep-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-hnefe9tq.js → repository-zexqyf06.js} +44 -44
- package/dist/chunks/{ripgrep-wnj5dgs2.js → repository-zknh836p.js} +14 -14
- package/dist/chunks/{ripgrep-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-s5v1wr1y.js → repository-zrs9t7hx.js} +14 -14
- package/dist/chunks/{ripgrep-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +125 -125
- 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 +125 -125
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +95 -95
- 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/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 +228 -228
- 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 +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +99 -99
- 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 +87 -87
- package/dist/job.js +77 -77
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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 +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +95 -95
- 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 +79 -79
- 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 +162 -162
- package/dist/plugin/sdk.js +74 -74
- 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 +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- 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/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +120 -120
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +170 -170
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +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 +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- 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 +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +114 -114
- 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/types/session/error.d.ts +5 -0
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/transfer.d.ts +30 -0
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- 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 +2 -2
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0qk019jc.js +0 -26
- package/dist/chunks/ripgrep-34d822yn.js +0 -252
- package/dist/chunks/ripgrep-9seqqng0.js +0 -507
- package/dist/chunks/ripgrep-v1faaxn9.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-m88agcr3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./repository-e3m0js48.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service78,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node82,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service78 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service79;
|
|
110
|
+
return Service78.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node82 = makeGlobalNode({
|
|
171
|
+
service: Service78,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node83]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service78, isError2, validateBranch2, node82, exports_repository_cache };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-2ydsszd5.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-mpk0rfs5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./repository-7j0c068z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./repository-gr7cmsbq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service73
|
|
16
|
+
} from "./repository-71xq2mh9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./repository-55b5dnwk.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service73;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./repository-ze7g7145.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-j93j9byk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./repository-mmcph4q4.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./repository-xbepgsdw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./repository-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-1mtt7xvh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin44
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin44 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service55;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service56;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin18 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin18 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin18 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin18 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin18 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin44, exports_skill3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-m88agcr3.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-j93j9byk.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node64,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
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 ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service61 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
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 Service61.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node64 = makeLocationNode({
|
|
144
|
+
service: Service61,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error4, Service61, node64, noopLayer3, exports_snapshot2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./repository-71xq2mh9.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID13.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info22,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info22 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./repository-e3m0js48.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-8jmaqybk.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service52,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make19 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service79;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service52.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service52, make19);
|
|
362
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [node83] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service52, make19, node55, exports_job };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|