@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
|
@@ -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/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-0cjj111f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-f41zmgay.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./tool-output-ycjb11n5.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./tool-output-krfam912.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-f0mv3stj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node77
|
|
27
|
+
} from "./tool-output-hy9gebj0.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./tool-output-h3k0sdzw.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-output-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service59
|
|
39
|
+
} from "./tool-output-n4r3xatb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service76,
|
|
42
|
+
node80
|
|
43
|
+
} from "./tool-output-2kbyt3gb.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service60,
|
|
48
|
+
node64,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./tool-output-fbqxm1rk.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service58,
|
|
53
|
+
node63
|
|
54
|
+
} from "./tool-output-87pyc8s0.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node25
|
|
57
|
+
} from "./tool-output-sss67ayf.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service21,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node24
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service21 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service80;
|
|
92
|
+
const locations = yield* Service73;
|
|
93
|
+
const store = yield* Service76;
|
|
94
|
+
const execution = yield* Service58;
|
|
95
|
+
const instances = yield* Service61;
|
|
96
|
+
const admission = yield* Service60;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service59.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service21.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node24 = makeGlobalNode({
|
|
167
|
+
service: Service21,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
node84,
|
|
173
|
+
node77,
|
|
174
|
+
node80,
|
|
175
|
+
node63,
|
|
176
|
+
node65,
|
|
174
177
|
node64,
|
|
175
|
-
node34,
|
|
176
|
-
node36,
|
|
177
|
-
node35,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node25
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-ptaj5psm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID8,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info17,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-nhd4byj4.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID8.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info17.make({
|
|
98
|
+
...Info17.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID8.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-qxjc9qry.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service41,
|
|
17
|
+
node44
|
|
18
|
+
} from "./tool-output-k7myrtme.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service78,
|
|
21
|
+
node82
|
|
22
|
+
} from "./tool-output-tx9w5tca.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-output-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service40,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node43
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service40 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service78;
|
|
58
|
+
const image = yield* Service41;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service40.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node43 = makeLocationNode({
|
|
277
|
+
service: Service40,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node44]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service40, node43, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-f41zmgay.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./tool-output-f0mv3stj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./tool-output-8nfsty1p.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./tool-output-h3k0sdzw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./tool-output-2kbyt3gb.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service75,
|
|
26
|
+
node79
|
|
27
|
+
} from "./tool-output-6gzpj820.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service78,
|
|
30
|
+
node82
|
|
31
|
+
} from "./tool-output-tx9w5tca.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event18,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service74,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node78
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID14.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID12,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service74 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service77;
|
|
134
|
+
const sessions = yield* Service76;
|
|
135
|
+
const saved = yield* Service75;
|
|
136
|
+
const hooks = yield* Service78;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID12.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID12.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service74.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node78 = makeLocationNode({
|
|
303
|
+
service: Service74,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node83, node81, node80, node79, node82]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service74, node78, exports_permission2, Rule3, Ruleset2, Event18 };
|
|
@@ -1,38 +1,38 @@
|
|
|
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
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-hp36904v.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service36;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin21, exports_reference };
|