@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-z3109zf2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node65
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service62.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service62, locationLayer2, node65, exports_aisdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-g6y13qfj.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make5 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make5();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./session-ev9k4mrx.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./session-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service44,
|
|
17
|
+
node47
|
|
18
|
+
} from "./session-8kce9k65.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
31
|
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service43,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node46
|
|
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 Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
46
|
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service44;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service40, 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 Service43.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(Service40, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node46 = makeLocationNode({
|
|
116
|
+
service: Service43,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node47]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3, Info6,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service43, node46, exports_reference2, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-nj7hqrdc.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./session-p9dp5wjj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./session-gjmk74th.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-n95b3jav.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service51;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./session-0cwaesxa.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./session-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./session-b5yk1hqp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./session-z4w8jxd4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service53
|
|
19
|
+
} from "./session-2v5zfjmm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-enwhczs2.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./session-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service81,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./session-24s8e1ye.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError10,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service66
|
|
37
|
+
} from "./session-hz2pkg7k.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./session-n21nsqmk.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./session-d1f9rhhf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./session-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin48,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name12 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input12 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin48 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service30;
|
|
124
|
+
const jobs = yield* Service52;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service71;
|
|
127
|
+
const access = yield* Service16;
|
|
128
|
+
const shell = yield* Service66;
|
|
129
|
+
const shellSelect = yield* Service81;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service53;
|
|
132
|
+
const config = yield* Service69;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin29 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin29 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name12,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin29 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name12,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input12,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name12,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name12];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin48, exports_shell2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node6, exports_location_watcher_policy };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info10,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info10 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info10, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node73
|
|
4
|
+
} from "./session-qgepxjn7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./session-c18t8pvx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node72
|
|
12
|
+
} from "./session-0cwaesxa.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./session-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node4
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service69;
|
|
40
|
+
const watcher = yield* Service70;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node4 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node72, FSUtil.node, node73, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer4, node4, empty2, exports_source };
|