@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-f41zmgay.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-db2wf4at.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./tool-output-rmaq76vj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./tool-output-5zkpyy5y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service67
|
|
16
|
+
} from "./tool-output-ptaj5psm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./tool-output-c6vmj6s8.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service67;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-hk8r7czx.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make3 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make3();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make3, VLLMPlugin2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./tool-output-prh9w8gf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service11
|
|
6
|
+
} from "./tool-output-16dzdxyy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service36;
|
|
26
|
+
const compaction = yield* Service11;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin12 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin27, exports_compaction };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-rmaq76vj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID10,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-5zkpyy5y.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID10.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-skhcedy2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info5
|
|
9
|
+
} from "./tool-output-3yvh6ynk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info7
|
|
12
|
+
} from "./tool-output-8rqycdgd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info8
|
|
15
|
+
} from "./tool-output-dssbfrwz.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info9
|
|
21
|
+
} from "./tool-output-ygdna4kr.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-s3sthbff.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info7, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info5, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info5, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info8, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info9, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-48kw51zw.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-0cjj111f.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-f41zmgay.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./tool-output-krfam912.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service61,
|
|
24
|
+
node65
|
|
25
|
+
} from "./tool-output-ycjb11n5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node64
|
|
34
|
+
} from "./tool-output-fbqxm1rk.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./tool-output-pkqb68ka.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-output-a0h4hvtc.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node25
|
|
47
|
+
} from "./tool-output-sss67ayf.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node58
|
|
51
|
+
} from "./tool-output-35mq92ha.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./tool-output-h3k0sdzw.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service76,
|
|
68
|
+
node80
|
|
69
|
+
} from "./tool-output-2kbyt3gb.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service63,
|
|
72
|
+
node67
|
|
73
|
+
} from "./tool-output-sdtpzacm.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service58,
|
|
76
|
+
node63
|
|
77
|
+
} from "./tool-output-87pyc8s0.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./tool-output-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service28,
|
|
83
|
+
node31
|
|
84
|
+
} from "./tool-output-5hbj76mq.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./tool-output-e55pdewd.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./tool-output-95yzr9fr.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service73,
|
|
93
|
+
node77
|
|
94
|
+
} from "./tool-output-hy9gebj0.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service21,
|
|
100
|
+
node24
|
|
101
|
+
} from "./tool-output-c483qb4a.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service35,
|
|
104
|
+
node38
|
|
105
|
+
} from "./tool-output-ahd542yp.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./tool-output-xw92hw7n.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./tool-output-03n1avwh.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service20,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node23
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service20 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service80;
|
|
160
|
+
const execution = yield* Service58;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service28;
|
|
163
|
+
const store = yield* Service76;
|
|
164
|
+
const instances = yield* Service61;
|
|
165
|
+
const moves = yield* Service21;
|
|
166
|
+
const jobs = yield* Service63;
|
|
167
|
+
const environments = yield* Service35;
|
|
168
|
+
const locations = yield* Service73;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service20.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service61, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node23 = Node.makeGlobalNode({
|
|
331
|
+
service: Service20,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
+
node67,
|
|
334
335
|
node38,
|
|
335
|
-
node52,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node84,
|
|
339
|
+
node63,
|
|
340
|
+
node31,
|
|
341
341
|
llmClient2,
|
|
342
|
+
node80,
|
|
343
|
+
node65,
|
|
342
344
|
node64,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
node20,
|
|
347
|
-
node46,
|
|
345
|
+
node24,
|
|
346
|
+
node25,
|
|
347
|
+
node77,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node58
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service20, node23, exports_session };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./tool-output-f0mv3stj.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-m81jeghn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin3 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service79;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin3, exports_git };
|