@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,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info27,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info27 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info27, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry3,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info19
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry3 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export { Entry3,
|
|
21
|
+
export { Entry3, Info19, exports_formatter3 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./location-mutation-sedkckjb.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/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info29,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service73,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node78
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info29 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service73 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service77;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info29.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service73.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node78 = makeLocationNode({ service: Service73, layer, deps: [node82, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info29, Service73, node78, exports_agent4, Event19 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
5
|
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
12
|
Service34,
|
|
13
13
|
node38
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-avcnr8ja.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions5 = {};
|
|
21
|
+
__export(exports_instructions5, {
|
|
22
|
+
Service: () => Service33,
|
|
23
|
+
SkillInstructions: () => exports_instructions5,
|
|
24
|
+
node: () => node37
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service33 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
65
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
66
66
|
const skills = yield* Service34;
|
|
67
|
-
return
|
|
67
|
+
return Service33.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
73
|
return make20({
|
|
74
|
-
key:
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node38] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service33, node37, exports_instructions5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-mutation-pzpywyfj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service74.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info30, Ref4, response2, Service74, node79, boundNode2, exports_location };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin20
|
|
3
|
+
} from "./location-mutation-fqj9nv8j.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin24
|
|
6
|
+
} from "./location-mutation-sy45pk4d.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin26
|
|
9
|
+
} from "./location-mutation-cfyxn8mg.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin25
|
|
12
|
+
} from "./location-mutation-rd25f8yh.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin20,
|
|
17
|
+
Plugin24,
|
|
18
|
+
Plugin26,
|
|
19
|
+
Plugin25
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-m512vzfg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node82
|
|
11
|
+
} from "./location-mutation-sedkckjb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node81
|
|
15
|
+
} from "./location-mutation-j55g5gc5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-rsym84ch.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info31,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,11 +94,11 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service76;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service77;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID16.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -173,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID16.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID16.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID16.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID16.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service75.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node80 = makeGlobalNode({
|
|
277
|
+
service: Service75,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node85, FSUtil.node, node81, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
|