@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-k2srk8cp.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-k2srk8cp.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-mq1114ms.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-vmmvzryc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service67,
|
|
21
|
+
node70
|
|
22
|
+
} from "./command-q36shhmj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node24
|
|
26
|
+
} from "./command-h9hcchbf.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service67;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service9.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node11 = makeLocationNode({
|
|
151
|
+
service: Service9,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node87, llmClient2, node24, node70, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service9, isUntitled2, layer6, node11, exports_title };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node66
|
|
7
|
+
} from "./command-kt2w57dr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service40,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node43
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service40 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer15 = Layer.effect(Service40, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service63;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer23 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service40.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node43 = makeLocationNode({
|
|
74
|
+
service: Service40,
|
|
75
|
+
layer: layer15,
|
|
76
|
+
deps: [node66, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service40, layer15, node43, exports_generate2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service63,
|
|
3
|
+
node66
|
|
4
|
+
} from "./command-kt2w57dr.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-vx3jgdek.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service59,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node62,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service59 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service63;
|
|
59
|
+
return Service59.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node66] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service59, resolved2, node62, exports_model };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mq1114ms.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service76,
|
|
15
|
+
node80,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-pz4bzxx2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./command-edajgpnh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,12 +39,12 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
41
|
Event: () => Event17,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
42
|
+
ID: () => ID13,
|
|
43
|
+
Info: () => Info22,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service75,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node79,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -69,7 +69,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
71
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
72
|
-
var
|
|
72
|
+
var ID13 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
75
75
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
|
|
|
231
231
|
var Compaction3 = Provider.Compaction;
|
|
232
232
|
var Transport2 = Provider.Transport;
|
|
233
233
|
var Settings2 = Provider.Settings;
|
|
234
|
-
var
|
|
234
|
+
var Info22 = Provider.Info;
|
|
235
235
|
|
|
236
|
-
class
|
|
236
|
+
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
237
237
|
}
|
|
238
238
|
var definitions = new WeakMap;
|
|
239
239
|
function index(providerID, models) {
|
|
@@ -246,10 +246,10 @@ function index(providerID, models) {
|
|
|
246
246
|
definitions.set(models, indexes);
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
|
-
var layer = Layer.effect(
|
|
249
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
250
250
|
const bus = yield* Service83;
|
|
251
|
-
const integrations = yield*
|
|
252
|
-
const location = yield*
|
|
251
|
+
const integrations = yield* Service76;
|
|
252
|
+
const location = yield* Service78;
|
|
253
253
|
const state = create3({
|
|
254
254
|
name: "provider",
|
|
255
255
|
initial: () => new Map,
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
260
260
|
const current = records.get(id);
|
|
261
261
|
if (current)
|
|
262
262
|
return current;
|
|
263
|
-
const added = { provider:
|
|
263
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
264
264
|
records.set(id, added);
|
|
265
265
|
maps.add(added.models);
|
|
266
266
|
return added;
|
|
@@ -341,7 +341,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
341
341
|
const available = Array.from(records.values()).filter((record) => {
|
|
342
342
|
if (record.provider.activation === "disabled")
|
|
343
343
|
return false;
|
|
344
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
344
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
345
345
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
346
346
|
return false;
|
|
347
347
|
if (record.provider.activation === "enabled")
|
|
@@ -368,7 +368,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
368
368
|
});
|
|
369
369
|
});
|
|
370
370
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
371
|
-
return
|
|
371
|
+
return Service75.of({
|
|
372
372
|
transform: state.transform,
|
|
373
373
|
reload: state.reload,
|
|
374
374
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
377
377
|
snapshot
|
|
378
378
|
});
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
380
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node82] });
|
|
381
381
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
382
382
|
const module = yield* Effect.tryPromise({
|
|
383
383
|
try: () => {
|
|
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
650
650
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
651
651
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
652
652
|
|
|
653
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
653
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event17 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mq1114ms.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./command-wq97ata3.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-4ampwn7w.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -35,16 +35,16 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
37
|
Event: () => Event18,
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info23,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
|
+
node: () => node80
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -67,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
69
|
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
-
var
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service82;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info23.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service76.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node80 = makeLocationNode({
|
|
603
|
+
service: Service76,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node86, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
InvalidError: () => InvalidError2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
@@ -22,4 +22,4 @@ var InvalidError2 = NamedError2.create("ConfigInvalidError", {
|
|
|
22
22
|
message: Schema.optional(Schema.String)
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { InvalidError2,
|
|
25
|
+
export { InvalidError2, exports_error };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./command-y6vx5mph.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./command-j6zg015w.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin26
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin46 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin26, exports_compaction };
|