@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service81
|
|
4
|
+
} from "./vcs-b19gxw0d.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service63
|
|
8
|
+
} from "./vcs-ftr1c4rp.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./vcs-8brep9q6.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-48kw51zw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./vcs-598793za.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./vcs-nrmy76bf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./vcs-95mk99zn.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service11
|
|
31
|
+
} from "./vcs-abvqh95p.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin37 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service59;
|
|
94
|
+
const agents = yield* Service81;
|
|
95
|
+
const config = yield* Service43;
|
|
96
|
+
const permission = yield* Service77;
|
|
97
|
+
const models = yield* Service63;
|
|
98
|
+
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin5 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin5 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin5 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID16.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin37, exports_subagent };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-xhe73wxa.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-bjx1sjef.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin7,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
20
|
endpoint: () => endpoint4
|
|
21
21
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin7 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -105,7 +105,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export { endpoint4,
|
|
123
|
+
export { endpoint4, Plugin7, exports_tinyfish };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-xhe73wxa.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-65bcgfe5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./vcs-s5w5sk8q.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-bzj29kaw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-cehqmkb3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID7,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info14
|
|
24
|
+
} from "./vcs-ftr1c4rp.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-he2nw4qg.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID9.openai;
|
|
47
|
+
var integrationID = ID10.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service74;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info14.default(ID9.openai, ID7.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service51,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node53
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service51 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service51.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node53 = makeLocationNode({
|
|
137
|
+
service: Service51,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service51, node53, exports_tool_output2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions5 };
|