@opencode/core 0.0.0-dev-20053 → 0.0.0-dev-20058
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{instruction-discovery-q3t37ft6.js → filesystem-01m43rby.js} +3 -3
- package/dist/chunks/filesystem-07j5dwxg.js +252 -0
- package/dist/chunks/{instruction-discovery-7w57ebwc.js → filesystem-091p10vz.js} +5 -5
- package/dist/chunks/{instruction-discovery-djkbap09.js → filesystem-0ajgz5pc.js} +26 -26
- package/dist/chunks/{instruction-discovery-6jq1twvs.js → filesystem-0fek3p1n.js} +16 -16
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-yp2x3t23.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-kjhp2gs9.js → filesystem-1cdk1anx.js} +4 -4
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-rtathh62.js → filesystem-1fcrsx1q.js} +5 -5
- package/dist/chunks/{instruction-discovery-2eegacq4.js → filesystem-1g96y08y.js} +8 -8
- package/dist/chunks/{instruction-discovery-efbtb4e8.js → filesystem-1h2mvt9v.js} +11 -11
- package/dist/chunks/{instruction-discovery-5t720x8c.js → filesystem-1nbhwk8c.js} +6 -6
- package/dist/chunks/{instruction-discovery-8s77jh8q.js → filesystem-1ssnhp0v.js} +10 -10
- package/dist/chunks/{instruction-discovery-vzdazkqw.js → filesystem-1txphked.js} +13 -13
- package/dist/chunks/{instruction-discovery-x5gsvnve.js → filesystem-1ybypp7f.js} +16 -16
- package/dist/chunks/{instruction-discovery-5zj68cj2.js → filesystem-1z9ym72g.js} +24 -24
- package/dist/chunks/{instruction-discovery-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-1e5e9c2h.js → filesystem-22b0aspk.js} +9 -9
- package/dist/chunks/{instruction-discovery-et40h98e.js → filesystem-22gdhsjp.js} +32 -32
- package/dist/chunks/{instruction-discovery-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
- package/dist/chunks/{instruction-discovery-kfphszmj.js → filesystem-24dd53tp.js} +9 -9
- package/dist/chunks/{instruction-discovery-c4hpbxsz.js → filesystem-25b3j9qe.js} +11 -11
- package/dist/chunks/{instruction-discovery-z63w68vq.js → filesystem-29x78va6.js} +6 -6
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-zyn1nver.js → filesystem-2ann4zqa.js} +7 -7
- package/dist/chunks/{instruction-discovery-wta2bqzn.js → filesystem-2bwf3es8.js} +22 -22
- package/dist/chunks/{instruction-discovery-90jp2e9k.js → filesystem-2m0vf6qg.js} +5 -5
- package/dist/chunks/{instruction-discovery-659sfxq9.js → filesystem-2pdg46mn.js} +11 -11
- package/dist/chunks/{instruction-discovery-mbjzy413.js → filesystem-2t3h7cq7.js} +9 -9
- package/dist/chunks/{instruction-discovery-vbh3tngh.js → filesystem-2x6gpqcz.js} +11 -11
- package/dist/chunks/{instruction-discovery-rw1kqm1d.js → filesystem-2xac8pgk.js} +9 -9
- package/dist/chunks/{instruction-discovery-sqy4ahhk.js → filesystem-37mwd34b.js} +1 -1
- package/dist/chunks/{instruction-discovery-0m0tvs7x.js → filesystem-3838ekre.js} +4 -4
- package/dist/chunks/{instruction-discovery-0gaj4617.js → filesystem-3b1q5j1v.js} +6 -6
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-svqww8e9.js → filesystem-3kzn8mmq.js} +12 -12
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-49gctfzm.js → filesystem-3z2w941y.js} +69 -69
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-3mcjejv0.js → filesystem-3zvjefry.js} +8 -8
- package/dist/chunks/{instruction-discovery-jk5nd1ev.js → filesystem-3zwffgsw.js} +38 -38
- package/dist/chunks/{instruction-discovery-7vrq869m.js → filesystem-497y6drv.js} +20 -20
- package/dist/chunks/{instruction-discovery-mpmef94f.js → filesystem-4bq1ye2s.js} +26 -26
- package/dist/chunks/{instruction-discovery-cbd96z7n.js → filesystem-4djaq3bc.js} +23 -23
- package/dist/chunks/{instruction-discovery-kad7k73d.js → filesystem-50xrc7m8.js} +8 -8
- package/dist/chunks/{instruction-discovery-54tcyq79.js → filesystem-54tcyq79.js} +2 -2
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → filesystem-56gdpj1q.js} +2 -2
- package/dist/chunks/{instruction-discovery-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
- package/dist/chunks/{instruction-discovery-nhyq2g63.js → filesystem-59srapy6.js} +29 -29
- package/dist/chunks/{instruction-discovery-eqrkd5z0.js → filesystem-5c3w2q2f.js} +4 -4
- package/dist/chunks/{instruction-discovery-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ekn9679.js → filesystem-5ekn9679.js} +1 -1
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-91pn7y7z.js → filesystem-60btt90r.js} +7 -7
- package/dist/chunks/{instruction-discovery-9jd99yzh.js → filesystem-610s35xp.js} +12 -12
- package/dist/chunks/{instruction-discovery-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-xmx6g731.js → filesystem-6a0m4sbe.js} +1 -1
- package/dist/chunks/{instruction-discovery-x4rn42j9.js → filesystem-6ccrc22g.js} +17 -17
- package/dist/chunks/{instruction-discovery-5amwhyk8.js → filesystem-6cd6tdvt.js} +6 -6
- package/dist/chunks/{instruction-discovery-kbez90jx.js → filesystem-6hgrtsyk.js} +9 -9
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-5773vcrt.js → filesystem-6sd83gj0.js} +10 -10
- package/dist/chunks/{instruction-discovery-0wexbj72.js → filesystem-7007jcc0.js} +17 -17
- package/dist/chunks/{instruction-discovery-1bbkgx8g.js → filesystem-73tb2d7t.js} +3 -3
- package/dist/chunks/{instruction-discovery-m2w22vaf.js → filesystem-74z2tjhb.js} +16 -16
- package/dist/chunks/{instruction-discovery-p4thxdrt.js → filesystem-7689gsfy.js} +28 -28
- package/dist/chunks/{instruction-discovery-1ed2t66p.js → filesystem-784hb5j4.js} +4 -4
- package/dist/chunks/{instruction-discovery-rey5gbxv.js → filesystem-79qaa2kf.js} +9 -9
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → filesystem-7dqw4kz8.js} +1 -1
- package/dist/chunks/{instruction-discovery-gmjjhz4f.js → filesystem-7gp9bv02.js} +9 -9
- package/dist/chunks/{instruction-discovery-y72zmemf.js → filesystem-7m5f9412.js} +8 -8
- package/dist/chunks/{instruction-discovery-dkddc65t.js → filesystem-7z30ydt4.js} +2 -2
- package/dist/chunks/{instruction-discovery-css18bw4.js → filesystem-84dmcwyh.js} +4 -4
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-bf0dbsxh.js → filesystem-8gt6y3g4.js} +6 -6
- package/dist/chunks/{instruction-discovery-4bm5ja14.js → filesystem-8tsdq50x.js} +4 -4
- package/dist/chunks/{instruction-discovery-akrnn5pm.js → filesystem-8xd21chy.js} +11 -11
- package/dist/chunks/{instruction-discovery-9z7zzmhv.js → filesystem-90360v3a.js} +11 -11
- package/dist/chunks/{instruction-discovery-pc2w18tz.js → filesystem-90tesg4p.js} +11 -11
- package/dist/chunks/{instruction-discovery-3433kd31.js → filesystem-96jy5zx6.js} +8 -8
- package/dist/chunks/{instruction-discovery-1n98hr1n.js → filesystem-96k0ayb6.js} +3 -3
- package/dist/chunks/{instruction-discovery-4d4s568v.js → filesystem-9c89p4vt.js} +16 -16
- package/dist/chunks/{instruction-discovery-evfjsp4y.js → filesystem-9ecw7jpn.js} +22 -22
- package/dist/chunks/{instruction-discovery-wyyg1kth.js → filesystem-9f6bk4jp.js} +13 -13
- package/dist/chunks/{instruction-discovery-vgsrdn5q.js → filesystem-9n50fjmv.js} +11 -11
- package/dist/chunks/{instruction-discovery-sx1fh020.js → filesystem-9v7aa5ew.js} +16 -16
- package/dist/chunks/{instruction-discovery-zzy8bv2k.js → filesystem-9wjadkhm.js} +7 -7
- package/dist/chunks/{instruction-discovery-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-nn3r97b9.js → filesystem-ae2wweme.js} +6 -6
- package/dist/chunks/{instruction-discovery-7cbq4mgj.js → filesystem-ajdm0393.js} +15 -15
- package/dist/chunks/{instruction-discovery-fwy2bgzc.js → filesystem-ajy2bq43.js} +2 -2
- package/dist/chunks/{instruction-discovery-en7c0xf8.js → filesystem-aqd63c5t.js} +24 -24
- package/dist/chunks/{instruction-discovery-v1eq4e05.js → filesystem-azee6x5s.js} +8 -8
- package/dist/chunks/{instruction-discovery-n1bt1yd9.js → filesystem-azev8sc8.js} +5 -5
- package/dist/chunks/{instruction-discovery-wr7ps67x.js → filesystem-b0grxa7w.js} +5 -5
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-xh5b640q.js → filesystem-b7e2se5y.js} +37 -37
- package/dist/chunks/{instruction-discovery-htvkgf1n.js → filesystem-b8y1psts.js} +26 -26
- package/dist/chunks/{instruction-discovery-xkfpn5tc.js → filesystem-bdep6f7m.js} +13 -13
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → filesystem-bjtzbw4r.js} +3 -3
- package/dist/chunks/{instruction-discovery-1vvr2ajh.js → filesystem-bzbbm4jd.js} +11 -11
- package/dist/chunks/{instruction-discovery-eqnpzj6x.js → filesystem-c0aad6gz.js} +43 -43
- package/dist/chunks/{instruction-discovery-cm7ckfx7.js → filesystem-c1z6arme.js} +3 -3
- package/dist/chunks/{instruction-discovery-qj8eh1ht.js → filesystem-c20khjev.js} +21 -21
- package/dist/chunks/{instruction-discovery-z6kcpssz.js → filesystem-c59jfbam.js} +6 -6
- package/dist/chunks/{instruction-discovery-gmx50r0d.js → filesystem-c6a58n7z.js} +9 -9
- package/dist/chunks/{instruction-discovery-1s7z0cjk.js → filesystem-c6j7t6he.js} +5 -5
- package/dist/chunks/{instruction-discovery-0wry3n1m.js → filesystem-cay919zr.js} +38 -38
- package/dist/chunks/{instruction-discovery-mnxhb66b.js → filesystem-ccdmqpvf.js} +20 -20
- package/dist/chunks/{instruction-discovery-djg052x6.js → filesystem-cdvs3883.js} +82 -82
- package/dist/chunks/{instruction-discovery-4pymtaw6.js → filesystem-cf4z6env.js} +12 -12
- package/dist/chunks/{instruction-discovery-45f95y49.js → filesystem-cjwramev.js} +8 -8
- package/dist/chunks/{instruction-discovery-d4ytm8cd.js → filesystem-ctegsqx5.js} +6 -6
- package/dist/chunks/{instruction-discovery-jnn0bp1d.js → filesystem-cvpeh336.js} +11 -11
- package/dist/chunks/{instruction-discovery-q082haf0.js → filesystem-cwxmk7ss.js} +88 -88
- package/dist/chunks/{instruction-discovery-gkz88561.js → filesystem-d2vc91a2.js} +1 -1
- package/dist/chunks/{instruction-discovery-ap3b078m.js → filesystem-d2z7ptc5.js} +11 -11
- package/dist/chunks/{instruction-discovery-15kgmdgj.js → filesystem-d63pwp4x.js} +23 -23
- package/dist/chunks/{instruction-discovery-erxzqa2e.js → filesystem-dcq7yv4f.js} +31 -31
- package/dist/chunks/{instruction-discovery-dfe8djrf.js → filesystem-dfe8djrf.js} +1 -1
- package/dist/chunks/{instruction-discovery-11s59a84.js → filesystem-dfvnyc1p.js} +12 -12
- package/dist/chunks/{instruction-discovery-zrahedb4.js → filesystem-dn34nxfz.js} +15 -15
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → filesystem-dpkg50ah.js} +1 -1
- package/dist/chunks/{instruction-discovery-xfkkasph.js → filesystem-drwq78ky.js} +4 -4
- package/dist/chunks/{instruction-discovery-tb574xta.js → filesystem-e0z0cg4q.js} +17 -17
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → filesystem-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → filesystem-e6hmchc5.js} +5 -5
- package/dist/chunks/{instruction-discovery-af04s6ss.js → filesystem-ead3g9p8.js} +5 -5
- package/dist/chunks/{instruction-discovery-c6yaza7c.js → filesystem-eageaqwr.js} +11 -11
- package/dist/chunks/{instruction-discovery-1phdpwc2.js → filesystem-eed4e4cj.js} +18 -18
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-gtwzfepv.js → filesystem-ej964ykn.js} +3 -3
- package/dist/chunks/{instruction-discovery-cb50g36s.js → filesystem-em405b3b.js} +27 -27
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hfr6h8q.js → filesystem-eys57y9b.js} +8 -8
- package/dist/chunks/{instruction-discovery-v2ja366f.js → filesystem-f02ytr6p.js} +13 -13
- package/dist/chunks/{instruction-discovery-s7pfqayf.js → filesystem-f0vv9etb.js} +5 -5
- package/dist/chunks/{instruction-discovery-atnq9fe8.js → filesystem-fhhc6cz0.js} +35 -35
- package/dist/chunks/{instruction-discovery-32mptbtk.js → filesystem-fkq4r4ge.js} +22 -22
- package/dist/chunks/{instruction-discovery-20fk9aev.js → filesystem-fs2ge6as.js} +4 -4
- package/dist/chunks/{instruction-discovery-ee381eds.js → filesystem-g6nkpj50.js} +42 -42
- package/dist/chunks/{instruction-discovery-d3p4xgmg.js → filesystem-g8m5pg2v.js} +9 -9
- package/dist/chunks/{instruction-discovery-y9ac25rv.js → filesystem-g8nw47mr.js} +20 -20
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → filesystem-gfvb90ym.js} +2 -2
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-4s9mtqqy.js → filesystem-gws6d69e.js} +11 -11
- package/dist/chunks/{instruction-discovery-e4934fpk.js → filesystem-gx4q998j.js} +15 -15
- package/dist/chunks/{instruction-discovery-55eajq8q.js → filesystem-gxb1qwhf.js} +9 -9
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{instruction-discovery-qahfex6h.js → filesystem-h08an08g.js} +20 -20
- package/dist/chunks/{instruction-discovery-rnrng9qw.js → filesystem-h5jpta2v.js} +14 -14
- package/dist/chunks/{instruction-discovery-44h5tttr.js → filesystem-h6r3nrb9.js} +4 -4
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-ze7b11e9.js → filesystem-h95k17zz.js} +20 -20
- package/dist/chunks/{instruction-discovery-p6dvmy6m.js → filesystem-h9zmv3t9.js} +6 -6
- package/dist/chunks/{instruction-discovery-22ebvdeb.js → filesystem-hbfph430.js} +29 -29
- package/dist/chunks/{instruction-discovery-wmz1520h.js → filesystem-hbj9ec79.js} +16 -16
- package/dist/chunks/{instruction-discovery-e0r7vjdq.js → filesystem-hc9acsgr.js} +9 -9
- package/dist/chunks/{instruction-discovery-pnra210x.js → filesystem-hdh73vmf.js} +10 -10
- package/dist/chunks/{instruction-discovery-xz1491ck.js → filesystem-hp5kccyz.js} +20 -20
- package/dist/chunks/{instruction-discovery-byfdp7sc.js → filesystem-hswr6e8s.js} +15 -15
- package/dist/chunks/{instruction-discovery-5p35wnkk.js → filesystem-j229mh45.js} +23 -23
- package/dist/chunks/{instruction-discovery-n484hve9.js → filesystem-j27v3vkc.js} +7 -7
- package/dist/chunks/{instruction-discovery-qsaqc0wr.js → filesystem-j38rfzw3.js} +4 -4
- package/dist/chunks/{instruction-discovery-gm52bzsg.js → filesystem-j48z016f.js} +29 -29
- package/dist/chunks/{instruction-discovery-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-mx9vqzsb.js → filesystem-jkp0d30b.js} +6 -6
- package/dist/chunks/{instruction-discovery-bjn91642.js → filesystem-jva4mgym.js} +4 -4
- package/dist/chunks/{instruction-discovery-1w70gyjm.js → filesystem-jw971jas.js} +35 -35
- package/dist/chunks/{instruction-discovery-qemwa272.js → filesystem-jwg7jy4z.js} +24 -24
- package/dist/chunks/{instruction-discovery-pwcz8111.js → filesystem-jwxewjhz.js} +13 -13
- package/dist/chunks/{instruction-discovery-nzks3jc8.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-h2hm217k.js → filesystem-k70hck66.js} +3 -3
- package/dist/chunks/{instruction-discovery-5t7an2a8.js → filesystem-kbr4et4a.js} +11 -11
- package/dist/chunks/{instruction-discovery-z4ztj7g0.js → filesystem-kdq8v965.js} +9 -9
- package/dist/chunks/{instruction-discovery-tzztennb.js → filesystem-kffdqtsz.js} +44 -44
- package/dist/chunks/{instruction-discovery-44ke2mar.js → filesystem-knb7evpn.js} +2 -2
- package/dist/chunks/{instruction-discovery-m88pfp32.js → filesystem-kqg1335f.js} +3 -3
- package/dist/chunks/{instruction-discovery-97zbn10c.js → filesystem-kwjksd0m.js} +7 -7
- package/dist/chunks/{instruction-discovery-tww8z1vj.js → filesystem-m0gyvzz0.js} +35 -35
- package/dist/chunks/{instruction-discovery-2040r5xd.js → filesystem-m0rk0w5r.js} +11 -11
- package/dist/chunks/{instruction-discovery-aye1rqq8.js → filesystem-m22m5fz8.js} +5 -5
- package/dist/chunks/{instruction-discovery-j6qe1feh.js → filesystem-m2s6sqez.js} +7 -7
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-wps88n7s.js → filesystem-mebq41rh.js} +9 -9
- package/dist/chunks/{instruction-discovery-578btx0z.js → filesystem-mk6azrf3.js} +18 -18
- package/dist/chunks/{instruction-discovery-mh5s6r0s.js → filesystem-mkkks4v9.js} +30 -30
- package/dist/chunks/{instruction-discovery-mt2z56f5.js → filesystem-mq7e89ns.js} +23 -23
- package/dist/chunks/{instruction-discovery-ratrq7cm.js → filesystem-mtq6xxnx.js} +7 -7
- package/dist/chunks/filesystem-mzn0q9qq.js +503 -0
- package/dist/chunks/{instruction-discovery-q5797vwk.js → filesystem-n6nnv2a0.js} +26 -26
- package/dist/chunks/{instruction-discovery-etph2ke2.js → filesystem-naszgs90.js} +26 -26
- package/dist/chunks/{instruction-discovery-1saq4hr5.js → filesystem-nbh3kmd5.js} +25 -25
- package/dist/chunks/{instruction-discovery-npyy71b9.js → filesystem-nehdvjjm.js} +17 -17
- package/dist/chunks/{instruction-discovery-enqpmdm5.js → filesystem-ntnbwdh0.js} +30 -30
- package/dist/chunks/{instruction-discovery-k9d40v1y.js → filesystem-pf9pgydg.js} +4 -4
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-e6rhpkh1.js → filesystem-pn0fh19r.js} +24 -24
- package/dist/chunks/{instruction-discovery-1rawk49q.js → filesystem-ppwz1pgg.js} +13 -13
- package/dist/chunks/{instruction-discovery-psazpmmj.js → filesystem-psazpmmj.js} +2 -2
- package/dist/chunks/{instruction-discovery-pamen60e.js → filesystem-q0h1k0nn.js} +11 -11
- package/dist/chunks/{instruction-discovery-q7qx1k0z.js → filesystem-q3vsp035.js} +12 -12
- package/dist/chunks/{instruction-discovery-j6bx7044.js → filesystem-qpyfagd9.js} +11 -11
- package/dist/chunks/{instruction-discovery-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-hq4dtc3h.js → filesystem-qvrvrmrf.js} +14 -14
- package/dist/chunks/{instruction-discovery-4s2t67gb.js → filesystem-qx3e9gac.js} +3 -3
- package/dist/chunks/{instruction-discovery-g00n1506.js → filesystem-r4nmwps5.js} +21 -21
- package/dist/chunks/{instruction-discovery-m3af1xqw.js → filesystem-r8sc1a4f.js} +9 -9
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-t9ca33zz.js → filesystem-rp5es0vj.js} +4 -4
- package/dist/chunks/{instruction-discovery-r53cm70s.js → filesystem-rw0sa94v.js} +3 -3
- package/dist/chunks/{instruction-discovery-hncjez84.js → filesystem-rygqb03k.js} +5 -5
- package/dist/chunks/{instruction-discovery-5x6h8zsv.js → filesystem-rzgj8h8z.js} +10 -10
- package/dist/chunks/{instruction-discovery-yrznvahk.js → filesystem-s4enseaf.js} +2 -2
- package/dist/chunks/{instruction-discovery-0chg25k6.js → filesystem-sd0frev4.js} +16 -16
- package/dist/chunks/{instruction-discovery-e2v056qs.js → filesystem-sffp4478.js} +7 -7
- package/dist/chunks/{instruction-discovery-vybhs2ww.js → filesystem-sjwzrrye.js} +11 -11
- package/dist/chunks/{instruction-discovery-4qa2vbsh.js → filesystem-spb4zceh.js} +15 -15
- package/dist/chunks/{instruction-discovery-k7b9gx9s.js → filesystem-swm6fqec.js} +20 -20
- package/dist/chunks/{instruction-discovery-zm8zfhe0.js → filesystem-syrm56xy.js} +27 -27
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → filesystem-t550f9t1.js} +8 -8
- package/dist/chunks/{instruction-discovery-jvf3yq6v.js → filesystem-t7n9q6bq.js} +4 -4
- package/dist/chunks/{instruction-discovery-jt292q3w.js → filesystem-t9c7wbd6.js} +26 -26
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-39zjwp2f.js → filesystem-td2f4nae.js} +34 -34
- package/dist/chunks/{instruction-discovery-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-9kdxktf7.js → filesystem-tqskq33r.js} +26 -26
- package/dist/chunks/{instruction-discovery-th62b91t.js → filesystem-tr1np92s.js} +27 -27
- package/dist/chunks/{instruction-discovery-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-fpzdzkj0.js → filesystem-tze1gxc9.js} +16 -16
- package/dist/chunks/{instruction-discovery-tpqwk5ce.js → filesystem-v6h5pe3e.js} +50 -50
- package/dist/chunks/filesystem-v9c484dc.js +26 -0
- package/dist/chunks/{instruction-discovery-v2dx9ytq.js → filesystem-vbj3evna.js} +6 -6
- package/dist/chunks/{instruction-discovery-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-2qrdqbn9.js → filesystem-vg66hfa0.js} +20 -20
- package/dist/chunks/{instruction-discovery-j148vjdr.js → filesystem-vkgtc4qa.js} +19 -19
- package/dist/chunks/{instruction-discovery-dbc2k69g.js → filesystem-vn7r73nx.js} +32 -32
- package/dist/chunks/{instruction-discovery-9cyfspf3.js → filesystem-vtxr0yy2.js} +5 -5
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-bfcwx7ng.js → filesystem-w16wk7p7.js} +29 -29
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-j3w7b9je.js → filesystem-w4wqky9w.js} +4 -4
- package/dist/chunks/{instruction-discovery-mtjrch8b.js → filesystem-w7vefw1y.js} +12 -12
- package/dist/chunks/{instruction-discovery-6megmk7j.js → filesystem-w94e8grp.js} +171 -171
- package/dist/chunks/{instruction-discovery-8x5fbbq2.js → filesystem-wc5qgcrf.js} +25 -25
- package/dist/chunks/{instruction-discovery-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-sgrqhgmf.js → filesystem-wj14njhs.js} +10 -10
- package/dist/chunks/{instruction-discovery-jca4demv.js → filesystem-wmfejedg.js} +2 -2
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-kaqea1z3.js → filesystem-x1mxg5wh.js} +33 -33
- package/dist/chunks/{instruction-discovery-0ryd0fps.js → filesystem-x2d9qy7d.js} +5 -5
- package/dist/chunks/{instruction-discovery-eneefzjq.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{instruction-discovery-q2em0wnb.js → filesystem-xg2c3t8c.js} +16 -16
- package/dist/chunks/{instruction-discovery-jff2zpce.js → filesystem-xgy7gjy2.js} +46 -46
- package/dist/chunks/{instruction-discovery-5j0v07dd.js → filesystem-xrm59swn.js} +54 -54
- package/dist/chunks/filesystem-xrsqh21y.js +4 -0
- package/dist/chunks/{instruction-discovery-gkbk41jf.js → filesystem-xvwrn2eq.js} +8 -8
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-965ggptx.js → filesystem-y93b664k.js} +5 -5
- package/dist/chunks/{instruction-discovery-nca7p386.js → filesystem-ym15bmrz.js} +7 -7
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-715tkws1.js → filesystem-yvav0rms.js} +17 -17
- package/dist/chunks/{instruction-discovery-rt03rqyf.js → filesystem-ywsxhfz4.js} +11 -11
- package/dist/chunks/{instruction-discovery-2wt5435z.js → filesystem-yy9w0ct4.js} +43 -43
- package/dist/chunks/{instruction-discovery-ft6ep068.js → filesystem-yz0rw8mp.js} +17 -17
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-evbgk2k8.js → filesystem-z3pw5915.js} +5 -5
- package/dist/chunks/{instruction-discovery-krerckhf.js → filesystem-z79afe2f.js} +23 -23
- package/dist/chunks/{instruction-discovery-pkfpcs6v.js → filesystem-z7w1k550.js} +48 -48
- package/dist/chunks/{instruction-discovery-mva6xa9e.js → filesystem-za5gkgpv.js} +44 -44
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-xga2m62q.js → filesystem-zjfek02j.js} +18 -18
- package/dist/chunks/{instruction-discovery-g2pkmnsy.js → filesystem-zp91wsr7.js} +30 -30
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-pn4n9n96.js → filesystem-zwvzg7cw.js} +11 -11
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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/id/id.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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-82dwf0d7.js +0 -26
- package/dist/chunks/instruction-discovery-9sh4wc5j.js +0 -18
- package/dist/chunks/instruction-discovery-hcvhzkzs.js +0 -503
- package/dist/chunks/instruction-discovery-qapv375x.js +0 -4
- package/dist/chunks/instruction-discovery-w4wez72a.js +0 -252
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-y93b664k.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make20
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make20 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service84;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make20, exports_git2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-j38rfzw3.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./filesystem-j48z016f.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-7z30ydt4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service82;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node86, node81, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-j38rfzw3.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-7z30ydt4.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info25,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service74,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node78
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info25, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service74 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service82;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info25));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service74.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node78 = makeLocationNode({
|
|
168
|
+
service: Service74,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node84, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, Service74, node78, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service41,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node45
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service41 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service41.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node45 = makeLocationNode({ service: Service41, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node45, exports_image2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./filesystem-syrm56xy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./filesystem-yy9w0ct4.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-8gt6y3g4.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make4(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service58;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make4();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make4, VLLMPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node75
|
|
7
|
+
} from "./filesystem-kffdqtsz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service55,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node58
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service55 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service55, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service71;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service55.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node58 = makeLocationNode({
|
|
69
|
+
service: Service55,
|
|
70
|
+
layer: layer19,
|
|
71
|
+
deps: [node75, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service55, layer19, node58, exports_generate2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-qpyfagd9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-j38rfzw3.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./filesystem-ntnbwdh0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-j48z016f.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-hbfph430.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID13.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -197,7 +197,7 @@ var OpenAIPlugin2 = define({
|
|
|
197
197
|
});
|
|
198
198
|
});
|
|
199
199
|
yield* ctx.model.transform((models) => {
|
|
200
|
-
for (const model of models.list(
|
|
200
|
+
for (const model of models.list(ID13.openai)) {
|
|
201
201
|
models.update(model.providerID, model.id, (draft) => {
|
|
202
202
|
if (!chatgpt)
|
|
203
203
|
return;
|
|
@@ -225,9 +225,9 @@ var OpenAIPlugin2 = define({
|
|
|
225
225
|
evt.baseURL = codexBaseURL;
|
|
226
226
|
evt.headers.originator = "opencode";
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
|
-
}), { providerID:
|
|
228
|
+
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service53
|
|
4
|
+
} from "./filesystem-pn0fh19r.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-7z30ydt4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service58
|
|
10
|
+
} from "./filesystem-yy9w0ct4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-vkgtc4qa.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./filesystem-cwxmk7ss.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make8
|
|
20
|
+
} from "./filesystem-m0rk0w5r.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin31
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin31 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service58;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin11 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service57;
|
|
60
|
+
const sessions = yield* Service19;
|
|
61
|
+
const agents = yield* Service53;
|
|
62
|
+
const subagents = yield* make8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin11 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID8.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin31, exports_command };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-j38rfzw3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service60,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./filesystem-eed4e4cj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin48 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service82;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service60;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin48 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|