@opencode/core 0.0.0-dev-1216 → 0.0.0-dev-1219

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 (910) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +259 -259
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{model-retry-jx75pjbb.js → vcs-02v1amh4.js} +18 -18
  9. package/dist/chunks/{model-retry-034tev2y.js → vcs-034tev2y.js} +2 -2
  10. package/dist/chunks/{model-retry-vb8zbt9n.js → vcs-04gnzy0p.js} +7 -7
  11. package/dist/chunks/{model-retry-3ryz99p0.js → vcs-0ahs07zn.js} +4 -4
  12. package/dist/chunks/{model-retry-m91bny15.js → vcs-0crda0p7.js} +13 -13
  13. package/dist/chunks/{model-retry-5zzzgtm0.js → vcs-0cts79f1.js} +16 -16
  14. package/dist/chunks/{model-retry-09rceteh.js → vcs-0k516apc.js} +7 -7
  15. package/dist/chunks/{model-retry-0ma9gw4f.js → vcs-0ma9gw4f.js} +2 -2
  16. package/dist/chunks/{model-retry-k2w93ba9.js → vcs-0p5jsb5b.js} +32 -32
  17. package/dist/chunks/{model-retry-aemyyd40.js → vcs-12xyba0f.js} +7 -7
  18. package/dist/chunks/{model-retry-93fz3ark.js → vcs-131e66zf.js} +13 -13
  19. package/dist/chunks/{model-retry-dc3sk665.js → vcs-16c89azp.js} +59 -59
  20. package/dist/chunks/{model-retry-a52bkq65.js → vcs-19dmrv0g.js} +77 -77
  21. package/dist/chunks/{model-retry-1aqsckx4.js → vcs-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{model-retry-1aryjtsy.js → vcs-1aryjtsy.js} +1 -1
  23. package/dist/chunks/{model-retry-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{model-retry-cvht37xw.js → vcs-1jcj1dar.js} +21 -21
  25. package/dist/chunks/{model-retry-zr3s1x67.js → vcs-1m89j3q6.js} +44 -44
  26. package/dist/chunks/{model-retry-f7bpy73v.js → vcs-1weakr5w.js} +9 -9
  27. package/dist/chunks/{model-retry-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{model-retry-1yped5qa.js → vcs-1yped5qa.js} +1 -1
  29. package/dist/chunks/{model-retry-5zrxpy3q.js → vcs-1yq9hg58.js} +5 -5
  30. package/dist/chunks/{model-retry-s9xvbj60.js → vcs-21bxzpyx.js} +8 -8
  31. package/dist/chunks/{model-retry-wha2430v.js → vcs-2a602abw.js} +3 -3
  32. package/dist/chunks/{model-retry-aq6k3cf3.js → vcs-2ac9bhfe.js} +17 -17
  33. package/dist/chunks/{model-retry-2fc7eemy.js → vcs-2fc7eemy.js} +1 -1
  34. package/dist/chunks/{model-retry-adg8bb2p.js → vcs-2g00j4kp.js} +19 -19
  35. package/dist/chunks/{model-retry-2prt43t7.js → vcs-2prt43t7.js} +1 -1
  36. package/dist/chunks/{model-retry-0ddtt1rb.js → vcs-2rwes0j6.js} +16 -16
  37. package/dist/chunks/{model-retry-ec77n7yf.js → vcs-2sc4vp01.js} +15 -15
  38. package/dist/chunks/{model-retry-m9a9fe6f.js → vcs-2w2td8xf.js} +12 -12
  39. package/dist/chunks/{model-retry-s70c1f4z.js → vcs-2yfjehyw.js} +18 -18
  40. package/dist/chunks/{model-retry-y2wfh8nz.js → vcs-34jmrg3g.js} +10 -10
  41. package/dist/chunks/{model-retry-kyc0r0ht.js → vcs-352j0mbq.js} +7 -7
  42. package/dist/chunks/{model-retry-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-retry-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
  44. package/dist/chunks/{model-retry-rja7p7xq.js → vcs-3tz9w9wn.js} +3 -3
  45. package/dist/chunks/{model-retry-jn02p7w8.js → vcs-42kc27wm.js} +24 -24
  46. package/dist/chunks/{model-retry-ke6ptzrg.js → vcs-43xe0kmm.js} +6 -6
  47. package/dist/chunks/{model-retry-r61v17gv.js → vcs-49x6xjmj.js} +48 -48
  48. package/dist/chunks/{model-retry-4dx1dgte.js → vcs-4dx1dgte.js} +1 -1
  49. package/dist/chunks/{model-retry-4f25tdd0.js → vcs-4f25tdd0.js} +1 -1
  50. package/dist/chunks/{model-retry-4dk3ggh9.js → vcs-4m173h4a.js} +4 -4
  51. package/dist/chunks/{model-retry-gny4fw8g.js → vcs-4m1thj7j.js} +2 -2
  52. package/dist/chunks/{model-retry-yydqqga9.js → vcs-4pw98qd4.js} +4 -4
  53. package/dist/chunks/{model-retry-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
  54. package/dist/chunks/{model-retry-48vkv2zp.js → vcs-4qmhdsrr.js} +29 -29
  55. package/dist/chunks/{model-retry-t84ct0bh.js → vcs-4rqydwy9.js} +9 -9
  56. package/dist/chunks/{model-retry-nq3gw3nz.js → vcs-4sbg4377.js} +25 -25
  57. package/dist/chunks/{model-retry-4v008n1t.js → vcs-4v008n1t.js} +1 -1
  58. package/dist/chunks/{model-retry-e6h0js2y.js → vcs-4xjdjntw.js} +8 -8
  59. package/dist/chunks/{model-retry-j1aj7ka8.js → vcs-4xtj2fxj.js} +15 -15
  60. package/dist/chunks/{model-retry-jfvyzykx.js → vcs-534rpm4j.js} +16 -16
  61. package/dist/chunks/{model-retry-cc6s66e5.js → vcs-58d3t39r.js} +13 -13
  62. package/dist/chunks/{model-retry-ye051wpe.js → vcs-5d1cx7j8.js} +3 -3
  63. package/dist/chunks/{model-retry-weexxn37.js → vcs-5jhjzfke.js} +5 -5
  64. package/dist/chunks/{model-retry-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{model-retry-bhfd478d.js → vcs-5n0rnk8e.js} +4 -4
  66. package/dist/chunks/{model-retry-a3dc5jdz.js → vcs-5wf5b6nt.js} +5 -5
  67. package/dist/chunks/{model-retry-eg34w9c3.js → vcs-5zx96zkz.js} +4 -4
  68. package/dist/chunks/{model-retry-6e4ngh43.js → vcs-660anf5p.js} +22 -22
  69. package/dist/chunks/{model-retry-denh2jb2.js → vcs-661vk301.js} +6 -6
  70. package/dist/chunks/{model-retry-h0nvnzve.js → vcs-6k6af9f2.js} +17 -17
  71. package/dist/chunks/{model-retry-rhg4046s.js → vcs-6k8gzseq.js} +16 -16
  72. package/dist/chunks/{model-retry-gh5gjszb.js → vcs-6tjap5hj.js} +36 -36
  73. package/dist/chunks/{model-retry-b9902ptq.js → vcs-6vvgyz1b.js} +3 -3
  74. package/dist/chunks/{model-retry-agje4kmn.js → vcs-6y2b864j.js} +4 -4
  75. package/dist/chunks/{model-retry-k34er33s.js → vcs-75b2pg4z.js} +19 -19
  76. package/dist/chunks/{model-retry-esn0ce8j.js → vcs-75c7nxbn.js} +14 -14
  77. package/dist/chunks/{model-retry-mesdejg4.js → vcs-769kdwpb.js} +24 -24
  78. package/dist/chunks/{model-retry-80mg3ag8.js → vcs-775hqbnd.js} +3 -3
  79. package/dist/chunks/{model-retry-evy3hmsj.js → vcs-79zsgxar.js} +12 -12
  80. package/dist/chunks/{model-retry-w03ds3y6.js → vcs-7a5eg1t8.js} +8 -8
  81. package/dist/chunks/{model-retry-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{model-retry-fkqnmv7m.js → vcs-7c4t55kb.js} +9 -9
  83. package/dist/chunks/vcs-7g0y79k5.js +26 -0
  84. package/dist/chunks/{model-retry-50380zjw.js → vcs-7gb5gn5w.js} +14 -14
  85. package/dist/chunks/{model-retry-3gjensde.js → vcs-7kpykc0q.js} +20 -20
  86. package/dist/chunks/{model-retry-gdq3b2dw.js → vcs-7n9wgq6s.js} +33 -33
  87. package/dist/chunks/{model-retry-tenwd8mx.js → vcs-7rtaxsj0.js} +11 -11
  88. package/dist/chunks/{model-retry-99z197m3.js → vcs-7s9cna6k.js} +5 -5
  89. package/dist/chunks/{model-retry-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{model-retry-7weczvnd.js → vcs-7weczvnd.js} +1 -1
  91. package/dist/chunks/{model-retry-hq1yfezb.js → vcs-7x1awmpz.js} +14 -14
  92. package/dist/chunks/{model-retry-30swr9rt.js → vcs-7zg0ntxq.js} +19 -19
  93. package/dist/chunks/{model-retry-80pdk984.js → vcs-80pdk984.js} +1 -1
  94. package/dist/chunks/{model-retry-85jq8dht.js → vcs-85jq8dht.js} +1 -1
  95. package/dist/chunks/{model-retry-3qevzq3v.js → vcs-87kxp3gn.js} +11 -11
  96. package/dist/chunks/{model-retry-8b3vzgkx.js → vcs-8b3vzgkx.js} +1 -1
  97. package/dist/chunks/{model-retry-e8xb975w.js → vcs-8bgnr0we.js} +9 -9
  98. package/dist/chunks/{model-retry-ggx84v7x.js → vcs-8ctrpnmd.js} +6 -6
  99. package/dist/chunks/{model-retry-dv57xqt1.js → vcs-8jex7vvx.js} +11 -11
  100. package/dist/chunks/{model-retry-8kjyvwy5.js → vcs-8kjyvwy5.js} +1 -1
  101. package/dist/chunks/{model-retry-5xadkbnd.js → vcs-8q41s33p.js} +19 -19
  102. package/dist/chunks/{model-retry-pr9etnbc.js → vcs-8qx2qdsd.js} +17 -17
  103. package/dist/chunks/{model-retry-8sxe6kv8.js → vcs-8sxe6kv8.js} +2 -2
  104. package/dist/chunks/{model-retry-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
  105. package/dist/chunks/{model-retry-8zqzm5np.js → vcs-8zqzm5np.js} +5 -5
  106. package/dist/chunks/{model-retry-8zv0xmg5.js → vcs-8zv0xmg5.js} +1 -1
  107. package/dist/chunks/{model-retry-963hk181.js → vcs-963hk181.js} +2 -2
  108. package/dist/chunks/{model-retry-zkybrta7.js → vcs-97qktgxb.js} +8 -8
  109. package/dist/chunks/{model-retry-rv31kkjr.js → vcs-97rz0s4b.js} +2 -2
  110. package/dist/chunks/{model-retry-pwjd9d5z.js → vcs-9bfe2zxn.js} +27 -27
  111. package/dist/chunks/{model-retry-kxamksb3.js → vcs-9pjzs4bv.js} +19 -19
  112. package/dist/chunks/{model-retry-vfy39f1m.js → vcs-9r8p76cm.js} +26 -26
  113. package/dist/chunks/vcs-a610t88q.js +18 -0
  114. package/dist/chunks/{model-retry-w5v5zxbk.js → vcs-a8bdqvkf.js} +8 -8
  115. package/dist/chunks/{model-retry-1abx79xn.js → vcs-aag9968h.js} +4 -4
  116. package/dist/chunks/{model-retry-ad21tgm2.js → vcs-ad21tgm2.js} +2 -2
  117. package/dist/chunks/{model-retry-a4fgwpxr.js → vcs-agebbq7k.js} +35 -35
  118. package/dist/chunks/{model-retry-azmzce5q.js → vcs-ar15sb7x.js} +11 -11
  119. package/dist/chunks/{model-retry-8rt25ezk.js → vcs-axzm0hz5.js} +10 -10
  120. package/dist/chunks/{model-retry-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
  121. package/dist/chunks/{model-retry-3j862yd2.js → vcs-b46jyqag.js} +4 -4
  122. package/dist/chunks/{model-retry-gmemj5zs.js → vcs-ba5f9dy2.js} +4 -4
  123. package/dist/chunks/{model-retry-wt8qw9kc.js → vcs-bdqv4qrz.js} +13 -13
  124. package/dist/chunks/{model-retry-ff9rbk43.js → vcs-bjr2w07n.js} +9 -9
  125. package/dist/chunks/{model-retry-yybgvvmq.js → vcs-brv6mkyx.js} +4 -4
  126. package/dist/chunks/{model-retry-bstexjd6.js → vcs-bstexjd6.js} +1 -1
  127. package/dist/chunks/{model-retry-9wp8fvve.js → vcs-bszd1e77.js} +5 -5
  128. package/dist/chunks/{model-retry-dvjpmffy.js → vcs-bv7ck5p0.js} +18 -18
  129. package/dist/chunks/{model-retry-2fp0jt6s.js → vcs-bz10jzr0.js} +30 -30
  130. package/dist/chunks/{model-retry-56zc6607.js → vcs-c42m1624.js} +12 -12
  131. package/dist/chunks/{model-retry-wsy64217.js → vcs-ca858e3w.js} +15 -15
  132. package/dist/chunks/{model-retry-gzet49gd.js → vcs-cfgd1geb.js} +31 -31
  133. package/dist/chunks/{model-retry-ywb0hxgs.js → vcs-crzksb96.js} +27 -27
  134. package/dist/chunks/{model-retry-5x3grz7y.js → vcs-csp4hhtk.js} +12 -12
  135. package/dist/chunks/{model-retry-jzyf28t6.js → vcs-cv7ck33b.js} +30 -30
  136. package/dist/chunks/{model-retry-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
  137. package/dist/chunks/{model-retry-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
  138. package/dist/chunks/{model-retry-h7mck9ey.js → vcs-d4wz50jd.js} +11 -11
  139. package/dist/chunks/{model-retry-fcskamac.js → vcs-d4z9rf1y.js} +9 -9
  140. package/dist/chunks/{model-retry-380f7ky3.js → vcs-d5tkpntf.js} +8 -8
  141. package/dist/chunks/{model-retry-xg7gtsp9.js → vcs-d79n75hr.js} +6 -6
  142. package/dist/chunks/{model-retry-ea4xbpys.js → vcs-dds9bkaw.js} +8 -8
  143. package/dist/chunks/{model-retry-0a8xczw5.js → vcs-djnah9fh.js} +23 -23
  144. package/dist/chunks/{model-retry-dt77769w.js → vcs-dt77769w.js} +1 -1
  145. package/dist/chunks/{model-retry-g1x3338p.js → vcs-dv250zvr.js} +3 -3
  146. package/dist/chunks/{model-retry-d5z41q63.js → vcs-dvvv4p01.js} +3 -3
  147. package/dist/chunks/{model-retry-42je62vc.js → vcs-dz7fr1ns.js} +5 -5
  148. package/dist/chunks/{model-retry-k08th43v.js → vcs-e2y377nr.js} +10 -10
  149. package/dist/chunks/{model-retry-e3qgsftg.js → vcs-e4y9kzyf.js} +14 -14
  150. package/dist/chunks/{model-retry-cn285h91.js → vcs-e58pc0yg.js} +5 -5
  151. package/dist/chunks/{model-retry-ge0z7z6r.js → vcs-e5rvhc3a.js} +23 -23
  152. package/dist/chunks/{model-retry-m998j73k.js → vcs-e6wk82ha.js} +13 -13
  153. package/dist/chunks/{model-retry-qdc1w9ks.js → vcs-eesa6bbt.js} +26 -26
  154. package/dist/chunks/{model-retry-edapz20f.js → vcs-egg4dqh6.js} +3 -3
  155. package/dist/chunks/{model-retry-3r1ydfdn.js → vcs-ejk73nxj.js} +14 -14
  156. package/dist/chunks/{model-retry-aq5rdsap.js → vcs-en9j72hh.js} +40 -40
  157. package/dist/chunks/{model-retry-nn2nd58t.js → vcs-ep6pe98a.js} +7 -7
  158. package/dist/chunks/{model-retry-eqw4pqj1.js → vcs-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{model-retry-bhrptrfq.js → vcs-erc02vma.js} +27 -27
  160. package/dist/chunks/{model-retry-pnwsrq7c.js → vcs-etrnj9s7.js} +8 -8
  161. package/dist/chunks/{model-retry-rmfzdfxf.js → vcs-ev0a5txq.js} +16 -16
  162. package/dist/chunks/{model-retry-329aeaw0.js → vcs-fd15d2wr.js} +46 -46
  163. package/dist/chunks/{model-retry-ejazfhce.js → vcs-ffwjzh0h.js} +17 -17
  164. package/dist/chunks/{model-retry-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
  165. package/dist/chunks/{model-retry-qpqdpqrv.js → vcs-fh2wy1nm.js} +11 -11
  166. package/dist/chunks/{model-retry-sp5gfv0g.js → vcs-fhy06wzc.js} +32 -32
  167. package/dist/chunks/{model-retry-n0q6v9g9.js → vcs-fpk22jqa.js} +6 -6
  168. package/dist/chunks/{model-retry-881fy3d8.js → vcs-frhnvnsq.js} +17 -17
  169. package/dist/chunks/{model-retry-0ext5n9t.js → vcs-g246v62s.js} +11 -11
  170. package/dist/chunks/{model-retry-g1m8att5.js → vcs-g7y1q6xm.js} +24 -24
  171. package/dist/chunks/{model-retry-d28v9scs.js → vcs-g7zhrrp0.js} +9 -9
  172. package/dist/chunks/{model-retry-0dy226kc.js → vcs-g945w6qm.js} +41 -41
  173. package/dist/chunks/{model-retry-gbjdnr5j.js → vcs-gbjdnr5j.js} +2 -2
  174. package/dist/chunks/{model-retry-tck9nc1r.js → vcs-gcc0fz8a.js} +20 -20
  175. package/dist/chunks/{model-retry-ghrv1g9c.js → vcs-ghrv1g9c.js} +1 -1
  176. package/dist/chunks/{model-retry-9wc9780e.js → vcs-gn0mm1bn.js} +10 -10
  177. package/dist/chunks/{model-retry-7bgajff9.js → vcs-gnvm8xfe.js} +93 -93
  178. package/dist/chunks/{model-retry-c8xv9zc0.js → vcs-gxf9zpwj.js} +11 -11
  179. package/dist/chunks/{model-retry-d3q9v104.js → vcs-gzpa45ne.js} +1 -1
  180. package/dist/chunks/{model-retry-g6fhsb58.js → vcs-h1cq7gze.js} +8 -8
  181. package/dist/chunks/{model-retry-bb3pv0r8.js → vcs-h5gm5jf1.js} +7 -7
  182. package/dist/chunks/{model-retry-y9dg44tb.js → vcs-hat5tb6s.js} +18 -18
  183. package/dist/chunks/{model-retry-02fhhstm.js → vcs-hgpjp92y.js} +21 -21
  184. package/dist/chunks/{model-retry-hgzwgvze.js → vcs-hgzwgvze.js} +2 -2
  185. package/dist/chunks/vcs-hhdn31zm.js +273 -0
  186. package/dist/chunks/{model-retry-xd5qa272.js → vcs-hj8t6bmj.js} +41 -41
  187. package/dist/chunks/{model-retry-fm88cqwd.js → vcs-hr5fd93v.js} +19 -19
  188. package/dist/chunks/{model-retry-qv7g05k4.js → vcs-ht3kpbye.js} +7 -7
  189. package/dist/chunks/{model-retry-90bxm3w0.js → vcs-hw0n80n0.js} +27 -27
  190. package/dist/chunks/{model-retry-48sb3xry.js → vcs-j1g9t5xr.js} +11 -11
  191. package/dist/chunks/{model-retry-fjr1tg8h.js → vcs-j2ktfpns.js} +27 -27
  192. package/dist/chunks/{model-retry-caeva7y1.js → vcs-j4vq1w59.js} +14 -14
  193. package/dist/chunks/{model-retry-q8hw2skb.js → vcs-j6mh7sc2.js} +9 -9
  194. package/dist/chunks/{model-retry-g8n6nxn7.js → vcs-j7en239p.js} +33 -33
  195. package/dist/chunks/{model-retry-xacrkbdt.js → vcs-j82m12k7.js} +5 -5
  196. package/dist/chunks/{model-retry-4rx53fa9.js → vcs-j8r9whvv.js} +50 -50
  197. package/dist/chunks/{model-retry-ze75qvmd.js → vcs-j9nxzz3g.js} +3 -3
  198. package/dist/chunks/{model-retry-jht64jd1.js → vcs-jht64jd1.js} +1 -1
  199. package/dist/chunks/{model-retry-jm70asfg.js → vcs-jm70asfg.js} +1 -1
  200. package/dist/chunks/{model-retry-0zvwhvr5.js → vcs-jmcf28dg.js} +10 -10
  201. package/dist/chunks/{model-retry-exwhc5hz.js → vcs-k7fcp7vh.js} +8 -8
  202. package/dist/chunks/{model-retry-rpqdece5.js → vcs-k9tfbp0j.js} +4 -4
  203. package/dist/chunks/{model-retry-cx8yve48.js → vcs-kbbq81j9.js} +21 -21
  204. package/dist/chunks/{model-retry-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
  205. package/dist/chunks/{model-retry-f761xza1.js → vcs-kt4fd40n.js} +42 -42
  206. package/dist/chunks/{model-retry-kzczzf4v.js → vcs-kzczzf4v.js} +1 -1
  207. package/dist/chunks/{model-retry-m1714858.js → vcs-m1714858.js} +1 -1
  208. package/dist/chunks/{model-retry-m4p4r8nc.js → vcs-m4p4r8nc.js} +1 -1
  209. package/dist/chunks/{model-retry-m90tx7mw.js → vcs-m90tx7mw.js} +1 -1
  210. package/dist/chunks/{model-retry-mzj1qzjq.js → vcs-m98b2w92.js} +25 -25
  211. package/dist/chunks/{model-retry-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  212. package/dist/chunks/{model-retry-mb7mbhnz.js → vcs-mb7mbhnz.js} +3 -3
  213. package/dist/chunks/{model-retry-qacp188h.js → vcs-mjs7y9vr.js} +8 -8
  214. package/dist/chunks/{model-retry-pm5952we.js → vcs-ms056222.js} +50 -50
  215. package/dist/chunks/{model-retry-brz3f9n9.js → vcs-mx5nc67c.js} +18 -18
  216. package/dist/chunks/{model-retry-g5cw3qgb.js → vcs-mzswv163.js} +7 -7
  217. package/dist/chunks/{model-retry-n320gsn2.js → vcs-n320gsn2.js} +1 -1
  218. package/dist/chunks/{model-retry-k28r1t9f.js → vcs-n4x529g9.js} +26 -26
  219. package/dist/chunks/{model-retry-qbqyqs78.js → vcs-n733vhbz.js} +10 -10
  220. package/dist/chunks/{model-retry-v5w4jpez.js → vcs-n8sp5sqr.js} +6 -6
  221. package/dist/chunks/{model-retry-8xvx9gbc.js → vcs-n9epf6fd.js} +21 -21
  222. package/dist/chunks/{model-retry-b8gjcvbw.js → vcs-nb5mevrm.js} +5 -5
  223. package/dist/chunks/{model-retry-e2fbpykw.js → vcs-ncn4tbq7.js} +21 -21
  224. package/dist/chunks/{model-retry-xxfjb0zd.js → vcs-ne2703s1.js} +13 -13
  225. package/dist/chunks/{model-retry-c6fbha32.js → vcs-nejqwj7z.js} +20 -20
  226. package/dist/chunks/{model-retry-pv9k69qc.js → vcs-njnh3p7p.js} +84 -84
  227. package/dist/chunks/{model-retry-2cnxsjyc.js → vcs-nmtdz1w0.js} +20 -20
  228. package/dist/chunks/{model-retry-9rqfe4ad.js → vcs-nq1mg43n.js} +3 -3
  229. package/dist/chunks/{model-retry-tve6atr2.js → vcs-nr4dvdgd.js} +28 -28
  230. package/dist/chunks/{model-retry-8vb53tx0.js → vcs-nwzv5wm9.js} +36 -36
  231. package/dist/chunks/{model-retry-9907wfrv.js → vcs-nx3ph89n.js} +6 -6
  232. package/dist/chunks/{model-retry-a0vpc40p.js → vcs-p3vqybhf.js} +176 -176
  233. package/dist/chunks/{model-retry-xxf442y8.js → vcs-p4haqvv2.js} +33 -33
  234. package/dist/chunks/{model-retry-h99kpe06.js → vcs-pakenzcq.js} +20 -20
  235. package/dist/chunks/{model-retry-pknna89w.js → vcs-pknna89w.js} +1 -1
  236. package/dist/chunks/{model-retry-6h8nkgjb.js → vcs-pms3q1e3.js} +20 -20
  237. package/dist/chunks/{model-retry-kpjr6knp.js → vcs-pqkf8d2t.js} +9 -9
  238. package/dist/chunks/{model-retry-0gx6fzah.js → vcs-q5cze1yy.js} +10 -10
  239. package/dist/chunks/{model-retry-ggq1y9n4.js → vcs-qm6e8xdp.js} +34 -34
  240. package/dist/chunks/{model-retry-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
  241. package/dist/chunks/{model-retry-96j1qp1j.js → vcs-qq5qpn8n.js} +33 -33
  242. package/dist/chunks/{model-retry-vzep8vzj.js → vcs-qqvgxt64.js} +12 -12
  243. package/dist/chunks/{model-retry-4vzr2b15.js → vcs-qzxcgvak.js} +3 -3
  244. package/dist/chunks/{model-retry-a1qwck5h.js → vcs-r0wrga32.js} +8 -8
  245. package/dist/chunks/{model-retry-93sddvhm.js → vcs-r36bppx4.js} +14 -14
  246. package/dist/chunks/{model-retry-zgxh77gy.js → vcs-r403crat.js} +373 -373
  247. package/dist/chunks/{model-retry-4jyt793m.js → vcs-r91xbvx0.js} +2 -2
  248. package/dist/chunks/{model-retry-2cc0zt21.js → vcs-ra2y9mrs.js} +23 -23
  249. package/dist/chunks/{model-retry-p9jvgf3w.js → vcs-ra34yqmw.js} +6 -6
  250. package/dist/chunks/{model-retry-hy8c1z76.js → vcs-ra6js1h8.js} +8 -8
  251. package/dist/chunks/{model-retry-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
  252. package/dist/chunks/{model-retry-pzj8t5rk.js → vcs-ret8pyk0.js} +11 -11
  253. package/dist/chunks/{model-retry-gyfe4a17.js → vcs-revxzz8f.js} +22 -22
  254. package/dist/chunks/{model-retry-phy3xrma.js → vcs-rg8r5ec2.js} +13 -13
  255. package/dist/chunks/{model-retry-rgc9cx3e.js → vcs-rgc9cx3e.js} +2 -2
  256. package/dist/chunks/{model-retry-630f57dr.js → vcs-rnb8kwqq.js} +17 -17
  257. package/dist/chunks/{model-retry-a0pwz2ja.js → vcs-rqf8a69d.js} +19 -19
  258. package/dist/chunks/{model-retry-cerajcym.js → vcs-ryx92xjx.js} +4 -4
  259. package/dist/chunks/{model-retry-vrkt2gzc.js → vcs-s2syzcpb.js} +18 -18
  260. package/dist/chunks/{model-retry-30qkek6h.js → vcs-s30hgmaz.js} +16 -16
  261. package/dist/chunks/{model-retry-s47rahr7.js → vcs-s47rahr7.js} +1 -1
  262. package/dist/chunks/{model-retry-zmmx3t8v.js → vcs-s4nj6bfp.js} +9 -9
  263. package/dist/chunks/{model-retry-2v3capeq.js → vcs-s9vy80gd.js} +12 -12
  264. package/dist/chunks/{model-retry-sbya78hr.js → vcs-sbya78hr.js} +1 -1
  265. package/dist/chunks/{model-retry-90ct6wq4.js → vcs-sf9y72b7.js} +4 -4
  266. package/dist/chunks/{model-retry-sh9dx4s1.js → vcs-sh9dx4s1.js} +1 -1
  267. package/dist/chunks/{model-retry-pqr3184k.js → vcs-sj56zmpr.js} +16 -16
  268. package/dist/chunks/{model-retry-qeg6dv9a.js → vcs-sr7gka35.js} +21 -21
  269. package/dist/chunks/{model-retry-cj2zr1px.js → vcs-ss6k3tnj.js} +12 -12
  270. package/dist/chunks/{model-retry-5g9v6hdw.js → vcs-sv43xx95.js} +11 -11
  271. package/dist/chunks/{model-retry-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
  272. package/dist/chunks/vcs-t6y3kvw8.js +35 -0
  273. package/dist/chunks/{model-retry-67zhfnr5.js → vcs-t8erkws8.js} +5 -5
  274. package/dist/chunks/{model-retry-cb67h20a.js → vcs-t9veb6y1.js} +6 -6
  275. package/dist/chunks/{model-retry-47q1swan.js → vcs-tagvt54e.js} +28 -28
  276. package/dist/chunks/{model-retry-tbpn7jtk.js → vcs-tbpn7jtk.js} +1 -1
  277. package/dist/chunks/{model-retry-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
  278. package/dist/chunks/{model-retry-gbm37efj.js → vcs-tezkr1ww.js} +10 -10
  279. package/dist/chunks/{model-retry-gxs71cxp.js → vcs-tg7s7b5t.js} +4 -4
  280. package/dist/chunks/{model-retry-jaq18jgp.js → vcs-tkxx25dy.js} +4 -4
  281. package/dist/chunks/{model-retry-tn2h78aa.js → vcs-tn2h78aa.js} +1 -1
  282. package/dist/chunks/{model-retry-tp1jb13k.js → vcs-tp1jb13k.js} +4 -4
  283. package/dist/chunks/{model-retry-7zxbyqhz.js → vcs-tspm938k.js} +20 -20
  284. package/dist/chunks/{model-retry-0fvxehme.js → vcs-ttz31trp.js} +5 -5
  285. package/dist/chunks/{model-retry-n4chev15.js → vcs-tvhk9714.js} +37 -37
  286. package/dist/chunks/{model-retry-tvtps2q9.js → vcs-tvtps2q9.js} +1 -1
  287. package/dist/chunks/{model-retry-twhtcdx9.js → vcs-twhtcdx9.js} +2 -2
  288. package/dist/chunks/{model-retry-twssxy5n.js → vcs-twssxy5n.js} +2 -2
  289. package/dist/chunks/{model-retry-6ab8246z.js → vcs-ty8fbjx7.js} +16 -16
  290. package/dist/chunks/{model-retry-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
  291. package/dist/chunks/{model-retry-fng6r8ys.js → vcs-v50kv936.js} +24 -24
  292. package/dist/chunks/{model-retry-pvjmct39.js → vcs-v5ht8g08.js} +6 -6
  293. package/dist/chunks/{model-retry-n3na61j9.js → vcs-v8bjwhbx.js} +4 -4
  294. package/dist/chunks/{model-retry-ebqkfy2r.js → vcs-vdpgxjpq.js} +11 -11
  295. package/dist/chunks/{model-retry-x2vkwk6x.js → vcs-vedk66pp.js} +4 -4
  296. package/dist/chunks/{model-retry-432cy2ab.js → vcs-vf3a4d8f.js} +20 -20
  297. package/dist/chunks/{model-retry-vjf35v1f.js → vcs-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{model-retry-qfz6bxfd.js → vcs-vmqe41cb.js} +4 -4
  299. package/dist/chunks/{model-retry-8cja266h.js → vcs-vr9xw7pd.js} +19 -19
  300. package/dist/chunks/{model-retry-w89hjt3b.js → vcs-vrkes29y.js} +21 -21
  301. package/dist/chunks/{model-retry-px7qpgcn.js → vcs-vt2d6wap.js} +4 -4
  302. package/dist/chunks/{model-retry-ybv2sjse.js → vcs-vt9sjb73.js} +21 -21
  303. package/dist/chunks/{model-retry-2jk2eaf8.js → vcs-vxy48rwm.js} +6 -6
  304. package/dist/chunks/{model-retry-hjs6kb92.js → vcs-w1cgrt0v.js} +46 -46
  305. package/dist/chunks/{model-retry-40za9wsf.js → vcs-w2eysc6j.js} +9 -9
  306. package/dist/chunks/{model-retry-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/vcs-w5e50jre.js +334 -0
  308. package/dist/chunks/{model-retry-2e32zktp.js → vcs-w6q11ycf.js} +15 -15
  309. package/dist/chunks/{model-retry-9q8g9sv8.js → vcs-w79nt68w.js} +4 -4
  310. package/dist/chunks/{model-retry-20px12h8.js → vcs-w819s37e.js} +8 -8
  311. package/dist/chunks/{model-retry-tv9fhf77.js → vcs-w9qq4h6z.js} +3 -3
  312. package/dist/chunks/{model-retry-4tmv59f3.js → vcs-wa5tnss3.js} +39 -39
  313. package/dist/chunks/{model-retry-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
  314. package/dist/chunks/{model-retry-3syj8115.js → vcs-watynpph.js} +36 -36
  315. package/dist/chunks/{model-retry-wd87259q.js → vcs-wd87259q.js} +1 -1
  316. package/dist/chunks/{model-retry-wegkxhrn.js → vcs-wegkxhrn.js} +2 -2
  317. package/dist/chunks/{model-retry-6wvdj9kp.js → vcs-wkb27y77.js} +17 -17
  318. package/dist/chunks/{model-retry-sd1es34h.js → vcs-wksmdxa4.js} +8 -8
  319. package/dist/chunks/{model-retry-7cf5w11a.js → vcs-wr6rz0q1.js} +5 -5
  320. package/dist/chunks/{model-retry-7mxcsx9x.js → vcs-ws808z13.js} +11 -11
  321. package/dist/chunks/{model-retry-srb5ekkn.js → vcs-wxedqf16.js} +18 -18
  322. package/dist/chunks/{model-retry-35xwmx6k.js → vcs-x9vxwf07.js} +12 -12
  323. package/dist/chunks/{model-retry-y3jkqygv.js → vcs-xdq3k9fq.js} +38 -38
  324. package/dist/chunks/{model-retry-3adw4bt5.js → vcs-xjbsd7zy.js} +9 -9
  325. package/dist/chunks/{model-retry-j3n8xjy6.js → vcs-xnpdacqs.js} +7 -7
  326. package/dist/chunks/{model-retry-1b2cxmga.js → vcs-xnwfp9ce.js} +25 -25
  327. package/dist/chunks/{model-retry-jcz74541.js → vcs-xp7vz6kd.js} +7 -7
  328. package/dist/chunks/{model-retry-5cgn0v09.js → vcs-xq3ayqx7.js} +18 -18
  329. package/dist/chunks/{model-retry-a1832zrw.js → vcs-xspgre18.js} +43 -43
  330. package/dist/chunks/{model-retry-xjr6c8m4.js → vcs-xxschbft.js} +4 -4
  331. package/dist/chunks/{model-retry-v32atjwq.js → vcs-xxzh4c78.js} +24 -24
  332. package/dist/chunks/{model-retry-w4xw9ac5.js → vcs-xz07m27x.js} +2 -2
  333. package/dist/chunks/{model-retry-4sp0pwej.js → vcs-xzvw6m7f.js} +22 -22
  334. package/dist/chunks/{model-retry-s5g14t6y.js → vcs-y29f4a28.js} +3 -3
  335. package/dist/chunks/{model-retry-evbf0h8n.js → vcs-y516jzpx.js} +4 -4
  336. package/dist/chunks/{model-retry-nw314s9d.js → vcs-y9c350ew.js} +2 -2
  337. package/dist/chunks/{model-retry-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
  338. package/dist/chunks/{model-retry-31c9mc6y.js → vcs-yggg3kmz.js} +24 -24
  339. package/dist/chunks/{model-retry-w71w1vyw.js → vcs-yknk0652.js} +47 -47
  340. package/dist/chunks/{model-retry-vjhrddsw.js → vcs-ynzdgah7.js} +5 -5
  341. package/dist/chunks/{model-retry-w6sqcs8d.js → vcs-yqr0935n.js} +29 -29
  342. package/dist/chunks/{model-retry-yr705xyq.js → vcs-yr705xyq.js} +1 -1
  343. package/dist/chunks/{model-retry-4wxtepaa.js → vcs-yt9dxrs0.js} +5 -5
  344. package/dist/chunks/{model-retry-yvtc2x31.js → vcs-yvtc2x31.js} +1 -1
  345. package/dist/chunks/{model-retry-z0wbgq7s.js → vcs-z0wbgq7s.js} +1 -1
  346. package/dist/chunks/{model-retry-j6vesw1n.js → vcs-z4cb48cy.js} +11 -11
  347. package/dist/chunks/{model-retry-x19yfq7e.js → vcs-z8w650j7.js} +42 -42
  348. package/dist/chunks/{model-retry-1k2wffy4.js → vcs-zgxvemfr.js} +11 -11
  349. package/dist/chunks/{model-retry-mrjhcth0.js → vcs-zhggxxnb.js} +2 -2
  350. package/dist/chunks/{model-retry-pkbe14me.js → vcs-zmj0r39g.js} +34 -34
  351. package/dist/chunks/{model-retry-zdty93sz.js → vcs-zrefc17h.js} +4 -4
  352. package/dist/chunks/{model-retry-baefqw34.js → vcs-zsycgpha.js} +1 -1
  353. package/dist/chunks/{model-retry-jns4gqy7.js → vcs-ztf6n3de.js} +4 -4
  354. package/dist/codemode/catalog.js +1 -1
  355. package/dist/codemode/execution.js +3 -3
  356. package/dist/codemode/fetch.js +149 -149
  357. package/dist/codemode/instructions.js +7 -7
  358. package/dist/codemode/tool.js +156 -156
  359. package/dist/command.js +94 -94
  360. package/dist/config/discovery.js +95 -95
  361. package/dist/config/integration.js +3 -3
  362. package/dist/config/managed.js +1 -1
  363. package/dist/config/markdown.js +1 -1
  364. package/dist/config/normalize.js +113 -113
  365. package/dist/config/plugin/agent.js +134 -134
  366. package/dist/config/plugin/command.js +248 -248
  367. package/dist/config/plugin/compaction.js +174 -174
  368. package/dist/config/plugin/compatibility.js +154 -154
  369. package/dist/config/plugin/entry-observer.js +1 -1
  370. package/dist/config/plugin/formatter.js +132 -132
  371. package/dist/config/plugin/image.js +131 -131
  372. package/dist/config/plugin/instruction.js +131 -131
  373. package/dist/config/plugin/location-watcher.js +131 -131
  374. package/dist/config/plugin/mcp.js +148 -148
  375. package/dist/config/plugin/policy.js +131 -131
  376. package/dist/config/plugin/provider.js +131 -131
  377. package/dist/config/plugin/reference.js +133 -133
  378. package/dist/config/plugin/shell.js +133 -133
  379. package/dist/config/plugin/skill-file.js +150 -150
  380. package/dist/config/plugin/skill-scan.js +1 -1
  381. package/dist/config/plugin/skill.js +157 -157
  382. package/dist/config/plugin/snapshot.js +131 -131
  383. package/dist/config/plugin/source.js +135 -135
  384. package/dist/config/plugin/tool-output.js +132 -132
  385. package/dist/config/plugin/websearch.js +130 -130
  386. package/dist/config/plugin/worktree.js +133 -133
  387. package/dist/config/variable.js +1 -1
  388. package/dist/config/watch.js +1 -1
  389. package/dist/config.js +136 -136
  390. package/dist/console-access.js +1 -1
  391. package/dist/credential/sql.js +2 -2
  392. package/dist/credential.js +90 -90
  393. package/dist/database/batch.js +1 -1
  394. package/dist/database/database.js +77 -77
  395. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  397. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  398. package/dist/database/drizzle/index.js +13 -13
  399. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  402. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  404. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  407. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  408. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  409. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  410. package/dist/database/drizzle.js +14 -14
  411. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  412. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  413. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  414. package/dist/database/migration/20260225215848_workspace.js +1 -1
  415. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  416. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  417. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  418. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  419. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  420. package/dist/database/migration/20260323234822_events.js +1 -1
  421. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  422. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  423. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  424. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  425. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  426. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  427. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  428. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  429. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  430. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  431. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  432. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  433. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  434. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  435. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  436. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  437. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  438. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  439. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  440. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  441. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  442. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  443. package/dist/database/migration/20260611035744_credential.js +1 -1
  444. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  445. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  446. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  447. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  448. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  449. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  450. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  451. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  452. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  453. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  454. package/dist/database/migration/20260812213948_worktree.js +1 -1
  455. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  456. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  457. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  458. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  459. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  460. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  461. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  462. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  463. package/dist/database/migration/20261025123711_blob.js +1 -1
  464. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  465. package/dist/database/migration/20261026223005_schedule.js +1 -1
  466. package/dist/database/migration/20261029002625_session_part.js +1 -1
  467. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  468. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  469. package/dist/database/migration/20261030054400_job.js +1 -1
  470. package/dist/database/migration.gen.js +60 -60
  471. package/dist/database/migration.js +76 -76
  472. package/dist/database/path.js +2 -2
  473. package/dist/database/schema.gen.js +1 -1
  474. package/dist/database/schema.sql.js +1 -1
  475. package/dist/database/v1-migration.bun.js +98 -98
  476. package/dist/effect/app-node-builder.js +449 -449
  477. package/dist/effect/app-node-platform.js +2 -2
  478. package/dist/effect/keyed-mutex.js +1 -1
  479. package/dist/effect/websocket-constructor.js +1 -1
  480. package/dist/environment/driver.js +1 -1
  481. package/dist/environment/environment.js +105 -105
  482. package/dist/environment/exec-defaults.js +2 -2
  483. package/dist/environment/files.js +1 -1
  484. package/dist/environment/index.js +109 -109
  485. package/dist/environment/local.js +2 -2
  486. package/dist/environment/memory.js +2 -2
  487. package/dist/environment/unavailable.js +1 -1
  488. package/dist/event/sql.js +1 -1
  489. package/dist/event-logger.js +81 -81
  490. package/dist/file-access.js +161 -161
  491. package/dist/file-mutation.js +108 -108
  492. package/dist/file-retention.js +1 -1
  493. package/dist/file-write.js +165 -165
  494. package/dist/filesystem/fff.bun.js +2 -2
  495. package/dist/filesystem/fff.js +1 -1
  496. package/dist/filesystem/fff.node.js +2 -2
  497. package/dist/filesystem/fff.workerd.js +2 -2
  498. package/dist/filesystem/file-watch.js +88 -88
  499. package/dist/filesystem/location-watcher-policy.js +6 -6
  500. package/dist/filesystem/location-watcher.js +257 -257
  501. package/dist/filesystem/protected.js +1 -1
  502. package/dist/filesystem/search.js +111 -111
  503. package/dist/filesystem/watcher-binding.js +1 -1
  504. package/dist/filesystem/watcher.js +11 -11
  505. package/dist/filesystem.js +118 -118
  506. package/dist/flag.js +136 -136
  507. package/dist/form.js +89 -89
  508. package/dist/formatter/builtins.js +4 -4
  509. package/dist/formatter.js +100 -100
  510. package/dist/generate.js +119 -119
  511. package/dist/git.js +7 -7
  512. package/dist/github-copilot/models.js +105 -105
  513. package/dist/image/notice.js +1 -1
  514. package/dist/image/photon-normalize.js +1 -1
  515. package/dist/image/photon-worker.js +1 -1
  516. package/dist/image/photon.js +4 -4
  517. package/dist/image.js +6 -6
  518. package/dist/instance/service.js +5 -5
  519. package/dist/instance.js +440 -440
  520. package/dist/instruction-discovery.js +91 -91
  521. package/dist/instructions/builtins.js +100 -100
  522. package/dist/instructions/index.js +7 -7
  523. package/dist/integration/connection.js +1 -1
  524. package/dist/integration.js +98 -98
  525. package/dist/job/list.js +7 -7
  526. package/dist/job/recovery.js +2 -2
  527. package/dist/job/sql.js +2 -2
  528. package/dist/job.js +90 -90
  529. package/dist/kv/sql.js +2 -2
  530. package/dist/kv.js +84 -84
  531. package/dist/location-activity.js +187 -187
  532. package/dist/location-lifecycle.js +154 -154
  533. package/dist/location-service-map.js +99 -99
  534. package/dist/location-services.js +437 -437
  535. package/dist/location.js +94 -94
  536. package/dist/managed-policy.js +3 -3
  537. package/dist/mcp/client.js +159 -159
  538. package/dist/mcp/connection.js +106 -106
  539. package/dist/mcp/index.js +149 -149
  540. package/dist/mcp/instructions.js +190 -190
  541. package/dist/mcp/oauth.js +103 -91
  542. package/dist/mcp/pool.js +112 -112
  543. package/dist/mcp/socket-client.js +1 -1
  544. package/dist/mcp/stdio.js +160 -160
  545. package/dist/mime.js +1 -1
  546. package/dist/modal/models.js +105 -105
  547. package/dist/model-resolver.js +113 -113
  548. package/dist/model-retry.js +1 -1
  549. package/dist/model.js +108 -108
  550. package/dist/models-dev/v1.js +1 -1
  551. package/dist/models-dev.js +118 -118
  552. package/dist/oauth/page.js +1 -1
  553. package/dist/oauth/redirect.js +1 -1
  554. package/dist/permission/saved.js +91 -91
  555. package/dist/permission/sql.js +5 -5
  556. package/dist/permission.js +155 -155
  557. package/dist/persistent-pty/binary.bun.js +1 -1
  558. package/dist/persistent-pty/daemon.js +1 -1
  559. package/dist/persistent-pty/index.js +99 -99
  560. package/dist/persistent-pty/pty-binding.js +1 -1
  561. package/dist/persistent-pty.js +86 -86
  562. package/dist/plugin/agent.js +87 -87
  563. package/dist/plugin/command.js +146 -146
  564. package/dist/plugin/fork-notice.js +3 -3
  565. package/dist/plugin/goal.js +3 -3
  566. package/dist/plugin/hooks.js +5 -5
  567. package/dist/plugin/host.js +250 -250
  568. package/dist/plugin/identity.js +5 -5
  569. package/dist/plugin/instance.js +5 -5
  570. package/dist/plugin/internal.js +417 -417
  571. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  572. package/dist/plugin/models-dev.js +111 -111
  573. package/dist/plugin/module.js +130 -130
  574. package/dist/plugin/optimize.js +2 -2
  575. package/dist/plugin/plan.js +150 -150
  576. package/dist/plugin/promise.js +1 -1
  577. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  578. package/dist/plugin/provider/azure.js +134 -134
  579. package/dist/plugin/provider/cerebras.js +1 -1
  580. package/dist/plugin/provider/chatgpt.js +135 -135
  581. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  582. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  583. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  585. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  586. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  587. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  588. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  589. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  590. package/dist/plugin/provider/claude-agent/index.js +149 -149
  591. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  592. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  594. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  595. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  596. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  598. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  599. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  600. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  601. package/dist/plugin/provider/claude-agent/session.js +111 -111
  602. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  603. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  605. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  606. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  612. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  613. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  614. package/dist/plugin/provider/configured.js +127 -127
  615. package/dist/plugin/provider/credential-settings.js +88 -88
  616. package/dist/plugin/provider/databricks.js +1 -1
  617. package/dist/plugin/provider/digitalocean.js +110 -110
  618. package/dist/plugin/provider/dynamic.js +2 -2
  619. package/dist/plugin/provider/github-copilot.js +112 -112
  620. package/dist/plugin/provider/gitlab.js +111 -111
  621. package/dist/plugin/provider/google-vertex.js +128 -128
  622. package/dist/plugin/provider/kilo.js +1 -1
  623. package/dist/plugin/provider/llmgateway.js +89 -89
  624. package/dist/plugin/provider/lmstudio.js +144 -144
  625. package/dist/plugin/provider/local.js +141 -141
  626. package/dist/plugin/provider/modal.js +109 -109
  627. package/dist/plugin/provider/neon.js +1 -1
  628. package/dist/plugin/provider/nvidia.js +1 -1
  629. package/dist/plugin/provider/ollama.js +144 -144
  630. package/dist/plugin/provider/openai-context-caps.js +107 -107
  631. package/dist/plugin/provider/openai.js +135 -135
  632. package/dist/plugin/provider/opencode-watches.js +4 -4
  633. package/dist/plugin/provider/opencode.js +162 -162
  634. package/dist/plugin/provider/openrouter.js +105 -105
  635. package/dist/plugin/provider/poe.js +91 -91
  636. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  637. package/dist/plugin/provider/refresh.js +89 -89
  638. package/dist/plugin/provider/sap-ai-core.js +105 -105
  639. package/dist/plugin/provider/sdk-factory.js +1 -1
  640. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  641. package/dist/plugin/provider/vllm.js +144 -144
  642. package/dist/plugin/provider/xai.js +105 -105
  643. package/dist/plugin/provider/zenmux.js +1 -1
  644. package/dist/plugin/provider.js +241 -241
  645. package/dist/plugin/sdk.js +87 -87
  646. package/dist/plugin/service.js +3 -3
  647. package/dist/plugin/skill.js +153 -153
  648. package/dist/plugin/source-directory.js +1 -1
  649. package/dist/plugin/supervisor.js +429 -429
  650. package/dist/plugin/tool-input-repair.js +4 -4
  651. package/dist/plugin/update.js +6 -6
  652. package/dist/plugin/vcs/git.js +99 -99
  653. package/dist/plugin/vcs/hg.js +99 -99
  654. package/dist/plugin/verbosity.js +107 -107
  655. package/dist/plugin/warming.js +131 -131
  656. package/dist/plugin/websearch/exa.js +8 -8
  657. package/dist/plugin/websearch/firecrawl.js +9 -9
  658. package/dist/plugin/websearch/index.js +10 -10
  659. package/dist/plugin/websearch/mcp.js +6 -6
  660. package/dist/plugin/websearch/parallel.js +9 -9
  661. package/dist/plugin/websearch/provider.js +3 -3
  662. package/dist/plugin/websearch/tavily.js +7 -7
  663. package/dist/plugin/websearch/tinyfish.js +9 -9
  664. package/dist/plugin.js +261 -261
  665. package/dist/project/icon.js +5 -5
  666. package/dist/project/schema.js +2 -2
  667. package/dist/project/sql.js +4 -4
  668. package/dist/project.js +93 -93
  669. package/dist/provider.js +111 -111
  670. package/dist/pty/protocol.js +1 -1
  671. package/dist/pty/ticket.js +1 -1
  672. package/dist/pty.js +113 -113
  673. package/dist/reference/instructions.js +101 -101
  674. package/dist/reference.js +101 -101
  675. package/dist/repository-cache.js +93 -93
  676. package/dist/repository.js +1 -1
  677. package/dist/ripgrep/binary.js +2 -2
  678. package/dist/ripgrep.js +111 -111
  679. package/dist/rpc.js +99 -99
  680. package/dist/schedule/check.js +255 -255
  681. package/dist/schedule/sql.js +6 -6
  682. package/dist/schedule.js +269 -269
  683. package/dist/schema.js +1 -1
  684. package/dist/session/affinity.js +1 -1
  685. package/dist/session/background.js +1 -1
  686. package/dist/session/blob.js +135 -135
  687. package/dist/session/command.js +85 -85
  688. package/dist/session/compaction.js +174 -174
  689. package/dist/session/context.js +206 -206
  690. package/dist/session/diff.js +101 -101
  691. package/dist/session/environment.js +5 -5
  692. package/dist/session/error.js +5 -5
  693. package/dist/session/event.js +1 -1
  694. package/dist/session/execution/restart.js +273 -273
  695. package/dist/session/execution/subagent-report.js +147 -147
  696. package/dist/session/execution.js +172 -172
  697. package/dist/session/generate.js +206 -206
  698. package/dist/session/history.js +140 -140
  699. package/dist/session/inbox.js +151 -151
  700. package/dist/session/info.js +3 -3
  701. package/dist/session/instruction-entry.js +88 -88
  702. package/dist/session/instruction-state.js +8 -8
  703. package/dist/session/instructions.js +147 -147
  704. package/dist/session/message-updater.js +4 -4
  705. package/dist/session/message.js +1 -1
  706. package/dist/session/model-request.js +172 -172
  707. package/dist/session/model-transport.js +9 -9
  708. package/dist/session/move.js +176 -176
  709. package/dist/session/projector.js +148 -148
  710. package/dist/session/prompt.js +152 -152
  711. package/dist/session/recent-text.js +1 -1
  712. package/dist/session/revert.js +143 -143
  713. package/dist/session/run-coordinator.js +1 -1
  714. package/dist/session/runner/index.js +3 -3
  715. package/dist/session/runner/llm.js +262 -262
  716. package/dist/session/runner/max-steps.js +1 -1
  717. package/dist/session/runner/model.js +115 -115
  718. package/dist/session/runner/publish-llm-event.js +154 -154
  719. package/dist/session/runner/retry.js +5 -5
  720. package/dist/session/runner/step.js +167 -167
  721. package/dist/session/runner/to-llm-message.js +141 -141
  722. package/dist/session/schema.js +5 -5
  723. package/dist/session/session.js +196 -196
  724. package/dist/session/shell.js +149 -149
  725. package/dist/session/skill.js +151 -151
  726. package/dist/session/sql.js +5 -5
  727. package/dist/session/stats.js +85 -85
  728. package/dist/session/store.js +146 -146
  729. package/dist/session/stored.js +2 -2
  730. package/dist/session/subagent-completion.js +1 -1
  731. package/dist/session/subagent-job.js +175 -175
  732. package/dist/session/subagent-metadata.js +1 -1
  733. package/dist/session/system-prompt.js +3 -3
  734. package/dist/session/title.js +210 -210
  735. package/dist/session/to-session-error.js +153 -153
  736. package/dist/session/transfer.js +253 -253
  737. package/dist/session/usage.js +1 -1
  738. package/dist/session.js +250 -250
  739. package/dist/shared-cache.js +5 -5
  740. package/dist/shell/parse.js +6 -6
  741. package/dist/shell/result.js +1 -1
  742. package/dist/shell/scan.js +1 -1
  743. package/dist/shell/select.js +13 -13
  744. package/dist/shell.js +149 -149
  745. package/dist/skill/discovery.js +6 -6
  746. package/dist/skill/instructions.js +153 -153
  747. package/dist/skill.js +156 -156
  748. package/dist/snapshot.js +104 -104
  749. package/dist/state.js +1 -1
  750. package/dist/tool/html-markdown.js +1 -1
  751. package/dist/tool/http-body.js +1 -1
  752. package/dist/tool/mcp.js +187 -187
  753. package/dist/tool/plugin/artifact.js +245 -245
  754. package/dist/tool/plugin/edit.js +171 -171
  755. package/dist/tool/plugin/file-diff.js +1 -1
  756. package/dist/tool/plugin/glob.js +175 -175
  757. package/dist/tool/plugin/grep.js +174 -174
  758. package/dist/tool/plugin/image-generate.js +256 -256
  759. package/dist/tool/plugin/mcp-events.js +166 -166
  760. package/dist/tool/plugin/mcp-resource.js +170 -170
  761. package/dist/tool/plugin/opencode.js +167 -167
  762. package/dist/tool/plugin/patch.js +172 -172
  763. package/dist/tool/plugin/question.js +150 -150
  764. package/dist/tool/plugin/read.js +174 -174
  765. package/dist/tool/plugin/schedule.js +261 -261
  766. package/dist/tool/plugin/shell.js +252 -252
  767. package/dist/tool/plugin/skill.js +157 -157
  768. package/dist/tool/plugin/subagent.js +252 -252
  769. package/dist/tool/plugin/todo.js +157 -157
  770. package/dist/tool/plugin/webfetch.js +161 -161
  771. package/dist/tool/plugin/websearch.js +153 -153
  772. package/dist/tool/plugin/write.js +172 -172
  773. package/dist/tool/read-filesystem.js +116 -116
  774. package/dist/tool/runtime.js +1 -1
  775. package/dist/tool/search.js +109 -109
  776. package/dist/tool-output.js +7 -7
  777. package/dist/tool.js +164 -164
  778. package/dist/types/shell.d.ts +2 -2
  779. package/dist/usage-limits.js +100 -100
  780. package/dist/util/error-summary.js +1 -1
  781. package/dist/util/git-executable.js +3 -3
  782. package/dist/util/lazy.js +1 -1
  783. package/dist/util/slug.js +1 -1
  784. package/dist/util/token.js +1 -1
  785. package/dist/util/which.js +1 -1
  786. package/dist/util/wildcard.js +1 -1
  787. package/dist/v1/config/agent.js +5 -5
  788. package/dist/v1/config/command.js +3 -3
  789. package/dist/v1/config/mcp.js +4 -4
  790. package/dist/v1/config/migrate.js +106 -106
  791. package/dist/v1/config/permission.js +3 -3
  792. package/dist/v1/config/plugin.js +3 -3
  793. package/dist/v1/config/provider-options.js +1 -1
  794. package/dist/v1/config/provider.js +4 -4
  795. package/dist/variant.js +105 -105
  796. package/dist/vcs/patch.js +1 -1
  797. package/dist/vcs.js +102 -102
  798. package/dist/voice.js +99 -99
  799. package/dist/websearch.js +101 -101
  800. package/dist/wellknown/plugin.js +87 -87
  801. package/dist/wellknown.js +92 -92
  802. package/dist/workspace/driver.js +7 -7
  803. package/dist/workspace/sql.js +1 -1
  804. package/dist/workspace.js +91 -91
  805. package/dist/worktree/directory.js +2 -2
  806. package/dist/worktree/git.js +11 -11
  807. package/dist/worktree/sql.js +5 -5
  808. package/dist/worktree/strategies.js +102 -102
  809. package/dist/worktree.js +113 -113
  810. package/package.json +9 -9
  811. package/dist/chunks/model-retry-0qyw66gp.js +0 -273
  812. package/dist/chunks/model-retry-7enabm5z.js +0 -26
  813. package/dist/chunks/model-retry-d77dj7jw.js +0 -18
  814. package/dist/chunks/model-retry-m8prejn4.js +0 -35
  815. package/dist/chunks/model-retry-wnyqvj32.js +0 -378
  816. /package/dist/chunks/{model-retry-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  817. /package/dist/chunks/{model-retry-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  818. /package/dist/chunks/{model-retry-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  819. /package/dist/chunks/{model-retry-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  820. /package/dist/chunks/{model-retry-1kah00gy.js → vcs-1kah00gy.js} +0 -0
  821. /package/dist/chunks/{model-retry-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  822. /package/dist/chunks/{model-retry-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  823. /package/dist/chunks/{model-retry-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  824. /package/dist/chunks/{model-retry-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  825. /package/dist/chunks/{model-retry-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  826. /package/dist/chunks/{model-retry-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  827. /package/dist/chunks/{model-retry-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  828. /package/dist/chunks/{model-retry-4qk9sjk2.js → vcs-4qk9sjk2.js} +0 -0
  829. /package/dist/chunks/{model-retry-53557ph1.js → vcs-53557ph1.js} +0 -0
  830. /package/dist/chunks/{model-retry-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
  831. /package/dist/chunks/{model-retry-6agm2x70.js → vcs-6agm2x70.js} +0 -0
  832. /package/dist/chunks/{model-retry-6prwharc.js → vcs-6prwharc.js} +0 -0
  833. /package/dist/chunks/{model-retry-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  834. /package/dist/chunks/{model-retry-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  835. /package/dist/chunks/{model-retry-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  836. /package/dist/chunks/{model-retry-7rvsyqjv.js → vcs-7rvsyqjv.js} +0 -0
  837. /package/dist/chunks/{model-retry-822emrt2.js → vcs-822emrt2.js} +0 -0
  838. /package/dist/chunks/{model-retry-84wd9syh.js → vcs-84wd9syh.js} +0 -0
  839. /package/dist/chunks/{model-retry-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  840. /package/dist/chunks/{model-retry-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  841. /package/dist/chunks/{model-retry-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  842. /package/dist/chunks/{model-retry-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  843. /package/dist/chunks/{model-retry-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  844. /package/dist/chunks/{model-retry-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  845. /package/dist/chunks/{model-retry-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  846. /package/dist/chunks/{model-retry-beh6qq61.js → vcs-beh6qq61.js} +0 -0
  847. /package/dist/chunks/{model-retry-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  848. /package/dist/chunks/{model-retry-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  849. /package/dist/chunks/{model-retry-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  850. /package/dist/chunks/{model-retry-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
  851. /package/dist/chunks/{model-retry-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  852. /package/dist/chunks/{model-retry-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  853. /package/dist/chunks/{model-retry-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  854. /package/dist/chunks/{model-retry-df08tz66.js → vcs-df08tz66.js} +0 -0
  855. /package/dist/chunks/{model-retry-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  856. /package/dist/chunks/{model-retry-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  857. /package/dist/chunks/{model-retry-ean2d8b5.js → vcs-ean2d8b5.js} +0 -0
  858. /package/dist/chunks/{model-retry-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  859. /package/dist/chunks/{model-retry-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  860. /package/dist/chunks/{model-retry-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  861. /package/dist/chunks/{model-retry-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  862. /package/dist/chunks/{model-retry-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  863. /package/dist/chunks/{model-retry-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  864. /package/dist/chunks/{model-retry-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
  865. /package/dist/chunks/{model-retry-g86h250q.js → vcs-g86h250q.js} +0 -0
  866. /package/dist/chunks/{model-retry-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  867. /package/dist/chunks/{model-retry-gftt206x.js → vcs-gftt206x.js} +0 -0
  868. /package/dist/chunks/{model-retry-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
  869. /package/dist/chunks/{model-retry-hk9envan.js → vcs-hk9envan.js} +0 -0
  870. /package/dist/chunks/{model-retry-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  871. /package/dist/chunks/{model-retry-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  872. /package/dist/chunks/{model-retry-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  873. /package/dist/chunks/{model-retry-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  874. /package/dist/chunks/{model-retry-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
  875. /package/dist/chunks/{model-retry-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  876. /package/dist/chunks/{model-retry-m18g726c.js → vcs-m18g726c.js} +0 -0
  877. /package/dist/chunks/{model-retry-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  878. /package/dist/chunks/{model-retry-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  879. /package/dist/chunks/{model-retry-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  880. /package/dist/chunks/{model-retry-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  881. /package/dist/chunks/{model-retry-nh4v3znn.js → vcs-nh4v3znn.js} +0 -0
  882. /package/dist/chunks/{model-retry-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  883. /package/dist/chunks/{model-retry-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
  884. /package/dist/chunks/{model-retry-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  885. /package/dist/chunks/{model-retry-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  886. /package/dist/chunks/{model-retry-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  887. /package/dist/chunks/{model-retry-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  888. /package/dist/chunks/{model-retry-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  889. /package/dist/chunks/{model-retry-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  890. /package/dist/chunks/{model-retry-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  891. /package/dist/chunks/{model-retry-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  892. /package/dist/chunks/{model-retry-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  893. /package/dist/chunks/{model-retry-syrav9an.js → vcs-syrav9an.js} +0 -0
  894. /package/dist/chunks/{model-retry-t03h4f5z.js → vcs-t03h4f5z.js} +0 -0
  895. /package/dist/chunks/{model-retry-ty7weeps.js → vcs-ty7weeps.js} +0 -0
  896. /package/dist/chunks/{model-retry-v2dnd5dt.js → vcs-v2dnd5dt.js} +0 -0
  897. /package/dist/chunks/{model-retry-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
  898. /package/dist/chunks/{model-retry-vtarvj67.js → vcs-vtarvj67.js} +0 -0
  899. /package/dist/chunks/{model-retry-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  900. /package/dist/chunks/{model-retry-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  901. /package/dist/chunks/{model-retry-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  902. /package/dist/chunks/{model-retry-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  903. /package/dist/chunks/{model-retry-x4th4bpe.js → vcs-x4th4bpe.js} +0 -0
  904. /package/dist/chunks/{model-retry-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  905. /package/dist/chunks/{model-retry-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  906. /package/dist/chunks/{model-retry-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  907. /package/dist/chunks/{model-retry-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  908. /package/dist/chunks/{model-retry-z9919s4g.js → vcs-z9919s4g.js} +0 -0
  909. /package/dist/chunks/{model-retry-zxpyjp51.js → vcs-zxpyjp51.js} +0 -0
  910. /package/dist/chunks/{model-retry-zz5vv3aq.js → vcs-zz5vv3aq.js} +0 -0
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./model-retry-4dk3ggh9.js";
4
+ } from "./vcs-4m173h4a.js";
5
5
  import {
6
6
  Ref5,
7
7
  Service90,
8
8
  node92
9
- } from "./model-retry-gny4fw8g.js";
9
+ } from "./vcs-4m1thj7j.js";
10
10
  import {
11
- Service61,
12
- node62
13
- } from "./model-retry-ejazfhce.js";
11
+ Service71,
12
+ node72
13
+ } from "./vcs-ffwjzh0h.js";
14
14
  import {
15
15
  cleanup3
16
- } from "./model-retry-tczq8hjw.js";
16
+ } from "./vcs-tczq8hjw.js";
17
17
  import {
18
- Service80,
18
+ Service50,
19
19
  args2,
20
- node82
21
- } from "./model-retry-8cja266h.js";
20
+ node52
21
+ } from "./vcs-vr9xw7pd.js";
22
22
  import {
23
- Service77,
24
- node79,
23
+ Service49,
24
+ node51,
25
25
  available4
26
- } from "./model-retry-47q1swan.js";
26
+ } from "./vcs-tagvt54e.js";
27
27
  import {
28
- Service70,
29
- node72
30
- } from "./model-retry-a1qwck5h.js";
28
+ Service76,
29
+ node78
30
+ } from "./vcs-r0wrga32.js";
31
31
  import {
32
- Service56,
33
- node57
34
- } from "./model-retry-exwhc5hz.js";
32
+ Service35,
33
+ node38
34
+ } from "./vcs-k7fcp7vh.js";
35
35
  import {
36
36
  SessionSchema2
37
- } from "./model-retry-g1x3338p.js";
37
+ } from "./vcs-dv250zvr.js";
38
38
  import {
39
39
  latest2,
40
- Service71,
41
- node73
42
- } from "./model-retry-0dy226kc.js";
40
+ Service80,
41
+ node82
42
+ } from "./vcs-g945w6qm.js";
43
43
  import {
44
44
  MAX_LINES2,
45
45
  MAX_BYTES2
46
- } from "./model-retry-h7mck9ey.js";
46
+ } from "./vcs-d4wz50jd.js";
47
47
  import {
48
48
  __export
49
- } from "./model-retry-9rqn6x4v.js";
49
+ } from "./vcs-9rqn6x4v.js";
50
50
 
51
51
  // src/shell.ts
52
52
  var exports_shell4 = {};
@@ -55,12 +55,12 @@ __export(exports_shell4, {
55
55
  Daemon: () => Daemon2,
56
56
  NotFoundError: () => NotFoundError6,
57
57
  RETENTION: () => RETENTION2,
58
- Service: () => Service55,
58
+ Service: () => Service34,
59
59
  Shell: () => exports_shell4,
60
60
  ToolCall: () => ToolCall2,
61
61
  cleanup: () => cleanup2,
62
62
  daemonNode: () => daemonNode2,
63
- node: () => node56
63
+ node: () => node37
64
64
  });
65
65
  import path from "path";
66
66
  import {
@@ -114,12 +114,12 @@ var Stored = Schema.Struct({
114
114
  });
115
115
  var decodeStored = Schema.decodeUnknownOption(Stored);
116
116
 
117
- class Service55 extends Context.Service()("@opencode/Shell") {
117
+ class Service34 extends Context.Service()("@opencode/Shell") {
118
118
  }
119
119
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
120
120
  const fs = yield* FSUtil.Service;
121
121
  const global = yield* Global.Service;
122
- const pty = yield* Service77;
122
+ const pty = yield* Service49;
123
123
  const directory = path.join(global.data, DIRECTORY2);
124
124
  const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
125
125
  const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
@@ -139,14 +139,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
139
139
  var cleanupNode = makeGlobalNode({
140
140
  name: "shell-output-cleanup",
141
141
  layer: cleanupLayer,
142
- deps: [FSUtil.node, Global.node, node79]
142
+ deps: [FSUtil.node, Global.node, node51]
143
143
  });
144
144
 
145
145
  class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
146
146
  }
147
147
  var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
148
148
  const bus = yield* Service93;
149
- const pty = yield* Service77;
149
+ const pty = yield* Service49;
150
150
  const scope = yield* Effect.scope;
151
151
  const context = yield* Effect.context();
152
152
  const global = yield* Global.Service;
@@ -381,23 +381,23 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
381
381
  var daemonNode2 = makeGlobalNode({
382
382
  service: Daemon2,
383
383
  layer: daemonLayer,
384
- deps: [node95, Global.node, node79]
384
+ deps: [node95, Global.node, node51]
385
385
  });
386
- var layer = () => Layer.effect(Service55, Effect.gen(function* () {
386
+ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
387
387
  const bus = yield* Service93;
388
388
  const location = yield* Service90;
389
389
  const global = yield* Global.Service;
390
- const shell = yield* Service80;
391
- const environment = yield* Service61;
392
- const hooks = yield* Service70;
393
- const environments = yield* Service56;
394
- const config = yield* Service71;
390
+ const shell = yield* Service50;
391
+ const environment = yield* Service71;
392
+ const hooks = yield* Service76;
393
+ const environments = yield* Service35;
394
+ const config = yield* Service80;
395
395
  const daemon = yield* Daemon2;
396
396
  const context = yield* Effect.context();
397
397
  const runFork = Effect.runForkWith(context);
398
398
  const commands = new Map;
399
399
  const exitOrder = [];
400
- const runs = location.workspaceID === undefined && process.platform !== "win32" && available4 ? yield* daemon.at(location) : undefined;
400
+ const runs = location.workspaceID === undefined && available4 ? yield* daemon.at(location) : undefined;
401
401
  const outputDir = path.join(global.data, DIRECTORY2, location.project.id);
402
402
  const { mkdir, unlink, stat } = yield* Effect.promise(() => import("fs/promises"));
403
403
  const { createWriteStream, createReadStream } = yield* Effect.promise(() => import("fs"));
@@ -757,7 +757,7 @@ var layer = () => Layer.effect(Service55, Effect.gen(function* () {
757
757
  const command = yield* Deferred.await(ready);
758
758
  return command.info;
759
759
  });
760
- return Service55.of({
760
+ return Service34.of({
761
761
  create,
762
762
  list,
763
763
  get,
@@ -799,21 +799,21 @@ function formatSize(bytes) {
799
799
  const kb = bytes / 1024;
800
800
  return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
801
801
  }
802
- var node56 = makeLocationNode({
803
- service: Service55,
802
+ var node37 = makeLocationNode({
803
+ service: Service34,
804
804
  layer: layer(),
805
805
  deps: [
806
806
  node95,
807
807
  node92,
808
808
  Global.node,
809
- node82,
810
- node62,
809
+ node52,
811
810
  node72,
812
- node57,
813
- node73,
811
+ node78,
812
+ node38,
813
+ node82,
814
814
  daemonNode2,
815
815
  cleanupNode
816
816
  ]
817
817
  });
818
818
 
819
- export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service55, cleanup2, Daemon2, daemonNode2, node56, exports_shell4 };
819
+ export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service34, cleanup2, Daemon2, daemonNode2, node37, exports_shell4 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  makeFiles2
3
- } from "./model-retry-rgc9cx3e.js";
3
+ } from "./vcs-rgc9cx3e.js";
4
4
  import {
5
5
  makeLocalDriver2
6
- } from "./model-retry-cwrgdav8.js";
6
+ } from "./vcs-cwrgdav8.js";
7
7
  import {
8
8
  Service90,
9
9
  node92
10
- } from "./model-retry-gny4fw8g.js";
10
+ } from "./vcs-4m1thj7j.js";
11
11
  import {
12
- Service62,
13
- node63
14
- } from "./model-retry-gyfe4a17.js";
12
+ Service72,
13
+ node73
14
+ } from "./vcs-revxzz8f.js";
15
15
  import {
16
16
  __export
17
- } from "./model-retry-9rqn6x4v.js";
17
+ } from "./vcs-9rqn6x4v.js";
18
18
 
19
19
  // src/environment/environment.ts
20
20
  var exports_environment3 = {};
21
21
  __export(exports_environment3, {
22
22
  EnvironmentService: () => exports_environment3,
23
- Service: () => Service61,
24
- node: () => node62
23
+ Service: () => Service71,
24
+ node: () => node72
25
25
  });
26
26
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
27
27
  import { makeLocationNode } from "@opencode/util/effect/app-node";
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
30
- class Service61 extends Context.Service()("@opencode/Environment") {
30
+ class Service71 extends Context.Service()("@opencode/Environment") {
31
31
  }
32
- var layer = Layer.effect(Service61, Effect.gen(function* () {
32
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
33
33
  const spawner = yield* ChildProcessSpawner;
34
34
  const location = yield* Service90;
35
- const workspace = yield* Service62;
35
+ const workspace = yield* Service72;
36
36
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
37
- return Service61.of({ files: makeFiles2(driver), spawner: driver.spawner });
37
+ return Service71.of({ files: makeFiles2(driver), spawner: driver.spawner });
38
38
  }));
39
- var node62 = makeLocationNode({
40
- service: Service61,
39
+ var node72 = makeLocationNode({
40
+ service: Service71,
41
41
  layer,
42
- deps: [CrossSpawnSpawner.node, node92, node63]
42
+ deps: [CrossSpawnSpawner.node, node92, node73]
43
43
  });
44
44
 
45
- export { Service61, node62, exports_environment3 };
45
+ export { Service71, node72, exports_environment3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-retry-gftt206x.js";
3
+ } from "./vcs-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service71
3
- } from "./model-retry-0dy226kc.js";
2
+ Service80
3
+ } from "./vcs-g945w6qm.js";
4
4
  import {
5
- Service10
6
- } from "./model-retry-d28v9scs.js";
5
+ Service7
6
+ } from "./vcs-g7zhrrp0.js";
7
7
  import {
8
8
  observe2
9
- } from "./model-retry-tvtps2q9.js";
9
+ } from "./vcs-tvtps2q9.js";
10
10
  import {
11
11
  __export
12
- } from "./model-retry-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin47
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin47 = define({
22
+ var Plugin25 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service71;
26
- const policy = yield* Service10;
25
+ const config = yield* Service80;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin47 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin47, exports_location_watcher2 };
38
+ export { Plugin25, exports_location_watcher2 };
@@ -1,79 +1,79 @@
1
1
  import {
2
2
  Service94
3
- } from "./model-retry-1abx79xn.js";
3
+ } from "./vcs-aag9968h.js";
4
4
  import {
5
5
  Service93
6
- } from "./model-retry-4dk3ggh9.js";
6
+ } from "./vcs-4m173h4a.js";
7
7
  import {
8
- Service43
9
- } from "./model-retry-p9jvgf3w.js";
8
+ Service46
9
+ } from "./vcs-ra34yqmw.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./model-retry-8kjyvwy5.js";
12
+ } from "./vcs-8kjyvwy5.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./model-retry-gftt206x.js";
15
+ } from "./vcs-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError12,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./model-retry-v5w4jpez.js";
23
+ } from "./vcs-n8sp5sqr.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./model-retry-ec1grn59.js";
26
+ } from "./vcs-ec1grn59.js";
27
27
  import {
28
28
  SyntheticPayload2,
29
- Service42
30
- } from "./model-retry-6e4ngh43.js";
29
+ Service45
30
+ } from "./vcs-660anf5p.js";
31
31
  import {
32
- Service65
33
- } from "./model-retry-m9a9fe6f.js";
32
+ Service75
33
+ } from "./vcs-2w2td8xf.js";
34
34
  import {
35
- Service40
36
- } from "./model-retry-aq5rdsap.js";
35
+ Service43
36
+ } from "./vcs-en9j72hh.js";
37
37
  import {
38
38
  prepare2
39
- } from "./model-retry-brz3f9n9.js";
39
+ } from "./vcs-mx5nc67c.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./model-retry-jfvyzykx.js";
44
+ } from "./vcs-534rpm4j.js";
45
45
  import {
46
46
  start5
47
- } from "./model-retry-kpjr6knp.js";
47
+ } from "./vcs-pqkf8d2t.js";
48
48
  import {
49
49
  get4
50
- } from "./model-retry-q8hw2skb.js";
50
+ } from "./vcs-j6mh7sc2.js";
51
51
  import {
52
52
  __export
53
- } from "./model-retry-9rqn6x4v.js";
53
+ } from "./vcs-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session4 = {};
57
57
  __export(exports_session4, {
58
58
  Session: () => exports_session4,
59
- make: () => make24
59
+ make: () => make23
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make24 = Effect.fn("Session.make")(function* () {
64
+ var make23 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service93;
66
66
  const database = yield* Service94;
67
- const store = yield* Service65;
68
- const instances = yield* Service43;
69
- const execution = yield* Service40;
70
- const admission = yield* Service42;
67
+ const store = yield* Service75;
68
+ const instances = yield* Service46;
69
+ const execution = yield* Service43;
70
+ const admission = yield* Service45;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError9({ sessionID });
76
+ return yield* new NotFoundError12({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -164,7 +164,7 @@ var make24 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service93, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service93, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ ${error.message}`,
348
348
  return { forSession };
349
349
  });
350
350
 
351
- export { make24, exports_session4 };
351
+ export { make23, exports_session4 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./model-retry-80pdk984.js";
3
+ } from "./vcs-80pdk984.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-retry-z5v4ffb3.js";
6
+ } from "./vcs-z5v4ffb3.js";
7
7
  import {
8
- ID9,
8
+ ID8,
9
9
  Name2
10
- } from "./model-retry-5xadkbnd.js";
10
+ } from "./vcs-8q41s33p.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID9.make(id),
65
+ id: ID8.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./model-retry-4dk3ggh9.js";
4
+ } from "./vcs-4m173h4a.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./model-retry-rb9dy4dg.js";
9
+ } from "./vcs-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./model-retry-zmmx3t8v.js";
12
+ } from "./vcs-s4nj6bfp.js";
13
13
  import {
14
14
  Service90,
15
15
  node92
16
- } from "./model-retry-gny4fw8g.js";
16
+ } from "./vcs-4m1thj7j.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create4
20
- } from "./model-retry-sh9dx4s1.js";
20
+ } from "./vcs-sh9dx4s1.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./vcs-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info29,
32
+ Info: () => Info13,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service89,
35
+ Service: () => Service60,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node91
38
+ node: () => node61
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info29, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info13, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,9 +55,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service89 extends Context.Service()("@opencode/Vcs") {
58
+ class Service60 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service89, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
62
  const location = yield* Service90;
63
63
  const bus = yield* Service93;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info29));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service89, 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 Service89.of({
133
+ return Service60.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(Service89, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node91 = makeLocationNode({
193
- service: Service89,
192
+ var node61 = makeLocationNode({
193
+ service: Service60,
194
194
  layer,
195
195
  deps: [FSUtil.node, node92, node95]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info29, Mode2, Untracked2, DiffError2, InitializeError2, Service89, node91, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info13, Mode2, Untracked2, DiffError2, InitializeError2, Service60, node61, exports_vcs };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service71
4
- } from "./model-retry-0dy226kc.js";
3
+ Service80
4
+ } from "./vcs-g945w6qm.js";
5
5
  import {
6
- Service57
7
- } from "./model-retry-h7mck9ey.js";
6
+ Service39
7
+ } from "./vcs-d4wz50jd.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-retry-tvtps2q9.js";
10
+ } from "./vcs-tvtps2q9.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./vcs-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin43
19
+ Plugin: () => Plugin24
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin43 = define({
23
+ var Plugin24 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service71;
27
- const output = yield* Service57;
26
+ const config = yield* Service80;
27
+ const output = yield* Service39;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin43 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin43, exports_tool_output };
41
+ export { Plugin24, exports_tool_output };