@opencode/core 0.0.0-dev-19561 → 0.0.0-dev-19563
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{app-21spz6s2.js → rpc-04mfqke3.js} +3 -3
- package/dist/chunks/{app-zzn8fca5.js → rpc-04rqewrt.js} +5 -5
- package/dist/chunks/{app-2v2p0zkw.js → rpc-09d6vmh1.js} +9 -9
- package/dist/chunks/{app-yt5vak3w.js → rpc-0mvp0mh7.js} +24 -24
- package/dist/chunks/{app-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-qrr9kfam.js → rpc-0w5xhpes.js} +20 -20
- package/dist/chunks/{app-rph3zd4r.js → rpc-15zevn5w.js} +6 -6
- package/dist/chunks/{app-kaph4dp2.js → rpc-16fh04ec.js} +18 -18
- package/dist/chunks/{app-sbvg55hg.js → rpc-16ryaddz.js} +13 -13
- package/dist/chunks/{app-f2n192rq.js → rpc-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-7039s2ae.js → rpc-1js01x30.js} +34 -34
- package/dist/chunks/{app-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
- package/dist/chunks/{app-eymr46he.js → rpc-1zjf9yvn.js} +37 -37
- package/dist/chunks/{app-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{app-ctzssw83.js → rpc-2336b01z.js} +8 -8
- package/dist/chunks/{app-wavq5vqb.js → rpc-24zysf4r.js} +1 -1
- package/dist/chunks/{app-8mv32mqt.js → rpc-286te107.js} +51 -51
- package/dist/chunks/{app-r1wvay4d.js → rpc-29ykcmqg.js} +55 -55
- package/dist/chunks/{app-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-3p1t101e.js → rpc-2gq7g35w.js} +10 -10
- package/dist/chunks/{app-as64xgvx.js → rpc-2gvej5bs.js} +22 -22
- package/dist/chunks/{app-1f9kgyzc.js → rpc-2pfz77pe.js} +28 -28
- package/dist/chunks/{app-3aabf6yx.js → rpc-37m66rke.js} +19 -19
- package/dist/chunks/{app-3n9gdh1k.js → rpc-3ard968h.js} +15 -15
- package/dist/chunks/{app-pbfzwbsy.js → rpc-3cg5qkzz.js} +13 -13
- package/dist/chunks/{app-99xay3p1.js → rpc-3cwb9jzf.js} +8 -8
- package/dist/chunks/{app-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-xaxvdqwz.js → rpc-3h752403.js} +19 -19
- package/dist/chunks/{app-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-mz6ae2yf.js → rpc-3ztdxds0.js} +1 -1
- package/dist/chunks/{app-9y8671sk.js → rpc-41f61ev5.js} +11 -11
- package/dist/chunks/{app-y598pph1.js → rpc-46t3hpnf.js} +11 -11
- package/dist/chunks/{app-jhvcngzp.js → rpc-49mee5h8.js} +17 -17
- package/dist/chunks/{app-bb47nq2s.js → rpc-4aqwh667.js} +18 -18
- package/dist/chunks/{app-k91vn9qt.js → rpc-4gbc8xkz.js} +13 -13
- package/dist/chunks/{app-a2re09g1.js → rpc-4hct64pd.js} +24 -24
- package/dist/chunks/{app-79by68xe.js → rpc-4jmdj23e.js} +9 -9
- package/dist/chunks/{app-djhgwtj8.js → rpc-4jyw83yv.js} +7 -7
- package/dist/chunks/{app-30c1nq7z.js → rpc-4ns3h2re.js} +6 -6
- package/dist/chunks/rpc-4s989epk.js +247 -0
- package/dist/chunks/{app-heqg70k2.js → rpc-4ssmbb9f.js} +20 -20
- package/dist/chunks/{app-e3mxans8.js → rpc-4xbskmpe.js} +5 -5
- package/dist/chunks/{app-fen7mw99.js → rpc-4xr4bg31.js} +8 -8
- package/dist/chunks/{app-219neeqh.js → rpc-500m5zw2.js} +5 -5
- package/dist/chunks/{app-0pb75hch.js → rpc-524b8jaz.js} +5 -5
- package/dist/chunks/{app-4tgepgz2.js → rpc-56s2cdtz.js} +38 -38
- package/dist/chunks/{app-5c4hm403.js → rpc-5c4hm403.js} +3 -3
- package/dist/chunks/{app-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{app-v2f6dcv3.js → rpc-5frpvc34.js} +2 -2
- package/dist/chunks/{app-nyzamb02.js → rpc-5pbbnjst.js} +18 -18
- package/dist/chunks/{app-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-0bed1fzj.js → rpc-5tstk5gw.js} +17 -17
- package/dist/chunks/{app-wmsmh04t.js → rpc-5vsdfptq.js} +1 -1
- package/dist/chunks/{app-bpccfqd3.js → rpc-5x59cjg9.js} +12 -12
- package/dist/chunks/{app-t29fdsch.js → rpc-5za0zb7s.js} +30 -30
- package/dist/chunks/{app-2k8khapm.js → rpc-607tc6va.js} +5 -5
- package/dist/chunks/{app-kragzxm7.js → rpc-645wt9kv.js} +8 -8
- package/dist/chunks/{app-knb92ksz.js → rpc-65h43r7m.js} +9 -9
- package/dist/chunks/{app-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/rpc-68fqf9yb.js +4 -0
- package/dist/chunks/{app-6h73sxmp.js → rpc-6h73sxmp.js} +1 -1
- package/dist/chunks/{app-4m51zt69.js → rpc-6hdhgy3w.js} +6 -6
- package/dist/chunks/{app-99sec61k.js → rpc-6kjxaxcs.js} +9 -9
- package/dist/chunks/{app-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-sgr3arpp.js → rpc-6pdgntxq.js} +41 -41
- package/dist/chunks/{app-4xqwm4r2.js → rpc-6sf48m2m.js} +14 -14
- package/dist/chunks/{app-b6tnvp33.js → rpc-6wbdxn87.js} +15 -15
- package/dist/chunks/{app-71q4at8m.js → rpc-71q4at8m.js} +1 -1
- package/dist/chunks/{app-ngybnnec.js → rpc-720ed7zc.js} +42 -42
- package/dist/chunks/{app-9v3m3k6g.js → rpc-72cpxe3g.js} +9 -9
- package/dist/chunks/{app-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{app-z436s2b4.js → rpc-78qgck3m.js} +12 -12
- package/dist/chunks/{app-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-ee0f5b90.js → rpc-7etsmvw3.js} +11 -11
- package/dist/chunks/{app-t7scepzc.js → rpc-7jdjd6ea.js} +32 -32
- package/dist/chunks/{app-k8f4e1q1.js → rpc-7jjvc4sd.js} +15 -15
- package/dist/chunks/{app-wmwr0kv0.js → rpc-7k1v1939.js} +25 -30
- package/dist/chunks/{app-c5gn303e.js → rpc-7z7az0f5.js} +4 -4
- package/dist/chunks/{app-1hc11dc4.js → rpc-81czwxpn.js} +4 -4
- package/dist/chunks/{app-tcezcvh9.js → rpc-89znhe33.js} +4 -4
- package/dist/chunks/{app-0zeytkd6.js → rpc-8cmvxv2n.js} +5 -5
- package/dist/chunks/{app-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-q4fmv0xv.js → rpc-8dff8bqa.js} +5 -5
- package/dist/chunks/{app-3p827y1v.js → rpc-8fbcvdxz.js} +18 -18
- package/dist/chunks/{app-9vs0xtad.js → rpc-8q7cq0y1.js} +3 -3
- package/dist/chunks/{app-s0j1fbfd.js → rpc-8tgg60xp.js} +4 -4
- package/dist/chunks/{app-3qamp8r0.js → rpc-900rp600.js} +24 -24
- package/dist/chunks/{app-tf7xy0nv.js → rpc-919kr58w.js} +15 -15
- package/dist/chunks/{app-ysancpsm.js → rpc-9fvtqfah.js} +33 -33
- package/dist/chunks/{app-dwkgsnj0.js → rpc-9nbg9rgn.js} +306 -302
- package/dist/chunks/{app-k6qndfad.js → rpc-9pa4pdaw.js} +28 -28
- package/dist/chunks/{app-mc3s7fb4.js → rpc-9qxv0saq.js} +47 -47
- package/dist/chunks/{app-pezvt5x4.js → rpc-9tp6rg03.js} +70 -70
- package/dist/chunks/{app-ysp9ar34.js → rpc-9vqpc88m.js} +31 -31
- package/dist/chunks/{app-pkaeh3jp.js → rpc-9zvw9xqf.js} +11 -11
- package/dist/chunks/{app-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{app-s1w7wtw7.js → rpc-adgw0vx1.js} +20 -20
- package/dist/chunks/{app-7g1vzt8j.js → rpc-ak9cgfv8.js} +35 -35
- package/dist/chunks/{app-tnpb702e.js → rpc-an5xxpg3.js} +18 -18
- package/dist/chunks/{app-p1yhy00c.js → rpc-aq925jnm.js} +15 -15
- package/dist/chunks/{app-265kqrgy.js → rpc-as02qwds.js} +1 -1
- package/dist/chunks/{app-7bt1mwkz.js → rpc-at188k7x.js} +32 -32
- package/dist/chunks/{app-0nwgmm4h.js → rpc-awbdwcvp.js} +7 -7
- package/dist/chunks/{app-qtfeymnv.js → rpc-awy0m2ht.js} +7 -7
- package/dist/chunks/{app-j6kg5r8z.js → rpc-azwf31fh.js} +11 -11
- package/dist/chunks/{app-ndqtf2h8.js → rpc-b0awdqvx.js} +9 -9
- package/dist/chunks/{app-xrefmav4.js → rpc-b3wv5y56.js} +4 -4
- package/dist/chunks/{app-z263g23a.js → rpc-b5xr9r4a.js} +4 -4
- package/dist/chunks/{app-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-kpvyk30t.js → rpc-b8b3f19r.js} +9 -9
- package/dist/chunks/{app-e5nv3ght.js → rpc-bndc73cn.js} +5 -5
- package/dist/chunks/{app-gq1a1j0q.js → rpc-bqttd0y0.js} +29 -29
- package/dist/chunks/{app-kv3ch0es.js → rpc-c0qvan2f.js} +67 -115
- package/dist/chunks/{app-xaq2s33m.js → rpc-c14aw737.js} +18 -18
- package/dist/chunks/{app-z01ksdxp.js → rpc-c2z3ng5v.js} +23 -23
- package/dist/chunks/{app-j92hx5ks.js → rpc-czfakrh3.js} +5 -5
- package/dist/chunks/{app-te6cpsjw.js → rpc-d11nd7zh.js} +4 -4
- package/dist/chunks/{app-2s388hy2.js → rpc-d4wz6bh8.js} +22 -22
- package/dist/chunks/{app-d08jv58j.js → rpc-dbekd7wq.js} +19 -19
- package/dist/chunks/{app-dj2t23y0.js → rpc-dj2t23y0.js} +2 -2
- package/dist/chunks/{app-yk9xxxbm.js → rpc-dnz2amen.js} +16 -16
- package/dist/chunks/{app-y71avatq.js → rpc-dpkg50ah.js} +4 -4
- package/dist/chunks/{app-2e9kmw2e.js → rpc-dq8t8fv9.js} +8 -8
- package/dist/chunks/{app-v0vna0hr.js → rpc-e171vef2.js} +32 -32
- package/dist/chunks/{app-zhmtbbwy.js → rpc-e2vkambt.js} +21 -21
- package/dist/chunks/{app-jc17n9gv.js → rpc-e4mg6za6.js} +27 -27
- package/dist/chunks/{app-dpcg14ab.js → rpc-e7dhmq2r.js} +45 -45
- package/dist/chunks/{app-3z9f67a4.js → rpc-eac5h0qb.js} +27 -27
- package/dist/chunks/{app-y47n03xn.js → rpc-ecstd3x3.js} +19 -19
- package/dist/chunks/{app-ds9cym46.js → rpc-egrr39fs.js} +6 -6
- package/dist/chunks/{app-h86eetsm.js → rpc-ekej3swh.js} +13 -13
- package/dist/chunks/{app-jvf3yq6v.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{app-4s7s6hns.js → rpc-ensxwhj5.js} +16 -16
- package/dist/chunks/{app-xfd3m1ss.js → rpc-ep0qqy8y.js} +9 -9
- package/dist/chunks/{app-nv5vn7qx.js → rpc-eraanh1f.js} +6 -6
- package/dist/chunks/{app-gpsmm3ta.js → rpc-et9a5mt7.js} +26 -26
- package/dist/chunks/{app-4xd8swbf.js → rpc-etjfar9p.js} +11 -11
- package/dist/chunks/{app-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-axqjetvy.js → rpc-evc8ed70.js} +28 -28
- package/dist/chunks/{app-488jmg72.js → rpc-ezv1a6xh.js} +6 -6
- package/dist/chunks/{app-b99ewpxx.js → rpc-f04pyqpn.js} +11 -11
- package/dist/chunks/{app-4c7t2hb3.js → rpc-f2kyhx0b.js} +9 -9
- package/dist/chunks/{app-7jf3rx6v.js → rpc-f5paykxm.js} +13 -13
- package/dist/chunks/{app-7x2xfc77.js → rpc-f7bvpx2e.js} +11 -11
- package/dist/chunks/{app-nk310e7d.js → rpc-fb3dn1g4.js} +10 -10
- package/dist/chunks/{app-4ske52ay.js → rpc-fbprdydg.js} +4 -4
- package/dist/chunks/{app-qkk52kd6.js → rpc-fe21mgs2.js} +2 -2
- package/dist/chunks/{app-nfbtqdky.js → rpc-fhq59srp.js} +30 -30
- package/dist/chunks/rpc-fka8kn59.js +26 -0
- package/dist/chunks/{app-9wgnr44e.js → rpc-fkgz1789.js} +8 -8
- package/dist/chunks/{app-ebk5y3wp.js → rpc-fve14tsv.js} +12 -12
- package/dist/chunks/{app-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-wafhz9z5.js → rpc-gbtk5xpy.js} +16 -16
- package/dist/chunks/{app-z5ptqwzc.js → rpc-gd1sanb3.js} +33 -33
- package/dist/chunks/{app-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-f6h44vt5.js → rpc-ghtm10aa.js} +6 -6
- package/dist/chunks/{app-dd52qhkk.js → rpc-gmt7v2f0.js} +26 -26
- package/dist/chunks/{app-5msnf33t.js → rpc-gnqpece3.js} +27 -27
- package/dist/chunks/{app-6fmew5e2.js → rpc-gsepd1qv.js} +13 -13
- package/dist/chunks/{app-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-0yxmk81s.js → rpc-h2hjeshg.js} +28 -28
- package/dist/chunks/{app-hax2xkfs.js → rpc-h2kayq98.js} +6 -6
- package/dist/chunks/{app-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-hdnk95c8.js → rpc-hdnk95c8.js} +2 -2
- package/dist/chunks/{app-tqkfp8mb.js → rpc-hgk9zqwm.js} +23 -23
- package/dist/chunks/{app-rs3tpxgz.js → rpc-hrb636hh.js} +11 -11
- package/dist/chunks/{app-p1wf2k30.js → rpc-hrvd6t1f.js} +9 -9
- package/dist/chunks/{app-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{app-gnz55c53.js → rpc-j6tr09r7.js} +36 -36
- package/dist/chunks/{app-cbxv00zf.js → rpc-jada9zq5.js} +5 -5
- package/dist/chunks/{app-z88hp0aa.js → rpc-jkttvqfz.js} +4 -4
- package/dist/chunks/{app-2c0gfpva.js → rpc-jyd6wsh8.js} +11 -11
- package/dist/chunks/{app-t1wwgba0.js → rpc-jyes105x.js} +26 -26
- package/dist/chunks/{app-n863r4pp.js → rpc-jz2xfere.js} +37 -37
- package/dist/chunks/{app-xg6w0apm.js → rpc-k4ar8njc.js} +47 -47
- package/dist/chunks/{app-70d2s7af.js → rpc-k6vfasqn.js} +1 -1
- package/dist/chunks/{app-5z426dhq.js → rpc-k9h47z0e.js} +11 -11
- package/dist/chunks/{app-cvtmmhw6.js → rpc-kd92mjtq.js} +1 -1
- package/dist/chunks/{app-962tx2qa.js → rpc-keedsq9y.js} +22 -22
- package/dist/chunks/{app-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{app-zjxmyx9h.js → rpc-kkxr41sk.js} +18 -18
- package/dist/chunks/{app-h4wmnrav.js → rpc-kvh0q0w5.js} +27 -27
- package/dist/chunks/{app-1e7h8b71.js → rpc-m060z7eb.js} +16 -16
- package/dist/chunks/{app-m0jqrx5p.js → rpc-m0jqrx5p.js} +2 -2
- package/dist/chunks/{app-g1ww8e3f.js → rpc-m5j6zs5f.js} +15 -15
- package/dist/chunks/{app-4fgsg95c.js → rpc-m7y1vdp5.js} +20 -20
- package/dist/chunks/{app-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-qj8eh1ht.js → rpc-magykp64.js} +4 -4
- package/dist/chunks/{app-q0g9019d.js → rpc-mc7c43gw.js} +26 -26
- package/dist/chunks/{app-6ytr2r1k.js → rpc-mkf7r8vc.js} +5 -5
- package/dist/chunks/{app-y8j74zyv.js → rpc-mpjjaxhm.js} +10 -10
- package/dist/chunks/{app-qrv0hc0e.js → rpc-mqqw7r41.js} +10 -10
- package/dist/chunks/{app-grskzymy.js → rpc-n1abx18w.js} +6 -6
- package/dist/chunks/{app-d1r29v35.js → rpc-n8pzc7q0.js} +5 -5
- package/dist/chunks/{app-nhy5jxhy.js → rpc-nhy5jxhy.js} +1 -1
- package/dist/chunks/{app-vcjpx2p6.js → rpc-njqd2r1p.js} +60 -60
- package/dist/chunks/{app-ez7tesda.js → rpc-p4zt19y4.js} +11 -11
- package/dist/chunks/rpc-pfhnemj1.js +76 -0
- package/dist/chunks/{app-sgvj2xz6.js → rpc-pg92xra1.js} +22 -22
- package/dist/chunks/{app-kcw8n58a.js → rpc-phrpww5q.js} +6 -6
- package/dist/chunks/{app-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-79a0b5rg.js → rpc-pkcwckcb.js} +97 -97
- package/dist/chunks/{app-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{app-j8v4na37.js → rpc-q5zm5rbh.js} +173 -173
- package/dist/chunks/{app-q8qja58b.js → rpc-q8qja58b.js} +2 -2
- package/dist/chunks/{app-e7eq38wk.js → rpc-qc9m528a.js} +9 -9
- package/dist/chunks/{app-b3f68z6w.js → rpc-qra50pcy.js} +6 -6
- package/dist/chunks/{app-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{app-nx7mgqwr.js → rpc-qzfy2ng8.js} +17 -17
- package/dist/chunks/{app-r9mregkx.js → rpc-r9mregkx.js} +2 -2
- package/dist/chunks/{app-1wnf822w.js → rpc-ra10epn0.js} +4 -4
- package/dist/chunks/{app-95fq9yxk.js → rpc-rq0td61g.js} +10 -10
- package/dist/chunks/{app-rq775frq.js → rpc-rq775frq.js} +2 -2
- package/dist/chunks/{app-1a0mjceb.js → rpc-s3be4ryk.js} +22 -22
- package/dist/chunks/{app-7bdqzs13.js → rpc-s51qhtww.js} +32 -32
- package/dist/chunks/{app-r0mcpz4e.js → rpc-s6q7j8c1.js} +10 -10
- package/dist/chunks/{app-4vf9gwg8.js → rpc-sdbkfcvv.js} +4 -4
- package/dist/chunks/{app-j83byb14.js → rpc-sx1n432n.js} +4 -4
- package/dist/chunks/{app-6hh8tjw2.js → rpc-sxz6gkc3.js} +5 -5
- package/dist/chunks/{app-0ayjakrc.js → rpc-t04z7qz2.js} +53 -53
- package/dist/chunks/{app-kkgs1rnq.js → rpc-t0nby5tn.js} +13 -13
- package/dist/chunks/{app-dx9cm0t0.js → rpc-t4dwhhvw.js} +17 -17
- package/dist/chunks/{app-eaj1djv9.js → rpc-t550f9t1.js} +8 -8
- package/dist/chunks/{app-35wynegs.js → rpc-t97x3sry.js} +2 -2
- package/dist/chunks/{app-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{app-e5teavnc.js → rpc-tfpzm518.js} +9 -9
- package/dist/chunks/{app-d9yh24m3.js → rpc-tkptyfyx.js} +43 -43
- package/dist/chunks/{app-p9bng2jk.js → rpc-ttmwpwhe.js} +24 -24
- package/dist/chunks/{app-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{app-8am9vma6.js → rpc-v30ysbtp.js} +24 -24
- package/dist/chunks/{app-drhmh129.js → rpc-v4hh8mmn.js} +93 -93
- package/dist/chunks/{app-ff0htmxq.js → rpc-v8jfbz3g.js} +6 -6
- package/dist/chunks/{app-c25j16b6.js → rpc-v95aebz8.js} +18 -18
- package/dist/chunks/{app-r3ft6425.js → rpc-vaz4vjgg.js} +25 -25
- package/dist/chunks/{app-3f1qtj92.js → rpc-vbpsb3q0.js} +6 -6
- package/dist/chunks/{app-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{app-0c36z3qz.js → rpc-vhkqx8kk.js} +11 -11
- package/dist/chunks/{app-mkw2wvv0.js → rpc-vkd6hz7d.js} +16 -16
- package/dist/chunks/{app-wjbb3v96.js → rpc-vn9kcpf2.js} +4 -4
- package/dist/chunks/rpc-vnkjks7b.js +18 -0
- package/dist/chunks/{app-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-qs7kc60q.js → rpc-w0r53wm9.js} +8 -8
- package/dist/chunks/{app-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-1mt2ceq3.js → rpc-w6393bmh.js} +7 -7
- package/dist/chunks/{app-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{app-ymk0y6rr.js → rpc-wegwrt47.js} +30 -30
- package/dist/chunks/{app-9s9rwn5z.js → rpc-why2nj5b.js} +5 -5
- package/dist/chunks/{app-2k6rfqm0.js → rpc-wm96jmrs.js} +37 -37
- package/dist/chunks/{app-5fasnjbz.js → rpc-wq9p3fvr.js} +16 -16
- package/dist/chunks/{app-mew188h6.js → rpc-wtzvqa7t.js} +32 -32
- package/dist/chunks/{app-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-kcvdw7hq.js → rpc-x2ec7fj2.js} +21 -21
- package/dist/chunks/{app-844ef7ks.js → rpc-x3et2xth.js} +8 -8
- package/dist/chunks/{app-xhgrbxjr.js → rpc-x3ry4399.js} +29 -29
- package/dist/chunks/{app-815rpf75.js → rpc-x4az3p4k.js} +20 -20
- package/dist/chunks/{app-33n3bzdy.js → rpc-xjk8cg32.js} +6 -6
- package/dist/chunks/{app-h9dy7g3k.js → rpc-xwk582wh.js} +29 -29
- package/dist/chunks/{app-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-0artwwxx.js → rpc-y3gka0kp.js} +3 -3
- package/dist/chunks/{app-v4tagf9s.js → rpc-y5gmhs7b.js} +4 -4
- package/dist/chunks/{app-e5batswc.js → rpc-ybj7n8sc.js} +23 -23
- package/dist/chunks/{app-tb89zjsd.js → rpc-yjtcv9b8.js} +5 -5
- package/dist/chunks/{app-zc923k6h.js → rpc-ymcp9qdd.js} +31 -31
- package/dist/chunks/{app-btxxvpyy.js → rpc-yn742pxh.js} +12 -12
- package/dist/chunks/{app-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-3q9crshv.js → rpc-yrxgw5z8.js} +1 -1
- package/dist/chunks/{app-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{app-19d3sct9.js → rpc-yyb7tjpc.js} +5 -5
- package/dist/chunks/{app-m44y384t.js → rpc-z05rcarj.js} +11 -11
- package/dist/chunks/{app-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{app-wp14g9ps.js → rpc-zctxc6dq.js} +30 -30
- package/dist/chunks/{app-13yh26v0.js → rpc-zdmpy1w1.js} +18 -18
- package/dist/chunks/{app-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-8de9g2wa.js → rpc-zsdfvbwd.js} +8 -8
- package/dist/chunks/{app-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-v0rnkkan.js → rpc-zy7p2nkg.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +140 -0
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +8 -8
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- 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 +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +11 -11
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/config/plugin/compatibility.d.ts +5 -0
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config.d.ts +11 -6
- 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 +3 -3
- 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 +7 -7
- 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 +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +342 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/app-0mesazry.js +0 -4
- package/dist/chunks/app-by5v678g.js +0 -18
- package/dist/chunks/app-h6ka0qq8.js +0 -26
- package/dist/chunks/app-se2r9bmm.js +0 -247
- /package/dist/chunks/{app-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-paphc93g.js → rpc-paphc93g.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service36
|
|
7
|
+
} from "./rpc-c0qvan2f.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./rpc-v30ysbtp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./rpc-5tstk5gw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service53
|
|
19
|
+
} from "./rpc-29ykcmqg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service42,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-v95aebz8.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service63,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-6wbdxn87.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service34
|
|
37
|
+
} from "./rpc-286te107.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./rpc-pkcwckcb.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-ra10epn0.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./rpc-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin25,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name10 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input10 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin25 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service17;
|
|
122
|
+
const jobs = yield* Service51;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service71;
|
|
125
|
+
const access = yield* Service42;
|
|
126
|
+
const shell = yield* Service34;
|
|
127
|
+
const shellSelect = yield* Service63;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service53;
|
|
130
|
+
const config = yield* Service36;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin9 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name10,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin9 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name10,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input10,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin9 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name10,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name10];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin25, exports_shell };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./rpc-dnz2amen.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-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: () => Event13,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info21,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
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 Event13 } 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 ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info21 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service56 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service79;
|
|
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(Service74, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info21.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(Service74, 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(ID8.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(Service74, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service56.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(Service74, 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(ID8.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 = ID8.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(Service74, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info21, Service56, node59, exports_agent4, Event13 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service76,
|
|
18
|
+
node81
|
|
19
|
+
} from "./rpc-m060z7eb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node76
|
|
23
|
+
} from "./rpc-kvh0q0w5.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service71,
|
|
33
|
+
node: () => node75
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service71,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node75,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service71 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
|
+
const workspace = yield* Service72;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service71.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node75 = makeLocationNode({
|
|
71
|
+
service: Service71,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node81, node76]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service71, node75, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./rpc-azwf31fh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./rpc-m060z7eb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service56,
|
|
12
|
+
node59
|
|
13
|
+
} from "./rpc-ttmwpwhe.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentNotFoundError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-egrr39fs.js";
|
|
17
17
|
import {
|
|
18
18
|
combine2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-t550f9t1.js";
|
|
20
20
|
import {
|
|
21
21
|
provenance2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./rpc-81czwxpn.js";
|
|
23
23
|
import {
|
|
24
24
|
entriesForRunner2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./rpc-w0r53wm9.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service54,
|
|
28
|
+
node57
|
|
29
|
+
} from "./rpc-qzfy2ng8.js";
|
|
30
30
|
import {
|
|
31
31
|
merge2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-29ykcmqg.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service58,
|
|
35
|
+
node61
|
|
36
|
+
} from "./rpc-9pa4pdaw.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
make12
|
|
39
|
+
} from "./rpc-vkd6hz7d.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service44,
|
|
42
|
+
node48
|
|
43
|
+
} from "./rpc-5za0zb7s.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
48
|
-
import {
|
|
49
|
-
Service48,
|
|
50
|
-
node51
|
|
51
|
-
} from "./app-v0rnkkan.js";
|
|
52
|
-
import {
|
|
53
|
-
Service31,
|
|
54
|
-
node36
|
|
55
|
-
} from "./app-1f9kgyzc.js";
|
|
45
|
+
Service26,
|
|
46
|
+
node30
|
|
47
|
+
} from "./rpc-ecstd3x3.js";
|
|
56
48
|
import {
|
|
57
49
|
Service30,
|
|
58
|
-
node35
|
|
59
|
-
} from "./app-tqkfp8mb.js";
|
|
60
|
-
import {
|
|
61
|
-
Service33,
|
|
62
|
-
node38
|
|
63
|
-
} from "./app-s1w7wtw7.js";
|
|
64
|
-
import {
|
|
65
|
-
Service29,
|
|
66
50
|
node34
|
|
67
|
-
} from "./
|
|
51
|
+
} from "./rpc-zy7p2nkg.js";
|
|
68
52
|
import {
|
|
69
|
-
|
|
53
|
+
Service28,
|
|
70
54
|
node32
|
|
71
|
-
} from "./
|
|
55
|
+
} from "./rpc-2pfz77pe.js";
|
|
72
56
|
import {
|
|
73
|
-
|
|
57
|
+
Service27,
|
|
74
58
|
node31
|
|
75
|
-
} from "./
|
|
59
|
+
} from "./rpc-hgk9zqwm.js";
|
|
60
|
+
import {
|
|
61
|
+
Service20,
|
|
62
|
+
node25
|
|
63
|
+
} from "./rpc-adgw0vx1.js";
|
|
64
|
+
import {
|
|
65
|
+
Service25,
|
|
66
|
+
node29
|
|
67
|
+
} from "./rpc-m7y1vdp5.js";
|
|
68
|
+
import {
|
|
69
|
+
Service21,
|
|
70
|
+
node26
|
|
71
|
+
} from "./rpc-0w5xhpes.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
73
|
+
Service23,
|
|
74
|
+
node27
|
|
75
|
+
} from "./rpc-bqttd0y0.js";
|
|
76
|
+
import {
|
|
77
|
+
Service50,
|
|
78
|
+
node53
|
|
79
|
+
} from "./rpc-3cg5qkzz.js";
|
|
80
80
|
import {
|
|
81
81
|
__export
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./rpc-9rqn6x4v.js";
|
|
83
83
|
|
|
84
84
|
// src/session/context.ts
|
|
85
85
|
var exports_context = {};
|
|
86
86
|
__export(exports_context, {
|
|
87
|
-
Service: () =>
|
|
87
|
+
Service: () => Service19,
|
|
88
88
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
89
|
+
node: () => node24
|
|
90
90
|
});
|
|
91
91
|
import { Model } from "@opencode/schema/model";
|
|
92
92
|
import { Context, Effect, Layer } from "effect";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
|
-
class
|
|
94
|
+
class Service19 extends Context.Service()("@opencode/SessionContext") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const agents = yield*
|
|
98
|
-
const builtins = yield*
|
|
99
|
-
const catalog = yield*
|
|
100
|
-
const db = (yield*
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
103
|
-
const location = yield*
|
|
104
|
-
const mcpInstructions = yield*
|
|
105
|
-
const mcpTools = yield*
|
|
106
|
-
const models = yield*
|
|
107
|
-
const request = yield*
|
|
108
|
-
const referenceInstructions = yield*
|
|
109
|
-
const skillInstructions = yield*
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
96
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
97
|
+
const agents = yield* Service56;
|
|
98
|
+
const builtins = yield* Service26;
|
|
99
|
+
const catalog = yield* Service58;
|
|
100
|
+
const db = (yield* Service80).db;
|
|
101
|
+
const discovery = yield* Service44;
|
|
102
|
+
const entries = yield* Service21;
|
|
103
|
+
const location = yield* Service76;
|
|
104
|
+
const mcpInstructions = yield* Service27;
|
|
105
|
+
const mcpTools = yield* Service28;
|
|
106
|
+
const models = yield* Service50;
|
|
107
|
+
const request = yield* Service23;
|
|
108
|
+
const referenceInstructions = yield* Service20;
|
|
109
|
+
const skillInstructions = yield* Service25;
|
|
110
|
+
const store = yield* Service54;
|
|
111
|
+
const registry = yield* Service30;
|
|
112
112
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
113
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
114
|
+
const agent = yield* agents.get(ID8.make("title"));
|
|
115
115
|
if (!agent)
|
|
116
116
|
return;
|
|
117
117
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
164
164
|
agent: { ...agent, info: agent.info },
|
|
165
165
|
instructions: combine2([
|
|
166
166
|
loaded.builtins,
|
|
167
|
-
|
|
167
|
+
make12(loaded.tools.codeModeCatalog),
|
|
168
168
|
loaded.discovery,
|
|
169
169
|
loaded.skills,
|
|
170
170
|
loaded.references,
|
|
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
186
186
|
tools: selection.tools
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
|
-
return
|
|
189
|
+
return Service19.of({ select, load, resolveModel, selectTitle, request });
|
|
190
190
|
}));
|
|
191
191
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node24 = makeLocationNode({
|
|
193
|
+
service: Service19,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
node35,
|
|
204
|
-
node36,
|
|
205
|
-
node38,
|
|
206
|
-
node46,
|
|
196
|
+
node59,
|
|
197
|
+
node61,
|
|
198
|
+
node85,
|
|
199
|
+
node30,
|
|
200
|
+
node48,
|
|
201
|
+
node26,
|
|
202
|
+
node81,
|
|
207
203
|
node31,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
204
|
+
node32,
|
|
205
|
+
node25,
|
|
206
|
+
node53,
|
|
207
|
+
node27,
|
|
208
|
+
node57,
|
|
209
|
+
node29,
|
|
210
|
+
node34
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Service19, node24, exports_context };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service49,
|
|
10
|
+
node: () => node52
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service49 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node52 = LayerNode.unbound(Service49, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service49, node52, exports_service2 };
|