@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,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-retry-z5v4ffb3.js";
4
+ } from "./vcs-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service92,
9
9
  node94
10
- } from "./model-retry-8zqzm5np.js";
10
+ } from "./vcs-8zqzm5np.js";
11
11
  import {
12
12
  Service90,
13
13
  node92
14
- } from "./model-retry-gny4fw8g.js";
14
+ } from "./vcs-4m1thj7j.js";
15
15
  import {
16
16
  create4
17
- } from "./model-retry-sh9dx4s1.js";
17
+ } from "./vcs-sh9dx4s1.js";
18
18
  import {
19
19
  __export
20
- } from "./model-retry-9rqn6x4v.js";
20
+ } from "./vcs-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID8,
27
- Service: () => Service44,
25
+ Error: () => Error5,
26
+ ID: () => ID20,
27
+ Service: () => Service89,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
29
+ node: () => node91,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,18 +34,18 @@ 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 ID8 } from "@opencode/schema/snapshot";
37
+ import { ID as ID20 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error5 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 Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service89 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service89, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service92;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, 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 Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error5({ 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)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID8.make(tree);
100
+ return ID20.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service89.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node46 = makeLocationNode({
159
- service: Service44,
158
+ var node91 = makeLocationNode({
159
+ service: Service89,
160
160
  layer,
161
161
  deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
163
+ var noopLayer3 = Layer.succeed(Service89, Service89.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service44, Service44.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error5 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error5({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID8, Error2, Service44, node46, noopLayer3, exports_snapshot2 };
181
+ export { ID20, Error5, Service89, node91, noopLayer3, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-cache.ts
6
6
  var exports_shared_cache = {};
7
7
  __export(exports_shared_cache, {
8
- Service: () => Service47,
8
+ Service: () => Service38,
9
9
  SharedCache: () => exports_shared_cache,
10
10
  fingerprint: () => fingerprint2,
11
11
  interval: () => interval2,
12
- node: () => node49,
12
+ node: () => node41,
13
13
  transient: () => transient2
14
14
  });
15
15
  import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
18
18
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  var interval2 = Duration.minutes(10);
20
20
 
21
- class Service47 extends Context.Service()("@opencode/SharedCache") {
21
+ class Service38 extends Context.Service()("@opencode/SharedCache") {
22
22
  }
23
23
  var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
24
24
  var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
25
25
  var unread = Duration.toMillis(Duration.hours(24));
26
- var layer = Layer.effect(Service47, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
27
27
  const run = yield* FiberSet.makeRuntime();
28
28
  const entries = new Map;
29
29
  const start = Effect.fnUntraced(function* (key, entry, load) {
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
59
59
  }))));
60
60
  return yield* Fiber.join(entry.loading);
61
61
  });
62
- return Service47.of({ get });
62
+ return Service38.of({ get });
63
63
  }));
64
- var node49 = makeGlobalNode({ service: Service47, layer, deps: [] });
64
+ var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
65
65
 
66
- export { interval2, Service47, fingerprint2, transient2, node49, exports_shared_cache };
66
+ export { interval2, Service38, fingerprint2, transient2, node41, exports_shared_cache };
@@ -1,36 +1,36 @@
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
  awaitActivation2
12
- } from "./model-retry-d77dj7jw.js";
12
+ } from "./vcs-a610t88q.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./model-retry-ec1grn59.js";
15
+ } from "./vcs-ec1grn59.js";
16
16
  import {
17
17
  preview2
18
- } from "./model-retry-35xwmx6k.js";
18
+ } from "./vcs-x9vxwf07.js";
19
19
  import {
20
20
  retry2
21
- } from "./model-retry-2fc7eemy.js";
21
+ } from "./vcs-2fc7eemy.js";
22
22
  import {
23
23
  baseTranscript2
24
- } from "./model-retry-g8n6nxn7.js";
24
+ } from "./vcs-j7en239p.js";
25
25
  import {
26
- Service28
27
- } from "./model-retry-a52bkq65.js";
26
+ Service20
27
+ } from "./vcs-19dmrv0g.js";
28
28
  import {
29
29
  record2
30
- } from "./model-retry-4f25tdd0.js";
30
+ } from "./vcs-4f25tdd0.js";
31
31
  import {
32
32
  __export
33
- } from "./model-retry-9rqn6x4v.js";
33
+ } from "./vcs-9rqn6x4v.js";
34
34
 
35
35
  // src/session/generate.ts
36
36
  var exports_generate = {};
@@ -41,13 +41,13 @@ __export(exports_generate, {
41
41
  import { LLMClient, Message } from "@opencode/ai/effect";
42
42
  import { Effect } from "effect";
43
43
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
44
- const instances = yield* Service43;
44
+ const instances = yield* Service46;
45
45
  const database = yield* Service94;
46
46
  const llm = yield* LLMClient.Service;
47
47
  const bus = yield* Service93;
48
48
  return yield* Effect.gen(function* () {
49
49
  yield* awaitActivation2;
50
- const context = yield* Service28;
50
+ const context = yield* Service20;
51
51
  const selection = yield* context.select(input.session.id);
52
52
  const model = yield* context.resolveModel(selection.session, { kind: "generate", agent: selection.agent.id });
53
53
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -1,33 +1,33 @@
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
  RelativePath2
12
- } from "./model-retry-z5v4ffb3.js";
12
+ } from "./vcs-z5v4ffb3.js";
13
13
  import {
14
- Service44
15
- } from "./model-retry-nq3gw3nz.js";
14
+ Service89
15
+ } from "./vcs-4sbg4377.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./model-retry-ec1grn59.js";
18
+ } from "./vcs-ec1grn59.js";
19
19
  import {
20
20
  MessageNotFoundError2
21
- } from "./model-retry-v5w4jpez.js";
21
+ } from "./vcs-n8sp5sqr.js";
22
22
  import {
23
23
  SessionMessageTable2
24
- } from "./model-retry-mb7mbhnz.js";
24
+ } from "./vcs-mb7mbhnz.js";
25
25
  import {
26
26
  decodeMessageRowSync2
27
- } from "./model-retry-35xwmx6k.js";
27
+ } from "./vcs-x9vxwf07.js";
28
28
  import {
29
29
  __export
30
- } from "./model-retry-9rqn6x4v.js";
30
+ } from "./vcs-9rqn6x4v.js";
31
31
 
32
32
  // src/session/revert.ts
33
33
  var exports_revert = {};
@@ -40,11 +40,11 @@ __export(exports_revert, {
40
40
  import { and, asc, eq, gt } from "drizzle-orm";
41
41
  import { Effect } from "effect";
42
42
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
43
- const instances = yield* Service43;
43
+ const instances = yield* Service46;
44
44
  const database = yield* Service94;
45
45
  const bus = yield* Service93;
46
46
  return yield* Effect.gen(function* () {
47
- const snapshot = yield* Service44;
47
+ const snapshot = yield* Service89;
48
48
  const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
49
49
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
50
50
  const restore = new Map;
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
72
72
  }).pipe(instances.provide(input.session));
73
73
  });
74
74
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
75
- const instances = yield* Service43;
75
+ const instances = yield* Service46;
76
76
  const bus = yield* Service93;
77
77
  yield* Effect.gen(function* () {
78
- const snapshot = yield* Service44;
78
+ const snapshot = yield* Service89;
79
79
  if (!session.revert)
80
80
  return;
81
81
  const original = session.revert.snapshot;
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service43,
3
- node45
4
- } from "./model-retry-p9jvgf3w.js";
2
+ Service46,
3
+ node48
4
+ } from "./vcs-ra34yqmw.js";
5
5
  import {
6
- Service54,
7
- node55,
6
+ Service63,
7
+ node64,
8
8
  canonical3
9
- } from "./model-retry-fcskamac.js";
9
+ } from "./vcs-d4z9rf1y.js";
10
10
  import {
11
- Service15
12
- } from "./model-retry-fjr1tg8h.js";
11
+ Service61
12
+ } from "./vcs-j2ktfpns.js";
13
13
  import {
14
14
  layer2
15
- } from "./model-retry-0qyw66gp.js";
15
+ } from "./vcs-hhdn31zm.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
19
19
  var HELD_WARNING_AFTER = "30 seconds";
20
20
  function buildLocationServiceMap2(replacements = []) {
21
- return Layer.effect(Service54, Effect.gen(function* () {
21
+ return Layer.effect(Service63, Effect.gen(function* () {
22
22
  const owner = yield* Effect.scope;
23
23
  const builds = MutableHashMap.empty();
24
24
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  const finish = Effect.suspend(() => {
29
29
  if (Exit.isSuccess(exit)) {
30
30
  return Effect.gen(function* () {
31
- const lifecycle = Context.get(exit.value, Service15);
31
+ const lifecycle = Context.get(exit.value, Service61);
32
32
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
33
33
  return yield* lifecycle.shutdown;
34
34
  build.close = lifecycle.shutdown;
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
65
65
  }).pipe(Effect.uninterruptible)
66
66
  };
67
67
  const bindings = [
68
- node45.replace(Layer.succeed(Service43, {
68
+ node48.replace(Layer.succeed(Service46, {
69
69
  provide: (session) => Effect.provide(map.get(session.location))
70
70
  })),
71
71
  ...replacements,
72
- node55.replace(Layer.succeed(Service54, map))
72
+ node64.replace(Layer.succeed(Service63, map))
73
73
  ];
74
74
  return map;
75
75
  }));
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
5
  Service90
6
- } from "./model-retry-gny4fw8g.js";
6
+ } from "./vcs-4m1thj7j.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./model-retry-w4xw9ac5.js";
3
+ } from "./vcs-xz07m27x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin19,
12
+ Plugin: () => Plugin46,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin19 = define({
27
+ var Plugin46 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin19 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin19, exports_identity };
40
+ export { identity2, Plugin46, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-retry-6q2bdcd1.js";
3
+ } from "./vcs-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./vcs-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/tools/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  ToolHooks: () => exports_hooks,
9
- make: () => make12
9
+ make: () => make15
10
10
  });
11
- function make12(pending) {
11
+ function make15(pending) {
12
12
  const before = async (input) => {
13
13
  if (input.hook_event_name === "PreToolUse")
14
14
  pending.before(input.tool_use_id, input.tool_name);
@@ -28,4 +28,4 @@ function make12(pending) {
28
28
  };
29
29
  }
30
30
 
31
- export { make12, exports_hooks };
31
+ export { make15, exports_hooks };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizeContent2
4
- } from "./model-retry-7rvsyqjv.js";
4
+ } from "./vcs-7rvsyqjv.js";
5
5
  import {
6
6
  __export
7
- } from "./model-retry-9rqn6x4v.js";
7
+ } from "./vcs-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/tool-input-repair.ts
10
10
  var exports_tool_input_repair = {};
11
11
  __export(exports_tool_input_repair, {
12
- Plugin: () => Plugin13,
12
+ Plugin: () => Plugin56,
13
13
  ToolInputRepairPlugin: () => exports_tool_input_repair
14
14
  });
15
15
  import { ToolFailure } from "@opencode/ai/effect";
@@ -18,7 +18,7 @@ import { Effect, Option, Predicate, Schema } from "effect";
18
18
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
19
19
  var maxDepth = 6;
20
20
  var aliases = new Map([["bash", "shell"]]);
21
- var Plugin13 = define({
21
+ var Plugin56 = define({
22
22
  id: "opencode.tool.input.repair",
23
23
  effect: (ctx) => Effect.gen(function* () {
24
24
  const aliased = new Map;
@@ -153,4 +153,4 @@ function repairArray(value, schema, root, depth) {
153
153
  return compatible ? [repaired] : value;
154
154
  }
155
155
 
156
- export { Plugin13, exports_tool_input_repair };
156
+ export { Plugin56, exports_tool_input_repair };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveCwd2,
3
- make19
4
- } from "./model-retry-w5v5zxbk.js";
3
+ make4
4
+ } from "./vcs-a8bdqvkf.js";
5
5
  import {
6
6
  __export
7
- } from "./model-retry-9rqn6x4v.js";
7
+ } from "./vcs-9rqn6x4v.js";
8
8
 
9
9
  // src/mcp/client.ts
10
10
  var exports_client = {};
@@ -224,7 +224,7 @@ var connect2 = Effect.fnUntraced(function* (options) {
224
224
  return yield* initialize(config.transport);
225
225
  if (config.type === "local") {
226
226
  const [command, ...args] = config.command;
227
- const transport = yield* make19({
227
+ const transport = yield* make4({
228
228
  server,
229
229
  command,
230
230
  args,
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./model-retry-1abx79xn.js";
4
+ } from "./vcs-aag9968h.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-retry-s47rahr7.js";
7
+ } from "./vcs-s47rahr7.js";
8
8
  import {
9
9
  Service93,
10
10
  node95
11
- } from "./model-retry-4dk3ggh9.js";
11
+ } from "./vcs-4m173h4a.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-retry-ec1grn59.js";
14
+ } from "./vcs-ec1grn59.js";
15
15
  import {
16
16
  SessionMessageTable2,
17
17
  SessionInboxTable2
18
- } from "./model-retry-mb7mbhnz.js";
18
+ } from "./vcs-mb7mbhnz.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./model-retry-gftt206x.js";
21
+ } from "./vcs-gftt206x.js";
22
22
  import {
23
23
  UserPayload3
24
- } from "./model-retry-fg9p65nk.js";
24
+ } from "./vcs-fg9p65nk.js";
25
25
  import {
26
26
  hydrateInbox2,
27
27
  keepInboxRefs2,
@@ -29,13 +29,13 @@ import {
29
29
  externalizePayload2,
30
30
  recordRefs2,
31
31
  releaseMessage2
32
- } from "./model-retry-0zvwhvr5.js";
32
+ } from "./vcs-jmcf28dg.js";
33
33
  import {
34
34
  decodeMessageRows2
35
- } from "./model-retry-35xwmx6k.js";
35
+ } from "./vcs-x9vxwf07.js";
36
36
  import {
37
37
  __export
38
- } from "./model-retry-9rqn6x4v.js";
38
+ } from "./vcs-9rqn6x4v.js";
39
39
 
40
40
  // src/session/inbox.ts
41
41
  var exports_inbox = {};
@@ -43,7 +43,7 @@ __export(exports_inbox, {
43
43
  Compaction: () => Compaction2,
44
44
  CompactionPayload: () => CompactionPayload2,
45
45
  Delivery: () => Delivery2,
46
- Info: () => Info8,
46
+ Info: () => Info11,
47
47
  Item: () => Item2,
48
48
  LifecycleConflict: () => LifecycleConflict2,
49
49
  MediaInfo: () => MediaInfo2,
@@ -51,7 +51,7 @@ __export(exports_inbox, {
51
51
  MediaUserPayload: () => MediaUserPayload2,
52
52
  Move: () => Move2,
53
53
  MovePayload: () => MovePayload2,
54
- Service: () => Service42,
54
+ Service: () => Service45,
55
55
  SessionInbox: () => exports_inbox,
56
56
  Synthetic: () => Synthetic2,
57
57
  SyntheticPayload: () => SyntheticPayload2,
@@ -59,13 +59,13 @@ __export(exports_inbox, {
59
59
  UserPayload: () => UserPayload2,
60
60
  find: () => find2,
61
61
  has: () => has2,
62
- layer: () => layer19,
62
+ layer: () => layer22,
63
63
  list: () => list4,
64
64
  listWithRefs: () => listWithRefs2,
65
- make: () => make30,
65
+ make: () => make28,
66
66
  moveIDs: () => moveIDs2,
67
67
  nextPromotable: () => nextPromotable2,
68
- node: () => node44,
68
+ node: () => node47,
69
69
  projectAdmitted: () => projectAdmitted2,
70
70
  projectCancelled: () => projectCancelled2,
71
71
  projectDelivered: () => projectDelivered2,
@@ -80,7 +80,7 @@ import {
80
80
  Compaction as Compaction2,
81
81
  CompactionPayload as CompactionPayload2,
82
82
  Delivery as Delivery2,
83
- Info as Info8,
83
+ Info as Info11,
84
84
  Item as Item2,
85
85
  MediaInfo as MediaInfo2,
86
86
  MediaUser as MediaUser2,
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
184
184
  });
185
185
  });
186
186
 
187
- class Service42 extends Context.Service()("@opencode/SessionInbox") {
187
+ class Service45 extends Context.Service()("@opencode/SessionInbox") {
188
188
  }
189
- var make30 = Effect.fn("SessionInbox.make")(function* () {
189
+ var make28 = Effect.fn("SessionInbox.make")(function* () {
190
190
  const database = yield* Service94;
191
191
  const db = database.db;
192
192
  const bus = yield* Service93;
@@ -206,7 +206,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
206
206
  inboxID: request.id,
207
207
  sessionID: request.sessionID,
208
208
  item: request.item
209
- }).pipe(Effect.map((event) => Info8.make({
209
+ }).pipe(Effect.map((event) => Info11.make({
210
210
  id: request.id,
211
211
  sessionID: request.sessionID,
212
212
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -260,8 +260,8 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
260
260
  queue
261
261
  };
262
262
  });
263
- var layer19 = Layer.effect(Service42, make30());
264
- var node44 = makeGlobalNode({ service: Service42, layer: layer19, deps: [node96, node95] });
263
+ var layer22 = Layer.effect(Service45, make28());
264
+ var node47 = makeGlobalNode({ service: Service45, layer: layer22, deps: [node96, node95] });
265
265
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
266
266
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
267
267
  if (message !== undefined)
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
388
388
  return rows;
389
389
  }));
390
390
 
391
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make30, layer19, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
391
+ export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make28, layer22, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };