@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,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-q13qta0d.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-kp71p0cs.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
12
|
Service75,
|
|
13
13
|
node79
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-1y7qakgj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID10,
|
|
17
|
+
Service62,
|
|
18
|
+
node66
|
|
19
|
+
} from "./permission-kxq2p9qz.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-2xnzgjvn.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-9t7a50xb.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-3sj8yt8v.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-7jtnznqz.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service60,
|
|
34
|
+
node64
|
|
35
|
+
} from "./permission-fzv62hvw.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./permission-y1ha0vpq.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make14
|
|
41
|
+
} from "./permission-t9ew0xaf.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service55,
|
|
44
|
+
node59
|
|
45
|
+
} from "./permission-3p7z255n.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service22,
|
|
48
|
+
node25
|
|
49
|
+
} from "./permission-b92n5frd.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service67,
|
|
52
|
+
node71
|
|
53
|
+
} from "./permission-wysk03ww.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service26,
|
|
56
|
+
node29
|
|
57
|
+
} from "./permission-8x7y6wyf.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service20,
|
|
60
|
+
node23
|
|
61
|
+
} from "./permission-qn2n7y4a.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service21,
|
|
64
|
+
node24
|
|
65
|
+
} from "./permission-k1ez0b74.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service19,
|
|
68
|
+
node22
|
|
69
|
+
} from "./permission-1ywvxz94.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service25,
|
|
72
|
+
node28
|
|
73
|
+
} from "./permission-ept765rp.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service23,
|
|
76
|
+
node26
|
|
77
|
+
} from "./permission-hqy46avb.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service35,
|
|
80
|
+
node37
|
|
81
|
+
} from "./permission-ev8h0xdf.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./permission-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service18,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node21
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service18 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
97
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service62;
|
|
99
|
+
const builtins = yield* Service22;
|
|
100
100
|
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
102
|
+
const discovery = yield* Service55;
|
|
103
|
+
const entries = yield* Service25;
|
|
104
104
|
const location = yield* Service80;
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
105
|
+
const mcpInstructions = yield* Service20;
|
|
106
|
+
const mcpTools = yield* Service26;
|
|
107
|
+
const models = yield* Service35;
|
|
108
|
+
const request = yield* Service23;
|
|
109
|
+
const referenceInstructions = yield* Service21;
|
|
110
|
+
const skillInstructions = yield* Service19;
|
|
111
|
+
const store = yield* Service60;
|
|
112
|
+
const registry = yield* Service67;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make14(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service18.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node21 = makeLocationNode({
|
|
195
|
+
service: Service18,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
198
|
+
node66,
|
|
199
199
|
node79,
|
|
200
200
|
node88,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
node25,
|
|
202
|
+
node59,
|
|
203
|
+
node28,
|
|
204
204
|
node84,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
node23,
|
|
206
|
+
node29,
|
|
207
|
+
node24,
|
|
208
|
+
node37,
|
|
209
|
+
node26,
|
|
210
|
+
node64,
|
|
211
|
+
node22,
|
|
212
|
+
node71
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service18, node21, exports_context };
|
|
@@ -1,38 +1,38 @@
|
|
|
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
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service78
|
|
12
|
+
} from "./permission-x10hayvc.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-b9dn5hn6.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./permission-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
24
|
ID13,
|
|
25
25
|
Service76
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-spe59mq4.js";
|
|
27
27
|
import {
|
|
28
28
|
ID12
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./permission-1y7qakgj.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./permission-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./permission-kd4hf263.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make6(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
@@ -77,7 +77,7 @@ function make7(endpoints = {
|
|
|
77
77
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
80
|
+
const credentials = yield* Service78;
|
|
81
81
|
const providers = yield* Service76;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
@@ -153,7 +153,7 @@ function make7(endpoints = {
|
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
155
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -283,7 +283,7 @@ function make7(endpoints = {
|
|
|
283
283
|
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
289
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
@@ -322,7 +322,7 @@ function make7(endpoints = {
|
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make6();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-62p5vnps.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service27,
|
|
7
|
+
node30
|
|
8
|
+
} from "./permission-1vasm310.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node63
|
|
12
|
+
} from "./permission-y1ha0vpq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service67,
|
|
15
|
+
node71
|
|
16
|
+
} from "./permission-wysk03ww.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
layer: () => layer12,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service26 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer12 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service27;
|
|
42
|
+
const tools = yield* Service67;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service59;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node29 = makeLocationNode({
|
|
124
|
+
service: Service26,
|
|
125
125
|
layer: layer12,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node71, node30, node87, node63]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service26, layer12, node29, exports_mcp3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./permission-zvwz45r0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./permission-9ae44cfy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-6h37vygj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./permission-0xezjjjn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-2xnzgjvn.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service56
|
|
23
|
+
} from "./permission-x4v5kfsj.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./permission-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service34;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service69;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service56;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service68;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./permission-y1ha0vpq.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input6 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description4,
|
|
104
|
-
input:
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin7 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input5, Plugin41, extractTextFromHTML2, exports_webfetch };
|