@opencode-ai/core 0.0.0-dev-19102 → 0.0.0-dev-19105

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 (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{persistent-pty-sy4zz7rh.js → repository-cache-05pstytc.js} +13 -13
  9. package/dist/chunks/{persistent-pty-0e0xafbb.js → repository-cache-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{persistent-pty-kbyz2dkt.js → repository-cache-0gq9h64r.js} +9 -9
  11. package/dist/chunks/{persistent-pty-3rtc4tqa.js → repository-cache-0n2a45ev.js} +6 -6
  12. package/dist/chunks/{persistent-pty-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{persistent-pty-ak38yve4.js → repository-cache-0qhg2ys8.js} +9 -9
  14. package/dist/chunks/{persistent-pty-0s9ayhjt.js → repository-cache-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{persistent-pty-gkdfetxb.js → repository-cache-0vekmfs4.js} +10 -10
  16. package/dist/chunks/{persistent-pty-xmtn9a9r.js → repository-cache-0w2scgpv.js} +27 -27
  17. package/dist/chunks/{persistent-pty-msxx7emw.js → repository-cache-18gap71y.js} +26 -26
  18. package/dist/chunks/{persistent-pty-1ct4r87x.js → repository-cache-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{persistent-pty-1f1wzhgc.js → repository-cache-1f1wzhgc.js} +1 -1
  20. package/dist/chunks/{persistent-pty-nrse418z.js → repository-cache-1pxb6me4.js} +20 -20
  21. package/dist/chunks/{persistent-pty-bn8089at.js → repository-cache-1wze5k7w.js} +11 -11
  22. package/dist/chunks/{persistent-pty-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  23. package/dist/chunks/{persistent-pty-fn2zck2h.js → repository-cache-220r9699.js} +14 -14
  24. package/dist/chunks/{persistent-pty-2402vzrj.js → repository-cache-2402vzrj.js} +1 -1
  25. package/dist/chunks/{persistent-pty-97f5v037.js → repository-cache-28pcbh69.js} +4 -4
  26. package/dist/chunks/{persistent-pty-1s4k183h.js → repository-cache-29ez19kp.js} +18 -18
  27. package/dist/chunks/{persistent-pty-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{persistent-pty-2ht70gj7.js → repository-cache-2ht70gj7.js} +1 -1
  29. package/dist/chunks/{persistent-pty-2jqmte8w.js → repository-cache-2jqmte8w.js} +2 -2
  30. package/dist/chunks/{persistent-pty-x2rt1cxd.js → repository-cache-2kykh1mj.js} +5 -5
  31. package/dist/chunks/{persistent-pty-h2st8tcp.js → repository-cache-2m4g9ewj.js} +18 -18
  32. package/dist/chunks/{persistent-pty-6h414ywr.js → repository-cache-2qg97hzz.js} +5 -5
  33. package/dist/chunks/{persistent-pty-wctfcgtb.js → repository-cache-32pxk2gf.js} +6 -6
  34. package/dist/chunks/{persistent-pty-36mzbjn4.js → repository-cache-36mzbjn4.js} +1 -1
  35. package/dist/chunks/{persistent-pty-nt2wbfgf.js → repository-cache-394hfvj3.js} +23 -23
  36. package/dist/chunks/{persistent-pty-qmkhq1hj.js → repository-cache-39xga0q8.js} +10 -10
  37. package/dist/chunks/{persistent-pty-fgj7dkc9.js → repository-cache-3aydfa36.js} +6 -6
  38. package/dist/chunks/{persistent-pty-c4ka2x60.js → repository-cache-3dfc520q.js} +35 -35
  39. package/dist/chunks/{persistent-pty-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{persistent-pty-za3gge5n.js → repository-cache-3fs6zsnx.js} +28 -28
  41. package/dist/chunks/{persistent-pty-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{persistent-pty-gqdgqbeh.js → repository-cache-3jwx3mex.js} +5 -5
  43. package/dist/chunks/{persistent-pty-c2c0m65v.js → repository-cache-3q2746ky.js} +35 -35
  44. package/dist/chunks/{persistent-pty-3qzbfqsy.js → repository-cache-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{persistent-pty-craj34q5.js → repository-cache-3s9gm80q.js} +24 -24
  46. package/dist/chunks/{persistent-pty-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{persistent-pty-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{persistent-pty-20jvp80s.js → repository-cache-3zmf0rfa.js} +8 -8
  49. package/dist/chunks/{persistent-pty-454k5vzh.js → repository-cache-454k5vzh.js} +1 -1
  50. package/dist/chunks/{persistent-pty-vwnnwet6.js → repository-cache-49yh3bfh.js} +50 -50
  51. package/dist/chunks/{persistent-pty-247ymhap.js → repository-cache-4ehv4ads.js} +1 -1
  52. package/dist/chunks/{persistent-pty-ts7bph5s.js → repository-cache-4jjgfsa5.js} +85 -85
  53. package/dist/chunks/{persistent-pty-aj6efch7.js → repository-cache-4pem94xn.js} +12 -12
  54. package/dist/chunks/{persistent-pty-4r2nyarf.js → repository-cache-4r2nyarf.js} +1 -1
  55. package/dist/chunks/{persistent-pty-k50eqkg3.js → repository-cache-546r5bpn.js} +13 -13
  56. package/dist/chunks/{persistent-pty-ne5w19nk.js → repository-cache-563f1ftq.js} +29 -29
  57. package/dist/chunks/{persistent-pty-j90p7j59.js → repository-cache-57j4c7ba.js} +4 -4
  58. package/dist/chunks/{persistent-pty-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  59. package/dist/chunks/repository-cache-5evhmzwd.js +243 -0
  60. package/dist/chunks/{persistent-pty-5fmxt4p5.js → repository-cache-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{persistent-pty-5jvc5tg2.js → repository-cache-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{persistent-pty-s8g36k60.js → repository-cache-5pcq40vq.js} +4 -4
  63. package/dist/chunks/{persistent-pty-5tfcvdvj.js → repository-cache-5pn8t89y.js} +5 -5
  64. package/dist/chunks/{persistent-pty-ez5b8bq3.js → repository-cache-5sg4xzjf.js} +7 -7
  65. package/dist/chunks/{persistent-pty-0jwsre1p.js → repository-cache-607tc6va.js} +5 -5
  66. package/dist/chunks/{persistent-pty-h8q6a69m.js → repository-cache-630pqp47.js} +23 -23
  67. package/dist/chunks/{persistent-pty-7k5q7gm2.js → repository-cache-63mar4rr.js} +21 -21
  68. package/dist/chunks/{persistent-pty-6d0jr2jk.js → repository-cache-656jcyx5.js} +30 -30
  69. package/dist/chunks/{persistent-pty-e3vpkeje.js → repository-cache-66fanshm.js} +13 -13
  70. package/dist/chunks/{persistent-pty-68qdqky7.js → repository-cache-6fb8xvtg.js} +18 -18
  71. package/dist/chunks/{persistent-pty-6tf8tr4v.js → repository-cache-6tf8tr4v.js} +2 -2
  72. package/dist/chunks/{persistent-pty-rpksmvzr.js → repository-cache-6v1jh7bb.js} +11 -11
  73. package/dist/chunks/{persistent-pty-6z5bwd8g.js → repository-cache-6z5bwd8g.js} +2 -2
  74. package/dist/chunks/{persistent-pty-711hfp6y.js → repository-cache-711hfp6y.js} +2 -2
  75. package/dist/chunks/{persistent-pty-88fw41mx.js → repository-cache-748kwc47.js} +16 -16
  76. package/dist/chunks/{persistent-pty-sagqnce1.js → repository-cache-74kdhb1m.js} +3 -3
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-6kgy03tf.js → repository-cache-7j312h9m.js} +11 -11
  79. package/dist/chunks/{persistent-pty-xw378f4n.js → repository-cache-7sfv3p2m.js} +28 -28
  80. package/dist/chunks/{persistent-pty-yvyswnaa.js → repository-cache-84fw9q5z.js} +9 -9
  81. package/dist/chunks/{persistent-pty-n50399pa.js → repository-cache-84j2v9xn.js} +10 -10
  82. package/dist/chunks/{persistent-pty-89znhe33.js → repository-cache-89znhe33.js} +1 -1
  83. package/dist/chunks/{persistent-pty-f02rj1me.js → repository-cache-8a1r08v4.js} +82 -82
  84. package/dist/chunks/repository-cache-8b4ae33c.js +450 -0
  85. package/dist/chunks/{persistent-pty-1tag838h.js → repository-cache-8bx7t8v6.js} +27 -27
  86. package/dist/chunks/{persistent-pty-2b6y700x.js → repository-cache-8gd1dzb2.js} +39 -39
  87. package/dist/chunks/{persistent-pty-f44dq202.js → repository-cache-8m2jrjp3.js} +2 -2
  88. package/dist/chunks/{persistent-pty-yxzxwnyx.js → repository-cache-8x01vjp4.js} +9 -9
  89. package/dist/chunks/{persistent-pty-y2cqme3r.js → repository-cache-93a8yfjt.js} +5 -5
  90. package/dist/chunks/{persistent-pty-63kze1d3.js → repository-cache-9gq6sz2t.js} +4 -4
  91. package/dist/chunks/{persistent-pty-rvn46zq7.js → repository-cache-9qj8fy7h.js} +9 -9
  92. package/dist/chunks/{persistent-pty-9qm9egsn.js → repository-cache-9qm9egsn.js} +2 -2
  93. package/dist/chunks/{persistent-pty-fa2er9zw.js → repository-cache-9renkqs2.js} +9 -9
  94. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  95. package/dist/chunks/{persistent-pty-a202dayn.js → repository-cache-9z8gssse.js} +12 -12
  96. package/dist/chunks/{persistent-pty-bpyfw359.js → repository-cache-a82a9vrx.js} +8 -8
  97. package/dist/chunks/{persistent-pty-m3fm0fm8.js → repository-cache-a9zfrvqc.js} +5 -5
  98. package/dist/chunks/{persistent-pty-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  99. package/dist/chunks/{persistent-pty-sgh09qtt.js → repository-cache-ab3wbpm9.js} +24 -24
  100. package/dist/chunks/{persistent-pty-ajtjthsy.js → repository-cache-ajtjthsy.js} +2 -2
  101. package/dist/chunks/{persistent-pty-acdzekmc.js → repository-cache-avnqhz03.js} +15 -15
  102. package/dist/chunks/{persistent-pty-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{persistent-pty-70203jtn.js → repository-cache-b7x2d8ke.js} +29 -29
  104. package/dist/chunks/{persistent-pty-b9wsbatv.js → repository-cache-b9wsbatv.js} +1 -1
  105. package/dist/chunks/{persistent-pty-tgpxmjaj.js → repository-cache-bej7k3ry.js} +21 -21
  106. package/dist/chunks/{persistent-pty-s1zas8dv.js → repository-cache-bnrckxde.js} +9 -9
  107. package/dist/chunks/{persistent-pty-gpkgrk3z.js → repository-cache-bpnz08mb.js} +2 -2
  108. package/dist/chunks/{persistent-pty-a80d3v2r.js → repository-cache-bsgfd7rs.js} +15 -15
  109. package/dist/chunks/{persistent-pty-twtpgget.js → repository-cache-btx77ktp.js} +10 -10
  110. package/dist/chunks/{persistent-pty-gev0qjxp.js → repository-cache-bx4kw4b4.js} +13 -13
  111. package/dist/chunks/{persistent-pty-edaf3eyg.js → repository-cache-c9j6j8xv.js} +20 -20
  112. package/dist/chunks/{persistent-pty-2ghkytyg.js → repository-cache-ccebnpq3.js} +36 -36
  113. package/dist/chunks/{persistent-pty-vqxj4jm3.js → repository-cache-cpj9epp9.js} +24 -24
  114. package/dist/chunks/{persistent-pty-5mdrv3hm.js → repository-cache-cqg8v4c7.js} +4 -4
  115. package/dist/chunks/{persistent-pty-1r9xt4cr.js → repository-cache-d25s7832.js} +24 -24
  116. package/dist/chunks/{persistent-pty-kbg5ppnb.js → repository-cache-d4pa9p4x.js} +7 -7
  117. package/dist/chunks/{persistent-pty-d72308c8.js → repository-cache-d72308c8.js} +2 -2
  118. package/dist/chunks/{persistent-pty-2tn9agq3.js → repository-cache-da9t65db.js} +28 -28
  119. package/dist/chunks/{persistent-pty-8g20mv6s.js → repository-cache-darvehcf.js} +14 -14
  120. package/dist/chunks/{persistent-pty-gynq7mwy.js → repository-cache-dmjcn6k2.js} +15 -15
  121. package/dist/chunks/{persistent-pty-2pr8vdab.js → repository-cache-dnbc70qt.js} +37 -37
  122. package/dist/chunks/{persistent-pty-nzf6eghd.js → repository-cache-drxzgfe8.js} +10 -10
  123. package/dist/chunks/{persistent-pty-a3x9xvd8.js → repository-cache-e7gxy7fd.js} +4 -4
  124. package/dist/chunks/{persistent-pty-0g7k506p.js → repository-cache-eb943jbd.js} +10 -10
  125. package/dist/chunks/{persistent-pty-s6qgbjky.js → repository-cache-edbshx5x.js} +6 -6
  126. package/dist/chunks/{persistent-pty-ac3j6t8f.js → repository-cache-efcf8wyf.js} +8 -8
  127. package/dist/chunks/{persistent-pty-82aytm87.js → repository-cache-eq19x63z.js} +1 -1
  128. package/dist/chunks/repository-cache-ex6jvk62.js +20 -0
  129. package/dist/chunks/{persistent-pty-97tyj6c6.js → repository-cache-ey40d2qc.js} +24 -24
  130. package/dist/chunks/{persistent-pty-zbqrcwzf.js → repository-cache-f6b02bh3.js} +20 -20
  131. package/dist/chunks/{persistent-pty-0w19ktq4.js → repository-cache-favyzkqq.js} +2 -2
  132. package/dist/chunks/{persistent-pty-54bnqtv9.js → repository-cache-fczys2jv.js} +17 -17
  133. package/dist/chunks/{persistent-pty-xspyb9m3.js → repository-cache-fdsjkpmm.js} +8 -8
  134. package/dist/chunks/{persistent-pty-1g7epwpd.js → repository-cache-fdv30zvt.js} +4 -4
  135. package/dist/chunks/{persistent-pty-rmpjenwd.js → repository-cache-fk96haxh.js} +11 -11
  136. package/dist/chunks/{persistent-pty-shbsgx5h.js → repository-cache-fnptnz5b.js} +10 -10
  137. package/dist/chunks/{persistent-pty-bqgp69re.js → repository-cache-fr45shcv.js} +15 -15
  138. package/dist/chunks/{persistent-pty-d8brfqjj.js → repository-cache-fryr0adr.js} +13 -13
  139. package/dist/chunks/{persistent-pty-fxbjtjnd.js → repository-cache-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{persistent-pty-fxypknc8.js → repository-cache-fxypknc8.js} +1 -1
  141. package/dist/chunks/{persistent-pty-t7dkb9mz.js → repository-cache-fy84afhm.js} +7 -7
  142. package/dist/chunks/{persistent-pty-xa3k010d.js → repository-cache-g43zmwxj.js} +36 -36
  143. package/dist/chunks/{persistent-pty-8tj73bzm.js → repository-cache-g5s092ab.js} +3 -3
  144. package/dist/chunks/{persistent-pty-ta4jwntf.js → repository-cache-gbkf9b04.js} +4 -4
  145. package/dist/chunks/{persistent-pty-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{persistent-pty-rs8bkfty.js → repository-cache-gdgf4bzy.js} +2 -2
  147. package/dist/chunks/{persistent-pty-64fqqfmx.js → repository-cache-grxhsk7a.js} +8 -8
  148. package/dist/chunks/{persistent-pty-skfe9q3s.js → repository-cache-h143p8q2.js} +46 -46
  149. package/dist/chunks/{persistent-pty-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{persistent-pty-r60qd0ca.js → repository-cache-h6x65x9a.js} +20 -20
  151. package/dist/chunks/{persistent-pty-heyhwy2w.js → repository-cache-heyhwy2w.js} +1 -1
  152. package/dist/chunks/{persistent-pty-c5g21jc3.js → repository-cache-hn2rbvre.js} +9 -9
  153. package/dist/chunks/{persistent-pty-738s90ft.js → repository-cache-hqpvkzyp.js} +7 -7
  154. package/dist/chunks/{persistent-pty-hrvm11jt.js → repository-cache-hrvm11jt.js} +3 -3
  155. package/dist/chunks/{persistent-pty-kvsjn1dr.js → repository-cache-hw4pv20g.js} +2 -2
  156. package/dist/chunks/{persistent-pty-smgpfta5.js → repository-cache-hzrqpb26.js} +12 -12
  157. package/dist/chunks/{persistent-pty-ckev9kd7.js → repository-cache-hzxq4bdr.js} +3 -3
  158. package/dist/chunks/{persistent-pty-pzjeeacc.js → repository-cache-j3pby61b.js} +6 -6
  159. package/dist/chunks/{persistent-pty-qg20g60x.js → repository-cache-j4gz6jpe.js} +15 -15
  160. package/dist/chunks/{persistent-pty-a0q04gk3.js → repository-cache-j5enze0m.js} +4 -4
  161. package/dist/chunks/{persistent-pty-5qd3pb7m.js → repository-cache-j935v87r.js} +2 -2
  162. package/dist/chunks/{persistent-pty-twy2b4zd.js → repository-cache-jfzxswtj.js} +8 -8
  163. package/dist/chunks/{persistent-pty-m1ggyr73.js → repository-cache-jj3qxa52.js} +4 -4
  164. package/dist/chunks/{persistent-pty-gjswkc62.js → repository-cache-jpeny003.js} +30 -30
  165. package/dist/chunks/{persistent-pty-jwcy2c2z.js → repository-cache-jwcy2c2z.js} +1 -1
  166. package/dist/chunks/{persistent-pty-3t5jsk6c.js → repository-cache-jyp7qw1b.js} +12 -12
  167. package/dist/chunks/{persistent-pty-73tf0mnp.js → repository-cache-k2hym4j5.js} +45 -45
  168. package/dist/chunks/{persistent-pty-k4bwy1x5.js → repository-cache-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{persistent-pty-628cc3h3.js → repository-cache-k6tca84x.js} +16 -16
  170. package/dist/chunks/{persistent-pty-kg06axw8.js → repository-cache-kg06axw8.js} +1 -1
  171. package/dist/chunks/{persistent-pty-m79fg301.js → repository-cache-kj3dqcxb.js} +15 -15
  172. package/dist/chunks/{persistent-pty-yfbd16n1.js → repository-cache-kk3rr3qh.js} +5 -5
  173. package/dist/chunks/{persistent-pty-zhhz7vvj.js → repository-cache-kk7gmv6r.js} +24 -24
  174. package/dist/chunks/{persistent-pty-cf6j12q4.js → repository-cache-kwx7x66f.js} +14 -14
  175. package/dist/chunks/{persistent-pty-g1v92phv.js → repository-cache-m207hpws.js} +1 -1
  176. package/dist/chunks/{persistent-pty-by7j3p9d.js → repository-cache-m3tecxrk.js} +11 -11
  177. package/dist/chunks/{persistent-pty-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{persistent-pty-nca7p386.js → repository-cache-marnn1hp.js} +7 -7
  179. package/dist/chunks/{persistent-pty-x15v48ws.js → repository-cache-mg7j0d2q.js} +15 -15
  180. package/dist/chunks/{persistent-pty-eq1pz5kg.js → repository-cache-mhkvc446.js} +3 -3
  181. package/dist/chunks/{persistent-pty-serxh5qa.js → repository-cache-mj85qk29.js} +6 -6
  182. package/dist/chunks/{persistent-pty-qp6zthdp.js → repository-cache-mnvbmvrb.js} +20 -20
  183. package/dist/chunks/{persistent-pty-1nk2mnc0.js → repository-cache-mq9r6drf.js} +3 -3
  184. package/dist/chunks/{persistent-pty-6ykkc5x7.js → repository-cache-n9q77z0r.js} +31 -31
  185. package/dist/chunks/{persistent-pty-b6xfkz6v.js → repository-cache-nb22s6w0.js} +32 -32
  186. package/dist/chunks/{persistent-pty-7x0f5kvq.js → repository-cache-nc48n2wr.js} +11 -11
  187. package/dist/chunks/{persistent-pty-qqbjvkxt.js → repository-cache-ne45hhcm.js} +48 -48
  188. package/dist/chunks/{persistent-pty-0d5mggnk.js → repository-cache-npqm4cqn.js} +22 -22
  189. package/dist/chunks/{persistent-pty-d7zznenn.js → repository-cache-nrz5c8c1.js} +9 -9
  190. package/dist/chunks/{persistent-pty-369x3t65.js → repository-cache-nwkrf4xa.js} +4 -4
  191. package/dist/chunks/{persistent-pty-wvx09938.js → repository-cache-nzmvpftv.js} +12 -12
  192. package/dist/chunks/{persistent-pty-zcc5h559.js → repository-cache-p7cz5004.js} +15 -15
  193. package/dist/chunks/{persistent-pty-zja0h37x.js → repository-cache-pafd5yw5.js} +3 -3
  194. package/dist/chunks/{persistent-pty-ameg2vx3.js → repository-cache-pbxt2nhv.js} +1 -1
  195. package/dist/chunks/{persistent-pty-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{persistent-pty-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  197. package/dist/chunks/{persistent-pty-y6raa7nc.js → repository-cache-ppjk6hn1.js} +35 -35
  198. package/dist/chunks/{persistent-pty-jnhf5mef.js → repository-cache-pq15x4g3.js} +1 -1
  199. package/dist/chunks/{persistent-pty-bzc17vb9.js → repository-cache-pv7qv44g.js} +3 -3
  200. package/dist/chunks/{persistent-pty-kpyq2w0f.js → repository-cache-pwxeq6k8.js} +3 -3
  201. package/dist/chunks/{persistent-pty-w40bmgb5.js → repository-cache-pz6mwber.js} +21 -21
  202. package/dist/chunks/{persistent-pty-1mdarqb0.js → repository-cache-q2jmrb6y.js} +32 -32
  203. package/dist/chunks/{persistent-pty-tckacx9z.js → repository-cache-q4gqerdf.js} +30 -30
  204. package/dist/chunks/{persistent-pty-yzp432d8.js → repository-cache-q4xszad5.js} +34 -34
  205. package/dist/chunks/{persistent-pty-w6z2g4f7.js → repository-cache-qccqznv7.js} +26 -26
  206. package/dist/chunks/{persistent-pty-4xjdkfjs.js → repository-cache-qkxs7z50.js} +18 -18
  207. package/dist/chunks/{persistent-pty-0v9kxdr7.js → repository-cache-qm4x1tv3.js} +17 -17
  208. package/dist/chunks/{persistent-pty-010ymet8.js → repository-cache-qnhdtvjf.js} +4 -4
  209. package/dist/chunks/{persistent-pty-cqzeme2b.js → repository-cache-qrd9jmab.js} +16 -16
  210. package/dist/chunks/{persistent-pty-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  211. package/dist/chunks/{persistent-pty-mbapk581.js → repository-cache-r7jfqefa.js} +38 -38
  212. package/dist/chunks/{persistent-pty-c47xcf4v.js → repository-cache-r83xrjyd.js} +17 -17
  213. package/dist/chunks/{persistent-pty-r8dhm0tv.js → repository-cache-r8dhm0tv.js} +1 -1
  214. package/dist/chunks/{persistent-pty-3j6zyyvs.js → repository-cache-rcwznz6s.js} +28 -28
  215. package/dist/chunks/{persistent-pty-stfay7w2.js → repository-cache-rcy0rrp8.js} +59 -59
  216. package/dist/chunks/{persistent-pty-dba19q6g.js → repository-cache-remvd9dc.js} +34 -34
  217. package/dist/chunks/{persistent-pty-70nq51cn.js → repository-cache-rgkby237.js} +20 -20
  218. package/dist/chunks/{persistent-pty-pae9v2p1.js → repository-cache-rmkjmdgc.js} +4 -4
  219. package/dist/chunks/{persistent-pty-s3kg5m6x.js → repository-cache-rykn30ym.js} +14 -14
  220. package/dist/chunks/{persistent-pty-03xjq0tm.js → repository-cache-s6yp8zxq.js} +13 -13
  221. package/dist/chunks/{persistent-pty-sba4qhjf.js → repository-cache-sba4qhjf.js} +1 -1
  222. package/dist/chunks/{persistent-pty-m7khsb1d.js → repository-cache-sgycpjz0.js} +20 -20
  223. package/dist/chunks/{persistent-pty-me6p58dn.js → repository-cache-sk3frpwf.js} +25 -25
  224. package/dist/chunks/{persistent-pty-scarvxmk.js → repository-cache-sqwe93rn.js} +11 -11
  225. package/dist/chunks/{persistent-pty-mpzahx5f.js → repository-cache-ssw3vdak.js} +155 -155
  226. package/dist/chunks/{persistent-pty-06b9fxmy.js → repository-cache-svsveg1x.js} +27 -27
  227. package/dist/chunks/{persistent-pty-an7cqtb7.js → repository-cache-sx1n432n.js} +4 -4
  228. package/dist/chunks/{persistent-pty-ss7602g3.js → repository-cache-t1s1k0sf.js} +21 -21
  229. package/dist/chunks/{persistent-pty-n8bbtjn9.js → repository-cache-t5ghet4f.js} +11 -11
  230. package/dist/chunks/{persistent-pty-af5cxv86.js → repository-cache-t7qz6q2a.js} +55 -55
  231. package/dist/chunks/{persistent-pty-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{persistent-pty-1nknpwm3.js → repository-cache-tdjcc7fh.js} +4 -4
  233. package/dist/chunks/{persistent-pty-thfv75je.js → repository-cache-thfv75je.js} +2 -2
  234. package/dist/chunks/{persistent-pty-tjykrgmx.js → repository-cache-tjykrgmx.js} +1 -1
  235. package/dist/chunks/{persistent-pty-ymbwt96j.js → repository-cache-tppvcy65.js} +9 -9
  236. package/dist/chunks/{persistent-pty-vng46sf0.js → repository-cache-trwew4qa.js} +4 -4
  237. package/dist/chunks/{persistent-pty-ajyamx78.js → repository-cache-v1sap15r.js} +9 -9
  238. package/dist/chunks/{persistent-pty-jn521bbx.js → repository-cache-v4bb5bjz.js} +58 -58
  239. package/dist/chunks/{persistent-pty-we5ggtsr.js → repository-cache-v69gwcvd.js} +11 -11
  240. package/dist/chunks/{persistent-pty-d3baj57q.js → repository-cache-v807t513.js} +15 -15
  241. package/dist/chunks/{persistent-pty-x92yqmyb.js → repository-cache-vcxmff2j.js} +31 -31
  242. package/dist/chunks/{persistent-pty-ftr4qpk4.js → repository-cache-vejcm8dx.js} +9 -9
  243. package/dist/chunks/{persistent-pty-66b3gex4.js → repository-cache-vfj1gh84.js} +22 -22
  244. package/dist/chunks/{persistent-pty-xr14zjyh.js → repository-cache-vk1xmwae.js} +14 -14
  245. package/dist/chunks/{persistent-pty-8jkpz5pq.js → repository-cache-vmca7sfr.js} +6 -6
  246. package/dist/chunks/{persistent-pty-yawraddd.js → repository-cache-vnh2yqr1.js} +16 -16
  247. package/dist/chunks/repository-cache-w3vb4krt.js +4 -0
  248. package/dist/chunks/{persistent-pty-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{persistent-pty-rb1agnwm.js → repository-cache-w9h2daj1.js} +10 -10
  250. package/dist/chunks/{persistent-pty-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  251. package/dist/chunks/{persistent-pty-eerwjj66.js → repository-cache-wjk9qnse.js} +44 -44
  252. package/dist/chunks/{persistent-pty-30janqm6.js → repository-cache-wr76wy0j.js} +22 -22
  253. package/dist/chunks/{persistent-pty-ykczf8eq.js → repository-cache-wr7ps67x.js} +5 -5
  254. package/dist/chunks/{persistent-pty-w7y9r27g.js → repository-cache-ws0jz6qs.js} +43 -43
  255. package/dist/chunks/{persistent-pty-vrxbpmbb.js → repository-cache-wshx1hjc.js} +46 -46
  256. package/dist/chunks/{persistent-pty-ddbc03cc.js → repository-cache-wvwx3b6d.js} +1 -1
  257. package/dist/chunks/{persistent-pty-f4ywn050.js → repository-cache-wydngvmw.js} +17 -17
  258. package/dist/chunks/{persistent-pty-d030bd0f.js → repository-cache-wyetrkgt.js} +11 -11
  259. package/dist/chunks/{persistent-pty-81xmbs00.js → repository-cache-wz5fptb2.js} +30 -30
  260. package/dist/chunks/{persistent-pty-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{persistent-pty-10pzdvzd.js → repository-cache-x5yepr7q.js} +7 -7
  262. package/dist/chunks/{persistent-pty-w5g2dnw1.js → repository-cache-xb07znzv.js} +39 -39
  263. package/dist/chunks/{persistent-pty-j8xe25ng.js → repository-cache-xbmkhb6r.js} +25 -25
  264. package/dist/chunks/{persistent-pty-fhzfk9q0.js → repository-cache-xmjfe6wn.js} +23 -23
  265. package/dist/chunks/{persistent-pty-2rjhfz2z.js → repository-cache-xqfsn8ey.js} +9 -9
  266. package/dist/chunks/{persistent-pty-eyrpjw8c.js → repository-cache-xye0m3vs.js} +26 -26
  267. package/dist/chunks/{persistent-pty-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{persistent-pty-czrfnqv4.js → repository-cache-yb77q6ts.js} +17 -17
  269. package/dist/chunks/{persistent-pty-a62e05n8.js → repository-cache-yesb68we.js} +5 -5
  270. package/dist/chunks/{persistent-pty-97058x90.js → repository-cache-yfcq4873.js} +3 -3
  271. package/dist/chunks/{persistent-pty-y89bt055.js → repository-cache-yj47mv1v.js} +11 -11
  272. package/dist/chunks/{persistent-pty-yzd93mfj.js → repository-cache-yzd93mfj.js} +2 -2
  273. package/dist/chunks/{persistent-pty-c3e32yye.js → repository-cache-z0svzngc.js} +32 -32
  274. package/dist/chunks/{persistent-pty-z1k01bn4.js → repository-cache-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{persistent-pty-8hxn7kz0.js → repository-cache-z30gy60d.js} +20 -20
  276. package/dist/chunks/{persistent-pty-4kav5gz3.js → repository-cache-z3x7m4xk.js} +9 -9
  277. package/dist/chunks/{persistent-pty-fjkyzcze.js → repository-cache-z44ta873.js} +6 -6
  278. package/dist/chunks/{persistent-pty-6svye9h2.js → repository-cache-z59zzgt4.js} +9 -9
  279. package/dist/chunks/{persistent-pty-29x78va6.js → repository-cache-z63w68vq.js} +6 -6
  280. package/dist/chunks/{persistent-pty-g2c9bhkq.js → repository-cache-zfdtt056.js} +6 -6
  281. package/dist/chunks/{persistent-pty-7dz4r7mk.js → repository-cache-zvnk5jqh.js} +8 -8
  282. package/dist/chunks/{persistent-pty-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +77 -77
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +205 -205
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +123 -123
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +116 -116
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +80 -80
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +72 -72
  402. package/dist/file-mutation.js +85 -85
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +1 -1
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +15 -15
  416. package/dist/filesystem.js +96 -96
  417. package/dist/form.js +80 -80
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +84 -84
  420. package/dist/generate.js +86 -86
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +7 -7
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +86 -86
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +83 -83
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +84 -84
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +98 -98
  461. package/dist/mcp/instructions.js +118 -118
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +8 -8
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +78 -78
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +107 -107
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +84 -84
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +96 -96
  479. package/dist/plugin/command.js +93 -93
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +208 -208
  482. package/dist/plugin/instance.js +3 -3
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +4 -4
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +79 -79
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +5 -5
  527. package/dist/plugin/skill.js +129 -129
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +5 -5
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +2 -2
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +2 -2
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +211 -211
  543. package/dist/project/schema.js +8 -8
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +85 -85
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +82 -82
  552. package/dist/reference.js +84 -84
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +77 -77
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +127 -127
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +217 -217
  566. package/dist/session/execution.js +118 -118
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +82 -82
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +4 -4
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +5 -5
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +3 -3
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +1 -1
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +213 -213
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +211 -211
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +9 -9
  610. package/dist/shell.js +132 -132
  611. package/dist/skill/discovery.js +6 -6
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +84 -84
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +119 -119
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +117 -117
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +114 -114
  625. package/dist/tool/plugin/question.js +99 -99
  626. package/dist/tool/plugin/read.js +118 -118
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +212 -212
  630. package/dist/tool/plugin/webfetch.js +104 -104
  631. package/dist/tool/plugin/websearch.js +108 -108
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +6 -6
  636. package/dist/tool.js +11 -11
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +3 -3
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +5 -5
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +3 -3
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +5 -5
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +2 -2
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +82 -82
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +77 -77
  666. package/dist/workspace/driver.js +5 -5
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +78 -78
  669. package/dist/worktree/directory.js +4 -4
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +90 -90
  673. package/package.json +7 -7
  674. package/dist/chunks/persistent-pty-35chk74t.js +0 -4
  675. package/dist/chunks/persistent-pty-40ke5ycv.js +0 -18
  676. package/dist/chunks/persistent-pty-ch0he8ej.js +0 -450
  677. package/dist/chunks/persistent-pty-qqytqg20.js +0 -243
  678. package/dist/chunks/persistent-pty-zy35xm16.js +0 -20
  679. /package/dist/chunks/{persistent-pty-0fabt78z.js → repository-cache-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{persistent-pty-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{persistent-pty-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{persistent-pty-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{persistent-pty-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{persistent-pty-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-3t738kvx.js → repository-cache-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-41nvscxy.js → repository-cache-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-982e01ww.js → repository-cache-982e01ww.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-a1tpkmh4.js → repository-cache-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-mntxs535.js → repository-cache-mntxs535.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-p8qxwesx.js → repository-cache-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-se0s1eqw.js → repository-cache-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-twg0f83k.js → repository-cache-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-x1b8g1yb.js → repository-cache-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-zbjnn3ac.js → repository-cache-zbjnn3ac.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./persistent-pty-2a5m3afh.js";
5
+ } from "./repository-cache-2a5m3afh.js";
6
6
  import {
7
- Service67
8
- } from "./persistent-pty-c47xcf4v.js";
7
+ Service76
8
+ } from "./repository-cache-r83xrjyd.js";
9
9
  import {
10
- Service66
11
- } from "./persistent-pty-vqxj4jm3.js";
10
+ Service73
11
+ } from "./repository-cache-cpj9epp9.js";
12
12
  import {
13
- Service50
14
- } from "./persistent-pty-68qdqky7.js";
13
+ Service75
14
+ } from "./repository-cache-6fb8xvtg.js";
15
15
  import {
16
16
  Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./persistent-pty-kbg5ppnb.js";
19
+ } from "./repository-cache-d4pa9p4x.js";
20
20
  import {
21
21
  externalDirectoryPermission2,
22
22
  resolvePath2,
23
- Service38
24
- } from "./persistent-pty-628cc3h3.js";
23
+ Service20
24
+ } from "./repository-cache-k6tca84x.js";
25
25
  import {
26
- Service40
27
- } from "./persistent-pty-af5cxv86.js";
26
+ Service52
27
+ } from "./repository-cache-t7qz6q2a.js";
28
28
  import {
29
29
  fileDiff2
30
- } from "./persistent-pty-6prwharc.js";
30
+ } from "./repository-cache-6prwharc.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./repository-cache-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/patch.ts
36
36
  var exports_patch = {};
37
37
  __export(exports_patch, {
38
38
  Applied: () => Applied2,
39
- Input: () => Input4,
40
- Output: () => Output3,
39
+ Input: () => Input9,
40
+ Output: () => Output6,
41
41
  PatchTool: () => exports_patch,
42
- Plugin: () => Plugin18,
43
- name: () => name4,
42
+ Plugin: () => Plugin39,
43
+ name: () => name9,
44
44
  toModelContent: () => toModelContent4
45
45
  });
46
46
  import { ToolFailure } from "@opencode-ai/ai";
@@ -86,8 +86,8 @@ It is important to remember:
86
86
  `;
87
87
 
88
88
  // src/tool/plugin/patch.ts
89
- var name4 = "patch";
90
- var Input4 = Schema.Struct({
89
+ var name9 = "patch";
90
+ var Input9 = Schema.Struct({
91
91
  patchText: Schema.String.annotate({
92
92
  description: "The full patch text describing add, update, and delete operations"
93
93
  })
@@ -97,7 +97,7 @@ var Applied2 = Schema.Struct({
97
97
  resource: Schema.String,
98
98
  target: Schema.String
99
99
  });
100
- var Output3 = Schema.Struct({
100
+ var Output6 = Schema.Struct({
101
101
  applied: Schema.Array(Applied2),
102
102
  files: Schema.Array(FileDiff.Info)
103
103
  });
@@ -106,21 +106,21 @@ var toModelContent4 = (output) => [
106
106
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
107
107
  ].join(`
108
108
  `);
109
- var Plugin18 = {
109
+ var Plugin39 = {
110
110
  id: "opencode.tool.patch",
111
111
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
112
- const environment = yield* Service66;
113
- const mutation = yield* Service38;
112
+ const environment = yield* Service73;
113
+ const mutation = yield* Service20;
114
114
  const fileMutation = yield* Service13;
115
- const formatter = yield* Service50;
116
- const location = yield* Service67;
117
- const permission = yield* Service40;
115
+ const formatter = yield* Service75;
116
+ const location = yield* Service76;
117
+ const permission = yield* Service52;
118
118
  yield* ctx.tool.transform((editor) => editor.add({
119
- name: name4,
119
+ name: name9,
120
120
  options: { codemode: false, permission: "edit" },
121
121
  description: patch_default,
122
- input: Input4,
123
- output: Output3,
122
+ input: Input9,
123
+ output: Output6,
124
124
  execute: (input, context) => {
125
125
  const applied = [];
126
126
  const parsed = Patch.parse(input.patchText);
@@ -330,4 +330,4 @@ function trimDiff(diff) {
330
330
  `);
331
331
  }
332
332
 
333
- export { name4, Input4, Applied2, Output3, toModelContent4, Plugin18, exports_patch };
333
+ export { name9, Input9, Applied2, Output6, toModelContent4, Plugin39, exports_patch };
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./persistent-pty-smgpfta5.js";
2
+ Service79,
3
+ node83
4
+ } from "./repository-cache-hzrqpb26.js";
5
5
  import {
6
- Service31,
7
- node33
8
- } from "./persistent-pty-qqbjvkxt.js";
6
+ Service39,
7
+ node41
8
+ } from "./repository-cache-ne45hhcm.js";
9
9
  import {
10
- Service40,
11
- node42
12
- } from "./persistent-pty-af5cxv86.js";
10
+ Service52,
11
+ node54
12
+ } from "./repository-cache-t7qz6q2a.js";
13
13
  import {
14
- Service48,
15
- node50
16
- } from "./persistent-pty-0d5mggnk.js";
14
+ Service50,
15
+ node52
16
+ } from "./repository-cache-npqm4cqn.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./repository-cache-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service29,
26
- layer: () => layer13,
27
- name: () => name13,
25
+ Service: () => Service38,
26
+ layer: () => layer15,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node31
29
+ node: () => node40
30
30
  });
31
31
  import { ToolFailure } from "@opencode-ai/ai";
32
32
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service29 extends Context.Service()("@opencode/McpTool") {
38
+ class Service38 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service29, Effect.gen(function* () {
41
- const mcp = yield* Service31;
42
- const tools = yield* Service48;
43
- const bus = yield* Service78;
44
- const permission = yield* Service40;
40
+ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
41
+ const mcp = yield* Service39;
42
+ const tools = yield* Service50;
43
+ const bus = yield* Service79;
44
+ const permission = yield* Service52;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -62,7 +62,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13(tool.server, tool.name),
65
+ action: name14(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service38.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node31 = makeLocationNode({
118
- service: Service29,
119
- layer: layer13,
120
- deps: [node50, node33, node82, node42]
117
+ var node40 = makeLocationNode({
118
+ service: Service38,
119
+ layer: layer15,
120
+ deps: [node52, node41, node83, node54]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service29, layer13, node31, exports_mcp3 };
123
+ export { namespace2, name14, Service38, layer15, node40, exports_mcp3 };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service69
3
- } from "./persistent-pty-shbsgx5h.js";
2
+ Service78
3
+ } from "./repository-cache-fnptnz5b.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
- canonical3
7
- } from "./persistent-pty-y2cqme3r.js";
6
+ canonical2
7
+ } from "./repository-cache-93a8yfjt.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make17
16
+ make: () => make11
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode-ai/schema/worktree";
20
20
  import { FSUtil } from "@opencode-ai/util/fs-util";
21
- var make17 = Effect.gen(function* () {
21
+ var make11 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service69;
23
+ const git = yield* Service78;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -28,7 +28,7 @@ var make17 = Effect.gen(function* () {
28
28
  if (!repository)
29
29
  return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
30
30
  yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
31
- return { directory: yield* canonical3(fs, input.directory) };
31
+ return { directory: yield* canonical2(fs, input.directory) };
32
32
  }),
33
33
  remove: Effect.fn("Worktree.Git.remove")(function* (input) {
34
34
  const repository = yield* git.repo.discover(input.directory);
@@ -41,9 +41,9 @@ var make17 = Effect.gen(function* () {
41
41
  if (!repository)
42
42
  return yield* new DirectoryUnavailableError2({ directory });
43
43
  const entries = yield* git.worktree.list(repository);
44
- return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
44
+ return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
45
45
  })
46
46
  };
47
47
  });
48
48
 
49
- export { make17, exports_git2 };
49
+ export { make11, exports_git2 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./persistent-pty-jwcy2c2z.js";
3
+ } from "./repository-cache-jwcy2c2z.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./persistent-pty-smgpfta5.js";
5
+ Service79,
6
+ node83
7
+ } from "./repository-cache-hzrqpb26.js";
8
+ import {
9
+ Event17,
10
+ Service63,
11
+ node65
12
+ } from "./repository-cache-wz5fptb2.js";
8
13
  import {
9
- Event19,
10
14
  Service76,
11
15
  node80
12
- } from "./persistent-pty-81xmbs00.js";
13
- import {
14
- Service67,
15
- node70
16
- } from "./persistent-pty-c47xcf4v.js";
16
+ } from "./repository-cache-r83xrjyd.js";
17
17
  import {
18
- Service66,
19
- node69
20
- } from "./persistent-pty-vqxj4jm3.js";
18
+ Service73,
19
+ node76
20
+ } from "./repository-cache-cpj9epp9.js";
21
21
  import {
22
- ID15,
23
- Service75,
24
- node79
25
- } from "./persistent-pty-sgh09qtt.js";
22
+ ID11,
23
+ Service62,
24
+ node64
25
+ } from "./repository-cache-ab3wbpm9.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./persistent-pty-kg06axw8.js";
29
+ } from "./repository-cache-kg06axw8.js";
30
30
  import {
31
- ID14,
31
+ ID10,
32
32
  MethodID2,
33
- Service74,
34
- node78
35
- } from "./persistent-pty-ne5w19nk.js";
33
+ Service61,
34
+ node63
35
+ } from "./repository-cache-563f1ftq.js";
36
36
  import {
37
37
  __export
38
- } from "./persistent-pty-9rqn6x4v.js";
38
+ } from "./repository-cache-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options3,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service31,
59
+ Service: () => Service39,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured3,
66
- layer: () => layer14,
67
- node: () => node33
66
+ layer: () => layer16,
67
+ node: () => node41
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID14.pipe(Schema.optional)
84
+ integrationID: ID10.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service31 extends Context.Service()("@opencode/MCP") {
168
+ class Service39 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options3 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options3 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
177
- const location = yield* Service67;
178
- const environment = yield* Service66;
179
- const bus = yield* Service78;
180
- const forms = yield* Service75;
181
- const integration = yield* Service74;
182
- const credentials = yield* Service76;
176
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
177
+ const location = yield* Service76;
178
+ const environment = yield* Service73;
179
+ const bus = yield* Service79;
180
+ const forms = yield* Service62;
181
+ const integration = yield* Service61;
182
+ const credentials = yield* Service63;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID14.make(suffix);
194
+ const integrationID = ID10.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError2({ server: name });
219
+ return yield* new NotFoundError4({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -285,7 +285,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
285
285
  const elicitation = {
286
286
  create: (input) => Effect.gen(function* () {
287
287
  if (input.params.mode === "url") {
288
- const formID = ID15.create();
288
+ const formID = ID11.create();
289
289
  const key = input.server + "\x00" + input.params.elicitationId;
290
290
  urlElicitations.set(key, formID);
291
291
  return yield* forms.ask({
@@ -403,7 +403,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service66, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -527,7 +527,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
527
527
  yield* startServer(name, entry);
528
528
  }).pipe(locks.withLock(name));
529
529
  });
530
- fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
530
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
531
531
  const state = create3({
532
532
  name: "mcp",
533
533
  initial: () => ({
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service31.of({
560
+ return Service39.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -679,12 +679,12 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
679
679
  }));
680
680
  function configured3(options) {
681
681
  return makeLocationNode({
682
- service: Service31,
683
- layer: layer14(options),
684
- deps: [node70, node69, node82, node79, node78, node80]
682
+ service: Service39,
683
+ layer: layer16(options),
684
+ deps: [node80, node76, node83, node64, node63, node65]
685
685
  });
686
686
  }
687
- var node33 = configured3();
687
+ var node41 = configured3();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service31, Options3, layer14, configured3, node33, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options3, layer16, configured3, node41, exports_mcp4 };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./persistent-pty-3t738kvx.js";
7
+ } from "./repository-cache-3t738kvx.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./persistent-pty-6tf8tr4v.js";
11
+ } from "./repository-cache-6tf8tr4v.js";
12
12
  import {
13
13
  create3
14
- } from "./persistent-pty-kg06axw8.js";
14
+ } from "./repository-cache-kg06axw8.js";
15
15
  import {
16
- Service49,
17
- node51
18
- } from "./persistent-pty-ajyamx78.js";
16
+ Service51,
17
+ node53
18
+ } from "./repository-cache-v1sap15r.js";
19
19
  import {
20
- Service59,
21
- node62
22
- } from "./persistent-pty-7dz4r7mk.js";
20
+ Service56,
21
+ node58
22
+ } from "./repository-cache-zvnk5jqh.js";
23
23
  import {
24
24
  match2
25
- } from "./persistent-pty-y1fvbwt7.js";
25
+ } from "./repository-cache-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./repository-cache-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service48,
38
+ Service: () => Service50,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node50
41
+ node: () => node52
42
42
  });
43
43
  import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode-ai/schema/tool";
44
44
  import { ToolDefinition } from "@opencode-ai/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service48 extends Context.Service()("@opencode/Tool") {
54
+ class Service50 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service48, Effect.gen(function* () {
57
- const hooks = yield* Service59;
58
- const image = yield* Service49;
56
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
57
+ const hooks = yield* Service56;
58
+ const image = yield* Service51;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service48.of({
183
+ return Service50.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node50 = makeLocationNode({
266
- service: Service48,
265
+ var node52 = makeLocationNode({
266
+ service: Service50,
267
267
  layer,
268
- deps: [node62, node51]
268
+ deps: [node58, node53]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service48, node50, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service50, node52, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./repository-cache-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service10,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node12
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service10.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service10, node12, exports_discovery };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-g2c9bhkq.js";
4
+ } from "./repository-cache-zfdtt056.js";
5
5
  import {
6
- ID16
7
- } from "./persistent-pty-wvx09938.js";
6
+ ID13
7
+ } from "./repository-cache-nzmvpftv.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {