@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./command-ywpe0k31.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./command-213p2swk.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service57,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node59,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service57 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service77;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID9.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service57.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node59 = makeLocationNode({
|
|
144
|
+
service: Service57,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID9, Error3, Service57, node59, noopLayer3, exports_snapshot2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./command-c55dey07.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./command-213p2swk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./command-p1et7349.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./command-jpesrvwe.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./command-5tcm9639.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-74wsvbja.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin31
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin31 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service69;
|
|
43
|
+
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service75;
|
|
47
|
+
const watcher = yield* Service70;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin19 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin19 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin19 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin19 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin19 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin31, exports_skill2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-8sqk77t7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make22,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9t7a50xb.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
64
|
var source = (entry) => make22({
|
|
65
|
-
key:
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make22({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./command-213p2swk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./command-0jf2y13k.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./command-w67z85jj.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-fgvgk3nc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service52
|
|
26
|
+
} from "./command-r9ggpxfb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service18
|
|
29
|
+
} from "./command-y5hk5168.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./command-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin42,
|
|
41
|
+
name: () => name7,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin42 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service62;
|
|
90
|
+
const ripgrep = yield* Service61;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service18;
|
|
93
|
+
const permission = yield* Service52;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input7,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin14 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin14 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output4, toModelContent4, Plugin42, exports_grep };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z7s65jz9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./command-213p2swk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service60,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node63
|
|
13
|
+
} from "./command-rpms11rw.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_pty, {
|
|
|
28
28
|
Info: () => Info2,
|
|
29
29
|
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node21
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,12 +54,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service75;
|
|
62
|
+
const shell = yield* Service60;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node21 = makeLocationNode({
|
|
273
|
+
service: Service19,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node79, node63]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2,
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service19, node21, exports_pty, Event3 };
|