@opencode/core 0.0.0-dev-19585 → 0.0.0-dev-19588
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{state-kpvyk30t.js → repository-0996nyz8.js} +9 -9
- package/dist/chunks/repository-0c6pz7ms.js +466 -0
- package/dist/chunks/{state-2dejydwk.js → repository-0dh2v9fk.js} +23 -23
- package/dist/chunks/{state-gd7g0zde.js → repository-0h00gbcb.js} +18 -18
- package/dist/chunks/{state-kpn23mpx.js → repository-0kc779ng.js} +10 -10
- package/dist/chunks/{state-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-pbyctwrm.js → repository-0qevpf4w.js} +11 -11
- package/dist/chunks/{state-pb1eahw5.js → repository-16cax9zb.js} +5 -5
- package/dist/chunks/{state-r5x6zcsm.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{state-ccfa4wxs.js → repository-1bvekr7f.js} +6 -6
- package/dist/chunks/{state-mcvf4ecq.js → repository-1cfwn2bt.js} +7 -7
- package/dist/chunks/{state-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-1gwwkbhx.js → repository-1e17p1v6.js} +17 -17
- package/dist/chunks/{state-yv9w9dg0.js → repository-1j9stpns.js} +29 -29
- package/dist/chunks/{state-e5f74rt9.js → repository-1jv4xg0p.js} +36 -36
- package/dist/chunks/{state-y1dxsfsh.js → repository-1kwjmtsc.js} +35 -35
- package/dist/chunks/{state-w1907c88.js → repository-1r601apj.js} +17 -17
- package/dist/chunks/{state-1m07gwnh.js → repository-1vnsgk5t.js} +36 -36
- package/dist/chunks/{state-gn01w2cw.js → repository-1zfadm9n.js} +13 -13
- package/dist/chunks/{state-8nk5pr3x.js → repository-206yk4e9.js} +4 -4
- package/dist/chunks/{state-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{state-2402vzrj.js → repository-2402vzrj.js} +1 -1
- package/dist/chunks/{state-047mx2wg.js → repository-2a25p4mv.js} +32 -32
- package/dist/chunks/{state-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-3wr47b46.js → repository-2ce9th4e.js} +174 -174
- package/dist/chunks/{state-f20n632k.js → repository-2d802nvw.js} +1 -1
- package/dist/chunks/{state-0jwsre1p.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{state-y8ye8e9v.js → repository-2kesvzjb.js} +13 -13
- package/dist/chunks/{state-xxzf0ejs.js → repository-3163b9jg.js} +22 -22
- package/dist/chunks/{state-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-md4zkmej.js → repository-3pjcaesv.js} +11 -11
- package/dist/chunks/{state-bh8dz971.js → repository-3s8rj46j.js} +32 -32
- package/dist/chunks/{state-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3189tf5c.js → repository-473n3n7b.js} +4 -4
- package/dist/chunks/{state-0dpxzva5.js → repository-4emwyx28.js} +93 -93
- package/dist/chunks/{state-c793mpbv.js → repository-4etetb1j.js} +27 -27
- package/dist/chunks/{state-p8d91xwk.js → repository-4j90697n.js} +37 -37
- package/dist/chunks/{state-xha59mwg.js → repository-51hcmbxq.js} +5 -5
- package/dist/chunks/{state-966x6kbg.js → repository-52f3envg.js} +18 -18
- package/dist/chunks/{state-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
- package/dist/chunks/{state-bm1f71yt.js → repository-5892jdtn.js} +8 -8
- package/dist/chunks/{state-bs9pjq03.js → repository-592a4gpn.js} +13 -13
- package/dist/chunks/{state-bd9a3hfc.js → repository-5a78h29x.js} +10 -10
- package/dist/chunks/{state-gg8ay5jm.js → repository-5ct4k76c.js} +22 -22
- package/dist/chunks/{state-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{state-b2bbmftg.js → repository-5dt15a5r.js} +20 -20
- package/dist/chunks/{state-8a639n9f.js → repository-5dwnc6b3.js} +24 -24
- package/dist/chunks/{state-nx7g23ta.js → repository-5mp00kj1.js} +35 -35
- package/dist/chunks/{state-qhpsd41d.js → repository-5n6hsxyx.js} +25 -25
- package/dist/chunks/{state-10jtetaj.js → repository-5qkxfyep.js} +4 -4
- package/dist/chunks/{state-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-4fvnr5ap.js → repository-6035qjw6.js} +5 -5
- package/dist/chunks/{state-rkn3s9yj.js → repository-62rpeqaf.js} +10 -10
- package/dist/chunks/{state-tye36bcg.js → repository-630f9zf9.js} +8 -8
- package/dist/chunks/{state-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{state-2nx0ckft.js → repository-6a88x1v8.js} +13 -13
- package/dist/chunks/{state-e5564262.js → repository-6cbvf3zm.js} +42 -42
- package/dist/chunks/{state-2gm7q7x0.js → repository-6gfqk85e.js} +28 -28
- package/dist/chunks/{state-x6pctmyv.js → repository-6ht32ya1.js} +18 -18
- package/dist/chunks/{state-89yzkj5m.js → repository-6jdhkm56.js} +15 -15
- package/dist/chunks/{state-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-37tv5sft.js → repository-6yp6qgnr.js} +27 -27
- package/dist/chunks/{state-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{state-g7c4c9dq.js → repository-7207rjaj.js} +11 -11
- package/dist/chunks/{state-6jpkznw2.js → repository-745ca1rp.js} +3 -3
- package/dist/chunks/{state-56jtaqyy.js → repository-74jx9dmy.js} +28 -28
- package/dist/chunks/{state-anb97ys3.js → repository-7a1nds04.js} +8 -8
- package/dist/chunks/{state-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-2bgyzf17.js → repository-7gnac2s0.js} +63 -63
- package/dist/chunks/{state-ez36xfhn.js → repository-7qpszgx3.js} +19 -19
- package/dist/chunks/{state-5w0k2sgf.js → repository-7s5hb2nx.js} +25 -25
- package/dist/chunks/{state-nmhn2qh6.js → repository-8028yanh.js} +16 -16
- package/dist/chunks/{state-j0bxb4ah.js → repository-83wzj7ta.js} +3 -3
- package/dist/chunks/{state-5ay2cyx3.js → repository-86agcrtg.js} +26 -26
- package/dist/chunks/{state-2058e169.js → repository-8c7y8dn0.js} +5 -5
- package/dist/chunks/{state-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-zrw639qq.js → repository-8fcwscdw.js} +28 -28
- package/dist/chunks/{state-rqh8sqwg.js → repository-8fsnk1kc.js} +10 -10
- package/dist/chunks/{state-ttqh24zm.js → repository-8gxqpgph.js} +4 -4
- package/dist/chunks/{state-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-vtqzksea.js → repository-94d58mvd.js} +32 -32
- package/dist/chunks/{state-25b5wh1z.js → repository-96987kcb.js} +98 -98
- package/dist/chunks/{state-nn79ydvy.js → repository-9j2s9z86.js} +8 -8
- package/dist/chunks/{state-8ar20h4k.js → repository-9q22g6vd.js} +5 -5
- package/dist/chunks/{state-tnkeyv2f.js → repository-9whdk0qy.js} +13 -13
- package/dist/chunks/{state-fsf1gf1x.js → repository-9zpvy9zc.js} +29 -29
- package/dist/chunks/repository-9zxwq9ha.js +26 -0
- package/dist/chunks/{state-5c4hm403.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-wsykb35p.js → repository-a8rkycwa.js} +16 -16
- package/dist/chunks/{state-2ad6nxyk.js → repository-a8ve50ng.js} +6 -6
- package/dist/chunks/{state-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{state-skbm2tv3.js → repository-aemscjqt.js} +20 -20
- package/dist/chunks/{state-xg9t41r3.js → repository-b09hzw3k.js} +2 -2
- package/dist/chunks/{state-9gkk87pz.js → repository-b1kv8p8w.js} +6 -6
- package/dist/chunks/{state-0tj6kgwv.js → repository-b3pcj4k8.js} +34 -34
- package/dist/chunks/{state-fyqdaz8t.js → repository-b6f6xskg.js} +7 -7
- package/dist/chunks/{state-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-4ynbxhwa.js → repository-b6hy6gkz.js} +2 -2
- package/dist/chunks/{state-589kjr7t.js → repository-bbarxbyb.js} +1 -1
- package/dist/chunks/{state-xdd3rs2c.js → repository-bfntb90j.js} +9 -9
- package/dist/chunks/{state-9wq3kma9.js → repository-bgxa3gb8.js} +15 -15
- package/dist/chunks/{state-r11d7zgh.js → repository-bmtr48j2.js} +6 -6
- package/dist/chunks/{state-qm7jrdpz.js → repository-bw0vgseb.js} +5 -5
- package/dist/chunks/{state-dzme2435.js → repository-c9wtqnwj.js} +11 -11
- package/dist/chunks/{state-qe942eqv.js → repository-car4fhb7.js} +19 -19
- package/dist/chunks/{state-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-qd153e6s.js → repository-cfv81dax.js} +8 -8
- package/dist/chunks/{state-9sgpzjef.js → repository-cg1ew3t4.js} +3 -3
- package/dist/chunks/{state-5matf414.js → repository-cpn39njb.js} +16 -16
- package/dist/chunks/{state-3c4e3q8d.js → repository-cq37gk0t.js} +4 -4
- package/dist/chunks/{state-p43gddxw.js → repository-cxkh8aa2.js} +32 -32
- package/dist/chunks/{state-74qhbg70.js → repository-cyhxv4yp.js} +10 -10
- package/dist/chunks/{state-q5sfm9wz.js → repository-d4exv1s8.js} +31 -31
- package/dist/chunks/{state-32y0495t.js → repository-d4shdzcf.js} +17 -17
- package/dist/chunks/{state-7c4jpfkn.js → repository-d50dhb3t.js} +6 -6
- package/dist/chunks/{state-cmqjtdmm.js → repository-deanft1t.js} +35 -35
- package/dist/chunks/{state-k6k8b8dr.js → repository-dfey964p.js} +14 -14
- package/dist/chunks/{state-yh58a55y.js → repository-dg6ptqm6.js} +29 -29
- package/dist/chunks/{state-96a4pvf9.js → repository-dht5s97y.js} +9 -9
- package/dist/chunks/{state-wqcb0hpm.js → repository-dn0vp9ws.js} +6 -6
- package/dist/chunks/{state-0assndy4.js → repository-dqgjsbg6.js} +17 -17
- package/dist/chunks/{state-4780s8zr.js → repository-drknmmyh.js} +9 -9
- package/dist/chunks/{state-bndc73cn.js → repository-e5nv3ght.js} +5 -5
- package/dist/chunks/{state-1vr0zdnx.js → repository-e5xpd6yj.js} +6 -6
- package/dist/chunks/{state-b9qrp43n.js → repository-e8x92nmy.js} +7 -7
- package/dist/chunks/{state-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/repository-ejvrra8h.js +247 -0
- package/dist/chunks/{state-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-s03e02j9.js → repository-ewq2135v.js} +24 -24
- package/dist/chunks/{state-czsydm57.js → repository-eztf1wzg.js} +1 -1
- package/dist/chunks/{state-hdnk95c8.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{state-qtp1kmbh.js → repository-f9apq077.js} +71 -71
- package/dist/chunks/{state-7f04ezez.js → repository-fahke4hq.js} +4 -4
- package/dist/chunks/{state-mhyrstae.js → repository-fgqgf88m.js} +15 -15
- package/dist/chunks/{state-crgypqmg.js → repository-fmgfnr5t.js} +9 -9
- package/dist/chunks/{state-y232qd0c.js → repository-fr89gf7f.js} +32 -32
- package/dist/chunks/{state-scf3wqrs.js → repository-fscyzxmk.js} +9 -9
- package/dist/chunks/{state-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-magykp64.js → repository-g190xswt.js} +4 -4
- package/dist/chunks/{state-d4vvrd8f.js → repository-g2c4pnq1.js} +4 -4
- package/dist/chunks/{state-34rkz0x9.js → repository-g8d3gcyj.js} +4 -4
- package/dist/chunks/{state-n8dg5zmh.js → repository-g8mks886.js} +11 -11
- package/dist/chunks/{state-gk5mcbs5.js → repository-gaf3dhda.js} +11 -11
- package/dist/chunks/{state-92efq58y.js → repository-gay8ct22.js} +25 -25
- package/dist/chunks/{state-brkf7bse.js → repository-gd0jy5mm.js} +8 -8
- package/dist/chunks/{state-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-q0jn4ry4.js → repository-gma6pakk.js} +12 -12
- package/dist/chunks/{state-4x368qdf.js → repository-gs36njwm.js} +43 -43
- package/dist/chunks/{state-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-2f9behse.js → repository-h13rq2ha.js} +41 -41
- package/dist/chunks/{state-rspxbq4f.js → repository-h27f8war.js} +11 -11
- package/dist/chunks/{state-jva4mgym.js → repository-h6jr292a.js} +4 -4
- package/dist/chunks/{state-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-0c9ykdxk.js → repository-haj0byqn.js} +4 -4
- package/dist/chunks/{state-0n8wxves.js → repository-hgg8kawy.js} +11 -11
- package/dist/chunks/{state-pvpbdkha.js → repository-hjr4mjkc.js} +27 -27
- package/dist/chunks/{state-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
- package/dist/chunks/{state-arnsfa90.js → repository-hm7n6gxm.js} +16 -16
- package/dist/chunks/{state-81swgkk7.js → repository-hqjg1cx1.js} +9 -9
- package/dist/chunks/{state-jxahb5yh.js → repository-hqxaqnsz.js} +11 -11
- package/dist/chunks/{state-m4r7hmz3.js → repository-ht8esz14.js} +5 -5
- package/dist/chunks/{state-4j0xv7gy.js → repository-hx4p0gz5.js} +28 -28
- package/dist/chunks/{state-ka9nzrns.js → repository-j3ht12x2.js} +15 -15
- package/dist/chunks/{state-5r58m9f4.js → repository-j4z2qnee.js} +8 -8
- package/dist/chunks/{state-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{state-8ymaqm6w.js → repository-j5xt7epv.js} +18 -18
- package/dist/chunks/{state-y09t7566.js → repository-jbdvhc0s.js} +9 -9
- package/dist/chunks/{state-4mmkc7sx.js → repository-jmr68t6h.js} +5 -5
- package/dist/chunks/repository-jqh9b0xq.js +18 -0
- package/dist/chunks/{state-8yhy25dd.js → repository-jwttr378.js} +46 -46
- package/dist/chunks/{state-qkgaq2fd.js → repository-jxvsdwym.js} +13 -13
- package/dist/chunks/{state-a9ym64nf.js → repository-jydw0f72.js} +28 -28
- package/dist/chunks/{state-x569bdqa.js → repository-k2dherqe.js} +1 -1
- package/dist/chunks/{state-yrtvc2gm.js → repository-kee0d0vv.js} +24 -24
- package/dist/chunks/{state-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{state-av3vfbkv.js → repository-kmbbtncp.js} +23 -23
- package/dist/chunks/{state-7b8c1rs0.js → repository-kq7s33qp.js} +8 -8
- package/dist/chunks/{state-n9vjy7vk.js → repository-ky16kd9n.js} +12 -12
- package/dist/chunks/{state-rwp9vqf6.js → repository-m12fw1ht.js} +32 -32
- package/dist/chunks/{state-m86bnw2c.js → repository-m2d0j7c0.js} +9 -9
- package/dist/chunks/{state-d3xgb5wz.js → repository-m2weea1a.js} +41 -41
- package/dist/chunks/{state-8fmttspq.js → repository-m74ad31j.js} +15 -15
- package/dist/chunks/{state-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-r05swpc3.js → repository-mfeb23pb.js} +21 -21
- package/dist/chunks/{state-gt7he45n.js → repository-mhfnevvs.js} +18 -18
- package/dist/chunks/{state-ekrh3kxc.js → repository-ms3qkpaz.js} +14 -14
- package/dist/chunks/{state-paegk39x.js → repository-msq0jde0.js} +4 -4
- package/dist/chunks/{state-z30jd0vy.js → repository-mtkf2msq.js} +51 -51
- package/dist/chunks/{state-wzqj207d.js → repository-mwdf18ba.js} +37 -37
- package/dist/chunks/{state-t9hrqajq.js → repository-n64yq744.js} +28 -28
- package/dist/chunks/{state-8tccx195.js → repository-nb1yf551.js} +28 -28
- package/dist/chunks/{state-8ngx95f4.js → repository-ngs1gmwy.js} +6 -6
- package/dist/chunks/{state-yx8q910t.js → repository-nphm860s.js} +19 -19
- package/dist/chunks/{state-f6hkkqkf.js → repository-nxamnhdf.js} +12 -12
- package/dist/chunks/{state-nsk2qhm1.js → repository-p2t1ayvx.js} +44 -44
- package/dist/chunks/{state-trw41p2v.js → repository-p5q26rjs.js} +17 -17
- package/dist/chunks/{state-0r1a1fzg.js → repository-p807tth1.js} +18 -18
- package/dist/chunks/{state-844ef7ks.js → repository-pa8pe2x7.js} +6 -6
- package/dist/chunks/{state-p158fnhc.js → repository-peejr10p.js} +1 -1
- package/dist/chunks/{state-sy5x3wzp.js → repository-pgw46sns.js} +23 -23
- package/dist/chunks/{state-nqzv378d.js → repository-pjrv1sn1.js} +1 -1
- package/dist/chunks/{state-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{state-j83byb14.js → repository-pmr4s4kc.js} +4 -4
- package/dist/chunks/{state-grt76b4b.js → repository-pwf15mvc.js} +4 -4
- package/dist/chunks/{state-r7x5zkyr.js → repository-pxbzt21m.js} +6 -6
- package/dist/chunks/{state-7zdrdht4.js → repository-pxhak851.js} +6 -6
- package/dist/chunks/{state-0sd1vqbs.js → repository-pye8sh6e.js} +8 -8
- package/dist/chunks/{state-p2h5zem2.js → repository-q7cmwac7.js} +6 -6
- package/dist/chunks/{state-715dyzdp.js → repository-q9fqv6nm.js} +97 -296
- package/dist/chunks/repository-qapv375x.js +4 -0
- package/dist/chunks/{state-bgxcxs0p.js → repository-qjnxxf51.js} +5 -5
- package/dist/chunks/{state-dsqps89d.js → repository-qkrnz1pz.js} +5 -5
- package/dist/chunks/{state-73kb41h8.js → repository-qp8nwhvn.js} +57 -57
- package/dist/chunks/{state-mm8kamv6.js → repository-qqyxjxre.js} +22 -22
- package/dist/chunks/{state-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{state-cpy6gm2a.js → repository-r33ff4dw.js} +4 -4
- package/dist/chunks/{state-e2dt2hd0.js → repository-r628x9jn.js} +29 -35
- package/dist/chunks/{state-r8xr0va3.js → repository-r8xr0va3.js} +1 -1
- package/dist/chunks/{state-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{state-zc400w9e.js → repository-rg7n2a7e.js} +47 -47
- package/dist/chunks/{state-02nrjc1r.js → repository-rhjbct0v.js} +6 -6
- package/dist/chunks/{state-6bp5h0s3.js → repository-rjt1dhz0.js} +11 -11
- package/dist/chunks/{state-y3a4c9er.js → repository-rqpczt31.js} +17 -17
- package/dist/chunks/{state-f1zxfvwb.js → repository-s2t8c8fj.js} +4 -4
- package/dist/chunks/{state-s8zy8myc.js → repository-s8zy8myc.js} +2 -2
- package/dist/chunks/{state-9qe9ae67.js → repository-shg3amz7.js} +22 -22
- package/dist/chunks/{state-a1xp0gqd.js → repository-sm236kpq.js} +17 -17
- package/dist/chunks/{state-3t50nsv9.js → repository-sr7k2y9v.js} +30 -30
- package/dist/chunks/{state-nc9naz3s.js → repository-swc0nz61.js} +15 -15
- package/dist/chunks/{state-3g5z5cbj.js → repository-swh40x6v.js} +12 -12
- package/dist/chunks/{state-qa7075pb.js → repository-sznyev98.js} +5 -5
- package/dist/chunks/{state-evbgk2k8.js → repository-t0fxg8b9.js} +5 -5
- package/dist/chunks/{state-5kptn8c0.js → repository-t0x5rdq8.js} +9 -9
- package/dist/chunks/{state-5wzpv73x.js → repository-t3p48s2k.js} +14 -14
- package/dist/chunks/{state-vb7ycbc9.js → repository-t5wmzvpv.js} +18 -18
- package/dist/chunks/{state-3zb4tqpj.js → repository-t9cms4w2.js} +11 -11
- package/dist/chunks/{state-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{state-nh1ke53h.js → repository-te29s6sc.js} +10 -10
- package/dist/chunks/{state-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{state-tx9qvpbt.js → repository-tx9qvpbt.js} +2 -2
- package/dist/chunks/{state-t6n9dx9w.js → repository-v7eqyjmy.js} +5 -5
- package/dist/chunks/{state-6b3csv91.js → repository-vapde0g8.js} +3 -3
- package/dist/chunks/{state-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{state-hcp7me3j.js → repository-vh329328.js} +15 -15
- package/dist/chunks/{state-ak2rmdky.js → repository-vjjm1fp8.js} +11 -11
- package/dist/chunks/{state-we36wy78.js → repository-vpwejdc6.js} +15 -15
- package/dist/chunks/{state-tph5atj5.js → repository-vtxfwj71.js} +5 -5
- package/dist/chunks/{state-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-g5rxsc28.js → repository-w26xsmnw.js} +25 -25
- package/dist/chunks/{state-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-ep6q31w0.js → repository-w4axh9wz.js} +6 -6
- package/dist/chunks/{state-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{state-3sqqgwh5.js → repository-wdhn35hf.js} +9 -9
- package/dist/chunks/{state-21r7wqbn.js → repository-wx95frst.js} +13 -13
- package/dist/chunks/{state-g9xty11h.js → repository-wz0ehf68.js} +36 -36
- package/dist/chunks/{state-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-a5axy371.js → repository-x1f4bnb6.js} +2 -2
- package/dist/chunks/{state-abzxsg4z.js → repository-x20sjj3e.js} +47 -47
- package/dist/chunks/{state-qdecs828.js → repository-xqax0h2z.js} +23 -23
- package/dist/chunks/{state-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-1zjyrs07.js → repository-y5ff4yjy.js} +11 -11
- package/dist/chunks/{state-ze5b2pt8.js → repository-y5znnrem.js} +28 -28
- package/dist/chunks/{state-j7wq2tw5.js → repository-y6f0p4jw.js} +3 -3
- package/dist/chunks/{state-y71avatq.js → repository-y71avatq.js} +1 -1
- package/dist/chunks/{state-pbygh8wd.js → repository-y86j32r6.js} +27 -27
- package/dist/chunks/{state-kmbsbtj2.js → repository-yn35vfdn.js} +15 -15
- package/dist/chunks/{state-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{state-7wykakkp.js → repository-yyzm5aws.js} +10 -10
- package/dist/chunks/{state-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{state-4mtmdvvs.js → repository-zc2xj3qj.js} +1 -1
- package/dist/chunks/{state-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-71tevz1s.js → repository-zfdedwf3.js} +36 -36
- package/dist/chunks/{state-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +10 -10
- 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 +7 -7
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +202 -260
- package/dist/mcp/index.js +105 -123
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +259 -38
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- 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 +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +7 -7
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- 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 +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/mcp/client.d.ts +220 -124
- package/dist/types/mcp/index.d.ts +23 -87
- package/dist/types/mcp/oauth.d.ts +26 -51
- package/dist/types/mcp/stdio.d.ts +1 -1
- package/dist/types/v1/config/migrate.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +17 -16
- package/dist/chunks/state-0mesazry.js +0 -4
- package/dist/chunks/state-4v7qdvcn.js +0 -18
- package/dist/chunks/state-7kk32ydz.js +0 -247
- package/dist/chunks/state-mkcvx21g.js +0 -466
- package/dist/chunks/state-w97wtb7e.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{state-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-paphc93g.js → repository-paphc93g.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service37.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node41 = makeGlobalNode({ service: Service37, layer: layer15, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service37, makeLayer2, layer15, node41, exports_model_transport };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./repository-yn35vfdn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./repository-96987kcb.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service26;
|
|
24
|
+
const jobs = yield* Service54;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make6 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-cpn39njb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event16,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info27,
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node73
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event16 } from "@opencode/schema/command";
|
|
28
|
+
var Info27 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service69 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer22 = Layer.effect(Service69, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service78;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info27.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service69.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node73 = makeLocationNode({
|
|
75
|
+
service: Service69,
|
|
76
|
+
layer: layer22,
|
|
77
|
+
deps: [node83]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info27, NotFoundError10, ExecutionError2, Service69, layer22, node73, exports_command5, Event16 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./repository-p2t1ayvx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./repository-dg6ptqm6.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
@@ -22,8 +22,8 @@ import { Effect } from "effect";
|
|
|
22
22
|
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-kee0d0vv.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-qp8nwhvn.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin42
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin42 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin45 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin45 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin45 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
nativeSettings2,
|
|
7
7
|
mergeOverlay2,
|
|
8
8
|
mergeHeaders2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-pye8sh6e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./repository-c9wtqnwj.js";
|
|
14
14
|
import {
|
|
15
15
|
map2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-b6hy6gkz.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID14,
|
|
19
19
|
VariantID2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Ref4
|
|
21
|
+
} from "./repository-nxamnhdf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service74,
|
|
25
|
+
node78
|
|
26
|
+
} from "./repository-b3pcj4k8.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service73,
|
|
29
|
+
node77
|
|
30
|
+
} from "./repository-nb1yf551.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,7 +39,7 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service71,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -47,7 +47,7 @@ __export(exports_model_resolver, {
|
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
49
|
layer: () => layer24,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node75,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID16,
|
|
61
|
+
modelID: ID14,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID16,
|
|
71
|
+
modelID: ID14,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID16,
|
|
82
|
+
modelID: ID14,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID16,
|
|
93
|
+
modelID: ID14,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID16,
|
|
105
|
+
modelID: ID14,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID16,
|
|
115
|
+
modelID: ID14,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var layer24 = Layer.effect(
|
|
272
|
-
const catalog = yield*
|
|
273
|
-
const integrations = yield*
|
|
271
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
272
|
+
const catalog = yield* Service73;
|
|
273
|
+
const integrations = yield* Service74;
|
|
274
274
|
const npm = yield* Npm.Service;
|
|
275
|
-
const aisdk = yield*
|
|
275
|
+
const aisdk = yield* Service72;
|
|
276
276
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
277
277
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
278
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
278
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
279
279
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
280
280
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
281
281
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -285,7 +285,7 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
285
285
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
286
286
|
return {
|
|
287
287
|
model: runtime,
|
|
288
|
-
ref:
|
|
288
|
+
ref: Ref4.make({
|
|
289
289
|
id: selected.id,
|
|
290
290
|
providerID: selected.providerID,
|
|
291
291
|
...variant === undefined ? {} : { variant }
|
|
@@ -297,7 +297,7 @@ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
297
297
|
websocket: selected.websocket ?? false
|
|
298
298
|
};
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service71.of({
|
|
301
301
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
302
302
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
303
303
|
if (!selected)
|
|
@@ -314,10 +314,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
314
314
|
const name = packageName2(packageName);
|
|
315
315
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
service:
|
|
317
|
+
var node75 = makeLocationNode({
|
|
318
|
+
service: Service71,
|
|
319
319
|
layer: layer24,
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node77, node78, Npm.node, node76]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
323
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node75, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|