@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured7,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer19,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node55,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service52 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer19 = (options) => Layer.effect(
|
|
65
|
+
var layer19 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service52).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured7(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service52, layer: layer19(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node55 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options6, Service52, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured7, node55, exports_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service6.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service6, node7, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-kp71p0cs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./permission-j8n9y25r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./permission-g49y9ve0.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./permission-wy8aqc21.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin48,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin48 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service40;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin16 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent5 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name11, Input11, Plugin48, toModelContent5, exports_read };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-hs1x7rht.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-q13qta0d.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-62p5vnps.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-ktbyy5ev.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-kp71p0cs.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service44,
|
|
33
|
+
node46
|
|
34
|
+
} from "./permission-b8z51b6b.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./permission-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service43
|
|
41
|
+
} from "./permission-4hjzyf7t.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./permission-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
52
|
Event: () => Event6,
|
|
53
|
-
Info: () =>
|
|
53
|
+
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service42,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node44
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,9 +73,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/unstable/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info6 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service42 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service44;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service43).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service42.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node44 = Node.makeGlobalNode({
|
|
260
|
+
service: Service42,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node46]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service42, node44, exports_worktree2, OperationError2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-q13qta0d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./permission-9ae44cfy.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-6h37vygj.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-3sj8yt8v.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-7jtnznqz.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-hqy46avb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./permission-7xqm7vez.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service34;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service18;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-4a7gy6vj.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-2xnzgjvn.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9t7a50xb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-vn72gsba.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-3sj8yt8v.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|