@opencode/core 0.0.0-dev-20633 → 0.0.0-dev-20635

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-cache-6kqdj38p.js → snapshot-01wy2qek.js} +34 -34
  8. package/dist/chunks/{repository-cache-gsggkbsb.js → snapshot-06w4bmrz.js} +16 -16
  9. package/dist/chunks/{repository-cache-43h714sb.js → snapshot-0byq2k6w.js} +26 -26
  10. package/dist/chunks/{repository-cache-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{repository-cache-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{repository-cache-za3jhw35.js → snapshot-0sx48w9z.js} +9 -9
  13. package/dist/chunks/{repository-cache-tn65e0xg.js → snapshot-0td4cz49.js} +3 -3
  14. package/dist/chunks/{repository-cache-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{repository-cache-4kagh904.js → snapshot-13d5j3xz.js} +5 -5
  16. package/dist/chunks/{repository-cache-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{repository-cache-1dvck2a7.js → snapshot-1dvck2a7.js} +2 -2
  18. package/dist/chunks/{repository-cache-qykpeme4.js → snapshot-1e8vqbs5.js} +16 -16
  19. package/dist/chunks/{repository-cache-r6vweynn.js → snapshot-1gp9qjqr.js} +7 -7
  20. package/dist/chunks/{repository-cache-g9kkm8kt.js → snapshot-1qe672pv.js} +4 -4
  21. package/dist/chunks/{repository-cache-y16p1w2y.js → snapshot-1rh4yqvv.js} +9 -9
  22. package/dist/chunks/{repository-cache-jj9x1ggj.js → snapshot-1rpkqfbc.js} +1 -1
  23. package/dist/chunks/{repository-cache-3vk8kg3r.js → snapshot-1wcts50h.js} +18 -18
  24. package/dist/chunks/{repository-cache-33w4ejhs.js → snapshot-1ygqh575.js} +6 -6
  25. package/dist/chunks/{repository-cache-0farmcce.js → snapshot-1zjs6h3e.js} +26 -26
  26. package/dist/chunks/{repository-cache-rek1mgnt.js → snapshot-24p06p9j.js} +15 -15
  27. package/dist/chunks/{repository-cache-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{repository-cache-83nfeprs.js → snapshot-2cbph903.js} +11 -11
  29. package/dist/chunks/{repository-cache-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{repository-cache-1gzs4dwb.js → snapshot-2gybq4dr.js} +3 -3
  31. package/dist/chunks/{repository-cache-2k8khapm.js → snapshot-2k8khapm.js} +1 -1
  32. package/dist/chunks/{repository-cache-mjymc32g.js → snapshot-2pnhn36q.js} +21 -21
  33. package/dist/chunks/{repository-cache-hx274pq4.js → snapshot-2qdat27r.js} +20 -20
  34. package/dist/chunks/{repository-cache-zyfwwvzs.js → snapshot-30pz7tss.js} +4 -4
  35. package/dist/chunks/{repository-cache-2awp3nqz.js → snapshot-30rd5yfg.js} +22 -22
  36. package/dist/chunks/{repository-cache-1qp08ady.js → snapshot-34c0j3ep.js} +15 -15
  37. package/dist/chunks/{repository-cache-zx0w556f.js → snapshot-38kf5rm2.js} +24 -24
  38. package/dist/chunks/{repository-cache-b52f6b20.js → snapshot-3f6key9q.js} +52 -52
  39. package/dist/chunks/{repository-cache-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{repository-cache-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{repository-cache-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{repository-cache-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{repository-cache-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{repository-cache-ezbj1fpr.js → snapshot-45gfdbj6.js} +18 -18
  45. package/dist/chunks/{repository-cache-gmg4efnw.js → snapshot-490jtnz7.js} +18 -18
  46. package/dist/chunks/snapshot-4ajnt9eg.js +253 -0
  47. package/dist/chunks/{repository-cache-3z4h39tf.js → snapshot-4c9vz95h.js} +8 -8
  48. package/dist/chunks/{repository-cache-nppwm206.js → snapshot-4j3g2wcv.js} +4 -4
  49. package/dist/chunks/{repository-cache-fnd80x7n.js → snapshot-4jfgyrzt.js} +71 -71
  50. package/dist/chunks/{repository-cache-eqkxs06z.js → snapshot-4mwpykj0.js} +6 -6
  51. package/dist/chunks/{repository-cache-dcksech5.js → snapshot-4qedgxnx.js} +6 -6
  52. package/dist/chunks/{repository-cache-vfjhn2wd.js → snapshot-4v7ngy20.js} +4 -4
  53. package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
  54. package/dist/chunks/{repository-cache-1gpb38yh.js → snapshot-4zwmvgkw.js} +9 -9
  55. package/dist/chunks/{repository-cache-srfsq8py.js → snapshot-50h1eett.js} +3 -3
  56. package/dist/chunks/{repository-cache-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  57. package/dist/chunks/{repository-cache-txeasv02.js → snapshot-55m8fdgd.js} +20 -20
  58. package/dist/chunks/{repository-cache-nfrd3k8n.js → snapshot-55mrs20k.js} +9 -9
  59. package/dist/chunks/{repository-cache-my4zabxr.js → snapshot-58072hz9.js} +3 -3
  60. package/dist/chunks/{repository-cache-wtmfszvm.js → snapshot-5b6yg4p8.js} +14 -14
  61. package/dist/chunks/{repository-cache-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
  62. package/dist/chunks/{repository-cache-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{repository-cache-ckbnwpw7.js → snapshot-5ngaw42y.js} +11 -11
  64. package/dist/chunks/{repository-cache-w4xn84ph.js → snapshot-5s00wypw.js} +2 -2
  65. package/dist/chunks/{repository-cache-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{repository-cache-3pv863bm.js → snapshot-5vmvc5he.js} +12 -12
  67. package/dist/chunks/{repository-cache-75jaekcr.js → snapshot-606e7s57.js} +11 -11
  68. package/dist/chunks/{repository-cache-8qf1wa8e.js → snapshot-6j7y2wwk.js} +13 -13
  69. package/dist/chunks/{repository-cache-asmhed6t.js → snapshot-6rxkb1t6.js} +8 -8
  70. package/dist/chunks/{repository-cache-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{repository-cache-2fxj49dy.js → snapshot-6xkm719f.js} +30 -30
  72. package/dist/chunks/{repository-cache-ngmk5s4j.js → snapshot-6ym8qnhr.js} +12 -12
  73. package/dist/chunks/{repository-cache-71az546q.js → snapshot-71az546q.js} +2 -2
  74. package/dist/chunks/{repository-cache-6j80gscp.js → snapshot-79zv7g62.js} +13 -13
  75. package/dist/chunks/{repository-cache-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{repository-cache-4ybhn1pz.js → snapshot-7c7sv9k2.js} +17 -17
  77. package/dist/chunks/{repository-cache-akqawhrq.js → snapshot-7nnpek7x.js} +8 -8
  78. package/dist/chunks/{repository-cache-0yq98qfb.js → snapshot-7ta4bv20.js} +27 -27
  79. package/dist/chunks/{repository-cache-her3d2s9.js → snapshot-7zt2q3h7.js} +16 -16
  80. package/dist/chunks/{repository-cache-prf0q3vs.js → snapshot-809mkkbx.js} +18 -18
  81. package/dist/chunks/{repository-cache-wc9dc547.js → snapshot-82cr96wn.js} +20 -20
  82. package/dist/chunks/{repository-cache-w1eejvng.js → snapshot-84txncab.js} +5 -5
  83. package/dist/chunks/{repository-cache-7ac9g4dc.js → snapshot-84zqq0g0.js} +24 -24
  84. package/dist/chunks/{repository-cache-b3y77xh2.js → snapshot-8bvzxqk6.js} +39 -39
  85. package/dist/chunks/{repository-cache-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{repository-cache-eeaf82dq.js → snapshot-8s1fj8xg.js} +8 -8
  87. package/dist/chunks/{repository-cache-8t879spr.js → snapshot-8sf9g9bn.js} +43 -43
  88. package/dist/chunks/{repository-cache-vs93n2a0.js → snapshot-8t2r0pt2.js} +43 -43
  89. package/dist/chunks/{repository-cache-nd0qz9vn.js → snapshot-8t7k386x.js} +13 -13
  90. package/dist/chunks/{repository-cache-qarnpraq.js → snapshot-914tbbjm.js} +9 -9
  91. package/dist/chunks/{repository-cache-da75awh4.js → snapshot-98a7fcd2.js} +11 -11
  92. package/dist/chunks/{repository-cache-9e5bzkjp.js → snapshot-9e5bzkjp.js} +3 -3
  93. package/dist/chunks/{repository-cache-ejq34man.js → snapshot-9ftsng1y.js} +17 -17
  94. package/dist/chunks/{repository-cache-dv1qgsyq.js → snapshot-9hn6k4tm.js} +4 -4
  95. package/dist/chunks/{repository-cache-dt79rr6p.js → snapshot-9pz2n9rd.js} +12 -12
  96. package/dist/chunks/{repository-cache-b2p5j8y6.js → snapshot-9smjc29v.js} +36 -36
  97. package/dist/chunks/{repository-cache-vd2wkccw.js → snapshot-9syttpxn.js} +33 -33
  98. package/dist/chunks/{repository-cache-66hfmvvk.js → snapshot-9ts1yjxr.js} +11 -11
  99. package/dist/chunks/{repository-cache-0r8xnjkd.js → snapshot-9xw1zsfh.js} +8 -8
  100. package/dist/chunks/{repository-cache-xgyqszzh.js → snapshot-9z1jz1fd.js} +5 -5
  101. package/dist/chunks/{repository-cache-73tb2d7t.js → snapshot-a1gpj94z.js} +3 -3
  102. package/dist/chunks/{repository-cache-stp9c87e.js → snapshot-a3a3tq5e.js} +13 -13
  103. package/dist/chunks/{repository-cache-cb70s9dt.js → snapshot-a8kks0d9.js} +8 -8
  104. package/dist/chunks/{repository-cache-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
  105. package/dist/chunks/{repository-cache-x661k3y3.js → snapshot-addxnjmp.js} +4 -4
  106. package/dist/chunks/{repository-cache-jqc99esa.js → snapshot-ambwxayc.js} +5 -5
  107. package/dist/chunks/{repository-cache-qt205g8k.js → snapshot-ams72g5c.js} +11 -11
  108. package/dist/chunks/{repository-cache-zsm13mz3.js → snapshot-ansmabqy.js} +24 -24
  109. package/dist/chunks/{repository-cache-gdw97pah.js → snapshot-azzye172.js} +5 -5
  110. package/dist/chunks/{repository-cache-qygbw77c.js → snapshot-b3f8fkhc.js} +5 -5
  111. package/dist/chunks/{repository-cache-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{repository-cache-fw8t8h2a.js → snapshot-b72deqvz.js} +48 -48
  113. package/dist/chunks/{repository-cache-5a1tjkyz.js → snapshot-bf8bbf38.js} +21 -21
  114. package/dist/chunks/{repository-cache-pv84kftf.js → snapshot-bh23es7j.js} +21 -21
  115. package/dist/chunks/{repository-cache-0314bnyz.js → snapshot-bq1xg9wr.js} +15 -15
  116. package/dist/chunks/{repository-cache-e3f83rfj.js → snapshot-bs0her6n.js} +12 -12
  117. package/dist/chunks/{repository-cache-g2g6h4y2.js → snapshot-c60ns7m9.js} +11 -11
  118. package/dist/chunks/{repository-cache-7pjv26c7.js → snapshot-cb7caa3e.js} +1 -1
  119. package/dist/chunks/{repository-cache-cfsekr6v.js → snapshot-cfsekr6v.js} +2 -2
  120. package/dist/chunks/{repository-cache-e3f0xn9m.js → snapshot-ckqv7ffe.js} +25 -25
  121. package/dist/chunks/{repository-cache-z8g4t8bg.js → snapshot-cm9hswnw.js} +25 -25
  122. package/dist/chunks/{repository-cache-adws6758.js → snapshot-d19e4dwh.js} +4 -4
  123. package/dist/chunks/{repository-cache-w9p55wnq.js → snapshot-dchsmdq5.js} +13 -13
  124. package/dist/chunks/{repository-cache-g6tpd3f3.js → snapshot-dh7acrtn.js} +10 -10
  125. package/dist/chunks/{repository-cache-cwa6csj7.js → snapshot-djszqvmq.js} +9 -9
  126. package/dist/chunks/{repository-cache-xkntkrq7.js → snapshot-dmqcgk4z.js} +5 -5
  127. package/dist/chunks/{repository-cache-w33r0n2z.js → snapshot-dxdqybfr.js} +14 -14
  128. package/dist/chunks/{repository-cache-sy2a3hb1.js → snapshot-dzfez6bd.js} +18 -18
  129. package/dist/chunks/{repository-cache-380yy1tx.js → snapshot-e1kg5xcc.js} +152 -152
  130. package/dist/chunks/{repository-cache-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{repository-cache-k0cbva3z.js → snapshot-easr7c7j.js} +21 -21
  132. package/dist/chunks/{repository-cache-8ef36zg1.js → snapshot-ebmvv24b.js} +18 -18
  133. package/dist/chunks/{repository-cache-9wt051s7.js → snapshot-ebpfwzpf.js} +85 -85
  134. package/dist/chunks/{repository-cache-gmbhe8g5.js → snapshot-ef3dmj4g.js} +7 -7
  135. package/dist/chunks/{repository-cache-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{repository-cache-zsqegwh4.js → snapshot-egn78er9.js} +8 -8
  137. package/dist/chunks/{repository-cache-q9ekeea5.js → snapshot-ejcmw1aa.js} +17 -17
  138. package/dist/chunks/snapshot-ejwvf004.js +507 -0
  139. package/dist/chunks/{repository-cache-e72ekma6.js → snapshot-emmbmbyr.js} +1 -1
  140. package/dist/chunks/{repository-cache-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{repository-cache-reg6q42h.js → snapshot-f62qkzqr.js} +5 -5
  142. package/dist/chunks/{repository-cache-y1t2hwwz.js → snapshot-f92frnky.js} +2 -2
  143. package/dist/chunks/{repository-cache-hhvkpmqw.js → snapshot-fdqb3sd9.js} +30 -30
  144. package/dist/chunks/{repository-cache-s93md6f8.js → snapshot-fe8gwfr5.js} +11 -11
  145. package/dist/chunks/{repository-cache-ed81rq57.js → snapshot-fex70s02.js} +4 -4
  146. package/dist/chunks/{repository-cache-s0xttw3k.js → snapshot-fqq9xsk7.js} +22 -22
  147. package/dist/chunks/{repository-cache-f7rj482f.js → snapshot-fw2v9256.js} +8 -8
  148. package/dist/chunks/{repository-cache-g5w8qwbj.js → snapshot-g5w8qwbj.js} +1 -1
  149. package/dist/chunks/{repository-cache-drnf6xwf.js → snapshot-gccjnz6h.js} +2 -2
  150. package/dist/chunks/{repository-cache-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{repository-cache-a27z7shm.js → snapshot-gz41n4pb.js} +42 -42
  152. package/dist/chunks/{repository-cache-h2b79v29.js → snapshot-h2b79v29.js} +2 -2
  153. package/dist/chunks/{repository-cache-67fkg7q1.js → snapshot-h33t1xt5.js} +8 -8
  154. package/dist/chunks/{repository-cache-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{repository-cache-yrcj3v3g.js → snapshot-h9wp8z5w.js} +4 -4
  156. package/dist/chunks/{repository-cache-27rbdjmf.js → snapshot-hee39r59.js} +42 -42
  157. package/dist/chunks/{repository-cache-e8qvsypq.js → snapshot-hfnn6h40.js} +16 -16
  158. package/dist/chunks/{repository-cache-hbrg1y73.js → snapshot-hw2n9bc3.js} +8 -8
  159. package/dist/chunks/{repository-cache-vx0crfcw.js → snapshot-hxek7tcc.js} +3 -3
  160. package/dist/chunks/{repository-cache-qssqgjzh.js → snapshot-j238m2wq.js} +1 -1
  161. package/dist/chunks/{repository-cache-syb2vrbv.js → snapshot-j4gcvdzz.js} +21 -21
  162. package/dist/chunks/{repository-cache-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
  163. package/dist/chunks/{repository-cache-8bpbh7v7.js → snapshot-j739v9j7.js} +11 -11
  164. package/dist/chunks/{repository-cache-ec2p6e73.js → snapshot-jkhhterb.js} +35 -35
  165. package/dist/chunks/{repository-cache-trq2ab9q.js → snapshot-jn7tmx4p.js} +10 -10
  166. package/dist/chunks/{repository-cache-q0dea8a4.js → snapshot-k3a0as7r.js} +5 -5
  167. package/dist/chunks/{repository-cache-gh5z95q3.js → snapshot-k70p9jzb.js} +9 -9
  168. package/dist/chunks/{repository-cache-qaxybd8b.js → snapshot-k808h248.js} +26 -26
  169. package/dist/chunks/{repository-cache-q17z9dx8.js → snapshot-kbj2dgab.js} +5 -5
  170. package/dist/chunks/{repository-cache-1s3jpj7n.js → snapshot-kc2whj5y.js} +17 -17
  171. package/dist/chunks/{repository-cache-9mvydfy5.js → snapshot-kdarkz0k.js} +13 -13
  172. package/dist/chunks/{repository-cache-pjtd6ph8.js → snapshot-kks5n0mm.js} +32 -32
  173. package/dist/chunks/{repository-cache-rs4nb2xx.js → snapshot-kkya6hqm.js} +9 -9
  174. package/dist/chunks/{repository-cache-bwtwpct7.js → snapshot-kmfd25t4.js} +3 -3
  175. package/dist/chunks/{repository-cache-z45tr6e4.js → snapshot-kpt54jka.js} +22 -22
  176. package/dist/chunks/{repository-cache-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{repository-cache-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{repository-cache-ychejvqa.js → snapshot-mgsp47xb.js} +9 -9
  179. package/dist/chunks/{repository-cache-hacqhjnc.js → snapshot-mpqann26.js} +18 -18
  180. package/dist/chunks/{repository-cache-sbf3786x.js → snapshot-ms0e1w2a.js} +24 -24
  181. package/dist/chunks/{repository-cache-pfc6dryh.js → snapshot-mxxxa8pc.js} +26 -26
  182. package/dist/chunks/{repository-cache-b674v2dg.js → snapshot-n8vdnqrc.js} +5 -5
  183. package/dist/chunks/{repository-cache-n9yzr3f2.js → snapshot-njmzpw5k.js} +16 -16
  184. package/dist/chunks/{repository-cache-rd3ygx5h.js → snapshot-nnfq7fft.js} +25 -25
  185. package/dist/chunks/{repository-cache-gcqqjazk.js → snapshot-nt7v8mep.js} +30 -30
  186. package/dist/chunks/{repository-cache-dpkg50ah.js → snapshot-nxm207yx.js} +4 -4
  187. package/dist/chunks/{repository-cache-4725dwfb.js → snapshot-p1np5d7s.js} +9 -9
  188. package/dist/chunks/{repository-cache-dx2074w2.js → snapshot-p47p3x6n.js} +13 -13
  189. package/dist/chunks/{repository-cache-hpmqkzac.js → snapshot-p4kgtw5x.js} +12 -12
  190. package/dist/chunks/{repository-cache-p983wz9k.js → snapshot-p9jn0jc6.js} +6 -6
  191. package/dist/chunks/{repository-cache-ctpb9bd3.js → snapshot-pbgrrt8q.js} +5 -5
  192. package/dist/chunks/{repository-cache-j3600rrf.js → snapshot-pevdf72a.js} +10 -10
  193. package/dist/chunks/{repository-cache-h697gncw.js → snapshot-phm1sawz.js} +21 -21
  194. package/dist/chunks/{repository-cache-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{repository-cache-pknna89w.js → snapshot-pknna89w.js} +1 -1
  196. package/dist/chunks/{repository-cache-9ybrg23s.js → snapshot-pnrzkzcv.js} +11 -11
  197. package/dist/chunks/{repository-cache-bdqa6k4n.js → snapshot-pp9frasb.js} +7 -7
  198. package/dist/chunks/{repository-cache-vf6jcqzn.js → snapshot-pzaq0q3h.js} +14 -14
  199. package/dist/chunks/{repository-cache-vd4xatwq.js → snapshot-q8a356d0.js} +17 -17
  200. package/dist/chunks/{repository-cache-7sbkp4xb.js → snapshot-qa3qhgw8.js} +4 -4
  201. package/dist/chunks/{repository-cache-x1yb4nr2.js → snapshot-qd87qnby.js} +24 -24
  202. package/dist/chunks/{repository-cache-d7ddzgsf.js → snapshot-qg56zsrf.js} +11 -11
  203. package/dist/chunks/{repository-cache-p85401z6.js → snapshot-qhz5c7yg.js} +13 -13
  204. package/dist/chunks/{repository-cache-g01j4dtk.js → snapshot-qkrx527r.js} +25 -25
  205. package/dist/chunks/{repository-cache-3vgk5qpr.js → snapshot-qn7mss41.js} +27 -27
  206. package/dist/chunks/{repository-cache-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{repository-cache-2epzd39j.js → snapshot-qnmybv1b.js} +87 -87
  208. package/dist/chunks/{repository-cache-t2bbc9e5.js → snapshot-qnpjnc21.js} +1 -1
  209. package/dist/chunks/{repository-cache-qmacqzaw.js → snapshot-qrk3b11x.js} +1 -1
  210. package/dist/chunks/{repository-cache-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  211. package/dist/chunks/{repository-cache-hs1x7rht.js → snapshot-qv8c18b1.js} +5 -5
  212. package/dist/chunks/{repository-cache-13fmgeb3.js → snapshot-qxd7ea1r.js} +9 -9
  213. package/dist/chunks/{repository-cache-xyafkbt0.js → snapshot-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{repository-cache-68tetnxs.js → snapshot-r23b2p45.js} +4 -4
  215. package/dist/chunks/{repository-cache-kyrf4g17.js → snapshot-r5nnafs2.js} +18 -18
  216. package/dist/chunks/{repository-cache-r8xr0va3.js → snapshot-r8xr0va3.js} +1 -1
  217. package/dist/chunks/{repository-cache-q8peyv7x.js → snapshot-rav9e4bf.js} +8 -8
  218. package/dist/chunks/{repository-cache-v84b5zdr.js → snapshot-rbg0p6rj.js} +18 -18
  219. package/dist/chunks/{repository-cache-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{repository-cache-9mwb0ww6.js → snapshot-rfdthp1y.js} +10 -10
  221. package/dist/chunks/{repository-cache-r26qgbxz.js → snapshot-s43e8fnf.js} +7 -7
  222. package/dist/chunks/{repository-cache-trnc8c0p.js → snapshot-s54j65n9.js} +22 -22
  223. package/dist/chunks/{repository-cache-rhjbct0v.js → snapshot-s8d7rejh.js} +4 -4
  224. package/dist/chunks/{repository-cache-s3eybw0p.js → snapshot-s8qjwx7s.js} +4 -4
  225. package/dist/chunks/{repository-cache-wf9hhd1y.js → snapshot-sa6rnwcm.js} +42 -42
  226. package/dist/chunks/{repository-cache-aevez07h.js → snapshot-savmkeh3.js} +15 -15
  227. package/dist/chunks/{repository-cache-wtqwpwgf.js → snapshot-sd7me009.js} +6 -6
  228. package/dist/chunks/{repository-cache-gq310cps.js → snapshot-sj37d163.js} +11 -11
  229. package/dist/chunks/{repository-cache-p9b1de7v.js → snapshot-snd1jtws.js} +7 -7
  230. package/dist/chunks/{repository-cache-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{repository-cache-03xyy9gs.js → snapshot-tc14gx3q.js} +11 -11
  232. package/dist/chunks/{repository-cache-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{repository-cache-tdstcens.js → snapshot-tdstcens.js} +1 -1
  234. package/dist/chunks/{repository-cache-n57qrn3a.js → snapshot-tea830r9.js} +6 -6
  235. package/dist/chunks/{repository-cache-mb54k367.js → snapshot-tmhxmxf3.js} +23 -23
  236. package/dist/chunks/{repository-cache-4k8essf6.js → snapshot-tmrrbz73.js} +20 -20
  237. package/dist/chunks/{repository-cache-60x3zdck.js → snapshot-tv4pwrvh.js} +3 -3
  238. package/dist/chunks/{repository-cache-qby9dwvd.js → snapshot-tx9w5tca.js} +8 -8
  239. package/dist/chunks/{repository-cache-4yxz2xtz.js → snapshot-tz3w7kyf.js} +3 -3
  240. package/dist/chunks/{repository-cache-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
  241. package/dist/chunks/{repository-cache-hpapzrps.js → snapshot-v606x47v.js} +6 -6
  242. package/dist/chunks/{repository-cache-80scg3y3.js → snapshot-vbfgae2j.js} +4 -4
  243. package/dist/chunks/{repository-cache-4x0vy5hp.js → snapshot-vc6qc4g1.js} +3 -3
  244. package/dist/chunks/{repository-cache-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  245. package/dist/chunks/{repository-cache-skcgj51b.js → snapshot-vf1tjk7q.js} +49 -49
  246. package/dist/chunks/{repository-cache-1mp78k6j.js → snapshot-vxj5c8sz.js} +33 -33
  247. package/dist/chunks/{repository-cache-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{repository-cache-w39jehkq.js → snapshot-w2h15q85.js} +5 -5
  249. package/dist/chunks/{repository-cache-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{repository-cache-81nd2mqz.js → snapshot-w5wtk1sj.js} +33 -33
  251. package/dist/chunks/{repository-cache-t0ngdjdp.js → snapshot-wb6xtyp7.js} +1 -1
  252. package/dist/chunks/{repository-cache-wd87259q.js → snapshot-wd87259q.js} +1 -1
  253. package/dist/chunks/{repository-cache-w92qfhy9.js → snapshot-wfnc7ck1.js} +8 -8
  254. package/dist/chunks/{repository-cache-rbdy6pgn.js → snapshot-wmv7jh55.js} +16 -16
  255. package/dist/chunks/{repository-cache-a1r14f74.js → snapshot-wq9n3fgh.js} +11 -11
  256. package/dist/chunks/{repository-cache-nbevcm7z.js → snapshot-wqxkxsqv.js} +13 -13
  257. package/dist/chunks/snapshot-wtrdqwsw.js +26 -0
  258. package/dist/chunks/{repository-cache-3rjdzas3.js → snapshot-x5v93ytx.js} +11 -11
  259. package/dist/chunks/{repository-cache-8pdzessb.js → snapshot-x9h5zfcv.js} +2 -2
  260. package/dist/chunks/{repository-cache-rmn3m3gf.js → snapshot-xch80j94.js} +2 -2
  261. package/dist/chunks/{repository-cache-4eq8w0dz.js → snapshot-xf0nr9dv.js} +4 -4
  262. package/dist/chunks/{repository-cache-spd9hrnc.js → snapshot-xgnfr18s.js} +30 -30
  263. package/dist/chunks/{repository-cache-jby0a0d3.js → snapshot-xjvdbam7.js} +15 -15
  264. package/dist/chunks/{repository-cache-jz8pf1gf.js → snapshot-xqrmy91b.js} +6 -6
  265. package/dist/chunks/{repository-cache-d3qedjgv.js → snapshot-xx0efrt7.js} +10 -10
  266. package/dist/chunks/{repository-cache-e0yt5kkj.js → snapshot-y06ady85.js} +24 -24
  267. package/dist/chunks/{repository-cache-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{repository-cache-js6zmc2m.js → snapshot-y6b024td.js} +10 -10
  269. package/dist/chunks/{repository-cache-zkh24274.js → snapshot-yfbfpsvk.js} +31 -31
  270. package/dist/chunks/{repository-cache-hk87g4j9.js → snapshot-yg3k0d53.js} +20 -20
  271. package/dist/chunks/{repository-cache-dwngdq4b.js → snapshot-ymfkwayz.js} +12 -12
  272. package/dist/chunks/{repository-cache-v4j9mmzp.js → snapshot-yqw633vx.js} +23 -23
  273. package/dist/chunks/{repository-cache-y56ehv6b.js → snapshot-yr715y08.js} +9 -9
  274. package/dist/chunks/{repository-cache-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{repository-cache-r43h3m0v.js → snapshot-z2pg85mw.js} +24 -24
  276. package/dist/chunks/{repository-cache-90sz55zw.js → snapshot-zchqraft.js} +5 -5
  277. package/dist/chunks/{repository-cache-e2hjzebn.js → snapshot-zcrspsvn.js} +4 -4
  278. package/dist/chunks/{repository-cache-nk0cncdn.js → snapshot-zerjt0v5.js} +4 -4
  279. package/dist/chunks/{repository-cache-as7cf5zz.js → snapshot-zfs8ae4p.js} +4 -4
  280. package/dist/chunks/{repository-cache-b69jv39p.js → snapshot-znsx74x0.js} +1 -1
  281. package/dist/chunks/{repository-cache-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{repository-cache-ne6stvg8.js → snapshot-zxbpt09z.js} +20 -20
  283. package/dist/chunks/{repository-cache-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{repository-cache-mqh9b2r2.js → snapshot-zyn8fsgh.js} +11 -11
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +152 -152
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +115 -115
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  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 +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  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 +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  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 +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +80 -80
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +99 -99
  427. package/dist/git.js +6 -6
  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 +91 -91
  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 +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +81 -81
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +75 -75
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +96 -96
  474. package/dist/models-dev.js +103 -103
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  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 +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  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 +3 -3
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  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/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +114 -114
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +345 -345
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +6 -6
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +93 -93
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +90 -90
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +125 -125
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +201 -201
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +157 -157
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +15 -15
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +93 -93
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +101 -101
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +80 -80
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +80 -80
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/repository-cache-4gw7g1yd.js +0 -507
  682. package/dist/chunks/repository-cache-97y2hkx4.js +0 -26
  683. package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
  684. package/dist/chunks/repository-cache-j22twtz4.js +0 -253
  685. /package/dist/chunks/{repository-cache-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{repository-cache-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{repository-cache-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{repository-cache-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{repository-cache-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{repository-cache-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{repository-cache-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{repository-cache-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{repository-cache-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{repository-cache-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
  695. /package/dist/chunks/{repository-cache-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{repository-cache-3asan66x.js → snapshot-3asan66x.js} +0 -0
  697. /package/dist/chunks/{repository-cache-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{repository-cache-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{repository-cache-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{repository-cache-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{repository-cache-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{repository-cache-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{repository-cache-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{repository-cache-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{repository-cache-53557ph1.js → snapshot-53557ph1.js} +0 -0
  706. /package/dist/chunks/{repository-cache-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{repository-cache-6prwharc.js → snapshot-6prwharc.js} +0 -0
  708. /package/dist/chunks/{repository-cache-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{repository-cache-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{repository-cache-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{repository-cache-822emrt2.js → snapshot-822emrt2.js} +0 -0
  712. /package/dist/chunks/{repository-cache-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{repository-cache-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{repository-cache-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{repository-cache-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{repository-cache-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{repository-cache-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{repository-cache-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{repository-cache-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{repository-cache-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{repository-cache-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{repository-cache-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{repository-cache-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{repository-cache-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{repository-cache-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{repository-cache-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{repository-cache-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{repository-cache-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{repository-cache-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{repository-cache-df08tz66.js → snapshot-df08tz66.js} +0 -0
  731. /package/dist/chunks/{repository-cache-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{repository-cache-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{repository-cache-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{repository-cache-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{repository-cache-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{repository-cache-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{repository-cache-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{repository-cache-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{repository-cache-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{repository-cache-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{repository-cache-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{repository-cache-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{repository-cache-g86h250q.js → snapshot-g86h250q.js} +0 -0
  744. /package/dist/chunks/{repository-cache-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{repository-cache-gftt206x.js → snapshot-gftt206x.js} +0 -0
  746. /package/dist/chunks/{repository-cache-hk9envan.js → snapshot-hk9envan.js} +0 -0
  747. /package/dist/chunks/{repository-cache-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{repository-cache-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{repository-cache-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{repository-cache-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{repository-cache-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{repository-cache-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{repository-cache-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{repository-cache-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{repository-cache-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{repository-cache-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{repository-cache-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{repository-cache-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{repository-cache-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{repository-cache-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{repository-cache-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{repository-cache-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{repository-cache-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{repository-cache-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{repository-cache-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{repository-cache-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{repository-cache-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{repository-cache-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{repository-cache-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{repository-cache-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{repository-cache-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{repository-cache-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{repository-cache-x61499pn.js → snapshot-x61499pn.js} +0 -0
  774. /package/dist/chunks/{repository-cache-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{repository-cache-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{repository-cache-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{repository-cache-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{repository-cache-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{repository-cache-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{repository-cache-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID13,
3
- Service74,
4
- node77
5
- } from "./repository-cache-trnc8c0p.js";
2
+ ID14,
3
+ Service71,
4
+ node75
5
+ } from "./snapshot-s54j65n9.js";
6
6
  import {
7
7
  ID12,
8
8
  isAISDK2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service73,
18
- node76
19
- } from "./repository-cache-prf0q3vs.js";
17
+ Service69,
18
+ node73
19
+ } from "./snapshot-809mkkbx.js";
20
20
  import {
21
- Service61,
22
- node64
23
- } from "./repository-cache-za3jhw35.js";
21
+ Service46,
22
+ node48
23
+ } from "./snapshot-0sx48w9z.js";
24
24
  import {
25
25
  ID11,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service72,
29
- node75,
28
+ Service68,
29
+ node72,
30
30
  supportsText2
31
- } from "./repository-cache-ejq34man.js";
31
+ } from "./snapshot-9ftsng1y.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./snapshot-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service60,
43
+ Service: () => Service45,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer24,
51
- node: () => node63,
50
+ layer: () => layer19,
51
+ node: () => node47,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service60 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service45 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
265
265
  };
266
266
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
267
267
  var hasPackage2 = (model) => Boolean(model.package);
268
- var layer24 = Layer.effect(Service60, Effect.gen(function* () {
269
- const providers = yield* Service73;
270
- const models = yield* Service72;
271
- const integrations = yield* Service74;
268
+ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
269
+ const providers = yield* Service69;
270
+ const models = yield* Service68;
271
+ const integrations = yield* Service71;
272
272
  const npm = yield* Npm.Service;
273
- const aisdk = yield* Service61;
273
+ const aisdk = yield* Service46;
274
274
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
275
275
  const provider = yield* providers.get(selected.providerID);
276
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
276
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
277
277
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
278
278
  const selectedVariant = yield* withVariant2(selected, variant);
279
279
  const runtimeInfo = {
@@ -300,7 +300,7 @@ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
300
300
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
301
301
  };
302
302
  });
303
- return Service60.of({
303
+ return Service45.of({
304
304
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
305
305
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
306
306
  if (!selected)
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
317
317
  const name = packageName2(packageName);
318
318
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
319
319
  }
320
- var node63 = makeLocationNode({
321
- service: Service60,
322
- layer: layer24,
323
- deps: [node76, node75, node77, Npm.node, node64]
320
+ var node47 = makeLocationNode({
321
+ service: Service45,
322
+ layer: layer19,
323
+ deps: [node73, node72, node75, Npm.node, node48]
324
324
  });
325
325
 
326
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node63, exports_model_resolver };
326
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service45, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node47, exports_model_resolver };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./repository-cache-w92qfhy9.js";
6
+ } from "./snapshot-wfnc7ck1.js";
7
7
  import {
8
8
  Service80,
9
9
  node84
10
- } from "./repository-cache-y1t2hwwz.js";
10
+ } from "./snapshot-f92frnky.js";
11
11
  import {
12
- Service62,
13
- node65
14
- } from "./repository-cache-b52f6b20.js";
12
+ Service55,
13
+ node58
14
+ } from "./snapshot-3f6key9q.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-cache-9rqn6x4v.js";
17
+ } from "./snapshot-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service17,
26
- node: () => node20,
25
+ Service: () => Service13,
26
+ node: () => node16,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service17 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service13 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service17, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
54
  const location = yield* Service80;
55
- const permission = yield* Service62;
55
+ const permission = yield* Service55;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service17.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service13.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node20 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node84, node65] });
106
+ var node16 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node84, node58] });
107
107
 
108
- export { Kind2, ResolveInput2, Service17, resolvePath2, node20, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service13, resolvePath2, node16, exports_file_access };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./repository-cache-fxgpk5d8.js";
3
+ } from "./snapshot-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./repository-cache-g4wezp1m.js";
6
+ } from "./snapshot-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./repository-cache-x61499pn.js";
9
+ } from "./snapshot-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./repository-cache-af5trqkr.js";
12
+ } from "./snapshot-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./repository-cache-afrmfg78.js";
15
+ } from "./snapshot-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./repository-cache-x0ckcb58.js";
18
+ } from "./snapshot-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
10
+ configured: () => configured6,
11
11
  layer: () => layer21,
12
- make: () => make17,
13
- node: () => node56,
12
+ make: () => make20,
13
+ node: () => node55,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make17()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make17(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make17(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make17(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node56 = configured10();
31
+ var layer21 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
+ var node55 = configured6();
34
34
 
35
- export { Metadata2, make17, useragent2, layer21, configured10, node56, exports_app };
35
+ export { Metadata2, make20, useragent2, layer21, configured6, node55, exports_app };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service76
3
- } from "./repository-cache-1qp08ady.js";
2
+ Service72
3
+ } from "./snapshot-34c0j3ep.js";
4
4
  import {
5
- Service62
6
- } from "./repository-cache-b52f6b20.js";
5
+ Service55
6
+ } from "./snapshot-3f6key9q.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service16
14
- } from "./repository-cache-sy2a3hb1.js";
13
+ Service20
14
+ } from "./snapshot-dzfez6bd.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-cache-9rqn6x4v.js";
17
+ } from "./snapshot-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input7,
22
+ Input: () => Input12,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin9,
24
+ Plugin: () => Plugin31,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name7
26
+ description: () => description5,
27
+ name: () => name12
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name7 = "websearch";
32
+ var name12 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input7 = Schema.Struct({
42
+ var Input12 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin9 = {
49
+ var Plugin31 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service62;
53
- const forms = yield* Service76;
54
- const websearch = yield* Service16;
52
+ const permission = yield* Service55;
53
+ const forms = yield* Service72;
54
+ const websearch = yield* Service20;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name7,
56
+ name: name12,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input7,
58
+ description: description5,
59
+ input: Input12,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name7,
63
+ action: name12,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name7];
179
+ delete event.tools[name12];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name7, NO_RESULTS2, description4, Input7, Plugin9, exports_websearch };
187
+ export { name12, NO_RESULTS2, description5, Input12, Plugin31, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service47
3
- } from "./repository-cache-b2p5j8y6.js";
2
+ Service62
3
+ } from "./snapshot-9smjc29v.js";
4
4
  import {
5
- Service33
6
- } from "./repository-cache-27rbdjmf.js";
5
+ Service30
6
+ } from "./snapshot-hee39r59.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin33,
15
+ Plugin: () => Plugin35,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin33 = define({
20
+ var Plugin35 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service47;
28
- const mcp = yield* Service33;
27
+ const config = yield* Service62;
28
+ const mcp = yield* Service30;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin33, register2, exports_mcp2 };
49
+ export { Plugin35, register2, exports_mcp2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node56
5
- } from "./repository-cache-d3qedjgv.js";
4
+ node55
5
+ } from "./snapshot-xx0efrt7.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./repository-cache-yrcj3v3g.js";
9
+ } from "./snapshot-h9wp8z5w.js";
10
10
  import {
11
- Service66,
12
- node69
13
- } from "./repository-cache-qby9dwvd.js";
11
+ Service78,
12
+ node82
13
+ } from "./snapshot-tx9w5tca.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./repository-cache-b52f6b20.js";
16
+ } from "./snapshot-3f6key9q.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./repository-cache-p9b1de7v.js";
19
+ } from "./snapshot-snd1jtws.js";
20
20
  import {
21
- Error3
22
- } from "./repository-cache-zsm13mz3.js";
21
+ Error5
22
+ } from "./snapshot-ansmabqy.js";
23
23
  import {
24
24
  get5
25
- } from "./repository-cache-54ma36ye.js";
25
+ } from "./snapshot-54ma36ye.js";
26
26
  import {
27
- Service35,
28
- node38
29
- } from "./repository-cache-75jaekcr.js";
27
+ Service32,
28
+ node35
29
+ } from "./snapshot-606e7s57.js";
30
30
  import {
31
31
  make16
32
- } from "./repository-cache-g5w8qwbj.js";
32
+ } from "./snapshot-g5w8qwbj.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./repository-cache-b69jv39p.js";
35
+ } from "./snapshot-znsx74x0.js";
36
36
  import {
37
37
  __export
38
- } from "./repository-cache-9rqn6x4v.js";
38
+ } from "./snapshot-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service34,
43
+ Service: () => Service31,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer14,
48
- node: () => node37,
47
+ layer: () => layer12,
48
+ node: () => node34,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
151
151
  });
152
152
  };
153
153
 
154
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
154
+ class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
155
155
  }
156
- var layer14 = Layer.effect(Service34, Effect.gen(function* () {
157
- const hooks = yield* Service66;
158
- const transport = yield* Service35;
156
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
157
+ const hooks = yield* Service78;
158
+ const transport = yield* Service32;
159
159
  const app = yield* Metadata2;
160
160
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
161
161
  const session = input.session;
@@ -163,7 +163,7 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
163
163
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
164
164
  const tools = input.tools ?? {
165
165
  definitions: [],
166
- execute: () => new Error3({ message: "Tools are not available for this request" })
166
+ execute: () => new Error5({ message: "Tools are not available for this request" })
167
167
  };
168
168
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
169
169
  const shaped = yield* shape({
@@ -260,17 +260,17 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
260
260
  };
261
261
  });
262
262
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
263
- return Service34.of({
263
+ return Service31.of({
264
264
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
265
265
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
266
266
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
267
267
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
268
268
  });
269
269
  }));
270
- var node37 = makeLocationNode({
271
- service: Service34,
272
- layer: layer14,
273
- deps: [node69, node38, node56]
270
+ var node34 = makeLocationNode({
271
+ service: Service31,
272
+ layer: layer12,
273
+ deps: [node82, node35, node55]
274
274
  });
275
275
 
276
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node37, exports_model_request };
276
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer12, node34, exports_model_request };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./repository-cache-hs1x7rht.js";
7
+ } from "./snapshot-qv8c18b1.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./repository-cache-w1eejvng.js";
13
+ } from "./snapshot-84txncab.js";
14
14
  import {
15
- Service69,
16
- node72
17
- } from "./repository-cache-j3600rrf.js";
15
+ Service70,
16
+ node74
17
+ } from "./snapshot-pevdf72a.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-cache-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service54,
33
+ Service: () => Service51,
34
34
  isError: () => isError2,
35
- node: () => node58,
35
+ node: () => node53,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service54 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service51 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service54, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service69;
110
- return Service54.of({
109
+ const kv = yield* Service70;
110
+ return Service51.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node58 = makeGlobalNode({
171
- service: Service54,
170
+ var node53 = makeGlobalNode({
171
+ service: Service51,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node72]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node74]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service54, isError2, validateBranch2, node58, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service51, isError2, validateBranch2, node53, exports_repository_cache };