@opencode/core 0.0.0-dev-20687 → 0.0.0-dev-20688
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-0nywwgf2.js → permission-0e0fe8yx.js} +7 -7
- package/dist/chunks/{persistent-pty-ht20r4hb.js → permission-0escwrsj.js} +14 -14
- package/dist/chunks/{persistent-pty-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0vbcp93d.js → permission-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-8mbscqky.js → permission-0xezjjjn.js} +8 -8
- package/dist/chunks/{persistent-pty-k2sevy6a.js → permission-10dv2xfs.js} +39 -39
- package/dist/chunks/{persistent-pty-xw932zhm.js → permission-194t0rba.js} +13 -13
- package/dist/chunks/{persistent-pty-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dvck2a7.js → permission-1dvck2a7.js} +2 -2
- package/dist/chunks/{persistent-pty-gebtr55s.js → permission-1nwxscpy.js} +5 -5
- package/dist/chunks/{persistent-pty-vcbpjxhp.js → permission-1q5xzxex.js} +15 -15
- package/dist/chunks/{persistent-pty-fqnavh99.js → permission-1t5dys3y.js} +13 -13
- package/dist/chunks/{persistent-pty-8xtfcejb.js → permission-1vasm310.js} +43 -43
- package/dist/chunks/{persistent-pty-9q7r9kz4.js → permission-1y7qakgj.js} +5 -5
- package/dist/chunks/{persistent-pty-77f241gp.js → permission-1y9xp183.js} +11 -11
- package/dist/chunks/{persistent-pty-ykdgddnc.js → permission-1yqzzd83.js} +11 -11
- package/dist/chunks/{persistent-pty-2qq695gf.js → permission-1ywvxz94.js} +20 -20
- package/dist/chunks/{persistent-pty-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-g7dwpm2k.js → permission-2ebsrpgv.js} +9 -9
- package/dist/chunks/{persistent-pty-z3z723at.js → permission-2fhksyd5.js} +33 -33
- package/dist/chunks/{persistent-pty-dvc89yjx.js → permission-2k64ycz1.js} +8 -8
- package/dist/chunks/{persistent-pty-4mradf57.js → permission-2t17veph.js} +33 -33
- package/dist/chunks/{persistent-pty-r21g991y.js → permission-2xnzgjvn.js} +6 -6
- package/dist/chunks/{persistent-pty-kh5saknc.js → permission-36nz8rj0.js} +27 -27
- package/dist/chunks/{persistent-pty-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-kstajs3v.js → permission-3p7z255n.js} +24 -24
- package/dist/chunks/{persistent-pty-3sj8yt8v.js → permission-3sj8yt8v.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-fsvaq0rq.js → permission-41mbax9f.js} +26 -26
- package/dist/chunks/{persistent-pty-rrt0a0ha.js → permission-4a7gy6vj.js} +3 -3
- package/dist/chunks/{persistent-pty-brp8zeym.js → permission-4ad028th.js} +6 -6
- package/dist/chunks/{persistent-pty-rhxz3xab.js → permission-4cay6e5n.js} +9 -9
- package/dist/chunks/{persistent-pty-zkv1zasr.js → permission-4hjzyf7t.js} +16 -16
- package/dist/chunks/{persistent-pty-4b443rck.js → permission-4j24z8gn.js} +9 -9
- package/dist/chunks/{persistent-pty-4jyvzrab.js → permission-4nj4bn9q.js} +9 -9
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → permission-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-z26d29s3.js → permission-4x0gkadg.js} +25 -25
- package/dist/chunks/{persistent-pty-6a9c44ad.js → permission-4za9axf7.js} +18 -18
- package/dist/chunks/{persistent-pty-54ma36ye.js → permission-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-9p8x2w89.js → permission-55p2ap5f.js} +1 -1
- package/dist/chunks/{persistent-pty-bqg181pq.js → permission-5bdqp5q2.js} +26 -26
- package/dist/chunks/{persistent-pty-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-6f0za955.js → permission-5qevsstt.js} +37 -37
- package/dist/chunks/{persistent-pty-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-srq8z0b0.js → permission-5tcm9639.js} +9 -9
- package/dist/chunks/{persistent-pty-yh586nn1.js → permission-5v0382rn.js} +6 -6
- package/dist/chunks/{persistent-pty-cjnf2hxy.js → permission-5vevbavy.js} +13 -13
- package/dist/chunks/{persistent-pty-5w9yjztw.js → permission-5w9yjztw.js} +1 -1
- package/dist/chunks/{persistent-pty-41ztszy1.js → permission-60h8n1mb.js} +9 -9
- package/dist/chunks/{persistent-pty-ttvdwa7z.js → permission-62p5vnps.js} +4 -4
- package/dist/chunks/{persistent-pty-hm06yfae.js → permission-64ft88kd.js} +20 -20
- package/dist/chunks/{persistent-pty-ctmh09fa.js → permission-6bax3wfe.js} +11 -11
- package/dist/chunks/permission-6h37vygj.js +18 -0
- package/dist/chunks/{persistent-pty-a4zy142z.js → permission-6h72t1h6.js} +8 -8
- package/dist/chunks/{persistent-pty-e47hsmy2.js → permission-6jyk02px.js} +12 -12
- package/dist/chunks/{persistent-pty-eppexmwc.js → permission-6m32jaa6.js} +3 -3
- package/dist/chunks/{persistent-pty-sagw8wac.js → permission-6p20k3wd.js} +13 -13
- package/dist/chunks/{persistent-pty-1nyk5n2d.js → permission-6sgfaakk.js} +26 -26
- package/dist/chunks/{persistent-pty-gkfsnvzg.js → permission-6tnrh5ya.js} +20 -20
- package/dist/chunks/{persistent-pty-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-71az546q.js → permission-71az546q.js} +2 -2
- package/dist/chunks/{persistent-pty-ny3bzcqp.js → permission-71ct72cd.js} +4 -4
- package/dist/chunks/{persistent-pty-qfch3fyq.js → permission-72n81e5t.js} +13 -13
- package/dist/chunks/{persistent-pty-8sv9ghg1.js → permission-7332sqjz.js} +11 -11
- package/dist/chunks/{persistent-pty-hjdzg5ea.js → permission-77jgmqn4.js} +18 -18
- package/dist/chunks/{persistent-pty-cwa6csj7.js → permission-79qaa2kf.js} +9 -9
- package/dist/chunks/{persistent-pty-2swnp9mj.js → permission-7a87wzr4.js} +25 -25
- package/dist/chunks/{persistent-pty-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-xmqf1xay.js → permission-7dhnq9pm.js} +31 -31
- package/dist/chunks/{persistent-pty-xhjbenvh.js → permission-7jpwzvts.js} +16 -16
- package/dist/chunks/{persistent-pty-qabhdn7r.js → permission-7jtnznqz.js} +8 -8
- package/dist/chunks/{persistent-pty-drfarj2n.js → permission-7kdajcy6.js} +85 -85
- package/dist/chunks/{persistent-pty-65xe46aa.js → permission-7m6c6kjp.js} +26 -26
- package/dist/chunks/{persistent-pty-1246p72b.js → permission-7t7dp16p.js} +20 -20
- package/dist/chunks/{persistent-pty-qhvrxs31.js → permission-7xqm7vez.js} +82 -82
- package/dist/chunks/{persistent-pty-84txncab.js → permission-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-v13c6hwm.js → permission-8vs0yxbt.js} +19 -19
- package/dist/chunks/{persistent-pty-b14n2fy6.js → permission-8x7y6wyf.js} +27 -27
- package/dist/chunks/{persistent-pty-yhm0jx9g.js → permission-8y4537ag.js} +16 -16
- package/dist/chunks/{persistent-pty-dbmdxep8.js → permission-8yan9qxg.js} +20 -20
- package/dist/chunks/{persistent-pty-0hf9g8pg.js → permission-9ae44cfy.js} +6 -6
- package/dist/chunks/{persistent-pty-9e5bzkjp.js → permission-9e5bzkjp.js} +3 -3
- package/dist/chunks/permission-9ekewq9g.js +253 -0
- package/dist/chunks/{persistent-pty-bfmp8476.js → permission-9mjxwsxw.js} +13 -13
- package/dist/chunks/{persistent-pty-s8d7rejh.js → permission-9t7a50xb.js} +4 -4
- package/dist/chunks/{persistent-pty-jmvy1xeb.js → permission-a41s0txc.js} +1 -1
- package/dist/chunks/{persistent-pty-ebgnp7vs.js → permission-a8nwbtm7.js} +4 -4
- package/dist/chunks/{persistent-pty-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-yf5bkxv9.js → permission-abgm0z3p.js} +28 -28
- package/dist/chunks/{persistent-pty-addxnjmp.js → permission-addxnjmp.js} +1 -1
- package/dist/chunks/{persistent-pty-k5fp6tz5.js → permission-aeqh8ayv.js} +3 -3
- package/dist/chunks/{persistent-pty-mgqdd06q.js → permission-b209fthr.js} +4 -4
- package/dist/chunks/{persistent-pty-b3f8fkhc.js → permission-b3f8fkhc.js} +2 -2
- package/dist/chunks/{persistent-pty-s5jnjhax.js → permission-b4n2fnz4.js} +25 -25
- package/dist/chunks/{persistent-pty-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-1ym64zb3.js → permission-b8z51b6b.js} +9 -9
- package/dist/chunks/{persistent-pty-hd7y0qnv.js → permission-b92n5frd.js} +13 -13
- package/dist/chunks/{persistent-pty-vawcbwh6.js → permission-b9dn5hn6.js} +10 -10
- package/dist/chunks/{persistent-pty-qwppvs37.js → permission-bcnrsvht.js} +2 -2
- package/dist/chunks/{persistent-pty-dj40jy9p.js → permission-bddzygnv.js} +11 -11
- package/dist/chunks/{persistent-pty-h9p4xcv4.js → permission-bfdd4cb4.js} +10 -10
- package/dist/chunks/{persistent-pty-7j2qha59.js → permission-bh0zzf2s.js} +8 -8
- package/dist/chunks/{persistent-pty-zg4hvqzs.js → permission-by8n9qt3.js} +10 -10
- package/dist/chunks/{persistent-pty-wkm5cp91.js → permission-c2dh82xc.js} +12 -12
- package/dist/chunks/{persistent-pty-zbngbqhj.js → permission-c44f928x.js} +2 -2
- package/dist/chunks/{persistent-pty-821k94dh.js → permission-c9q7qt0j.js} +18 -18
- package/dist/chunks/{persistent-pty-rcbfcev9.js → permission-cac7ewr5.js} +11 -11
- package/dist/chunks/{persistent-pty-yb8x539d.js → permission-cfsjj92n.js} +10 -10
- package/dist/chunks/{persistent-pty-ry3yyvrw.js → permission-cgfw62c1.js} +34 -34
- package/dist/chunks/{persistent-pty-5667xmgz.js → permission-d381vkkz.js} +3 -3
- package/dist/chunks/{persistent-pty-a7dg2dbf.js → permission-d602qkab.js} +20 -20
- package/dist/chunks/{persistent-pty-kpqmrwd8.js → permission-dcsqhe5p.js} +16 -16
- package/dist/chunks/{persistent-pty-ansnbrb9.js → permission-dcxc4avz.js} +11 -11
- package/dist/chunks/{persistent-pty-rd6ct1p5.js → permission-dgb6jywt.js} +3 -3
- package/dist/chunks/{persistent-pty-159jj1aw.js → permission-dka3w8mh.js} +18 -18
- package/dist/chunks/{persistent-pty-g17kg1qe.js → permission-dp98172p.js} +11 -11
- package/dist/chunks/{persistent-pty-nxm207yx.js → permission-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-t88avx8c.js → permission-dv3pa25w.js} +11 -11
- package/dist/chunks/{persistent-pty-se0pvr1e.js → permission-e0qhp09y.js} +15 -15
- package/dist/chunks/{persistent-pty-bzxqkbgp.js → permission-e1my5csp.js} +35 -35
- package/dist/chunks/{persistent-pty-9t4c9838.js → permission-e6bjgdpg.js} +11 -11
- package/dist/chunks/{persistent-pty-esvm55dh.js → permission-ec3traks.js} +6 -6
- package/dist/chunks/{persistent-pty-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-bqk3vb01.js → permission-ept765rp.js} +15 -15
- package/dist/chunks/{persistent-pty-v5zec58b.js → permission-eq1hrfg7.js} +13 -13
- package/dist/chunks/{persistent-pty-rz2rym9w.js → permission-er1qgfv5.js} +17 -17
- package/dist/chunks/{persistent-pty-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-pzd408ez.js → permission-ev8h0xdf.js} +13 -13
- package/dist/chunks/permission-evmw8smx.js +26 -0
- package/dist/chunks/{persistent-pty-fabvjh13.js → permission-f08ext3y.js} +18 -18
- package/dist/chunks/{persistent-pty-dbph12me.js → permission-fcwad6q9.js} +9 -9
- package/dist/chunks/{persistent-pty-gjjws0jz.js → permission-fgpjp61f.js} +14 -14
- package/dist/chunks/{persistent-pty-fpgmt626.js → permission-fh55fhvv.js} +11 -11
- package/dist/chunks/{persistent-pty-fypvnyj1.js → permission-fp7za5pf.js} +4 -4
- package/dist/chunks/{persistent-pty-7t96ahay.js → permission-fv6ke7h7.js} +20 -20
- package/dist/chunks/{persistent-pty-drgdwh42.js → permission-fvqrnts2.js} +67 -67
- package/dist/chunks/{persistent-pty-tqwb6d51.js → permission-fzv62hvw.js} +12 -12
- package/dist/chunks/{persistent-pty-4dyk4eed.js → permission-g49y9ve0.js} +16 -16
- package/dist/chunks/permission-g769z57k.js +507 -0
- package/dist/chunks/{persistent-pty-xq8qfpct.js → permission-g98wbq2x.js} +8 -8
- package/dist/chunks/{persistent-pty-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-bx0gyb4h.js → permission-gj71zhbs.js} +5 -5
- package/dist/chunks/{persistent-pty-p68r1vg7.js → permission-gp7q2fb6.js} +44 -44
- package/dist/chunks/{persistent-pty-a8759rm3.js → permission-grrb6rgh.js} +11 -11
- package/dist/chunks/{persistent-pty-yyaqg8dp.js → permission-gwvgyx32.js} +33 -33
- package/dist/chunks/{persistent-pty-h2b79v29.js → permission-h2b79v29.js} +2 -2
- package/dist/chunks/{persistent-pty-ebbatmv1.js → permission-h2nd8448.js} +3 -3
- package/dist/chunks/{persistent-pty-5st8hhzb.js → permission-h5xe2w86.js} +14 -14
- package/dist/chunks/{persistent-pty-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-jmkha9g0.js → permission-h8k3cc2z.js} +9 -9
- package/dist/chunks/{persistent-pty-e4bbxgnz.js → permission-hnfjkn81.js} +11 -11
- package/dist/chunks/{persistent-pty-db4e12wq.js → permission-hqy46avb.js} +33 -33
- package/dist/chunks/{persistent-pty-qv8c18b1.js → permission-hs1x7rht.js} +5 -5
- package/dist/chunks/{persistent-pty-vc6qc4g1.js → permission-htpvgqrd.js} +6 -6
- package/dist/chunks/{persistent-pty-qja65tr3.js → permission-hvcytzw6.js} +6 -6
- package/dist/chunks/{persistent-pty-t97gm37m.js → permission-hwqmtcgc.js} +119 -119
- package/dist/chunks/{persistent-pty-mhkvc446.js → permission-j028xdjb.js} +3 -3
- package/dist/chunks/{persistent-pty-987yrxdf.js → permission-j1wcwcqm.js} +1 -1
- package/dist/chunks/{persistent-pty-9p1dxk2x.js → permission-j4jzm50g.js} +1 -1
- package/dist/chunks/{persistent-pty-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-0p9y25pt.js → permission-j7g61wp1.js} +9 -9
- package/dist/chunks/{persistent-pty-pctk8djh.js → permission-j8n9y25r.js} +15 -15
- package/dist/chunks/{persistent-pty-jdhjf7zb.js → permission-jasp3a05.js} +1 -1
- package/dist/chunks/{persistent-pty-qs6csmpp.js → permission-jbgk0j3b.js} +27 -27
- package/dist/chunks/{persistent-pty-drkc8b72.js → permission-jct8zyk7.js} +8 -8
- package/dist/chunks/{persistent-pty-tzvfbext.js → permission-jf6zwwv4.js} +13 -13
- package/dist/chunks/{persistent-pty-egqzgtgt.js → permission-k1ez0b74.js} +18 -18
- package/dist/chunks/{persistent-pty-h4xvaj36.js → permission-k6dq1brx.js} +22 -22
- package/dist/chunks/{persistent-pty-e62vkwx0.js → permission-kd4hf263.js} +4 -4
- package/dist/chunks/{persistent-pty-8cn4rt87.js → permission-kegfba9d.js} +7 -7
- package/dist/chunks/{persistent-pty-abvg2g3b.js → permission-keykcebr.js} +4 -4
- package/dist/chunks/{persistent-pty-6h8z8hw5.js → permission-kk8nc0y1.js} +32 -32
- package/dist/chunks/{persistent-pty-cpdwrzkg.js → permission-kp71p0cs.js} +2 -2
- package/dist/chunks/{persistent-pty-ksxmdx21.js → permission-kpgf9q78.js} +48 -48
- package/dist/chunks/{persistent-pty-4fwbt0xm.js → permission-ktbyy5ev.js} +8 -8
- package/dist/chunks/{persistent-pty-kwfpxcz0.js → permission-kx5fe73z.js} +5 -5
- package/dist/chunks/{persistent-pty-7h7rhvce.js → permission-kxq2p9qz.js} +21 -21
- package/dist/chunks/{persistent-pty-x784z1z0.js → permission-kzb338hs.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-776h2rx5.js → permission-m7ddwx6z.js} +3 -3
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-33w4ejhs.js → permission-mfqp6xfm.js} +9 -9
- package/dist/chunks/{persistent-pty-mjymc32g.js → permission-mjymc32g.js} +1 -1
- package/dist/chunks/{persistent-pty-hkbza7a0.js → permission-mrdraj1e.js} +36 -36
- package/dist/chunks/{persistent-pty-z9q8g528.js → permission-n16w7qmw.js} +6 -6
- package/dist/chunks/{persistent-pty-1kggcmr6.js → permission-ngvvcwvc.js} +7 -7
- package/dist/chunks/{persistent-pty-k8hpw67k.js → permission-nyqx1cb3.js} +5 -5
- package/dist/chunks/{persistent-pty-z8ywv166.js → permission-p1ebg76v.js} +11 -11
- package/dist/chunks/{persistent-pty-tej6jj18.js → permission-p1mtf012.js} +1 -1
- package/dist/chunks/{persistent-pty-tpw6cwsb.js → permission-p37cw4rj.js} +8 -8
- package/dist/chunks/{persistent-pty-42ztr079.js → permission-p9bmne11.js} +18 -18
- package/dist/chunks/{persistent-pty-ymp6swde.js → permission-pdtchp93.js} +29 -29
- package/dist/chunks/{persistent-pty-9cva8bgq.js → permission-pgdq0m2s.js} +6 -6
- package/dist/chunks/{persistent-pty-btbmdjwj.js → permission-pgp1nwjn.js} +4 -4
- package/dist/chunks/{persistent-pty-0xazgah3.js → permission-pgr4yc5g.js} +24 -24
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-209emr7t.js → permission-pq1y2hcf.js} +1 -1
- package/dist/chunks/{persistent-pty-cfsekr6v.js → permission-py3kkmfq.js} +2 -2
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → permission-q0xm7vwc.js} +2 -2
- package/dist/chunks/{persistent-pty-a6z0eyza.js → permission-q13qta0d.js} +3 -3
- package/dist/chunks/{persistent-pty-gasqarw7.js → permission-q1c6gfm2.js} +3 -3
- package/dist/chunks/{persistent-pty-t3624nnb.js → permission-qekf5hrq.js} +15 -15
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → permission-qgn6gcr1.js} +1 -1
- package/dist/chunks/{persistent-pty-57r39xyq.js → permission-qn2n7y4a.js} +23 -23
- package/dist/chunks/{persistent-pty-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-qxjc9qry.js → permission-qxjc9qry.js} +3 -3
- package/dist/chunks/{persistent-pty-nyjecd6w.js → permission-r4911mqy.js} +30 -30
- package/dist/chunks/{persistent-pty-pj840tqw.js → permission-rant3mzz.js} +11 -11
- package/dist/chunks/{persistent-pty-xjnmh88x.js → permission-rbajd19e.js} +12 -12
- package/dist/chunks/{persistent-pty-5ytnddsz.js → permission-rcn26dve.js} +7 -7
- package/dist/chunks/{persistent-pty-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-nx959hjs.js → permission-rjvz70e4.js} +27 -27
- package/dist/chunks/{persistent-pty-h4etxkg0.js → permission-s1aw5bev.js} +30 -30
- package/dist/chunks/{persistent-pty-yy2qfy1b.js → permission-s6zybq5r.js} +12 -12
- package/dist/chunks/{persistent-pty-2sfsr2hd.js → permission-sbgmbffx.js} +11 -11
- package/dist/chunks/{persistent-pty-ay2qp8kd.js → permission-sgehztvb.js} +14 -14
- package/dist/chunks/{persistent-pty-kvgwdag7.js → permission-spe59mq4.js} +6 -6
- package/dist/chunks/{persistent-pty-k76fn4kw.js → permission-t2az9yje.js} +4 -4
- package/dist/chunks/{persistent-pty-x7qqpb35.js → permission-t6x88b6v.js} +8 -8
- package/dist/chunks/{persistent-pty-kny40qmr.js → permission-t7k4jxvs.js} +20 -20
- package/dist/chunks/{persistent-pty-tag6x3x4.js → permission-t9ew0xaf.js} +11 -11
- package/dist/chunks/{persistent-pty-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → permission-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-t2fc4mz5.js → permission-tkmwgdpd.js} +7 -7
- package/dist/chunks/{persistent-pty-75rr0zdh.js → permission-tvrc96b9.js} +6 -6
- package/dist/chunks/{persistent-pty-08nxe6az.js → permission-tzd3vmzq.js} +1 -1
- package/dist/chunks/{persistent-pty-v0es1rhs.js → permission-v0es1rhs.js} +2 -2
- package/dist/chunks/{persistent-pty-s78gt5gg.js → permission-v8t3y0s4.js} +50 -50
- package/dist/chunks/{persistent-pty-3kfev04w.js → permission-vdaa9jq8.js} +19 -19
- package/dist/chunks/{persistent-pty-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-f6rmnwf2.js → permission-vk0x6560.js} +25 -25
- package/dist/chunks/{persistent-pty-z12bx410.js → permission-vmjkjp9j.js} +26 -26
- package/dist/chunks/{persistent-pty-zfs8ae4p.js → permission-vn72gsba.js} +4 -4
- package/dist/chunks/{persistent-pty-ffj38dam.js → permission-vn9jm4n9.js} +6 -6
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-mbnxefga.js → permission-w0tfgnf2.js} +2 -2
- package/dist/chunks/{persistent-pty-e5zvhjbr.js → permission-w2a3dqpw.js} +5 -5
- package/dist/chunks/{persistent-pty-wh6zw745.js → permission-w39jehkq.js} +5 -5
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-ebkq2xk5.js → permission-w6yct1ma.js} +5 -5
- package/dist/chunks/{persistent-pty-sdyd34mw.js → permission-wchyddks.js} +5 -5
- package/dist/chunks/{persistent-pty-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-rpcr0zmj.js → permission-wdzwwd6b.js} +12 -12
- package/dist/chunks/{persistent-pty-gft05b0a.js → permission-wh3mwy9y.js} +5 -5
- package/dist/chunks/{persistent-pty-asgv5924.js → permission-wqkxk58t.js} +14 -14
- package/dist/chunks/{persistent-pty-hkm5bgx3.js → permission-wy8aqc21.js} +15 -15
- package/dist/chunks/{persistent-pty-2zfembs1.js → permission-wya7aw3d.js} +5 -5
- package/dist/chunks/{persistent-pty-b8f6scpx.js → permission-wysk03ww.js} +24 -24
- package/dist/chunks/{persistent-pty-2jdn5pnb.js → permission-x10hayvc.js} +28 -28
- package/dist/chunks/{persistent-pty-3hepmaxp.js → permission-x28x78cy.js} +2 -2
- package/dist/chunks/{persistent-pty-gpfqc5vz.js → permission-x4v5kfsj.js} +24 -24
- package/dist/chunks/{persistent-pty-g5w8qwbj.js → permission-xfkkasph.js} +4 -4
- package/dist/chunks/{persistent-pty-c6r2w95y.js → permission-xhj2809n.js} +39 -39
- package/dist/chunks/{persistent-pty-xkntkrq7.js → permission-xkntkrq7.js} +2 -2
- package/dist/chunks/{persistent-pty-0vktz9je.js → permission-xt6xxsa8.js} +16 -16
- package/dist/chunks/{persistent-pty-mhgx8wws.js → permission-xxndcd6m.js} +4 -4
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-8fezg7rf.js → permission-y1ha0vpq.js} +47 -47
- package/dist/chunks/{persistent-pty-80scg3y3.js → permission-y6mhz57t.js} +4 -4
- package/dist/chunks/{persistent-pty-rhraev7y.js → permission-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-qvy1p86h.js → permission-ytd2x2sg.js} +38 -38
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-bhxrw03t.js → permission-z1apv2nw.js} +24 -24
- package/dist/chunks/{persistent-pty-q14bk57j.js → permission-z5vtzp1p.js} +9 -9
- package/dist/chunks/{persistent-pty-xwya7q8d.js → permission-zd8pcyp5.js} +10 -10
- package/dist/chunks/{persistent-pty-f8cpp2rj.js → permission-zmeaqj18.js} +21 -21
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zab19jja.js → permission-zvwz45r0.js} +9 -9
- package/dist/chunks/{persistent-pty-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +8 -8
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +3 -3
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-313mp3rv.js +0 -253
- package/dist/chunks/persistent-pty-b0hrm54a.js +0 -507
- package/dist/chunks/persistent-pty-jqh9b0xq.js +0 -18
- package/dist/chunks/persistent-pty-y8pbr9je.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node58,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node58 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error4, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node58, exports_driver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin29
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin29 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin29, exports_mcp_codemode_defaults };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-62p5vnps.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event14,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info19,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service63,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node67
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event14 } from "@opencode/schema/command";
|
|
28
|
+
var Info19 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service63 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service63, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info19.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service63.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node67 = makeLocationNode({
|
|
75
|
+
service: Service63,
|
|
76
|
+
layer: layer21,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info19, NotFoundError8, ExecutionError2, Service63, layer21, node67, exports_command5, Event14 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-hvcytzw6.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-d381vkkz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-1yqzzd83.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-62p5vnps.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./permission-x10hayvc.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-b9dn5hn6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service57
|
|
21
|
+
} from "./permission-2k64ycz1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-spe59mq4.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-1y7qakgj.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
|
-
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./permission-d602qkab.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service57;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -385,7 +385,7 @@ var OpencodePlugin2 = define({
|
|
|
385
385
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-y1ha0vpq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service27,
|
|
12
|
+
node30
|
|
13
|
+
} from "./permission-1vasm310.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./permission-8x7y6wyf.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions4 = {};
|
|
24
|
+
__export(exports_instructions4, {
|
|
25
|
+
McpInstructions: () => exports_instructions4,
|
|
26
|
+
Service: () => Service20,
|
|
27
|
+
layer: () => layer9,
|
|
28
|
+
node: () => node23
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service20 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service27;
|
|
68
|
+
return Service20.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make22({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node23 = makeLocationNode({ service: Service20, layer: layer9, deps: [node30] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service20, layer9, node23, exports_instructions4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-kp71p0cs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./permission-zmeaqj18.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service39,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-9mjxwsxw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./permission-7332sqjz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service59
|
|
17
|
+
} from "./permission-y1ha0vpq.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service40,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-j8n9y25r.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin47,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin47 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service40;
|
|
110
|
+
const fileMutation = yield* Service39;
|
|
111
|
+
const environment = yield* Service53;
|
|
112
|
+
const formatter = yield* Service58;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service59;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input10,
|
|
120
|
+
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin8 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name10, Input10, Output7, Plugin47, exports_edit };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-1yqzzd83.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-62p5vnps.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./permission-x10hayvc.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
15
|
Service77
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-b9dn5hn6.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-spe59mq4.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-kd4hf263.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
57
|
const integrations = yield* Service77;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|