@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node77
|
|
7
|
+
} from "./permission-vdaa9jq8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service72,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node76
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service72 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer23 = Layer.effect(Service72, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service73;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service72.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node76 = makeLocationNode({
|
|
74
|
+
service: Service72,
|
|
75
|
+
layer: layer23,
|
|
76
|
+
deps: [node77, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service72, layer23, node76, exports_generate2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-62p5vnps.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service30,
|
|
17
|
+
node33
|
|
18
|
+
} from "./permission-er1qgfv5.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info4,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service28,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node31
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event4 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info4 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service28 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service30;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info4.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info4.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service28.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node31 = makeLocationNode({
|
|
116
|
+
service: Service28,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node33]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info4, Service28, node31, exports_reference2, Event4 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-9t7a50xb.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-x4v5kfsj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID7.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-4a7gy6vj.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-1y7qakgj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./permission-mrdraj1e.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-kd4hf263.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/local.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
22
22
|
id: input.id,
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
26
|
const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
|
|
27
27
|
const loaded = { models: [], hash: "[]" };
|
|
28
28
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./permission-77jgmqn4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make8 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service52;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-2xnzgjvn.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-y1ha0vpq.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-b9dn5hn6.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-vdaa9jq8.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-ev8h0xdf.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./permission-mrdraj1e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./permission-2k64ycz1.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin2
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin2 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service51;
|
|
29
|
+
const managed = yield* Service57;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin34 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin2, exports_policy };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin25 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint4,
|
|
83
|
+
export { endpoint4, Plugin25, exports_exa };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-spe59mq4.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
10
|
Info21
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-1y7qakgj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./permission-zmeaqj18.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-p9bmne11.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service53;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node56] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|