@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node15, exports_discovery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-27hkvsk8.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service50,
|
|
7
|
+
node54
|
|
8
|
+
} from "./location-mutation-cyznyexp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-7wdjtyr9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service43,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node47,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -63,11 +63,12 @@ var resolved2 = (model, options) => ({
|
|
|
63
63
|
capabilities: options.capabilities,
|
|
64
64
|
cost: options.cost,
|
|
65
65
|
limit: options.limit,
|
|
66
|
-
compaction: options.compaction
|
|
66
|
+
compaction: options.compaction,
|
|
67
|
+
websocket: options.websocket ?? true
|
|
67
68
|
});
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const resolver = yield*
|
|
70
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
70
|
+
const resolver = yield* Service50;
|
|
71
|
+
return Service43.of({
|
|
71
72
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
72
73
|
if (!session.model) {
|
|
73
74
|
const resolved = yield* resolver.resolve();
|
|
@@ -85,6 +86,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
85
86
|
})
|
|
86
87
|
});
|
|
87
88
|
}));
|
|
88
|
-
var
|
|
89
|
+
var node47 = makeLocationNode({ service: Service43, layer, deps: [node54] });
|
|
89
90
|
|
|
90
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
91
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service43, resolved2, node47, exports_model };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-m512vzfg.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./location-mutation-sedkckjb.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-tpw3wqby.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service70,
|
|
21
|
+
node75
|
|
22
|
+
} from "./location-mutation-0xtb2bpj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node28
|
|
26
|
+
} from "./location-mutation-1sm8r3sx.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service77;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service70;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node82, llmClient2, node28, node75, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./location-mutation-p14yjxpe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./location-mutation-gyqj5dqq.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-wtvz3wcx.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service63;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID10.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make7();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service28,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service28 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service28.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service28, awaitActivation2, exports_service };
|
|
@@ -1,58 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node43
|
|
5
|
+
} from "./location-mutation-ttrnch24.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-paegk39x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node77
|
|
13
|
+
} from "./location-mutation-ka2k270b.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-n9sdwvwy.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-52r26j8c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./location-mutation-5sz580sy.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service26,
|
|
25
|
+
node31
|
|
26
|
+
} from "./location-mutation-t8wk4avw.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mutation-hjt4xg1x.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-mutation-w79zsp0s.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service25,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer11,
|
|
45
|
+
node: () => node30,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
49
|
-
import { Cause,
|
|
49
|
+
import { Cause, Context, Effect, Layer, Result, Stream } from "effect";
|
|
50
50
|
import { HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
var IMAGE_BYTES_TRIGGER = 25 * 1024 * 1024;
|
|
53
53
|
var IMAGE_BYTES_TARGET = 15 * 1024 * 1024;
|
|
54
54
|
var IMAGE_REMOVED = "[This image was removed to reduce the request size and is no longer visible. Do not make claims about its contents from memory. If needed, retrieve it again with an available tool or ask the user to attach it again.]";
|
|
55
|
-
var responsesWebSocketFlag = (providerID) => `OPENCODE_EXPERIMENTAL_${providerID.replace(/[^a-zA-Z0-9]+/g, "_").toUpperCase()}_RESPONSES_WEBSOCKET`;
|
|
56
55
|
var declineDefect = (cause) => {
|
|
57
56
|
const decline = cause.reasons.flatMap((reason) => Cause.isDieReason(reason) && (reason.defect instanceof DeclinedError2 || reason.defect instanceof CancelledError2) ? [reason.defect] : [])[0];
|
|
58
57
|
return decline ? Result.succeed(decline) : Result.fail(cause);
|
|
@@ -189,11 +188,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
188
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
189
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
190
|
|
|
192
|
-
class
|
|
191
|
+
class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
192
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
193
|
+
var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
194
|
+
const hooks = yield* Service72;
|
|
195
|
+
const transport = yield* Service26;
|
|
197
196
|
const app = yield* Metadata2;
|
|
198
197
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
198
|
const session = input.scope.session;
|
|
@@ -201,7 +200,7 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
201
200
|
const model = resolved.model;
|
|
202
201
|
const tools = input.scope.tools ?? {
|
|
203
202
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
203
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
205
204
|
};
|
|
206
205
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
206
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -241,7 +240,6 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
241
240
|
if (selected && !compatible2(selected, provenance2({ model: request.model, ref: resolved.ref })) && request.messages.some((message) => message.content.some((part) => part.type === "compaction")))
|
|
242
241
|
return yield* Effect.die(new Error("Provider context is incompatible with the route selected by model request hooks"));
|
|
243
242
|
const hasHttpHooks = (yield* hooks.has("session", "http.request", resolved.ref.providerID)) || (yield* hooks.has("session", "http.response", resolved.ref.providerID));
|
|
244
|
-
const webSocket = resolved.capabilities.responsesWebsockets === true ? yield* Config.boolean(responsesWebSocketFlag(resolved.ref.providerID)).pipe(Config.withDefault(false), Effect.orDie) : false;
|
|
245
243
|
const http = hasHttpHooks ? httpMiddleware(hooks, {
|
|
246
244
|
sessionID: session.id,
|
|
247
245
|
agent: input.scope.agentID,
|
|
@@ -250,7 +248,7 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
250
248
|
}) : undefined;
|
|
251
249
|
const options = {
|
|
252
250
|
...http ? { http } : {},
|
|
253
|
-
...input.webSocket === "session" &&
|
|
251
|
+
...input.webSocket === "session" && !hasHttpHooks && resolved.capabilities.responsesWebsockets === true && resolved.websocket ? { webSocket: transport.bind(session.id) } : {}
|
|
254
252
|
};
|
|
255
253
|
const executeTool = (input) => tools.execute({ ...input, definitions: hooked }).pipe(Effect.catchCauseFilter(declineDefect, (decline) => Effect.fail(decline)));
|
|
256
254
|
const retry = (event) => hooks.trigger("session", "retry", event).pipe(Effect.asVoid);
|
|
@@ -261,12 +259,12 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
261
259
|
executeTool
|
|
262
260
|
};
|
|
263
261
|
});
|
|
264
|
-
return
|
|
262
|
+
return Service25.of({ prepare });
|
|
265
263
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
264
|
+
var node30 = makeLocationNode({
|
|
265
|
+
service: Service25,
|
|
266
|
+
layer: layer11,
|
|
267
|
+
deps: [node77, node31, node43]
|
|
270
268
|
});
|
|
271
269
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
270
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer11, node30, exports_model_request };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./location-mutation-gyqj5dqq.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin4 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin8 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin4, exports_policy };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node79
|
|
4
|
+
} from "./location-mutation-ps2ghfx6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node34
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service74;
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make20({
|
|
32
|
-
key:
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -50,7 +50,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
52
|
make20({
|
|
53
|
-
key:
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node79] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service30, node34, exports_builtins };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service76,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node81
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service76 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service76.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node81 = makeGlobalNode({ service: Service76, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service76, node81, exports_git3 };
|