@opencode/core 0.0.0-dev-44 → 0.0.0-dev-55

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 (823) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{workspace-034tev2y.js → repository-cache-034tev2y.js} +2 -2
  8. package/dist/chunks/{workspace-05hcn35g.js → repository-cache-06pe9pmm.js} +45 -45
  9. package/dist/chunks/{workspace-hfgk9wzg.js → repository-cache-06w9ffrv.js} +5 -5
  10. package/dist/chunks/{workspace-j6v813za.js → repository-cache-0711fn9k.js} +26 -27
  11. package/dist/chunks/{workspace-26asr065.js → repository-cache-0731t3tw.js} +11 -11
  12. package/dist/chunks/{workspace-jnyr2zd2.js → repository-cache-0av67dp6.js} +4 -4
  13. package/dist/chunks/{workspace-hvw13sdg.js → repository-cache-0fe450at.js} +18 -18
  14. package/dist/chunks/{workspace-s9r95bva.js → repository-cache-0h58xf1g.js} +29 -29
  15. package/dist/chunks/{workspace-ntgpnhzh.js → repository-cache-0k1p4s69.js} +7 -7
  16. package/dist/chunks/{workspace-n4yb62ce.js → repository-cache-0kze6sgm.js} +26 -26
  17. package/dist/chunks/{workspace-p2remtr5.js → repository-cache-0mv4v5wj.js} +23 -23
  18. package/dist/chunks/{workspace-6n180eb9.js → repository-cache-0tgb71k0.js} +36 -36
  19. package/dist/chunks/{workspace-gxqvyt19.js → repository-cache-0xaqh9kd.js} +5 -5
  20. package/dist/chunks/{workspace-11hfp36g.js → repository-cache-11hfp36g.js} +1 -1
  21. package/dist/chunks/{workspace-pjzas12s.js → repository-cache-126c3fvz.js} +4 -4
  22. package/dist/chunks/repository-cache-12h23m8g.js +517 -0
  23. package/dist/chunks/{workspace-w7qwarvw.js → repository-cache-1860ddgg.js} +28 -28
  24. package/dist/chunks/{workspace-gsm10rvf.js → repository-cache-1cdppm47.js} +33 -33
  25. package/dist/chunks/{workspace-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{workspace-kqg80s2x.js → repository-cache-1p9mjqrz.js} +16 -16
  27. package/dist/chunks/{workspace-xmt3nt5n.js → repository-cache-1v5xq3rj.js} +24 -24
  28. package/dist/chunks/{workspace-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{workspace-nc159y24.js → repository-cache-1znhd7w1.js} +36 -36
  30. package/dist/chunks/{workspace-204s3925.js → repository-cache-204s3925.js} +1 -1
  31. package/dist/chunks/{workspace-p3p972wa.js → repository-cache-207ajt2h.js} +5 -5
  32. package/dist/chunks/{workspace-tk6jy24y.js → repository-cache-22nm8aah.js} +45 -45
  33. package/dist/chunks/repository-cache-2a2m1jyz.js +257 -0
  34. package/dist/chunks/{workspace-qem07kdc.js → repository-cache-2c4q4gd1.js} +6 -6
  35. package/dist/chunks/{workspace-32s63gzk.js → repository-cache-2cwns7qk.js} +21 -21
  36. package/dist/chunks/{workspace-btvs6m9s.js → repository-cache-2jexvr2j.js} +27 -27
  37. package/dist/chunks/{workspace-830eskpr.js → repository-cache-2nn7s44w.js} +31 -31
  38. package/dist/chunks/{workspace-g5hey3vt.js → repository-cache-2r71v196.js} +14 -14
  39. package/dist/chunks/{workspace-sncehx48.js → repository-cache-368y3b8n.js} +17 -17
  40. package/dist/chunks/{workspace-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{workspace-ery7kzhb.js → repository-cache-3hq0yj39.js} +2 -2
  42. package/dist/chunks/{workspace-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{workspace-p0tsr9h6.js → repository-cache-3ryz99p0.js} +4 -4
  44. package/dist/chunks/{workspace-2w13yf8v.js → repository-cache-3t73xeyv.js} +2 -2
  45. package/dist/chunks/{workspace-hr7waqx2.js → repository-cache-3w0ebqzc.js} +10 -10
  46. package/dist/chunks/{workspace-s6x6bhdw.js → repository-cache-3z0hxnyk.js} +5 -5
  47. package/dist/chunks/{workspace-2q3pw4f4.js → repository-cache-401hbwyh.js} +3 -3
  48. package/dist/chunks/{workspace-k8pk7m1a.js → repository-cache-46mxd6jt.js} +31 -31
  49. package/dist/chunks/{workspace-j5sbsz7w.js → repository-cache-4btp19b3.js} +14 -14
  50. package/dist/chunks/{workspace-my7hrdx3.js → repository-cache-4c9y6q6s.js} +10 -10
  51. package/dist/chunks/{workspace-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{workspace-awztprj3.js → repository-cache-4rdf7p1z.js} +6 -6
  53. package/dist/chunks/{workspace-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
  54. package/dist/chunks/{workspace-3d1z145j.js → repository-cache-4yq3azdc.js} +18 -18
  55. package/dist/chunks/{workspace-akmjs5z5.js → repository-cache-54cc93aa.js} +36 -36
  56. package/dist/chunks/{workspace-7pa3t2xk.js → repository-cache-5bbnem9k.js} +11 -11
  57. package/dist/chunks/{workspace-kkv0936x.js → repository-cache-5btzaxpa.js} +19 -19
  58. package/dist/chunks/{workspace-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{workspace-hfqt73mn.js → repository-cache-5mkx8w5e.js} +11 -11
  60. package/dist/chunks/{workspace-6c09pra0.js → repository-cache-5vz29j2k.js} +17 -17
  61. package/dist/chunks/{workspace-p7vhpwh8.js → repository-cache-5zrxpy3q.js} +5 -5
  62. package/dist/chunks/{workspace-ytfkq0y6.js → repository-cache-60ge4sjk.js} +17 -17
  63. package/dist/chunks/{workspace-s626qfae.js → repository-cache-61ennm6n.js} +4 -4
  64. package/dist/chunks/{workspace-1yms9fvm.js → repository-cache-61t7fw61.js} +19 -19
  65. package/dist/chunks/{workspace-rhk24g9e.js → repository-cache-69gwv1xx.js} +5 -5
  66. package/dist/chunks/{workspace-70s3x0a6.js → repository-cache-69zgfr7z.js} +4 -4
  67. package/dist/chunks/{workspace-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{workspace-sh1n2w0x.js → repository-cache-6fjx9w38.js} +17 -17
  69. package/dist/chunks/{workspace-608ahxn3.js → repository-cache-6nw1th37.js} +4 -4
  70. package/dist/chunks/{workspace-s00mzv4c.js → repository-cache-6xz7nqt8.js} +12 -12
  71. package/dist/chunks/{workspace-6xqtcmxs.js → repository-cache-6y263vp8.js} +5 -5
  72. package/dist/chunks/{workspace-ep0wsmvm.js → repository-cache-6z1320sj.js} +28 -28
  73. package/dist/chunks/{workspace-0b2278mc.js → repository-cache-6ze967nv.js} +54 -54
  74. package/dist/chunks/{workspace-1b28s763.js → repository-cache-6zz3v10r.js} +15 -15
  75. package/dist/chunks/{workspace-xn8rwapq.js → repository-cache-744d0c63.js} +5 -5
  76. package/dist/chunks/{workspace-njaxvrn0.js → repository-cache-75g1xcwv.js} +18 -18
  77. package/dist/chunks/{workspace-kb4jv8gq.js → repository-cache-75v6tc0m.js} +19 -19
  78. package/dist/chunks/{workspace-q2yncp4a.js → repository-cache-76g7jkkw.js} +15 -15
  79. package/dist/chunks/{workspace-fp8mkx0f.js → repository-cache-76q453m6.js} +25 -25
  80. package/dist/chunks/{workspace-nah043kf.js → repository-cache-770pw0s1.js} +4 -4
  81. package/dist/chunks/{workspace-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{workspace-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
  83. package/dist/chunks/{workspace-amkjttct.js → repository-cache-83fkeet7.js} +9 -9
  84. package/dist/chunks/{workspace-p7yet7aw.js → repository-cache-8mtpnz0v.js} +21 -21
  85. package/dist/chunks/{workspace-ehk1qjjw.js → repository-cache-8nzygxt8.js} +50 -50
  86. package/dist/chunks/{workspace-rwswcgad.js → repository-cache-8t2j541k.js} +11 -11
  87. package/dist/chunks/{workspace-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
  88. package/dist/chunks/{workspace-90zstvax.js → repository-cache-90zstvax.js} +1 -1
  89. package/dist/chunks/{workspace-0cxeed95.js → repository-cache-9111wyrc.js} +6 -6
  90. package/dist/chunks/{workspace-kww0x7wp.js → repository-cache-93ab2gax.js} +17 -17
  91. package/dist/chunks/{workspace-6739jmjn.js → repository-cache-98qrekfe.js} +5 -5
  92. package/dist/chunks/{workspace-9cx9sm2q.js → repository-cache-9cx9sm2q.js} +1 -1
  93. package/dist/chunks/{workspace-mmx1mfjr.js → repository-cache-9q8g9sv8.js} +4 -4
  94. package/dist/chunks/{workspace-pcbcnm4r.js → repository-cache-9ryshn0f.js} +26 -26
  95. package/dist/chunks/{workspace-tmd1r8tg.js → repository-cache-9tvpxs1q.js} +4 -4
  96. package/dist/chunks/{workspace-5sxvsbaz.js → repository-cache-a0tqv4gf.js} +15 -15
  97. package/dist/chunks/{workspace-9gadynp5.js → repository-cache-a16f13fh.js} +16 -16
  98. package/dist/chunks/{workspace-p9az4c9x.js → repository-cache-adf3gjyn.js} +28 -28
  99. package/dist/chunks/{workspace-dm94hefv.js → repository-cache-agrjqxtd.js} +40 -40
  100. package/dist/chunks/{workspace-y5qv99bq.js → repository-cache-ajv3ghch.js} +16 -16
  101. package/dist/chunks/{workspace-c7k55dj2.js → repository-cache-an749m78.js} +1 -1
  102. package/dist/chunks/{workspace-w4cmxjpb.js → repository-cache-asrq7j76.js} +19 -19
  103. package/dist/chunks/{workspace-cyxjym35.js → repository-cache-atw8c7pr.js} +3 -3
  104. package/dist/chunks/{workspace-zv4bvann.js → repository-cache-ayj1td4f.js} +29 -29
  105. package/dist/chunks/{workspace-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{workspace-zathn158.js → repository-cache-b4e3zc8a.js} +43 -43
  107. package/dist/chunks/{workspace-4f77jkmz.js → repository-cache-b58rnyhw.js} +20 -20
  108. package/dist/chunks/{workspace-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
  109. package/dist/chunks/{workspace-4n4j58bv.js → repository-cache-bb4x0tjg.js} +188 -188
  110. package/dist/chunks/{workspace-yd4hs1rm.js → repository-cache-bec1vpmw.js} +32 -32
  111. package/dist/chunks/{workspace-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
  112. package/dist/chunks/{workspace-3xtarm87.js → repository-cache-bt05tr8e.js} +5 -5
  113. package/dist/chunks/{workspace-g9navxqt.js → repository-cache-bwewbjz4.js} +13 -13
  114. package/dist/chunks/{workspace-d7mpa99n.js → repository-cache-bwjvbmsb.js} +88 -88
  115. package/dist/chunks/{workspace-51em56x4.js → repository-cache-bx992dmv.js} +9 -9
  116. package/dist/chunks/{workspace-q0dc1a9h.js → repository-cache-bxpjy74r.js} +15 -15
  117. package/dist/chunks/{workspace-9era1v6z.js → repository-cache-c1tffms3.js} +45 -45
  118. package/dist/chunks/{workspace-yx85ewrr.js → repository-cache-c7w77bqn.js} +14 -14
  119. package/dist/chunks/{workspace-frhk2vn3.js → repository-cache-c9xzbdd8.js} +5 -5
  120. package/dist/chunks/{workspace-0wtxmv38.js → repository-cache-cbyw8mhh.js} +13 -13
  121. package/dist/chunks/{workspace-ey35m0mc.js → repository-cache-csyeyjrf.js} +9 -9
  122. package/dist/chunks/{workspace-rph8wvgf.js → repository-cache-cwcqs07e.js} +30 -30
  123. package/dist/chunks/{workspace-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
  124. package/dist/chunks/{workspace-03cg90a5.js → repository-cache-cyty15yb.js} +25 -25
  125. package/dist/chunks/{workspace-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
  126. package/dist/chunks/{workspace-zwz8wfn8.js → repository-cache-dg9hqg77.js} +3 -3
  127. package/dist/chunks/{workspace-31h7jx7a.js → repository-cache-dh0xafzq.js} +32 -32
  128. package/dist/chunks/{workspace-n66c6y3m.js → repository-cache-djjzzs3c.js} +6 -6
  129. package/dist/chunks/{workspace-jn88007r.js → repository-cache-dkqkergf.js} +9 -9
  130. package/dist/chunks/{workspace-6sqa993f.js → repository-cache-dqpjcdfr.js} +9 -9
  131. package/dist/chunks/{workspace-dt77769w.js → repository-cache-dt77769w.js} +1 -1
  132. package/dist/chunks/{workspace-rrwqa0x9.js → repository-cache-dwy6z8dc.js} +21 -21
  133. package/dist/chunks/{workspace-7jhsbrss.js → repository-cache-dys1grgm.js} +14 -14
  134. package/dist/chunks/{workspace-e07q2w5p.js → repository-cache-e07q2w5p.js} +1 -1
  135. package/dist/chunks/{workspace-yd1z09nw.js → repository-cache-e3p7per7.js} +90 -90
  136. package/dist/chunks/{workspace-e834z07m.js → repository-cache-e834z07m.js} +1 -1
  137. package/dist/chunks/{workspace-755bmxs3.js → repository-cache-efqx7wb7.js} +16 -16
  138. package/dist/chunks/{workspace-d80v8vzq.js → repository-cache-efz9xtfj.js} +21 -21
  139. package/dist/chunks/{workspace-cayjy6n6.js → repository-cache-epsjn5re.js} +12 -12
  140. package/dist/chunks/{workspace-dw8ve4v4.js → repository-cache-evnead99.js} +7 -7
  141. package/dist/chunks/{workspace-99yevx5r.js → repository-cache-f1h45990.js} +34 -34
  142. package/dist/chunks/{workspace-ym4mb7j3.js → repository-cache-f2hv8cv8.js} +11 -11
  143. package/dist/chunks/{workspace-ez0rpz4z.js → repository-cache-f4zya5pk.js} +36 -36
  144. package/dist/chunks/{workspace-8hsrsqw0.js → repository-cache-fcq8h12c.js} +30 -30
  145. package/dist/chunks/{workspace-sp13ydqz.js → repository-cache-fdfvc1dg.js} +24 -24
  146. package/dist/chunks/{workspace-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{workspace-fxcaqc0y.js → repository-cache-fhsk438g.js} +3 -3
  148. package/dist/chunks/{workspace-q2dh4fth.js → repository-cache-fsd04637.js} +9 -9
  149. package/dist/chunks/{workspace-h7mq0gsg.js → repository-cache-fwgp6qwj.js} +2 -2
  150. package/dist/chunks/{workspace-41gw1q61.js → repository-cache-g2zgwj7s.js} +17 -17
  151. package/dist/chunks/{workspace-jskh73wk.js → repository-cache-g3hvekgd.js} +17 -17
  152. package/dist/chunks/{workspace-fs0zc2gt.js → repository-cache-g4y5gz37.js} +6 -6
  153. package/dist/chunks/{workspace-dk4vvp25.js → repository-cache-gcgkk9nz.js} +23 -23
  154. package/dist/chunks/{workspace-w2f8g9ey.js → repository-cache-gf4hftfj.js} +10 -10
  155. package/dist/chunks/{workspace-gg8p9cgs.js → repository-cache-gg8p9cgs.js} +3 -3
  156. package/dist/chunks/{workspace-n037b2rv.js → repository-cache-gh11ee6b.js} +15 -16
  157. package/dist/chunks/{workspace-h8ydc4kt.js → repository-cache-gj88ka9e.js} +16 -16
  158. package/dist/chunks/{workspace-9r7wjzbr.js → repository-cache-grfmaxtg.js} +48 -48
  159. package/dist/chunks/{workspace-ctxfhcf9.js → repository-cache-grnvj370.js} +22 -22
  160. package/dist/chunks/{workspace-xq21eycy.js → repository-cache-gybe5gkg.js} +22 -22
  161. package/dist/chunks/{workspace-9phxzr4p.js → repository-cache-h255y8je.js} +32 -32
  162. package/dist/chunks/{workspace-mc5hffvt.js → repository-cache-h4ydejha.js} +13 -13
  163. package/dist/chunks/{workspace-3j1m3tq4.js → repository-cache-haf3v3hy.js} +5 -5
  164. package/dist/chunks/{workspace-b50bzspk.js → repository-cache-havzekw2.js} +4 -4
  165. package/dist/chunks/{workspace-1j0p5zqx.js → repository-cache-hdfrs5mg.js} +9 -9
  166. package/dist/chunks/{workspace-jzavwc5a.js → repository-cache-hgrfbex2.js} +9 -9
  167. package/dist/chunks/{workspace-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
  168. package/dist/chunks/{workspace-1e9r6beh.js → repository-cache-hxvg6wb1.js} +18 -18
  169. package/dist/chunks/{workspace-s6p20e1k.js → repository-cache-j0tgfc8g.js} +8 -8
  170. package/dist/chunks/{workspace-e471twwt.js → repository-cache-j49x6kf4.js} +8 -8
  171. package/dist/chunks/{workspace-ysxs50rr.js → repository-cache-j6gvah3y.js} +21 -21
  172. package/dist/chunks/{workspace-jergy4yb.js → repository-cache-j7407a90.js} +7 -7
  173. package/dist/chunks/{workspace-90a4dvkd.js → repository-cache-jb6rb1an.js} +15 -15
  174. package/dist/chunks/{workspace-bgm817xr.js → repository-cache-jcqm84fr.js} +9 -9
  175. package/dist/chunks/{workspace-jfaecv01.js → repository-cache-jfaecv01.js} +1 -1
  176. package/dist/chunks/{workspace-rg6x42m8.js → repository-cache-jgy2dcvd.js} +11 -11
  177. package/dist/chunks/{workspace-w1z9n04s.js → repository-cache-jmzf3sak.js} +31 -31
  178. package/dist/chunks/{workspace-vxrwmfev.js → repository-cache-jpj38ht1.js} +4 -4
  179. package/dist/chunks/{workspace-k6ng50pn.js → repository-cache-js6kqssh.js} +5 -5
  180. package/dist/chunks/{workspace-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
  181. package/dist/chunks/{workspace-rg08y4e9.js → repository-cache-jwhwbamd.js} +19 -19
  182. package/dist/chunks/{workspace-nq1gfgg7.js → repository-cache-jzesebws.js} +17 -17
  183. package/dist/chunks/{workspace-6kasyq0d.js → repository-cache-k2rhsbab.js} +4 -4
  184. package/dist/chunks/{workspace-bffx5779.js → repository-cache-k6c5bswj.js} +13 -13
  185. package/dist/chunks/{workspace-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
  186. package/dist/chunks/{workspace-3h9vfbt2.js → repository-cache-kk93czde.js} +10 -10
  187. package/dist/chunks/{workspace-k8ndw37r.js → repository-cache-kke9g1hb.js} +43 -43
  188. package/dist/chunks/{workspace-rhyf1zg1.js → repository-cache-knt1f303.js} +15 -15
  189. package/dist/chunks/{workspace-pd9dp0pk.js → repository-cache-kqjqdw98.js} +40 -40
  190. package/dist/chunks/{workspace-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
  191. package/dist/chunks/{workspace-m1714858.js → repository-cache-m1714858.js} +1 -1
  192. package/dist/chunks/{workspace-vswznq9x.js → repository-cache-m29sxe67.js} +19 -19
  193. package/dist/chunks/{workspace-m061cbn2.js → repository-cache-m6ved7xn.js} +16 -16
  194. package/dist/chunks/{workspace-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{workspace-a6h2hm85.js → repository-cache-mc3192g6.js} +54 -54
  196. package/dist/chunks/{workspace-4watfg9m.js → repository-cache-me73n50h.js} +11 -11
  197. package/dist/chunks/{workspace-drvbhkez.js → repository-cache-mj0wev1x.js} +4 -4
  198. package/dist/chunks/{workspace-ckzatb6h.js → repository-cache-mptjpcxy.js} +14 -14
  199. package/dist/chunks/{workspace-ka4q668c.js → repository-cache-mszzfg2j.js} +23 -23
  200. package/dist/chunks/{workspace-cpzhveq8.js → repository-cache-nx0czgsy.js} +3 -3
  201. package/dist/chunks/{workspace-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
  202. package/dist/chunks/{workspace-ynvxk982.js → repository-cache-p1vte9h6.js} +11 -11
  203. package/dist/chunks/{workspace-wctr8ape.js → repository-cache-p96sj727.js} +6 -6
  204. package/dist/chunks/{workspace-vp7nv6ts.js → repository-cache-pankmnx0.js} +15 -15
  205. package/dist/chunks/{workspace-5x26af84.js → repository-cache-pbbktnbz.js} +4 -4
  206. package/dist/chunks/{workspace-1bssk9xk.js → repository-cache-pfy2m4ca.js} +5 -5
  207. package/dist/chunks/{workspace-3tkbzst4.js → repository-cache-pk48tdmc.js} +8 -8
  208. package/dist/chunks/{workspace-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  209. package/dist/chunks/{workspace-r7xar5ns.js → repository-cache-pnwsrq7c.js} +8 -8
  210. package/dist/chunks/{workspace-fg9p65nk.js → repository-cache-prq7xxp2.js} +6 -6
  211. package/dist/chunks/{workspace-xhf31v2h.js → repository-cache-pzbtwyx3.js} +25 -25
  212. package/dist/chunks/{workspace-9ha38bm5.js → repository-cache-q1s8j9ch.js} +4 -4
  213. package/dist/chunks/{workspace-n4njqkes.js → repository-cache-q5h6r7rp.js} +24 -24
  214. package/dist/chunks/{workspace-q371acht.js → repository-cache-q9eywg3w.js} +16 -16
  215. package/dist/chunks/{workspace-3vf9nnam.js → repository-cache-q9qc3bva.js} +9 -9
  216. package/dist/chunks/{workspace-vg0erq9k.js → repository-cache-qkqjbc48.js} +3 -3
  217. package/dist/chunks/{workspace-rsya75cp.js → repository-cache-qkxp7296.js} +1 -1
  218. package/dist/chunks/{workspace-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
  219. package/dist/chunks/{workspace-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{workspace-r542h3bh.js → repository-cache-r542h3bh.js} +1 -1
  221. package/dist/chunks/{workspace-f9bbcs0x.js → repository-cache-r6whtadg.js} +23 -23
  222. package/dist/chunks/{workspace-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{workspace-t90jtn3y.js → repository-cache-rp5k6d8n.js} +16 -16
  224. package/dist/chunks/{workspace-dynac9eb.js → repository-cache-rpkzka4k.js} +13 -13
  225. package/dist/chunks/{workspace-krq85k1q.js → repository-cache-rqx7f7vj.js} +4 -4
  226. package/dist/chunks/{workspace-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{workspace-pxc4avcg.js → repository-cache-rwct159c.js} +11 -11
  228. package/dist/chunks/{workspace-115742jf.js → repository-cache-rx5gvnt1.js} +28 -28
  229. package/dist/chunks/{workspace-1rdpnva5.js → repository-cache-rz5tx8yt.js} +21 -21
  230. package/dist/chunks/{workspace-5m8pjz4h.js → repository-cache-s0815yd1.js} +30 -30
  231. package/dist/chunks/{workspace-21g12dr6.js → repository-cache-s3jtzn6y.js} +34 -34
  232. package/dist/chunks/{workspace-0x9e628c.js → repository-cache-s6re1h3h.js} +33 -33
  233. package/dist/chunks/{workspace-g1whzzn7.js → repository-cache-sa01r6br.js} +7 -7
  234. package/dist/chunks/{workspace-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
  235. package/dist/chunks/{workspace-xm65xzy2.js → repository-cache-scvnz3tv.js} +45 -45
  236. package/dist/chunks/{workspace-0yt736da.js → repository-cache-sgrnxxty.js} +18 -18
  237. package/dist/chunks/{workspace-amxp7tb6.js → repository-cache-sgrvbqkr.js} +18 -18
  238. package/dist/chunks/{workspace-z536rte3.js → repository-cache-sh0q5wym.js} +32 -32
  239. package/dist/chunks/{workspace-haxfm848.js → repository-cache-sjt6c43d.js} +10 -10
  240. package/dist/chunks/{workspace-y8r2caxt.js → repository-cache-snb89k4v.js} +32 -32
  241. package/dist/chunks/{workspace-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
  242. package/dist/chunks/{workspace-d2887f8n.js → repository-cache-ssfehs1z.js} +4 -4
  243. package/dist/chunks/{workspace-ta4g3tqy.js → repository-cache-stwk20ed.js} +8 -8
  244. package/dist/chunks/{workspace-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
  245. package/dist/chunks/{workspace-s73mcn75.js → repository-cache-sytrbmxa.js} +21 -21
  246. package/dist/chunks/{workspace-e8jqfb1a.js → repository-cache-t0zgzgtb.js} +12 -12
  247. package/dist/chunks/{workspace-nnb56zdr.js → repository-cache-taveqshq.js} +11 -11
  248. package/dist/chunks/{workspace-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{workspace-aedwt843.js → repository-cache-tg1vr1qt.js} +8 -8
  250. package/dist/chunks/{workspace-ht34p3rm.js → repository-cache-thyeeq05.js} +3 -3
  251. package/dist/chunks/{workspace-hm291q16.js → repository-cache-ts7mkfs9.js} +3 -3
  252. package/dist/chunks/{workspace-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
  253. package/dist/chunks/{workspace-gxk0f8v3.js → repository-cache-twtxmczq.js} +12 -12
  254. package/dist/chunks/{workspace-xq4c6pbn.js → repository-cache-txxjr4gv.js} +23 -23
  255. package/dist/chunks/{workspace-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{workspace-zgs7qsk5.js → repository-cache-v7wb1cp1.js} +16 -16
  257. package/dist/chunks/{workspace-6f9jk43g.js → repository-cache-vb2nzj1m.js} +22 -22
  258. package/dist/chunks/{workspace-tms1d3r7.js → repository-cache-vdatw69e.js} +15 -15
  259. package/dist/chunks/{workspace-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  260. package/dist/chunks/{workspace-bj6yd2m6.js → repository-cache-vqxcyac6.js} +11 -11
  261. package/dist/chunks/{workspace-71gcaexf.js → repository-cache-vtsyfctf.js} +25 -25
  262. package/dist/chunks/{workspace-5enarcya.js → repository-cache-w2eysc6j.js} +6 -6
  263. package/dist/chunks/{workspace-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{workspace-w687dnns.js → repository-cache-w687dnns.js} +1 -1
  265. package/dist/chunks/{workspace-8r9nj4s8.js → repository-cache-w76xjer3.js} +4 -4
  266. package/dist/chunks/{workspace-m9ptjqeh.js → repository-cache-w81qrt50.js} +6 -6
  267. package/dist/chunks/{workspace-w8qtt4th.js → repository-cache-w8qtt4th.js} +1 -1
  268. package/dist/chunks/{workspace-dwwyec8z.js → repository-cache-wa8k00xj.js} +6 -6
  269. package/dist/chunks/{workspace-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
  270. package/dist/chunks/{workspace-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  271. package/dist/chunks/{workspace-tmvc1kcy.js → repository-cache-ws0jw39t.js} +27 -27
  272. package/dist/chunks/{workspace-sfdw5d12.js → repository-cache-wvk1wtsq.js} +11 -11
  273. package/dist/chunks/{workspace-25wbv3kn.js → repository-cache-x00hvv89.js} +3 -3
  274. package/dist/chunks/{workspace-b19sr9k5.js → repository-cache-x4etgdbd.js} +30 -30
  275. package/dist/chunks/{workspace-afyka953.js → repository-cache-x4gc5gbk.js} +9 -9
  276. package/dist/chunks/{workspace-3a7vrk06.js → repository-cache-x6d4sgx3.js} +11 -11
  277. package/dist/chunks/{workspace-1kn6jdkn.js → repository-cache-xt0z8zst.js} +4 -4
  278. package/dist/chunks/{workspace-1bb8zgeb.js → repository-cache-xwmtk72n.js} +8 -8
  279. package/dist/chunks/repository-cache-xx32eqvj.js +26 -0
  280. package/dist/chunks/{workspace-yara3q77.js → repository-cache-yara3q77.js} +2 -2
  281. package/dist/chunks/{workspace-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
  282. package/dist/chunks/{workspace-sk5cz3k6.js → repository-cache-yc79q165.js} +18 -18
  283. package/dist/chunks/{workspace-4r0ztz0m.js → repository-cache-yfkhsjsm.js} +6 -6
  284. package/dist/chunks/{workspace-2z0bbf9q.js → repository-cache-ytc9yt2s.js} +11 -11
  285. package/dist/chunks/{workspace-qm6s8ej8.js → repository-cache-ywqn3jdz.js} +8 -8
  286. package/dist/chunks/{workspace-xby723hm.js → repository-cache-yz9rz98a.js} +8 -8
  287. package/dist/chunks/{workspace-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/repository-cache-z355x5yr.js +18 -0
  289. package/dist/chunks/{workspace-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
  290. package/dist/chunks/{workspace-7qdazcae.js → repository-cache-zaq8ky8h.js} +11 -11
  291. package/dist/chunks/{workspace-befcg3vk.js → repository-cache-zc9mtzb2.js} +5 -5
  292. package/dist/chunks/{workspace-h5edevtj.js → repository-cache-ze8w1qcn.js} +66 -66
  293. package/dist/chunks/{workspace-9z9tayqc.js → repository-cache-zgd8t41s.js} +9 -9
  294. package/dist/chunks/{workspace-zgkm4kzm.js → repository-cache-zgkm4kzm.js} +3 -3
  295. package/dist/chunks/{workspace-s396tgzf.js → repository-cache-zwenfqkq.js} +7 -7
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +9 -9
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +85 -85
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +1 -1
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +121 -121
  306. package/dist/config/plugin/command.js +219 -219
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +128 -128
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +123 -123
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +3 -3
  321. package/dist/config/plugin/skill.js +145 -145
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +122 -122
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +122 -122
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +124 -124
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +13 -13
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +14 -14
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +100 -100
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +1 -1
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +101 -101
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +76 -76
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +81 -81
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +234 -234
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +9 -9
  443. package/dist/filesystem.js +108 -108
  444. package/dist/form.js +88 -88
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +91 -91
  447. package/dist/generate.js +113 -113
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +107 -107
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +92 -92
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +93 -93
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +75 -75
  482. package/dist/location-activity.js +163 -163
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +95 -95
  487. package/dist/managed-policy.js +7 -7
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +115 -115
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +107 -107
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +108 -108
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +84 -84
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +143 -143
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +96 -96
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +80 -80
  511. package/dist/plugin/command.js +108 -108
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +121 -121
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +106 -106
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +80 -80
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +360 -360
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +6 -6
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +6 -6
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +4 -4
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +4 -4
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +232 -232
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +8 -8
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +96 -96
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +104 -104
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +98 -98
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +1 -1
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +105 -105
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +162 -162
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +228 -228
  607. package/dist/session/execution.js +152 -152
  608. package/dist/session/generate.js +188 -188
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +138 -138
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +154 -154
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +79 -79
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +4 -4
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +3 -3
  644. package/dist/session/title.js +186 -186
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +224 -224
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +225 -225
  649. package/dist/shell/parse.js +8 -8
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +13 -13
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +141 -141
  656. package/dist/skill.js +150 -150
  657. package/dist/snapshot.js +99 -99
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +163 -163
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +158 -158
  665. package/dist/tool/plugin/grep.js +158 -158
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +156 -156
  669. package/dist/tool/plugin/question.js +138 -138
  670. package/dist/tool/plugin/read.js +159 -159
  671. package/dist/tool/plugin/shell.js +224 -224
  672. package/dist/tool/plugin/skill.js +149 -149
  673. package/dist/tool/plugin/subagent.js +226 -226
  674. package/dist/tool/plugin/todo.js +145 -145
  675. package/dist/tool/plugin/webfetch.js +147 -147
  676. package/dist/tool/plugin/websearch.js +145 -145
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +12 -12
  682. package/dist/types/integration.d.ts +0 -2
  683. package/dist/usage-limits.js +95 -95
  684. package/dist/util/error-summary.js +1 -1
  685. package/dist/util/git-executable.js +3 -3
  686. package/dist/util/lazy.js +1 -1
  687. package/dist/util/slug.js +1 -1
  688. package/dist/util/token.js +1 -1
  689. package/dist/util/which.js +1 -1
  690. package/dist/util/wildcard.js +1 -1
  691. package/dist/v1/config/agent.js +5 -5
  692. package/dist/v1/config/command.js +3 -3
  693. package/dist/v1/config/mcp.js +4 -4
  694. package/dist/v1/config/migrate.js +100 -100
  695. package/dist/v1/config/permission.js +3 -3
  696. package/dist/v1/config/plugin.js +3 -3
  697. package/dist/v1/config/provider-options.js +1 -1
  698. package/dist/v1/config/provider.js +4 -4
  699. package/dist/variant.js +101 -101
  700. package/dist/vcs/patch.js +1 -1
  701. package/dist/vcs.js +95 -95
  702. package/dist/voice.js +94 -94
  703. package/dist/websearch.js +90 -90
  704. package/dist/wellknown/plugin.js +82 -82
  705. package/dist/wellknown.js +87 -87
  706. package/dist/workspace/driver.js +7 -7
  707. package/dist/workspace/sql.js +1 -1
  708. package/dist/workspace.js +88 -88
  709. package/dist/worktree/directory.js +2 -2
  710. package/dist/worktree/git.js +11 -11
  711. package/dist/worktree/sql.js +5 -5
  712. package/dist/worktree/strategies.js +97 -97
  713. package/dist/worktree.js +106 -106
  714. package/package.json +8 -8
  715. package/dist/chunks/workspace-8yc2jv87.js +0 -257
  716. package/dist/chunks/workspace-b1bdn9ww.js +0 -18
  717. package/dist/chunks/workspace-vznp0c4w.js +0 -26
  718. package/dist/chunks/workspace-y4sbm31z.js +0 -517
  719. /package/dist/chunks/{workspace-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  720. /package/dist/chunks/{workspace-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  721. /package/dist/chunks/{workspace-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  722. /package/dist/chunks/{workspace-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  723. /package/dist/chunks/{workspace-1jakw16s.js → repository-cache-1jakw16s.js} +0 -0
  724. /package/dist/chunks/{workspace-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  725. /package/dist/chunks/{workspace-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  726. /package/dist/chunks/{workspace-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
  727. /package/dist/chunks/{workspace-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  728. /package/dist/chunks/{workspace-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  729. /package/dist/chunks/{workspace-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  730. /package/dist/chunks/{workspace-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  731. /package/dist/chunks/{workspace-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  732. /package/dist/chunks/{workspace-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  733. /package/dist/chunks/{workspace-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  734. /package/dist/chunks/{workspace-4m86bj6y.js → repository-cache-4m86bj6y.js} +0 -0
  735. /package/dist/chunks/{workspace-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  736. /package/dist/chunks/{workspace-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  737. /package/dist/chunks/{workspace-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  738. /package/dist/chunks/{workspace-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  739. /package/dist/chunks/{workspace-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
  740. /package/dist/chunks/{workspace-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  741. /package/dist/chunks/{workspace-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  742. /package/dist/chunks/{workspace-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  743. /package/dist/chunks/{workspace-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  744. /package/dist/chunks/{workspace-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  745. /package/dist/chunks/{workspace-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
  746. /package/dist/chunks/{workspace-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  747. /package/dist/chunks/{workspace-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  748. /package/dist/chunks/{workspace-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  749. /package/dist/chunks/{workspace-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  750. /package/dist/chunks/{workspace-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  751. /package/dist/chunks/{workspace-a058387c.js → repository-cache-a058387c.js} +0 -0
  752. /package/dist/chunks/{workspace-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  753. /package/dist/chunks/{workspace-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  754. /package/dist/chunks/{workspace-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  755. /package/dist/chunks/{workspace-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  756. /package/dist/chunks/{workspace-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  757. /package/dist/chunks/{workspace-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
  758. /package/dist/chunks/{workspace-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  759. /package/dist/chunks/{workspace-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  760. /package/dist/chunks/{workspace-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  761. /package/dist/chunks/{workspace-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
  762. /package/dist/chunks/{workspace-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  763. /package/dist/chunks/{workspace-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  764. /package/dist/chunks/{workspace-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  765. /package/dist/chunks/{workspace-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  766. /package/dist/chunks/{workspace-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  767. /package/dist/chunks/{workspace-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  768. /package/dist/chunks/{workspace-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  769. /package/dist/chunks/{workspace-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  770. /package/dist/chunks/{workspace-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  771. /package/dist/chunks/{workspace-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  772. /package/dist/chunks/{workspace-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  773. /package/dist/chunks/{workspace-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  774. /package/dist/chunks/{workspace-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  775. /package/dist/chunks/{workspace-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  776. /package/dist/chunks/{workspace-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  777. /package/dist/chunks/{workspace-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  778. /package/dist/chunks/{workspace-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
  779. /package/dist/chunks/{workspace-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  780. /package/dist/chunks/{workspace-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  781. /package/dist/chunks/{workspace-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  782. /package/dist/chunks/{workspace-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  783. /package/dist/chunks/{workspace-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
  784. /package/dist/chunks/{workspace-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  785. /package/dist/chunks/{workspace-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  786. /package/dist/chunks/{workspace-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  787. /package/dist/chunks/{workspace-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  788. /package/dist/chunks/{workspace-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  789. /package/dist/chunks/{workspace-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  790. /package/dist/chunks/{workspace-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
  791. /package/dist/chunks/{workspace-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
  792. /package/dist/chunks/{workspace-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  793. /package/dist/chunks/{workspace-m18g726c.js → repository-cache-m18g726c.js} +0 -0
  794. /package/dist/chunks/{workspace-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  795. /package/dist/chunks/{workspace-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  796. /package/dist/chunks/{workspace-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  797. /package/dist/chunks/{workspace-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  798. /package/dist/chunks/{workspace-ncqqe42p.js → repository-cache-ncqqe42p.js} +0 -0
  799. /package/dist/chunks/{workspace-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  800. /package/dist/chunks/{workspace-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
  801. /package/dist/chunks/{workspace-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  802. /package/dist/chunks/{workspace-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  803. /package/dist/chunks/{workspace-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  804. /package/dist/chunks/{workspace-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  805. /package/dist/chunks/{workspace-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  806. /package/dist/chunks/{workspace-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  807. /package/dist/chunks/{workspace-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  808. /package/dist/chunks/{workspace-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  809. /package/dist/chunks/{workspace-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  810. /package/dist/chunks/{workspace-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  811. /package/dist/chunks/{workspace-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
  812. /package/dist/chunks/{workspace-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  813. /package/dist/chunks/{workspace-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  814. /package/dist/chunks/{workspace-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  815. /package/dist/chunks/{workspace-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  816. /package/dist/chunks/{workspace-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  817. /package/dist/chunks/{workspace-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  818. /package/dist/chunks/{workspace-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  819. /package/dist/chunks/{workspace-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  820. /package/dist/chunks/{workspace-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  821. /package/dist/chunks/{workspace-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  822. /package/dist/chunks/{workspace-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  823. /package/dist/chunks/{workspace-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./workspace-z5v4ffb3.js";
4
+ } from "./repository-cache-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
+ Service84,
9
+ node88
10
+ } from "./repository-cache-twtxmczq.js";
11
+ import {
8
12
  Service82,
9
13
  node86
10
- } from "./workspace-gxk0f8v3.js";
11
- import {
12
- Service80,
13
- node84
14
- } from "./workspace-h8ydc4kt.js";
14
+ } from "./repository-cache-gj88ka9e.js";
15
15
  import {
16
16
  create3
17
- } from "./workspace-204s3925.js";
17
+ } from "./repository-cache-204s3925.js";
18
18
  import {
19
19
  __export
20
- } from "./workspace-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID14,
27
- Service: () => Service79,
25
+ Error: () => Error3,
26
+ ID: () => ID9,
27
+ Service: () => Service60,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node83,
29
+ node: () => node62,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID14 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service79 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service60 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service79, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service82;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID14.make(tree);
99
+ return ID9.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
141
141
  for (const [file, snapshot] of input.files) {
142
142
  const absolute = path.resolve(worktree, file);
143
143
  if (!FSUtil.contains(worktree, absolute))
144
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
144
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
145
  files.set(file, TreeID2.make(snapshot));
146
146
  }
147
147
  return files;
148
148
  });
149
149
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
150
150
  if (!enabled())
151
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
151
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
152
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
153
153
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  });
155
- return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
155
+ return Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
156
  }).pipe(Effect.withSpan("Snapshot.boot")));
157
- var node83 = makeLocationNode({
158
- service: Service79,
157
+ var node62 = makeLocationNode({
158
+ service: Service60,
159
159
  layer,
160
- deps: [FSUtil.node, node86, Global.node, node84]
160
+ deps: [FSUtil.node, node88, Global.node, node86]
161
161
  });
162
- var noopLayer3 = Layer.succeed(Service79, Service79.of({
162
+ var noopLayer3 = Layer.succeed(Service60, Service60.of({
163
163
  transform: () => Effect.succeed({ dispose: Effect.void }),
164
164
  reload: () => Effect.void,
165
165
  capture: () => Effect.undefined,
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service79, Service79.of({
168
168
  restore: () => Effect.void
169
169
  }));
170
170
  function failure(operation, cause) {
171
- if (cause instanceof Error5 && cause.operation === operation)
171
+ if (cause instanceof Error3 && cause.operation === operation)
172
172
  return cause;
173
- return new Error5({
173
+ return new Error3({
174
174
  operation,
175
175
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
176
176
  cause
177
177
  });
178
178
  }
179
179
 
180
- export { ID14, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
180
+ export { ID9, Error3, Service60, node62, noopLayer3, exports_snapshot2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service80
3
- } from "./workspace-h8ydc4kt.js";
2
+ Service82
3
+ } from "./repository-cache-gj88ka9e.js";
4
4
  import {
5
- ID7,
5
+ ID12,
6
6
  Family2
7
- } from "./workspace-31h7jx7a.js";
7
+ } from "./repository-cache-dh0xafzq.js";
8
8
  import {
9
- Service64
10
- } from "./workspace-k8ndw37r.js";
9
+ Service65
10
+ } from "./repository-cache-kke9g1hb.js";
11
11
  import {
12
- Service75
13
- } from "./workspace-xmt3nt5n.js";
12
+ Service73
13
+ } from "./repository-cache-1v5xq3rj.js";
14
14
  import {
15
15
  spawner2
16
- } from "./workspace-w687dnns.js";
16
+ } from "./repository-cache-w687dnns.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./workspace-0cxeed95.js";
19
+ } from "./repository-cache-9111wyrc.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service64;
36
- const environment = yield* Effect.serviceOption(Service75);
37
- const location = yield* Effect.serviceOption(Service80);
35
+ const config = yield* Service65;
36
+ const environment = yield* Effect.serviceOption(Service73);
37
+ const location = yield* Effect.serviceOption(Service82);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID7.make(spec.id);
66
+ model.modelID = ID12.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85
3
- } from "./workspace-70s3x0a6.js";
3
+ } from "./repository-cache-69zgfr7z.js";
4
4
  import {
5
- Service66,
6
- Event11
7
- } from "./workspace-6c09pra0.js";
5
+ Service68,
6
+ Event12
7
+ } from "./repository-cache-5vz29j2k.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin36,
15
+ Plugin: () => Plugin50,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin36 = define({
20
+ var Plugin50 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service85;
24
- const wellknown = yield* Service66;
24
+ const wellknown = yield* Service68;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin36 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin36, exports_plugin };
48
+ export { Plugin50, exports_plugin };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./workspace-rph8wvgf.js";
3
+ } from "./repository-cache-cwcqs07e.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./workspace-31h7jx7a.js";
6
+ } from "./repository-cache-dh0xafzq.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2,
15
+ resolve: () => resolve4,
16
16
  supports: () => supports2
17
17
  });
18
18
  function supports2(reasoning) {
@@ -24,7 +24,7 @@ function supports2(reasoning) {
24
24
  ...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
25
25
  ];
26
26
  }
27
- function resolve2(model, supports = [{ type: "effort" }]) {
27
+ function resolve4(model, supports = [{ type: "effort" }]) {
28
28
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
29
29
  if (!protocol)
30
30
  return [];
@@ -586,4 +586,4 @@ var PROTOCOLS = {
586
586
  [aisdk2("gitlab-ai-provider")]: gitlab
587
587
  };
588
588
 
589
- export { supports2, resolve2, exports_variant };
589
+ export { supports2, resolve4, exports_variant };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./workspace-70s3x0a6.js";
4
+ } from "./repository-cache-69zgfr7z.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./workspace-rb9dy4dg.js";
9
+ } from "./repository-cache-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./workspace-05hcn35g.js";
12
+ } from "./repository-cache-06pe9pmm.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./workspace-h8ydc4kt.js";
14
+ Service82,
15
+ node86
16
+ } from "./repository-cache-gj88ka9e.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./workspace-204s3925.js";
20
+ } from "./repository-cache-204s3925.js";
21
21
  import {
22
22
  __export
23
- } from "./workspace-9rqn6x4v.js";
23
+ } from "./repository-cache-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,10 +32,10 @@ __export(exports_vcs, {
32
32
  Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service16,
35
+ Service: () => Service20,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node19
38
+ node: () => node23
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service16 extends Context.Service()("@opencode/Vcs") {
58
+ class Service20 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service16, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service80;
62
+ const location = yield* Service82;
63
63
  const bus = yield* Service85;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service16.of({
133
+ return Service20.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node19 = makeLocationNode({
193
- service: Service16,
192
+ var node23 = makeLocationNode({
193
+ service: Service20,
194
194
  layer,
195
- deps: [FSUtil.node, node84, node89]
195
+ deps: [FSUtil.node, node86, node89]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service20, node23, exports_vcs };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./workspace-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./workspace-gxk0f8v3.js";
6
+ } from "./repository-cache-twtxmczq.js";
7
7
  import {
8
8
  Slug2
9
- } from "./workspace-gebd4c9n.js";
9
+ } from "./repository-cache-gebd4c9n.js";
10
10
  import {
11
11
  Service87,
12
12
  node91
13
- } from "./workspace-25wbv3kn.js";
13
+ } from "./repository-cache-x00hvv89.js";
14
14
  import {
15
15
  Service85,
16
16
  node89
17
- } from "./workspace-70s3x0a6.js";
17
+ } from "./repository-cache-69zgfr7z.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./workspace-034tev2y.js";
20
+ } from "./repository-cache-034tev2y.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./workspace-ayjs7tqn.js";
23
+ } from "./repository-cache-ayjs7tqn.js";
24
24
  import {
25
- ID15,
25
+ ID17,
26
26
  NotFoundError12
27
- } from "./workspace-05hcn35g.js";
27
+ } from "./repository-cache-06pe9pmm.js";
28
28
  import {
29
29
  Ref5
30
- } from "./workspace-h8ydc4kt.js";
30
+ } from "./repository-cache-gj88ka9e.js";
31
31
  import {
32
- Service59,
33
- node62
34
- } from "./workspace-51em56x4.js";
32
+ Service51,
33
+ node53
34
+ } from "./repository-cache-bx992dmv.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./workspace-d4v9tmah.js";
38
+ } from "./repository-cache-d4v9tmah.js";
39
39
  import {
40
- Service52
41
- } from "./workspace-1rdpnva5.js";
40
+ Service18
41
+ } from "./repository-cache-rz5tx8yt.js";
42
42
  import {
43
43
  __export
44
- } from "./workspace-9rqn6x4v.js";
44
+ } from "./repository-cache-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event8,
53
- Info: () => Info11,
52
+ Event: () => Event3,
53
+ Info: () => Info4,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
- ListEntry: () => ListEntry3,
56
+ ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service51,
59
+ Service: () => Service17,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node54
64
+ node: () => node20
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info11 = Worktree.Info;
78
+ var Info4 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
- var ListEntry3 = Worktree.ListEntry;
80
+ var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event8 = Worktree.Event;
93
+ var Event3 = Worktree.Event;
94
94
 
95
- class Service51 extends Context.Service()("@opencode/Worktree") {
95
+ class Service17 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service51, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service87;
100
100
  const db = database.db;
101
101
  const bus = yield* Service85;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service59;
103
+ const locations = yield* Service51;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref5.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service52).get();
118
+ return Context.get(context, Service18).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event8.Updated, { projectID });
122
+ yield* bus.publish(Event3.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service51.of({
249
+ return Service17.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node54 = Node.makeGlobalNode({
260
- service: Service51,
259
+ var node20 = Node.makeGlobalNode({
260
+ service: Service17,
261
261
  layer,
262
- deps: [FSUtil.node, node89, node91, AppProcess.node, node62]
262
+ deps: [FSUtil.node, node89, node91, AppProcess.node, node53]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput2, RemoveInput2, Info11, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service51, node54, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service17, node20, exports_worktree2, OperationError2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./workspace-tczq8hjw.js";
3
+ } from "./repository-cache-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./workspace-204s3925.js";
6
+ } from "./repository-cache-204s3925.js";
7
7
  import {
8
8
  __export
9
- } from "./workspace-9rqn6x4v.js";
9
+ } from "./repository-cache-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service62,
18
+ Service: () => Service64,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node65
21
+ node: () => node66
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service62 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service64 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service62.of({
124
+ return Service64.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node65 = makeLocationNode({
143
- service: Service62,
142
+ var node66 = makeLocationNode({
143
+ service: Service64,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service62, node65, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service64, node66, exports_tool_output2 };