@opencode/core 0.0.0-dev-19726 → 0.0.0-dev-19729
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-cej0pycs.js → ripgrep-00xykwht.js} +17 -17
- package/dist/chunks/{websearch-xrfmzwy2.js → ripgrep-02qhaxzp.js} +10 -10
- package/dist/chunks/{websearch-7w2s7zn9.js → ripgrep-02x1wwkp.js} +24 -24
- package/dist/chunks/{websearch-0jdsmxy0.js → ripgrep-056sf8v6.js} +43 -43
- package/dist/chunks/{websearch-53jp9rw5.js → ripgrep-07xqqp3q.js} +35 -35
- package/dist/chunks/{websearch-0cr4wcw3.js → ripgrep-0a7fa5tc.js} +83 -83
- package/dist/chunks/{websearch-mdcbk6e4.js → ripgrep-0ca1pcbr.js} +6 -6
- package/dist/chunks/{websearch-hykm20ba.js → ripgrep-0cbb5c6c.js} +9 -9
- package/dist/chunks/{websearch-f1msgtjz.js → ripgrep-0emnnwmv.js} +7 -7
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{websearch-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-8n69n882.js → ripgrep-0t9wd588.js} +8 -8
- package/dist/chunks/{websearch-p1kt70e2.js → ripgrep-0y46xc02.js} +3 -3
- package/dist/chunks/{websearch-tqde4kee.js → ripgrep-0ybxp83h.js} +13 -13
- package/dist/chunks/{websearch-bcrtfppw.js → ripgrep-0zcsf5ff.js} +20 -20
- package/dist/chunks/{websearch-ec8389mk.js → ripgrep-18e56dsp.js} +4 -4
- package/dist/chunks/{websearch-6f890ccd.js → ripgrep-1ajx6rf5.js} +6 -6
- package/dist/chunks/{websearch-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-ac4r481x.js → ripgrep-1djfn99w.js} +20 -20
- package/dist/chunks/{websearch-pwhxjrkr.js → ripgrep-1gkpxce2.js} +10 -10
- package/dist/chunks/{websearch-ff7vxqds.js → ripgrep-1ktgcqzb.js} +12 -12
- package/dist/chunks/{websearch-42xr5rts.js → ripgrep-1qdmrsyh.js} +13 -13
- package/dist/chunks/{websearch-v760n2zd.js → ripgrep-1tdsmag2.js} +50 -50
- package/dist/chunks/{websearch-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-y5pxcw36.js → ripgrep-21wkgqn7.js} +3 -3
- package/dist/chunks/{websearch-6h73sxmp.js → ripgrep-2402vzrj.js} +5 -5
- package/dist/chunks/{websearch-wek9cs2v.js → ripgrep-27cnh2ng.js} +36 -36
- package/dist/chunks/{websearch-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-cm436xz1.js → ripgrep-2gascbgd.js} +14 -14
- package/dist/chunks/{websearch-xysdzrga.js → ripgrep-2m4a74dd.js} +4 -4
- package/dist/chunks/{websearch-468ms2xs.js → ripgrep-2wn13fn5.js} +6 -6
- package/dist/chunks/{websearch-x3ea811x.js → ripgrep-30027xyv.js} +11 -11
- package/dist/chunks/{websearch-c8qk7tts.js → ripgrep-321vmt1f.js} +17 -17
- package/dist/chunks/{websearch-e6hd9jay.js → ripgrep-3b1q5j1v.js} +6 -6
- package/dist/chunks/{websearch-a1pdeahv.js → ripgrep-3ey620wm.js} +4 -4
- package/dist/chunks/{websearch-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-ty4014gx.js → ripgrep-3m0avw37.js} +14 -14
- package/dist/chunks/{websearch-p84a3xwz.js → ripgrep-3nnfdham.js} +24 -24
- package/dist/chunks/{websearch-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-t0fxg8b9.js → ripgrep-3w0fmcng.js} +5 -5
- package/dist/chunks/{websearch-3cx63w9k.js → ripgrep-3ymzgx77.js} +11 -11
- package/dist/chunks/{websearch-7k56d7ba.js → ripgrep-3ystes8p.js} +18 -18
- package/dist/chunks/{websearch-ad2rxyny.js → ripgrep-3ytyewx4.js} +23 -23
- package/dist/chunks/{websearch-azx168sb.js → ripgrep-40qcz11w.js} +16 -16
- package/dist/chunks/{websearch-688skcs6.js → ripgrep-416bwb4f.js} +11 -11
- package/dist/chunks/{websearch-aw25f9k7.js → ripgrep-49p9cyd4.js} +3 -3
- package/dist/chunks/{websearch-3jx0dxz6.js → ripgrep-4n2s88c7.js} +27 -27
- package/dist/chunks/ripgrep-4v7qdvcn.js +18 -0
- package/dist/chunks/{websearch-56gdpj1q.js → ripgrep-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-6494ngt7.js → ripgrep-5gcce52j.js} +13 -13
- package/dist/chunks/{websearch-w7s0zwfz.js → ripgrep-5t0zvs0a.js} +6 -6
- package/dist/chunks/{websearch-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-7dqw4kz8.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{websearch-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{websearch-cs9qt30b.js → ripgrep-6dsef05n.js} +21 -21
- package/dist/chunks/{websearch-femjt155.js → ripgrep-6kp1enz8.js} +3 -3
- package/dist/chunks/{websearch-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-bky6c04a.js → ripgrep-6qvham2n.js} +8 -8
- package/dist/chunks/{websearch-1bc1vam0.js → ripgrep-6rvh9ysh.js} +23 -23
- package/dist/chunks/{websearch-hmhpp73g.js → ripgrep-6w9v7p8s.js} +10 -10
- package/dist/chunks/{websearch-71tstvm5.js → ripgrep-6xwwhj34.js} +11 -11
- package/dist/chunks/{websearch-z1y8m30d.js → ripgrep-708htapb.js} +24 -24
- package/dist/chunks/{websearch-74rrnwt7.js → ripgrep-74rrnwt7.js} +5 -5
- package/dist/chunks/{websearch-fxqygnfa.js → ripgrep-7ac170kv.js} +4 -4
- package/dist/chunks/{websearch-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-r1nzxzk3.js → ripgrep-7jfq7jze.js} +11 -11
- package/dist/chunks/{websearch-qm8d4hv1.js → ripgrep-7r449qz2.js} +6 -6
- package/dist/chunks/{websearch-j028xdjb.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{websearch-k7xyn1d6.js → ripgrep-7znvc7v4.js} +26 -26
- package/dist/chunks/{websearch-pxy915q0.js → ripgrep-84brhf68.js} +31 -31
- package/dist/chunks/{websearch-217w27pp.js → ripgrep-897mca6w.js} +6 -6
- package/dist/chunks/{websearch-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{websearch-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-w9fh9rp1.js → ripgrep-8qw190t8.js} +22 -22
- package/dist/chunks/{websearch-r3m778ec.js → ripgrep-90ar7f1h.js} +3 -3
- package/dist/chunks/{websearch-7k11q7g3.js → ripgrep-90w1v997.js} +23 -23
- package/dist/chunks/{websearch-tpq2hd4z.js → ripgrep-91ja9ad4.js} +1 -1
- package/dist/chunks/{websearch-jnfdvecq.js → ripgrep-9dzg75hq.js} +16 -16
- package/dist/chunks/{websearch-3bq31pq3.js → ripgrep-9hfq2hhx.js} +4 -4
- package/dist/chunks/{websearch-fj7pky7r.js → ripgrep-9ry97qyb.js} +10 -10
- package/dist/chunks/{websearch-ydejvqxg.js → ripgrep-9x813t64.js} +23 -23
- package/dist/chunks/{websearch-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-ed7s7zhg.js → ripgrep-aafh3mn1.js} +11 -11
- package/dist/chunks/{websearch-2f0scwtq.js → ripgrep-aayfhc5z.js} +28 -28
- package/dist/chunks/{websearch-s8610hey.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{websearch-mwdc51q5.js → ripgrep-apfz1ear.js} +29 -29
- package/dist/chunks/{websearch-35m7c38y.js → ripgrep-avd8ev9v.js} +4 -4
- package/dist/chunks/{websearch-1ahfdqym.js → ripgrep-ay0dkb9c.js} +6 -6
- package/dist/chunks/{websearch-qpb9pvhg.js → ripgrep-b0cq6psq.js} +38 -38
- package/dist/chunks/{websearch-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-5cp6651z.js → ripgrep-bacyadyn.js} +4 -4
- package/dist/chunks/{websearch-e6hmchc5.js → ripgrep-bgxcxs0p.js} +5 -5
- package/dist/chunks/{websearch-wyqjvnh3.js → ripgrep-bk2568rk.js} +5 -5
- package/dist/chunks/{websearch-jb663h59.js → ripgrep-bz15szd7.js} +11 -11
- package/dist/chunks/{websearch-a50trx6m.js → ripgrep-c4p347gs.js} +46 -46
- package/dist/chunks/{websearch-mfbsr9ym.js → ripgrep-ca1feqth.js} +27 -27
- package/dist/chunks/{websearch-qj8eh1ht.js → ripgrep-cavr175a.js} +4 -4
- package/dist/chunks/{websearch-hra6zdse.js → ripgrep-cdpcyq5v.js} +12 -12
- package/dist/chunks/{websearch-p4tf5mma.js → ripgrep-ce6rh1wk.js} +18 -18
- package/dist/chunks/{websearch-j9ykbwb6.js → ripgrep-cg0nv8cw.js} +306 -306
- package/dist/chunks/{websearch-jswts1sh.js → ripgrep-chxat7qs.js} +6 -6
- package/dist/chunks/{websearch-p44d8wdy.js → ripgrep-cr07tj7n.js} +5 -5
- package/dist/chunks/{websearch-5d607bsg.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{websearch-annhxna8.js → ripgrep-cy08etkj.js} +43 -43
- package/dist/chunks/{websearch-44ryhxgb.js → ripgrep-czb860pt.js} +33 -33
- package/dist/chunks/{websearch-ratrq7cm.js → ripgrep-d216944b.js} +7 -7
- package/dist/chunks/{websearch-p9199vqh.js → ripgrep-d4wy8qa8.js} +9 -9
- package/dist/chunks/{websearch-rxph5gcs.js → ripgrep-d66y38gy.js} +11 -11
- package/dist/chunks/{websearch-7sg42d4j.js → ripgrep-d7eh8bsr.js} +20 -20
- package/dist/chunks/{websearch-fjshgbpx.js → ripgrep-d8ds7rj5.js} +24 -24
- package/dist/chunks/{websearch-5w2mrjnt.js → ripgrep-dbwghmjw.js} +22 -22
- package/dist/chunks/{websearch-fy3543da.js → ripgrep-dfnxxx37.js} +3 -3
- package/dist/chunks/{websearch-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{websearch-drwq78ky.js → ripgrep-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-75kkhfb0.js → ripgrep-dw3w34jr.js} +5 -5
- package/dist/chunks/{websearch-ftt1jkvy.js → ripgrep-dw7b3qms.js} +2 -2
- package/dist/chunks/{websearch-vfz7kkm7.js → ripgrep-dwxna5g7.js} +29 -29
- package/dist/chunks/{websearch-x5rjwhsa.js → ripgrep-e5dg48hd.js} +22 -22
- package/dist/chunks/{websearch-qfc3vy0d.js → ripgrep-e9b9nd94.js} +4 -4
- package/dist/chunks/{websearch-ednp5hmx.js → ripgrep-ednp5hmx.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-vg2wyg4e.js → ripgrep-f40ag0j2.js} +40 -28
- package/dist/chunks/{websearch-y4emhg5s.js → ripgrep-f4kqtx6e.js} +48 -48
- package/dist/chunks/{websearch-fvm632bv.js → ripgrep-f4tkn7h6.js} +28 -28
- package/dist/chunks/{websearch-wyfky7qa.js → ripgrep-f90grvra.js} +2 -2
- package/dist/chunks/{websearch-4jc5c4h4.js → ripgrep-fch79rh9.js} +1 -1
- package/dist/chunks/{websearch-djepkcha.js → ripgrep-fd8q8m3t.js} +10 -10
- package/dist/chunks/{websearch-76wb4w8g.js → ripgrep-fjmxef0p.js} +11 -11
- package/dist/chunks/{websearch-2f04pwep.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{websearch-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-g6dazs8d.js → ripgrep-g2zrx1jt.js} +26 -26
- package/dist/chunks/{websearch-4k3vs3bj.js → ripgrep-g34jrx17.js} +11 -11
- package/dist/chunks/{websearch-r16jvtnf.js → ripgrep-g9dk0zyp.js} +18 -18
- package/dist/chunks/{websearch-gxz9ze6g.js → ripgrep-gbjx53sn.js} +35 -35
- package/dist/chunks/{websearch-0nde5ztd.js → ripgrep-gcavn3wx.js} +5 -5
- package/dist/chunks/{websearch-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-3aytj4vb.js → ripgrep-gq3f66va.js} +2 -2
- package/dist/chunks/{websearch-wf538q6w.js → ripgrep-gra0vtax.js} +8 -8
- package/dist/chunks/{websearch-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-amcw3xe5.js → ripgrep-gv8mykwk.js} +5 -5
- package/dist/chunks/{websearch-xyhjwr2g.js → ripgrep-gvbhv7ac.js} +27 -27
- package/dist/chunks/{websearch-bpennfjx.js → ripgrep-gxcpp7ch.js} +18 -18
- package/dist/chunks/{websearch-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{websearch-b6ba80dv.js → ripgrep-h3100r6a.js} +16 -16
- package/dist/chunks/{websearch-1b53cfnj.js → ripgrep-h40dny12.js} +30 -30
- package/dist/chunks/{websearch-nzyhnfxz.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{websearch-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-j9evh2x0.js → ripgrep-hbgnhwv0.js} +20 -20
- package/dist/chunks/{websearch-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-xgzkh95h.js → ripgrep-hhg1hgsd.js} +16 -16
- package/dist/chunks/{websearch-g8wxz3bw.js → ripgrep-hzy9092j.js} +37 -37
- package/dist/chunks/{websearch-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-hwjyn0yt.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{websearch-nesqjncw.js → ripgrep-j6mxb410.js} +13 -13
- package/dist/chunks/{websearch-ve4pfa0n.js → ripgrep-j83byb14.js} +4 -4
- package/dist/chunks/{websearch-w8mfkrd2.js → ripgrep-j8zhn7s7.js} +20 -20
- package/dist/chunks/{websearch-hbmnenma.js → ripgrep-jdca20rw.js} +169 -169
- package/dist/chunks/{websearch-vqfzq50h.js → ripgrep-jkp0d30b.js} +6 -6
- package/dist/chunks/{websearch-zfqkckys.js → ripgrep-jrf2f6cf.js} +25 -25
- package/dist/chunks/{websearch-jppvw2tx.js → ripgrep-k3gnzxs0.js} +5 -5
- package/dist/chunks/{websearch-t4rghkh8.js → ripgrep-k55gjfae.js} +5 -5
- package/dist/chunks/{websearch-7mncpb7s.js → ripgrep-kh0f1jb7.js} +9 -9
- package/dist/chunks/{websearch-fkjmw100.js → ripgrep-knb7evpn.js} +6 -6
- package/dist/chunks/{websearch-5qqj1w64.js → ripgrep-kp7tnnwc.js} +26 -26
- package/dist/chunks/{websearch-atm3m4cm.js → ripgrep-kpvbwx41.js} +26 -26
- package/dist/chunks/{websearch-3prwhemk.js → ripgrep-kwkytdc2.js} +43 -43
- package/dist/chunks/{websearch-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-4jv7e9dq.js → ripgrep-marnn1hp.js} +6 -6
- package/dist/chunks/{websearch-pe48638c.js → ripgrep-mdvcq96a.js} +1 -1
- package/dist/chunks/{websearch-w1k39n5e.js → ripgrep-mfhfdr54.js} +4 -4
- package/dist/chunks/{websearch-2kkb54wy.js → ripgrep-msvbmbcr.js} +4 -4
- package/dist/chunks/{websearch-ckdbnr1m.js → ripgrep-mzj135eg.js} +13 -13
- package/dist/chunks/{websearch-6v90sdn8.js → ripgrep-n3weg7ag.js} +33 -33
- package/dist/chunks/{websearch-1b82cgey.js → ripgrep-n5fpbwgd.js} +12 -12
- package/dist/chunks/{websearch-34ngepqf.js → ripgrep-n6vwdwpw.js} +88 -88
- package/dist/chunks/{websearch-1nsem4zt.js → ripgrep-n9j23xfd.js} +3 -3
- package/dist/chunks/{websearch-vgmr4sc2.js → ripgrep-npeh470p.js} +15 -15
- package/dist/chunks/{websearch-67b1spex.js → ripgrep-nx0jwge5.js} +4 -4
- package/dist/chunks/{websearch-nzks3jc8.js → ripgrep-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-p2mak7at.js → ripgrep-p0n61q8f.js} +3 -3
- package/dist/chunks/{websearch-fdyxrhgm.js → ripgrep-p2gtnhak.js} +20 -20
- package/dist/chunks/{websearch-j3vbzy50.js → ripgrep-p3n45r32.js} +4 -4
- package/dist/chunks/{websearch-23bndme8.js → ripgrep-p5d19shb.js} +13 -13
- package/dist/chunks/{websearch-savs1ssj.js → ripgrep-pb5p9z4r.js} +29 -29
- package/dist/chunks/{websearch-kbyydvt3.js → ripgrep-pc67qyx0.js} +5 -5
- package/dist/chunks/{websearch-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-fyk0ct8p.js → ripgrep-pnqj10zg.js} +9 -9
- package/dist/chunks/{websearch-1qr8tbft.js → ripgrep-pt7t6ddq.js} +15 -15
- package/dist/chunks/{websearch-9mspnbyh.js → ripgrep-q5kj48pe.js} +47 -47
- package/dist/chunks/{websearch-h0kkfn6x.js → ripgrep-qfypqa38.js} +3 -3
- package/dist/chunks/{websearch-v27dtnaa.js → ripgrep-qgky3r4x.js} +15 -15
- package/dist/chunks/{websearch-j0xwbvkd.js → ripgrep-qkzhpde6.js} +11 -11
- package/dist/chunks/{websearch-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-4rdyqzv9.js → ripgrep-r22bxp1s.js} +20 -20
- package/dist/chunks/ripgrep-rbmavd1e.js +252 -0
- package/dist/chunks/{websearch-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-fe7nnn6e.js → ripgrep-rgvvcc97.js} +7 -7
- package/dist/chunks/{websearch-028j0zm0.js → ripgrep-rq1gnye7.js} +4 -4
- package/dist/chunks/{websearch-8rs26fy9.js → ripgrep-rrawd10r.js} +10 -10
- package/dist/chunks/{websearch-11fbehs9.js → ripgrep-s0h6hwms.js} +15 -15
- package/dist/chunks/{websearch-wmc81avc.js → ripgrep-s0jg4zzy.js} +13 -13
- package/dist/chunks/{websearch-f2jpp01n.js → ripgrep-s0wfqjsp.js} +8 -8
- package/dist/chunks/{websearch-nnj5g5ts.js → ripgrep-s3vkv9ay.js} +4 -4
- package/dist/chunks/{websearch-02nrjc1r.js → ripgrep-s8d7rejh.js} +8 -8
- package/dist/chunks/{websearch-d4kjnek0.js → ripgrep-s8e4jhvw.js} +44 -44
- package/dist/chunks/{websearch-4qxmcfde.js → ripgrep-she15rnf.js} +11 -11
- package/dist/chunks/{websearch-vb47znx6.js → ripgrep-svx8wpky.js} +17 -17
- package/dist/chunks/{websearch-jawc5a8y.js → ripgrep-t5pprbf2.js} +12 -12
- package/dist/chunks/{websearch-95srxab2.js → ripgrep-t7b12atk.js} +8 -8
- package/dist/chunks/{websearch-hn57h045.js → ripgrep-t7n9q6bq.js} +4 -4
- package/dist/chunks/{websearch-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-tvx0j432.js → ripgrep-tgy6hrs3.js} +8 -8
- package/dist/chunks/{websearch-wz6c4wjy.js → ripgrep-tq3zv7cf.js} +22 -22
- package/dist/chunks/{websearch-84vhy5z7.js → ripgrep-ts3pqwha.js} +5 -5
- package/dist/chunks/{websearch-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-y53nxhnd.js → ripgrep-txgxjvay.js} +11 -11
- package/dist/chunks/{websearch-1t6x3rcf.js → ripgrep-v5tgfvex.js} +17 -17
- package/dist/chunks/{websearch-0e4y66cd.js → ripgrep-v5xjxbe4.js} +24 -24
- package/dist/chunks/{websearch-7p797550.js → ripgrep-v8g8r3p5.js} +6 -6
- package/dist/chunks/{websearch-pjz7yeqt.js → ripgrep-v8ve3wgc.js} +5 -5
- package/dist/chunks/{websearch-n9n6b8bc.js → ripgrep-v8vq7r7f.js} +11 -11
- package/dist/chunks/{websearch-grmms9d3.js → ripgrep-v96nt2qe.js} +6 -6
- package/dist/chunks/{websearch-tnaxe9ds.js → ripgrep-vb00q1v9.js} +8 -8
- package/dist/chunks/{websearch-b2pmyqha.js → ripgrep-vbb3gddg.js} +70 -70
- package/dist/chunks/{websearch-704r4sk8.js → ripgrep-vc564wg7.js} +14 -14
- package/dist/chunks/{websearch-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-8h6enw4p.js → ripgrep-vy1yq70x.js} +6 -6
- package/dist/chunks/{websearch-fkv8g0v1.js → ripgrep-vykw7zqz.js} +25 -25
- package/dist/chunks/{websearch-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-1pxnjy9w.js → ripgrep-vzsadx9p.js} +26 -26
- package/dist/chunks/{websearch-v8fm89qw.js → ripgrep-w06a0nwk.js} +17 -17
- package/dist/chunks/{websearch-ntzn41cr.js → ripgrep-w0v82d0j.js} +25 -25
- package/dist/chunks/{websearch-34f9jsxp.js → ripgrep-w1j7ev2x.js} +22 -22
- package/dist/chunks/{websearch-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-s6dasder.js → ripgrep-w5ngm8t2.js} +52 -52
- package/dist/chunks/{websearch-jvvc3tfq.js → ripgrep-w9vf9qqj.js} +9 -9
- package/dist/chunks/{websearch-fz2zwq67.js → ripgrep-waddknf4.js} +11 -11
- package/dist/chunks/{websearch-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-cgjkw3zm.js → ripgrep-wg0w5w98.js} +11 -11
- package/dist/chunks/{websearch-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-4e8vs6eh.js → ripgrep-x353b1jt.js} +8 -8
- package/dist/chunks/{websearch-kg8nd7j6.js → ripgrep-x3zbw1yr.js} +18 -18
- package/dist/chunks/{websearch-s153yc2g.js → ripgrep-x56f7h0m.js} +25 -25
- package/dist/chunks/{websearch-7jf4j9cq.js → ripgrep-xb3sekxh.js} +7 -7
- package/dist/chunks/{websearch-k6my4ra7.js → ripgrep-xf0sbpps.js} +11 -11
- package/dist/chunks/{websearch-84v7aq1v.js → ripgrep-xh3133gz.js} +18 -18
- package/dist/chunks/{websearch-b60qvk9z.js → ripgrep-xpqxqtfq.js} +21 -21
- package/dist/chunks/{websearch-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-xft5dqkh.js → ripgrep-y4ah2e8h.js} +15 -15
- package/dist/chunks/{websearch-tn7wjcpc.js → ripgrep-y4fpdsh6.js} +44 -44
- package/dist/chunks/{websearch-t4dnb9f7.js → ripgrep-y74g1x1t.js} +16 -16
- package/dist/chunks/{websearch-vhw1ncwr.js → ripgrep-yb42q6p1.js} +17 -17
- package/dist/chunks/{websearch-a0c6s8q1.js → ripgrep-ykcw79z8.js} +8 -8
- package/dist/chunks/{websearch-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{websearch-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-j3s2z371.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{websearch-j5r5s5y1.js → ripgrep-ywrccad0.js} +17 -17
- package/dist/chunks/{websearch-00dr1njp.js → ripgrep-yzr1kymw.js} +26 -26
- package/dist/chunks/{websearch-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-khybfek0.js → ripgrep-z38k3xwh.js} +26 -26
- package/dist/chunks/{websearch-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-qn369vj2.js → ripgrep-z8pq1ztv.js} +16 -16
- package/dist/chunks/{websearch-e2e54bcg.js → ripgrep-zdrqx1m8.js} +9 -9
- package/dist/chunks/{websearch-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-hyrpm5nn.js → ripgrep-zka0xqjx.js} +10 -10
- package/dist/chunks/{websearch-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-2df97718.js → ripgrep-ztevdd3z.js} +25 -25
- package/dist/chunks/{websearch-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +109 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- 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 +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +118 -118
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +2 -2
- 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 +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/filesystem.d.ts +10 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/websearch-kckcqb9a.js +0 -252
- package/dist/chunks/websearch-q509s3k3.js +0 -18
- package/dist/chunks/websearch-qapv375x.js +0 -4
- /package/dist/chunks/{websearch-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3ey620wm.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-hbgnhwv0.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError3,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
22
|
Service: () => Service18,
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
26
|
node: () => node21
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
@@ -35,9 +35,9 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service18, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
260
|
service: Service18,
|
|
261
|
-
layer: options === undefined ?
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var node21 =
|
|
264
|
+
var node21 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError3, Service18, layer8, configured2, node21, exports_persistent_pty, Handoff2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3ey620wm.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service79,
|
|
12
12
|
node83
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-f90grvra.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service16,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service16 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service79;
|
|
53
53
|
const bus = yield* Service82;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service16.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node19 = makeLocationNode({
|
|
168
|
+
service: Service16,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node83, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service16, node19, exports_vcs };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-0y46xc02.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-3ey620wm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service37,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node40,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service37 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service37.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured6(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service37, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node40 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service37, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured6, node40, exports_select };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-74rrnwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-f90grvra.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make20
|
|
16
|
+
} from "./ripgrep-v96nt2qe.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node71
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service67 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make20;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service67.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node71 = makeLocationNode({
|
|
61
|
+
service: Service67,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service67, node71, exports_strategies };
|