@opencode/core 0.0.0-dev-20539 → 0.0.0-dev-20541
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 +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{aisdk-native-gjtpacy1.js → command-01jzyxk2.js} +5 -5
- package/dist/chunks/{aisdk-native-pcktk9s8.js → command-0axee2zp.js} +11 -11
- package/dist/chunks/{aisdk-native-w1fmszs7.js → command-0djpsv8h.js} +14 -14
- package/dist/chunks/{aisdk-native-q0xm7vwc.js → command-0j77ygfz.js} +6 -6
- package/dist/chunks/{aisdk-native-an6c52fj.js → command-0jf2y13k.js} +24 -24
- package/dist/chunks/{aisdk-native-wv68fy0p.js → command-0n4qmygn.js} +6 -6
- package/dist/chunks/{aisdk-native-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-qv925jp4.js → command-0qs5s41g.js} +11 -11
- package/dist/chunks/{aisdk-native-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-native-295rfsvz.js → command-0wv8zgxx.js} +5 -5
- package/dist/chunks/{aisdk-native-89bb6baa.js → command-15nepkqg.js} +8 -8
- package/dist/chunks/{aisdk-native-2xwkyk0m.js → command-1cfb3ja4.js} +5 -5
- package/dist/chunks/{aisdk-native-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-hd2ftn89.js → command-1dfrqcjm.js} +8 -8
- package/dist/chunks/{aisdk-native-1dvck2a7.js → command-1dvck2a7.js} +2 -2
- package/dist/chunks/{aisdk-native-ckwc9sat.js → command-1g7wkek7.js} +6 -6
- package/dist/chunks/{aisdk-native-jtxx0b09.js → command-1k3q76yn.js} +11 -11
- package/dist/chunks/{aisdk-native-h4j7vjae.js → command-1q3t7fvn.js} +34 -34
- package/dist/chunks/command-1v328y5z.js +507 -0
- package/dist/chunks/{aisdk-native-56gdpj1q.js → command-1ygqh575.js} +9 -9
- package/dist/chunks/{aisdk-native-yf95jxv4.js → command-213p2swk.js} +17 -17
- package/dist/chunks/{aisdk-native-yq0nbnmn.js → command-21xha1jy.js} +32 -32
- package/dist/chunks/{aisdk-native-xhkct6en.js → command-22t0k3cz.js} +45 -45
- package/dist/chunks/{aisdk-native-2a4f6v5q.js → command-2336b01z.js} +8 -8
- package/dist/chunks/{aisdk-native-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-4ts7tf6z.js → command-2ccvkpx1.js} +2 -2
- package/dist/chunks/{aisdk-native-awwzk7f0.js → command-2gef892y.js} +9 -9
- package/dist/chunks/{aisdk-native-sezqsf7w.js → command-2pxx49tn.js} +18 -18
- package/dist/chunks/{aisdk-native-h7w9m21h.js → command-2qx5ewc2.js} +6 -6
- package/dist/chunks/{aisdk-native-hd8vw2pw.js → command-3556dn8t.js} +1 -1
- package/dist/chunks/{aisdk-native-cq10jd1g.js → command-392tpz92.js} +5 -5
- package/dist/chunks/{aisdk-native-qzq7ycq0.js → command-3b9mfnb1.js} +42 -42
- package/dist/chunks/{aisdk-native-fpecnkgp.js → command-3byrw2k0.js} +9 -9
- package/dist/chunks/{aisdk-native-mjv8qmg5.js → command-3cve9wcq.js} +16 -16
- package/dist/chunks/{aisdk-native-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-hpz1v6ns.js → command-3ndhv5ev.js} +46 -46
- package/dist/chunks/{aisdk-native-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-gye7phxr.js → command-3sqh8pm2.js} +20 -20
- package/dist/chunks/{aisdk-native-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-aa994dp5.js → command-3vn5r7fz.js} +4 -4
- package/dist/chunks/{aisdk-native-db2wf4at.js → command-3y377wv9.js} +4 -4
- package/dist/chunks/{aisdk-native-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-9ync7xaz.js → command-401cxz9d.js} +11 -11
- package/dist/chunks/{aisdk-native-pvybmp45.js → command-45vb5exr.js} +17 -17
- package/dist/chunks/{aisdk-native-mx9vqzsb.js → command-4mwpykj0.js} +6 -6
- package/dist/chunks/{aisdk-native-0k3b8s72.js → command-4n47a3cw.js} +16 -16
- package/dist/chunks/{aisdk-native-g95b0q0t.js → command-4xqwpdwt.js} +17 -17
- package/dist/chunks/{aisdk-native-4j4tgtq5.js → command-4z58m4b4.js} +4 -4
- package/dist/chunks/{aisdk-native-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-native-c2pbbpck.js → command-578mczcx.js} +7 -7
- package/dist/chunks/{aisdk-native-hhxncsvt.js → command-5crddx1s.js} +30 -30
- package/dist/chunks/{aisdk-native-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-8w3y42qc.js → command-5n7vjdk6.js} +5 -5
- package/dist/chunks/{aisdk-native-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-rqa1jxse.js → command-5t5wrhde.js} +2 -2
- package/dist/chunks/{aisdk-native-k70p9jzb.js → command-5tcm9639.js} +9 -9
- package/dist/chunks/{aisdk-native-1c23429g.js → command-5vyb2hja.js} +5 -5
- package/dist/chunks/{aisdk-native-rkhtw3rp.js → command-5zqqr9b4.js} +10 -10
- package/dist/chunks/{aisdk-native-pty5qp73.js → command-61d0nta3.js} +87 -87
- package/dist/chunks/{aisdk-native-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-f52fbv7g.js → command-6f8r1xek.js} +14 -14
- package/dist/chunks/{aisdk-native-qse9r5a5.js → command-6fd4dcha.js} +30 -30
- package/dist/chunks/{aisdk-native-4ejffmcg.js → command-6nx5bmak.js} +11 -11
- package/dist/chunks/{aisdk-native-b6w01fa2.js → command-6rwesznr.js} +15 -15
- package/dist/chunks/{aisdk-native-50mzsvk4.js → command-6sr3ve8g.js} +21 -21
- package/dist/chunks/{aisdk-native-e6ba36az.js → command-6v2t73g4.js} +20 -20
- package/dist/chunks/{aisdk-native-9cmpqy79.js → command-6v33vpya.js} +5 -5
- package/dist/chunks/{aisdk-native-4q1w0dbs.js → command-6w9me9g4.js} +17 -17
- package/dist/chunks/{aisdk-native-kpha1e6n.js → command-6y03q21h.js} +2 -2
- package/dist/chunks/{aisdk-native-gja8fhv2.js → command-6y94d6d5.js} +5 -5
- package/dist/chunks/{aisdk-native-g6yfr6ja.js → command-6yz0wx8n.js} +5 -5
- package/dist/chunks/{aisdk-native-6pmstnsj.js → command-6z2jg7m4.js} +11 -11
- package/dist/chunks/{aisdk-native-71az546q.js → command-71az546q.js} +2 -2
- package/dist/chunks/{aisdk-native-n658f8zn.js → command-722cwwxx.js} +24 -24
- package/dist/chunks/{aisdk-native-3ekd9dkh.js → command-74wsvbja.js} +4 -4
- package/dist/chunks/{aisdk-native-jpz89hjc.js → command-75rpacef.js} +20 -20
- package/dist/chunks/{aisdk-native-nap2fjbr.js → command-77acw9m0.js} +3 -3
- package/dist/chunks/{aisdk-native-5d607bsg.js → command-79qaa2kf.js} +9 -9
- package/dist/chunks/{aisdk-native-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-y3bt1z84.js → command-7q5hsd78.js} +26 -26
- package/dist/chunks/{aisdk-native-9hktefrz.js → command-7qdef5aj.js} +20 -20
- package/dist/chunks/{aisdk-native-6kgskxtw.js → command-7skj7b3t.js} +11 -11
- package/dist/chunks/{aisdk-native-dtt0m6kq.js → command-7yetp8jc.js} +26 -26
- package/dist/chunks/{aisdk-native-pswd251m.js → command-7yfar2g1.js} +5 -5
- package/dist/chunks/{aisdk-native-zenhhmk3.js → command-7zk0wn2x.js} +27 -27
- package/dist/chunks/{aisdk-native-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-zgmpa4h2.js → command-8b107kjv.js} +18 -18
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-g5dcswp5.js → command-8gdnnedh.js} +11 -11
- package/dist/chunks/{aisdk-native-4xkaqett.js → command-8gt91z3r.js} +42 -42
- package/dist/chunks/{aisdk-native-gc64cq5a.js → command-8sqk77t7.js} +3 -3
- package/dist/chunks/{aisdk-native-2kmnev6m.js → command-8t624zf9.js} +9 -9
- package/dist/chunks/{aisdk-native-rk7s9xkn.js → command-8wbxkt1z.js} +4 -4
- package/dist/chunks/{aisdk-native-43yntpg2.js → command-8wwws4s2.js} +30 -30
- package/dist/chunks/{aisdk-native-ma06gg9z.js → command-9aqw140n.js} +31 -31
- package/dist/chunks/{aisdk-native-xrck4m4y.js → command-9basgg3g.js} +6 -6
- package/dist/chunks/{aisdk-native-9e5bzkjp.js → command-9e5bzkjp.js} +3 -3
- package/dist/chunks/{aisdk-native-3hfr6h8q.js → command-9hn6k4tm.js} +8 -8
- package/dist/chunks/{aisdk-native-sda57qbd.js → command-9qbdnxkb.js} +20 -20
- package/dist/chunks/{aisdk-native-wv396vej.js → command-9t7a50xb.js} +6 -6
- package/dist/chunks/{aisdk-native-w9vf9qqj.js → command-a881zpfh.js} +9 -9
- package/dist/chunks/{aisdk-native-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-mxqyf13v.js → command-achynwnm.js} +21 -21
- package/dist/chunks/{aisdk-native-gfx0q2r8.js → command-ag82fysq.js} +9 -9
- package/dist/chunks/{aisdk-native-77j8j7sz.js → command-as8e1r60.js} +20 -20
- package/dist/chunks/{aisdk-native-7ff92c40.js → command-awttz7et.js} +30 -30
- package/dist/chunks/{aisdk-native-qeb4h3ek.js → command-axm04d2k.js} +13 -13
- package/dist/chunks/{aisdk-native-qygbw77c.js → command-b3f8fkhc.js} +5 -5
- package/dist/chunks/{aisdk-native-q2646ryg.js → command-b4gp33hv.js} +11 -11
- package/dist/chunks/{aisdk-native-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-zw7hw88q.js → command-b7mjc4a6.js} +3 -3
- package/dist/chunks/{aisdk-native-t6vvz3fv.js → command-bnymekt2.js} +15 -15
- package/dist/chunks/{aisdk-native-a8pfa5pn.js → command-bpfb0a3w.js} +13 -13
- package/dist/chunks/{aisdk-native-f59ep6tb.js → command-bq7b46md.js} +11 -11
- package/dist/chunks/command-by5v678g.js +18 -0
- package/dist/chunks/{aisdk-native-0qxm8aja.js → command-c33q63qa.js} +15 -15
- package/dist/chunks/{aisdk-native-vtqgqayx.js → command-c55dey07.js} +22 -22
- package/dist/chunks/{aisdk-native-2800xjpw.js → command-c61jsrw6.js} +11 -11
- package/dist/chunks/{aisdk-native-nxqa7a7y.js → command-c67sz4xq.js} +49 -49
- package/dist/chunks/{aisdk-native-rg2zx1tq.js → command-c9k10dz7.js} +6 -6
- package/dist/chunks/{aisdk-native-cfsekr6v.js → command-cfsekr6v.js} +2 -2
- package/dist/chunks/{aisdk-native-5bzhj4w2.js → command-cfy01m6q.js} +4 -4
- package/dist/chunks/{aisdk-native-waxt6026.js → command-cs216amt.js} +6 -6
- package/dist/chunks/{aisdk-native-578e2y2k.js → command-cstxe3ar.js} +20 -20
- package/dist/chunks/{aisdk-native-84ss08xg.js → command-ct4faptp.js} +10 -10
- package/dist/chunks/{aisdk-native-7spxsfdt.js → command-cwbq0mfh.js} +32 -32
- package/dist/chunks/{aisdk-native-xc08p53a.js → command-d0cgwrbg.js} +13 -13
- package/dist/chunks/{aisdk-native-6ezb7xvf.js → command-d392bjy5.js} +11 -11
- package/dist/chunks/{aisdk-native-mkpw75cb.js → command-d46e2cta.js} +5 -5
- package/dist/chunks/{aisdk-native-dmqcgk4z.js → command-dmqcgk4z.js} +2 -2
- package/dist/chunks/{aisdk-native-x6965d8a.js → command-dympa6h6.js} +1 -1
- package/dist/chunks/{aisdk-native-9q562vra.js → command-dywq9pkt.js} +313 -313
- package/dist/chunks/{aisdk-native-yz07des7.js → command-dzty4xcq.js} +60 -60
- package/dist/chunks/{aisdk-native-qyb6z260.js → command-dzv118g2.js} +10 -10
- package/dist/chunks/{aisdk-native-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{aisdk-native-t194h8w7.js → command-ea26v2e4.js} +12 -12
- package/dist/chunks/{aisdk-native-f4nk9052.js → command-eaf5gakt.js} +11 -11
- package/dist/chunks/{aisdk-native-dy7wbn3s.js → command-eda73v46.js} +8 -8
- package/dist/chunks/{aisdk-native-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-pfvqw3e6.js → command-emvq8ywb.js} +3 -3
- package/dist/chunks/command-epwxyjh7.js +253 -0
- package/dist/chunks/{aisdk-native-eq1pz5kg.js → command-eq1pz5kg.js} +1 -1
- package/dist/chunks/{aisdk-native-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-5qzs2mtp.js → command-ezyde299.js} +22 -22
- package/dist/chunks/{aisdk-native-778k6cvx.js → command-f3k65vz0.js} +16 -16
- package/dist/chunks/{aisdk-native-4arb9zza.js → command-f5gy8qwh.js} +8 -8
- package/dist/chunks/{aisdk-native-y1vpm6kv.js → command-f7p9evzq.js} +35 -35
- package/dist/chunks/{aisdk-native-7ka6aze3.js → command-f9hcp00g.js} +10 -10
- package/dist/chunks/{aisdk-native-2k8khapm.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{aisdk-native-tx9w5tca.js → command-fgktf29t.js} +8 -8
- package/dist/chunks/{aisdk-native-8e1vva4y.js → command-fgvgk3nc.js} +8 -8
- package/dist/chunks/{aisdk-native-v5dkyp31.js → command-fm2qvscf.js} +4 -4
- package/dist/chunks/{aisdk-native-w5dpxh7g.js → command-g3xnrmzn.js} +28 -28
- package/dist/chunks/{aisdk-native-g5w8qwbj.js → command-g5w8qwbj.js} +1 -1
- package/dist/chunks/{aisdk-native-r1wkseyd.js → command-g7xb4ge4.js} +3 -3
- package/dist/chunks/{aisdk-native-k592ett5.js → command-g8n6k2e8.js} +10 -10
- package/dist/chunks/{aisdk-native-saafnysh.js → command-g90rxwkd.js} +15 -15
- package/dist/chunks/{aisdk-native-45revxsz.js → command-g9v33ymf.js} +4 -4
- package/dist/chunks/{aisdk-native-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-r355vfa7.js → command-gqepmfk7.js} +24 -24
- package/dist/chunks/{aisdk-native-7vt92rp4.js → command-h1ff3r7d.js} +13 -13
- package/dist/chunks/{aisdk-native-h2b79v29.js → command-h2b79v29.js} +2 -2
- package/dist/chunks/{aisdk-native-h3k0sdzw.js → command-h6m8mpqk.js} +9 -9
- package/dist/chunks/{aisdk-native-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-880a8c11.js → command-h9431wzg.js} +48 -48
- package/dist/chunks/{aisdk-native-0ryd0fps.js → command-hbyhqfhs.js} +5 -5
- package/dist/chunks/{aisdk-native-7cm7tcqq.js → command-hhdeq4zt.js} +16 -16
- package/dist/chunks/{aisdk-native-k8c40xa9.js → command-hvaebh52.js} +23 -23
- package/dist/chunks/{aisdk-native-hbtwmhm7.js → command-hyssag4y.js} +11 -11
- package/dist/chunks/{aisdk-native-kwnvgbb2.js → command-j1a331kd.js} +15 -15
- package/dist/chunks/{aisdk-native-czp4arpf.js → command-j1tnjqr2.js} +11 -11
- package/dist/chunks/{aisdk-native-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-fx4xty9a.js → command-jhk6nqbr.js} +31 -31
- package/dist/chunks/{aisdk-native-jz3bpkp3.js → command-jpesrvwe.js} +18 -18
- package/dist/chunks/{aisdk-native-z00r358c.js → command-jpzv3ykh.js} +13 -13
- package/dist/chunks/{aisdk-native-2mb4mfzj.js → command-js7ztaqx.js} +19 -19
- package/dist/chunks/{aisdk-native-kwnbq8c6.js → command-k6yxz2kp.js} +26 -26
- package/dist/chunks/{aisdk-native-r159qbnj.js → command-kdtk6ytk.js} +18 -18
- package/dist/chunks/{aisdk-native-eggfag1n.js → command-kgf2vxaw.js} +4 -4
- package/dist/chunks/{aisdk-native-dmd7tf47.js → command-kgffmydg.js} +46 -46
- package/dist/chunks/command-kgw2tax4.js +26 -0
- package/dist/chunks/{aisdk-native-0frjv7sw.js → command-ksk3n4cg.js} +5 -5
- package/dist/chunks/{aisdk-native-jf560fr9.js → command-kykbznp4.js} +15 -15
- package/dist/chunks/{aisdk-native-tn28n8k6.js → command-kzrjs8je.js} +7 -7
- package/dist/chunks/{aisdk-native-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-t2fjfcta.js → command-m6eqcf37.js} +55 -55
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-y4p8dreb.js → command-mdcbxeg1.js} +4 -4
- package/dist/chunks/{aisdk-native-jtgtxema.js → command-mmq4tvzh.js} +18 -18
- package/dist/chunks/{aisdk-native-dcz2h22h.js → command-mv87szkv.js} +7 -7
- package/dist/chunks/{aisdk-native-gwfzjnhj.js → command-mxmsd58h.js} +20 -20
- package/dist/chunks/{aisdk-native-ts2p0j90.js → command-n2rmdmjc.js} +24 -24
- package/dist/chunks/{aisdk-native-51mxg6h7.js → command-n2zgnq50.js} +39 -39
- package/dist/chunks/{aisdk-native-0wmfc1kv.js → command-nj45zehw.js} +8 -8
- package/dist/chunks/{aisdk-native-y2vn7p1y.js → command-nmdr856g.js} +5 -5
- package/dist/chunks/{aisdk-native-4jnpb6e4.js → command-nqzan4bx.js} +9 -9
- package/dist/chunks/{aisdk-native-pqm1nq52.js → command-ntxrry2n.js} +19 -19
- package/dist/chunks/{aisdk-native-dpkg50ah.js → command-nxm207yx.js} +4 -4
- package/dist/chunks/{aisdk-native-kmte4xwa.js → command-p1et7349.js} +42 -42
- package/dist/chunks/{aisdk-native-h0h1pvpd.js → command-pacph0q8.js} +11 -11
- package/dist/chunks/{aisdk-native-48kw51zw.js → command-pds74t41.js} +3 -3
- package/dist/chunks/{aisdk-native-fjx1xa96.js → command-pee00n06.js} +27 -27
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-n9rqaj03.js → command-q7s4p2ws.js} +11 -11
- package/dist/chunks/{aisdk-native-qnc92qwc.js → command-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-native-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-xyafkbt0.js → command-qxjc9qry.js} +3 -3
- package/dist/chunks/{aisdk-native-1623yrt0.js → command-qy9s2ye0.js} +10 -10
- package/dist/chunks/{aisdk-native-2ky0c49p.js → command-qygccx2c.js} +14 -14
- package/dist/chunks/{aisdk-native-zj39adwq.js → command-r897vr76.js} +5 -5
- package/dist/chunks/{aisdk-native-1acjjqhc.js → command-r8xr0va3.js} +4 -4
- package/dist/chunks/{aisdk-native-zv7tqc2k.js → command-r9ggpxfb.js} +57 -57
- package/dist/chunks/{aisdk-native-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-h4nq7861.js → command-re5v1f1h.js} +12 -12
- package/dist/chunks/{aisdk-native-nkbev8sz.js → command-rpms11rw.js} +19 -19
- package/dist/chunks/{aisdk-native-phe9qr7a.js → command-rrkmkyg6.js} +6 -6
- package/dist/chunks/{aisdk-native-c5qhpg6y.js → command-rvn3tqg0.js} +24 -24
- package/dist/chunks/{aisdk-native-jg5csge1.js → command-s2q9yd17.js} +24 -24
- package/dist/chunks/{aisdk-native-hwjyn0yt.js → command-s4jagjf8.js} +9 -9
- package/dist/chunks/{aisdk-native-dsh58q24.js → command-sfzn7zth.js} +13 -13
- package/dist/chunks/{aisdk-native-9y99ytt1.js → command-sqdwm1my.js} +35 -35
- package/dist/chunks/{aisdk-native-h5cgnf26.js → command-sr0pxs2g.js} +20 -20
- package/dist/chunks/{aisdk-native-2peyaye1.js → command-stff7yw3.js} +33 -33
- package/dist/chunks/{aisdk-native-ssjxptda.js → command-t1ams5g6.js} +17 -17
- package/dist/chunks/{aisdk-native-qgw7p667.js → command-t1s0jw3q.js} +22 -22
- package/dist/chunks/{aisdk-native-dwc9pzya.js → command-t2c2p23z.js} +30 -30
- package/dist/chunks/{aisdk-native-rekxdpfa.js → command-t38tm3cf.js} +31 -31
- package/dist/chunks/{aisdk-native-8hcakjew.js → command-tag3ynyp.js} +14 -14
- package/dist/chunks/{aisdk-native-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-qps8pgfz.js → command-tc2wd370.js} +10 -10
- package/dist/chunks/{aisdk-native-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-00wx0zgm.js → command-thnqqb5h.js} +17 -17
- package/dist/chunks/{aisdk-native-yqtvgztr.js → command-tj682e1p.js} +8 -8
- package/dist/chunks/{aisdk-native-63d3e465.js → command-trazswah.js} +15 -15
- package/dist/chunks/{aisdk-native-m879tved.js → command-tvpc0ybq.js} +32 -32
- package/dist/chunks/{aisdk-native-e5f3kexh.js → command-v66k9e3r.js} +27 -27
- package/dist/chunks/{aisdk-native-tbmac1c7.js → command-vbfgae2j.js} +4 -4
- package/dist/chunks/{aisdk-native-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-pkqb68ka.js → command-vn72gsba.js} +4 -4
- package/dist/chunks/{aisdk-native-d9xzmz0t.js → command-vv95jtq1.js} +8 -8
- package/dist/chunks/{aisdk-native-hnr8f6ws.js → command-vxzh5eqq.js} +4 -4
- package/dist/chunks/{aisdk-native-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-sjdzzqza.js → command-w243dze7.js} +17 -17
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-q10ynhb9.js → command-w67z85jj.js} +18 -18
- package/dist/chunks/{aisdk-native-we44xd8q.js → command-way54g3t.js} +30 -30
- package/dist/chunks/{aisdk-native-gj71zhbs.js → command-wbgabvvj.js} +5 -5
- package/dist/chunks/{aisdk-native-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-pwxm8sd3.js → command-wgkw1say.js} +3 -3
- package/dist/chunks/{aisdk-native-ec896hdn.js → command-x1bgc40t.js} +15 -15
- package/dist/chunks/{aisdk-native-5jw7gebz.js → command-x1cxff1x.js} +21 -21
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-2qphfp0m.js → command-x691ctxc.js} +1 -1
- package/dist/chunks/{aisdk-native-pgkg8x57.js → command-xqjr5z5q.js} +27 -27
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-ehftarfj.js → command-y5hk5168.js} +18 -18
- package/dist/chunks/{aisdk-native-btcw1xt9.js → command-y9bry2a2.js} +11 -11
- package/dist/chunks/{aisdk-native-f431a24x.js → command-yb7z5tge.js} +179 -179
- package/dist/chunks/{aisdk-native-dthaepd3.js → command-yke0wfjf.js} +32 -32
- package/dist/chunks/{aisdk-native-2mccfjs9.js → command-ypkf29hv.js} +39 -39
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-w26vj9je.js → command-ytfp8a9c.js} +12 -12
- package/dist/chunks/{aisdk-native-s800pt51.js → command-ywpe0k31.js} +12 -12
- package/dist/chunks/{aisdk-native-d5yxvqaw.js → command-yyc39645.js} +18 -18
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-h9vd27hm.js → command-z5anw93z.js} +83 -83
- package/dist/chunks/{aisdk-native-pm7n9803.js → command-z7s65jz9.js} +4 -4
- package/dist/chunks/{aisdk-native-kmb72060.js → command-z96ftasq.js} +20 -20
- package/dist/chunks/{aisdk-native-qvne39gt.js → command-zckshxme.js} +16 -16
- package/dist/chunks/{aisdk-native-zvt5dnpc.js → command-zcrspsvn.js} +4 -4
- package/dist/chunks/{aisdk-native-80g4zj0p.js → command-zeb7mf4e.js} +9 -9
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-hme6a8jy.js → command-ztxh1f3e.js} +23 -23
- package/dist/chunks/{aisdk-native-thwmfrqc.js → command-zwas51cn.js} +10 -10
- package/dist/chunks/{aisdk-native-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +115 -115
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +90 -90
- 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 +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- 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 +355 -355
- package/dist/instruction-discovery.js +83 -83
- 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 +89 -89
- package/dist/job.js +76 -76
- 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 +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- 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 +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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/venice.js +2 -2
- 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 +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- 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 +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- 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 +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +222 -222
- 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 +203 -203
- 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 +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- 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 +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +3 -3
- 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 +80 -80
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-5bedrhys.js +0 -507
- package/dist/chunks/aisdk-native-ctwwa7z8.js +0 -253
- package/dist/chunks/aisdk-native-qc068m1q.js +0 -18
- package/dist/chunks/aisdk-native-qt4h1p3a.js +0 -26
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-8sqk77t7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z7s65jz9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./command-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service57
|
|
16
|
+
} from "./command-rvn3tqg0.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-h6m8mpqk.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service43;
|
|
45
45
|
const database = yield* Service84;
|
|
46
46
|
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service57;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service43;
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service57;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z7s65jz9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./command-ywpe0k31.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node79
|
|
12
|
+
} from "./command-213p2swk.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-by5v678g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service70,
|
|
18
|
+
node74
|
|
19
|
+
} from "./command-c55dey07.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./command-yyc39645.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service6,
|
|
25
|
+
node7
|
|
26
|
+
} from "./command-79qaa2kf.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service70;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
|
+
const policy = yield* Service6;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node74, FSUtil.node, node79, node81, node87, node22, node7]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z7s65jz9.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-3y377wv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event21
|
|
9
|
+
} from "./command-8wwws4s2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID16
|
|
12
|
+
} from "./command-cwbq0mfh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service74
|
|
16
|
+
} from "./command-dywq9pkt.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-ytfp8a9c.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make10,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make11 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make10, exports_retry };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-pds74t41.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-h6m8mpqk.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9t7a50xb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-vn72gsba.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-4z58m4b4.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-01jzyxk2.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./command-213p2swk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service68 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service75;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service68.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node72 = makeLocationNode({
|
|
91
|
+
service: Service68,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service68, node72, exports_formatter2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node75
|
|
4
|
+
} from "./command-8gt91z3r.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-pds74t41.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: () => Service42,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node44,
|
|
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 Service42 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(Service42, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service71;
|
|
59
|
+
return Service42.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(Service46, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node44 = makeLocationNode({ service: Service42, layer, deps: [node75] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service42, resolved2, node44, exports_model };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service56,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service56 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service56.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node58 = makeLocationNode({
|
|
137
|
+
service: Service56,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service56, node58, exports_tool_output2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service34,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service34 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service34, awaitActivation2, exports_service };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info9,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-jpesrvwe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./command-p1et7349.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin9,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin9 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info9.make({
|
|
434
434
|
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info9.make({
|
|
441
441
|
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service69;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
|