@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-mutation-j55g5gc5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID17
|
|
10
|
+
} from "./location-mutation-rsym84ch.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-m512vzfg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./location-mutation-sedkckjb.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./location-mutation-ps2ghfx6.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-mutation-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-mutation-rtvpdrsv.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-mutation-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service20,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node24
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service20 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service77;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service20.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node24 = makeLocationNode({
|
|
273
|
+
service: Service20,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node82, node85, AppProcess.node, node79, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service20, node24, exports_worktree2, OperationError2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node79
|
|
4
|
+
} from "./location-mutation-ps2ghfx6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node18
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service15 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service74;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service15.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node18 = makeLocationNode({
|
|
91
|
+
service: Service15,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service15, node18, exports_formatter2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node48
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node48 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node48, exports_service2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-0mbwctnz.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-whvneb9k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-jtp7wgq3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -188,6 +188,7 @@ function mapBedrockRequest(input) {
|
|
|
188
188
|
const reasoning = isRecord(settings.reasoningConfig) ? settings.reasoningConfig : undefined;
|
|
189
189
|
const anthropic = input.modelID.includes("anthropic");
|
|
190
190
|
const openai = input.modelID.includes("openai.");
|
|
191
|
+
const harmony = input.modelID.includes("openai.gpt-oss");
|
|
191
192
|
const effort = typeof reasoning?.maxReasoningEffort === "string" ? reasoning.maxReasoningEffort : undefined;
|
|
192
193
|
const type = typeof reasoning?.type === "string" ? reasoning.type : undefined;
|
|
193
194
|
const budget = typeof reasoning?.budgetTokens === "number" ? reasoning.budgetTokens : undefined;
|
|
@@ -204,7 +205,8 @@ function mapBedrockRequest(input) {
|
|
|
204
205
|
effort
|
|
205
206
|
}
|
|
206
207
|
} : {},
|
|
207
|
-
...!anthropic && openai && effort !== undefined ? { reasoning_effort: effort } : {},
|
|
208
|
+
...!anthropic && openai && harmony && effort !== undefined ? { reasoning_effort: effort } : {},
|
|
209
|
+
...!anthropic && openai && !harmony && effort !== undefined ? { reasoning: { ...isRecord(additional.reasoning) ? additional.reasoning : {}, effort } } : {},
|
|
208
210
|
...!anthropic && !openai && effort !== undefined ? {
|
|
209
211
|
reasoningConfig: {
|
|
210
212
|
...type === undefined || type === "adaptive" ? {} : { type },
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./location-mutation-sedkckjb.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./location-mutation-r17fvq36.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-p4nzc36k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-jtp7wgq3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-ea47fqf8.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID7.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service77;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID7.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./location-mutation-gyqj5dqq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service37
|
|
7
|
+
} from "./location-mutation-5ecgp29h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin5
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin5 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const output = yield* Service37;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin4 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin5, exports_tool_output };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./location-mutation-sedkckjb.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer6,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer6 = Layer.effect(
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service77;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service4, layer: layer6, deps: [node82] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer6, node7, exports_sdk };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service38,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured5,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node42,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service38 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve2.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service38.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured5(options) {
|
|
209
|
+
return makeLocationNode({ service: Service38, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node42 = configured5();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options5, Service38, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured5, node42, exports_select };
|