@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
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./vcs-p6kzsr9t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./vcs-nrmy76bf.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service39;
|
|
26
|
+
const permission = yield* Service77;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin6 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin38, exports_mcp_resource };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin13
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin13 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin13, exports_mcp_codemode_defaults };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-30mhpgxs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
|
+
node: () => node38
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service82;
|
|
29
|
-
return
|
|
29
|
+
return Service35.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
|
-
key:
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
40
|
make21({
|
|
41
|
-
key:
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service35, node38, exports_builtins };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./vcs-cehqmkb3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./vcs-8brep9q6.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service71;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service43);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
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
|
+
ID6,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node58
|
|
13
|
+
} from "./vcs-6za9as0y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions3 = {};
|
|
20
20
|
__export(exports_instructions3, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service32,
|
|
22
22
|
SkillInstructions: () => exports_instructions3,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node36
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID6,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service32 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service56;
|
|
67
|
+
return Service32.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node36 = makeLocationNode({ service: Service32, layer, deps: [node58] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service32, node36, exports_instructions3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID10,
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./vcs-bzj29kaw.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service19,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node21
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,16 +37,16 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service19 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service19, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service72;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
49
|
+
const connection = (yield* integrations.get(ID10.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
50
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
52
|
return yield* new UnavailableError2({
|
|
@@ -55,12 +55,12 @@ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
55
55
|
});
|
|
56
56
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service19.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node21 = makeLocationNode({
|
|
61
|
+
service: Service19,
|
|
62
|
+
layer: layer10,
|
|
63
|
+
deps: [node76, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
66
|
+
export { InvalidRequestError2, UnavailableError2, Service19, layer10, node21, exports_voice };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service81
|
|
3
|
-
} from "./persistent-pty-d5sx35jq.js";
|
|
4
1
|
import {
|
|
5
2
|
Service73
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./vcs-yt1wm0kv.js";
|
|
4
|
+
import {
|
|
5
|
+
Service77
|
|
6
|
+
} from "./vcs-nrmy76bf.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service26
|
|
14
|
+
} from "./vcs-gdba7vhj.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin44,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin44 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service77;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service26;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name7, NO_RESULTS2, description3, Input7, Plugin44, exports_websearch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./vcs-s5w5sk8q.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-bzj29kaw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service71
|
|
22
|
+
} from "./vcs-cehqmkb3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID7,
|
|
25
|
+
Info14
|
|
26
|
+
} from "./vcs-ftr1c4rp.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID9.gitlab;
|
|
39
|
+
var integrationID = ID10.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service71;
|
|
61
61
|
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info14.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID9.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin5 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin20 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin5, exports_exa };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
node88
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-j6ktnsbj.js";
|
|
7
7
|
import {
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-30mhpgxs.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-grvpncm1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service24,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service82;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service24.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node27 = makeLocationNode({
|
|
61
|
+
service: Service24,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node86, Global.node, node88, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service24, node27, exports_strategies };
|