@opencode/core 0.0.0-dev-21144 → 0.0.0-dev-21146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{persistent-pty-depwzj9d.js → vcs-0996nyz8.js} +9 -9
- package/dist/chunks/{persistent-pty-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-dys7k0s0.js → vcs-1bmjn0qh.js} +8 -8
- package/dist/chunks/{persistent-pty-nr3qa60f.js → vcs-1dsct1s0.js} +32 -32
- package/dist/chunks/{persistent-pty-9t9apx18.js → vcs-1fa231af.js} +20 -20
- package/dist/chunks/{persistent-pty-r1vdwkta.js → vcs-1kv699hc.js} +5 -5
- package/dist/chunks/{persistent-pty-1m69962m.js → vcs-1m2f403b.js} +13 -13
- package/dist/chunks/{persistent-pty-te646jaw.js → vcs-1n0nm9w2.js} +15 -15
- package/dist/chunks/{persistent-pty-qs4wgkhm.js → vcs-2brbfv95.js} +11 -11
- package/dist/chunks/{persistent-pty-vkfdnwpx.js → vcs-2k71kv7p.js} +4 -4
- package/dist/chunks/{persistent-pty-0jwsre1p.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-2eegacq4.js → vcs-2ktf0ed2.js} +8 -8
- package/dist/chunks/{persistent-pty-r673z147.js → vcs-2kvxf011.js} +17 -17
- package/dist/chunks/{persistent-pty-gwfvc0m6.js → vcs-2nv43n21.js} +19 -19
- package/dist/chunks/{persistent-pty-70a1by7q.js → vcs-2ptg3bmb.js} +12 -12
- package/dist/chunks/{persistent-pty-qf1wc8s5.js → vcs-2qdx6azk.js} +13 -13
- package/dist/chunks/{persistent-pty-g5x2qnc7.js → vcs-2wqny664.js} +15 -15
- package/dist/chunks/{persistent-pty-9hwaqfsw.js → vcs-2xdh0w28.js} +5 -5
- package/dist/chunks/{persistent-pty-eyj1pktf.js → vcs-30mhpgxs.js} +2 -2
- package/dist/chunks/{persistent-pty-gcavn3wx.js → vcs-35ng7dkh.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-ncz28he7.js → vcs-3g2077ja.js} +9 -9
- package/dist/chunks/{persistent-pty-dw7cpmje.js → vcs-3gw50k8p.js} +16 -16
- package/dist/chunks/{persistent-pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3hwn7j4h.js → vcs-3hwn7j4h.js} +2 -2
- package/dist/chunks/{persistent-pty-bhy5c7m8.js → vcs-3r77nd71.js} +20 -20
- package/dist/chunks/{persistent-pty-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-dzv19xhm.js → vcs-3wf7q6bz.js} +5 -5
- package/dist/chunks/{persistent-pty-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-pndvs7c5.js → vcs-47d3hhcw.js} +50 -50
- package/dist/chunks/{persistent-pty-axe3mf62.js → vcs-48kw51zw.js} +3 -3
- package/dist/chunks/{persistent-pty-yt99s1s6.js → vcs-4k37zksp.js} +13 -13
- package/dist/chunks/{persistent-pty-wq48axxc.js → vcs-4pnpkh9b.js} +4 -4
- package/dist/chunks/{persistent-pty-sexkh2dj.js → vcs-4wmtqrjk.js} +20 -20
- package/dist/chunks/{persistent-pty-6fs5hhyf.js → vcs-4wnvd88j.js} +14 -14
- package/dist/chunks/{persistent-pty-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-xfkkasph.js → vcs-57b9ws8p.js} +7 -7
- package/dist/chunks/{persistent-pty-9t9jzawt.js → vcs-598793za.js} +16 -16
- package/dist/chunks/{persistent-pty-pp68vse7.js → vcs-59vq7jwt.js} +11 -11
- package/dist/chunks/{persistent-pty-1pxz8ven.js → vcs-5fykfdj7.js} +5 -5
- package/dist/chunks/{persistent-pty-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-c6awdkmy.js → vcs-5qw1qf7f.js} +26 -26
- package/dist/chunks/{persistent-pty-5b5xz8a9.js → vcs-5sb7v2bz.js} +23 -23
- package/dist/chunks/{persistent-pty-d20va75g.js → vcs-5sfesdw0.js} +7 -7
- package/dist/chunks/{persistent-pty-jerz8xmy.js → vcs-5txqckpk.js} +11 -11
- package/dist/chunks/{persistent-pty-vaxstqyq.js → vcs-5ysnvr2w.js} +7 -7
- package/dist/chunks/{persistent-pty-r42fkgn3.js → vcs-61j35jca.js} +20 -20
- package/dist/chunks/{persistent-pty-n8ar2vr6.js → vcs-65bcgfe5.js} +4 -4
- package/dist/chunks/{persistent-pty-6827pfxn.js → vcs-6827pfxn.js} +1 -1
- package/dist/chunks/{persistent-pty-51aj7naj.js → vcs-6cera4bt.js} +30 -30
- package/dist/chunks/{persistent-pty-0kwc86f6.js → vcs-6j8d4b1t.js} +17 -17
- package/dist/chunks/{persistent-pty-0wzapw8n.js → vcs-6qgxhkbs.js} +30 -30
- package/dist/chunks/{persistent-pty-6xb47vfp.js → vcs-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-04237xqk.js → vcs-6za9as0y.js} +22 -22
- package/dist/chunks/{persistent-pty-krzhqatr.js → vcs-701thcs8.js} +13 -13
- package/dist/chunks/{persistent-pty-0h2x14kv.js → vcs-75njnrkn.js} +5 -5
- package/dist/chunks/{persistent-pty-3yj2zv75.js → vcs-75s7wgst.js} +27 -27
- package/dist/chunks/{persistent-pty-tdqj5rj9.js → vcs-76rvckpe.js} +5 -5
- package/dist/chunks/{persistent-pty-775gj3j1.js → vcs-775gj3j1.js} +2 -2
- package/dist/chunks/{persistent-pty-r7806esx.js → vcs-7a1x16pz.js} +10 -10
- package/dist/chunks/{persistent-pty-z5e6kfa6.js → vcs-7ammp6jq.js} +11 -11
- package/dist/chunks/{persistent-pty-egxgp523.js → vcs-7b694530.js} +15 -15
- package/dist/chunks/{persistent-pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-eq6rpykv.js → vcs-7f7xarc5.js} +15 -15
- package/dist/chunks/{persistent-pty-xfsd998s.js → vcs-7fktw67x.js} +3 -3
- package/dist/chunks/{persistent-pty-0w22s44h.js → vcs-7m5m5jke.js} +85 -85
- package/dist/chunks/{persistent-pty-er6f2807.js → vcs-7rqfkqhf.js} +11 -11
- package/dist/chunks/{persistent-pty-a08hybxf.js → vcs-7tr2cnxk.js} +39 -39
- package/dist/chunks/{persistent-pty-399mwr77.js → vcs-80dpjhve.js} +13 -13
- package/dist/chunks/{persistent-pty-26p7d7xs.js → vcs-81gy7124.js} +8 -8
- package/dist/chunks/{persistent-pty-zjyt5r8a.js → vcs-8brep9q6.js} +43 -43
- package/dist/chunks/{persistent-pty-8m6m0r52.js → vcs-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-1nh0dqqz.js → vcs-8rmdhntn.js} +9 -9
- package/dist/chunks/{persistent-pty-njazmw33.js → vcs-8vp8ms1f.js} +11 -11
- package/dist/chunks/{persistent-pty-v00qce9k.js → vcs-8whnpkne.js} +13 -13
- package/dist/chunks/{persistent-pty-f7ma11rg.js → vcs-8xns6cym.js} +6 -6
- package/dist/chunks/{persistent-pty-a2s0935e.js → vcs-8zjew81e.js} +11 -11
- package/dist/chunks/{persistent-pty-zh5yh1pa.js → vcs-95mk99zn.js} +85 -85
- package/dist/chunks/{persistent-pty-wy4krjgg.js → vcs-97z2hkt0.js} +18 -18
- package/dist/chunks/{persistent-pty-hpbxh8gx.js → vcs-980tmrvd.js} +8 -8
- package/dist/chunks/{persistent-pty-t89fqycx.js → vcs-9c3np669.js} +8 -8
- package/dist/chunks/{persistent-pty-bqwheb6v.js → vcs-9dc26gag.js} +11 -11
- package/dist/chunks/{persistent-pty-9j45kp54.js → vcs-9xqqbe8y.js} +7 -7
- package/dist/chunks/{persistent-pty-pbxhkc08.js → vcs-9ygnwxdy.js} +9 -9
- package/dist/chunks/{persistent-pty-a895pzt4.js → vcs-9zty5rse.js} +3 -3
- package/dist/chunks/{persistent-pty-vmhdrmay.js → vcs-a34g06ew.js} +14 -14
- package/dist/chunks/{persistent-pty-4qem063f.js → vcs-a4kkw1ve.js} +25 -25
- package/dist/chunks/{persistent-pty-v2q1tt24.js → vcs-a9463qhm.js} +15 -15
- package/dist/chunks/{persistent-pty-4z3jw88z.js → vcs-abvqh95p.js} +19 -19
- package/dist/chunks/{persistent-pty-xq9mvccd.js → vcs-ad7yv9ps.js} +11 -11
- package/dist/chunks/{persistent-pty-bjjk51rb.js → vcs-ad9vfe7v.js} +35 -35
- package/dist/chunks/{persistent-pty-wbbmfrwc.js → vcs-adcbecv9.js} +18 -18
- package/dist/chunks/{persistent-pty-4jr81d9g.js → vcs-azbp20h0.js} +11 -11
- package/dist/chunks/{persistent-pty-pd9mwsk8.js → vcs-b19gxw0d.js} +21 -21
- package/dist/chunks/{persistent-pty-h4ttq6mv.js → vcs-b64vyrm8.js} +5 -5
- package/dist/chunks/{persistent-pty-xdp7tq7h.js → vcs-b83pwr38.js} +173 -173
- package/dist/chunks/{persistent-pty-37c5z9v4.js → vcs-b89yz0b9.js} +17 -17
- package/dist/chunks/{persistent-pty-1ffvrpkg.js → vcs-bjx1sjef.js} +6 -6
- package/dist/chunks/vcs-bv44jw4t.js +26 -0
- package/dist/chunks/{persistent-pty-b7ek2qq0.js → vcs-bvnpfp3z.js} +5 -5
- package/dist/chunks/vcs-by5v678g.js +18 -0
- package/dist/chunks/{persistent-pty-1ep4rre3.js → vcs-bzeyqsqd.js} +4 -4
- package/dist/chunks/{persistent-pty-pm92p9pd.js → vcs-bzj29kaw.js} +30 -30
- package/dist/chunks/{persistent-pty-c1fqxshp.js → vcs-c1fqxshp.js} +3 -3
- package/dist/chunks/{persistent-pty-58cb3f0k.js → vcs-c7p7a7j5.js} +17 -17
- package/dist/chunks/{persistent-pty-p7a39gy5.js → vcs-c8bydgjz.js} +6 -6
- package/dist/chunks/vcs-c8hk0g2y.js +257 -0
- package/dist/chunks/{persistent-pty-2nndjys1.js → vcs-cc4sr3ev.js} +11 -11
- package/dist/chunks/{persistent-pty-5pkzysbz.js → vcs-ccz5nm0t.js} +25 -25
- package/dist/chunks/{persistent-pty-fr67tqfn.js → vcs-cehqmkb3.js} +29 -29
- package/dist/chunks/{persistent-pty-1sppys3p.js → vcs-ceym1m06.js} +45 -45
- package/dist/chunks/{persistent-pty-2avy5dta.js → vcs-cjas8764.js} +9 -9
- package/dist/chunks/{persistent-pty-apg447zh.js → vcs-cq8x2qcv.js} +21 -21
- package/dist/chunks/{persistent-pty-gn31e51v.js → vcs-d04ep358.js} +11 -11
- package/dist/chunks/{persistent-pty-wsb67xeh.js → vcs-d48vtfkp.js} +15 -15
- package/dist/chunks/{persistent-pty-8076c16q.js → vcs-d6r4q70c.js} +46 -46
- package/dist/chunks/{persistent-pty-nd4tfyg0.js → vcs-d7x0sh0y.js} +9 -9
- package/dist/chunks/{persistent-pty-cp2cqbts.js → vcs-dfe9hveg.js} +31 -31
- package/dist/chunks/{persistent-pty-ddt2bs9e.js → vcs-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-ft3hqk2c.js → vcs-djszqvmq.js} +9 -9
- package/dist/chunks/{persistent-pty-0x4chtp0.js → vcs-dpgfepa2.js} +8 -8
- package/dist/chunks/{persistent-pty-tc11merm.js → vcs-e76kv9r4.js} +10 -10
- package/dist/chunks/{persistent-pty-xarbvv3d.js → vcs-e81cdst3.js} +18 -18
- package/dist/chunks/{persistent-pty-2rb9smkj.js → vcs-e831pqd4.js} +23 -23
- package/dist/chunks/{persistent-pty-0hgs8p1m.js → vcs-e8a70fkn.js} +24 -24
- package/dist/chunks/{persistent-pty-s8d7rejh.js → vcs-eaj1djv9.js} +6 -6
- package/dist/chunks/{persistent-pty-wkyfwj57.js → vcs-ebm4tzgj.js} +61 -61
- package/dist/chunks/{persistent-pty-v5dkyp31.js → vcs-edrmdtr5.js} +7 -7
- package/dist/chunks/{persistent-pty-eej6y6fw.js → vcs-eej6y6fw.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-ca6kg5ek.js → vcs-ehbypev1.js} +11 -11
- package/dist/chunks/{persistent-pty-r88hbvz2.js → vcs-ejdah8af.js} +10 -10
- package/dist/chunks/{persistent-pty-1ak9gecn.js → vcs-emzsebxx.js} +4 -4
- package/dist/chunks/{persistent-pty-em09xzj2.js → vcs-erzsj0mh.js} +43 -43
- package/dist/chunks/{persistent-pty-nmwek3zh.js → vcs-et2e1h9f.js} +32 -32
- package/dist/chunks/{persistent-pty-49h0gsx4.js → vcs-ex7a9pd4.js} +14 -14
- package/dist/chunks/{persistent-pty-azgbvmq5.js → vcs-exgc4hav.js} +4 -4
- package/dist/chunks/{persistent-pty-zsr4wwhv.js → vcs-f29mbr7f.js} +4 -4
- package/dist/chunks/{persistent-pty-hrpc1zm2.js → vcs-f64fhgym.js} +45 -45
- package/dist/chunks/{persistent-pty-fcy631f0.js → vcs-fcy631f0.js} +1 -1
- package/dist/chunks/{persistent-pty-3syzjre4.js → vcs-fmgfccbv.js} +9 -9
- package/dist/chunks/{persistent-pty-e55t292q.js → vcs-ftr1c4rp.js} +30 -30
- package/dist/chunks/{persistent-pty-fxaymqdw.js → vcs-fxaymqdw.js} +1 -1
- package/dist/chunks/vcs-g06fws8c.js +513 -0
- package/dist/chunks/{persistent-pty-gz4gyws3.js → vcs-g4xpbx56.js} +27 -27
- package/dist/chunks/{persistent-pty-wjf86v68.js → vcs-g5maccdw.js} +4 -4
- package/dist/chunks/{persistent-pty-0ymzh51e.js → vcs-gd2a0djy.js} +42 -42
- package/dist/chunks/{persistent-pty-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-xz7fxsde.js → vcs-gdba7vhj.js} +20 -20
- package/dist/chunks/{persistent-pty-ep675yaz.js → vcs-gnvdf0wp.js} +13 -13
- package/dist/chunks/{persistent-pty-addxnjmp.js → vcs-gqtdsdt7.js} +4 -4
- package/dist/chunks/{persistent-pty-8ww2gede.js → vcs-grvpncm1.js} +3 -3
- package/dist/chunks/{persistent-pty-f62n1yv1.js → vcs-h0qq8ekr.js} +24 -24
- package/dist/chunks/{persistent-pty-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-h7s7r6s9.js → vcs-h7s7r6s9.js} +2 -2
- package/dist/chunks/{persistent-pty-vwrsfq36.js → vcs-h83yk2y4.js} +31 -31
- package/dist/chunks/{persistent-pty-6zm27x1b.js → vcs-h9ee4ay8.js} +10 -10
- package/dist/chunks/{persistent-pty-btbmdjwj.js → vcs-h9pnpq88.js} +4 -4
- package/dist/chunks/{persistent-pty-wcdp2xf1.js → vcs-hamnfq9w.js} +13 -13
- package/dist/chunks/{persistent-pty-ecg7v5nb.js → vcs-he2nw4qg.js} +6 -6
- package/dist/chunks/{persistent-pty-g4grd2er.js → vcs-herv1ssr.js} +17 -17
- package/dist/chunks/{persistent-pty-hjdr0kvj.js → vcs-hftdtzqq.js} +19 -19
- package/dist/chunks/{persistent-pty-hgz4x7wa.js → vcs-hgz4x7wa.js} +1 -1
- package/dist/chunks/{persistent-pty-bh7k50df.js → vcs-hmx0v4sv.js} +27 -27
- package/dist/chunks/{persistent-pty-r4a5d315.js → vcs-hryxb5j9.js} +20 -20
- package/dist/chunks/{persistent-pty-b4rh7w8t.js → vcs-hsjvmpjh.js} +8 -8
- package/dist/chunks/{persistent-pty-xf5drc1b.js → vcs-hx8eac1e.js} +14 -14
- package/dist/chunks/{persistent-pty-f3sjrvfs.js → vcs-hzedaa6h.js} +14 -14
- package/dist/chunks/{persistent-pty-91qna3x0.js → vcs-j09zfasm.js} +3 -3
- package/dist/chunks/{persistent-pty-g9q6txws.js → vcs-j155qw97.js} +28 -28
- package/dist/chunks/{persistent-pty-q4xfwgn4.js → vcs-j3d5nbs4.js} +13 -13
- package/dist/chunks/{persistent-pty-g72yd4k4.js → vcs-j6ktnsbj.js} +5 -5
- package/dist/chunks/{persistent-pty-wsy3wehs.js → vcs-j7g3a2jg.js} +7 -7
- package/dist/chunks/{persistent-pty-qqjsh8e7.js → vcs-jafbawgm.js} +16 -16
- package/dist/chunks/{persistent-pty-8m6sqc8s.js → vcs-je441zhh.js} +18 -18
- package/dist/chunks/{persistent-pty-qjc79sh2.js → vcs-jh3nbz6s.js} +23 -23
- package/dist/chunks/{persistent-pty-yv1fws1k.js → vcs-jh5tayqa.js} +6 -6
- package/dist/chunks/{persistent-pty-s8s8vm7g.js → vcs-jpjzdj5e.js} +9 -9
- package/dist/chunks/{persistent-pty-znkfpgqp.js → vcs-jspyb5ws.js} +18 -18
- package/dist/chunks/{persistent-pty-fjjsqrj6.js → vcs-jsxqsx0n.js} +15 -15
- package/dist/chunks/{persistent-pty-1j0p9b01.js → vcs-k044rnme.js} +3 -3
- package/dist/chunks/{persistent-pty-w5fzecdx.js → vcs-k09kgf8n.js} +7 -7
- package/dist/chunks/{persistent-pty-efh928rm.js → vcs-k48z585g.js} +21 -21
- package/dist/chunks/{persistent-pty-y904s1ke.js → vcs-k9emm29s.js} +27 -27
- package/dist/chunks/{persistent-pty-6pzw4973.js → vcs-kgen349b.js} +9 -9
- package/dist/chunks/{persistent-pty-79n7kqtz.js → vcs-kpg1m8t3.js} +3 -3
- package/dist/chunks/{persistent-pty-kwb1v3vj.js → vcs-kwb1v3vj.js} +1 -1
- package/dist/chunks/{persistent-pty-pem0k0kd.js → vcs-kwtqw3j5.js} +32 -32
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-maspj1v3.js → vcs-maspj1v3.js} +1 -1
- package/dist/chunks/{persistent-pty-adk15a35.js → vcs-mp4qxw6g.js} +23 -23
- package/dist/chunks/{persistent-pty-waskdk5r.js → vcs-mv3hx7wz.js} +4 -4
- package/dist/chunks/{persistent-pty-90gj1595.js → vcs-n8d6b0h1.js} +4 -4
- package/dist/chunks/{persistent-pty-y7tts23x.js → vcs-nd5sp1qb.js} +12 -12
- package/dist/chunks/{persistent-pty-m20dg1r7.js → vcs-ngzs6e41.js} +10 -10
- package/dist/chunks/{persistent-pty-x3d6r14d.js → vcs-nrmy76bf.js} +52 -52
- package/dist/chunks/{persistent-pty-v7rb73jq.js → vcs-p3kgnf5t.js} +5 -5
- package/dist/chunks/{persistent-pty-kmhexkvz.js → vcs-p6kzsr9t.js} +44 -44
- package/dist/chunks/{persistent-pty-pa8pe2x7.js → vcs-pa8pe2x7.js} +1 -1
- package/dist/chunks/{persistent-pty-b6ydn2m7.js → vcs-pb8dwz7w.js} +16 -16
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-70kzh81q.js → vcs-q00c4awt.js} +8 -8
- package/dist/chunks/{persistent-pty-8sap1y7n.js → vcs-q480dng8.js} +7 -7
- package/dist/chunks/{persistent-pty-he27pt63.js → vcs-q5e7cmwt.js} +1 -1
- package/dist/chunks/{persistent-pty-b2502n83.js → vcs-q7zdm6cd.js} +10 -10
- package/dist/chunks/{persistent-pty-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-sgf9y5xx.js → vcs-qpg6w652.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-k3k3bw8m.js → vcs-qw2emvzh.js} +1 -1
- package/dist/chunks/{persistent-pty-e80seqcp.js → vcs-r2z489rp.js} +3 -3
- package/dist/chunks/{persistent-pty-4ezrc1pe.js → vcs-r3326x5w.js} +28 -28
- package/dist/chunks/{persistent-pty-wxft8nrk.js → vcs-r43136zw.js} +18 -18
- package/dist/chunks/{persistent-pty-55begk9b.js → vcs-r68q3s4m.js} +50 -50
- package/dist/chunks/{persistent-pty-rtpb8kpz.js → vcs-rb76ar9w.js} +15 -15
- package/dist/chunks/{persistent-pty-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-rert0e01.js → vcs-rert0e01.js} +2 -2
- package/dist/chunks/{persistent-pty-fnsp55tv.js → vcs-rhjkgpdp.js} +17 -17
- package/dist/chunks/{persistent-pty-yayb89cb.js → vcs-rhkez347.js} +3 -3
- package/dist/chunks/{persistent-pty-rj3eygr5.js → vcs-rj3eygr5.js} +2 -2
- package/dist/chunks/{persistent-pty-tw93a2eg.js → vcs-rj76dryd.js} +11 -11
- package/dist/chunks/{persistent-pty-9y9sk2j9.js → vcs-rqa1jxse.js} +2 -2
- package/dist/chunks/{persistent-pty-zvdzq0ev.js → vcs-rtx8gp8q.js} +8 -8
- package/dist/chunks/{persistent-pty-kybvgadz.js → vcs-s5w5sk8q.js} +30 -30
- package/dist/chunks/{persistent-pty-rhg4d2ab.js → vcs-s6s28q4s.js} +4 -4
- package/dist/chunks/{persistent-pty-sa8ekw3f.js → vcs-sa8ekw3f.js} +2 -2
- package/dist/chunks/{persistent-pty-v2g920t7.js → vcs-senh1ymy.js} +30 -30
- package/dist/chunks/{persistent-pty-syv4x271.js → vcs-syv4x271.js} +1 -1
- package/dist/chunks/{persistent-pty-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → vcs-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-dwwb1cts.js → vcs-tegajz6t.js} +2 -2
- package/dist/chunks/{persistent-pty-dxn4j312.js → vcs-tfdh6zwb.js} +16 -16
- package/dist/chunks/{persistent-pty-sj9rcpbq.js → vcs-tknpztrq.js} +33 -33
- package/dist/chunks/{persistent-pty-tm0kqsz3.js → vcs-tm0kqsz3.js} +1 -1
- package/dist/chunks/{persistent-pty-j337hmpf.js → vcs-ts0qsapt.js} +1 -1
- package/dist/chunks/{persistent-pty-6559rxr6.js → vcs-tt3gk2hg.js} +6 -6
- package/dist/chunks/{persistent-pty-fn9t717r.js → vcs-tt8gc4fv.js} +6 -6
- package/dist/chunks/{persistent-pty-tyytaxap.js → vcs-tyytaxap.js} +1 -1
- package/dist/chunks/{persistent-pty-v0es1rhs.js → vcs-v0es1rhs.js} +2 -2
- package/dist/chunks/{persistent-pty-v7p4zvkq.js → vcs-v7p4zvkq.js} +2 -2
- package/dist/chunks/{persistent-pty-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-3a2pvjwb.js → vcs-vhtct6e1.js} +27 -27
- package/dist/chunks/{persistent-pty-yhexa121.js → vcs-vpaq98fd.js} +6 -6
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-84txncab.js → vcs-w1eejvng.js} +5 -5
- package/dist/chunks/{persistent-pty-9bmnzs6p.js → vcs-w3dhkr7s.js} +35 -35
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-8sze2n9a.js → vcs-w92k2e0p.js} +4 -4
- package/dist/chunks/{persistent-pty-7aj2yngp.js → vcs-wcz4m97v.js} +11 -11
- package/dist/chunks/{persistent-pty-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-hkffa77z.js → vcs-wg81ww38.js} +4 -4
- package/dist/chunks/{persistent-pty-9w8vrx7t.js → vcs-wk5ynb9y.js} +8 -8
- package/dist/chunks/{persistent-pty-cxx7fx3c.js → vcs-wmgxscf8.js} +35 -35
- package/dist/chunks/{persistent-pty-mhqkqnc6.js → vcs-wp94nyg3.js} +4 -4
- package/dist/chunks/{persistent-pty-sc3k4bp6.js → vcs-wsgzkcd8.js} +2 -2
- package/dist/chunks/{persistent-pty-s4dav6dq.js → vcs-wvegr0zq.js} +23 -23
- package/dist/chunks/{persistent-pty-cqz7nt7j.js → vcs-x02v9a5q.js} +25 -25
- package/dist/chunks/{persistent-pty-n6rbky9d.js → vcs-x9393rm3.js} +6 -6
- package/dist/chunks/{persistent-pty-cffd7thf.js → vcs-xb1dd94r.js} +5 -5
- package/dist/chunks/{persistent-pty-jwdj0bz1.js → vcs-xcmt9mrd.js} +11 -11
- package/dist/chunks/{persistent-pty-0at12hts.js → vcs-xgavnq5y.js} +15 -15
- package/dist/chunks/{persistent-pty-t2hdnyp6.js → vcs-xhe73wxa.js} +10 -10
- package/dist/chunks/{persistent-pty-yzzekmzw.js → vcs-xsehs0a5.js} +11 -11
- package/dist/chunks/{persistent-pty-stze078s.js → vcs-xzr22cff.js} +8 -8
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-qdss2tee.js → vcs-y7w40fc7.js} +8 -8
- package/dist/chunks/{persistent-pty-4t55d986.js → vcs-ym9jpkzj.js} +3 -3
- package/dist/chunks/{persistent-pty-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-d5sx35jq.js → vcs-yt1wm0kv.js} +26 -26
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-aec28y99.js → vcs-z50bbtke.js} +31 -31
- package/dist/chunks/{persistent-pty-8hx72h8x.js → vcs-z549t6rh.js} +13 -13
- package/dist/chunks/{persistent-pty-zytcjjhp.js → vcs-z6cxpfvh.js} +3 -3
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-868f7czb.js → vcs-zw35eza6.js} +23 -23
- package/dist/chunks/{persistent-pty-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +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 +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- 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 +2 -2
- 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 +116 -116
- 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 +125 -125
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +138 -138
- 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 +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +126 -126
- 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 +5 -5
- package/dist/session/title.js +153 -153
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-amdb5r97.js +0 -257
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-pk3y0cyt.js +0 -513
- package/dist/chunks/persistent-pty-z4w52078.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → vcs-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-pyv0edze.js → vcs-pyv0edze.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wjj7prxr.js → vcs-wjj7prxr.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./vcs-nrmy76bf.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin49,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin49 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service77;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin9 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin49, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info9,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info9 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info9, exports_permission };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-35ng7dkh.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-cehqmkb3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info14,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-ftr1c4rp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info14.make({
|
|
98
|
+
...Info14.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service64,
|
|
6
6
|
node66
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-9xqqbe8y.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node23,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,7 +34,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
38
|
const environment = yield* Service64;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node23 = makeLocationNode({ service: Service21, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node23, exports_file_mutation };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-65bcgfe5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-30mhpgxs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service81,
|
|
12
|
+
node85
|
|
13
|
+
} from "./vcs-b19gxw0d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./vcs-tt3gk2hg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./vcs-2ptg3bmb.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service79,
|
|
26
|
+
node83
|
|
27
|
+
} from "./vcs-rb76ar9w.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service80,
|
|
30
|
+
node84
|
|
31
|
+
} from "./vcs-2ktf0ed2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event19,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError9,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service77,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node81
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event19 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID16.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service77 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
132
|
const location = yield* Service82;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service81;
|
|
134
|
+
const sessions = yield* Service78;
|
|
135
|
+
const saved = yield* Service79;
|
|
136
|
+
const hooks = yield* Service80;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError10({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID13.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID13.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service77.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node81 = makeLocationNode({
|
|
303
|
+
service: Service77,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89, node86,
|
|
305
|
+
deps: [node89, node86, node85, node82, node83, node84]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service77, node81, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./vcs-cehqmkb3.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|