@opencode/core 0.0.0-dev-21177 → 0.0.0-dev-21196
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{pty-qh8vdwx1.js → session-07770t2t.js} +6 -6
- package/dist/chunks/{pty-a0r78awy.js → session-07zkc9xv.js} +10 -10
- package/dist/chunks/{pty-fhh11s5w.js → session-08mhz53j.js} +10 -10
- package/dist/chunks/{pty-jeqqnt0n.js → session-0am6x16z.js} +171 -171
- package/dist/chunks/{pty-sa09w3ef.js → session-0cwaesxa.js} +36 -36
- package/dist/chunks/{pty-y9exhfjj.js → session-0g4r5b31.js} +16 -16
- package/dist/chunks/{pty-0ss45e0g.js → session-0m069fak.js} +18 -18
- package/dist/chunks/{pty-h7nv9fm5.js → session-0q44ts6j.js} +15 -15
- package/dist/chunks/{pty-0vbcp93d.js → session-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-q62wak94.js → session-17eyxr5q.js} +15 -15
- package/dist/chunks/{pty-yp2x3t23.js → session-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-qzsep9jm.js → session-1h37j0f5.js} +23 -23
- package/dist/chunks/{pty-jkg51xq8.js → session-1mt17hyv.js} +18 -18
- package/dist/chunks/{pty-14wynrn6.js → session-1ttt7q4w.js} +34 -34
- package/dist/chunks/{pty-hj273wnv.js → session-1zg1sjqp.js} +1 -1
- package/dist/chunks/{pty-aw5400a1.js → session-1zm70acg.js} +9 -9
- package/dist/chunks/{pty-p4pkk9xt.js → session-24s8e1ye.js} +11 -11
- package/dist/chunks/{pty-k8h85fj7.js → session-251hxpd6.js} +2 -2
- package/dist/chunks/{pty-fn9t717r.js → session-25yddszk.js} +6 -6
- package/dist/chunks/{pty-brpn0yq7.js → session-2d3jn16n.js} +8 -8
- package/dist/chunks/{pty-7k8jbme7.js → session-2nzyk9j6.js} +34 -34
- package/dist/chunks/{pty-7y4pe9zb.js → session-2pb02ypr.js} +17 -17
- package/dist/chunks/{pty-sn3stvbn.js → session-2v5zfjmm.js} +37 -37
- package/dist/chunks/{pty-k76gfw63.js → session-327tb77r.js} +6 -6
- package/dist/chunks/{pty-vv9rr97d.js → session-34v72sbx.js} +8 -8
- package/dist/chunks/{pty-37sfe3bm.js → session-37sfe3bm.js} +3 -3
- package/dist/chunks/{pty-1fde4gmb.js → session-3b68eqgm.js} +3 -3
- package/dist/chunks/{pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-x3kre6es.js → session-3kk2vcwf.js} +1 -1
- package/dist/chunks/{pty-frxe1693.js → session-3nbrsfn8.js} +11 -11
- package/dist/chunks/{pty-m2nf4q9z.js → session-3qjsqank.js} +14 -14
- package/dist/chunks/{pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-deyktbey.js → session-3zhtdb73.js} +11 -11
- package/dist/chunks/{pty-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-r61qxybf.js → session-3zy697b6.js} +8 -8
- package/dist/chunks/{pty-q1r0pa81.js → session-40j7x69h.js} +4 -4
- package/dist/chunks/{pty-6afr2rje.js → session-45armkgy.js} +13 -13
- package/dist/chunks/{pty-vcqq2ea7.js → session-4a40mkh8.js} +10 -10
- package/dist/chunks/{pty-2ktf0ed2.js → session-4e8vs6eh.js} +8 -8
- package/dist/chunks/{pty-69nb7mte.js → session-4edjz20g.js} +11 -11
- package/dist/chunks/{pty-a0bbkc97.js → session-4jh07gbm.js} +324 -324
- package/dist/chunks/{pty-hr141zjg.js → session-4mdrqyk6.js} +11 -11
- package/dist/chunks/{pty-35ddvwna.js → session-4x2sf6yp.js} +4 -4
- package/dist/chunks/{pty-c23c3mz0.js → session-52pc8vkw.js} +20 -20
- package/dist/chunks/{pty-8ww2gede.js → session-52w29975.js} +3 -3
- package/dist/chunks/{pty-54ma36ye.js → session-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-0xndvgp0.js → session-57h50yyh.js} +8 -8
- package/dist/chunks/{pty-6yz0wx8n.js → session-57myy5jh.js} +5 -5
- package/dist/chunks/{pty-wb9rhkdy.js → session-5a73w4vz.js} +46 -46
- package/dist/chunks/{pty-djszqvmq.js → session-5d607bsg.js} +9 -9
- package/dist/chunks/{pty-h9wp8z5w.js → session-5dkn69vz.js} +4 -4
- package/dist/chunks/{pty-5m9w47nd.js → session-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-z8esweh3.js → session-5ppsps6j.js} +24 -24
- package/dist/chunks/{pty-pp87jdt4.js → session-5sajzfvj.js} +18 -18
- package/dist/chunks/{pty-hbazd458.js → session-5scgcqv4.js} +24 -24
- package/dist/chunks/{pty-yfzaheh6.js → session-5v2ab2mm.js} +28 -28
- package/dist/chunks/{pty-72b35rd4.js → session-5vpbbhng.js} +12 -12
- package/dist/chunks/{pty-6827pfxn.js → session-6827pfxn.js} +1 -1
- package/dist/chunks/{pty-d9vhn3nc.js → session-6bc88qdc.js} +10 -10
- package/dist/chunks/{pty-z0scchpv.js → session-6ben36ke.js} +20 -20
- package/dist/chunks/{pty-g049fyg0.js → session-6pfqvbnd.js} +15 -15
- package/dist/chunks/{pty-6xb47vfp.js → session-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-775gj3j1.js → session-775gj3j1.js} +2 -2
- package/dist/chunks/{pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-7dqw4kz8.js → session-7dqw4kz8.js} +1 -1
- package/dist/chunks/{pty-e5dabrwz.js → session-7xhb0h81.js} +10 -10
- package/dist/chunks/{pty-vbfgae2j.js → session-80scg3y3.js} +4 -4
- package/dist/chunks/{pty-84txncab.js → session-84txncab.js} +1 -1
- package/dist/chunks/{pty-axj4d8xa.js → session-862h3nm6.js} +29 -29
- package/dist/chunks/{pty-rnmvysgz.js → session-86pdatkp.js} +4 -4
- package/dist/chunks/{pty-b5k0m31y.js → session-8brhg9gd.js} +5 -5
- package/dist/chunks/{pty-sajpmnx7.js → session-8gm89svk.js} +9 -9
- package/dist/chunks/{pty-aqrjem7b.js → session-8kce9k65.js} +17 -17
- package/dist/chunks/{pty-8m6m0r52.js → session-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-4esk8sqt.js → session-8p5w1198.js} +13 -13
- package/dist/chunks/{pty-c29rd6g0.js → session-8q840yff.js} +5 -5
- package/dist/chunks/{pty-py3kkmfq.js → session-8sze2n9a.js} +6 -6
- package/dist/chunks/{pty-ybqv58y2.js → session-8tsj1m47.js} +20 -20
- package/dist/chunks/{pty-va5r0dq2.js → session-8v3yhwhh.js} +6 -6
- package/dist/chunks/{pty-91qna3x0.js → session-91qna3x0.js} +3 -3
- package/dist/chunks/session-94980zjp.js +26 -0
- package/dist/chunks/{pty-967benbv.js → session-967benbv.js} +3 -3
- package/dist/chunks/{pty-4z5pf2em.js → session-9agccwyy.js} +17 -17
- package/dist/chunks/{pty-5w01hbp6.js → session-9hcsvc1w.js} +11 -11
- package/dist/chunks/{pty-3cxe0ccz.js → session-9q1wa8jt.js} +32 -32
- package/dist/chunks/{pty-cansen50.js → session-9vk1592k.js} +8 -8
- package/dist/chunks/{pty-gd41frsq.js → session-abaq9b06.js} +14 -14
- package/dist/chunks/{pty-mxvxcxwy.js → session-addxnjmp.js} +4 -4
- package/dist/chunks/{pty-qfrtht0v.js → session-agk19fa8.js} +22 -22
- package/dist/chunks/{pty-hgpdn4cj.js → session-as8m02yv.js} +11 -11
- package/dist/chunks/{pty-88sqq7ae.js → session-b04b9d83.js} +32 -32
- package/dist/chunks/{pty-sq9yydtn.js → session-b5yk1hqp.js} +21 -21
- package/dist/chunks/{pty-bacj9t34.js → session-bxqk5pf5.js} +9 -9
- package/dist/chunks/{pty-1ep4rre3.js → session-bzeyqsqd.js} +4 -4
- package/dist/chunks/{pty-2yf9htnm.js → session-c18t8pvx.js} +2 -2
- package/dist/chunks/{pty-c1fqxshp.js → session-c1fqxshp.js} +3 -3
- package/dist/chunks/{pty-e80seqcp.js → session-c7zza6wf.js} +3 -3
- package/dist/chunks/{pty-1kmnnw2n.js → session-ce4hwwhq.js} +43 -43
- package/dist/chunks/{pty-fwkr8rng.js → session-cez5dwy3.js} +30 -30
- package/dist/chunks/{pty-68tnz3e8.js → session-cg5h75qc.js} +11 -11
- package/dist/chunks/{pty-xhfpyqwv.js → session-cqcy70tc.js} +11 -11
- package/dist/chunks/{pty-x21xsnty.js → session-cxwvzxhj.js} +5 -5
- package/dist/chunks/{pty-d1a28jh7.js → session-d1a28jh7.js} +2 -2
- package/dist/chunks/{pty-6cywv53g.js → session-d1f9rhhf.js} +7 -7
- package/dist/chunks/{pty-tafwdsvs.js → session-d6q61fm2.js} +3 -3
- package/dist/chunks/{pty-kj9v1f3y.js → session-da45etm6.js} +6 -6
- package/dist/chunks/{pty-apzkc9dc.js → session-dca9d40p.js} +1 -1
- package/dist/chunks/{pty-s7r2tet0.js → session-dg0rkqzx.js} +22 -22
- package/dist/chunks/{pty-4g4s6x68.js → session-dkgd9azv.js} +17 -17
- package/dist/chunks/{pty-p1rwgv3d.js → session-dnaktzx4.js} +11 -11
- package/dist/chunks/{pty-y71avatq.js → session-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-3b9qt4hj.js → session-e0r7vjdq.js} +9 -9
- package/dist/chunks/{pty-hfeceh65.js → session-e8k48h08.js} +27 -27
- package/dist/chunks/{pty-eej6y6fw.js → session-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-jr8d78rx.js → session-enwhczs2.js} +15 -15
- package/dist/chunks/{pty-ypxfhh66.js → session-eqnnydzc.js} +28 -28
- package/dist/chunks/{pty-jgvqkc2b.js → session-ev9k4mrx.js} +4 -4
- package/dist/chunks/{pty-0s4jjkv3.js → session-ewfnkn6y.js} +19 -19
- package/dist/chunks/{pty-9m6qkdem.js → session-exb59042.js} +18 -18
- package/dist/chunks/{pty-5xtgfte3.js → session-eys57y9b.js} +8 -8
- package/dist/chunks/{pty-cvftb236.js → session-f012ygas.js} +37 -37
- package/dist/chunks/{pty-zxxshg8d.js → session-f3g5pb33.js} +13 -13
- package/dist/chunks/{pty-d0epqsfp.js → session-f6jvbd2v.js} +50 -50
- package/dist/chunks/{pty-phb1sbsg.js → session-f9cb0gdc.js} +11 -11
- package/dist/chunks/{pty-vqjddh0d.js → session-fcgx0dst.js} +4 -4
- package/dist/chunks/{pty-fcy631f0.js → session-fcy631f0.js} +1 -1
- package/dist/chunks/{pty-k2yecyca.js → session-fk14zqh2.js} +33 -33
- package/dist/chunks/{pty-ysa5gsqv.js → session-fkvrqgqc.js} +26 -26
- package/dist/chunks/{pty-65wgkzmg.js → session-fmxhz0ed.js} +3 -3
- package/dist/chunks/{pty-ggbzsg95.js → session-fn4gymmk.js} +37 -37
- package/dist/chunks/{pty-ywxwm15a.js → session-fsgzxg71.js} +29 -29
- package/dist/chunks/{pty-hfbyhya8.js → session-fww2ha2b.js} +9 -9
- package/dist/chunks/{pty-6yvmd6g0.js → session-g4n46pfk.js} +5 -5
- package/dist/chunks/{pty-hzaj131z.js → session-g5fxy2nq.js} +20 -20
- package/dist/chunks/{pty-7k3t91vn.js → session-g6y13qfj.js} +12 -12
- package/dist/chunks/{pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-bfabrp63.js → session-gdr7yah3.js} +7 -7
- package/dist/chunks/{pty-s857ash9.js → session-gfhhve88.js} +5 -5
- package/dist/chunks/{pty-9xagcj41.js → session-ghan5k7b.js} +21 -21
- package/dist/chunks/{pty-909p1r3q.js → session-gjmk74th.js} +6 -6
- package/dist/chunks/{pty-v7xcn73q.js → session-gsnyd5qq.js} +7 -7
- package/dist/chunks/{pty-r04b27we.js → session-gzcba4vr.js} +12 -12
- package/dist/chunks/{pty-ret9kwh0.js → session-h3tx34cy.js} +26 -26
- package/dist/chunks/{pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-d0we51xq.js → session-haqdfn7v.js} +4 -4
- package/dist/chunks/{pty-835y3cmd.js → session-hd1aqq8x.js} +21 -21
- package/dist/chunks/{pty-fce1ctzp.js → session-hergaw3m.js} +30 -30
- package/dist/chunks/{pty-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-6q74b9t9.js → session-hk296knv.js} +21 -21
- package/dist/chunks/{pty-yn45kn81.js → session-hz2pkg7k.js} +37 -37
- package/dist/chunks/{pty-c2qwrsdn.js → session-j3j3tgj2.js} +13 -13
- package/dist/chunks/{pty-yqc6bamn.js → session-jhdf29st.js} +1 -1
- package/dist/chunks/session-jn394qkt.js +257 -0
- package/dist/chunks/{pty-628d53px.js → session-jpwn6maq.js} +18 -18
- package/dist/chunks/{pty-7dks1d1n.js → session-jqnfqjgv.js} +6 -6
- package/dist/chunks/{pty-s88jxsq4.js → session-jryhjkqt.js} +18 -18
- package/dist/chunks/{pty-n8j0ad3c.js → session-k00vd9yt.js} +3 -3
- package/dist/chunks/{pty-eqhzy62x.js → session-k6xgswqm.js} +15 -15
- package/dist/chunks/{pty-tnmnn7e4.js → session-k9ydqtpd.js} +28 -28
- package/dist/chunks/{pty-rwkv9rtx.js → session-kcgypbnv.js} +12 -12
- package/dist/chunks/{pty-st0368v5.js → session-kcvqd0yj.js} +3 -3
- package/dist/chunks/{pty-hq3c8me3.js → session-khmqacep.js} +4 -4
- package/dist/chunks/{pty-h2tq07ke.js → session-khsaz5gh.js} +11 -11
- package/dist/chunks/{pty-awrjh9yh.js → session-kks9pmtp.js} +5 -5
- package/dist/chunks/{pty-kqv3x6rj.js → session-kqv3x6rj.js} +1 -1
- package/dist/chunks/{pty-kqx1b4hy.js → session-kqx1b4hy.js} +4 -4
- package/dist/chunks/{pty-gv7bhpe8.js → session-kwad1sh5.js} +11 -11
- package/dist/chunks/{pty-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
- package/dist/chunks/{pty-efs6wv9h.js → session-m2bzzt7p.js} +17 -17
- package/dist/chunks/{pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-maspj1v3.js → session-maspj1v3.js} +1 -1
- package/dist/chunks/{pty-kmz0bz7s.js → session-mh2c4tf6.js} +18 -18
- package/dist/chunks/{pty-hghq5j4z.js → session-mj9acvkp.js} +5 -5
- package/dist/chunks/{pty-nmbh15fm.js → session-mswhj28y.js} +9 -9
- package/dist/chunks/{pty-7baah2nz.js → session-mtq2a6qw.js} +8 -8
- package/dist/chunks/{pty-8whp40kv.js → session-my4zabxr.js} +3 -3
- package/dist/chunks/{pty-4fnc5vpd.js → session-n0p6n9yd.js} +16 -16
- package/dist/chunks/{pty-2wak32hr.js → session-n21nsqmk.js} +85 -85
- package/dist/chunks/{pty-z6c3x22d.js → session-n8vdnqrc.js} +5 -5
- package/dist/chunks/session-n95b3jav.js +18 -0
- package/dist/chunks/{pty-rbnwg7cj.js → session-n9aa8gpn.js} +21 -21
- package/dist/chunks/{pty-y14wdc3z.js → session-nczg9rr4.js} +11 -11
- package/dist/chunks/{pty-z09azjc0.js → session-ngqa5r6j.js} +27 -27
- package/dist/chunks/{pty-g72yd4k4.js → session-nj7hqrdc.js} +5 -5
- package/dist/chunks/{pty-kxx41s58.js → session-p02qf9jk.js} +27 -27
- package/dist/chunks/{pty-1cy1fvz2.js → session-p9dp5wjj.js} +21 -21
- package/dist/chunks/{pty-p2ccqsff.js → session-pfapc97p.js} +31 -31
- package/dist/chunks/{pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{pty-rcgycnpc.js → session-px00td3z.js} +16 -16
- package/dist/chunks/{pty-vqeq0fhp.js → session-qe2098pz.js} +67 -67
- package/dist/chunks/{pty-gfwb8sf1.js → session-qgepxjn7.js} +14 -14
- package/dist/chunks/{pty-njarxngx.js → session-qgr7av2x.js} +17 -17
- package/dist/chunks/{pty-94204gn9.js → session-qhrz5aa9.js} +11 -11
- package/dist/chunks/{pty-pa5kwetm.js → session-qjjvmkez.js} +33 -33
- package/dist/chunks/{pty-3s2wwjdv.js → session-qktydkdn.js} +4 -4
- package/dist/chunks/{pty-qnc92qwc.js → session-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-58h69jjx.js → session-qqkvqanz.js} +15 -15
- package/dist/chunks/{pty-66etgr7v.js → session-qs21f0r9.js} +3 -3
- package/dist/chunks/{pty-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-amwms54f.js → session-qvyqg8gm.js} +13 -13
- package/dist/chunks/{pty-409dx5e0.js → session-r5raa72y.js} +11 -11
- package/dist/chunks/{pty-a7a43a3w.js → session-r882nb6z.js} +25 -25
- package/dist/chunks/{pty-qa3qhgw8.js → session-ratrq7cm.js} +4 -4
- package/dist/chunks/{pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-rert0e01.js → session-rert0e01.js} +2 -2
- package/dist/chunks/{pty-rhjbct0v.js → session-rhjbct0v.js} +1 -1
- package/dist/chunks/{pty-rj3eygr5.js → session-rj3eygr5.js} +2 -2
- package/dist/chunks/{pty-wps1s803.js → session-rndmd9qn.js} +11 -11
- package/dist/chunks/{pty-81y4a27x.js → session-s05c17h6.js} +45 -45
- package/dist/chunks/{pty-s8pxmgfm.js → session-s6fcfta3.js} +50 -50
- package/dist/chunks/{pty-7ppyhzjx.js → session-s9w6dcwz.js} +8 -8
- package/dist/chunks/{pty-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
- package/dist/chunks/{pty-80xcpyq8.js → session-sc3918bk.js} +28 -28
- package/dist/chunks/{pty-b0jp0bej.js → session-sd2td5y5.js} +26 -26
- package/dist/chunks/{pty-zysym8wc.js → session-sdy5e9j6.js} +26 -26
- package/dist/chunks/{pty-syv4x271.js → session-syv4x271.js} +1 -1
- package/dist/chunks/{pty-x4yz0ptf.js → session-t6g1jfs3.js} +24 -24
- package/dist/chunks/{pty-fkbnvjhs.js → session-t83w76t6.js} +31 -31
- package/dist/chunks/{pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → session-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{pty-97s3qq9m.js → session-tkz47yyb.js} +11 -11
- package/dist/chunks/{pty-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
- package/dist/chunks/{pty-tyytaxap.js → session-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-v210v162.js → session-v210v162.js} +2 -2
- package/dist/chunks/{pty-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-b2n2c3pj.js → session-vmbk5pfd.js} +18 -18
- package/dist/chunks/{pty-r84pq0rk.js → session-vn7k2bc5.js} +9 -9
- package/dist/chunks/{pty-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-332j5t5e.js → session-w2sa9xym.js} +81 -81
- package/dist/chunks/{pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-rbakw9sr.js → session-w8b5k5d2.js} +21 -21
- package/dist/chunks/{pty-v7z2bvyd.js → session-wa9g86nq.js} +4 -4
- package/dist/chunks/{pty-qfw355cv.js → session-watezc7p.js} +31 -31
- package/dist/chunks/{pty-e0qr5ad7.js → session-wbkqhk2q.js} +25 -25
- package/dist/chunks/{pty-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{pty-1gwhweqv.js → session-wejfqd9f.js} +10 -10
- package/dist/chunks/{pty-jmzfcjas.js → session-wf108j3e.js} +39 -39
- package/dist/chunks/{pty-zmkc6qbt.js → session-wfard4pc.js} +6 -6
- package/dist/chunks/{pty-pqkvj9g1.js → session-whe4s1vj.js} +16 -16
- package/dist/chunks/{pty-bjx1sjef.js → session-wjr9rjd7.js} +6 -6
- package/dist/chunks/{pty-3zk10d63.js → session-wp62vqme.js} +14 -14
- package/dist/chunks/{pty-kzp2p6b7.js → session-x6sem8n5.js} +5 -5
- package/dist/chunks/{pty-xfkkasph.js → session-xfkkasph.js} +1 -1
- package/dist/chunks/{pty-h71w788e.js → session-xrpg47n6.js} +8 -8
- package/dist/chunks/{pty-7a63cxzq.js → session-xydrb0ad.js} +15 -15
- package/dist/chunks/{pty-n96cp4bh.js → session-xzpjvyk2.js} +8 -8
- package/dist/chunks/{pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-fncnja3r.js → session-ya7v8pa6.js} +17 -17
- package/dist/chunks/{pty-jd7jt2a4.js → session-yazn1tma.js} +9 -9
- package/dist/chunks/{pty-hst5n1cs.js → session-yf2bqd56.js} +15 -15
- package/dist/chunks/{pty-1ycz83fm.js → session-yf51b59p.js} +18 -18
- package/dist/chunks/{pty-0gva8j83.js → session-yvh49skv.js} +2 -2
- package/dist/chunks/{pty-m997ahh4.js → session-yw007w31.js} +12 -12
- package/dist/chunks/{pty-bdcde2ps.js → session-yxrq5erg.js} +9 -9
- package/dist/chunks/{pty-vgdf0v3q.js → session-yy7wc007.js} +46 -46
- package/dist/chunks/{pty-1qawy49j.js → session-yypzdess.js} +11 -11
- package/dist/chunks/{pty-m79dkcvs.js → session-z08z4p0e.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-cf5e3918.js → session-z3109zf2.js} +27 -27
- package/dist/chunks/{pty-0dcab6yb.js → session-z4aqbkag.js} +12 -12
- package/dist/chunks/{pty-bd0ch2rs.js → session-z4w8jxd4.js} +14 -14
- package/dist/chunks/{pty-1bqj5c5m.js → session-z76gnw33.js} +13 -13
- package/dist/chunks/{pty-qcfsp7vy.js → session-z83t720x.js} +22 -22
- package/dist/chunks/{pty-zvt5dnpc.js → session-zav06jzw.js} +4 -4
- package/dist/chunks/{pty-e2f4d7w4.js → session-zb9j69mf.js} +20 -20
- package/dist/chunks/{pty-r8mqjg1b.js → session-zecy2z88.js} +5 -5
- package/dist/chunks/{pty-83gy3yq2.js → session-zmbbg33t.js} +19 -19
- package/dist/chunks/{pty-58hng72m.js → session-zmhzecev.js} +5 -5
- package/dist/chunks/{pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-67ajme4p.js → session-zx7w6cqk.js} +7 -7
- package/dist/chunks/{pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-072y95tq.js → session-zxzqcmty.js} +7 -7
- 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 +85 -85
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- 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 +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- 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 +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/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 +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- 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 +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- 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 +109 -109
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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 +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/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 +113 -113
- 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 +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +1 -1
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- 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 +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +4 -4
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- 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 +134 -134
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +16 -16
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-9sh4wc5j.js +0 -18
- package/dist/chunks/pty-dexk7st3.js +0 -26
- package/dist/chunks/pty-h75fbyn9.js +0 -257
- /package/dist/chunks/{pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → session-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → session-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e3qxr5gk.js → session-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → session-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → session-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → session-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → session-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → session-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wjj7prxr.js → session-wjj7prxr.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./session-exb59042.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./session-2v5zfjmm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service53;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z3109zf2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./session-sc3918bk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin27,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin27 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service76;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin27, exports_verbosity };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ev9k4mrx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID14,
|
|
14
|
+
Service78,
|
|
15
|
+
node82,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./session-fkvrqgqc.js";
|
|
18
18
|
import {
|
|
19
19
|
Service82,
|
|
20
20
|
node86
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-c18t8pvx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event17,
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service77,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node81,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service77 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,9 +298,9 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
303
|
+
const integrations = yield* Service78;
|
|
304
304
|
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service77.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node89, node82, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service77, node81, exports_provider3, Event17 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-ev9k4mrx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-c18t8pvx.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./session-yy7wc007.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin31 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service82;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
201
|
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin31, exports_command2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./session-7xhb0h81.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service52,
|
|
20
20
|
make: () => make19,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service52 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make19 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service75;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make19 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service52.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make19 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service52, make19);
|
|
358
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [node79] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service52, make19, node55, exports_job };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node64
|
|
4
|
+
} from "./session-ce4hwwhq.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node53,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service61;
|
|
59
|
+
return Service50.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [node64] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node53, exports_model };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ev9k4mrx.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-24s8e1ye.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./session-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
node: () => node27
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service24.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer13 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service24,
|
|
265
|
+
layer: options === undefined ? layer13 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node27 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError3, NotFoundError3, Service24, layer13, configured4, node27, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service48 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service48, exports_runner };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-qs21f0r9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-ev9k4mrx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./session-gjmk74th.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service45
|
|
16
|
+
} from "./session-sd2td5y5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./session-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./session-8v3yhwhh.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./session-c1fqxshp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./session-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service51;
|
|
45
45
|
const database = yield* Service86;
|
|
46
46
|
const bus = yield* Service85;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service45;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service51;
|
|
77
77
|
const bus = yield* Service85;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service45;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|