@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-8y31xnqm.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-jtp7wgq3.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service63
|
|
8
|
+
} from "./location-mutation-gyqj5dqq.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin16
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin16 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service63;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -71,6 +71,8 @@ var Plugin5 = define({
|
|
|
71
71
|
provider.package = item.package;
|
|
72
72
|
if (item.compaction !== undefined)
|
|
73
73
|
provider.compaction = { ...item.compaction };
|
|
74
|
+
if (item.websocket !== undefined)
|
|
75
|
+
provider.websocket = item.websocket;
|
|
74
76
|
if (item.settings !== undefined)
|
|
75
77
|
provider.settings = mergeOverlay2(provider.settings, item.settings);
|
|
76
78
|
if (item.headers !== undefined)
|
|
@@ -101,6 +103,8 @@ var Plugin5 = define({
|
|
|
101
103
|
model.package = config.package;
|
|
102
104
|
if (config.compaction !== undefined)
|
|
103
105
|
model.compaction = { ...config.compaction };
|
|
106
|
+
if (config.websocket !== undefined)
|
|
107
|
+
model.websocket = config.websocket;
|
|
104
108
|
if (config.settings !== undefined)
|
|
105
109
|
model.settings = mergeOverlay2(model.settings, config.settings);
|
|
106
110
|
if (config.headers !== undefined)
|
|
@@ -155,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
155
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
160
|
}
|
|
157
161
|
|
|
158
|
-
export {
|
|
162
|
+
export { Plugin16, exports_provider };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./location-mutation-sedkckjb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
Event16
|
|
7
|
+
} from "./location-mutation-p1n7jv0z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -20,8 +20,8 @@ import { Effect, Stream } from "effect";
|
|
|
20
20
|
var Plugin19 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service77;
|
|
24
|
+
const wellknown = yield* Service66;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin19 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./location-mutation-p0kdf59p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./location-mutation-n9sdwvwy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./location-mutation-ea47fqf8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin35 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service69;
|
|
53
|
+
const forms = yield* Service55;
|
|
54
|
+
const websearch = yield* Service18;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin35, exports_websearch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-m512vzfg.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node67
|
|
12
|
+
} from "./location-mutation-ds2mmwsg.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info12,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service62,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node66
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID9 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info12 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID9,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID9 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID9,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service62 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service62,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node67]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info12({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service62.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID9.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node66 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID9, Info12, NotFound3, CreateConflict2, Service62, configured9, node66, exports_workspace };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-m512vzfg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./location-mutation-sedkckjb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./location-mutation-m46exch3.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID6,
|
|
15
|
+
Service53
|
|
16
|
+
} from "./location-mutation-7yg93r1e.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-mutation-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-mutation-gy8bp4n5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-mutation-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service44;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service77;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service53;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service44;
|
|
78
|
+
const bus = yield* Service77;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service53;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID6.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-ttrnch24.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin26 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin37 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin37 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin26, exports_parallel };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service76
|
|
3
|
-
} from "./ripgrep-h4yb03sr.js";
|
|
4
1
|
import {
|
|
5
2
|
Service74
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-ps2ghfx6.js";
|
|
4
|
+
import {
|
|
5
|
+
Service61
|
|
6
|
+
} from "./location-mutation-wvt7g9ep.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service14,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-cwkw9hxx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-mutation-m2s78sav.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./location-mutation-n9sdwvwy.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service59,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-kqg17zeb.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input12,
|
|
34
|
+
Output: () => Output8,
|
|
35
|
+
Plugin: () => Plugin44,
|
|
36
|
+
name: () => name12
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name12 = "edit";
|
|
43
|
+
var Input12 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output8 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin44 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service59;
|
|
110
|
+
const fileMutation = yield* Service14;
|
|
111
|
+
const environment = yield* Service61;
|
|
112
|
+
const formatter = yield* Service15;
|
|
113
|
+
const location = yield* Service74;
|
|
114
|
+
const permission = yield* Service69;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name12,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input12,
|
|
120
|
+
output: Output8,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin26 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name12, Input12, Output8, Plugin44, exports_edit };
|