@opencode/core 0.0.0-dev-20573 → 0.0.0-dev-20577
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 +83 -83
- 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/{managed-policy-6h1ernme.js → command-03xyy9gs.js} +11 -11
- package/dist/chunks/{managed-policy-x87fjewg.js → command-04jjrec1.js} +15 -15
- package/dist/chunks/{managed-policy-6sef0hhh.js → command-090p1w3a.js} +5 -5
- package/dist/chunks/{managed-policy-8nxh848s.js → command-09e69a7b.js} +18 -18
- package/dist/chunks/{managed-policy-tawa04ge.js → command-0e74cksd.js} +10 -10
- package/dist/chunks/{managed-policy-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-6bt18bw3.js → command-0sqmrpn2.js} +32 -32
- package/dist/chunks/{managed-policy-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-ryv7kf54.js → command-0vsnxwjm.js} +3 -3
- package/dist/chunks/{managed-policy-xpy2c5sa.js → command-0xf97k36.js} +11 -11
- package/dist/chunks/{managed-policy-0w1gqsy8.js → command-0y86tmwb.js} +6 -6
- package/dist/chunks/{managed-policy-y0ckc452.js → command-117ga8q0.js} +27 -27
- package/dist/chunks/{managed-policy-ypg8t1cz.js → command-124e8td1.js} +13 -13
- package/dist/chunks/command-13dwg0c6.js +253 -0
- package/dist/chunks/{managed-policy-esn5ytq2.js → command-14tdwscn.js} +17 -17
- package/dist/chunks/{managed-policy-aj7dfagr.js → command-15nnh4s6.js} +3 -3
- package/dist/chunks/{managed-policy-vwvztrq4.js → command-18htcbrq.js} +9 -9
- package/dist/chunks/command-1d727dm9.js +507 -0
- package/dist/chunks/{managed-policy-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-1dvck2a7.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{managed-policy-wex1rs68.js → command-1n8tchc4.js} +19 -19
- package/dist/chunks/command-1x11rq2a.js +18 -0
- package/dist/chunks/{managed-policy-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{managed-policy-7knbcmrm.js → command-1ytwep67.js} +5 -5
- package/dist/chunks/{managed-policy-s3y29egc.js → command-1zc1gz4g.js} +12 -12
- package/dist/chunks/{managed-policy-ja0sgbvz.js → command-22qzwdfx.js} +11 -11
- package/dist/chunks/{managed-policy-25y70375.js → command-261teatt.js} +5 -5
- package/dist/chunks/{managed-policy-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-3h1mrgx9.js → command-2avtt150.js} +20 -20
- package/dist/chunks/{managed-policy-0zc2mhc2.js → command-2g0f3sn5.js} +24 -24
- package/dist/chunks/{managed-policy-vy06qy77.js → command-2rx8305r.js} +21 -21
- package/dist/chunks/{managed-policy-8ypw52cc.js → command-2y035twn.js} +10 -10
- package/dist/chunks/{managed-policy-vxp78acx.js → command-2zqhm02j.js} +9 -9
- package/dist/chunks/{managed-policy-0cv4znyc.js → command-359sf8pg.js} +26 -26
- package/dist/chunks/{managed-policy-4t8tabd3.js → command-364yjtd9.js} +11 -11
- package/dist/chunks/{managed-policy-511tn27r.js → command-39yjv8hn.js} +51 -51
- package/dist/chunks/{managed-policy-f8cwpv8g.js → command-3ac3enw2.js} +24 -24
- package/dist/chunks/{managed-policy-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-e84pketw.js → command-3haxx6pm.js} +23 -23
- package/dist/chunks/{managed-policy-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-c72jpxp5.js → command-43krc4bk.js} +9 -9
- package/dist/chunks/{managed-policy-5evqd07b.js → command-43ya1ftk.js} +37 -37
- package/dist/chunks/{managed-policy-dkkqkk8e.js → command-44wsf4p6.js} +8 -8
- package/dist/chunks/{managed-policy-3dktm290.js → command-48cj2z6f.js} +22 -22
- package/dist/chunks/{managed-policy-atvzh22c.js → command-4ampwn7w.js} +18 -18
- package/dist/chunks/{managed-policy-mjx80hf2.js → command-4gm9b3mc.js} +90 -90
- package/dist/chunks/{managed-policy-2nfjsejh.js → command-4m4650rm.js} +15 -15
- package/dist/chunks/{managed-policy-2ccvkpx1.js → command-4ts7tf6z.js} +2 -2
- package/dist/chunks/{managed-policy-h6310vsd.js → command-4v7ngy20.js} +4 -4
- package/dist/chunks/{managed-policy-j8ayz9nh.js → command-4yhhdjvm.js} +16 -16
- package/dist/chunks/{managed-policy-3mq0jxky.js → command-51rych25.js} +69 -69
- package/dist/chunks/{managed-policy-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{managed-policy-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-drnf6xwf.js → command-5pyjqqve.js} +2 -2
- package/dist/chunks/{managed-policy-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-fer3tpfm.js → command-5w6ne2rj.js} +11 -11
- package/dist/chunks/{managed-policy-p37cw4rj.js → command-5yzzbxa7.js} +8 -8
- package/dist/chunks/{managed-policy-x8qskf82.js → command-6238m7q1.js} +3 -3
- package/dist/chunks/{managed-policy-djxtchgp.js → command-62yts832.js} +29 -29
- package/dist/chunks/{managed-policy-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-129ea1c5.js → command-66c3eymz.js} +5 -5
- package/dist/chunks/{managed-policy-h04cqsq0.js → command-69j91c1q.js} +8 -8
- package/dist/chunks/{managed-policy-5xb9sx95.js → command-6etn2fpm.js} +18 -18
- package/dist/chunks/{managed-policy-4t68vy7n.js → command-6gwd6jt4.js} +5 -5
- package/dist/chunks/{managed-policy-7a16p2b4.js → command-6kz41x2h.js} +8 -8
- package/dist/chunks/{managed-policy-cbkntbps.js → command-6q6vmr50.js} +3 -3
- package/dist/chunks/{managed-policy-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-71az546q.js → command-71az546q.js} +2 -2
- package/dist/chunks/{managed-policy-zsg1x2zr.js → command-759ca8qw.js} +11 -11
- package/dist/chunks/{managed-policy-qmqgtz8f.js → command-79qaa2kf.js} +9 -9
- package/dist/chunks/{managed-policy-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-3ejrkq1r.js → command-7pjv18ns.js} +10 -10
- package/dist/chunks/{managed-policy-vzza7dkm.js → command-7rbxqkgq.js} +29 -29
- package/dist/chunks/{managed-policy-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-2pmt9451.js → command-873y03zv.js} +17 -17
- package/dist/chunks/{managed-policy-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-ntxzz37g.js → command-8fgecypx.js} +9 -9
- package/dist/chunks/{managed-policy-339zj8hc.js → command-8htcd2rv.js} +24 -24
- package/dist/chunks/{managed-policy-b27vhd2z.js → command-8rqycdgd.js} +7 -7
- package/dist/chunks/{managed-policy-ryhmzq0e.js → command-930nf9me.js} +21 -21
- package/dist/chunks/{managed-policy-cdm0dq9n.js → command-93ygb5af.js} +6 -6
- package/dist/chunks/{managed-policy-psf6hctd.js → command-9898pk67.js} +20 -20
- package/dist/chunks/{managed-policy-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{managed-policy-6faxztjw.js → command-9fn597ry.js} +11 -11
- package/dist/chunks/{managed-policy-r27td32p.js → command-9kr67f7m.js} +33 -33
- package/dist/chunks/{managed-policy-vxefasdb.js → command-9p61zhgr.js} +11 -11
- package/dist/chunks/{managed-policy-3rzf3ge5.js → command-9xs2qmrx.js} +15 -15
- package/dist/chunks/{managed-policy-atpyhfjn.js → command-a03229d4.js} +13 -13
- package/dist/chunks/{managed-policy-mhkvc446.js → command-a1gpj94z.js} +3 -3
- package/dist/chunks/{managed-policy-9tkeerev.js → command-a2ccr785.js} +16 -16
- package/dist/chunks/{managed-policy-0t08qwy3.js → command-a2w70vx4.js} +11 -11
- package/dist/chunks/{managed-policy-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-ydce7fv0.js → command-aaz61dev.js} +16 -16
- package/dist/chunks/{managed-policy-x661k3y3.js → command-addxnjmp.js} +4 -4
- package/dist/chunks/{managed-policy-ca7w653e.js → command-afdssyjb.js} +4 -4
- package/dist/chunks/{managed-policy-ayb7n7km.js → command-agq9zd11.js} +15 -15
- package/dist/chunks/{managed-policy-53yba217.js → command-b1enpsaa.js} +18 -18
- package/dist/chunks/{managed-policy-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-m5n4tx0e.js → command-b9xnfexb.js} +1 -1
- package/dist/chunks/command-bb7jf4d3.js +26 -0
- package/dist/chunks/{managed-policy-dddb8f4m.js → command-bgtt2kw4.js} +24 -24
- package/dist/chunks/{managed-policy-q6nwrqf2.js → command-bkwxdpdb.js} +11 -11
- package/dist/chunks/{managed-policy-ry082wg0.js → command-bsprd9wx.js} +9 -9
- package/dist/chunks/{managed-policy-hs1x7rht.js → command-c2qavkps.js} +12 -12
- package/dist/chunks/{managed-policy-ef4wyqj0.js → command-cb72tr97.js} +24 -24
- package/dist/chunks/{managed-policy-b1a0f7dt.js → command-cb8p8a9z.js} +9 -9
- package/dist/chunks/{managed-policy-ny1k4mkg.js → command-cg85h34c.js} +14 -9
- package/dist/chunks/{managed-policy-8cy1jxbx.js → command-ck8npcm5.js} +11 -11
- package/dist/chunks/{managed-policy-smdvcsfx.js → command-cmkc9sfw.js} +33 -33
- package/dist/chunks/{managed-policy-p46h068t.js → command-denjr0qg.js} +3 -3
- package/dist/chunks/{managed-policy-nnaaypem.js → command-dfajfnkg.js} +32 -32
- package/dist/chunks/{managed-policy-51b900pe.js → command-dm4vbrvx.js} +2 -2
- package/dist/chunks/{managed-policy-r3gavybk.js → command-dm5ssyfm.js} +37 -37
- package/dist/chunks/{managed-policy-dpkg50ah.js → command-dpkg50ah.js} +1 -1
- package/dist/chunks/{managed-policy-57myy5jh.js → command-dssbfrwz.js} +5 -5
- package/dist/chunks/{managed-policy-9285ze7h.js → command-e3ecsdy8.js} +17 -17
- package/dist/chunks/{managed-policy-dzbnqpsq.js → command-e55nq1dx.js} +16 -16
- package/dist/chunks/{managed-policy-z4gw67s9.js → command-edajgpnh.js} +16 -16
- package/dist/chunks/{managed-policy-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-2ycyqxta.js → command-ehq1cete.js} +3 -3
- package/dist/chunks/{managed-policy-gh5z95q3.js → command-en9mxp96.js} +9 -9
- package/dist/chunks/{managed-policy-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-x2dbcb4h.js → command-evpm7vcg.js} +31 -31
- package/dist/chunks/{managed-policy-w8hsdjbm.js → command-f18tyt2v.js} +17 -17
- package/dist/chunks/{managed-policy-agr05fc9.js → command-f2hjv5fy.js} +5 -5
- package/dist/chunks/{managed-policy-1wzqj0s9.js → command-f3e4f3ew.js} +15 -15
- package/dist/chunks/{managed-policy-4n607a2z.js → command-f62qkzqr.js} +5 -5
- package/dist/chunks/{managed-policy-7cfvasrj.js → command-fkscjsp5.js} +11 -11
- package/dist/chunks/{managed-policy-dacqb9yg.js → command-fp6k91eh.js} +31 -31
- package/dist/chunks/{managed-policy-v0es1rhs.js → command-fpecnkgp.js} +9 -9
- package/dist/chunks/{managed-policy-3mqxf2xp.js → command-g53c9fq7.js} +5 -5
- package/dist/chunks/{managed-policy-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-0v8xwd3z.js → command-gh22p3be.js} +27 -27
- package/dist/chunks/{managed-policy-y9jxj3xf.js → command-gh3sjhhn.js} +14 -14
- package/dist/chunks/{managed-policy-qw80rk8q.js → command-gpygzsz4.js} +15 -15
- package/dist/chunks/{managed-policy-m648ver0.js → command-gq98prpa.js} +13 -13
- package/dist/chunks/{managed-policy-c27esgm9.js → command-gs3s1a1g.js} +8 -8
- package/dist/chunks/{managed-policy-h2b79v29.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{managed-policy-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-39x1ek8q.js → command-h9hcchbf.js} +85 -85
- package/dist/chunks/{managed-policy-mt2x9463.js → command-h9rj7vgp.js} +11 -11
- package/dist/chunks/{managed-policy-6v0ne2a7.js → command-hbj68pgm.js} +36 -36
- package/dist/chunks/{managed-policy-hxa2e638.js → command-hbqne9jm.js} +48 -48
- package/dist/chunks/{managed-policy-w4raeb9k.js → command-hdy9dvcx.js} +4 -4
- package/dist/chunks/{managed-policy-bn8byrsw.js → command-hndmfkfz.js} +10 -10
- package/dist/chunks/{managed-policy-1dnkanva.js → command-hphxefgw.js} +10 -10
- package/dist/chunks/{managed-policy-a3s4m96j.js → command-hwc5fhjs.js} +35 -35
- package/dist/chunks/{managed-policy-4ysfdygz.js → command-j0gyfj28.js} +45 -45
- package/dist/chunks/{managed-policy-q6yya7b3.js → command-j34dxvpb.js} +5 -5
- package/dist/chunks/{managed-policy-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-2a190g8q.js → command-j6zg015w.js} +42 -42
- package/dist/chunks/{managed-policy-srrtgwss.js → command-j74e336s.js} +13 -13
- package/dist/chunks/{managed-policy-q7sc1zt6.js → command-jaa0b0hs.js} +17 -17
- package/dist/chunks/{managed-policy-53smy2sa.js → command-jb4r1kxp.js} +16 -16
- package/dist/chunks/{managed-policy-6yvhnn4s.js → command-jfvphnye.js} +26 -26
- package/dist/chunks/{managed-policy-c0g4z4r6.js → command-jkwx8shz.js} +8 -8
- package/dist/chunks/{managed-policy-s1twwq6b.js → command-jsf24svj.js} +40 -40
- package/dist/chunks/{managed-policy-aag4dp4v.js → command-jyrncrt6.js} +20 -20
- package/dist/chunks/{managed-policy-yts3es8x.js → command-k1qrnqst.js} +8 -8
- package/dist/chunks/{managed-policy-hd34jy2k.js → command-k2srk8cp.js} +3 -3
- package/dist/chunks/{managed-policy-veaq2k26.js → command-k5vew2r0.js} +20 -20
- package/dist/chunks/{managed-policy-4wwqnvbr.js → command-kb6vbnxp.js} +4 -4
- package/dist/chunks/{managed-policy-qp68tzqz.js → command-kenkf5s7.js} +57 -57
- package/dist/chunks/{managed-policy-4vzctj39.js → command-kfmjg78y.js} +6 -6
- package/dist/chunks/{managed-policy-44zeqmfs.js → command-kp93eabn.js} +15 -15
- package/dist/chunks/{managed-policy-yp5sqj81.js → command-krz37b5z.js} +54 -54
- package/dist/chunks/{managed-policy-0qhbbj6s.js → command-kt2w57dr.js} +44 -44
- package/dist/chunks/{managed-policy-h19p288y.js → command-kz5zsevx.js} +2 -2
- package/dist/chunks/{managed-policy-8hqjmg8z.js → command-m0kkpct9.js} +5 -5
- package/dist/chunks/{managed-policy-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-e0k1gts1.js → command-m9bwhd6g.js} +24 -24
- package/dist/chunks/{managed-policy-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-mesbzd6m.js → command-mac87736.js} +6 -6
- package/dist/chunks/{managed-policy-hra4v9c4.js → command-max5zner.js} +29 -29
- package/dist/chunks/{managed-policy-8ypdmw1d.js → command-mj9cksj0.js} +22 -22
- package/dist/chunks/{managed-policy-2pnhn36q.js → command-mjymc32g.js} +21 -21
- package/dist/chunks/{managed-policy-s2skr6r0.js → command-mq1114ms.js} +4 -4
- package/dist/chunks/{managed-policy-epqykn4s.js → command-mydvvph4.js} +26 -26
- package/dist/chunks/{managed-policy-5amwhyk8.js → command-n0pywpq4.js} +6 -6
- package/dist/chunks/{managed-policy-z95wdz15.js → command-n71h44cm.js} +17 -17
- package/dist/chunks/{managed-policy-8whseyrk.js → command-ncnm8wen.js} +1 -1
- package/dist/chunks/{managed-policy-p7dv4t4h.js → command-nf8njrqz.js} +13 -13
- package/dist/chunks/{managed-policy-p04qdsev.js → command-nz49q0p3.js} +26 -26
- package/dist/chunks/{managed-policy-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-py3kkmfq.js → command-py3kkmfq.js} +2 -2
- package/dist/chunks/{managed-policy-4nqf33ty.js → command-pz4bzxx2.js} +24 -24
- package/dist/chunks/{managed-policy-0j77ygfz.js → command-q0xm7vwc.js} +6 -6
- package/dist/chunks/{managed-policy-hxv6k9fk.js → command-q1dr63v1.js} +11 -11
- package/dist/chunks/{managed-policy-9t2hev6v.js → command-q36shhmj.js} +16 -16
- package/dist/chunks/{managed-policy-3pv9q41e.js → command-q43fwr5x.js} +13 -13
- package/dist/chunks/{managed-policy-t0pyhqcw.js → command-q8ejgrh7.js} +11 -11
- package/dist/chunks/{managed-policy-n828b74y.js → command-qfaf6res.js} +20 -20
- package/dist/chunks/{managed-policy-mm29tsj0.js → command-qgma0hvn.js} +10 -10
- package/dist/chunks/{managed-policy-2k8khapm.js → command-qgn6gcr1.js} +5 -5
- package/dist/chunks/{managed-policy-e97nvsvy.js → command-qh49khd6.js} +6 -6
- package/dist/chunks/{managed-policy-sjccd0hs.js → command-qkj8hkyk.js} +46 -46
- package/dist/chunks/{managed-policy-aq9ba85s.js → command-qkr42znk.js} +9 -9
- package/dist/chunks/{managed-policy-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{managed-policy-vkt5fbj2.js → command-qp3v07n2.js} +6 -6
- package/dist/chunks/{managed-policy-1b7h3mkk.js → command-qqdfvssg.js} +15 -15
- package/dist/chunks/{managed-policy-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-qxjc9qry.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{managed-policy-0xwy5psd.js → command-r0wedrkd.js} +18 -18
- package/dist/chunks/{managed-policy-jr4wt5sk.js → command-r1g3ttfx.js} +30 -30
- package/dist/chunks/{managed-policy-yp2x3t23.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{managed-policy-z3vw1wky.js → command-r8ys1pjh.js} +4 -4
- package/dist/chunks/{managed-policy-11dqjexa.js → command-r9w3djhf.js} +9 -9
- package/dist/chunks/{managed-policy-hdqdgbqm.js → command-rawzh9f5.js} +28 -28
- package/dist/chunks/{managed-policy-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-dvzj1xmf.js → command-rjq8wmvv.js} +9 -9
- package/dist/chunks/{managed-policy-npjvna1z.js → command-rkrj05tv.js} +35 -35
- package/dist/chunks/{managed-policy-mppj3p12.js → command-rkrkq154.js} +9 -9
- package/dist/chunks/{managed-policy-b68cts8r.js → command-rscwbd1b.js} +18 -18
- package/dist/chunks/{managed-policy-kbbj3a53.js → command-rt384jmm.js} +19 -19
- package/dist/chunks/{managed-policy-nsyzjj6a.js → command-ry3ffff2.js} +10 -10
- package/dist/chunks/{managed-policy-dxzdnpxn.js → command-s1jqa0rv.js} +30 -30
- package/dist/chunks/{managed-policy-17gtpqw6.js → command-s3qw8jyq.js} +14 -14
- package/dist/chunks/{managed-policy-k35j7qts.js → command-s4tt0pef.js} +5 -5
- package/dist/chunks/{managed-policy-t093606p.js → command-s6grk335.js} +34 -34
- package/dist/chunks/{managed-policy-0gdmqesm.js → command-s8d7rejh.js} +4 -4
- package/dist/chunks/{managed-policy-mhq80y5h.js → command-s9de47m6.js} +12 -12
- package/dist/chunks/{managed-policy-n458ncje.js → command-s9spdbfy.js} +32 -32
- package/dist/chunks/{managed-policy-qygbw77c.js → command-scgrse2b.js} +5 -5
- package/dist/chunks/{managed-policy-g886xbse.js → command-sh0fsxwf.js} +11 -11
- package/dist/chunks/{managed-policy-zfq14k8e.js → command-srkatn7d.js} +24 -24
- package/dist/chunks/{managed-policy-tsty0ewe.js → command-swwzfrs7.js} +3 -3
- package/dist/chunks/{managed-policy-hn0gh7rr.js → command-t18afxp3.js} +12 -12
- package/dist/chunks/{managed-policy-0d31m9dq.js → command-t2pgk753.js} +6 -6
- package/dist/chunks/{managed-policy-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-xg99tpzv.js → command-tet8e841.js} +4 -4
- package/dist/chunks/{managed-policy-1jndjv4e.js → command-tfrvwkgh.js} +10 -10
- package/dist/chunks/{managed-policy-0rv4tyzv.js → command-tgdgvz5m.js} +12 -12
- package/dist/chunks/{managed-policy-gwaz485a.js → command-tj3amwcq.js} +15 -15
- package/dist/chunks/{managed-policy-mrz2e164.js → command-tsjzc549.js} +24 -24
- package/dist/chunks/{managed-policy-k4sk2925.js → command-v04mbsyc.js} +7 -7
- package/dist/chunks/{managed-policy-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-277eer69.js → command-vkfdnwpx.js} +4 -4
- package/dist/chunks/{managed-policy-1r9jwgz4.js → command-vmmvzryc.js} +11 -11
- package/dist/chunks/{managed-policy-w3nq1sqw.js → command-vps92m75.js} +9 -9
- package/dist/chunks/{managed-policy-1by2d8c2.js → command-vqjs8hv7.js} +27 -27
- package/dist/chunks/{managed-policy-my4zabxr.js → command-vx3jgdek.js} +3 -3
- package/dist/chunks/{managed-policy-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-efwz9154.js → command-w7620n11.js} +24 -24
- package/dist/chunks/{managed-policy-3qgxwrwk.js → command-w9czef0s.js} +7 -7
- package/dist/chunks/{managed-policy-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-dryr0n1e.js → command-wmh05qp9.js} +39 -39
- package/dist/chunks/{managed-policy-78q1j9vk.js → command-wq97ata3.js} +28 -28
- package/dist/chunks/{managed-policy-mzt1zc7x.js → command-xbvc458q.js} +8 -8
- package/dist/chunks/{managed-policy-g40r2f4p.js → command-xcng2btc.js} +5 -5
- package/dist/chunks/{managed-policy-v27atcgm.js → command-xeqfr83e.js} +23 -23
- package/dist/chunks/{managed-policy-xfkkasph.js → command-xfkkasph.js} +1 -1
- package/dist/chunks/{managed-policy-1jeevf2h.js → command-xhvk1hh0.js} +4 -4
- package/dist/chunks/{managed-policy-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{managed-policy-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-batcdr2g.js → command-y6k2xs97.js} +1 -1
- package/dist/chunks/{managed-policy-axxv0vp4.js → command-y6vx5mph.js} +43 -43
- package/dist/chunks/{managed-policy-z6c3x22d.js → command-ygdna4kr.js} +5 -5
- package/dist/chunks/{managed-policy-mqg8d1gn.js → command-yp6aabyp.js} +24 -24
- package/dist/chunks/{managed-policy-sw56qyd1.js → command-yr7n59b3.js} +11 -11
- package/dist/chunks/{managed-policy-d2gm2qbm.js → command-ys3m2q03.js} +47 -47
- package/dist/chunks/{managed-policy-rhgqra20.js → command-yvd9mjph.js} +28 -28
- package/dist/chunks/{managed-policy-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-9ydax63h.js → command-zeh40njd.js} +181 -181
- package/dist/chunks/{managed-policy-wqxhcm17.js → command-zfs8ae4p.js} +4 -4
- package/dist/chunks/{managed-policy-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-8zp79j7j.js → command-zsr4wwhv.js} +4 -4
- package/dist/chunks/{managed-policy-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{managed-policy-1f2jh182.js → command-zytxgpcz.js} +22 -22
- package/dist/chunks/{managed-policy-rphtw9c5.js → command-zz9x0err.js} +28 -28
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- 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 +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +91 -91
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- 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 +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1238 -682
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/shell/scan.d.ts +2 -1
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/managed-policy-hgd4btym.js +0 -18
- package/dist/chunks/managed-policy-n5ptys0j.js +0 -26
- package/dist/chunks/managed-policy-nwtmy77b.js +0 -507
- package/dist/chunks/managed-policy-zcnfg22j.js +0 -253
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-k2srk8cp.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9e5bzkjp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./command-vmmvzryc.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-5pyjqqve.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service67,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node70
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service67 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service67.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node70 = makeGlobalNode({ service: Service67, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput5, Service67, node70, exports_store };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service43,
|
|
6
|
+
node46
|
|
7
|
+
} from "./command-m9bwhd6g.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service39,
|
|
17
|
+
node: () => node42,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service39 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service43;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service39.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node46] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service39, readText2, syncTextBom2, node42, exports_file_mutation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service34,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node37
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service34 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service34.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node37 = makeLocationNode({
|
|
137
|
+
service: Service34,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service34, node37, exports_tool_output2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-mq1114ms.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./command-wq97ata3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-pz4bzxx2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./command-nz49q0p3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./command-jfvphnye.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service75;
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./command-jfvphnye.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./command-y6vx5mph.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-kfmjg78y.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service46;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-tsjzc549.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID3.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./command-y6vx5mph.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./command-m9bwhd6g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./command-jb4r1kxp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./command-kenkf5s7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service37,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-r0wedrkd.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-48cj2z6f.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service32
|
|
37
|
+
} from "./command-ys3m2q03.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./command-4gm9b3mc.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-cg85h34c.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./command-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin42 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service18;
|
|
123
|
+
const jobs = yield* Service62;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service43;
|
|
126
|
+
const access = yield* Service37;
|
|
127
|
+
const shell = yield* Service32;
|
|
128
|
+
const shellSelect = yield* Service50;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service65;
|
|
131
|
+
const config = yield* Service46;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin19 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name6,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin19 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name6,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input6,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin19 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name6,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name6];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin3,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin3 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin8 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin3, exports_firecrawl };
|