@opencode/core 0.0.0-dev-19787 → 0.0.0-dev-19790

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.
Files changed (502) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +64 -64
  3. package/dist/aisdk.js +69 -69
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{pty-6vgkbqsf.js → pty-010xpxbn.js} +9 -9
  7. package/dist/chunks/{pty-7nrhymjj.js → pty-01m48zym.js} +18 -18
  8. package/dist/chunks/{pty-x31dz1np.js → pty-05k8gwwx.js} +42 -42
  9. package/dist/chunks/{pty-e41je68c.js → pty-09ejbmp6.js} +2 -2
  10. package/dist/chunks/{pty-4h75thkr.js → pty-0cnsmtwh.js} +28 -28
  11. package/dist/chunks/{pty-b6yzcphf.js → pty-0x0trpnf.js} +9 -9
  12. package/dist/chunks/{pty-v58jy1xd.js → pty-15wq8bnm.js} +15 -12
  13. package/dist/chunks/{pty-sbycj2hd.js → pty-1hxn8gc9.js} +14 -14
  14. package/dist/chunks/{pty-qmg269n7.js → pty-1n42sk3q.js} +10 -10
  15. package/dist/chunks/{pty-dhwr7h25.js → pty-1qg96azw.js} +9 -9
  16. package/dist/chunks/{pty-vjrtmzpa.js → pty-1t1mekng.js} +4 -4
  17. package/dist/chunks/{pty-xdw3myhw.js → pty-1v03ecv9.js} +21 -21
  18. package/dist/chunks/{pty-xkhfjrgz.js → pty-256nx13v.js} +3 -3
  19. package/dist/chunks/{pty-cq9vh2fv.js → pty-2aet7wja.js} +7 -7
  20. package/dist/chunks/{pty-h3c20vca.js → pty-2bm8nv3j.js} +4 -4
  21. package/dist/chunks/{pty-m5mra8ny.js → pty-2deyrhr8.js} +12 -12
  22. package/dist/chunks/{pty-eq9606cq.js → pty-2f0arp29.js} +46 -46
  23. package/dist/chunks/{pty-d7tjjqf6.js → pty-2gydggrp.js} +2 -2
  24. package/dist/chunks/{pty-0nw536sy.js → pty-2jm9246z.js} +1 -1
  25. package/dist/chunks/{pty-vyhtd5az.js → pty-2mvse5z6.js} +33 -33
  26. package/dist/chunks/{pty-abyxqag4.js → pty-2qtz93bp.js} +2 -2
  27. package/dist/chunks/{pty-htekf6zf.js → pty-2x2vnpz5.js} +7 -7
  28. package/dist/chunks/{pty-cy7q8w9z.js → pty-2x8n49qa.js} +10 -10
  29. package/dist/chunks/{pty-s1wc6ad4.js → pty-2xyrgdy7.js} +13 -13
  30. package/dist/chunks/{pty-p5hkqs15.js → pty-360vn7h3.js} +3 -3
  31. package/dist/chunks/{pty-p3j3z1wm.js → pty-36ndtc93.js} +23 -23
  32. package/dist/chunks/{pty-rrnpfv6a.js → pty-39mnaq4c.js} +20 -20
  33. package/dist/chunks/{pty-eaznszq2.js → pty-3z5xssby.js} +29 -29
  34. package/dist/chunks/{pty-d58ea4wx.js → pty-4641nt7s.js} +6 -6
  35. package/dist/chunks/{pty-xseb90fg.js → pty-47qt310b.js} +10 -10
  36. package/dist/chunks/{pty-bxgqktpk.js → pty-47r0kvy6.js} +19 -19
  37. package/dist/chunks/{pty-vk0pdsgf.js → pty-4dkhsnmt.js} +28 -28
  38. package/dist/chunks/{pty-j5786zrt.js → pty-4jc5c4h4.js} +1 -1
  39. package/dist/chunks/{pty-nbctyxha.js → pty-4jzbd5w2.js} +318 -314
  40. package/dist/chunks/{pty-57ez7d0k.js → pty-4sn99hha.js} +5 -5
  41. package/dist/chunks/{pty-57q53s15.js → pty-4zhk9xy1.js} +9 -9
  42. package/dist/chunks/{pty-p1nm93x7.js → pty-510m7gjw.js} +3 -3
  43. package/dist/chunks/{pty-1ygqh575.js → pty-56gdpj1q.js} +7 -7
  44. package/dist/chunks/pty-56qjdxtm.js +26 -0
  45. package/dist/chunks/{pty-tvkyymax.js → pty-57dcv54h.js} +8 -8
  46. package/dist/chunks/{pty-6wkd5avw.js → pty-5cn1q5nw.js} +30 -30
  47. package/dist/chunks/{pty-9yyvrqyy.js → pty-5j6bqzeb.js} +19 -19
  48. package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  49. package/dist/chunks/{pty-kb0jenp9.js → pty-5whcbe3x.js} +17 -17
  50. package/dist/chunks/{pty-2kv1txj9.js → pty-5xsexkhf.js} +6 -6
  51. package/dist/chunks/{pty-az62kead.js → pty-5xwkdnk6.js} +8 -8
  52. package/dist/chunks/{pty-7dqw4kz8.js → pty-607tc6va.js} +4 -4
  53. package/dist/chunks/{pty-137n2cjd.js → pty-61a7pyf7.js} +5 -5
  54. package/dist/chunks/{pty-wvh43mtc.js → pty-64amj0r1.js} +18 -18
  55. package/dist/chunks/{pty-nam2k8jt.js → pty-6a3q5akz.js} +8 -16
  56. package/dist/chunks/{pty-h8w3rnrc.js → pty-6d0hcp9d.js} +7 -7
  57. package/dist/chunks/{pty-e9wrjfx0.js → pty-6zb5jvme.js} +52 -52
  58. package/dist/chunks/{pty-1bbkgx8g.js → pty-73tb2d7t.js} +2 -2
  59. package/dist/chunks/{pty-pwyph8fp.js → pty-7cj0vwkb.js} +9 -9
  60. package/dist/chunks/{pty-1csms2ve.js → pty-7hmfndvt.js} +24 -24
  61. package/dist/chunks/{pty-8zqxjytc.js → pty-7swn79b1.js} +8 -8
  62. package/dist/chunks/{pty-4b3p33ns.js → pty-7t5qybgj.js} +46 -46
  63. package/dist/chunks/{pty-44jfm9c6.js → pty-82kxmdcf.js} +6 -6
  64. package/dist/chunks/{pty-02j327mk.js → pty-82r64hfa.js} +29 -29
  65. package/dist/chunks/{pty-0jq9fyba.js → pty-85z0khfw.js} +8 -8
  66. package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
  67. package/dist/chunks/{pty-4kyk22vj.js → pty-8hdvkfsn.js} +39 -39
  68. package/dist/chunks/{pty-0ymsz8rv.js → pty-8kgvtemd.js} +7 -7
  69. package/dist/chunks/{pty-byqk2fv6.js → pty-8ktdpdbn.js} +29 -29
  70. package/dist/chunks/{pty-z62c9ayt.js → pty-8n2c22yw.js} +8 -8
  71. package/dist/chunks/{pty-z50h5snd.js → pty-8ndese90.js} +17 -17
  72. package/dist/chunks/{pty-brqzv7bg.js → pty-8sc656s0.js} +27 -27
  73. package/dist/chunks/{pty-7xnx6cga.js → pty-8tcq1ard.js} +37 -37
  74. package/dist/chunks/{pty-xgqsyfnn.js → pty-8x7kj7de.js} +11 -11
  75. package/dist/chunks/{pty-b785ew1k.js → pty-92hvatj2.js} +80 -80
  76. package/dist/chunks/{pty-rgt3cf1f.js → pty-94h3t13q.js} +11 -11
  77. package/dist/chunks/{pty-4jeaa92r.js → pty-95jkg4sh.js} +1 -1
  78. package/dist/chunks/{pty-waqpjwb8.js → pty-96712bz8.js} +2 -2
  79. package/dist/chunks/{pty-rccz2tys.js → pty-96k7qteq.js} +1 -1
  80. package/dist/chunks/{pty-hfs4qywr.js → pty-9wh28ea7.js} +30 -30
  81. package/dist/chunks/{pty-5c4hm403.js → pty-a1bz86dw.js} +1 -1
  82. package/dist/chunks/{pty-p91ndb2v.js → pty-a6ha29gm.js} +46 -46
  83. package/dist/chunks/{pty-ywdxak5q.js → pty-a8rvpzh6.js} +34 -34
  84. package/dist/chunks/{pty-809q4hne.js → pty-af04s6ss.js} +3 -3
  85. package/dist/chunks/{pty-pxnzv34t.js → pty-ajejy050.js} +16 -16
  86. package/dist/chunks/{pty-g9q532r4.js → pty-aqk3dj7t.js} +1 -1
  87. package/dist/chunks/{pty-sk1rxzc5.js → pty-b9w0x7cm.js} +15 -15
  88. package/dist/chunks/{pty-2evd0k84.js → pty-bag4px4n.js} +34 -34
  89. package/dist/chunks/{pty-jdbtptns.js → pty-bfygd469.js} +32 -32
  90. package/dist/chunks/{pty-2chp5681.js → pty-bh7937zs.js} +26 -24
  91. package/dist/chunks/{pty-mwfspft0.js → pty-bnv5qe0w.js} +7 -7
  92. package/dist/chunks/{pty-6zvnhsg3.js → pty-bt0s2m4s.js} +25 -25
  93. package/dist/chunks/{pty-czhz2k7d.js → pty-c3xk9fpp.js} +13 -11
  94. package/dist/chunks/{pty-p8x8xcsb.js → pty-c6d4h0jp.js} +12 -12
  95. package/dist/chunks/{pty-gjmk74th.js → pty-cdm0dq9n.js} +5 -5
  96. package/dist/chunks/{pty-ch7ar4cr.js → pty-cerhndf8.js} +16 -16
  97. package/dist/chunks/{pty-m0jqrx5p.js → pty-cfpkc3c9.js} +1 -1
  98. package/dist/chunks/{pty-c2qj7f61.js → pty-ck33vcq0.js} +17 -19
  99. package/dist/chunks/{pty-h6r3nrb9.js → pty-cpj0znwe.js} +3 -3
  100. package/dist/chunks/{pty-8kgt14gf.js → pty-cs1yg9jz.js} +25 -25
  101. package/dist/chunks/{pty-1j7jhvrm.js → pty-cywsvzz8.js} +15 -15
  102. package/dist/chunks/{pty-5yzzbxa7.js → pty-czfptnv9.js} +7 -7
  103. package/dist/chunks/{pty-r2m716tb.js → pty-d4he2qe1.js} +7 -7
  104. package/dist/chunks/{pty-8npqseq9.js → pty-d7wgan7y.js} +16 -16
  105. package/dist/chunks/{pty-6tc74vrw.js → pty-d8mfmd5t.js} +16 -16
  106. package/dist/chunks/{pty-tb60vd7q.js → pty-dkkcfdd5.js} +3 -3
  107. package/dist/chunks/{pty-e0r8ercz.js → pty-dm7z6sw8.js} +10 -10
  108. package/dist/chunks/{pty-bd89c7qa.js → pty-dqhgk4gj.js} +12 -12
  109. package/dist/chunks/{pty-mg0hvqns.js → pty-e8gs20m7.js} +22 -22
  110. package/dist/chunks/{pty-rsd57mk1.js → pty-en85tny2.js} +15 -15
  111. package/dist/chunks/{pty-tqg72d4k.js → pty-en9axxsm.js} +21 -19
  112. package/dist/chunks/{pty-a5frg3c7.js → pty-esegqz26.js} +8 -8
  113. package/dist/chunks/{pty-z3pw5915.js → pty-evbgk2k8.js} +3 -3
  114. package/dist/chunks/{pty-1acjjqhc.js → pty-f2n192rq.js} +3 -3
  115. package/dist/chunks/{pty-834a0b17.js → pty-f35htakt.js} +5 -5
  116. package/dist/chunks/{pty-hdnk95c8.js → pty-f828m53h.js} +1 -1
  117. package/dist/chunks/{pty-j2e43x50.js → pty-f9mqex9s.js} +34 -34
  118. package/dist/chunks/{pty-c9g527t4.js → pty-fd3v7rn0.js} +30 -30
  119. package/dist/chunks/{pty-2g7r5mvw.js → pty-fjeptm1j.js} +9 -9
  120. package/dist/chunks/{pty-mv5tqpbn.js → pty-fra5bndy.js} +17 -17
  121. package/dist/chunks/{pty-0en0hh3r.js → pty-fwrss4ad.js} +3 -3
  122. package/dist/chunks/{pty-be3g221r.js → pty-g02r5t1q.js} +16 -16
  123. package/dist/chunks/{pty-899tt7an.js → pty-g408yz0d.js} +28 -28
  124. package/dist/chunks/{pty-q9k3nk2m.js → pty-g6v5r3w6.js} +13 -13
  125. package/dist/chunks/{pty-s8d7rejh.js → pty-gbt6w4kb.js} +7 -7
  126. package/dist/chunks/{pty-00f2f7q8.js → pty-gbvfym51.js} +22 -22
  127. package/dist/chunks/{pty-jqe5ka82.js → pty-gf229ayp.js} +16 -16
  128. package/dist/chunks/{pty-n7b52vzq.js → pty-gqgkwrka.js} +19 -19
  129. package/dist/chunks/{pty-k1gkpfdk.js → pty-gs3s1a1g.js} +6 -6
  130. package/dist/chunks/{pty-t62nene4.js → pty-gtgjs7h2.js} +48 -48
  131. package/dist/chunks/{pty-zy742dcv.js → pty-gx88jzcs.js} +30 -30
  132. package/dist/chunks/{pty-kbmk2nk1.js → pty-gy590f6s.js} +1 -1
  133. package/dist/chunks/{pty-gydxxgyg.js → pty-gyxzt53n.js} +14 -14
  134. package/dist/chunks/{pty-jnzdfagj.js → pty-h4xx3n44.js} +4 -4
  135. package/dist/chunks/{pty-s6qp1k48.js → pty-h5amc0nw.js} +4 -4
  136. package/dist/chunks/{pty-teerv99t.js → pty-h8d3bytr.js} +55 -55
  137. package/dist/chunks/{pty-2em355j9.js → pty-hdfkv0ev.js} +55 -55
  138. package/dist/chunks/{pty-qtwarjwz.js → pty-hdns3422.js} +12 -12
  139. package/dist/chunks/{pty-pf31ssb9.js → pty-hgd4btym.js} +4 -4
  140. package/dist/chunks/{pty-wcs8mysc.js → pty-hgk31n1k.js} +26 -26
  141. package/dist/chunks/{pty-t4h1a8sm.js → pty-hjvqykt7.js} +7 -7
  142. package/dist/chunks/pty-hr9dp009.js +4 -0
  143. package/dist/chunks/{pty-bm3m92rh.js → pty-hxpy2fz9.js} +8 -8
  144. package/dist/chunks/{pty-nbqevg8t.js → pty-hzxxpgfe.js} +12 -12
  145. package/dist/chunks/{pty-9mmr4cym.js → pty-j2dty9kk.js} +19 -19
  146. package/dist/chunks/{pty-gzfs38sx.js → pty-jcvsx840.js} +17 -17
  147. package/dist/chunks/{pty-x5pjsa02.js → pty-jfq1w6xq.js} +10 -10
  148. package/dist/chunks/{pty-4bgjx4y9.js → pty-jhetzww4.js} +34 -34
  149. package/dist/chunks/{pty-1e7y3jby.js → pty-jn0rbr09.js} +2 -2
  150. package/dist/chunks/{pty-x0511brf.js → pty-jva4mgym.js} +3 -3
  151. package/dist/chunks/{pty-y71avatq.js → pty-jwcy2c2z.js} +3 -3
  152. package/dist/chunks/{pty-6ejv29z8.js → pty-jzp2kyv6.js} +23 -23
  153. package/dist/chunks/{pty-hsv1w0ka.js → pty-k388e6t1.js} +14 -14
  154. package/dist/chunks/{pty-n5zcbnsa.js → pty-kb1rdp05.js} +39 -39
  155. package/dist/chunks/{pty-8v55y81p.js → pty-kgbqw58m.js} +26 -26
  156. package/dist/chunks/{pty-4p0kgrzt.js → pty-kjq75dje.js} +1 -1
  157. package/dist/chunks/{pty-fkjmw100.js → pty-knb7evpn.js} +4 -4
  158. package/dist/chunks/{pty-sy45410j.js → pty-kns2fx3n.js} +17 -17
  159. package/dist/chunks/{pty-6avas0hs.js → pty-krbz4bty.js} +4 -4
  160. package/dist/chunks/{pty-3sqv75dt.js → pty-kxdh0s6n.js} +9 -9
  161. package/dist/chunks/{pty-zav06jzw.js → pty-m70sbz6t.js} +3 -3
  162. package/dist/chunks/{pty-bkjtrpfb.js → pty-m77h72gn.js} +14 -14
  163. package/dist/chunks/{pty-g2yz86wh.js → pty-m7va1g8x.js} +1 -1
  164. package/dist/chunks/{pty-vsp1fds9.js → pty-magykp64.js} +20 -20
  165. package/dist/chunks/{pty-bky20j8j.js → pty-mf55kzn1.js} +8 -8
  166. package/dist/chunks/{pty-yqngptm3.js → pty-mg90z6wk.js} +18 -18
  167. package/dist/chunks/{pty-ynxbryrd.js → pty-mh8602s5.js} +20 -20
  168. package/dist/chunks/{pty-8ha6ga5e.js → pty-mm5kxf07.js} +7 -7
  169. package/dist/chunks/{pty-z27wwaqb.js → pty-n0kbf44j.js} +9 -9
  170. package/dist/chunks/{pty-wzdyyep8.js → pty-n25bj5sj.js} +6 -6
  171. package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
  172. package/dist/chunks/{pty-1c5ncfj1.js → pty-nvgm9hwb.js} +27 -27
  173. package/dist/chunks/{pty-rf9y12ds.js → pty-nwb8yfca.js} +4 -4
  174. package/dist/chunks/{pty-1cr9kxrr.js → pty-p2bsys5p.js} +39 -35
  175. package/dist/chunks/{pty-qqrhpyxk.js → pty-p3w99mff.js} +21 -21
  176. package/dist/chunks/{pty-3zh6rxhw.js → pty-pfpqttcd.js} +10 -10
  177. package/dist/chunks/pty-px0fec8t.js +252 -0
  178. package/dist/chunks/{pty-sd8zp0nj.js → pty-q0sdqn78.js} +1 -1
  179. package/dist/chunks/{pty-0mwa6y39.js → pty-q24nm477.js} +16 -16
  180. package/dist/chunks/{pty-npbak50e.js → pty-q2f6gqtk.js} +8 -8
  181. package/dist/chunks/pty-q3pcyw4n.js +131 -0
  182. package/dist/chunks/{pty-kss3k1ej.js → pty-q4hrj6yz.js} +22 -22
  183. package/dist/chunks/{pty-fm2qvscf.js → pty-qa3qhgw8.js} +3 -3
  184. package/dist/chunks/{pty-mx4hjh21.js → pty-r1761eky.js} +30 -30
  185. package/dist/chunks/{pty-8ev4rrc0.js → pty-r4hn1y4t.js} +4 -4
  186. package/dist/chunks/{pty-qz49fwgp.js → pty-rhx683sy.js} +5 -5
  187. package/dist/chunks/{pty-zvkwbpx3.js → pty-rrwz5n32.js} +10 -10
  188. package/dist/chunks/{pty-vqf3rr9z.js → pty-rvf3k54n.js} +14 -14
  189. package/dist/chunks/{pty-08fd96st.js → pty-rwwvkkw9.js} +6 -6
  190. package/dist/chunks/{pty-7qq3ahcc.js → pty-rxcdjwh1.js} +3 -3
  191. package/dist/chunks/{pty-aqvz20a2.js → pty-ryb794yb.js} +7 -7
  192. package/dist/chunks/{pty-f1cvcqqp.js → pty-rz9v06kn.js} +25 -25
  193. package/dist/chunks/{pty-s1mn6qcj.js → pty-scs7maqt.js} +7 -7
  194. package/dist/chunks/{pty-gq6z7eg4.js → pty-sdrw2w9p.js} +21 -21
  195. package/dist/chunks/{pty-dcsznwm0.js → pty-src4gryn.js} +18 -18
  196. package/dist/chunks/{pty-2b210p4k.js → pty-t2gsyq25.js} +22 -22
  197. package/dist/chunks/{pty-p28j5sbe.js → pty-tbz0fdvh.js} +3 -3
  198. package/dist/chunks/{pty-qph7hyw7.js → pty-tqwr2f5g.js} +10 -10
  199. package/dist/chunks/{pty-8msxkbjy.js → pty-trt7zypv.js} +30 -30
  200. package/dist/chunks/{pty-4rr74z9v.js → pty-ty51299p.js} +9 -9
  201. package/dist/chunks/{pty-tk66bvfd.js → pty-v110mek2.js} +19 -19
  202. package/dist/chunks/{pty-vkwcxm6e.js → pty-vdnmec7y.js} +5 -5
  203. package/dist/chunks/{pty-qq11w61w.js → pty-ve4pfa0n.js} +3 -3
  204. package/dist/chunks/{pty-0s0a8jh1.js → pty-vedaqc0n.js} +178 -178
  205. package/dist/chunks/{pty-rbs0ef4y.js → pty-vf5yby4q.js} +31 -33
  206. package/dist/chunks/{pty-s4ajyzwp.js → pty-vfqq51fb.js} +15 -15
  207. package/dist/chunks/{pty-rjkasajw.js → pty-vk9pkavn.js} +14 -14
  208. package/dist/chunks/{pty-zg25sgvs.js → pty-vr12ekh8.js} +8 -8
  209. package/dist/chunks/{pty-r3grxea3.js → pty-vw2t0mtq.js} +36 -36
  210. package/dist/chunks/{pty-9sqkv26s.js → pty-vy078w6d.js} +42 -42
  211. package/dist/chunks/{pty-gzbkpp9m.js → pty-vyqn3nqs.js} +3 -3
  212. package/dist/chunks/{pty-7ac170kv.js → pty-vyy6cxw9.js} +2 -2
  213. package/dist/chunks/{pty-6p3xbzsx.js → pty-w1k39n5e.js} +3 -3
  214. package/dist/chunks/{pty-277eer69.js → pty-wj76ss2k.js} +3 -3
  215. package/dist/chunks/{pty-mxr6rdrb.js → pty-wxrzmbxm.js} +14 -14
  216. package/dist/chunks/{pty-7t8e8ps1.js → pty-wzjn1tpp.js} +9 -9
  217. package/dist/chunks/{pty-kz37x8hb.js → pty-x6j1wb2z.js} +79 -79
  218. package/dist/chunks/{pty-hn8hcjvd.js → pty-xpkrztab.js} +3 -3
  219. package/dist/chunks/{pty-kmrnkd77.js → pty-xtvm4hh6.js} +1 -1
  220. package/dist/chunks/{pty-bwbrqz0a.js → pty-xv567rvv.js} +8 -8
  221. package/dist/chunks/{pty-74e549sx.js → pty-y3ajgz1g.js} +13 -13
  222. package/dist/chunks/{pty-5xdv3y65.js → pty-ypbv3kf7.js} +24 -24
  223. package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
  224. package/dist/chunks/{pty-kk61yved.js → pty-yvqjf3ez.js} +12 -12
  225. package/dist/chunks/{pty-9n4prt69.js → pty-yz0n98jk.js} +13 -13
  226. package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
  227. package/dist/chunks/{pty-zwp73gaw.js → pty-z9g3fnns.js} +20 -20
  228. package/dist/chunks/{pty-ze9yakes.js → pty-z9z6sd2a.js} +15 -15
  229. package/dist/chunks/{pty-5tvckp52.js → pty-zapz2rcy.js} +24 -24
  230. package/dist/chunks/{pty-q36t7h4b.js → pty-zcz1ktx8.js} +3 -3
  231. package/dist/chunks/{pty-m2taxsaw.js → pty-zfx1etke.js} +8 -8
  232. package/dist/chunks/{pty-3b9qt4hj.js → pty-zg3tcem2.js} +7 -7
  233. package/dist/chunks/{pty-t96c7fmv.js → pty-zn6sdvfn.js} +20 -20
  234. package/dist/chunks/{pty-hr990vwq.js → pty-zv6tdpnx.js} +36 -36
  235. package/dist/chunks/{pty-stdr0dsx.js → pty-zxtb73ge.js} +18 -18
  236. package/dist/chunks/{pty-hyag3rfz.js → pty-zy6cwck4.js} +9 -9
  237. package/dist/codemode/instructions.js +6 -6
  238. package/dist/command.js +58 -58
  239. package/dist/config/discovery.js +61 -61
  240. package/dist/config/normalize.js +79 -79
  241. package/dist/config/plugin/agent.js +97 -97
  242. package/dist/config/plugin/command.js +177 -177
  243. package/dist/config/plugin/compaction.js +127 -127
  244. package/dist/config/plugin/compatibility.js +113 -113
  245. package/dist/config/plugin/formatter.js +96 -96
  246. package/dist/config/plugin/image.js +95 -95
  247. package/dist/config/plugin/instruction.js +65 -65
  248. package/dist/config/plugin/location-watcher.js +97 -97
  249. package/dist/config/plugin/mcp.js +103 -103
  250. package/dist/config/plugin/policy.js +95 -95
  251. package/dist/config/plugin/provider.js +95 -95
  252. package/dist/config/plugin/reference.js +96 -96
  253. package/dist/config/plugin/shell.js +97 -97
  254. package/dist/config/plugin/skill-file.js +75 -75
  255. package/dist/config/plugin/skill.js +114 -114
  256. package/dist/config/plugin/snapshot.js +95 -95
  257. package/dist/config/plugin/source.js +98 -98
  258. package/dist/config/plugin/tool-output.js +97 -97
  259. package/dist/config/plugin/websearch.js +96 -96
  260. package/dist/config/plugin/worktree.js +96 -96
  261. package/dist/config/variable.js +2 -2
  262. package/dist/config.js +101 -101
  263. package/dist/credential.js +64 -64
  264. package/dist/database/database.js +47 -47
  265. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  266. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  267. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  268. package/dist/database/drizzle/index.js +9 -9
  269. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  270. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  271. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  272. package/dist/database/drizzle.js +9 -9
  273. package/dist/database/migration.gen.js +35 -35
  274. package/dist/database/migration.js +36 -36
  275. package/dist/database/v1-migration.bun.js +11 -11
  276. package/dist/effect/app-node-builder.js +243 -242
  277. package/dist/effect/keyed-mutex.js +3 -3
  278. package/dist/environment/environment.js +67 -67
  279. package/dist/environment/index.js +69 -69
  280. package/dist/event-logger.js +14 -14
  281. package/dist/file-access.js +78 -78
  282. package/dist/file-mutation.js +68 -68
  283. package/dist/filesystem/location-watcher-policy.js +5 -5
  284. package/dist/filesystem/location-watcher.js +192 -192
  285. package/dist/filesystem/protected.js +3 -3
  286. package/dist/filesystem/search.js +76 -76
  287. package/dist/filesystem/watcher-binding.js +3 -3
  288. package/dist/filesystem/watcher.js +14 -14
  289. package/dist/filesystem.js +79 -79
  290. package/dist/form.js +66 -66
  291. package/dist/formatter/builtins.js +3 -3
  292. package/dist/formatter.js +63 -63
  293. package/dist/generate.js +76 -76
  294. package/dist/git.js +8 -8
  295. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  296. package/dist/github-copilot/copilot-provider.js +3 -3
  297. package/dist/github-copilot/models.js +74 -74
  298. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  299. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  300. package/dist/image/photon.js +1 -1
  301. package/dist/image.js +5 -5
  302. package/dist/instance/service.js +5 -5
  303. package/dist/instance.js +315 -314
  304. package/dist/instruction-discovery.js +64 -64
  305. package/dist/instructions/builtins.js +64 -64
  306. package/dist/instructions/index.js +5 -5
  307. package/dist/integration/connection.js +3 -3
  308. package/dist/integration.js +64 -64
  309. package/dist/job.js +58 -58
  310. package/dist/kv.js +52 -52
  311. package/dist/location-activity.js +61 -61
  312. package/dist/location-lifecycle.js +80 -80
  313. package/dist/location-mutation.js +35 -35
  314. package/dist/location-service-map.js +63 -63
  315. package/dist/location-services.js +312 -311
  316. package/dist/location.js +64 -64
  317. package/dist/mcp/client.js +20 -20
  318. package/dist/mcp/index.js +80 -80
  319. package/dist/mcp/instructions.js +99 -99
  320. package/dist/mcp/oauth.js +14 -14
  321. package/dist/mcp/stdio.js +64 -64
  322. package/dist/modal/models.js +74 -74
  323. package/dist/model-resolver.js +73 -73
  324. package/dist/model.js +75 -75
  325. package/dist/models-dev.js +82 -82
  326. package/dist/permission/saved.js +59 -59
  327. package/dist/permission/sql.js +3 -3
  328. package/dist/permission.js +89 -89
  329. package/dist/persistent-pty/index.js +65 -65
  330. package/dist/persistent-pty.js +51 -51
  331. package/dist/plugin/agent.js +78 -78
  332. package/dist/plugin/command.js +75 -75
  333. package/dist/plugin/compaction.js +100 -100
  334. package/dist/plugin/hooks.js +3 -3
  335. package/dist/plugin/host.js +183 -183
  336. package/dist/plugin/identity.js +3 -3
  337. package/dist/plugin/instance.js +5 -5
  338. package/dist/plugin/internal.js +287 -286
  339. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  340. package/dist/plugin/models-dev.js +71 -71
  341. package/dist/plugin/module.js +5 -5
  342. package/dist/plugin/optimize.js +3 -3
  343. package/dist/plugin/plan.js +76 -76
  344. package/dist/plugin/provider/amazon-bedrock.js +65 -65
  345. package/dist/plugin/provider/azure.js +94 -94
  346. package/dist/plugin/provider/cloudflare-ai-gateway.js +93 -93
  347. package/dist/plugin/provider/cloudflare-workers-ai.js +93 -93
  348. package/dist/plugin/provider/configured.js +92 -92
  349. package/dist/plugin/provider/digitalocean.js +67 -67
  350. package/dist/plugin/provider/github-copilot.js +68 -68
  351. package/dist/plugin/provider/gitlab.js +66 -66
  352. package/dist/plugin/provider/google-vertex.js +65 -65
  353. package/dist/plugin/provider/llmgateway.js +55 -55
  354. package/dist/plugin/provider/lmstudio.js +95 -95
  355. package/dist/plugin/provider/modal.js +67 -67
  356. package/dist/plugin/provider/ollama.js +95 -95
  357. package/dist/plugin/provider/openai.js +68 -68
  358. package/dist/plugin/provider/opencode.js +68 -68
  359. package/dist/plugin/provider/openrouter.js +66 -66
  360. package/dist/plugin/provider/poe.js +55 -55
  361. package/dist/plugin/provider/prompt-cache-key.js +65 -65
  362. package/dist/plugin/provider/sap-ai-core.js +65 -65
  363. package/dist/plugin/provider/snowflake-cortex.js +94 -94
  364. package/dist/plugin/provider/vercel.js +65 -65
  365. package/dist/plugin/provider/vllm.js +93 -93
  366. package/dist/plugin/provider/xai.js +66 -66
  367. package/dist/plugin/provider.js +124 -124
  368. package/dist/plugin/sdk.js +52 -52
  369. package/dist/plugin/service.js +3 -3
  370. package/dist/plugin/skill.js +114 -114
  371. package/dist/plugin/supervisor.js +303 -302
  372. package/dist/plugin/tool-input-repair.js +9 -0
  373. package/dist/plugin/update.js +6 -6
  374. package/dist/plugin/vcs/git.js +62 -62
  375. package/dist/plugin/vcs/hg.js +62 -62
  376. package/dist/plugin/warming.js +94 -94
  377. package/dist/plugin/websearch/exa.js +6 -6
  378. package/dist/plugin/websearch/firecrawl.js +7 -7
  379. package/dist/plugin/websearch/index.js +8 -8
  380. package/dist/plugin/websearch/mcp.js +5 -5
  381. package/dist/plugin/websearch/parallel.js +7 -7
  382. package/dist/plugin/websearch/tavily.js +6 -6
  383. package/dist/plugin/websearch/tinyfish.js +7 -7
  384. package/dist/plugin.js +192 -192
  385. package/dist/project/schema.js +5 -5
  386. package/dist/project/sql.js +2 -2
  387. package/dist/project.js +65 -65
  388. package/dist/provider.js +80 -76
  389. package/dist/pty/schema.js +3 -3
  390. package/dist/pty.js +69 -69
  391. package/dist/reference/instructions.js +65 -65
  392. package/dist/reference.js +63 -63
  393. package/dist/repository-cache.js +59 -59
  394. package/dist/ripgrep.js +70 -70
  395. package/dist/rpc.js +63 -63
  396. package/dist/session/command.js +53 -53
  397. package/dist/session/compaction.js +95 -95
  398. package/dist/session/context.js +117 -117
  399. package/dist/session/diff.js +64 -64
  400. package/dist/session/environment.js +5 -5
  401. package/dist/session/error.js +4 -4
  402. package/dist/session/execution/restart.js +126 -126
  403. package/dist/session/execution.js +102 -102
  404. package/dist/session/generate.js +118 -118
  405. package/dist/session/history.js +12 -12
  406. package/dist/session/inbox.js +66 -66
  407. package/dist/session/info.js +2 -2
  408. package/dist/session/instruction-entry.js +56 -56
  409. package/dist/session/instruction-state.js +5 -5
  410. package/dist/session/instructions.js +73 -73
  411. package/dist/session/message-updater.js +3 -3
  412. package/dist/session/model-request.js +87 -87
  413. package/dist/session/model-transport.js +7 -7
  414. package/dist/session/move.js +103 -103
  415. package/dist/session/projector.js +63 -63
  416. package/dist/session/prompt.js +78 -78
  417. package/dist/session/provider-context.js +3 -3
  418. package/dist/session/revert.js +66 -66
  419. package/dist/session/run-coordinator.js +3 -3
  420. package/dist/session/runner/index.js +3 -3
  421. package/dist/session/runner/llm.js +193 -193
  422. package/dist/session/runner/model.js +73 -73
  423. package/dist/session/runner/retry.js +86 -86
  424. package/dist/session/runner/step.js +93 -93
  425. package/dist/session/runner/to-llm-message.js +2 -2
  426. package/dist/session/schema.js +5 -5
  427. package/dist/session/session.js +142 -142
  428. package/dist/session/shell.js +110 -110
  429. package/dist/session/skill.js +77 -77
  430. package/dist/session/sql.js +3 -3
  431. package/dist/session/stats.js +10 -10
  432. package/dist/session/store.js +63 -63
  433. package/dist/session/subagent-job.js +174 -174
  434. package/dist/session/title.js +116 -116
  435. package/dist/session/to-session-error.js +85 -85
  436. package/dist/session/transfer.js +123 -123
  437. package/dist/session.js +186 -186
  438. package/dist/shell/parse.js +3 -3
  439. package/dist/shell/select.js +11 -11
  440. package/dist/shell.js +113 -113
  441. package/dist/skill/discovery.js +5 -5
  442. package/dist/skill/instructions.js +79 -79
  443. package/dist/skill.js +80 -80
  444. package/dist/snapshot.js +69 -69
  445. package/dist/tool/mcp.js +94 -94
  446. package/dist/tool/plugin/edit.js +93 -93
  447. package/dist/tool/plugin/glob.js +97 -97
  448. package/dist/tool/plugin/grep.js +97 -97
  449. package/dist/tool/plugin/opencode.js +3 -3
  450. package/dist/tool/plugin/patch.js +95 -95
  451. package/dist/tool/plugin/question.js +77 -77
  452. package/dist/tool/plugin/read.js +97 -97
  453. package/dist/tool/plugin/shell.js +182 -182
  454. package/dist/tool/plugin/skill.js +87 -87
  455. package/dist/tool/plugin/subagent.js +183 -183
  456. package/dist/tool/plugin/webfetch.js +83 -83
  457. package/dist/tool/plugin/websearch.js +88 -88
  458. package/dist/tool/plugin/write.js +95 -95
  459. package/dist/tool/read-filesystem.js +72 -72
  460. package/dist/tool-output.js +7 -7
  461. package/dist/tool.js +11 -11
  462. package/dist/types/agent.d.ts +14 -1
  463. package/dist/types/model-resolver.d.ts +2 -2
  464. package/dist/types/model.d.ts +54 -14
  465. package/dist/types/plugin/provider/configured.d.ts +2 -6
  466. package/dist/types/plugin/tool-input-repair.d.ts +2 -0
  467. package/dist/types/provider.d.ts +63 -15
  468. package/dist/types/session/history.d.ts +8 -8
  469. package/dist/types/v1/config/migrate.d.ts +30 -20
  470. package/dist/v1/config/agent.js +6 -6
  471. package/dist/v1/config/attachment.js +3 -3
  472. package/dist/v1/config/command.js +3 -3
  473. package/dist/v1/config/config.js +13 -13
  474. package/dist/v1/config/error.js +3 -3
  475. package/dist/v1/config/formatter.js +3 -3
  476. package/dist/v1/config/lsp.js +5 -5
  477. package/dist/v1/config/mcp.js +3 -3
  478. package/dist/v1/config/migrate.js +66 -66
  479. package/dist/v1/config/permission.js +7 -7
  480. package/dist/v1/config/plugin.js +3 -3
  481. package/dist/v1/config/provider.js +3 -3
  482. package/dist/v1/config/skills.js +3 -3
  483. package/dist/variant.js +66 -66
  484. package/dist/vcs.js +65 -65
  485. package/dist/websearch.js +61 -61
  486. package/dist/wellknown/plugin.js +55 -55
  487. package/dist/wellknown.js +60 -60
  488. package/dist/workspace/driver.js +3 -3
  489. package/dist/workspace.js +60 -60
  490. package/dist/worktree/git.js +7 -7
  491. package/dist/worktree/sql.js +3 -3
  492. package/dist/worktree/strategies.js +64 -64
  493. package/dist/worktree.js +68 -68
  494. package/package.json +8 -8
  495. package/dist/chunks/pty-1qqxsas6.js +0 -252
  496. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  497. package/dist/chunks/pty-5qekf1cr.js +0 -26
  498. /package/dist/chunks/{pty-ssr8tzqd.js → pty-4ekhf7tc.js} +0 -0
  499. /package/dist/chunks/{pty-wr7ps67x.js → pty-5e15319b.js} +0 -0
  500. /package/dist/chunks/{pty-dj2t23y0.js → pty-8p4f9s12.js} +0 -0
  501. /package/dist/chunks/{pty-v68hp2va.js → pty-w8hj49dq.js} +0 -0
  502. /package/dist/chunks/{pty-qf8xbt1v.js → pty-xfjax5kj.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-qph7hyw7.js";
2
+ Service80,
3
+ node84
4
+ } from "./pty-tqwr2f5g.js";
5
5
  import {
6
- Event19,
7
- Service77,
8
- node81
9
- } from "./pty-6wkd5avw.js";
6
+ Event15,
7
+ Service62,
8
+ node65
9
+ } from "./pty-5cn1q5nw.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./pty-mg0hvqns.js";
11
+ Service47,
12
+ node49
13
+ } from "./pty-e8gs20m7.js";
14
14
  import {
15
15
  AbsolutePath2
16
16
  } from "./pty-922hggd3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./pty-rsd57mk1.js";
18
+ Service77,
19
+ node81
20
+ } from "./pty-en85tny2.js";
21
21
  import {
22
22
  substitute2
23
- } from "./pty-s4enseaf.js";
23
+ } from "./pty-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./pty-00f2f7q8.js";
26
+ } from "./pty-gbvfym51.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./pty-bwbrqz0a.js";
30
+ } from "./pty-xv567rvv.js";
31
31
  import {
32
32
  plan2
33
33
  } from "./pty-j56e64zr.js";
34
34
  import {
35
- Service71,
36
- Event15,
37
- node75
38
- } from "./pty-qqrhpyxk.js";
35
+ Service64,
36
+ Event17,
37
+ node67
38
+ } from "./pty-p3w99mff.js";
39
39
  import {
40
40
  __export
41
41
  } from "./pty-9rqn6x4v.js";
@@ -44,13 +44,13 @@ import {
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options8,
48
- Service: () => Service69,
47
+ Options: () => Options4,
48
+ Service: () => Service46,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured4,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node73,
52
+ layer: () => layer19,
53
+ node: () => node48,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options8 = Schema.Struct({
67
+ var Options4 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service69 extends Context.Service()("@opencode/Config") {
74
+ class Service46 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
93
93
  }));
94
- var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
94
+ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service70;
98
- const bus = yield* Service82;
99
- const credentials = yield* Service77;
96
+ const location = yield* Service77;
97
+ const watcher = yield* Service47;
98
+ const bus = yield* Service80;
99
+ const credentials = yield* Service62;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service71;
101
+ const wellknown = yield* Service64;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service69.of({
253
+ return Service46.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured10(options) {
265
+ function configured4(options) {
266
266
  return makeLocationNode({
267
- service: Service69,
268
- layer: layer23(options),
269
- deps: [node74, node86, FSUtil.node, Global.node, node83, node81, node75]
267
+ service: Service46,
268
+ layer: layer19(options),
269
+ deps: [node49, node84, FSUtil.node, Global.node, node81, node65, node67]
270
270
  });
271
271
  }
272
- var node73 = configured10();
272
+ var node48 = configured4();
273
273
 
274
- export { latest2, Options8, Service69, Test2, testLayer2, layer23, configured10, node73, exports_config };
274
+ export { latest2, Options4, Service46, Test2, testLayer2, layer19, configured4, node48, exports_config };
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./pty-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./pty-rsd57mk1.js";
8
+ Service77
9
+ } from "./pty-en85tny2.js";
10
10
  import {
11
- Service58
12
- } from "./pty-bxgqktpk.js";
11
+ Service75
12
+ } from "./pty-47r0kvy6.js";
13
13
  import {
14
- Service57
15
- } from "./pty-sk1rxzc5.js";
14
+ Service54
15
+ } from "./pty-b9w0x7cm.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./pty-vk0pdsgf.js";
20
+ Entry4
21
+ } from "./pty-4dkhsnmt.js";
22
22
  import {
23
- Service64
24
- } from "./pty-2em355j9.js";
23
+ Service66
24
+ } from "./pty-hdfkv0ev.js";
25
25
  import {
26
- Service46
27
- } from "./pty-jqe5ka82.js";
26
+ Service53
27
+ } from "./pty-gf229ayp.js";
28
28
  import {
29
29
  __export
30
30
  } from "./pty-9rqn6x4v.js";
@@ -33,17 +33,17 @@ import {
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input6,
37
- Output: () => Output3,
38
- Plugin: () => Plugin40,
39
- name: () => name6,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input2,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin2,
39
+ name: () => name2,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name6 = "glob";
46
- var Input6 = Schema.Struct({
45
+ var name2 = "glob";
46
+ var Input2 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry4);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin40 = {
66
+ var Plugin2 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service58;
70
- const ripgrep = yield* Service57;
71
- const location = yield* Service79;
72
- const access = yield* Service46;
73
- const permission = yield* Service64;
69
+ const environment = yield* Service75;
70
+ const ripgrep = yield* Service54;
71
+ const location = yield* Service77;
72
+ const access = yield* Service53;
73
+ const permission = yield* Service66;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name6,
75
+ name: name2,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input6,
79
- output: Output3,
78
+ input: Input2,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name6,
86
+ action: name2,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin40 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name6, Input6, Output3, toModelContent3, Plugin40, exports_glob };
128
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_glob };
@@ -9,7 +9,7 @@ import {
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info25,
12
+ Info: () => Info16,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info25 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info16 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info25, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info16, exports_mcp5 };
@@ -11,19 +11,19 @@ import {
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service61,
14
+ Options: () => Options10,
15
+ Service: () => Service73,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node65,
24
+ node: () => node76,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service61 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service73 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service61.of({
202
+ return Service73.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured9(options) {
210
- return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
209
+ function configured10(options) {
210
+ return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node65 = configured9();
212
+ var node76 = configured10();
213
213
 
214
- export { Options7, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node65, exports_select };
214
+ export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node76, exports_select };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./pty-1cr9kxrr.js";
4
+ } from "./pty-p2bsys5p.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -4,9 +4,9 @@ import {
4
4
  RelativePath2
5
5
  } from "./pty-922hggd3.js";
6
6
  import {
7
- Service58,
8
- node61
9
- } from "./pty-bxgqktpk.js";
7
+ Service75,
8
+ node78
9
+ } from "./pty-47r0kvy6.js";
10
10
  import {
11
11
  RipgrepBinary2
12
12
  } from "./pty-8d7r5vzw.js";
@@ -17,11 +17,11 @@ import {
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service57,
24
- node: () => node60
23
+ Service: () => Service54,
24
+ node: () => node57
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service57 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service54 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service57, Effect.gen(function* () {
67
- const environment = yield* Service58;
66
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
67
+ const environment = yield* Service75;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service57.of({
95
+ return Service54.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node60 = makeLocationNode({ service: Service57, layer, deps: [node61, RipgrepBinary2.node] });
178
+ var node57 = makeLocationNode({ service: Service54, layer, deps: [node78, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service57, node60, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service54, node57, exports_ripgrep };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./pty-qph7hyw7.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./pty-bm3m92rh.js";
2
+ Service80,
3
+ node84
4
+ } from "./pty-tqwr2f5g.js";
9
5
  import {
10
6
  Service79,
11
7
  node83
12
- } from "./pty-rsd57mk1.js";
8
+ } from "./pty-hxpy2fz9.js";
9
+ import {
10
+ Service77,
11
+ node81
12
+ } from "./pty-en85tny2.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./pty-pf31ssb9.js";
15
+ } from "./pty-hgd4btym.js";
16
16
  import {
17
- Service70,
18
- node74
19
- } from "./pty-mg0hvqns.js";
17
+ Service47,
18
+ node49
19
+ } from "./pty-e8gs20m7.js";
20
20
  import {
21
- node16
22
- } from "./pty-stdr0dsx.js";
21
+ node17
22
+ } from "./pty-zxtb73ge.js";
23
23
  import {
24
- Service7,
25
- node8
26
- } from "./pty-r2m716tb.js";
24
+ Service8,
25
+ node10
26
+ } from "./pty-d4he2qe1.js";
27
27
  import {
28
28
  __export
29
29
  } from "./pty-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service6,
36
- node: () => node7
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service70;
48
- const bus = yield* Service82;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service47;
48
+ const bus = yield* Service80;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service7;
50
+ const git = yield* Service79;
51
+ const policy = yield* Service8;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node7 = makeLocationNode({
106
- service: Service6,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node74, FSUtil.node, node83, node85, node86, node16, node8]
108
+ deps: [node49, FSUtil.node, node81, node83, node84, node17, node10]
109
109
  });
110
110
 
111
- export { Service6, node7, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };