@opencode/core 0.0.0-beta-19381 → 0.0.0-beta-19398
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{ripgrep-02wxma9h.js → location-mutation-00zne7qa.js} +23 -23
- package/dist/chunks/{ripgrep-ycnbnhj5.js → location-mutation-01qzhqb7.js} +43 -43
- package/dist/chunks/{ripgrep-rhjbct0v.js → location-mutation-02nrjc1r.js} +6 -6
- package/dist/chunks/{ripgrep-3b1q5j1v.js → location-mutation-0gaj4617.js} +6 -6
- package/dist/chunks/{ripgrep-scqgp3m4.js → location-mutation-0mbwctnz.js} +3 -3
- package/dist/chunks/{ripgrep-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-q4bhxwf1.js → location-mutation-0tpcnmcw.js} +6 -6
- package/dist/chunks/{ripgrep-ve4pfa0n.js → location-mutation-0v53mg2y.js} +4 -4
- package/dist/chunks/{ripgrep-29c8gkgr.js → location-mutation-0xtb2bpj.js} +14 -14
- package/dist/chunks/{ripgrep-a2kk223a.js → location-mutation-12fsa0de.js} +46 -46
- package/dist/chunks/{ripgrep-5x18cq5v.js → location-mutation-19hac7dy.js} +23 -23
- package/dist/chunks/{ripgrep-yp2x3t23.js → location-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-1dfhrqqs.js → location-mutation-1eyaby9q.js} +9 -3
- package/dist/chunks/{ripgrep-52tre6wp.js → location-mutation-1f01g00k.js} +26 -26
- package/dist/chunks/{ripgrep-qbhwwr14.js → location-mutation-1nx36s23.js} +25 -25
- package/dist/chunks/{ripgrep-zfzzzsd1.js → location-mutation-1scpfsh2.js} +36 -36
- package/dist/chunks/{ripgrep-wmbs8tb3.js → location-mutation-1sm8r3sx.js} +77 -77
- package/dist/chunks/{ripgrep-3krnmj08.js → location-mutation-1z2mvqeh.js} +64 -64
- package/dist/chunks/{ripgrep-30hc21n9.js → location-mutation-1zk7d5w4.js} +13 -13
- package/dist/chunks/{ripgrep-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-kq4qnvrc.js → location-mutation-26xsg9sg.js} +27 -27
- package/dist/chunks/{ripgrep-egzrnntm.js → location-mutation-27hkvsk8.js} +7 -7
- package/dist/chunks/{ripgrep-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-yxam8y99.js → location-mutation-2c2zxp3e.js} +25 -8
- package/dist/chunks/{ripgrep-pa3883ab.js → location-mutation-326n6wzt.js} +4 -4
- package/dist/chunks/{ripgrep-v18p0m5c.js → location-mutation-36ch212h.js} +8 -8
- package/dist/chunks/{ripgrep-f9bavhm2.js → location-mutation-380vjcmd.js} +1 -1
- package/dist/chunks/{ripgrep-tn0aqsam.js → location-mutation-3cfzdc8e.js} +5 -5
- package/dist/chunks/{ripgrep-9txjdh67.js → location-mutation-3dv89ket.js} +9 -9
- package/dist/chunks/{ripgrep-mqrms0tp.js → location-mutation-3ey06gfw.js} +15 -14
- package/dist/chunks/{ripgrep-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-nh837eg3.js → location-mutation-3ft82nyq.js} +4 -4
- package/dist/chunks/{ripgrep-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-ynqmra9q.js → location-mutation-3v97kze0.js} +30 -30
- package/dist/chunks/{ripgrep-q1a7cndp.js → location-mutation-3xztec2w.js} +5 -5
- package/dist/chunks/{ripgrep-qmr73083.js → location-mutation-4b6bntqd.js} +1 -1
- package/dist/chunks/{ripgrep-ncz5f2kx.js → location-mutation-4jhgwcfy.js} +38 -38
- package/dist/chunks/{ripgrep-a1tpkmh4.js → location-mutation-4vcrnpx2.js} +13 -3
- package/dist/chunks/{ripgrep-e6hmchc5.js → location-mutation-510m7gjw.js} +5 -5
- package/dist/chunks/{ripgrep-xged7na4.js → location-mutation-51qfk2sn.js} +5 -5
- package/dist/chunks/{ripgrep-b0sam31v.js → location-mutation-52r26j8c.js} +11 -11
- package/dist/chunks/{ripgrep-r8452npv.js → location-mutation-57f52h2e.js} +6 -6
- package/dist/chunks/{ripgrep-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-c8kn0e1j.js → location-mutation-5ecgp29h.js} +12 -12
- package/dist/chunks/{ripgrep-fsf0tb3g.js → location-mutation-5sz580sy.js} +18 -18
- package/dist/chunks/{ripgrep-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-08rsf5c2.js → location-mutation-5t94bsj9.js} +6 -6
- package/dist/chunks/{ripgrep-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-7s6v6vsj.js → location-mutation-6ds839xg.js} +28 -28
- package/dist/chunks/{ripgrep-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-9knsa76r.js → location-mutation-6mv28wt3.js} +19 -19
- package/dist/chunks/{ripgrep-v0rk1y30.js → location-mutation-6nf03a2p.js} +4 -4
- package/dist/chunks/{ripgrep-gvjndn77.js → location-mutation-6qxca1fz.js} +15 -15
- package/dist/chunks/{ripgrep-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{ripgrep-sjhz9xyn.js → location-mutation-7358hqzw.js} +10 -10
- package/dist/chunks/{ripgrep-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-j8xe2y08.js → location-mutation-7tms9jw2.js} +7 -7
- package/dist/chunks/{ripgrep-pxt4kznk.js → location-mutation-7wdjtyr9.js} +3 -3
- package/dist/chunks/{ripgrep-q6mfqnjt.js → location-mutation-7ybwwvvx.js} +4 -28
- package/dist/chunks/{ripgrep-52vg5n1p.js → location-mutation-7yg93r1e.js} +31 -31
- package/dist/chunks/{ripgrep-smrq66nq.js → location-mutation-82b3faa1.js} +17 -17
- package/dist/chunks/{ripgrep-teteq0qc.js → location-mutation-82sjhv5t.js} +12 -12
- package/dist/chunks/{ripgrep-844ef7ks.js → location-mutation-844ef7ks.js} +1 -1
- package/dist/chunks/{ripgrep-9g5bfw8n.js → location-mutation-88x5955g.js} +21 -21
- package/dist/chunks/location-mutation-8amm28tb.js +462 -0
- package/dist/chunks/location-mutation-8c4fmeec.js +247 -0
- package/dist/chunks/{ripgrep-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-ya4xqnab.js → location-mutation-8ga6zesv.js} +29 -29
- package/dist/chunks/{ripgrep-magykp64.js → location-mutation-8hmgw1ak.js} +4 -4
- package/dist/chunks/{ripgrep-ht6mk1vy.js → location-mutation-8k159x2e.js} +26 -26
- package/dist/chunks/{ripgrep-rg3k9syq.js → location-mutation-8kwzm53y.js} +4 -4
- package/dist/chunks/{ripgrep-r198awpg.js → location-mutation-8n1yswe0.js} +17 -17
- package/dist/chunks/{ripgrep-dj2t23y0.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{ripgrep-hj9fj50h.js → location-mutation-8vv3zxpc.js} +17 -17
- package/dist/chunks/{ripgrep-btec747f.js → location-mutation-8y31xnqm.js} +5 -5
- package/dist/chunks/{ripgrep-tc6vzjsq.js → location-mutation-981wd75n.js} +12 -12
- package/dist/chunks/{ripgrep-kfnz8wqc.js → location-mutation-9b5secnr.js} +8 -8
- package/dist/chunks/{ripgrep-0bqp4044.js → location-mutation-9crejs1k.js} +12 -12
- package/dist/chunks/{ripgrep-rhrhnb2s.js → location-mutation-9nhtjm7a.js} +30 -30
- package/dist/chunks/{ripgrep-5c4hm403.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{ripgrep-ryr25ayn.js → location-mutation-a2ew8a62.js} +4 -4
- package/dist/chunks/{ripgrep-50ztztte.js → location-mutation-a33f6fh4.js} +9 -9
- package/dist/chunks/{ripgrep-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-70vwcewg.js → location-mutation-aggs0gse.js} +18 -18
- package/dist/chunks/{ripgrep-qerr83y0.js → location-mutation-avcnr8ja.js} +15 -15
- package/dist/chunks/{ripgrep-v8ch97zc.js → location-mutation-b2jx7zxs.js} +1 -1
- package/dist/chunks/{ripgrep-a37fyb3j.js → location-mutation-b5efxae6.js} +4 -4
- package/dist/chunks/{ripgrep-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-g8jspvs5.js → location-mutation-b83fz2rh.js} +13 -9
- package/dist/chunks/{ripgrep-hvshqg9g.js → location-mutation-bs9q8pck.js} +9 -9
- package/dist/chunks/{ripgrep-8ykhp4ac.js → location-mutation-bta0jsnn.js} +26 -26
- package/dist/chunks/{ripgrep-kx703q2s.js → location-mutation-bzx4zv3s.js} +26 -26
- package/dist/chunks/{ripgrep-m59gvg9q.js → location-mutation-c1rv2yct.js} +23 -23
- package/dist/chunks/{ripgrep-m0jqrx5p.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{ripgrep-bz3gfsg9.js → location-mutation-cfyxn8mg.js} +9 -9
- package/dist/chunks/{ripgrep-zh9nb1mr.js → location-mutation-ch56cc6g.js} +32 -32
- package/dist/chunks/{ripgrep-y1ja9cm0.js → location-mutation-cnymy2f0.js} +161 -161
- package/dist/chunks/{ripgrep-9w9dfj1g.js → location-mutation-csw82taa.js} +51 -51
- package/dist/chunks/{ripgrep-x9p92xwv.js → location-mutation-cw3cq2se.js} +17 -17
- package/dist/chunks/{ripgrep-emfk09z3.js → location-mutation-cwkw9hxx.js} +13 -13
- package/dist/chunks/{ripgrep-2fbtx2rb.js → location-mutation-cyznyexp.js} +41 -40
- package/dist/chunks/{ripgrep-qfxnftan.js → location-mutation-dcqbhrtj.js} +11 -11
- package/dist/chunks/{ripgrep-e4pgevt3.js → location-mutation-dgemy49w.js} +20 -20
- package/dist/chunks/{ripgrep-hgyqz33r.js → location-mutation-dk6r9dar.js} +32 -32
- package/dist/chunks/{ripgrep-c0mv5cq0.js → location-mutation-dmpamw93.js} +5 -5
- package/dist/chunks/{ripgrep-wpm2rk0p.js → location-mutation-ds2mmwsg.js} +6 -6
- package/dist/chunks/{ripgrep-wg38wxpd.js → location-mutation-ea47fqf8.js} +27 -27
- package/dist/chunks/{ripgrep-mrngs3tk.js → location-mutation-ehntj2pc.js} +40 -40
- package/dist/chunks/{ripgrep-9f12xdp3.js → location-mutation-er8gb86w.js} +16 -16
- package/dist/chunks/{ripgrep-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-brwkg70z.js → location-mutation-ey5r276z.js} +24 -24
- package/dist/chunks/{ripgrep-hdnk95c8.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{ripgrep-0jwsre1p.js → location-mutation-fcrkznn8.js} +5 -5
- package/dist/chunks/{ripgrep-dwq6ryhm.js → location-mutation-fqj9nv8j.js} +8 -8
- package/dist/chunks/{ripgrep-afbcmxhy.js → location-mutation-fra1pztx.js} +11 -11
- package/dist/chunks/{ripgrep-2j7qy3p8.js → location-mutation-fvscxbve.js} +4 -4
- package/dist/chunks/{ripgrep-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-fab8hzt3.js → location-mutation-fxqygnfa.js} +4 -4
- package/dist/chunks/{ripgrep-3sxvqcgp.js → location-mutation-g63tzfz2.js} +85 -85
- package/dist/chunks/{ripgrep-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-zj7nydea.js → location-mutation-ghv39z3q.js} +6 -6
- package/dist/chunks/{ripgrep-fewzy991.js → location-mutation-gkm5mcy5.js} +32 -32
- package/dist/chunks/{ripgrep-kvqzzzem.js → location-mutation-gtsm3tea.js} +9 -9
- package/dist/chunks/{ripgrep-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-6nkhkk13.js → location-mutation-gvcpdg76.js} +22 -22
- package/dist/chunks/{ripgrep-5gjh7yps.js → location-mutation-gxw8tk06.js} +18 -18
- package/dist/chunks/{ripgrep-c769d21z.js → location-mutation-gy8bp4n5.js} +6 -6
- package/dist/chunks/{ripgrep-2stzc2h4.js → location-mutation-gyqj5dqq.js} +47 -47
- package/dist/chunks/{ripgrep-y9wxxghe.js → location-mutation-gz0k60p5.js} +11 -11
- package/dist/chunks/{ripgrep-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-m86bnw2c.js → location-mutation-h7ygw6q4.js} +9 -9
- package/dist/chunks/{ripgrep-fxxh0p3a.js → location-mutation-hds58mhb.js} +2 -2
- package/dist/chunks/{ripgrep-4890d2ba.js → location-mutation-hhb7sktp.js} +15 -14
- package/dist/chunks/{ripgrep-wx69xc2v.js → location-mutation-hhmedmrs.js} +27 -27
- package/dist/chunks/{ripgrep-hjt4xg1x.js → location-mutation-hjt4xg1x.js} +1 -1
- package/dist/chunks/{ripgrep-7whvx7cs.js → location-mutation-hrf55331.js} +10 -10
- package/dist/chunks/location-mutation-ht5y0zrb.js +18 -0
- package/dist/chunks/{ripgrep-krvjrxqy.js → location-mutation-hv8hjp39.js} +32 -34
- package/dist/chunks/{ripgrep-6kcarc2j.js → location-mutation-hzee8rjr.js} +9 -9
- package/dist/chunks/{ripgrep-9r4w88hc.js → location-mutation-j0mn1je3.js} +16 -16
- package/dist/chunks/{ripgrep-wk58jv74.js → location-mutation-j55g5gc5.js} +10 -10
- package/dist/chunks/{ripgrep-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-d3f09xgd.js → location-mutation-jah5aqqf.js} +10 -10
- package/dist/chunks/{ripgrep-2d6j2h4j.js → location-mutation-jtp7wgq3.js} +8 -8
- package/dist/chunks/{ripgrep-p235624p.js → location-mutation-jtpp2ykg.js} +25 -25
- package/dist/chunks/{ripgrep-y71avatq.js → location-mutation-jwcy2c2z.js} +4 -4
- package/dist/chunks/{ripgrep-ctjfg1hr.js → location-mutation-k52252t7.js} +4 -4
- package/dist/chunks/{ripgrep-awqa4j6r.js → location-mutation-k8756053.js} +10 -10
- package/dist/chunks/{ripgrep-ywjt7tq6.js → location-mutation-ka2k270b.js} +8 -8
- package/dist/chunks/{ripgrep-jy16bfac.js → location-mutation-kcwf74x3.js} +1 -1
- package/dist/chunks/{ripgrep-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-1v7ta698.js → location-mutation-knva4kt0.js} +11 -11
- package/dist/chunks/{ripgrep-6e3xc085.js → location-mutation-kqaz0ej3.js} +1 -1
- package/dist/chunks/{ripgrep-bj2cfy38.js → location-mutation-kqg17zeb.js} +18 -18
- package/dist/chunks/{ripgrep-gmg4hxzv.js → location-mutation-kvgx6hxn.js} +15 -15
- package/dist/chunks/{ripgrep-by90618a.js → location-mutation-kw1gmdxk.js} +36 -36
- package/dist/chunks/{ripgrep-a2t11qfx.js → location-mutation-m2s78sav.js} +15 -15
- package/dist/chunks/{ripgrep-zcqf6png.js → location-mutation-m46exch3.js} +6 -6
- package/dist/chunks/{ripgrep-s3d361zp.js → location-mutation-m512vzfg.js} +3 -3
- package/dist/chunks/{ripgrep-q3hev8r4.js → location-mutation-m5erp1k4.js} +5 -3
- package/dist/chunks/{ripgrep-4ayvwj3v.js → location-mutation-m75h0q20.js} +18 -18
- package/dist/chunks/{ripgrep-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-56gdpj1q.js → location-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{ripgrep-7yh4e7ss.js → location-mutation-mhkvc446.js} +3 -3
- package/dist/chunks/{ripgrep-8rr9h0km.js → location-mutation-mhn5tcby.js} +11 -11
- package/dist/chunks/{ripgrep-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{ripgrep-yq9pgtk6.js → location-mutation-mmxv3gw3.js} +12 -12
- package/dist/chunks/{ripgrep-02vzrq4v.js → location-mutation-mtk4wbwh.js} +17 -17
- package/dist/chunks/{ripgrep-6a8fxjwh.js → location-mutation-mx4qes0k.js} +15 -15
- package/dist/chunks/{ripgrep-pdqsczmv.js → location-mutation-n9sdwvwy.js} +57 -57
- package/dist/chunks/{ripgrep-t083vv5c.js → location-mutation-nwwfgs0n.js} +24 -24
- package/dist/chunks/{ripgrep-mjrzrfrb.js → location-mutation-nydj1emx.js} +10 -10
- package/dist/chunks/{ripgrep-wm98esrr.js → location-mutation-nz1x447f.js} +6 -6
- package/dist/chunks/{ripgrep-q5pbp2gz.js → location-mutation-nzt9a98p.js} +15 -15
- package/dist/chunks/{ripgrep-atb1k4sq.js → location-mutation-p0kdf59p.js} +29 -29
- package/dist/chunks/{ripgrep-a94v7mat.js → location-mutation-p14yjxpe.js} +12 -12
- package/dist/chunks/{ripgrep-bxcskdh3.js → location-mutation-p1n7jv0z.js} +20 -20
- package/dist/chunks/{ripgrep-fjmrr6sh.js → location-mutation-p1wf2k30.js} +9 -9
- package/dist/chunks/{ripgrep-7gvwkz6m.js → location-mutation-p44d8wdy.js} +5 -5
- package/dist/chunks/{ripgrep-ep1rz70n.js → location-mutation-p4nzc36k.js} +30 -30
- package/dist/chunks/{ripgrep-6jxebzjh.js → location-mutation-p6cfp1ja.js} +32 -32
- package/dist/chunks/{ripgrep-mfhfdr54.js → location-mutation-paegk39x.js} +4 -4
- package/dist/chunks/{ripgrep-j5208yae.js → location-mutation-pjedbq3k.js} +4 -4
- package/dist/chunks/{ripgrep-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-a5tp4yjy.js → location-mutation-pnhga6ht.js} +24 -24
- package/dist/chunks/{ripgrep-d85tbr7r.js → location-mutation-ppxehy7v.js} +17 -17
- package/dist/chunks/{ripgrep-h4yb03sr.js → location-mutation-ps2ghfx6.js} +16 -16
- package/dist/chunks/location-mutation-pv53ra6t.js +22 -0
- package/dist/chunks/{ripgrep-80n2194z.js → location-mutation-pzpywyfj.js} +38 -38
- package/dist/chunks/{ripgrep-5jtdmvnp.js → location-mutation-q1c4k7jk.js} +1 -1
- package/dist/chunks/{ripgrep-a7j8tqav.js → location-mutation-q9hbvwne.js} +24 -24
- package/dist/chunks/{ripgrep-j7pvfhjt.js → location-mutation-qk64x1h5.js} +11 -11
- package/dist/chunks/{ripgrep-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-w4jw514d.js → location-mutation-qx1qep3t.js} +4 -4
- package/dist/chunks/{ripgrep-wm6gh047.js → location-mutation-r17fvq36.js} +32 -32
- package/dist/chunks/{ripgrep-f7jct6gx.js → location-mutation-r5rdn9gc.js} +17 -17
- package/dist/chunks/{ripgrep-resyjkwk.js → location-mutation-r6gw4gsf.js} +35 -35
- package/dist/chunks/{ripgrep-jzm7scjc.js → location-mutation-r6hbbyz4.js} +15 -15
- package/dist/chunks/{ripgrep-zb8dnpk3.js → location-mutation-rd25f8yh.js} +8 -8
- package/dist/chunks/{ripgrep-t4sxm5c8.js → location-mutation-rdg9mn3e.js} +19 -18
- package/dist/chunks/{ripgrep-ep6z9mt6.js → location-mutation-rk7m7srh.js} +8 -8
- package/dist/chunks/{ripgrep-xnnv5aca.js → location-mutation-rm353m6a.js} +11 -11
- package/dist/chunks/{ripgrep-4c2df9zx.js → location-mutation-rmdyxgmk.js} +8 -8
- package/dist/chunks/{ripgrep-31dz7cp4.js → location-mutation-rstnkd3y.js} +1 -1
- package/dist/chunks/{ripgrep-81swgkk7.js → location-mutation-rsym84ch.js} +7 -7
- package/dist/chunks/{ripgrep-qaed280k.js → location-mutation-rtvpdrsv.js} +5 -5
- package/dist/chunks/{ripgrep-ec8389mk.js → location-mutation-s0hza5ac.js} +4 -4
- package/dist/chunks/{ripgrep-7xy84fyg.js → location-mutation-sb3d3j8p.js} +7 -7
- package/dist/chunks/{ripgrep-20as3pn0.js → location-mutation-sd5675wn.js} +35 -31
- package/dist/chunks/{ripgrep-0d2qkrjy.js → location-mutation-sedkckjb.js} +12 -12
- package/dist/chunks/{ripgrep-1psq7yq3.js → location-mutation-sy45pk4d.js} +9 -9
- package/dist/chunks/{ripgrep-m54dcv1g.js → location-mutation-t5dz2dvd.js} +29 -28
- package/dist/chunks/{ripgrep-a3dh94hw.js → location-mutation-t61n1tw8.js} +25 -24
- package/dist/chunks/{ripgrep-ffatf9pa.js → location-mutation-t768js4p.js} +8 -8
- package/dist/chunks/{ripgrep-1ah30sey.js → location-mutation-t8r3ep1g.js} +5 -5
- package/dist/chunks/{ripgrep-n5hw7tw3.js → location-mutation-t8wk4avw.js} +44 -19
- package/dist/chunks/{ripgrep-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → location-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-3n2394pg.js → location-mutation-tj1a712e.js} +9 -9
- package/dist/chunks/{ripgrep-ddb4hmaq.js → location-mutation-tkfj7zmc.js} +12 -12
- package/dist/chunks/{ripgrep-6h3e8j5e.js → location-mutation-tpw3wqby.js} +8 -8
- package/dist/chunks/{ripgrep-etq9z835.js → location-mutation-tregh9zc.js} +2 -2
- package/dist/chunks/{ripgrep-f6p1bxgw.js → location-mutation-trqnt801.js} +7 -7
- package/dist/chunks/{ripgrep-7z6zz8kn.js → location-mutation-tryp60pv.js} +4 -4
- package/dist/chunks/{ripgrep-zgnck06n.js → location-mutation-ttrnch24.js} +11 -11
- package/dist/chunks/{ripgrep-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-ca00p06f.js → location-mutation-v271ywhn.js} +41 -41
- package/dist/chunks/{ripgrep-ed25785e.js → location-mutation-v7q5x8q4.js} +35 -35
- package/dist/chunks/{ripgrep-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-hds8kbqn.js → location-mutation-vhsk3ep2.js} +13 -13
- package/dist/chunks/{ripgrep-haj4pygx.js → location-mutation-vnaah6bw.js} +37 -37
- package/dist/chunks/{ripgrep-3fzpdmpf.js → location-mutation-vyjfqv4t.js} +18 -18
- package/dist/chunks/{ripgrep-qpprd5ad.js → location-mutation-vyjzrkx0.js} +5 -5
- package/dist/chunks/{ripgrep-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-39r80e1r.js → location-mutation-w79zsp0s.js} +1 -1
- package/dist/chunks/{ripgrep-sfah34qq.js → location-mutation-w7fytw90.js} +19 -19
- package/dist/chunks/{ripgrep-fcsv9ew2.js → location-mutation-wc0kbtjh.js} +37 -37
- package/dist/chunks/{ripgrep-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-4eetnmxa.js → location-mutation-whvneb9k.js} +3 -3
- package/dist/chunks/{ripgrep-seydh4nr.js → location-mutation-wtvz3wcx.js} +7 -7
- package/dist/chunks/{ripgrep-hwcsphzk.js → location-mutation-wvt7g9ep.js} +24 -24
- package/dist/chunks/{ripgrep-c7fm68m0.js → location-mutation-wvx0h6x9.js} +19 -19
- package/dist/chunks/{ripgrep-m9s8d3d3.js → location-mutation-x09zjz10.js} +17 -17
- package/dist/chunks/{ripgrep-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{ripgrep-wy90n05w.js → location-mutation-xmsvvm95.js} +23 -23
- package/dist/chunks/{ripgrep-0ztccmq1.js → location-mutation-xn33xk03.js} +5 -5
- package/dist/chunks/{ripgrep-sv9bpgvh.js → location-mutation-xsdh20fb.js} +5 -5
- package/dist/chunks/{ripgrep-8eyq8xab.js → location-mutation-xw1r19dr.js} +11 -11
- package/dist/chunks/{ripgrep-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-tek5ng0y.js → location-mutation-y2ccry63.js} +13 -13
- package/dist/chunks/{ripgrep-as33ahc0.js → location-mutation-y6bqj6hh.js} +3 -3
- package/dist/chunks/{ripgrep-rnnepbab.js → location-mutation-y871meh9.js} +14 -14
- package/dist/chunks/{ripgrep-wt7k4asa.js → location-mutation-ydnbdpr3.js} +26 -26
- package/dist/chunks/{ripgrep-mn4bv945.js → location-mutation-yed0t1d5.js} +14 -14
- package/dist/chunks/{ripgrep-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-7cbawamr.js → location-mutation-yvvy1a1h.js} +15 -15
- package/dist/chunks/{ripgrep-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-eye0aa55.js → location-mutation-z1z2vb6z.js} +11 -11
- package/dist/chunks/{ripgrep-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-3ddgt7af.js → location-mutation-za4kfshb.js} +43 -43
- package/dist/chunks/{ripgrep-b00bre06.js → location-mutation-zbqs32x3.js} +58 -58
- package/dist/chunks/{ripgrep-ddt2bs9e.js → location-mutation-zcrspsvn.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zerdtc7d.js → location-mutation-zerdtc7d.js} +2 -2
- package/dist/chunks/{ripgrep-5aveev3e.js → location-mutation-zf5mq5hd.js} +5 -5
- package/dist/chunks/{ripgrep-qa4rp7fn.js → location-mutation-zjccgr9f.js} +9 -9
- package/dist/chunks/{ripgrep-gez7w0gg.js → location-mutation-zm48185g.js} +34 -34
- package/dist/chunks/{ripgrep-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-e4hv03qr.js → location-mutation-zx352kk7.js} +19 -19
- package/dist/chunks/{ripgrep-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +3 -5
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +97 -97
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/model-resolver.d.ts +2 -0
- package/dist/types/model.d.ts +1 -0
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
- package/dist/types/provider.d.ts +1 -0
- package/dist/types/session/history.d.ts +80 -0
- package/dist/types/session/runner/model.d.ts +1 -0
- package/dist/types/session/transfer.d.ts +44 -0
- 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/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- 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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/ripgrep-2rkkddv9.js +0 -22
- package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
- package/dist/chunks/ripgrep-jnj6t7er.js +0 -462
- package/dist/chunks/ripgrep-psscsn3t.js +0 -247
- /package/dist/chunks/{ripgrep-0mesazry.js → location-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-paphc93g.js → location-mutation-paphc93g.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node54
|
|
7
|
+
} from "./location-mutation-cyznyexp.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service49,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node53
|
|
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 Service49 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service50;
|
|
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",
|
|
@@ -61,12 +61,12 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service49.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node53 = makeLocationNode({
|
|
67
|
+
service: Service49,
|
|
68
|
+
layer: layer21,
|
|
69
|
+
deps: [node54, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service49, layer21, node53, exports_generate2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-jtp7wgq3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info23,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-p14yjxpe.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID11.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID10.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info23.make({
|
|
92
|
+
...Info23.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID10.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./location-mutation-sedkckjb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service32,
|
|
7
7
|
node36
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-v271ywhn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node74
|
|
12
|
+
} from "./location-mutation-n9sdwvwy.js";
|
|
13
13
|
import {
|
|
14
14
|
Service57,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node61
|
|
16
|
+
} from "./location-mutation-5sz580sy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
layer: () => layer13,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer13 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
42
|
const tools = yield* Service57;
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
43
|
+
const bus = yield* Service77;
|
|
44
|
+
const permission = yield* Service69;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
117
|
var node35 = makeLocationNode({
|
|
118
|
-
service:
|
|
118
|
+
service: Service31,
|
|
119
119
|
layer: layer13,
|
|
120
|
-
deps: [
|
|
120
|
+
deps: [node61, node36, node82, node74]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service31, layer13, node35, exports_mcp3 };
|
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./location-mutation-sedkckjb.js";
|
|
5
|
+
import {
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./location-mutation-pnhga6ht.js";
|
|
9
|
+
import {
|
|
10
|
+
Service65,
|
|
11
|
+
node70
|
|
12
|
+
} from "./location-mutation-r17fvq36.js";
|
|
13
|
+
import {
|
|
14
|
+
Service55,
|
|
15
|
+
node59
|
|
16
|
+
} from "./location-mutation-p0kdf59p.js";
|
|
17
|
+
import {
|
|
18
|
+
Service54,
|
|
19
|
+
node58
|
|
20
|
+
} from "./location-mutation-p4nzc36k.js";
|
|
21
|
+
import {
|
|
22
|
+
Service51,
|
|
23
|
+
node55
|
|
24
|
+
} from "./location-mutation-t5dz2dvd.js";
|
|
25
|
+
import {
|
|
26
|
+
Service46,
|
|
27
|
+
node50
|
|
28
|
+
} from "./location-mutation-jtpp2ykg.js";
|
|
29
|
+
import {
|
|
30
|
+
Service64,
|
|
31
|
+
node69
|
|
32
|
+
} from "./location-mutation-gvcpdg76.js";
|
|
33
|
+
import {
|
|
34
|
+
Service74,
|
|
35
|
+
node79
|
|
36
|
+
} from "./location-mutation-ps2ghfx6.js";
|
|
37
|
+
import {
|
|
38
|
+
Service79,
|
|
39
|
+
node84
|
|
40
|
+
} from "./location-mutation-k8756053.js";
|
|
41
|
+
import {
|
|
42
|
+
Service66,
|
|
43
|
+
node71
|
|
44
|
+
} from "./location-mutation-p1n7jv0z.js";
|
|
45
|
+
import {
|
|
46
|
+
Service63,
|
|
47
|
+
node68
|
|
48
|
+
} from "./location-mutation-gyqj5dqq.js";
|
|
49
|
+
import {
|
|
50
|
+
Plugin13
|
|
51
|
+
} from "./location-mutation-rdg9mn3e.js";
|
|
52
|
+
import {
|
|
53
|
+
Service78,
|
|
54
|
+
node83
|
|
55
|
+
} from "./location-mutation-cw3cq2se.js";
|
|
56
|
+
import {
|
|
57
|
+
Service69,
|
|
58
|
+
node74
|
|
59
|
+
} from "./location-mutation-n9sdwvwy.js";
|
|
60
|
+
import {
|
|
61
|
+
Service39,
|
|
62
|
+
node44
|
|
63
|
+
} from "./location-mutation-6ds839xg.js";
|
|
64
|
+
import {
|
|
65
|
+
Service61,
|
|
66
|
+
node65
|
|
67
|
+
} from "./location-mutation-wvt7g9ep.js";
|
|
68
|
+
import {
|
|
69
|
+
Service32,
|
|
70
|
+
node36
|
|
71
|
+
} from "./location-mutation-v271ywhn.js";
|
|
72
|
+
import {
|
|
73
|
+
Service58,
|
|
74
|
+
node62
|
|
75
|
+
} from "./location-mutation-vyjzrkx0.js";
|
|
76
|
+
import {
|
|
77
|
+
Service57,
|
|
78
|
+
node61
|
|
79
|
+
} from "./location-mutation-5sz580sy.js";
|
|
80
|
+
import {
|
|
81
|
+
Service67,
|
|
82
|
+
node72
|
|
83
|
+
} from "./location-mutation-8ga6zesv.js";
|
|
84
|
+
import {
|
|
85
|
+
Service34,
|
|
86
|
+
node38
|
|
87
|
+
} from "./location-mutation-avcnr8ja.js";
|
|
88
|
+
import {
|
|
89
|
+
Plugin45
|
|
90
|
+
} from "./location-mutation-52r26j8c.js";
|
|
91
|
+
import {
|
|
92
|
+
Service53,
|
|
93
|
+
node57
|
|
94
|
+
} from "./location-mutation-7yg93r1e.js";
|
|
95
|
+
import {
|
|
96
|
+
Service38,
|
|
97
|
+
node42
|
|
98
|
+
} from "./location-mutation-mtk4wbwh.js";
|
|
99
|
+
import {
|
|
100
|
+
Service37,
|
|
101
|
+
node41
|
|
102
|
+
} from "./location-mutation-5ecgp29h.js";
|
|
103
|
+
import {
|
|
104
|
+
Service35,
|
|
105
|
+
node39
|
|
106
|
+
} from "./location-mutation-csw82taa.js";
|
|
107
|
+
import {
|
|
108
|
+
Service21,
|
|
109
|
+
node25
|
|
110
|
+
} from "./location-mutation-g63tzfz2.js";
|
|
111
|
+
import {
|
|
112
|
+
Plugin17
|
|
113
|
+
} from "./location-mutation-8k159x2e.js";
|
|
114
|
+
import {
|
|
115
|
+
Service7,
|
|
116
|
+
node10
|
|
117
|
+
} from "./location-mutation-sd5675wn.js";
|
|
118
|
+
import {
|
|
119
|
+
Plugin18
|
|
120
|
+
} from "./location-mutation-fra1pztx.js";
|
|
121
|
+
import {
|
|
122
|
+
Service15,
|
|
123
|
+
node18
|
|
124
|
+
} from "./location-mutation-m2s78sav.js";
|
|
125
|
+
import {
|
|
126
|
+
Plugin8
|
|
127
|
+
} from "./location-mutation-x09zjz10.js";
|
|
128
|
+
import {
|
|
129
|
+
Plugin3
|
|
130
|
+
} from "./location-mutation-a33f6fh4.js";
|
|
131
|
+
import {
|
|
132
|
+
Plugin9
|
|
133
|
+
} from "./location-mutation-mx4qes0k.js";
|
|
134
|
+
import {
|
|
135
|
+
Service9,
|
|
136
|
+
node12
|
|
137
|
+
} from "./location-mutation-p1wf2k30.js";
|
|
138
|
+
import {
|
|
139
|
+
Plugin12
|
|
140
|
+
} from "./location-mutation-y871meh9.js";
|
|
141
|
+
import {
|
|
142
|
+
Plugin11
|
|
143
|
+
} from "./location-mutation-nydj1emx.js";
|
|
144
|
+
import {
|
|
145
|
+
Plugin16
|
|
146
|
+
} from "./location-mutation-b83fz2rh.js";
|
|
147
|
+
import {
|
|
148
|
+
Plugin4
|
|
149
|
+
} from "./location-mutation-hzee8rjr.js";
|
|
150
|
+
import {
|
|
151
|
+
Plugin14
|
|
152
|
+
} from "./location-mutation-1zk7d5w4.js";
|
|
153
|
+
import {
|
|
154
|
+
Plugin10
|
|
155
|
+
} from "./location-mutation-z1z2vb6z.js";
|
|
156
|
+
import {
|
|
157
|
+
Plugin15
|
|
158
|
+
} from "./location-mutation-xw1r19dr.js";
|
|
159
|
+
import {
|
|
160
|
+
Service12,
|
|
161
|
+
node15
|
|
162
|
+
} from "./location-mutation-h7ygw6q4.js";
|
|
163
|
+
import {
|
|
164
|
+
Plugin2
|
|
165
|
+
} from "./location-mutation-zx352kk7.js";
|
|
166
|
+
import {
|
|
167
|
+
Plugin5
|
|
168
|
+
} from "./location-mutation-mhn5tcby.js";
|
|
169
|
+
import {
|
|
170
|
+
Plugin7
|
|
171
|
+
} from "./location-mutation-36ch212h.js";
|
|
172
|
+
import {
|
|
173
|
+
Service20,
|
|
174
|
+
node24
|
|
175
|
+
} from "./location-mutation-kw1gmdxk.js";
|
|
176
|
+
import {
|
|
177
|
+
Plugin6
|
|
178
|
+
} from "./location-mutation-nzt9a98p.js";
|
|
179
|
+
import {
|
|
180
|
+
Service59,
|
|
181
|
+
node63
|
|
182
|
+
} from "./location-mutation-kqg17zeb.js";
|
|
183
|
+
import {
|
|
184
|
+
Service14,
|
|
185
|
+
node17
|
|
186
|
+
} from "./location-mutation-cwkw9hxx.js";
|
|
187
|
+
import {
|
|
188
|
+
Service60,
|
|
189
|
+
node64
|
|
190
|
+
} from "./location-mutation-3ey06gfw.js";
|
|
191
|
+
import {
|
|
192
|
+
Service47,
|
|
193
|
+
node51
|
|
194
|
+
} from "./location-mutation-26xsg9sg.js";
|
|
195
|
+
import {
|
|
196
|
+
Service13,
|
|
197
|
+
node16
|
|
198
|
+
} from "./location-mutation-3v97kze0.js";
|
|
199
|
+
import {
|
|
200
|
+
Service18,
|
|
201
|
+
node22
|
|
202
|
+
} from "./location-mutation-ea47fqf8.js";
|
|
203
|
+
import {
|
|
204
|
+
Service10,
|
|
205
|
+
node13
|
|
206
|
+
} from "./location-mutation-6qxca1fz.js";
|
|
207
|
+
import {
|
|
208
|
+
Plugin41
|
|
209
|
+
} from "./location-mutation-1scpfsh2.js";
|
|
210
|
+
import {
|
|
211
|
+
Plugin44
|
|
212
|
+
} from "./location-mutation-ch56cc6g.js";
|
|
213
|
+
import {
|
|
214
|
+
Plugin33
|
|
215
|
+
} from "./location-mutation-vnaah6bw.js";
|
|
216
|
+
import {
|
|
217
|
+
Plugin42
|
|
218
|
+
} from "./location-mutation-wc0kbtjh.js";
|
|
219
|
+
import {
|
|
220
|
+
Plugin39
|
|
221
|
+
} from "./location-mutation-k52252t7.js";
|
|
222
|
+
import {
|
|
223
|
+
Service11,
|
|
224
|
+
node14
|
|
225
|
+
} from "./location-mutation-dcqbhrtj.js";
|
|
226
|
+
import {
|
|
227
|
+
Plugin34
|
|
228
|
+
} from "./location-mutation-t61n1tw8.js";
|
|
229
|
+
import {
|
|
230
|
+
Plugin36
|
|
231
|
+
} from "./location-mutation-01qzhqb7.js";
|
|
232
|
+
import {
|
|
233
|
+
Plugin38
|
|
234
|
+
} from "./location-mutation-ydnbdpr3.js";
|
|
235
|
+
import {
|
|
236
|
+
Plugin43
|
|
237
|
+
} from "./location-mutation-4jhgwcfy.js";
|
|
238
|
+
import {
|
|
239
|
+
Plugin40
|
|
240
|
+
} from "./location-mutation-xmsvvm95.js";
|
|
241
|
+
import {
|
|
242
|
+
Plugin35
|
|
243
|
+
} from "./location-mutation-bta0jsnn.js";
|
|
244
|
+
import {
|
|
245
|
+
Plugin37
|
|
246
|
+
} from "./location-mutation-gkm5mcy5.js";
|
|
247
|
+
import {
|
|
248
|
+
Plugin31
|
|
249
|
+
} from "./location-mutation-tkfj7zmc.js";
|
|
250
|
+
import {
|
|
251
|
+
Plugin29
|
|
252
|
+
} from "./location-mutation-vhsk3ep2.js";
|
|
253
|
+
import {
|
|
254
|
+
Plugin30
|
|
255
|
+
} from "./location-mutation-51qfk2sn.js";
|
|
256
|
+
import {
|
|
257
|
+
ModelsDevPlugin2
|
|
258
|
+
} from "./location-mutation-2c2zxp3e.js";
|
|
259
|
+
import {
|
|
260
|
+
Plugin28
|
|
261
|
+
} from "./location-mutation-s0hza5ac.js";
|
|
262
|
+
import {
|
|
263
|
+
ProviderPlugins2
|
|
264
|
+
} from "./location-mutation-zm48185g.js";
|
|
265
|
+
import {
|
|
266
|
+
WebSearchPlugins2
|
|
267
|
+
} from "./location-mutation-pv53ra6t.js";
|
|
268
|
+
import {
|
|
269
|
+
Plugin27
|
|
270
|
+
} from "./location-mutation-kvgx6hxn.js";
|
|
271
|
+
import {
|
|
272
|
+
Plugin22
|
|
273
|
+
} from "./location-mutation-3dv89ket.js";
|
|
274
|
+
import {
|
|
275
|
+
Plugins2
|
|
276
|
+
} from "./location-mutation-zerdtc7d.js";
|
|
277
|
+
import {
|
|
278
|
+
Plugin32
|
|
279
|
+
} from "./location-mutation-zf5mq5hd.js";
|
|
280
|
+
import {
|
|
281
|
+
Plugin23
|
|
282
|
+
} from "./location-mutation-gtsm3tea.js";
|
|
283
|
+
import {
|
|
284
|
+
Plugin21
|
|
285
|
+
} from "./location-mutation-sb3d3j8p.js";
|
|
286
|
+
import {
|
|
287
|
+
Plugin19
|
|
288
|
+
} from "./location-mutation-bs9q8pck.js";
|
|
289
|
+
import {
|
|
290
|
+
__export
|
|
291
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
292
|
+
|
|
293
|
+
// src/plugin/internal.ts
|
|
294
|
+
var exports_internal = {};
|
|
295
|
+
__export(exports_internal, {
|
|
296
|
+
PluginInternal: () => exports_internal,
|
|
297
|
+
list: () => list2,
|
|
298
|
+
requirements: () => requirements2
|
|
299
|
+
});
|
|
300
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
301
|
+
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
302
|
+
import { AppProcess } from "@opencode/util/process";
|
|
303
|
+
import { Context, Effect } from "effect";
|
|
304
|
+
import { HttpClient } from "effect/unstable/http";
|
|
305
|
+
import { FSUtil } from "@opencode/util/fs-util";
|
|
306
|
+
import { Global } from "@opencode/util/global";
|
|
307
|
+
import { Npm } from "@opencode/util/npm";
|
|
308
|
+
import BrowserPlugin from "@opencode/plugin-browser";
|
|
309
|
+
var services = [
|
|
310
|
+
Service73,
|
|
311
|
+
AppProcess.Service,
|
|
312
|
+
Service51,
|
|
313
|
+
Service46,
|
|
314
|
+
Service63,
|
|
315
|
+
Service65,
|
|
316
|
+
Service77,
|
|
317
|
+
Service61,
|
|
318
|
+
Service59,
|
|
319
|
+
Service14,
|
|
320
|
+
Service15,
|
|
321
|
+
Service9,
|
|
322
|
+
Service47,
|
|
323
|
+
FSUtil.Service,
|
|
324
|
+
Global.Service,
|
|
325
|
+
HttpClient.HttpClient,
|
|
326
|
+
Service58,
|
|
327
|
+
Service39,
|
|
328
|
+
Service54,
|
|
329
|
+
Service78,
|
|
330
|
+
Service79,
|
|
331
|
+
Service74,
|
|
332
|
+
Service13,
|
|
333
|
+
Service32,
|
|
334
|
+
Npm.Service,
|
|
335
|
+
Service69,
|
|
336
|
+
Service55,
|
|
337
|
+
Service11,
|
|
338
|
+
Service67,
|
|
339
|
+
Service18,
|
|
340
|
+
Service60,
|
|
341
|
+
Service21,
|
|
342
|
+
Service7,
|
|
343
|
+
Service10,
|
|
344
|
+
Service35,
|
|
345
|
+
Service38,
|
|
346
|
+
Service53,
|
|
347
|
+
Service34,
|
|
348
|
+
Service12,
|
|
349
|
+
Service57,
|
|
350
|
+
Service37,
|
|
351
|
+
Service64,
|
|
352
|
+
Service66,
|
|
353
|
+
Service20
|
|
354
|
+
];
|
|
355
|
+
var requirements2 = LayerNode.group([
|
|
356
|
+
node78,
|
|
357
|
+
AppProcess.node,
|
|
358
|
+
node55,
|
|
359
|
+
node50,
|
|
360
|
+
node68,
|
|
361
|
+
node70,
|
|
362
|
+
node82,
|
|
363
|
+
node65,
|
|
364
|
+
node63,
|
|
365
|
+
node17,
|
|
366
|
+
node18,
|
|
367
|
+
node12,
|
|
368
|
+
node51,
|
|
369
|
+
FSUtil.node,
|
|
370
|
+
Global.node,
|
|
371
|
+
httpClient,
|
|
372
|
+
node62,
|
|
373
|
+
node44,
|
|
374
|
+
node58,
|
|
375
|
+
node83,
|
|
376
|
+
node84,
|
|
377
|
+
node79,
|
|
378
|
+
node16,
|
|
379
|
+
node36,
|
|
380
|
+
Npm.node,
|
|
381
|
+
node74,
|
|
382
|
+
node59,
|
|
383
|
+
node14,
|
|
384
|
+
node72,
|
|
385
|
+
node22,
|
|
386
|
+
node64,
|
|
387
|
+
node25,
|
|
388
|
+
node10,
|
|
389
|
+
node13,
|
|
390
|
+
node39,
|
|
391
|
+
node42,
|
|
392
|
+
node57,
|
|
393
|
+
node38,
|
|
394
|
+
node15,
|
|
395
|
+
node61,
|
|
396
|
+
node41,
|
|
397
|
+
node69,
|
|
398
|
+
node71,
|
|
399
|
+
node24
|
|
400
|
+
]);
|
|
401
|
+
var pre = [
|
|
402
|
+
BrowserPlugin,
|
|
403
|
+
Plugin11,
|
|
404
|
+
Plugin28,
|
|
405
|
+
Plugin19,
|
|
406
|
+
Plugin23,
|
|
407
|
+
Plugin31,
|
|
408
|
+
Plugin30,
|
|
409
|
+
Plugin29,
|
|
410
|
+
Plugin27,
|
|
411
|
+
Plugin22,
|
|
412
|
+
ModelsDevPlugin2,
|
|
413
|
+
...ProviderPlugins2,
|
|
414
|
+
...WebSearchPlugins2,
|
|
415
|
+
Plugin41,
|
|
416
|
+
...Plugins2,
|
|
417
|
+
Plugin44,
|
|
418
|
+
Plugin33,
|
|
419
|
+
Plugin42,
|
|
420
|
+
Plugin39,
|
|
421
|
+
Plugin45,
|
|
422
|
+
Plugin34,
|
|
423
|
+
Plugin36,
|
|
424
|
+
Plugin38,
|
|
425
|
+
Plugin43,
|
|
426
|
+
Plugin40,
|
|
427
|
+
Plugin35,
|
|
428
|
+
Plugin37,
|
|
429
|
+
Plugin21
|
|
430
|
+
];
|
|
431
|
+
var post = [
|
|
432
|
+
Plugin9,
|
|
433
|
+
Plugin14,
|
|
434
|
+
Plugin13,
|
|
435
|
+
Plugin17,
|
|
436
|
+
Plugin18,
|
|
437
|
+
Plugin8,
|
|
438
|
+
Plugin3,
|
|
439
|
+
Plugin12,
|
|
440
|
+
Plugin10,
|
|
441
|
+
Plugin15,
|
|
442
|
+
Plugin5,
|
|
443
|
+
Plugin2,
|
|
444
|
+
Plugin16,
|
|
445
|
+
Plugin7,
|
|
446
|
+
Plugin6,
|
|
447
|
+
Plugin32,
|
|
448
|
+
Plugin4
|
|
449
|
+
];
|
|
450
|
+
var list2 = Effect.fn("PluginInternal.list")(function* () {
|
|
451
|
+
const context = Context.pick(...services)(yield* Effect.context());
|
|
452
|
+
const resolve = (plugins) => plugins.map((plugin) => ({
|
|
453
|
+
id: plugin.id,
|
|
454
|
+
effect: (host) => plugin.effect(host).pipe(Effect.provide(context))
|
|
455
|
+
}));
|
|
456
|
+
return {
|
|
457
|
+
pre: resolve(pre),
|
|
458
|
+
post: resolve(post)
|
|
459
|
+
};
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
export { requirements2, list2, exports_internal };
|