@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-q9s2wchy.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-2ydsszd5.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-scyxybgw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node73
|
|
22
|
+
} from "./repository-zrs9t7hx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service30,
|
|
25
|
+
node34
|
|
26
|
+
} from "./repository-xr3qtd12.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service30;
|
|
65
|
+
const store = yield* Service69;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
|
+
layer: layer3,
|
|
153
|
+
deps: [node87, llmClient2, node34, node73, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./repository-mmcph4q4.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch2 = {};
|
|
14
|
+
__export(exports_websearch2, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
+
Plugin: () => Plugin42
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin42 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service55;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin7 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin42, exports_websearch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-q9s2wchy.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-54tcyq79.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service70,
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service70 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service70.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info23, ListInput5, AddInput2, Service70, node74, exports_saved };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-m88agcr3.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-2ydsszd5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./repository-7j0c068z.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-j93j9byk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./repository-8ta41r54.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./repository-jcqt8fek.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./repository-gr7cmsbq.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options5 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
104
|
+
const environment = yield* Service63;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
106
|
+
const forms = yield* Service76;
|
|
107
|
+
const integration = yield* Service74;
|
|
108
|
+
const credentials = yield* Service75;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID14.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError5({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID16.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service38.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured5(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [node84,
|
|
519
|
+
service: Service38,
|
|
520
|
+
layer: layer16(options),
|
|
521
|
+
deps: [node84, node66, node87, node80, node78, node79]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node41 = configured5();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node41, exports_mcp4 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-j93j9byk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service26,
|
|
12
|
+
node29
|
|
13
|
+
} from "./repository-9aj1bw61.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError4,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service25,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node28
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event7 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service25 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service26;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service25.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node28 = makeLocationNode({
|
|
144
|
+
service: Service25,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node29]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service25, node28, exports_filesystem, Entry2, Match2, Submatch2 };
|