@opencode/core 0.0.0-dev-21080 → 0.0.0-dev-21083

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/wellknown-06veezbv.js +513 -0
  8. package/dist/chunks/{location-services-4v7ngy20.js → wellknown-0a1yp5ev.js} +4 -4
  9. package/dist/chunks/{location-services-kg320fw9.js → wellknown-0b4e2frx.js} +74 -74
  10. package/dist/chunks/{location-services-42cfyv6e.js → wellknown-0bq9rtp7.js} +1 -1
  11. package/dist/chunks/{location-services-4y7j986s.js → wellknown-0tmgye68.js} +9 -9
  12. package/dist/chunks/{location-services-0vbcp93d.js → wellknown-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{location-services-3a1csxgf.js → wellknown-0zxfjm57.js} +33 -33
  14. package/dist/chunks/{location-services-g5q88jq6.js → wellknown-103j7p0w.js} +11 -11
  15. package/dist/chunks/wellknown-129gs4z3.js +26 -0
  16. package/dist/chunks/{location-services-9vp2dtmh.js → wellknown-13qatrkv.js} +8 -8
  17. package/dist/chunks/{location-services-pew1wbm6.js → wellknown-18xngvse.js} +7 -7
  18. package/dist/chunks/{location-services-yp2x3t23.js → wellknown-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{location-services-bjx1sjef.js → wellknown-1ffvrpkg.js} +6 -6
  20. package/dist/chunks/{location-services-244nw8ga.js → wellknown-1tr9y7qk.js} +13 -13
  21. package/dist/chunks/{location-services-z6h35bfa.js → wellknown-1zx0c4nb.js} +17 -17
  22. package/dist/chunks/{location-services-23ep9gsy.js → wellknown-213ga18f.js} +19 -19
  23. package/dist/chunks/{location-services-x3wbe70s.js → wellknown-2dx9z7zf.js} +4 -4
  24. package/dist/chunks/{location-services-7qcmfwcv.js → wellknown-2fqna6rb.js} +11 -11
  25. package/dist/chunks/{location-services-ppnrbg7s.js → wellknown-2j356rf8.js} +5 -5
  26. package/dist/chunks/{location-services-3d60bhv0.js → wellknown-2kmktvxs.js} +31 -31
  27. package/dist/chunks/{location-services-wby3r2te.js → wellknown-2qes0h8s.js} +11 -11
  28. package/dist/chunks/{location-services-bprq9w7g.js → wellknown-2w2a6tdv.js} +1 -1
  29. package/dist/chunks/{location-services-vwhbe72t.js → wellknown-30846h32.js} +8 -8
  30. package/dist/chunks/{location-services-h7s7r6s9.js → wellknown-31xfzrxg.js} +5 -5
  31. package/dist/chunks/{location-services-ethqs1sx.js → wellknown-38ez3zd8.js} +14 -14
  32. package/dist/chunks/{location-services-4r1rf6x5.js → wellknown-3ctc0dee.js} +14 -14
  33. package/dist/chunks/{location-services-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{location-services-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{location-services-3hwn7j4h.js → wellknown-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{location-services-qjg4je6d.js → wellknown-3jfsrw3w.js} +11 -11
  37. package/dist/chunks/{location-services-jvqwkpfk.js → wellknown-3qpw132m.js} +29 -29
  38. package/dist/chunks/{location-services-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{location-services-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{location-services-3x67zv1q.js → wellknown-3wxx7bfc.js} +24 -24
  41. package/dist/chunks/{location-services-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{location-services-t2wzjc4q.js → wellknown-48a312bt.js} +29 -29
  43. package/dist/chunks/{location-services-c49rsx5q.js → wellknown-48q3bymm.js} +22 -22
  44. package/dist/chunks/{location-services-q1qecwxv.js → wellknown-4c9nwr44.js} +11 -11
  45. package/dist/chunks/{location-services-n4e0gck4.js → wellknown-4ns3h2re.js} +8 -8
  46. package/dist/chunks/{location-services-24pdmgsr.js → wellknown-4nxws89m.js} +5 -5
  47. package/dist/chunks/{location-services-sea3ty2w.js → wellknown-4s4vprvd.js} +18 -13
  48. package/dist/chunks/{location-services-dpvvrdx3.js → wellknown-4ww745cs.js} +14 -14
  49. package/dist/chunks/{location-services-57kka029.js → wellknown-54dddash.js} +8 -8
  50. package/dist/chunks/{location-services-vx1y955m.js → wellknown-54m94vzw.js} +34 -34
  51. package/dist/chunks/{location-services-r94pvvab.js → wellknown-54ma36ye.js} +4 -4
  52. package/dist/chunks/{location-services-59te2vk4.js → wellknown-580af52r.js} +11 -11
  53. package/dist/chunks/{location-services-5dkn69vz.js → wellknown-5dkn69vz.js} +1 -1
  54. package/dist/chunks/{location-services-44t855md.js → wellknown-5eaq8z03.js} +4 -4
  55. package/dist/chunks/{location-services-xdstf3nv.js → wellknown-5eq5d09f.js} +13 -13
  56. package/dist/chunks/{location-services-sf4bsm1d.js → wellknown-5g2qt2wz.js} +86 -86
  57. package/dist/chunks/{location-services-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{location-services-e59hp8e0.js → wellknown-5mjnqhcz.js} +4 -4
  59. package/dist/chunks/{location-services-ntk6zd40.js → wellknown-5n0rctqr.js} +1 -1
  60. package/dist/chunks/{location-services-e6h9sxh5.js → wellknown-5s617bhe.js} +3 -3
  61. package/dist/chunks/{location-services-1bbn3dkw.js → wellknown-6fwbwvnf.js} +5 -5
  62. package/dist/chunks/{location-services-ra67jj04.js → wellknown-6hprzzq9.js} +9 -9
  63. package/dist/chunks/{location-services-yarctvhd.js → wellknown-6w2vrq7p.js} +40 -40
  64. package/dist/chunks/{location-services-6xb47vfp.js → wellknown-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{location-services-jfk3bbrj.js → wellknown-6zh9akfx.js} +2 -2
  66. package/dist/chunks/{location-services-xwk1chxv.js → wellknown-70m17enh.js} +31 -31
  67. package/dist/chunks/{location-services-tw6chp79.js → wellknown-73pwhxhp.js} +26 -26
  68. package/dist/chunks/{location-services-775gj3j1.js → wellknown-775gj3j1.js} +2 -2
  69. package/dist/chunks/{location-services-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{location-services-65cdatea.js → wellknown-7n1b2dwv.js} +21 -21
  71. package/dist/chunks/{location-services-aa674q4y.js → wellknown-7q6jhbe0.js} +11 -11
  72. package/dist/chunks/{location-services-je5s84sz.js → wellknown-7qrex6pj.js} +25 -25
  73. package/dist/chunks/{location-services-vfr0kypj.js → wellknown-7tn9zk6g.js} +45 -45
  74. package/dist/chunks/{location-services-npv8gbcr.js → wellknown-7tysabzr.js} +36 -36
  75. package/dist/chunks/{location-services-8a368wvm.js → wellknown-842hw7c7.js} +20 -20
  76. package/dist/chunks/{location-services-84txncab.js → wellknown-84txncab.js} +1 -1
  77. package/dist/chunks/{location-services-z12nrmke.js → wellknown-88ydzawg.js} +14 -14
  78. package/dist/chunks/{location-services-tf8ptcfp.js → wellknown-8a73bn33.js} +23 -23
  79. package/dist/chunks/{location-services-cp7mdvjw.js → wellknown-8bg952as.js} +10 -10
  80. package/dist/chunks/{location-services-s6cjjfc4.js → wellknown-8e0yhnkf.js} +13 -13
  81. package/dist/chunks/{location-services-w9e5drq7.js → wellknown-8jhyqmqg.js} +13 -13
  82. package/dist/chunks/{location-services-8m6m0r52.js → wellknown-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{location-services-tmp094y9.js → wellknown-8nfz0va0.js} +26 -26
  84. package/dist/chunks/{location-services-ppwx06gp.js → wellknown-8njk857q.js} +22 -22
  85. package/dist/chunks/{location-services-jpjvyf3t.js → wellknown-8nnf8qab.js} +18 -18
  86. package/dist/chunks/{location-services-rkprpv83.js → wellknown-8sze2n9a.js} +6 -6
  87. package/dist/chunks/{location-services-ddzg2jb5.js → wellknown-8ydrh9zq.js} +11 -11
  88. package/dist/chunks/{location-services-91qna3x0.js → wellknown-91qna3x0.js} +3 -3
  89. package/dist/chunks/{location-services-dkrhta5e.js → wellknown-9515d2c2.js} +27 -27
  90. package/dist/chunks/{location-services-ee9ke1cf.js → wellknown-9b71ft8v.js} +10 -10
  91. package/dist/chunks/{location-services-rzfqcm6c.js → wellknown-9jnwdfhw.js} +13 -13
  92. package/dist/chunks/{location-services-gfx22yfa.js → wellknown-9mxvrehk.js} +9 -9
  93. package/dist/chunks/{location-services-302nrbc0.js → wellknown-9pfnnfjf.js} +20 -20
  94. package/dist/chunks/wellknown-9sh4wc5j.js +18 -0
  95. package/dist/chunks/{location-services-bx9w2fqt.js → wellknown-9sq8tkfd.js} +39 -39
  96. package/dist/chunks/{location-services-csx4qebp.js → wellknown-9tqdfwrc.js} +9 -9
  97. package/dist/chunks/{location-services-ytj3bpmw.js → wellknown-9vgv2dzk.js} +17 -17
  98. package/dist/chunks/{location-services-q0g54yjn.js → wellknown-9xacpk28.js} +83 -83
  99. package/dist/chunks/{location-services-1xc3wfx9.js → wellknown-9y28e3rx.js} +8 -8
  100. package/dist/chunks/{location-services-hste6tza.js → wellknown-9yg53srp.js} +6 -6
  101. package/dist/chunks/{location-services-tgz9kpfd.js → wellknown-a5dk58b6.js} +33 -33
  102. package/dist/chunks/{location-services-addxnjmp.js → wellknown-addxnjmp.js} +1 -1
  103. package/dist/chunks/{location-services-e29c15sd.js → wellknown-aj3rbcf1.js} +5 -5
  104. package/dist/chunks/{location-services-qeaed4rb.js → wellknown-am1tmpj5.js} +10 -10
  105. package/dist/chunks/{location-services-t0j71e47.js → wellknown-amhhwrzx.js} +5 -5
  106. package/dist/chunks/{location-services-g3fnaecf.js → wellknown-an0k1vng.js} +25 -25
  107. package/dist/chunks/{location-services-c1944bpn.js → wellknown-ay1fpz4r.js} +5 -5
  108. package/dist/chunks/{location-services-6fw71bvh.js → wellknown-b31z50h6.js} +4 -4
  109. package/dist/chunks/{location-services-23j7fmch.js → wellknown-b35sz4x8.js} +23 -23
  110. package/dist/chunks/{location-services-dk81qchb.js → wellknown-b38mrzf9.js} +18 -18
  111. package/dist/chunks/{location-services-f9m23keb.js → wellknown-b571c41d.js} +18 -18
  112. package/dist/chunks/{location-services-r6ntqdat.js → wellknown-bfncf66w.js} +15 -15
  113. package/dist/chunks/{location-services-yxehspbx.js → wellknown-bsx9jwm3.js} +10 -10
  114. package/dist/chunks/{location-services-s4f49p0s.js → wellknown-bw343qrx.js} +3 -3
  115. package/dist/chunks/{location-services-c1fqxshp.js → wellknown-c1fqxshp.js} +3 -3
  116. package/dist/chunks/{location-services-50phh09z.js → wellknown-c6bsyzsc.js} +33 -33
  117. package/dist/chunks/{location-services-s9sfj19z.js → wellknown-crf0bf7n.js} +15 -15
  118. package/dist/chunks/{location-services-9t6z5mty.js → wellknown-crwxfhvy.js} +6 -6
  119. package/dist/chunks/{location-services-x4sx43e2.js → wellknown-cv8yftk4.js} +9 -9
  120. package/dist/chunks/{location-services-79qaa2kf.js → wellknown-cwa6csj7.js} +9 -9
  121. package/dist/chunks/{location-services-v47csb3d.js → wellknown-d0rdk6ch.js} +31 -31
  122. package/dist/chunks/{location-services-ykj822me.js → wellknown-d413zz9h.js} +46 -46
  123. package/dist/chunks/{location-services-jhaj7dhp.js → wellknown-d478q4bd.js} +4 -4
  124. package/dist/chunks/{location-services-cbt851ks.js → wellknown-d7t3gbgb.js} +23 -23
  125. package/dist/chunks/{location-services-xb1mmqz8.js → wellknown-da9jy74a.js} +15 -15
  126. package/dist/chunks/{location-services-6zmhf5e4.js → wellknown-ddrqbs3m.js} +9 -9
  127. package/dist/chunks/{location-services-e7gvftdw.js → wellknown-df2djn6b.js} +28 -28
  128. package/dist/chunks/{location-services-bfksx8rf.js → wellknown-dj3nrz9d.js} +22 -22
  129. package/dist/chunks/{location-services-7fbg3v2f.js → wellknown-dp5fpt2k.js} +37 -37
  130. package/dist/chunks/{location-services-dqxsqydv.js → wellknown-dqxsqydv.js} +1 -1
  131. package/dist/chunks/{location-services-35ja2k0w.js → wellknown-drnf6xwf.js} +2 -2
  132. package/dist/chunks/{location-services-tf9w7cc4.js → wellknown-dsf29sq3.js} +26 -26
  133. package/dist/chunks/{location-services-a4tbexpm.js → wellknown-e1gprjyv.js} +15 -15
  134. package/dist/chunks/{location-services-9k6k7fgf.js → wellknown-e25t3jj6.js} +29 -29
  135. package/dist/chunks/{location-services-sg05dgk5.js → wellknown-e3dwedxn.js} +22 -22
  136. package/dist/chunks/{location-services-nma959mg.js → wellknown-e80seqcp.js} +3 -3
  137. package/dist/chunks/{location-services-j4jzdm2s.js → wellknown-e9xmwcxe.js} +35 -35
  138. package/dist/chunks/{location-services-eej6y6fw.js → wellknown-eej6y6fw.js} +2 -2
  139. package/dist/chunks/{location-services-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{location-services-9w32cmye.js → wellknown-egqr7j4h.js} +52 -52
  141. package/dist/chunks/{location-services-7f1f8kt8.js → wellknown-ekfpzbkr.js} +14 -14
  142. package/dist/chunks/{location-services-z66fjwda.js → wellknown-en592x0g.js} +35 -35
  143. package/dist/chunks/{location-services-hhyxa8w0.js → wellknown-er3pka0m.js} +28 -28
  144. package/dist/chunks/{location-services-m7c14yt9.js → wellknown-erqnmqkb.js} +44 -44
  145. package/dist/chunks/{location-services-q3mk2dcw.js → wellknown-eyzyg9e2.js} +12 -12
  146. package/dist/chunks/{location-services-jgyvgpbp.js → wellknown-f12nsr2q.js} +5 -5
  147. package/dist/chunks/{location-services-2kym22yv.js → wellknown-f3jtcjgd.js} +16 -16
  148. package/dist/chunks/{location-services-c227t32y.js → wellknown-fdms3n6w.js} +9 -9
  149. package/dist/chunks/{location-services-mtq6xxnx.js → wellknown-fm2qvscf.js} +7 -7
  150. package/dist/chunks/{location-services-362yhp9b.js → wellknown-ftmxstjr.js} +11 -11
  151. package/dist/chunks/{location-services-khmqacep.js → wellknown-fxaymqdw.js} +4 -4
  152. package/dist/chunks/{location-services-9hn6k4tm.js → wellknown-g0445xdp.js} +8 -8
  153. package/dist/chunks/{location-services-jxr5ks98.js → wellknown-g13qewtb.js} +6 -6
  154. package/dist/chunks/{location-services-dbfp1drv.js → wellknown-g7ptg58x.js} +1 -1
  155. package/dist/chunks/{location-services-581vd47p.js → wellknown-gcnaxrtk.js} +30 -30
  156. package/dist/chunks/{location-services-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{location-services-kxxk4g5v.js → wellknown-gerdtg2d.js} +23 -23
  158. package/dist/chunks/{location-services-fwqtawms.js → wellknown-get0e1re.js} +24 -24
  159. package/dist/chunks/{location-services-hp1kev64.js → wellknown-gwkxh08z.js} +4 -4
  160. package/dist/chunks/{location-services-jyyk6gde.js → wellknown-gz4a2f88.js} +42 -42
  161. package/dist/chunks/{location-services-e8kf9jzb.js → wellknown-h0rg9xrm.js} +10 -10
  162. package/dist/chunks/{location-services-8dksh1ny.js → wellknown-h1a7qbzc.js} +27 -27
  163. package/dist/chunks/{location-services-yajr5kvv.js → wellknown-h20wq282.js} +34 -34
  164. package/dist/chunks/{location-services-vtvbcqc4.js → wellknown-h5cv5jd9.js} +36 -36
  165. package/dist/chunks/{location-services-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{location-services-4bg27fyf.js → wellknown-h90kx9pa.js} +27 -27
  167. package/dist/chunks/{location-services-stk88hg0.js → wellknown-hbrsnqm2.js} +38 -38
  168. package/dist/chunks/{location-services-ytf73cw3.js → wellknown-he6nexp3.js} +14 -14
  169. package/dist/chunks/{location-services-hgz4x7wa.js → wellknown-hgz4x7wa.js} +1 -1
  170. package/dist/chunks/{location-services-htvyff0e.js → wellknown-hmdw6dvd.js} +183 -183
  171. package/dist/chunks/{location-services-hq8zt1th.js → wellknown-hq8zt1th.js} +1 -1
  172. package/dist/chunks/{location-services-syx2fw03.js → wellknown-j1e5h7sr.js} +3 -3
  173. package/dist/chunks/{location-services-kkj9qksm.js → wellknown-j2njhd64.js} +11 -11
  174. package/dist/chunks/{location-services-mctm3cx2.js → wellknown-j7p5c847.js} +5 -5
  175. package/dist/chunks/{location-services-245km8hw.js → wellknown-jfb4armh.js} +11 -11
  176. package/dist/chunks/{location-services-jhdf29st.js → wellknown-jhdf29st.js} +1 -1
  177. package/dist/chunks/{location-services-9xf2f7x4.js → wellknown-jnenhfvk.js} +13 -13
  178. package/dist/chunks/{location-services-1bagj0a9.js → wellknown-jnzbdj6g.js} +20 -20
  179. package/dist/chunks/{location-services-3f79bhw9.js → wellknown-jxfdw5xx.js} +6 -6
  180. package/dist/chunks/{location-services-ze18r45x.js → wellknown-jyrpnvf6.js} +16 -16
  181. package/dist/chunks/{location-services-75tmef9h.js → wellknown-jzhqdw0v.js} +47 -47
  182. package/dist/chunks/{location-services-6bbwvj97.js → wellknown-ka2vyvbe.js} +6 -6
  183. package/dist/chunks/{location-services-8zfz6a2t.js → wellknown-kg8xy2mk.js} +12 -12
  184. package/dist/chunks/{location-services-0b5g1ynf.js → wellknown-kqx1b4hy.js} +4 -4
  185. package/dist/chunks/{location-services-xqtf9pe1.js → wellknown-ksp097j4.js} +19 -19
  186. package/dist/chunks/{location-services-kwb1v3vj.js → wellknown-kwb1v3vj.js} +1 -1
  187. package/dist/chunks/{location-services-ph842b28.js → wellknown-kzc3h1h3.js} +4 -4
  188. package/dist/chunks/{location-services-e9vjtg4n.js → wellknown-m1ctxc17.js} +15 -15
  189. package/dist/chunks/{location-services-s1mwhzrx.js → wellknown-m96fmket.js} +7 -7
  190. package/dist/chunks/{location-services-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{location-services-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
  192. package/dist/chunks/{location-services-mg6xpf0r.js → wellknown-mb3k9gmm.js} +30 -30
  193. package/dist/chunks/{location-services-h1z5k2t2.js → wellknown-mcnznpk0.js} +9 -9
  194. package/dist/chunks/{location-services-gnaysa6b.js → wellknown-mdp6bdt1.js} +10 -10
  195. package/dist/chunks/{location-services-e4yed1xk.js → wellknown-mgjgjn98.js} +11 -11
  196. package/dist/chunks/{location-services-wqqy3mvy.js → wellknown-mv5zegcc.js} +12 -12
  197. package/dist/chunks/{location-services-nvxqht09.js → wellknown-my4zabxr.js} +3 -3
  198. package/dist/chunks/{location-services-0ypc52y8.js → wellknown-n2r8arxj.js} +35 -35
  199. package/dist/chunks/{location-services-3t6g7wkp.js → wellknown-n2rqx0tz.js} +22 -22
  200. package/dist/chunks/{location-services-qne3fa44.js → wellknown-n8vdnqrc.js} +5 -5
  201. package/dist/chunks/wellknown-nn9ksa3r.js +253 -0
  202. package/dist/chunks/{location-services-0m1m2yc2.js → wellknown-nqrf85nb.js} +25 -25
  203. package/dist/chunks/{location-services-x5h44zm2.js → wellknown-nrp9mwhy.js} +9 -9
  204. package/dist/chunks/{location-services-x8y695va.js → wellknown-nvcb2me1.js} +11 -11
  205. package/dist/chunks/{location-services-8h4jg6v9.js → wellknown-nyhpb0vx.js} +5 -5
  206. package/dist/chunks/{location-services-14zmt7av.js → wellknown-nzrce3ab.js} +32 -32
  207. package/dist/chunks/{location-services-vd45c9sq.js → wellknown-p3xw4czf.js} +15 -15
  208. package/dist/chunks/{location-services-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{location-services-pknna89w.js → wellknown-pknna89w.js} +1 -1
  210. package/dist/chunks/{location-services-s3197e3j.js → wellknown-q0h6pz3w.js} +18 -18
  211. package/dist/chunks/{location-services-c2r9jrv3.js → wellknown-qa8hk3wh.js} +26 -26
  212. package/dist/chunks/{location-services-tckyrjpr.js → wellknown-qdwgt6ps.js} +28 -28
  213. package/dist/chunks/{location-services-fcrkznn8.js → wellknown-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{location-services-qnc92qwc.js → wellknown-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{location-services-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
  216. package/dist/chunks/{location-services-kx8q5nyz.js → wellknown-r34z2cpg.js} +11 -11
  217. package/dist/chunks/{location-services-trya7axm.js → wellknown-rbpvdgf0.js} +8 -8
  218. package/dist/chunks/{location-services-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{location-services-rert0e01.js → wellknown-rert0e01.js} +2 -2
  220. package/dist/chunks/{location-services-t550f9t1.js → wellknown-rhjbct0v.js} +4 -4
  221. package/dist/chunks/{location-services-rj3eygr5.js → wellknown-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{location-services-hgfjkg9n.js → wellknown-rjdern03.js} +7 -7
  223. package/dist/chunks/{location-services-5fec3t3w.js → wellknown-rkg4v3e5.js} +4 -4
  224. package/dist/chunks/{location-services-n306y6p7.js → wellknown-rt5hk2gc.js} +29 -29
  225. package/dist/chunks/{location-services-y3p5qm6e.js → wellknown-s4zmzajd.js} +5 -5
  226. package/dist/chunks/{location-services-ek0xqdc4.js → wellknown-s5t3xycc.js} +41 -41
  227. package/dist/chunks/{location-services-sa8ekw3f.js → wellknown-sa8ekw3f.js} +2 -2
  228. package/dist/chunks/{location-services-b3f8fkhc.js → wellknown-scgrse2b.js} +5 -5
  229. package/dist/chunks/{location-services-hge6h9tw.js → wellknown-se590jg5.js} +26 -26
  230. package/dist/chunks/{location-services-snkznpnb.js → wellknown-sg1scg1n.js} +14 -14
  231. package/dist/chunks/{location-services-7q9y922e.js → wellknown-sgbqqqjq.js} +21 -21
  232. package/dist/chunks/{location-services-zpw9hhj6.js → wellknown-syg8ma14.js} +15 -15
  233. package/dist/chunks/{location-services-syv4x271.js → wellknown-syv4x271.js} +1 -1
  234. package/dist/chunks/{location-services-ewx5eb2n.js → wellknown-t2qghewn.js} +11 -11
  235. package/dist/chunks/{location-services-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{location-services-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{location-services-tdstcens.js → wellknown-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-services-ze2nn8xv.js → wellknown-tgfzefs9.js} +25 -25
  239. package/dist/chunks/{location-services-h83xjv7f.js → wellknown-tk14y25j.js} +5 -5
  240. package/dist/chunks/{location-services-tm0kqsz3.js → wellknown-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{location-services-tyytaxap.js → wellknown-tyytaxap.js} +1 -1
  242. package/dist/chunks/{location-services-v0es1rhs.js → wellknown-v0es1rhs.js} +2 -2
  243. package/dist/chunks/{location-services-eknn5gcm.js → wellknown-v75wpm43.js} +5 -5
  244. package/dist/chunks/{location-services-v7p4zvkq.js → wellknown-v7p4zvkq.js} +2 -2
  245. package/dist/chunks/{location-services-xt6z0133.js → wellknown-vef126p8.js} +19 -19
  246. package/dist/chunks/{location-services-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-services-083303b5.js → wellknown-vg80jemb.js} +5 -5
  248. package/dist/chunks/{location-services-8y47q2p9.js → wellknown-vk4v4ena.js} +10 -10
  249. package/dist/chunks/{location-services-ynmknp8q.js → wellknown-vtqafnzr.js} +8 -8
  250. package/dist/chunks/{location-services-2amj7w2e.js → wellknown-vw6s0twy.js} +11 -11
  251. package/dist/chunks/{location-services-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{location-services-23xej63c.js → wellknown-w05x0cfw.js} +6 -6
  253. package/dist/chunks/{location-services-zc62n2gn.js → wellknown-w31r9p29.js} +19 -19
  254. package/dist/chunks/{location-services-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{location-services-0mmkf94b.js → wellknown-w7n8acz8.js} +24 -24
  256. package/dist/chunks/{location-services-wd87259q.js → wellknown-wd87259q.js} +1 -1
  257. package/dist/chunks/{location-services-g5vbb9hj.js → wellknown-wkjcxr99.js} +17 -17
  258. package/dist/chunks/{location-services-eemsj75p.js → wellknown-wmg30xxf.js} +17 -17
  259. package/dist/chunks/{location-services-3vk4e4ba.js → wellknown-wmt20ajm.js} +18 -18
  260. package/dist/chunks/{location-services-3xjjzvbe.js → wellknown-wp0ktrvy.js} +1 -1
  261. package/dist/chunks/{location-services-ja30wqx5.js → wellknown-wrdr2gww.js} +50 -50
  262. package/dist/chunks/{location-services-m3awrey6.js → wellknown-x692zjke.js} +11 -11
  263. package/dist/chunks/{location-services-9knbxg1b.js → wellknown-x7wap9xh.js} +17 -17
  264. package/dist/chunks/{location-services-v72k71c1.js → wellknown-xe7vb8k1.js} +14 -14
  265. package/dist/chunks/{location-services-drwq78ky.js → wellknown-xfkkasph.js} +4 -4
  266. package/dist/chunks/{location-services-c8kj68w8.js → wellknown-xjcefdzc.js} +15 -15
  267. package/dist/chunks/{location-services-6nwhtmce.js → wellknown-xk5n2sey.js} +4 -4
  268. package/dist/chunks/{location-services-hft03ywa.js → wellknown-xnpxmfzc.js} +20 -20
  269. package/dist/chunks/{location-services-2vgzs72b.js → wellknown-xw8eq9f1.js} +5 -5
  270. package/dist/chunks/{location-services-g5m8facw.js → wellknown-xystbrtc.js} +24 -24
  271. package/dist/chunks/{location-services-3mqv2hqz.js → wellknown-xytpgjz1.js} +44 -44
  272. package/dist/chunks/{location-services-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-services-qvb3nf84.js → wellknown-y1qqcj8h.js} +8 -8
  274. package/dist/chunks/{location-services-jwcy2c2z.js → wellknown-y71avatq.js} +4 -4
  275. package/dist/chunks/{location-services-9q4r2gvr.js → wellknown-ya17e1sw.js} +5 -5
  276. package/dist/chunks/{location-services-9ty8jwpv.js → wellknown-yv21qacw.js} +16 -16
  277. package/dist/chunks/{location-services-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-services-twezr0mm.js → wellknown-za1dqf29.js} +14 -14
  279. package/dist/chunks/{location-services-embw8kgh.js → wellknown-zav06jzw.js} +4 -4
  280. package/dist/chunks/{location-services-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-services-2xzzkntk.js → wellknown-zsnhx9bx.js} +22 -22
  282. package/dist/chunks/{location-services-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +5 -5
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +87 -87
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +205 -205
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +116 -116
  299. package/dist/config/plugin/location-watcher.js +118 -118
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +1 -1
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +85 -85
  317. package/dist/database/database.js +74 -74
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +81 -81
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +360 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +97 -97
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +3 -3
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +74 -74
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +105 -105
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +86 -86
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +107 -107
  427. package/dist/git.js +8 -8
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +93 -93
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +1 -1
  450. package/dist/instance.js +353 -353
  451. package/dist/instruction-discovery.js +86 -86
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +89 -89
  456. package/dist/job.js +80 -80
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +135 -135
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +354 -354
  463. package/dist/location.js +85 -85
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +93 -93
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +96 -96
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +92 -92
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +329 -329
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +115 -115
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +116 -116
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +116 -116
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +113 -113
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +123 -123
  515. package/dist/plugin/provider/local.js +122 -122
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +125 -125
  520. package/dist/plugin/provider/openai.js +118 -118
  521. package/dist/plugin/provider/opencode.js +100 -100
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +123 -123
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +168 -168
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +2 -2
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +84 -84
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +93 -93
  560. package/dist/reference/instructions.js +91 -91
  561. package/dist/reference.js +93 -93
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +3 -3
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +137 -137
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +92 -92
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +1 -1
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +127 -127
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +107 -107
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +77 -77
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +159 -159
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +109 -109
  625. package/dist/skill.js +114 -114
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +124 -124
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +210 -210
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +210 -210
  643. package/dist/tool/plugin/webfetch.js +114 -114
  644. package/dist/tool/plugin/websearch.js +116 -116
  645. package/dist/tool/plugin/write.js +120 -120
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +94 -94
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +86 -86
  672. package/dist/wellknown/plugin.js +78 -78
  673. package/dist/wellknown.js +79 -79
  674. package/dist/workspace/driver.js +7 -7
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +84 -84
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +91 -91
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/location-services-by5v678g.js +0 -18
  684. package/dist/chunks/location-services-d19ht2gs.js +0 -253
  685. package/dist/chunks/location-services-kbqjftap.js +0 -26
  686. package/dist/chunks/location-services-z4zjpn5f.js +0 -513
  687. /package/dist/chunks/{location-services-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{location-services-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{location-services-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{location-services-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{location-services-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{location-services-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{location-services-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{location-services-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{location-services-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{location-services-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{location-services-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{location-services-3asan66x.js → wellknown-3asan66x.js} +0 -0
  699. /package/dist/chunks/{location-services-3t0ybcrp.js → wellknown-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{location-services-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{location-services-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{location-services-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{location-services-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{location-services-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{location-services-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{location-services-53557ph1.js → wellknown-53557ph1.js} +0 -0
  707. /package/dist/chunks/{location-services-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{location-services-6prwharc.js → wellknown-6prwharc.js} +0 -0
  709. /package/dist/chunks/{location-services-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{location-services-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-services-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-services-822emrt2.js → wellknown-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-services-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{location-services-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{location-services-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{location-services-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{location-services-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{location-services-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{location-services-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{location-services-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{location-services-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{location-services-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{location-services-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{location-services-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{location-services-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{location-services-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{location-services-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{location-services-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{location-services-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{location-services-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{location-services-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{location-services-df08tz66.js → wellknown-df08tz66.js} +0 -0
  733. /package/dist/chunks/{location-services-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{location-services-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
  735. /package/dist/chunks/{location-services-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-services-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-services-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-services-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-services-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-services-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-services-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-services-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-services-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-services-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{location-services-g86h250q.js → wellknown-g86h250q.js} +0 -0
  746. /package/dist/chunks/{location-services-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{location-services-gftt206x.js → wellknown-gftt206x.js} +0 -0
  748. /package/dist/chunks/{location-services-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{location-services-hk9envan.js → wellknown-hk9envan.js} +0 -0
  750. /package/dist/chunks/{location-services-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{location-services-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{location-services-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{location-services-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{location-services-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{location-services-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{location-services-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-services-m18g726c.js → wellknown-m18g726c.js} +0 -0
  758. /package/dist/chunks/{location-services-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{location-services-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{location-services-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{location-services-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{location-services-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{location-services-pkyv6v7h.js → wellknown-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{location-services-pyv0edze.js → wellknown-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{location-services-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-services-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-services-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-services-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-services-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-services-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{location-services-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-services-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-services-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-services-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{location-services-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{location-services-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{location-services-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{location-services-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{location-services-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{location-services-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{location-services-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{location-services-x61499pn.js → wellknown-x61499pn.js} +0 -0
  783. /package/dist/chunks/{location-services-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{location-services-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{location-services-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{location-services-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{location-services-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{location-services-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-services-z5v4ffb3.js";
5
+ } from "./wellknown-z5v4ffb3.js";
6
6
  import {
7
- Service43,
8
- node46
9
- } from "./location-services-23j7fmch.js";
7
+ Service72,
8
+ node75
9
+ } from "./wellknown-b35sz4x8.js";
10
10
  import {
11
11
  Content2
12
- } from "./location-services-t2wzjc4q.js";
12
+ } from "./wellknown-48a312bt.js";
13
13
  import {
14
14
  detect2
15
- } from "./location-services-3smtnn6g.js";
15
+ } from "./wellknown-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./location-services-9rqn6x4v.js";
18
+ } from "./wellknown-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: () => Service9,
36
+ Service: () => Service3,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node4,
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 Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service3 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(Service9, Effect.gen(function* () {
334
- const environment = yield* Service43;
335
- return Service9.of({
333
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
334
+ const environment = yield* Service72;
335
+ return Service3.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 node10 = makeLocationNode({ service: Service9, layer, deps: [node46] });
340
+ var node4 = makeLocationNode({ service: Service3, layer, deps: [node75] });
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, Service9, read2, node10, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service71
4
- } from "./location-services-xwk1chxv.js";
3
+ Service76
4
+ } from "./wellknown-70m17enh.js";
5
5
  import {
6
- Service66
7
- } from "./location-services-jyyk6gde.js";
6
+ Service64
7
+ } from "./wellknown-gz4a2f88.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service71;
12
+ const providers = yield* Service76;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service66);
14
+ const service = yield* Effect.serviceOption(Service64);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service84
3
- } from "./location-services-a4tbexpm.js";
2
+ Service83
3
+ } from "./wellknown-e1gprjyv.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./location-services-fwqtawms.js";
6
+ } from "./wellknown-get0e1re.js";
7
7
  import {
8
- Service20,
9
- Event4
10
- } from "./location-services-3d60bhv0.js";
8
+ Service14,
9
+ Event2
10
+ } from "./wellknown-2kmktvxs.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service20;
42
- const bus = yield* Service84;
41
+ const modelsDev = yield* Service14;
42
+ const bus = yield* Service83;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-services-rdw6cm16.js";
3
+ } from "./wellknown-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./wellknown-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service6,
13
- node: () => node7
12
+ Service: () => Service12,
13
+ node: () => node14
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service6, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service6.of({
44
+ return Service12.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
51
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
52
52
 
53
- export { Service6, node7, exports_location_watcher_policy };
53
+ export { Service12, node14, exports_location_watcher_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service84,
2
+ Service83,
3
3
  node87
4
- } from "./location-services-a4tbexpm.js";
4
+ } from "./wellknown-e1gprjyv.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-services-3t6g7wkp.js";
7
+ } from "./wellknown-n2rqx0tz.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-services-3t0ybcrp.js";
10
+ } from "./wellknown-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError5,
20
- Options: () => Options5,
19
+ NotFoundError: () => NotFoundError9,
20
+ Options: () => Options9,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service39,
23
- UnavailableError: () => UnavailableError2,
24
- available: () => available2,
25
- configured: () => configured5,
26
- layer: () => layer16,
27
- node: () => node42
22
+ Service: () => Service74,
23
+ UnavailableError: () => UnavailableError3,
24
+ available: () => available3,
25
+ configured: () => configured10,
26
+ layer: () => layer26,
27
+ node: () => node78
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- import { available as available2 } from "#persistent-pty-binary";
39
- var Options5 = Schema.Struct({
38
+ import { available as available3 } from "#persistent-pty-binary";
39
+ var Options9 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service39 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service74 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* () {
57
- const bus = yield* Service84;
56
+ var makeLayer = (options = {}) => Layer.effect(Service74, Effect.gen(function* () {
57
+ const bus = yield* Service83;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError5({ ptyID: id });
79
+ return yield* new NotFoundError9({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service39.of({
246
+ return Service74.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer16 = makeLayer();
263
- var configured5 = (options) => makeGlobalNode({
264
- service: Service39,
265
- layer: options === undefined ? layer16 : makeLayer(options),
262
+ var layer26 = makeLayer();
263
+ var configured10 = (options) => makeGlobalNode({
264
+ service: Service74,
265
+ layer: options === undefined ? layer26 : makeLayer(options),
266
266
  deps: [node87, Global.node]
267
267
  });
268
- var node42 = configured5();
268
+ var node78 = configured10();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options5, UnavailableError2, NotFoundError5, Service39, layer16, configured5, node42, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options9, UnavailableError3, NotFoundError9, Service74, layer26, configured10, node78, exports_persistent_pty, Handoff2, available3 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-services-z5v4ffb3.js";
3
+ } from "./wellknown-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./location-services-jyyk6gde.js";
6
+ Service64
7
+ } from "./wellknown-gz4a2f88.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-services-hgz4x7wa.js";
10
+ } from "./wellknown-hgz4x7wa.js";
11
11
  import {
12
- Service43
13
- } from "./location-services-23j7fmch.js";
12
+ Service72
13
+ } from "./wellknown-b35sz4x8.js";
14
14
  import {
15
- Service51
16
- } from "./location-services-2kym22yv.js";
15
+ Service52
16
+ } from "./wellknown-f3jtcjgd.js";
17
17
  import {
18
- Service54
19
- } from "./location-services-ek0xqdc4.js";
18
+ Service55
19
+ } from "./wellknown-s5t3xycc.js";
20
20
  import {
21
- Service17,
21
+ Service21,
22
22
  resolvePath2
23
- } from "./location-services-ytj3bpmw.js";
23
+ } from "./wellknown-9vgv2dzk.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-services-vzs5sf6e.js";
29
+ } from "./wellknown-vzs5sf6e.js";
30
30
  import {
31
- Service42,
31
+ Service75,
32
32
  name15
33
- } from "./location-services-3t6g7wkp.js";
33
+ } from "./wellknown-n2rqx0tz.js";
34
34
  import {
35
- NotFoundError6,
36
- Service40
37
- } from "./location-services-75tmef9h.js";
35
+ NotFoundError8,
36
+ Service62
37
+ } from "./wellknown-jzhqdw0v.js";
38
38
  import {
39
- Service24
40
- } from "./location-services-sf4bsm1d.js";
39
+ Service28
40
+ } from "./wellknown-5g2qt2wz.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-services-44t855md.js";
43
+ } from "./wellknown-5eaq8z03.js";
44
44
  import {
45
45
  __export
46
- } from "./location-services-9rqn6x4v.js";
46
+ } from "./wellknown-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input4,
53
- Plugin: () => Plugin40,
54
- ShellTool: () => exports_shell2,
55
- name: () => name4
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin9,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name4 = "shell";
60
+ var name8 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input4 = Schema.Struct({
74
+ var Input8 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin40 = {
120
+ var Plugin9 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service24;
124
- const jobs = yield* Service51;
123
+ const sessions = yield* Service28;
124
+ const jobs = yield* Service52;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service43;
127
- const access = yield* Service17;
128
- const shell = yield* Service40;
129
- const shellSelect = yield* Service42;
126
+ const environment = yield* Service72;
127
+ const access = yield* Service21;
128
+ const shell = yield* Service62;
129
+ const shellSelect = yield* Service75;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service54;
132
- const config = yield* Service66;
131
+ const permission = yield* Service55;
132
+ const config = yield* Service64;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin40 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name4,
151
+ action: name8,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin40 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name4,
188
+ name: name8,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input4,
191
+ input: Input8,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin40 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError6({ id: info.id });
214
+ return yield* new NotFoundError8({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name4,
228
+ type: name8,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name4];
258
+ const tool = event.tools[name8];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin40, exports_shell2 };
269
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin9, exports_shell };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./location-services-550bvhaj.js";
3
+ } from "./wellknown-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./location-services-j5zkgpj8.js";
6
+ } from "./wellknown-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./location-services-3asan66x.js";
9
+ } from "./wellknown-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./location-services-2vgzs72b.js";
12
+ } from "./wellknown-xw8eq9f1.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service54
3
- } from "./location-services-ek0xqdc4.js";
2
+ Service55
3
+ } from "./wellknown-s5t3xycc.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./location-services-4vcrnpx2.js";
7
+ } from "./wellknown-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./location-services-3v8g72cx.js";
10
+ } from "./wellknown-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./wellknown-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input5,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input10,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin41,
22
+ Plugin: () => Plugin12,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name5
27
+ name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name5 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name10 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input5 = Schema.Struct({
41
+ var Input10 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input5.fields.format,
51
+ format: Input10.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin41 = {
95
+ var Plugin12 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service54;
99
+ const permission = yield* Service55;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name5,
101
+ name: name10,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input5,
103
+ description: description4,
104
+ input: Input10,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin41 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name5,
112
+ action: name10,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input5, Plugin41, extractTextFromHTML2, exports_webfetch };
170
+ export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin12, extractTextFromHTML2, exports_webfetch };