@opencode/core 0.0.0-dev-20687 → 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/{persistent-pty-yy2qfy1b.js → tool-output-00qqsd88.js} +11 -11
- package/dist/chunks/{persistent-pty-0xazgah3.js → tool-output-01wczdzm.js} +20 -20
- package/dist/chunks/{persistent-pty-ctmh09fa.js → tool-output-03n1avwh.js} +11 -11
- package/dist/chunks/{persistent-pty-a6z0eyza.js → tool-output-0cjj111f.js} +3 -3
- package/dist/chunks/tool-output-0d4j78kf.js +26 -0
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → tool-output-0jwsre1p.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-h9p4xcv4.js → tool-output-0se8d28b.js} +10 -10
- package/dist/chunks/{persistent-pty-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-dj40jy9p.js → tool-output-14q8tb4m.js} +11 -11
- package/dist/chunks/{persistent-pty-k2sevy6a.js → tool-output-16dzdxyy.js} +40 -40
- package/dist/chunks/{persistent-pty-g7dwpm2k.js → tool-output-17kbye3y.js} +15 -15
- package/dist/chunks/{persistent-pty-2zfembs1.js → tool-output-1c23429g.js} +5 -5
- package/dist/chunks/{persistent-pty-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dvck2a7.js → tool-output-1dvck2a7.js} +2 -2
- package/dist/chunks/{persistent-pty-33w4ejhs.js → tool-output-1ygqh575.js} +6 -6
- package/dist/chunks/{persistent-pty-8sv9ghg1.js → tool-output-25y3a85a.js} +15 -15
- package/dist/chunks/{persistent-pty-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-cjnf2hxy.js → tool-output-2dfnpwbj.js} +15 -15
- package/dist/chunks/{persistent-pty-sagw8wac.js → tool-output-2gr7ffpw.js} +27 -27
- package/dist/chunks/{persistent-pty-80scg3y3.js → tool-output-2k71kv7p.js} +4 -4
- package/dist/chunks/{persistent-pty-tqwb6d51.js → tool-output-2kbyt3gb.js} +14 -14
- package/dist/chunks/{persistent-pty-kh5saknc.js → tool-output-2nhapass.js} +29 -29
- package/dist/chunks/{persistent-pty-tej6jj18.js → tool-output-2qphfp0m.js} +1 -1
- package/dist/chunks/{persistent-pty-c6r2w95y.js → tool-output-2qqbwyhk.js} +46 -46
- package/dist/chunks/{persistent-pty-b14n2fy6.js → tool-output-2w1y8eba.js} +24 -24
- package/dist/chunks/{persistent-pty-jmvy1xeb.js → tool-output-2wsa3f5j.js} +5 -5
- package/dist/chunks/{persistent-pty-0p9y25pt.js → tool-output-2xcja63t.js} +10 -10
- package/dist/chunks/{persistent-pty-gpfqc5vz.js → tool-output-33j9wzam.js} +22 -22
- package/dist/chunks/{persistent-pty-ykdgddnc.js → tool-output-35mq92ha.js} +11 -11
- package/dist/chunks/{persistent-pty-9t4c9838.js → tool-output-3br7c0zx.js} +11 -11
- package/dist/chunks/{persistent-pty-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-776h2rx5.js → tool-output-3xpngeap.js} +5 -5
- package/dist/chunks/{persistent-pty-esvm55dh.js → tool-output-3yvh6ynk.js} +8 -8
- package/dist/chunks/{persistent-pty-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-s5jnjhax.js → tool-output-46vfxqy2.js} +30 -30
- package/dist/chunks/{persistent-pty-rrt0a0ha.js → tool-output-48kw51zw.js} +3 -3
- package/dist/chunks/{persistent-pty-ebkq2xk5.js → tool-output-4c18rwgv.js} +8 -8
- package/dist/chunks/{persistent-pty-pj840tqw.js → tool-output-4j8rs4zn.js} +17 -17
- package/dist/chunks/{persistent-pty-qwppvs37.js → tool-output-4nhcjvb4.js} +5 -5
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → tool-output-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-8cn4rt87.js → tool-output-5313v1x9.js} +7 -7
- package/dist/chunks/{persistent-pty-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-fpgmt626.js → tool-output-59cpc9hg.js} +15 -15
- package/dist/chunks/{persistent-pty-1nyk5n2d.js → tool-output-5axryy5w.js} +25 -25
- package/dist/chunks/{persistent-pty-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-g17kg1qe.js → tool-output-5hbj76mq.js} +11 -11
- package/dist/chunks/{persistent-pty-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-fypvnyj1.js → tool-output-5ww5wa86.js} +4 -4
- package/dist/chunks/{persistent-pty-vawcbwh6.js → tool-output-5zkpyy5y.js} +30 -30
- package/dist/chunks/{persistent-pty-pctk8djh.js → tool-output-65k64ybp.js} +18 -18
- package/dist/chunks/{persistent-pty-821k94dh.js → tool-output-6e8srf29.js} +14 -14
- package/dist/chunks/{persistent-pty-jmkha9g0.js → tool-output-6fhzeyxk.js} +6 -6
- package/dist/chunks/{persistent-pty-a7dg2dbf.js → tool-output-6fxpe754.js} +25 -25
- package/dist/chunks/{persistent-pty-tzvfbext.js → tool-output-6gzpj820.js} +17 -17
- package/dist/chunks/{persistent-pty-vc6qc4g1.js → tool-output-6k79e2zw.js} +8 -8
- package/dist/chunks/{persistent-pty-a8759rm3.js → tool-output-6keqzetd.js} +11 -11
- package/dist/chunks/{persistent-pty-ebbatmv1.js → tool-output-6mkz5pnh.js} +3 -3
- package/dist/chunks/{persistent-pty-ymp6swde.js → tool-output-6mnjyrw6.js} +38 -38
- package/dist/chunks/{persistent-pty-zkv1zasr.js → tool-output-6pkskwe3.js} +21 -21
- package/dist/chunks/{persistent-pty-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-dvc89yjx.js → tool-output-6ysrkrkr.js} +8 -8
- package/dist/chunks/{persistent-pty-71az546q.js → tool-output-71az546q.js} +2 -2
- package/dist/chunks/{persistent-pty-9p8x2w89.js → tool-output-77wyjq9b.js} +5 -5
- package/dist/chunks/{persistent-pty-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7t96ahay.js → tool-output-7jz9yabh.js} +17 -17
- package/dist/chunks/{persistent-pty-yf5bkxv9.js → tool-output-7sm2b8gw.js} +28 -28
- package/dist/chunks/{persistent-pty-84txncab.js → tool-output-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-6f0za955.js → tool-output-87pyc8s0.js} +37 -37
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-7h7rhvce.js → tool-output-8nfsty1p.js} +21 -21
- package/dist/chunks/{persistent-pty-t2fc4mz5.js → tool-output-8rqycdgd.js} +7 -7
- package/dist/chunks/{persistent-pty-f8cpp2rj.js → tool-output-8t49rs88.js} +24 -24
- package/dist/chunks/{persistent-pty-4mradf57.js → tool-output-94p2bmng.js} +32 -32
- package/dist/chunks/{persistent-pty-xq8qfpct.js → tool-output-95yzr9fr.js} +8 -8
- package/dist/chunks/{persistent-pty-9e5bzkjp.js → tool-output-9e5bzkjp.js} +3 -3
- package/dist/chunks/{persistent-pty-db4e12wq.js → tool-output-9gbst59k.js} +31 -31
- package/dist/chunks/{persistent-pty-bqk3vb01.js → tool-output-a0h4hvtc.js} +17 -17
- package/dist/chunks/{persistent-pty-0nywwgf2.js → tool-output-a0yaxx0j.js} +9 -9
- package/dist/chunks/{persistent-pty-t97gm37m.js → tool-output-a181q9t6.js} +180 -180
- package/dist/chunks/{persistent-pty-ny3bzcqp.js → tool-output-a3nb7vj0.js} +4 -4
- package/dist/chunks/{persistent-pty-2qq695gf.js → tool-output-a60qwpfx.js} +22 -22
- package/dist/chunks/{persistent-pty-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-nyjecd6w.js → tool-output-ac18wex5.js} +26 -26
- package/dist/chunks/{persistent-pty-08nxe6az.js → tool-output-addt2tdy.js} +3 -3
- package/dist/chunks/{persistent-pty-7j2qha59.js → tool-output-ahd542yp.js} +8 -8
- package/dist/chunks/{persistent-pty-qv8c18b1.js → tool-output-atadgrhy.js} +12 -12
- package/dist/chunks/{persistent-pty-qfch3fyq.js → tool-output-awp25jd4.js} +15 -15
- package/dist/chunks/{persistent-pty-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-xw932zhm.js → tool-output-bd3vtvgg.js} +20 -20
- package/dist/chunks/{persistent-pty-v13c6hwm.js → tool-output-c2qzk1d4.js} +45 -45
- package/dist/chunks/{persistent-pty-209emr7t.js → tool-output-c2y75rr4.js} +3 -3
- package/dist/chunks/{persistent-pty-s78gt5gg.js → tool-output-c483qb4a.js} +54 -54
- package/dist/chunks/{persistent-pty-gjjws0jz.js → tool-output-c6vmj6s8.js} +12 -12
- package/dist/chunks/{persistent-pty-b8f6scpx.js → tool-output-caaj709w.js} +14 -14
- package/dist/chunks/{persistent-pty-8fezg7rf.js → tool-output-cy4b4mz7.js} +52 -52
- package/dist/chunks/{persistent-pty-rcbfcev9.js → tool-output-czadqghd.js} +13 -13
- package/dist/chunks/{persistent-pty-mhgx8wws.js → tool-output-d9sgy5v4.js} +4 -4
- package/dist/chunks/{persistent-pty-addxnjmp.js → tool-output-db2wf4at.js} +4 -4
- package/dist/chunks/{persistent-pty-5ytnddsz.js → tool-output-dcz2h22h.js} +7 -7
- package/dist/chunks/{persistent-pty-nxm207yx.js → tool-output-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-hd7y0qnv.js → tool-output-dpzyz640.js} +19 -19
- package/dist/chunks/{persistent-pty-wh6zw745.js → tool-output-dssbfrwz.js} +5 -5
- package/dist/chunks/{persistent-pty-drkc8b72.js → tool-output-dzz1kj22.js} +5 -5
- package/dist/chunks/{persistent-pty-xhjbenvh.js → tool-output-e55pdewd.js} +16 -16
- package/dist/chunks/{persistent-pty-2sfsr2hd.js → tool-output-e5z2a0wj.js} +11 -11
- package/dist/chunks/{persistent-pty-h4etxkg0.js → tool-output-e6r2s1v4.js} +30 -30
- package/dist/chunks/{persistent-pty-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-mhkvc446.js → tool-output-eq1pz5kg.js} +3 -3
- package/dist/chunks/{persistent-pty-kstajs3v.js → tool-output-eq454e6t.js} +26 -26
- package/dist/chunks/{persistent-pty-77f241gp.js → tool-output-et3gdkf0.js} +11 -11
- package/dist/chunks/{persistent-pty-z8ywv166.js → tool-output-et61fm3t.js} +19 -19
- package/dist/chunks/{persistent-pty-gkfsnvzg.js → tool-output-ethg0faf.js} +18 -18
- package/dist/chunks/{persistent-pty-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-yhm0jx9g.js → tool-output-etv31qza.js} +16 -16
- package/dist/chunks/{persistent-pty-f6rmnwf2.js → tool-output-exgee5t8.js} +25 -25
- package/dist/chunks/{persistent-pty-tag6x3x4.js → tool-output-f00eh3k7.js} +13 -13
- package/dist/chunks/{persistent-pty-cpdwrzkg.js → tool-output-f0mv3stj.js} +16 -16
- package/dist/chunks/{persistent-pty-qs6csmpp.js → tool-output-f0phkt7r.js} +32 -32
- package/dist/chunks/{persistent-pty-t3624nnb.js → tool-output-f193y4j0.js} +24 -24
- package/dist/chunks/{persistent-pty-3sj8yt8v.js → tool-output-f29mbr7f.js} +4 -4
- package/dist/chunks/{persistent-pty-ttvdwa7z.js → tool-output-f41zmgay.js} +4 -4
- package/dist/chunks/{persistent-pty-kny40qmr.js → tool-output-fbqxm1rk.js} +24 -24
- package/dist/chunks/{persistent-pty-dbph12me.js → tool-output-fgnywkrh.js} +9 -9
- package/dist/chunks/{persistent-pty-9p1dxk2x.js → tool-output-fh8s6qap.js} +3 -3
- package/dist/chunks/{persistent-pty-xjnmh88x.js → tool-output-fjjf4n4y.js} +11 -11
- package/dist/chunks/{persistent-pty-v0es1rhs.js → tool-output-fpecnkgp.js} +9 -9
- package/dist/chunks/{persistent-pty-ht20r4hb.js → tool-output-fv8nmtg0.js} +14 -14
- package/dist/chunks/{persistent-pty-e47hsmy2.js → tool-output-fz0vtw33.js} +14 -14
- package/dist/chunks/{persistent-pty-gft05b0a.js → tool-output-g2y161wv.js} +5 -5
- package/dist/chunks/{persistent-pty-z26d29s3.js → tool-output-g7e2501v.js} +22 -22
- package/dist/chunks/{persistent-pty-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-brp8zeym.js → tool-output-gf2az15k.js} +6 -6
- package/dist/chunks/{persistent-pty-159jj1aw.js → tool-output-gj61qart.js} +32 -32
- package/dist/chunks/{persistent-pty-h2b79v29.js → tool-output-h2b79v29.js} +2 -2
- package/dist/chunks/{persistent-pty-r21g991y.js → tool-output-h3k0sdzw.js} +6 -6
- package/dist/chunks/{persistent-pty-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-3kfev04w.js → tool-output-hg1d6wk1.js} +44 -44
- package/dist/chunks/{persistent-pty-e5zvhjbr.js → tool-output-hk8r7czx.js} +7 -7
- package/dist/chunks/{persistent-pty-z12bx410.js → tool-output-hp36904v.js} +24 -24
- package/dist/chunks/{persistent-pty-hkm5bgx3.js → tool-output-hqcrfynj.js} +15 -15
- package/dist/chunks/{persistent-pty-hjdzg5ea.js → tool-output-hwf67kmb.js} +22 -22
- package/dist/chunks/{persistent-pty-4b443rck.js → tool-output-hy8bge2v.js} +11 -11
- package/dist/chunks/{persistent-pty-1ym64zb3.js → tool-output-hy9gebj0.js} +9 -9
- package/dist/chunks/{persistent-pty-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-5st8hhzb.js → tool-output-jn2qmfgk.js} +11 -11
- package/dist/chunks/{persistent-pty-jdhjf7zb.js → tool-output-jywas9t1.js} +1 -1
- package/dist/chunks/{persistent-pty-e4bbxgnz.js → tool-output-k1h2dvms.js} +11 -11
- package/dist/chunks/{persistent-pty-xmqf1xay.js → tool-output-k3dze7tg.js} +36 -36
- package/dist/chunks/{persistent-pty-srq8z0b0.js → tool-output-k70p9jzb.js} +9 -9
- package/dist/chunks/{persistent-pty-zab19jja.js → tool-output-k7myrtme.js} +9 -9
- package/dist/chunks/{persistent-pty-se0pvr1e.js → tool-output-k85tdqsj.js} +18 -18
- package/dist/chunks/{persistent-pty-kwfpxcz0.js → tool-output-km5eadxj.js} +5 -5
- package/dist/chunks/{persistent-pty-3hepmaxp.js → tool-output-kpha1e6n.js} +2 -2
- package/dist/chunks/{persistent-pty-4fwbt0xm.js → tool-output-krfam912.js} +42 -42
- package/dist/chunks/{persistent-pty-rz2rym9w.js → tool-output-kzgt6f80.js} +20 -20
- package/dist/chunks/{persistent-pty-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-ay2qp8kd.js → tool-output-m81jeghn.js} +21 -21
- package/dist/chunks/{persistent-pty-987yrxdf.js → tool-output-m9056vrs.js} +4 -4
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-abvg2g3b.js → tool-output-mf00bat8.js} +4 -4
- package/dist/chunks/{persistent-pty-bhxrw03t.js → tool-output-mjxb3x5h.js} +27 -27
- package/dist/chunks/{persistent-pty-yh586nn1.js → tool-output-mnr2ek00.js} +8 -8
- package/dist/chunks/{persistent-pty-41ztszy1.js → tool-output-mqd74103.js} +6 -6
- package/dist/chunks/{persistent-pty-ffj38dam.js → tool-output-mv26fab9.js} +6 -6
- package/dist/chunks/{persistent-pty-k76fn4kw.js → tool-output-n4r3xatb.js} +4 -4
- package/dist/chunks/{persistent-pty-t88avx8c.js → tool-output-n6hgm2fe.js} +13 -13
- package/dist/chunks/{persistent-pty-z9q8g528.js → tool-output-nh7aefay.js} +11 -11
- package/dist/chunks/{persistent-pty-9q7r9kz4.js → tool-output-nhd4byj4.js} +30 -30
- package/dist/chunks/{persistent-pty-rhraev7y.js → tool-output-nkf980df.js} +4 -4
- package/dist/chunks/{persistent-pty-fsvaq0rq.js → tool-output-nxegv9h8.js} +26 -26
- package/dist/chunks/{persistent-pty-tpw6cwsb.js → tool-output-p37cw4rj.js} +8 -8
- package/dist/chunks/{persistent-pty-bfmp8476.js → tool-output-p4s1435r.js} +13 -13
- package/dist/chunks/{persistent-pty-gasqarw7.js → tool-output-pcx1yvm2.js} +22 -22
- package/dist/chunks/{persistent-pty-e62vkwx0.js → tool-output-pdq19wc5.js} +6 -6
- package/dist/chunks/tool-output-pf31ssb9.js +18 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-zfs8ae4p.js → tool-output-pkqb68ka.js} +4 -4
- package/dist/chunks/{persistent-pty-yb8x539d.js → tool-output-pqqp59vn.js} +10 -10
- package/dist/chunks/{persistent-pty-hkbza7a0.js → tool-output-prh9w8gf.js} +43 -43
- package/dist/chunks/{persistent-pty-4jyvzrab.js → tool-output-prq7hedt.js} +9 -9
- package/dist/chunks/{persistent-pty-kvgwdag7.js → tool-output-ptaj5psm.js} +32 -32
- package/dist/chunks/{persistent-pty-2swnp9mj.js → tool-output-pwmnbw1t.js} +18 -18
- package/dist/chunks/{persistent-pty-cfsekr6v.js → tool-output-py3kkmfq.js} +2 -2
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → tool-output-q0xm7vwc.js} +2 -2
- package/dist/chunks/{persistent-pty-5w9yjztw.js → tool-output-q5e7cmwt.js} +1 -1
- package/dist/chunks/{persistent-pty-hm06yfae.js → tool-output-q8fjykq6.js} +23 -23
- package/dist/chunks/{persistent-pty-zbngbqhj.js → tool-output-qbkf9amh.js} +4 -4
- package/dist/chunks/{persistent-pty-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-qxjc9qry.js → tool-output-qxjc9qry.js} +3 -3
- package/dist/chunks/{persistent-pty-b3f8fkhc.js → tool-output-qygbw77c.js} +5 -5
- package/dist/chunks/{persistent-pty-cwa6csj7.js → tool-output-r2m716tb.js} +9 -9
- package/dist/chunks/{persistent-pty-nx959hjs.js → tool-output-r3e4wjdy.js} +32 -32
- package/dist/chunks/{persistent-pty-dbmdxep8.js → tool-output-r7akh4p6.js} +20 -20
- package/dist/chunks/{persistent-pty-65xe46aa.js → tool-output-rdj5x1aq.js} +26 -26
- package/dist/chunks/{persistent-pty-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-bqg181pq.js → tool-output-rfqabggz.js} +30 -30
- package/dist/chunks/{persistent-pty-2jdn5pnb.js → tool-output-rmaq76vj.js} +30 -30
- package/dist/chunks/{persistent-pty-6h8z8hw5.js → tool-output-rq4h19re.js} +29 -29
- package/dist/chunks/{persistent-pty-mbnxefga.js → tool-output-rqa1jxse.js} +2 -2
- package/dist/chunks/{persistent-pty-h4xvaj36.js → tool-output-rszaqsqw.js} +25 -25
- package/dist/chunks/{persistent-pty-pzd408ez.js → tool-output-rthh6mvw.js} +13 -13
- package/dist/chunks/{persistent-pty-egqzgtgt.js → tool-output-rwdx3sxf.js} +17 -17
- package/dist/chunks/{persistent-pty-ebgnp7vs.js → tool-output-s3sthbff.js} +4 -4
- package/dist/chunks/{persistent-pty-q14bk57j.js → tool-output-sa5ep0ge.js} +9 -9
- package/dist/chunks/{persistent-pty-kpqmrwd8.js → tool-output-sdtpzacm.js} +16 -16
- package/dist/chunks/{persistent-pty-mjymc32g.js → tool-output-skhcedy2.js} +4 -4
- package/dist/chunks/{persistent-pty-xwya7q8d.js → tool-output-sp6frf88.js} +10 -10
- package/dist/chunks/{persistent-pty-0vktz9je.js → tool-output-sss67ayf.js} +29 -21
- package/dist/chunks/{persistent-pty-yyaqg8dp.js → tool-output-sxxwk2h0.js} +32 -32
- package/dist/chunks/{persistent-pty-p68r1vg7.js → tool-output-t5pvq3y5.js} +46 -46
- package/dist/chunks/{persistent-pty-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-sdyd34mw.js → tool-output-tjyakkek.js} +5 -5
- package/dist/chunks/{persistent-pty-qhvrxs31.js → tool-output-tx02815r.js} +83 -83
- package/dist/chunks/{persistent-pty-8mbscqky.js → tool-output-tx9w5tca.js} +8 -8
- package/dist/chunks/{persistent-pty-asgv5924.js → tool-output-v68dkaev.js} +11 -11
- package/dist/chunks/{persistent-pty-btbmdjwj.js → tool-output-v7z2bvyd.js} +4 -4
- package/dist/chunks/{persistent-pty-bzxqkbgp.js → tool-output-vdr6fryh.js} +41 -41
- package/dist/chunks/{persistent-pty-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-vcbpjxhp.js → tool-output-vj0y6dfg.js} +17 -17
- package/dist/chunks/tool-output-vn1tddxd.js +507 -0
- package/dist/chunks/{persistent-pty-k5fp6tz5.js → tool-output-vt0186jp.js} +6 -6
- package/dist/chunks/{persistent-pty-eppexmwc.js → tool-output-vw5h6757.js} +5 -5
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-v5zec58b.js → tool-output-w2bqs4gs.js} +13 -13
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-ksxmdx21.js → tool-output-w8eh3skm.js} +48 -48
- package/dist/chunks/{persistent-pty-gebtr55s.js → tool-output-w8xr7nv8.js} +5 -5
- package/dist/chunks/{persistent-pty-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-6a9c44ad.js → tool-output-wmg6afj1.js} +20 -20
- package/dist/chunks/{persistent-pty-x7qqpb35.js → tool-output-wn1dwvrm.js} +11 -11
- package/dist/chunks/{persistent-pty-57r39xyq.js → tool-output-wq3fhqxe.js} +20 -20
- package/dist/chunks/{persistent-pty-s8d7rejh.js → tool-output-wv396vej.js} +8 -8
- package/dist/chunks/{persistent-pty-k8hpw67k.js → tool-output-x2rw7g36.js} +5 -5
- package/dist/chunks/{persistent-pty-5667xmgz.js → tool-output-x3zjy24f.js} +3 -3
- package/dist/chunks/{persistent-pty-g5w8qwbj.js → tool-output-xfkkasph.js} +4 -4
- package/dist/chunks/{persistent-pty-xkntkrq7.js → tool-output-xkntkrq7.js} +2 -2
- package/dist/chunks/{persistent-pty-8xtfcejb.js → tool-output-xky21pn0.js} +47 -47
- package/dist/chunks/{persistent-pty-qja65tr3.js → tool-output-xrck4m4y.js} +6 -6
- package/dist/chunks/{persistent-pty-75rr0zdh.js → tool-output-xt90xqzw.js} +6 -6
- package/dist/chunks/{persistent-pty-ry3yyvrw.js → tool-output-xtmjw94y.js} +27 -27
- package/dist/chunks/{persistent-pty-42ztr079.js → tool-output-xv7vf67p.js} +29 -29
- package/dist/chunks/{persistent-pty-z3z723at.js → tool-output-xw92hw7n.js} +33 -33
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-rhxz3xab.js → tool-output-y35w8rgz.js} +17 -17
- package/dist/chunks/{persistent-pty-4dyk4eed.js → tool-output-y7vankhn.js} +19 -19
- package/dist/chunks/{persistent-pty-1kggcmr6.js → tool-output-y975n134.js} +7 -7
- package/dist/chunks/{persistent-pty-0hf9g8pg.js → tool-output-ycjb11n5.js} +6 -6
- package/dist/chunks/{persistent-pty-qvy1p86h.js → tool-output-ydcw2wd2.js} +45 -45
- package/dist/chunks/{persistent-pty-bx0gyb4h.js → tool-output-ygdna4kr.js} +5 -5
- package/dist/chunks/{persistent-pty-drgdwh42.js → tool-output-yj3sgdan.js} +69 -69
- package/dist/chunks/{persistent-pty-qabhdn7r.js → tool-output-yk94bdza.js} +8 -8
- package/dist/chunks/{persistent-pty-1246p72b.js → tool-output-yq8freb2.js} +20 -20
- package/dist/chunks/{persistent-pty-zg4hvqzs.js → tool-output-yqcgzvte.js} +20 -20
- package/dist/chunks/{persistent-pty-fqnavh99.js → tool-output-yr89pw6g.js} +10 -10
- package/dist/chunks/{persistent-pty-rpcr0zmj.js → tool-output-ywrt7q9n.js} +12 -12
- package/dist/chunks/{persistent-pty-9cva8bgq.js → tool-output-yzwd6hg8.js} +6 -6
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-mgqdd06q.js → tool-output-z1seheqb.js} +4 -4
- package/dist/chunks/{persistent-pty-wkm5cp91.js → tool-output-z27ctmjc.js} +13 -13
- package/dist/chunks/{persistent-pty-x784z1z0.js → tool-output-z64xb9qk.js} +4 -4
- package/dist/chunks/{persistent-pty-ansnbrb9.js → tool-output-z8qd6749.js} +11 -11
- package/dist/chunks/{persistent-pty-rd6ct1p5.js → tool-output-zb35rv5w.js} +5 -5
- package/dist/chunks/{persistent-pty-fabvjh13.js → tool-output-zcvapfdz.js} +18 -18
- package/dist/chunks/{persistent-pty-drfarj2n.js → tool-output-zj1y38qw.js} +91 -91
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-a4zy142z.js → tool-output-zv98kd1s.js} +10 -10
- package/dist/chunks/tool-output-zwqytfkg.js +253 -0
- package/dist/chunks/{persistent-pty-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +116 -116
- package/dist/config/plugin/command.js +205 -205
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +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 +105 -105
- 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 +91 -91
- 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 +5 -5
- 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 +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +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 +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +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 +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +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 +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +126 -126
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +8 -8
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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 +84 -84
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-313mp3rv.js +0 -253
- package/dist/chunks/persistent-pty-b0hrm54a.js +0 -507
- package/dist/chunks/persistent-pty-jqh9b0xq.js +0 -18
- package/dist/chunks/persistent-pty-y8pbr9je.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → tool-output-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service68,
|
|
4
|
+
node72
|
|
5
|
+
} from "./tool-output-5zkpyy5y.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service67,
|
|
18
|
+
node71
|
|
19
|
+
} from "./tool-output-ptaj5psm.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node69
|
|
23
|
+
} from "./tool-output-hy8bge2v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID8,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service66,
|
|
29
|
+
node70,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-nhd4byj4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service64,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer24,
|
|
51
|
+
node: () => node68,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID9,
|
|
62
|
+
modelID: ID8,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID9,
|
|
72
|
+
modelID: ID8,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID9,
|
|
83
|
+
modelID: ID8,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID9,
|
|
94
|
+
modelID: ID8,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID9,
|
|
106
|
+
modelID: ID8,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID9,
|
|
116
|
+
modelID: ID8,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service64 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -261,15 +261,15 @@ var causeMessage = (cause) => {
|
|
|
261
261
|
};
|
|
262
262
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
263
263
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
264
|
-
var
|
|
265
|
-
const providers = yield*
|
|
266
|
-
const models = yield*
|
|
267
|
-
const integrations = yield*
|
|
264
|
+
var layer24 = Layer.effect(Service64, Effect.gen(function* () {
|
|
265
|
+
const providers = yield* Service67;
|
|
266
|
+
const models = yield* Service66;
|
|
267
|
+
const integrations = yield* Service68;
|
|
268
268
|
const npm = yield* Npm.Service;
|
|
269
|
-
const aisdk = yield*
|
|
269
|
+
const aisdk = yield* Service65;
|
|
270
270
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
271
271
|
const provider = yield* providers.get(selected.providerID);
|
|
272
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
272
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
273
273
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
274
274
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
275
275
|
const runtimeInfo = {
|
|
@@ -296,7 +296,7 @@ var layer23 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
296
296
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
297
297
|
};
|
|
298
298
|
});
|
|
299
|
-
return
|
|
299
|
+
return Service64.of({
|
|
300
300
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
301
301
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
302
302
|
if (!selected)
|
|
@@ -313,10 +313,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
313
313
|
const name = packageName2(packageName);
|
|
314
314
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
315
315
|
}
|
|
316
|
-
var
|
|
317
|
-
service:
|
|
318
|
-
layer:
|
|
319
|
-
deps: [
|
|
316
|
+
var node68 = makeLocationNode({
|
|
317
|
+
service: Service64,
|
|
318
|
+
layer: layer24,
|
|
319
|
+
deps: [node71, node70, node72, Npm.node, node69]
|
|
320
320
|
});
|
|
321
321
|
|
|
322
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
322
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-nhd4byj4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service36
|
|
7
|
+
} from "./tool-output-prh9w8gf.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-pdq19wc5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/local.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
22
22
|
id: input.id,
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service36;
|
|
26
26
|
const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
|
|
27
27
|
const loaded = { models: [], hash: "[]" };
|
|
28
28
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
50
50
|
for (const item of loaded.models) {
|
|
51
51
|
const spec = input.model(item);
|
|
52
52
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
53
|
-
model.modelID =
|
|
53
|
+
model.modelID = ID8.make(spec.id);
|
|
54
54
|
model.name = spec.name || spec.id;
|
|
55
55
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
56
56
|
model.capabilities = {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-f41zmgay.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service52,
|
|
17
|
+
node56
|
|
18
|
+
} from "./tool-output-kzgt6f80.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info11,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service39,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node42
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info11 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service39 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service52;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info11.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info11.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service39.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node42 = makeLocationNode({
|
|
116
|
+
service: Service39,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info11, Service39, node42, exports_reference2, Event8 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node48
|
|
9
|
+
} from "./tool-output-8t49rs88.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-xv7vf67p.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node9,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service45;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node9 = makeLocationNode({ service: Service8, layer, deps: [node48] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node9, exports_read_filesystem };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event6,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service37,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer16,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node40,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event6 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service37 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service37.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service37.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service37).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service37, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service37, layer: layer16(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node40 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event6, hasNativeBinding2, Native3, Options7, Service37, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured6, node40, exports_watcher };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-ptaj5psm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service65,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node69
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID9,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service65.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node69 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service65, locationLayer2, node69, exports_aisdk };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-f0mv3stj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service73,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node77,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service73 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service73, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node77 = LayerNode.unbound(Service73, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service73;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service73, node77, reload2, canonical3, exports_location_service_map };
|