@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-ywpe0k31.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-8sqk77t7.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-z7s65jz9.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID14,
|
|
26
26
|
NotFoundError10
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-ypkf29hv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref3
|
|
30
|
+
} from "./command-213p2swk.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service47,
|
|
33
|
+
node49
|
|
34
|
+
} from "./command-1k3q76yn.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service24
|
|
41
|
+
} from "./command-ntxrry2n.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./command-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -50,18 +50,18 @@ __export(exports_worktree2, {
|
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
52
|
Event: () => Event6,
|
|
53
|
-
Info: () =>
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service23,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node26
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info5 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service23 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service47;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -113,9 +113,9 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref3.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service24).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service23.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node26 = Node.makeGlobalNode({
|
|
260
|
+
service: Service23,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node49]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service23, node26, exports_worktree2, OperationError2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-eda73v46.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z7s65jz9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./command-8wwws4s2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-cwbq0mfh.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-dywq9pkt.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID16.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID16.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin2 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID13.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin2 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID13.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin2 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID13.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-z7s65jz9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9t7a50xb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event11,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options7,
|
|
30
|
+
Service: () => Service64,
|
|
31
|
+
configured: () => configured9,
|
|
32
32
|
layer: () => layer20,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event11 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options7 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service64 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer20 = (options) => Layer.effect(
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make22({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service64.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service64,
|
|
110
110
|
layer: layer20(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node68 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event11, Options7, Service64, layer20, configured9, node68, exports_instruction_discovery };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-8sqk77t7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z7s65jz9.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-4z58m4b4.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load4
|
|
29
|
+
} from "./command-b4gp33hv.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-3556dn8t.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service33,
|
|
38
|
+
node37
|
|
39
|
+
} from "./command-jhk6nqbr.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-b3f8fkhc.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2,
|
|
46
46
|
contentFilterError2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./command-01jzyxk2.js";
|
|
48
48
|
import {
|
|
49
49
|
calculateCost2,
|
|
50
50
|
record2,
|
|
51
51
|
add2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./command-tdstcens.js";
|
|
53
53
|
import {
|
|
54
54
|
__export
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./command-9rqn6x4v.js";
|
|
56
56
|
|
|
57
57
|
// src/session/compaction.ts
|
|
58
58
|
var exports_compaction2 = {};
|
|
59
59
|
__export(exports_compaction2, {
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service9,
|
|
61
61
|
SessionCompaction: () => exports_compaction2,
|
|
62
62
|
buildPrompt: () => buildPrompt2,
|
|
63
63
|
estimateContext: () => estimateContext2,
|
|
64
64
|
estimatePrompt: () => estimatePrompt2,
|
|
65
|
-
layer: () =>
|
|
66
|
-
node: () =>
|
|
65
|
+
layer: () => layer6,
|
|
66
|
+
node: () => node11,
|
|
67
67
|
recentUserMessages: () => recentUserMessages2
|
|
68
68
|
});
|
|
69
69
|
import {
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "@opencode/ai";
|
|
80
80
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
81
81
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
82
|
-
class
|
|
82
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
83
83
|
}
|
|
84
84
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
85
85
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
158
158
|
};
|
|
159
159
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
160
160
|
var LEGACY_HEADING = "## Additional Context";
|
|
161
|
-
var
|
|
161
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
162
162
|
const bus = yield* Service83;
|
|
163
163
|
const llm = yield* LLMClient.Service;
|
|
164
164
|
const db = (yield* Service84).db;
|
|
165
|
-
const requests = yield*
|
|
165
|
+
const requests = yield* Service33;
|
|
166
166
|
const state = create3({
|
|
167
167
|
name: "session-compaction",
|
|
168
168
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -250,7 +250,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
250
250
|
const send = (request) => {
|
|
251
251
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
252
252
|
return Effect.gen(function* () {
|
|
253
|
-
const history = yield*
|
|
253
|
+
const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
|
|
254
254
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
255
255
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
256
256
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -450,16 +450,16 @@ ${text}`;
|
|
|
450
450
|
}, { metadata: outcome.metadata });
|
|
451
451
|
return { status: "completed" };
|
|
452
452
|
});
|
|
453
|
-
return
|
|
453
|
+
return Service9.of({
|
|
454
454
|
transform: state.transform,
|
|
455
455
|
reload: state.reload,
|
|
456
456
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
457
457
|
});
|
|
458
458
|
}));
|
|
459
|
-
var
|
|
460
|
-
service:
|
|
461
|
-
layer:
|
|
462
|
-
deps: [node87, node88, llmClient2,
|
|
459
|
+
var node11 = makeLocationNode({
|
|
460
|
+
service: Service9,
|
|
461
|
+
layer: layer6,
|
|
462
|
+
deps: [node87, node88, llmClient2, node37]
|
|
463
463
|
});
|
|
464
464
|
var previousCompaction = (messages) => {
|
|
465
465
|
const [first] = messages;
|
|
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
|
|
|
664
664
|
return 0;
|
|
665
665
|
};
|
|
666
666
|
|
|
667
|
-
export {
|
|
667
|
+
export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./command-213p2swk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./command-0jf2y13k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./command-bnymekt2.js";
|
|
15
15
|
import {
|
|
16
16
|
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-kzrjs8je.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service52
|
|
22
|
+
} from "./command-r9ggpxfb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service18,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-y5hk5168.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
39
|
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin45,
|
|
42
|
+
name: () => name9,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output6 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin45 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const access = yield* Service18;
|
|
113
113
|
const fileMutation = yield* Service13;
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
114
|
+
const formatter = yield* Service68;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service52;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input9,
|
|
122
122
|
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin12 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name9, Input9, Applied2, Output6, toModelContent5, Plugin45, exports_patch };
|