@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,38 +1,38 @@
|
|
|
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
|
+
ID18,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event21,
|
|
11
|
+
Service82
|
|
12
|
+
} from "./command-wq97ata3.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-pz4bzxx2.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID13,
|
|
25
|
+
Service75
|
|
26
|
+
} from "./command-nz49q0p3.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID12
|
|
29
|
+
} from "./command-jfvphnye.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-kfmjg78y.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make5(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service82;
|
|
81
|
+
const providers = yield* Service75;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make7(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID13.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make7(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make7(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make7(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make7(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make7(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID13.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make7(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make7(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID13.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID13.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make7(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID13.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make7(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID13.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID13.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make7(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID13.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make5();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID12.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-k2srk8cp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-mq1114ms.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service68,
|
|
15
|
+
node71
|
|
16
|
+
} from "./command-cb72tr97.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service74,
|
|
22
|
+
node78
|
|
23
|
+
} from "./command-jfvphnye.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-zsr4wwhv.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
load5
|
|
38
|
+
} from "./command-vmmvzryc.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./command-ncnm8wen.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service25,
|
|
47
|
+
node29
|
|
48
|
+
} from "./command-fp6k91eh.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service59,
|
|
51
|
+
node62
|
|
52
|
+
} from "./command-nf8njrqz.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./command-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./command-66c3eymz.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./command-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./command-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service10,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node12,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service68;
|
|
176
176
|
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service74;
|
|
179
|
+
const models = yield* Service59;
|
|
180
180
|
const db = (yield* Service84).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service25;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -272,7 +272,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
272
272
|
const send = (request) => {
|
|
273
273
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
274
274
|
return Effect.gen(function* () {
|
|
275
|
-
const history = yield*
|
|
275
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
276
276
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
277
277
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
278
278
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service10.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node12 = makeLocationNode({
|
|
482
|
+
service: Service10,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node71, node87, node88, llmClient2, node78, node29, node62]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service70,
|
|
3
|
+
node73,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2zqhm02j.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node63
|
|
9
|
+
} from "./command-93ygb5af.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./command-cmkc9sfw.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-13dwg0c6.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service55);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node63.replace(Layer.succeed(Service60, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node73.replace(Layer.succeed(Service70, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./command-edajgpnh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./command-y6vx5mph.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./command-04jjrec1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make11
|
|
12
|
+
} from "./command-a1gpj94z.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service46;
|
|
36
|
+
const formatter = yield* Service41;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service78;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin35 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make11({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin34, exports_formatter };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./command-tfrvwkgh.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service62,
|
|
20
|
+
make: () => make20,
|
|
21
|
+
node: () => node65
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make20 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service81;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make21 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service62.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make21 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service62, make20);
|
|
358
|
+
var node65 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service62, make20, node65, exports_job };
|