@opencode/core 0.0.0-dev-20830 → 0.0.0-dev-20831
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{state-xsmtq4qf.js → persistent-pty-02xr1zsh.js} +8 -8
- package/dist/chunks/{state-h986hd8g.js → persistent-pty-0e0f2wa7.js} +23 -23
- package/dist/chunks/{state-ayty09pp.js → persistent-pty-0gwkcvrc.js} +36 -36
- package/dist/chunks/{state-zcwza7b0.js → persistent-pty-0hvbv0av.js} +6 -6
- package/dist/chunks/{state-q0xm7vwc.js → persistent-pty-0j77ygfz.js} +6 -6
- package/dist/chunks/{state-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-8aaqm6qj.js → persistent-pty-0tzy42a9.js} +8 -8
- package/dist/chunks/{state-0vbcp93d.js → persistent-pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-e8vwfchq.js → persistent-pty-0zdym56s.js} +9 -9
- package/dist/chunks/{state-h40gvhgm.js → persistent-pty-144fxwck.js} +30 -30
- package/dist/chunks/{state-944h6gfv.js → persistent-pty-14d24921.js} +28 -28
- package/dist/chunks/{state-jnft9wxv.js → persistent-pty-14gpq9b7.js} +24 -24
- package/dist/chunks/{state-z0xmsghh.js → persistent-pty-160dstxj.js} +27 -27
- package/dist/chunks/{state-esc9b6cf.js → persistent-pty-1djs0tvz.js} +7 -7
- package/dist/chunks/{state-w3ajezp3.js → persistent-pty-1j1f6xcv.js} +16 -16
- package/dist/chunks/{state-8v02gd0t.js → persistent-pty-1jb7jqa2.js} +8 -8
- package/dist/chunks/{state-ghrzdqqx.js → persistent-pty-1nwxscpy.js} +5 -5
- package/dist/chunks/persistent-pty-24d7twmp.js +253 -0
- package/dist/chunks/{state-4ts7tf6z.js → persistent-pty-2ccvkpx1.js} +2 -2
- package/dist/chunks/{state-0jwsre1p.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{state-0r3c1bmw.js → persistent-pty-2k9fjx65.js} +5 -5
- package/dist/chunks/{state-krmj6tzy.js → persistent-pty-2m4gzwzp.js} +22 -22
- package/dist/chunks/{state-x119eg88.js → persistent-pty-2prrfhe7.js} +29 -29
- package/dist/chunks/{state-bgvakscb.js → persistent-pty-2rx9dk58.js} +20 -20
- package/dist/chunks/{state-2vvh33eb.js → persistent-pty-2vvh33eb.js} +2 -2
- package/dist/chunks/{state-2ktf0ed2.js → persistent-pty-3a83a0n4.js} +8 -8
- package/dist/chunks/{state-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3hwn7j4h.js → persistent-pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{state-0nafeyy2.js → persistent-pty-3pk3ecam.js} +17 -17
- package/dist/chunks/{state-z89zfw7h.js → persistent-pty-3pxm667c.js} +28 -28
- package/dist/chunks/{state-t2y7bdcw.js → persistent-pty-3r587zht.js} +15 -15
- package/dist/chunks/{state-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-k9jq8a9f.js → persistent-pty-42qnv940.js} +30 -30
- package/dist/chunks/{state-gaabptfq.js → persistent-pty-4gkdfnn9.js} +25 -25
- package/dist/chunks/{state-jvmjd6nh.js → persistent-pty-4vfrtg94.js} +15 -15
- package/dist/chunks/{state-gw7cjrad.js → persistent-pty-4z58m4b4.js} +4 -4
- package/dist/chunks/{state-cyzep8tn.js → persistent-pty-52wkb7v6.js} +4 -4
- package/dist/chunks/{state-54ma36ye.js → persistent-pty-54ma36ye.js} +1 -1
- package/dist/chunks/{state-bxkmvfck.js → persistent-pty-569s51gv.js} +27 -27
- package/dist/chunks/{state-7mtsxbrk.js → persistent-pty-58cqhhht.js} +18 -18
- package/dist/chunks/{state-yknhy38n.js → persistent-pty-5bcesxs9.js} +50 -50
- package/dist/chunks/{state-ss358qx3.js → persistent-pty-5epte933.js} +3 -3
- package/dist/chunks/{state-txm3e8qz.js → persistent-pty-5fec3t3w.js} +9 -9
- package/dist/chunks/{state-w8zb7k19.js → persistent-pty-5gz9c728.js} +14 -14
- package/dist/chunks/{state-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-d2m5w5xb.js → persistent-pty-5tdr691p.js} +50 -50
- package/dist/chunks/{state-ykry54sk.js → persistent-pty-5vz17b4s.js} +31 -31
- package/dist/chunks/{state-xbg4wfgw.js → persistent-pty-61q6e95h.js} +9 -9
- package/dist/chunks/{state-11ca2t5k.js → persistent-pty-634seer4.js} +43 -43
- package/dist/chunks/{state-4v653aq5.js → persistent-pty-64wq75pw.js} +4 -4
- package/dist/chunks/{state-1xzgq0dt.js → persistent-pty-6894dtb6.js} +15 -15
- package/dist/chunks/{state-2wy3czpc.js → persistent-pty-68j1m62m.js} +1 -1
- package/dist/chunks/{state-efpar2mq.js → persistent-pty-6c8xqbzr.js} +3 -3
- package/dist/chunks/{state-ny5dcp87.js → persistent-pty-6dnepcx2.js} +29 -29
- package/dist/chunks/{state-6ee6mja4.js → persistent-pty-6hf42gwj.js} +14 -14
- package/dist/chunks/{state-8sze2n9a.js → persistent-pty-6pc27hjz.js} +2 -2
- package/dist/chunks/{state-6xb47vfp.js → persistent-pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-k0b9ft2z.js → persistent-pty-6z6j1hvd.js} +13 -13
- package/dist/chunks/{state-adnxhg2x.js → persistent-pty-6zz29p9f.js} +35 -35
- package/dist/chunks/{state-jqd3eecq.js → persistent-pty-701ma3hz.js} +13 -13
- package/dist/chunks/{state-b7ag9snz.js → persistent-pty-738f4ns0.js} +40 -40
- package/dist/chunks/{state-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-adrw5mdv.js → persistent-pty-7etbtvrg.js} +79 -79
- package/dist/chunks/{state-6xpm1twa.js → persistent-pty-7nzg23qc.js} +10 -10
- package/dist/chunks/{state-wzkn9px2.js → persistent-pty-7rk69q0z.js} +6 -6
- package/dist/chunks/{state-0557p3be.js → persistent-pty-84q8ddyg.js} +35 -35
- package/dist/chunks/{state-84txncab.js → persistent-pty-84txncab.js} +1 -1
- package/dist/chunks/{state-cfnx7scx.js → persistent-pty-8813t3ja.js} +58 -58
- package/dist/chunks/{state-f80x16a8.js → persistent-pty-89eza7wr.js} +11 -11
- package/dist/chunks/{state-x1hcexjc.js → persistent-pty-89xxfcnj.js} +3 -3
- package/dist/chunks/{state-89znhe33.js → persistent-pty-89znhe33.js} +1 -1
- package/dist/chunks/{state-jjw261ry.js → persistent-pty-8bve28yq.js} +19 -19
- package/dist/chunks/{state-hn57h045.js → persistent-pty-8gxqpgph.js} +4 -4
- package/dist/chunks/{state-xjk7skpn.js → persistent-pty-8hdcmxy1.js} +23 -23
- package/dist/chunks/{state-x4adhrm2.js → persistent-pty-8km2h22m.js} +44 -44
- package/dist/chunks/{state-8m6m0r52.js → persistent-pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-x52x10kp.js → persistent-pty-8v692fxg.js} +22 -22
- package/dist/chunks/{state-f06gwrsq.js → persistent-pty-8vhvath1.js} +5 -5
- package/dist/chunks/{state-dfam6ca0.js → persistent-pty-8ztybvde.js} +12 -12
- package/dist/chunks/{state-83exb234.js → persistent-pty-8zz30m54.js} +19 -19
- package/dist/chunks/{state-3y03j49s.js → persistent-pty-90shh64c.js} +9 -9
- package/dist/chunks/{state-5jsc8r4j.js → persistent-pty-90y2bcva.js} +15 -15
- package/dist/chunks/{state-91qna3x0.js → persistent-pty-91qna3x0.js} +3 -3
- package/dist/chunks/{state-rc1szs54.js → persistent-pty-93224vja.js} +6 -6
- package/dist/chunks/{state-1hrrgg86.js → persistent-pty-94sdztrq.js} +331 -331
- package/dist/chunks/{state-j9z6me7c.js → persistent-pty-955crbjz.js} +9 -9
- package/dist/chunks/{state-b96c8sgz.js → persistent-pty-9cv60dsd.js} +43 -43
- package/dist/chunks/{state-pa8pe2x7.js → persistent-pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{state-wm17x2yg.js → persistent-pty-9thege9a.js} +18 -18
- package/dist/chunks/{state-edrmdtr5.js → persistent-pty-a2ew8a62.js} +7 -7
- package/dist/chunks/{state-rpgyk1wb.js → persistent-pty-a2zybenq.js} +19 -19
- package/dist/chunks/{state-zx4tn7qt.js → persistent-pty-a45pyh1f.js} +3 -3
- package/dist/chunks/{state-rjjk3vjj.js → persistent-pty-a5mn6de8.js} +20 -20
- package/dist/chunks/{state-r96659h9.js → persistent-pty-aat6v70y.js} +40 -40
- package/dist/chunks/{state-2r93mh4x.js → persistent-pty-agxmfjyz.js} +12 -12
- package/dist/chunks/{state-kg8sbxbz.js → persistent-pty-atfs7mew.js} +20 -20
- package/dist/chunks/{state-1p1kcw92.js → persistent-pty-avs8edt6.js} +11 -11
- package/dist/chunks/{state-zyk1yjk8.js → persistent-pty-b3f8fkhc.js} +5 -5
- package/dist/chunks/{state-9bm5c0md.js → persistent-pty-b4tw85s5.js} +19 -19
- package/dist/chunks/{state-5zrs708t.js → persistent-pty-bfh6ts0t.js} +19 -19
- package/dist/chunks/{state-hazngtky.js → persistent-pty-bphmfkp7.js} +4 -4
- package/dist/chunks/{state-es1vcfrp.js → persistent-pty-c1fqxshp.js} +3 -3
- package/dist/chunks/{state-hdn8e5hd.js → persistent-pty-cdxr622n.js} +1 -1
- package/dist/chunks/{state-58peq4z0.js → persistent-pty-cexy6923.js} +3 -3
- package/dist/chunks/{state-qjcd7mbq.js → persistent-pty-cf44fsv6.js} +19 -19
- package/dist/chunks/{state-1yceajqh.js → persistent-pty-cmd80gk0.js} +28 -28
- package/dist/chunks/{state-e6g20vae.js → persistent-pty-cpav9ert.js} +34 -34
- package/dist/chunks/{state-rxg074bj.js → persistent-pty-cphsypwy.js} +22 -22
- package/dist/chunks/{state-qp1byhys.js → persistent-pty-cw4cmn70.js} +1 -1
- package/dist/chunks/{state-djj1n09f.js → persistent-pty-d5xadgfy.js} +7 -7
- package/dist/chunks/{state-9rbc7h43.js → persistent-pty-dmfebxy7.js} +22 -22
- package/dist/chunks/{state-4g85bg4y.js → persistent-pty-dqtqfvp1.js} +20 -20
- package/dist/chunks/{state-xfkkasph.js → persistent-pty-drwq78ky.js} +4 -4
- package/dist/chunks/{state-k8ktzaxx.js → persistent-pty-dxjhrr1d.js} +21 -21
- package/dist/chunks/{state-vqfzq50h.js → persistent-pty-dzse07y5.js} +6 -6
- package/dist/chunks/{state-rccpv2ye.js → persistent-pty-e0hy65w0.js} +14 -14
- package/dist/chunks/{state-qv34d5f9.js → persistent-pty-e14jwtmp.js} +15 -15
- package/dist/chunks/{state-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-9ndy2hht.js → persistent-pty-e6bj23tj.js} +15 -15
- package/dist/chunks/{state-z3a8mnsb.js → persistent-pty-e8e8f3ja.js} +42 -42
- package/dist/chunks/{state-8472ey6f.js → persistent-pty-e8kqavre.js} +28 -28
- package/dist/chunks/{state-eej6y6fw.js → persistent-pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-0cg871e2.js → persistent-pty-eh6ej367.js} +5 -5
- package/dist/chunks/{state-2j0vym9z.js → persistent-pty-ezr5zw50.js} +27 -27
- package/dist/chunks/{state-24myjta5.js → persistent-pty-f0d3kyvk.js} +6 -6
- package/dist/chunks/{state-171hx01y.js → persistent-pty-f456mqff.js} +15 -15
- package/dist/chunks/{state-5av0yrf2.js → persistent-pty-f4mdd15q.js} +33 -33
- package/dist/chunks/{state-83tfp6t6.js → persistent-pty-faewp65y.js} +17 -17
- package/dist/chunks/{state-qp0mnk5r.js → persistent-pty-fhs0xn1t.js} +3 -3
- package/dist/chunks/{state-72cj47zm.js → persistent-pty-fkn54x0f.js} +11 -11
- package/dist/chunks/{state-82qb1t6x.js → persistent-pty-fkpjc2rv.js} +11 -11
- package/dist/chunks/{state-khmqacep.js → persistent-pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{state-mnvbn3nr.js → persistent-pty-fyav22tq.js} +9 -9
- package/dist/chunks/{state-wrt27mz2.js → persistent-pty-g0e7481p.js} +11 -11
- package/dist/chunks/{state-t8neg7x7.js → persistent-pty-g6q22p7g.js} +25 -25
- package/dist/chunks/{state-4tm360fx.js → persistent-pty-g866pcx9.js} +11 -11
- package/dist/chunks/{state-7zt5x37y.js → persistent-pty-gd0tnyjc.js} +1 -1
- package/dist/chunks/{state-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-a5ah3nzf.js → persistent-pty-gex86280.js} +20 -20
- package/dist/chunks/{state-gk8qb678.js → persistent-pty-gk8qb678.js} +1 -1
- package/dist/chunks/{state-87bedf94.js → persistent-pty-gmtsq7zw.js} +7 -7
- package/dist/chunks/{state-9f40cav3.js → persistent-pty-gpk600j1.js} +13 -13
- package/dist/chunks/{state-xw7yq2vg.js → persistent-pty-grey5ade.js} +32 -32
- package/dist/chunks/{state-ghsw8zx7.js → persistent-pty-gsd95hce.js} +13 -13
- package/dist/chunks/{state-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-h7s7r6s9.js → persistent-pty-h7s7r6s9.js} +2 -2
- package/dist/chunks/{state-a0x3wzs7.js → persistent-pty-h9azkfyn.js} +35 -35
- package/dist/chunks/{state-dyabj6q8.js → persistent-pty-h9d22378.js} +15 -15
- package/dist/chunks/{state-hgz4x7wa.js → persistent-pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{state-pdhsfkgt.js → persistent-pty-hnv2pp8r.js} +14 -14
- package/dist/chunks/{state-k6dq7md3.js → persistent-pty-hp24zg0v.js} +20 -20
- package/dist/chunks/{state-ej0jrn3e.js → persistent-pty-hqrz8ks6.js} +12 -12
- package/dist/chunks/{state-zj4r7vbk.js → persistent-pty-hv8vheb4.js} +3 -3
- package/dist/chunks/{state-sc2t89x6.js → persistent-pty-hzecydg6.js} +14 -14
- package/dist/chunks/{state-36n3adjp.js → persistent-pty-j4pfkapa.js} +22 -22
- package/dist/chunks/{state-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{state-y5rf7nzv.js → persistent-pty-j8m1p4p1.js} +4 -4
- package/dist/chunks/{state-nza4bhrq.js → persistent-pty-ja3e6986.js} +8 -8
- package/dist/chunks/{state-px6rtfw4.js → persistent-pty-jbhnyrkm.js} +12 -12
- package/dist/chunks/{state-ccx2wqdd.js → persistent-pty-jka8wpce.js} +6 -6
- package/dist/chunks/{state-x63y8anf.js → persistent-pty-jvp385my.js} +4 -4
- package/dist/chunks/{state-8enzew06.js → persistent-pty-k1rn6435.js} +32 -32
- package/dist/chunks/{state-0ww3hhrw.js → persistent-pty-kar50817.js} +4 -4
- package/dist/chunks/{state-pz9yt98x.js → persistent-pty-kkrhqh6v.js} +9 -9
- package/dist/chunks/{state-pyg4v0b6.js → persistent-pty-kqx1b4hy.js} +4 -4
- package/dist/chunks/{state-0sakkys5.js → persistent-pty-m6dfkh4w.js} +10 -10
- package/dist/chunks/{state-c765mh8b.js → persistent-pty-m8w6th39.js} +9 -9
- package/dist/chunks/{state-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-b3d5k4tq.js → persistent-pty-mpye8y33.js} +9 -9
- package/dist/chunks/{state-mxwkr8w2.js → persistent-pty-mx2cfqsv.js} +9 -9
- package/dist/chunks/{state-b8zqr6yd.js → persistent-pty-n1a1n825.js} +11 -11
- package/dist/chunks/{state-krdw763r.js → persistent-pty-na2yjdh0.js} +34 -34
- package/dist/chunks/{state-phz50fbd.js → persistent-pty-nd4tfyg0.js} +9 -9
- package/dist/chunks/{state-jqpbgzsk.js → persistent-pty-nganhbx0.js} +10 -10
- package/dist/chunks/{state-hd86p3k8.js → persistent-pty-nk0sw8df.js} +4 -4
- package/dist/chunks/{state-2fr77vvd.js → persistent-pty-nnc7vpek.js} +22 -22
- package/dist/chunks/{state-d5nwps6r.js → persistent-pty-nsrqd5vn.js} +1 -1
- package/dist/chunks/{state-rg9sha5m.js → persistent-pty-nx42me8w.js} +9 -9
- package/dist/chunks/{state-wtdq1xvb.js → persistent-pty-p6r2aq8t.js} +22 -22
- package/dist/chunks/{state-krjewr0x.js → persistent-pty-pjkmwrrf.js} +32 -32
- package/dist/chunks/{state-bh3znjnz.js → persistent-pty-pjsfg289.js} +29 -29
- package/dist/chunks/{state-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{state-1jpgqh2z.js → persistent-pty-pp537qc4.js} +24 -24
- package/dist/chunks/{state-ywszk2jg.js → persistent-pty-ps96y3dp.js} +5 -5
- package/dist/chunks/{state-9qd4mbdw.js → persistent-pty-q0n7r88m.js} +69 -69
- package/dist/chunks/{state-vbv3keym.js → persistent-pty-q1rsbgjb.js} +11 -11
- package/dist/chunks/{state-kkp8zx71.js → persistent-pty-qbqbaz6q.js} +4 -4
- package/dist/chunks/{state-x372j2ps.js → persistent-pty-qftzrsf9.js} +32 -32
- package/dist/chunks/{state-qnc92qwc.js → persistent-pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-63db42yp.js → persistent-pty-qp9vg2jq.js} +2 -2
- package/dist/chunks/{state-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{state-r02hbddp.js → persistent-pty-qxrb0a0w.js} +18 -18
- package/dist/chunks/{state-z88250gw.js → persistent-pty-qxyen8t8.js} +21 -21
- package/dist/chunks/{state-1acjjqhc.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{state-jjneh92f.js → persistent-pty-r91gjw8r.js} +16 -16
- package/dist/chunks/{state-a7e5kesa.js → persistent-pty-r94ff4c7.js} +2 -2
- package/dist/chunks/{state-nh7hmz05.js → persistent-pty-ra3p1t16.js} +5 -5
- package/dist/chunks/{state-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-tkb22qbm.js → persistent-pty-rert0e01.js} +2 -2
- package/dist/chunks/{state-eaj1djv9.js → persistent-pty-rhjbct0v.js} +8 -8
- package/dist/chunks/{state-c41wscbt.js → persistent-pty-rj3eygr5.js} +2 -2
- package/dist/chunks/{state-cwmk4gds.js → persistent-pty-rm2gr2zw.js} +9 -9
- package/dist/chunks/{state-2qhyej25.js → persistent-pty-rthjw13s.js} +19 -19
- package/dist/chunks/{state-h93dctaq.js → persistent-pty-s3rjfqbz.js} +11 -11
- package/dist/chunks/{state-ndkkganb.js → persistent-pty-s538wvfd.js} +20 -20
- package/dist/chunks/{state-c8ax2afj.js → persistent-pty-sa8ekw3f.js} +2 -2
- package/dist/chunks/{state-b7e85k7b.js → persistent-pty-sbd1m1b7.js} +29 -29
- package/dist/chunks/{state-88xma3a9.js → persistent-pty-sbgx06h9.js} +11 -11
- package/dist/chunks/{state-vvdwz8bp.js → persistent-pty-sbvtryh7.js} +12 -12
- package/dist/chunks/{state-cnv8w6dz.js → persistent-pty-sghgg3s0.js} +93 -93
- package/dist/chunks/{state-ftz7pznp.js → persistent-pty-sjaxrz5m.js} +10 -10
- package/dist/chunks/{state-m3gr93j5.js → persistent-pty-sncdfffp.js} +14 -14
- package/dist/chunks/{state-ahqtxjpt.js → persistent-pty-stbxd7bn.js} +13 -13
- package/dist/chunks/{state-e5wg3wb1.js → persistent-pty-sxbw7s6f.js} +24 -24
- package/dist/chunks/{state-sxcaecc0.js → persistent-pty-sxcaecc0.js} +1 -1
- package/dist/chunks/{state-4gbdxvwm.js → persistent-pty-syp6aatx.js} +17 -17
- package/dist/chunks/{state-syv4x271.js → persistent-pty-syv4x271.js} +1 -1
- package/dist/chunks/{state-72xps0ff.js → persistent-pty-t5rwxd7y.js} +28 -28
- package/dist/chunks/{state-vztm24v3.js → persistent-pty-t7yfe90q.js} +46 -46
- package/dist/chunks/{state-9a7pyw65.js → persistent-pty-tazea7qp.js} +35 -35
- package/dist/chunks/{state-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{state-3yqqv8dh.js → persistent-pty-tgr3sw9p.js} +39 -39
- package/dist/chunks/{state-tvwsnpay.js → persistent-pty-ts4rn5wj.js} +5 -5
- package/dist/chunks/{state-tyytaxap.js → persistent-pty-tyytaxap.js} +1 -1
- package/dist/chunks/{state-v0es1rhs.js → persistent-pty-v0es1rhs.js} +2 -2
- package/dist/chunks/persistent-pty-v1faaxn9.js +18 -0
- package/dist/chunks/{state-v7p4zvkq.js → persistent-pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{state-x39s0e6k.js → persistent-pty-vcb8c7ee.js} +16 -16
- package/dist/chunks/{state-cfyzhaat.js → persistent-pty-vck5jyqy.js} +11 -11
- package/dist/chunks/{state-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{state-vv5tc97j.js → persistent-pty-vh135k6x.js} +14 -14
- package/dist/chunks/{state-w88g6rmw.js → persistent-pty-vhyre1cv.js} +5 -5
- package/dist/chunks/{state-2zxcz0hw.js → persistent-pty-vn1b2x6c.js} +27 -27
- package/dist/chunks/{state-ybtjykms.js → persistent-pty-vxywbpnc.js} +5 -5
- package/dist/chunks/{state-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-w39jehkq.js → persistent-pty-w2h15q85.js} +5 -5
- package/dist/chunks/{state-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-ckxmgpbg.js → persistent-pty-w851cde3.js} +27 -27
- package/dist/chunks/{state-n5my2xp1.js → persistent-pty-wd47s8yt.js} +17 -17
- package/dist/chunks/{state-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{state-fdqap5k5.js → persistent-pty-wdg4dznf.js} +173 -173
- package/dist/chunks/{state-51wkfrt1.js → persistent-pty-wrazxve0.js} +2 -2
- package/dist/chunks/{state-0dfgejyr.js → persistent-pty-wt8rq1bh.js} +8 -8
- package/dist/chunks/{state-29c6hkck.js → persistent-pty-wv7c6n2j.js} +7 -7
- package/dist/chunks/{state-42y89c4e.js → persistent-pty-wvf4y7rr.js} +24 -24
- package/dist/chunks/{state-wjqb2vp5.js → persistent-pty-x2aynqqh.js} +9 -9
- package/dist/chunks/{state-db2wf4at.js → persistent-pty-x661k3y3.js} +4 -4
- package/dist/chunks/{state-jznafckq.js → persistent-pty-x7hadnwb.js} +11 -11
- package/dist/chunks/{state-cg9scsxc.js → persistent-pty-x7zkx1rm.js} +46 -46
- package/dist/chunks/{state-1v5f3sf1.js → persistent-pty-xa9kdnre.js} +13 -13
- package/dist/chunks/{state-35rvysyk.js → persistent-pty-xax0y1c2.js} +3 -3
- package/dist/chunks/{state-77nza94r.js → persistent-pty-xd5pbsdm.js} +13 -13
- package/dist/chunks/{state-1nzh38e4.js → persistent-pty-y0mc46pw.js} +9 -9
- package/dist/chunks/{state-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-hdxgsgcv.js → persistent-pty-y5pr3jtj.js} +5 -5
- package/dist/chunks/{state-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{state-fbw9agv5.js → persistent-pty-y73n6frr.js} +35 -35
- package/dist/chunks/{state-emzsebxx.js → persistent-pty-ydgy0jv4.js} +6 -6
- package/dist/chunks/{state-9bxt77bv.js → persistent-pty-yka93msf.js} +65 -65
- package/dist/chunks/{state-2p5arddx.js → persistent-pty-ykj0gtdh.js} +13 -13
- package/dist/chunks/{state-hcv80w8f.js → persistent-pty-ynmknp8q.js} +11 -11
- package/dist/chunks/{state-ywt8jp22.js → persistent-pty-ywt8jp22.js} +2 -2
- package/dist/chunks/{state-50jyrsbn.js → persistent-pty-yx87fey7.js} +17 -17
- package/dist/chunks/{state-m93cgr6s.js → persistent-pty-yyqwftvn.js} +8 -8
- package/dist/chunks/{state-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-n8axfj05.js → persistent-pty-z1e0ewtp.js} +5 -5
- package/dist/chunks/{state-gtx4ax2e.js → persistent-pty-z5j4efsn.js} +46 -46
- package/dist/chunks/{state-ghhxwymr.js → persistent-pty-zfth3bf2.js} +13 -13
- package/dist/chunks/{state-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-s5qxm7c2.js → persistent-pty-zxxyec0p.js} +11 -11
- package/dist/chunks/{state-1msdpkf3.js → persistent-pty-zz23ack4.js} +12 -12
- package/dist/chunks/{state-dp1z867b.js → persistent-pty-zze9cfmm.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +92 -92
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- 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 +350 -350
- 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 +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- 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 +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-9zdhvgqs.js +0 -18
- package/dist/chunks/state-y2yc1hmv.js +0 -253
- /package/dist/chunks/{state-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → persistent-pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-bw78ga2c.js → persistent-pty-bw78ga2c.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-pyv0edze.js → persistent-pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./persistent-pty-vh135k6x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node79
|
|
13
|
+
} from "./persistent-pty-zze9cfmm.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event20,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput5,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError10,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service75,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node78
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -82,7 +82,7 @@ var Content3 = Schema.Struct({
|
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput5 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event20 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service75 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service80;
|
|
115
|
+
const search = yield* Service76;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError10({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service75.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError10({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node78 = makeLocationNode({
|
|
175
|
+
service: Service75,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node84, node79]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service75, node78, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node68
|
|
18
|
+
} from "./persistent-pty-dqtqfvp1.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event12,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service64,
|
|
35
|
+
Source: () => Source5,
|
|
36
|
+
node: () => node67
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event12 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source5 = Reference.Source;
|
|
46
|
+
var Info14 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service64 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service65;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info14.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info14.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service64.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node67 = makeLocationNode({
|
|
116
|
+
service: Service64,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node68]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source5, Info14, Service64, node67, exports_reference2, Event12 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./persistent-pty-42qnv940.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service29,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node32
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID3,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service30;
|
|
67
|
+
return Service29.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
69
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make20({
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node33] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service29, node32, exports_instructions5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-y73n6frr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -35,15 +35,15 @@ var AmazonBedrockPlugin2 = define({
|
|
|
35
35
|
})))).filter(Boolean).toSorted();
|
|
36
36
|
yield* ctx.integration.transform((editor) => {
|
|
37
37
|
editor.method.update({
|
|
38
|
-
integrationID:
|
|
38
|
+
integrationID: ID12.amazonBedrock,
|
|
39
39
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
40
40
|
});
|
|
41
41
|
editor.method.update({
|
|
42
|
-
integrationID:
|
|
42
|
+
integrationID: ID12.amazonBedrock,
|
|
43
43
|
method: { type: "key", label: "Bedrock API key" }
|
|
44
44
|
});
|
|
45
45
|
editor.method.update({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.amazonBedrock,
|
|
47
47
|
method: {
|
|
48
48
|
id: "aws-profile",
|
|
49
49
|
type: "external",
|
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-hv8vheb4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./persistent-pty-sbvtryh7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-0zdym56s.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-kqx1b4hy.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-4z58m4b4.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-avs8edt6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service57,
|
|
33
|
+
node60
|
|
34
|
+
} from "./persistent-pty-1j1f6xcv.js";
|
|
35
35
|
import {
|
|
36
36
|
Service42,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node45
|
|
38
|
+
} from "./persistent-pty-6dnepcx2.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./persistent-pty-2vvh33eb.js";
|
|
42
42
|
import {
|
|
43
43
|
Service27,
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
node30
|
|
45
|
+
} from "./persistent-pty-vxywbpnc.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-j4pfkapa.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make10
|
|
51
|
+
} from "./persistent-pty-b3f8fkhc.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./persistent-pty-vhyre1cv.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service8,
|
|
57
|
+
node10,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./persistent-pty-738f4ns0.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service19,
|
|
62
|
+
node23
|
|
63
|
+
} from "./persistent-pty-7etbtvrg.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./persistent-pty-0e0f2wa7.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service9,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node11
|
|
73
|
+
} from "./persistent-pty-sbd1m1b7.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service49
|
|
77
|
+
} from "./persistent-pty-8gxqpgph.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node37
|
|
80
|
+
} from "./persistent-pty-qxyen8t8.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node36
|
|
83
|
+
} from "./persistent-pty-zxxyec0p.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
make9
|
|
87
|
+
} from "./persistent-pty-hp24zg0v.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service24
|
|
90
|
+
} from "./persistent-pty-v1faaxn9.js";
|
|
91
91
|
import {
|
|
92
92
|
node18
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./persistent-pty-a5mn6de8.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./persistent-pty-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node8
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
113
|
+
const bus = yield* Service83;
|
|
114
114
|
const lifecycle = yield* Service42;
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
115
|
+
const store = yield* Service57;
|
|
116
|
+
const context = yield* Service19;
|
|
117
117
|
const modelTransport = yield* Service27;
|
|
118
118
|
const db = (yield* Service85).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service8;
|
|
120
|
+
const plugins = yield* Service24;
|
|
121
|
+
const title = yield* Service9;
|
|
122
|
+
const steps = yield* make9;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make10(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service49.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node8 = makeLocationNode({
|
|
362
|
+
service: Service49,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
node87,
|
|
366
|
+
node45,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
node23,
|
|
369
|
+
node30,
|
|
370
|
+
node60,
|
|
371
|
+
node10,
|
|
372
372
|
node18,
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
373
|
+
node11,
|
|
374
|
+
node37,
|
|
375
|
+
node36,
|
|
376
376
|
node89
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node8, exports_llm };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./persistent-pty-wvf4y7rr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./persistent-pty-8km2h22m.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7rk69q0z.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin32 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service66;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service67;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin6 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin32, exports_compatibility };
|