@opencode/core 0.0.0-dev-20688 → 0.0.0-dev-20690
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/{permission-s6zybq5r.js → tool-output-00qqsd88.js} +14 -14
- package/dist/chunks/{permission-pgr4yc5g.js → tool-output-01wczdzm.js} +21 -21
- package/dist/chunks/{permission-6bax3wfe.js → tool-output-03n1avwh.js} +11 -11
- package/dist/chunks/{permission-q13qta0d.js → tool-output-0cjj111f.js} +3 -3
- package/dist/chunks/tool-output-0d4j78kf.js +26 -0
- package/dist/chunks/{permission-qgn6gcr1.js → tool-output-0jwsre1p.js} +5 -5
- package/dist/chunks/{permission-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-bfdd4cb4.js → tool-output-0se8d28b.js} +7 -7
- package/dist/chunks/{permission-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
- package/dist/chunks/{permission-bddzygnv.js → tool-output-14q8tb4m.js} +11 -11
- package/dist/chunks/{permission-10dv2xfs.js → tool-output-16dzdxyy.js} +42 -42
- package/dist/chunks/{permission-2ebsrpgv.js → tool-output-17kbye3y.js} +15 -15
- package/dist/chunks/{permission-wya7aw3d.js → tool-output-1c23429g.js} +3 -3
- package/dist/chunks/{permission-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-1dvck2a7.js → tool-output-1dvck2a7.js} +2 -2
- package/dist/chunks/{permission-mfqp6xfm.js → tool-output-1ygqh575.js} +6 -6
- package/dist/chunks/{permission-7332sqjz.js → tool-output-25y3a85a.js} +15 -15
- package/dist/chunks/{permission-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-5vevbavy.js → tool-output-2dfnpwbj.js} +15 -15
- package/dist/chunks/{permission-6p20k3wd.js → tool-output-2gr7ffpw.js} +22 -22
- package/dist/chunks/{permission-y6mhz57t.js → tool-output-2k71kv7p.js} +4 -4
- package/dist/chunks/{permission-fzv62hvw.js → tool-output-2kbyt3gb.js} +14 -14
- package/dist/chunks/{permission-36nz8rj0.js → tool-output-2nhapass.js} +23 -23
- package/dist/chunks/{permission-p1mtf012.js → tool-output-2qphfp0m.js} +1 -1
- package/dist/chunks/{permission-xhj2809n.js → tool-output-2qqbwyhk.js} +43 -43
- package/dist/chunks/{permission-8x7y6wyf.js → tool-output-2w1y8eba.js} +23 -23
- package/dist/chunks/{permission-a41s0txc.js → tool-output-2wsa3f5j.js} +5 -5
- package/dist/chunks/{permission-j7g61wp1.js → tool-output-2xcja63t.js} +10 -10
- package/dist/chunks/{permission-x4v5kfsj.js → tool-output-33j9wzam.js} +24 -24
- package/dist/chunks/{permission-1yqzzd83.js → tool-output-35mq92ha.js} +11 -11
- package/dist/chunks/{permission-e6bjgdpg.js → tool-output-3br7c0zx.js} +11 -11
- package/dist/chunks/{permission-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-m7ddwx6z.js → tool-output-3xpngeap.js} +5 -5
- package/dist/chunks/{permission-ec3traks.js → tool-output-3yvh6ynk.js} +8 -8
- package/dist/chunks/{permission-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-b4n2fnz4.js → tool-output-46vfxqy2.js} +24 -24
- package/dist/chunks/{permission-4a7gy6vj.js → tool-output-48kw51zw.js} +3 -3
- package/dist/chunks/{permission-w6yct1ma.js → tool-output-4c18rwgv.js} +8 -8
- package/dist/chunks/{permission-rant3mzz.js → tool-output-4j8rs4zn.js} +17 -17
- package/dist/chunks/{permission-bcnrsvht.js → tool-output-4nhcjvb4.js} +5 -5
- package/dist/chunks/{permission-4ts7tf6z.js → tool-output-4ts7tf6z.js} +2 -2
- package/dist/chunks/{permission-kegfba9d.js → tool-output-5313v1x9.js} +7 -7
- package/dist/chunks/{permission-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
- package/dist/chunks/{permission-fh55fhvv.js → tool-output-59cpc9hg.js} +15 -15
- package/dist/chunks/{permission-6sgfaakk.js → tool-output-5axryy5w.js} +32 -32
- package/dist/chunks/{permission-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-dp98172p.js → tool-output-5hbj76mq.js} +11 -11
- package/dist/chunks/{permission-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-fp7za5pf.js → tool-output-5ww5wa86.js} +4 -4
- package/dist/chunks/{permission-b9dn5hn6.js → tool-output-5zkpyy5y.js} +30 -30
- package/dist/chunks/{permission-j8n9y25r.js → tool-output-65k64ybp.js} +18 -18
- package/dist/chunks/{permission-c9q7qt0j.js → tool-output-6e8srf29.js} +18 -18
- package/dist/chunks/{permission-h8k3cc2z.js → tool-output-6fhzeyxk.js} +9 -9
- package/dist/chunks/{permission-d602qkab.js → tool-output-6fxpe754.js} +23 -23
- package/dist/chunks/{permission-jf6zwwv4.js → tool-output-6gzpj820.js} +17 -17
- package/dist/chunks/{permission-htpvgqrd.js → tool-output-6k79e2zw.js} +8 -8
- package/dist/chunks/{permission-grrb6rgh.js → tool-output-6keqzetd.js} +11 -11
- package/dist/chunks/{permission-h2nd8448.js → tool-output-6mkz5pnh.js} +3 -3
- package/dist/chunks/{permission-pdtchp93.js → tool-output-6mnjyrw6.js} +37 -37
- package/dist/chunks/{permission-4hjzyf7t.js → tool-output-6pkskwe3.js} +16 -16
- package/dist/chunks/{permission-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
- package/dist/chunks/{permission-2k64ycz1.js → tool-output-6ysrkrkr.js} +8 -8
- package/dist/chunks/{permission-71az546q.js → tool-output-71az546q.js} +2 -2
- package/dist/chunks/{permission-55p2ap5f.js → tool-output-77wyjq9b.js} +5 -5
- package/dist/chunks/{permission-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-fv6ke7h7.js → tool-output-7jz9yabh.js} +20 -20
- package/dist/chunks/{permission-abgm0z3p.js → tool-output-7sm2b8gw.js} +25 -25
- package/dist/chunks/{permission-84txncab.js → tool-output-84txncab.js} +1 -1
- package/dist/chunks/{permission-5qevsstt.js → tool-output-87pyc8s0.js} +36 -36
- package/dist/chunks/{permission-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-kxq2p9qz.js → tool-output-8nfsty1p.js} +21 -21
- package/dist/chunks/{permission-tkmwgdpd.js → tool-output-8rqycdgd.js} +4 -4
- package/dist/chunks/{permission-zmeaqj18.js → tool-output-8t49rs88.js} +24 -24
- package/dist/chunks/{permission-2t17veph.js → tool-output-94p2bmng.js} +35 -35
- package/dist/chunks/{permission-g98wbq2x.js → tool-output-95yzr9fr.js} +8 -8
- package/dist/chunks/{permission-9e5bzkjp.js → tool-output-9e5bzkjp.js} +3 -3
- package/dist/chunks/{permission-hqy46avb.js → tool-output-9gbst59k.js} +31 -31
- package/dist/chunks/{permission-ept765rp.js → tool-output-a0h4hvtc.js} +11 -11
- package/dist/chunks/{permission-0e0fe8yx.js → tool-output-a0yaxx0j.js} +9 -9
- package/dist/chunks/{permission-hwqmtcgc.js → tool-output-a181q9t6.js} +179 -179
- package/dist/chunks/{permission-71ct72cd.js → tool-output-a3nb7vj0.js} +1 -1
- package/dist/chunks/{permission-1ywvxz94.js → tool-output-a60qwpfx.js} +20 -20
- package/dist/chunks/{permission-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-r4911mqy.js → tool-output-ac18wex5.js} +32 -32
- package/dist/chunks/{permission-tzd3vmzq.js → tool-output-addt2tdy.js} +3 -3
- package/dist/chunks/{permission-bh0zzf2s.js → tool-output-ahd542yp.js} +8 -8
- package/dist/chunks/{permission-hs1x7rht.js → tool-output-atadgrhy.js} +12 -12
- package/dist/chunks/{permission-72n81e5t.js → tool-output-awp25jd4.js} +13 -13
- package/dist/chunks/{permission-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-194t0rba.js → tool-output-bd3vtvgg.js} +20 -20
- package/dist/chunks/{permission-8vs0yxbt.js → tool-output-c2qzk1d4.js} +45 -45
- package/dist/chunks/{permission-pq1y2hcf.js → tool-output-c2y75rr4.js} +3 -3
- package/dist/chunks/{permission-v8t3y0s4.js → tool-output-c483qb4a.js} +53 -53
- package/dist/chunks/{permission-fgpjp61f.js → tool-output-c6vmj6s8.js} +23 -23
- package/dist/chunks/{permission-wysk03ww.js → tool-output-caaj709w.js} +24 -24
- package/dist/chunks/{permission-y1ha0vpq.js → tool-output-cy4b4mz7.js} +52 -52
- package/dist/chunks/{permission-cac7ewr5.js → tool-output-czadqghd.js} +13 -13
- package/dist/chunks/{permission-xxndcd6m.js → tool-output-d9sgy5v4.js} +4 -4
- package/dist/chunks/{permission-addxnjmp.js → tool-output-db2wf4at.js} +4 -4
- package/dist/chunks/{permission-rcn26dve.js → tool-output-dcz2h22h.js} +7 -7
- package/dist/chunks/{permission-dpkg50ah.js → tool-output-dpkg50ah.js} +1 -1
- package/dist/chunks/{permission-b92n5frd.js → tool-output-dpzyz640.js} +16 -16
- package/dist/chunks/{permission-w39jehkq.js → tool-output-dssbfrwz.js} +5 -5
- package/dist/chunks/{permission-jct8zyk7.js → tool-output-dzz1kj22.js} +8 -8
- package/dist/chunks/{permission-7jpwzvts.js → tool-output-e55pdewd.js} +12 -12
- package/dist/chunks/{permission-sbgmbffx.js → tool-output-e5z2a0wj.js} +8 -8
- package/dist/chunks/{permission-s1aw5bev.js → tool-output-e6r2s1v4.js} +30 -30
- package/dist/chunks/{permission-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-j028xdjb.js → tool-output-eq1pz5kg.js} +3 -3
- package/dist/chunks/{permission-3p7z255n.js → tool-output-eq454e6t.js} +24 -24
- package/dist/chunks/{permission-1y9xp183.js → tool-output-et3gdkf0.js} +11 -11
- package/dist/chunks/{permission-p1ebg76v.js → tool-output-et61fm3t.js} +19 -19
- package/dist/chunks/{permission-6tnrh5ya.js → tool-output-ethg0faf.js} +20 -20
- package/dist/chunks/{permission-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-8y4537ag.js → tool-output-etv31qza.js} +16 -16
- package/dist/chunks/{permission-vk0x6560.js → tool-output-exgee5t8.js} +17 -17
- package/dist/chunks/{permission-t9ew0xaf.js → tool-output-f00eh3k7.js} +5 -5
- package/dist/chunks/{permission-kp71p0cs.js → tool-output-f0mv3stj.js} +16 -16
- package/dist/chunks/{permission-jbgk0j3b.js → tool-output-f0phkt7r.js} +34 -34
- package/dist/chunks/{permission-qekf5hrq.js → tool-output-f193y4j0.js} +22 -22
- package/dist/chunks/{permission-3sj8yt8v.js → tool-output-f29mbr7f.js} +4 -4
- package/dist/chunks/{permission-62p5vnps.js → tool-output-f41zmgay.js} +4 -4
- package/dist/chunks/{permission-t7k4jxvs.js → tool-output-fbqxm1rk.js} +24 -24
- package/dist/chunks/{permission-fcwad6q9.js → tool-output-fgnywkrh.js} +9 -9
- package/dist/chunks/{permission-j4jzm50g.js → tool-output-fh8s6qap.js} +3 -3
- package/dist/chunks/{permission-rbajd19e.js → tool-output-fjjf4n4y.js} +14 -14
- package/dist/chunks/{permission-v0es1rhs.js → tool-output-fpecnkgp.js} +9 -9
- package/dist/chunks/{permission-0escwrsj.js → tool-output-fv8nmtg0.js} +7 -7
- package/dist/chunks/{permission-6jyk02px.js → tool-output-fz0vtw33.js} +11 -11
- package/dist/chunks/{permission-wh3mwy9y.js → tool-output-g2y161wv.js} +5 -5
- package/dist/chunks/{permission-4x0gkadg.js → tool-output-g7e2501v.js} +27 -27
- package/dist/chunks/{permission-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-4ad028th.js → tool-output-gf2az15k.js} +6 -6
- package/dist/chunks/{permission-dka3w8mh.js → tool-output-gj61qart.js} +36 -36
- package/dist/chunks/{permission-h2b79v29.js → tool-output-h2b79v29.js} +2 -2
- package/dist/chunks/{permission-2xnzgjvn.js → tool-output-h3k0sdzw.js} +6 -6
- package/dist/chunks/{permission-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-vdaa9jq8.js → tool-output-hg1d6wk1.js} +42 -42
- package/dist/chunks/{permission-w2a3dqpw.js → tool-output-hk8r7czx.js} +7 -7
- package/dist/chunks/{permission-vmjkjp9j.js → tool-output-hp36904v.js} +26 -26
- package/dist/chunks/{permission-wy8aqc21.js → tool-output-hqcrfynj.js} +15 -15
- package/dist/chunks/{permission-77jgmqn4.js → tool-output-hwf67kmb.js} +22 -22
- package/dist/chunks/{permission-4j24z8gn.js → tool-output-hy8bge2v.js} +11 -11
- package/dist/chunks/{permission-b8z51b6b.js → tool-output-hy9gebj0.js} +9 -9
- package/dist/chunks/{permission-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-h5xe2w86.js → tool-output-jn2qmfgk.js} +14 -14
- package/dist/chunks/{permission-jasp3a05.js → tool-output-jywas9t1.js} +1 -1
- package/dist/chunks/{permission-hnfjkn81.js → tool-output-k1h2dvms.js} +11 -11
- package/dist/chunks/{permission-7dhnq9pm.js → tool-output-k3dze7tg.js} +31 -31
- package/dist/chunks/{permission-5tcm9639.js → tool-output-k70p9jzb.js} +9 -9
- package/dist/chunks/{permission-zvwz45r0.js → tool-output-k7myrtme.js} +9 -9
- package/dist/chunks/{permission-e0qhp09y.js → tool-output-k85tdqsj.js} +18 -18
- package/dist/chunks/{permission-kx5fe73z.js → tool-output-km5eadxj.js} +5 -5
- package/dist/chunks/{permission-x28x78cy.js → tool-output-kpha1e6n.js} +2 -2
- package/dist/chunks/{permission-ktbyy5ev.js → tool-output-krfam912.js} +42 -42
- package/dist/chunks/{permission-er1qgfv5.js → tool-output-kzgt6f80.js} +20 -20
- package/dist/chunks/{permission-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-sgehztvb.js → tool-output-m81jeghn.js} +21 -21
- package/dist/chunks/{permission-j1wcwcqm.js → tool-output-m9056vrs.js} +4 -4
- package/dist/chunks/{permission-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-keykcebr.js → tool-output-mf00bat8.js} +4 -4
- package/dist/chunks/{permission-z1apv2nw.js → tool-output-mjxb3x5h.js} +27 -27
- package/dist/chunks/{permission-5v0382rn.js → tool-output-mnr2ek00.js} +8 -8
- package/dist/chunks/{permission-60h8n1mb.js → tool-output-mqd74103.js} +9 -9
- package/dist/chunks/{permission-vn9jm4n9.js → tool-output-mv26fab9.js} +6 -6
- package/dist/chunks/{permission-t2az9yje.js → tool-output-n4r3xatb.js} +4 -4
- package/dist/chunks/{permission-dv3pa25w.js → tool-output-n6hgm2fe.js} +13 -13
- package/dist/chunks/{permission-n16w7qmw.js → tool-output-nh7aefay.js} +11 -11
- package/dist/chunks/{permission-1y7qakgj.js → tool-output-nhd4byj4.js} +30 -30
- package/dist/chunks/{permission-yp2x3t23.js → tool-output-nkf980df.js} +4 -4
- package/dist/chunks/{permission-41mbax9f.js → tool-output-nxegv9h8.js} +26 -26
- package/dist/chunks/{permission-p37cw4rj.js → tool-output-p37cw4rj.js} +1 -1
- package/dist/chunks/{permission-9mjxwsxw.js → tool-output-p4s1435r.js} +13 -13
- package/dist/chunks/{permission-q1c6gfm2.js → tool-output-pcx1yvm2.js} +22 -22
- package/dist/chunks/{permission-kd4hf263.js → tool-output-pdq19wc5.js} +6 -6
- package/dist/chunks/tool-output-pf31ssb9.js +18 -0
- package/dist/chunks/{permission-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{permission-vn72gsba.js → tool-output-pkqb68ka.js} +4 -4
- package/dist/chunks/{permission-cfsjj92n.js → tool-output-pqqp59vn.js} +10 -10
- package/dist/chunks/{permission-mrdraj1e.js → tool-output-prh9w8gf.js} +41 -41
- package/dist/chunks/{permission-4nj4bn9q.js → tool-output-prq7hedt.js} +9 -9
- package/dist/chunks/{permission-spe59mq4.js → tool-output-ptaj5psm.js} +32 -32
- package/dist/chunks/{permission-7a87wzr4.js → tool-output-pwmnbw1t.js} +25 -25
- package/dist/chunks/{permission-py3kkmfq.js → tool-output-py3kkmfq.js} +2 -2
- package/dist/chunks/{permission-q0xm7vwc.js → tool-output-q0xm7vwc.js} +2 -2
- package/dist/chunks/{permission-5w9yjztw.js → tool-output-q5e7cmwt.js} +1 -1
- package/dist/chunks/{permission-64ft88kd.js → tool-output-q8fjykq6.js} +23 -23
- package/dist/chunks/{permission-c44f928x.js → tool-output-qbkf9amh.js} +4 -4
- package/dist/chunks/{permission-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-qxjc9qry.js → tool-output-qxjc9qry.js} +3 -3
- package/dist/chunks/{permission-b3f8fkhc.js → tool-output-qygbw77c.js} +5 -5
- package/dist/chunks/{permission-79qaa2kf.js → tool-output-r2m716tb.js} +9 -9
- package/dist/chunks/{permission-rjvz70e4.js → tool-output-r3e4wjdy.js} +33 -33
- package/dist/chunks/{permission-8yan9qxg.js → tool-output-r7akh4p6.js} +17 -17
- package/dist/chunks/{permission-7m6c6kjp.js → tool-output-rdj5x1aq.js} +20 -20
- package/dist/chunks/{permission-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-5bdqp5q2.js → tool-output-rfqabggz.js} +33 -33
- package/dist/chunks/{permission-x10hayvc.js → tool-output-rmaq76vj.js} +30 -30
- package/dist/chunks/{permission-kk8nc0y1.js → tool-output-rq4h19re.js} +32 -32
- package/dist/chunks/{permission-w0tfgnf2.js → tool-output-rqa1jxse.js} +2 -2
- package/dist/chunks/{permission-k6dq1brx.js → tool-output-rszaqsqw.js} +28 -28
- package/dist/chunks/{permission-ev8h0xdf.js → tool-output-rthh6mvw.js} +13 -13
- package/dist/chunks/{permission-k1ez0b74.js → tool-output-rwdx3sxf.js} +18 -18
- package/dist/chunks/{permission-a8nwbtm7.js → tool-output-s3sthbff.js} +4 -4
- package/dist/chunks/{permission-z5vtzp1p.js → tool-output-sa5ep0ge.js} +9 -9
- package/dist/chunks/{permission-dcsqhe5p.js → tool-output-sdtpzacm.js} +16 -16
- package/dist/chunks/{permission-mjymc32g.js → tool-output-skhcedy2.js} +4 -4
- package/dist/chunks/{permission-zd8pcyp5.js → tool-output-sp6frf88.js} +10 -10
- package/dist/chunks/{permission-xt6xxsa8.js → tool-output-sss67ayf.js} +29 -21
- package/dist/chunks/{permission-gwvgyx32.js → tool-output-sxxwk2h0.js} +35 -35
- package/dist/chunks/{permission-gp7q2fb6.js → tool-output-t5pvq3y5.js} +41 -41
- package/dist/chunks/{permission-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{permission-wchyddks.js → tool-output-tjyakkek.js} +5 -5
- package/dist/chunks/{permission-7xqm7vez.js → tool-output-tx02815r.js} +85 -85
- package/dist/chunks/{permission-0xezjjjn.js → tool-output-tx9w5tca.js} +8 -8
- package/dist/chunks/{permission-wqkxk58t.js → tool-output-v68dkaev.js} +22 -22
- package/dist/chunks/{permission-pgp1nwjn.js → tool-output-v7z2bvyd.js} +4 -4
- package/dist/chunks/{permission-e1my5csp.js → tool-output-vdr6fryh.js} +35 -35
- package/dist/chunks/{permission-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-1q5xzxex.js → tool-output-vj0y6dfg.js} +17 -17
- package/dist/chunks/{permission-g769z57k.js → tool-output-vn1tddxd.js} +323 -323
- package/dist/chunks/{permission-aeqh8ayv.js → tool-output-vt0186jp.js} +6 -6
- package/dist/chunks/{permission-6m32jaa6.js → tool-output-vw5h6757.js} +5 -5
- package/dist/chunks/{permission-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-eq1hrfg7.js → tool-output-w2bqs4gs.js} +13 -13
- package/dist/chunks/{permission-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-kpgf9q78.js → tool-output-w8eh3skm.js} +48 -48
- package/dist/chunks/{permission-1nwxscpy.js → tool-output-w8xr7nv8.js} +5 -5
- package/dist/chunks/{permission-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{permission-4za9axf7.js → tool-output-wmg6afj1.js} +20 -20
- package/dist/chunks/{permission-t6x88b6v.js → tool-output-wn1dwvrm.js} +11 -11
- package/dist/chunks/{permission-qn2n7y4a.js → tool-output-wq3fhqxe.js} +21 -21
- package/dist/chunks/{permission-9t7a50xb.js → tool-output-wv396vej.js} +6 -6
- package/dist/chunks/{permission-nyqx1cb3.js → tool-output-x2rw7g36.js} +5 -5
- package/dist/chunks/{permission-d381vkkz.js → tool-output-x3zjy24f.js} +3 -3
- package/dist/chunks/{permission-xfkkasph.js → tool-output-xfkkasph.js} +1 -1
- package/dist/chunks/{permission-xkntkrq7.js → tool-output-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-1vasm310.js → tool-output-xky21pn0.js} +45 -45
- package/dist/chunks/{permission-hvcytzw6.js → tool-output-xrck4m4y.js} +3 -3
- package/dist/chunks/{permission-tvrc96b9.js → tool-output-xt90xqzw.js} +6 -6
- package/dist/chunks/{permission-cgfw62c1.js → tool-output-xtmjw94y.js} +36 -36
- package/dist/chunks/{permission-p9bmne11.js → tool-output-xv7vf67p.js} +29 -29
- package/dist/chunks/{permission-2fhksyd5.js → tool-output-xw92hw7n.js} +30 -30
- package/dist/chunks/{permission-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-4cay6e5n.js → tool-output-y35w8rgz.js} +17 -17
- package/dist/chunks/{permission-g49y9ve0.js → tool-output-y7vankhn.js} +19 -19
- package/dist/chunks/{permission-ngvvcwvc.js → tool-output-y975n134.js} +7 -7
- package/dist/chunks/{permission-9ae44cfy.js → tool-output-ycjb11n5.js} +6 -6
- package/dist/chunks/{permission-ytd2x2sg.js → tool-output-ydcw2wd2.js} +45 -45
- package/dist/chunks/{permission-gj71zhbs.js → tool-output-ygdna4kr.js} +5 -5
- package/dist/chunks/{permission-fvqrnts2.js → tool-output-yj3sgdan.js} +64 -64
- package/dist/chunks/{permission-7jtnznqz.js → tool-output-yk94bdza.js} +8 -8
- package/dist/chunks/{permission-7t7dp16p.js → tool-output-yq8freb2.js} +20 -20
- package/dist/chunks/{permission-by8n9qt3.js → tool-output-yqcgzvte.js} +20 -20
- package/dist/chunks/{permission-1t5dys3y.js → tool-output-yr89pw6g.js} +13 -13
- package/dist/chunks/{permission-wdzwwd6b.js → tool-output-ywrt7q9n.js} +12 -12
- package/dist/chunks/{permission-pgdq0m2s.js → tool-output-yzwd6hg8.js} +6 -6
- package/dist/chunks/{permission-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-b209fthr.js → tool-output-z1seheqb.js} +4 -4
- package/dist/chunks/{permission-c2dh82xc.js → tool-output-z27ctmjc.js} +17 -17
- package/dist/chunks/{permission-kzb338hs.js → tool-output-z64xb9qk.js} +4 -4
- package/dist/chunks/{permission-dcxc4avz.js → tool-output-z8qd6749.js} +11 -11
- package/dist/chunks/{permission-dgb6jywt.js → tool-output-zb35rv5w.js} +5 -5
- package/dist/chunks/{permission-f08ext3y.js → tool-output-zcvapfdz.js} +18 -18
- package/dist/chunks/{permission-7kdajcy6.js → tool-output-zj1y38qw.js} +87 -87
- package/dist/chunks/{permission-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-6h72t1h6.js → tool-output-zv98kd1s.js} +10 -10
- package/dist/chunks/tool-output-zwqytfkg.js +253 -0
- package/dist/chunks/{permission-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +116 -116
- 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 +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +3 -3
- package/dist/integration.js +87 -87
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- 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 +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -76
- 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 +1 -1
- 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 +7 -7
- 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 +116 -116
- 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 +114 -114
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +4 -4
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +3 -3
- 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 +222 -222
- 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 +4 -4
- 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 +162 -162
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- 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 +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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 +87 -87
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/permission-6h37vygj.js +0 -18
- package/dist/chunks/permission-9ekewq9g.js +0 -253
- package/dist/chunks/permission-evmw8smx.js +0 -26
- /package/dist/chunks/{permission-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → tool-output-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./tool-output-f0mv3stj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./tool-output-8t49rs88.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service13,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-p4s1435r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./tool-output-25y3a85a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./tool-output-cy4b4mz7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service54,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-65k64ybp.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin41,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin41 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service54;
|
|
110
|
+
const fileMutation = yield* Service13;
|
|
111
|
+
const environment = yield* Service45;
|
|
112
|
+
const formatter = yield* Service16;
|
|
113
|
+
const location = yield* Service79;
|
|
114
|
+
const permission = yield* Service74;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name7,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input7,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin47 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name7, Input7, Output5, Plugin41, exports_edit };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./tool-output-ptaj5psm.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID9.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service35,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node38
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service35, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service35.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node38 = makeGlobalNode({ service: Service35, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service35, node38, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./tool-output-f0mv3stj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./tool-output-prh9w8gf.js";
|
|
10
10
|
import {
|
|
11
11
|
Service43
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-6pkskwe3.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin32 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service36;
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
36
|
const worktrees = yield* Service43;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
@@ -48,4 +48,4 @@ var Plugin19 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin32, exports_worktree };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-f41zmgay.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./tool-output-pqqp59vn.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service26,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-pf31ssb9.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-a181q9t6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service26,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node22
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service70;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service26.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node22 = Node.makeLocationNode({
|
|
226
|
+
service: Service26,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node22, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-35mq92ha.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-f41zmgay.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID11,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event17,
|
|
11
|
+
Service69
|
|
12
|
+
} from "./tool-output-rmaq76vj.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-db2wf4at.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-5zkpyy5y.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-output-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID9,
|
|
25
|
+
Service67
|
|
26
|
+
} from "./tool-output-ptaj5psm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID8
|
|
29
|
+
} from "./tool-output-nhd4byj4.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-output-pdq19wc5.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make5(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID9.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service69;
|
|
81
|
+
const providers = yield* Service67;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make6(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID9.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID9.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make6(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make6(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID9.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make6(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID9.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID9.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make6(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID9.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make6(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID9.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make6(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make6(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID9.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID9.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID9.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make6(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID9.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make6(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID9.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID9.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make6(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID9.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make5();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID8.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID8.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make5, AzurePlugin2 };
|