@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,62 +1,62 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./model-retry-7rvsyqjv.js";
3
+ } from "./vcs-7rvsyqjv.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service83
7
- } from "./model-retry-cx8yve48.js";
7
+ } from "./vcs-kbbq81j9.js";
8
8
  import {
9
- Service71
10
- } from "./model-retry-0dy226kc.js";
9
+ Service80
10
+ } from "./vcs-g945w6qm.js";
11
11
  import {
12
12
  observe2
13
- } from "./model-retry-tvtps2q9.js";
13
+ } from "./vcs-tvtps2q9.js";
14
14
  import {
15
- Service61
16
- } from "./model-retry-ejazfhce.js";
15
+ Service71
16
+ } from "./vcs-ffwjzh0h.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./model-retry-gftt206x.js";
19
+ } from "./vcs-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service64
23
- } from "./model-retry-n4chev15.js";
22
+ Service73
23
+ } from "./vcs-tvhk9714.js";
24
24
  import {
25
- Service17
26
- } from "./model-retry-4sp0pwej.js";
25
+ Service70
26
+ } from "./vcs-xzvw6m7f.js";
27
27
  import {
28
- Service81
29
- } from "./model-retry-v32atjwq.js";
28
+ Service40
29
+ } from "./vcs-xxzh4c78.js";
30
30
  import {
31
31
  text2
32
- } from "./model-retry-8b3vzgkx.js";
32
+ } from "./vcs-8b3vzgkx.js";
33
33
  import {
34
- Service76
35
- } from "./model-retry-aq6k3cf3.js";
34
+ Service47
35
+ } from "./vcs-2ac9bhfe.js";
36
36
  import {
37
37
  detect2
38
- } from "./model-retry-4pyp9zr9.js";
38
+ } from "./vcs-4pyp9zr9.js";
39
39
  import {
40
- Service25
41
- } from "./model-retry-7bgajff9.js";
40
+ Service19
41
+ } from "./vcs-gnvm8xfe.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./model-retry-3v8g72cx.js";
44
+ } from "./vcs-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./model-retry-9rqn6x4v.js";
47
+ } from "./vcs-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input12,
53
+ Input: () => Input10,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output8,
56
- Plugin: () => Plugin34,
55
+ Output: () => Output7,
56
+ Plugin: () => Plugin11,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description7,
59
- name: () => name12
58
+ description: () => description6,
59
+ name: () => name10
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name12 = "experimental_image_generate";
67
+ var name10 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description7 = [
78
+ var description6 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description7 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input12 = Schema.Struct({
87
+ var Input10 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
90
90
  }),
@@ -98,25 +98,25 @@ var Input12 = Schema.Struct({
98
98
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
99
99
  })
100
100
  });
101
- var Output8 = Schema.Struct({
101
+ var Output7 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin34 = {
106
+ var Plugin11 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service17;
110
- const environment = yield* Service61;
111
- const generate = yield* Service81;
109
+ const access = yield* Service70;
110
+ const environment = yield* Service71;
111
+ const generate = yield* Service40;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
- const config = yield* Service71;
115
- const jobs = yield* Service76;
114
+ const config = yield* Service80;
115
+ const jobs = yield* Service47;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service25;
117
+ const sessions = yield* Service19;
118
118
  const models = yield* Service83;
119
- const permission = yield* Service64;
119
+ const permission = yield* Service73;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -201,7 +201,7 @@ var Plugin34 = {
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name12, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name10, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin34 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name12,
223
+ name: name10,
224
224
  options: { codemode: false },
225
- description: description7,
226
- input: Input12,
227
- output: Output8,
225
+ description: description6,
226
+ input: Input10,
227
+ output: Output7,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin34 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
235
235
  yield* permission.assert({
236
- action: name12,
236
+ action: name10,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name12,
290
+ type: name10,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name12, MAX_INPUT_BYTES2, description7, Input12, Output8, Plugin34, defaultModel2, exports_image_generate };
329
+ export { name10, MAX_INPUT_BYTES2, description6, Input10, Output7, Plugin11, defaultModel2, exports_image_generate };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider4 = {};
10
10
  __export(exports_provider4, {
11
11
  ConfigProviderV1: () => exports_provider4,
12
- Info: () => Info16,
12
+ Info: () => Info23,
13
13
  Model: () => Model3,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info16 = Schema.Struct({
64
+ var Info23 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -91,4 +91,4 @@ var Info16 = Schema.Struct({
91
91
  models: Schema.optional(Schema.Record(Schema.String, Model3))
92
92
  }).annotate({ identifier: "ProviderConfig" });
93
93
 
94
- export { ModelStatus2, Model3, Info16, exports_provider4 };
94
+ export { ModelStatus2, Model3, Info23, exports_provider4 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./model-retry-7rvsyqjv.js";
3
+ } from "./vcs-7rvsyqjv.js";
4
4
  import {
5
5
  Service90
6
- } from "./model-retry-gny4fw8g.js";
6
+ } from "./vcs-4m1thj7j.js";
7
7
  import {
8
- Service61
9
- } from "./model-retry-ejazfhce.js";
8
+ Service71
9
+ } from "./vcs-ffwjzh0h.js";
10
10
  import {
11
- Service18,
11
+ Service68,
12
12
  readText2
13
- } from "./model-retry-xxfjb0zd.js";
13
+ } from "./vcs-ne2703s1.js";
14
14
  import {
15
15
  invocation2,
16
- Service64
17
- } from "./model-retry-n4chev15.js";
16
+ Service73
17
+ } from "./vcs-tvhk9714.js";
18
18
  import {
19
19
  resolvePath2
20
- } from "./model-retry-4sp0pwej.js";
20
+ } from "./vcs-xzvw6m7f.js";
21
21
  import {
22
22
  fileDiff2
23
- } from "./model-retry-6prwharc.js";
23
+ } from "./vcs-6prwharc.js";
24
24
  import {
25
- Service13
26
- } from "./model-retry-gzet49gd.js";
25
+ Service67
26
+ } from "./vcs-cfgd1geb.js";
27
27
  import {
28
28
  __export
29
- } from "./model-retry-9rqn6x4v.js";
29
+ } from "./vcs-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/edit.ts
32
32
  var exports_edit = {};
33
33
  __export(exports_edit, {
34
34
  EditTool: () => exports_edit,
35
- Input: () => Input7,
36
- Output: () => Output6,
37
- Plugin: () => Plugin27,
38
- name: () => name7
35
+ Input: () => Input6,
36
+ Output: () => Output4,
37
+ Plugin: () => Plugin7,
38
+ name: () => name6
39
39
  });
40
40
  import { ToolFailure } from "@opencode/ai/effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { Effect, Schema } from "effect";
43
- var name7 = "edit";
44
- var Input7 = Schema.Struct({
43
+ var name6 = "edit";
44
+ var Input6 = Schema.Struct({
45
45
  path: Schema.String.annotate({
46
46
  description: "File to edit"
47
47
  }),
@@ -51,7 +51,7 @@ var Input7 = Schema.Struct({
51
51
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
52
52
  })
53
53
  });
54
- var Output6 = Schema.Struct({
54
+ var Output4 = Schema.Struct({
55
55
  files: Schema.Array(FileDiff.Info),
56
56
  replacements: Schema.Number
57
57
  });
@@ -243,20 +243,20 @@ var countBefore = (positions, offset) => {
243
243
  }
244
244
  return low;
245
245
  };
246
- var Plugin27 = {
246
+ var Plugin7 = {
247
247
  id: "opencode.tool.edit",
248
248
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
249
- const fileMutation = yield* Service18;
250
- const fileWrite = yield* Service13;
251
- const environment = yield* Service61;
249
+ const fileMutation = yield* Service68;
250
+ const fileWrite = yield* Service67;
251
+ const environment = yield* Service71;
252
252
  const location = yield* Service90;
253
- const permission = yield* Service64;
253
+ const permission = yield* Service73;
254
254
  yield* ctx.tool.transform((editor) => editor.add({
255
- name: name7,
255
+ name: name6,
256
256
  options: { codemode: false, permission: "edit" },
257
257
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
258
- input: Input7,
259
- output: Output6,
258
+ input: Input6,
259
+ output: Output4,
260
260
  execute: (input, context) => {
261
261
  return Effect.gen(function* () {
262
262
  if (input.oldString === input.newString) {
@@ -318,4 +318,4 @@ ${hint}` : ""}`
318
318
  })
319
319
  };
320
320
 
321
- export { name7, Input7, Output6, Plugin27, exports_edit };
321
+ export { name6, Input6, Output4, Plugin7, exports_edit };
@@ -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/provider/claude-agent/language-model/request-kind.ts
6
6
  var exports_request_kind = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID18,
3
- Service86
4
- } from "./model-retry-ywb0hxgs.js";
2
+ ID17,
3
+ Service85
4
+ } from "./vcs-crzksb96.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service86;
12
+ const integrations = yield* Service85;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID18.make(item.provider.id)))
22
+ if (!configured.has(ID17.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -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/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -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/oauth/redirect.ts
6
6
  var exports_redirect = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./model-retry-0ma9gw4f.js";
3
+ } from "./vcs-0ma9gw4f.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service38,
11
+ Service: () => Service28,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node41
15
+ node: () => node31
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service38.of({ bind, close, closeAll });
370
+ return Service28.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node41 = makeGlobalNode({ service: Service38, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node31 = makeGlobalNode({ service: Service28, layer: layer16, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service38, makeLayer2, layer17, node41, exports_model_transport };
377
+ export { Service28, makeLayer2, layer16, node31, exports_model_transport };
@@ -1,40 +1,40 @@
1
1
  import {
2
- ID18,
3
- Service86,
4
- node88
5
- } from "./model-retry-ywb0hxgs.js";
2
+ ID17,
3
+ Service85,
4
+ node87
5
+ } from "./vcs-crzksb96.js";
6
6
  import {
7
7
  isAISDK2,
8
8
  packageName2,
9
9
  mergeOverlay2,
10
10
  mergeHeaders2
11
- } from "./model-retry-m90tx7mw.js";
11
+ } from "./vcs-m90tx7mw.js";
12
12
  import {
13
- ID17,
13
+ ID16,
14
14
  loadPackage2,
15
15
  nativeSettings2,
16
16
  modelSettings2,
17
17
  timeout2,
18
18
  timeouts2,
19
19
  encoding2,
20
- Service85,
21
- node87
22
- } from "./model-retry-g1m8att5.js";
23
- import {
24
20
  Service84,
25
21
  node86
26
- } from "./model-retry-phy3xrma.js";
22
+ } from "./vcs-g7y1q6xm.js";
27
23
  import {
28
- ID16,
24
+ Service59,
25
+ node60
26
+ } from "./vcs-rg8r5ec2.js";
27
+ import {
28
+ ID15,
29
29
  VariantID2,
30
30
  Ref3,
31
31
  Service83,
32
32
  node85,
33
33
  supportsText2
34
- } from "./model-retry-cx8yve48.js";
34
+ } from "./vcs-kbbq81j9.js";
35
35
  import {
36
36
  __export
37
- } from "./model-retry-9rqn6x4v.js";
37
+ } from "./vcs-9rqn6x4v.js";
38
38
 
39
39
  // src/model-resolver.ts
40
40
  var exports_model_resolver = {};
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
43
43
  ModelConfigurationError: () => ModelConfigurationError2,
44
44
  ModelInitializationError: () => ModelInitializationError2,
45
45
  ModelResolver: () => exports_model_resolver,
46
- Service: () => Service82,
46
+ Service: () => Service58,
47
47
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
48
48
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
49
49
  UnsupportedPackageError: () => UnsupportedPackageError2,
50
50
  VariantUnavailableError: () => VariantUnavailableError2,
51
51
  fromCatalogModel: () => fromCatalogModel2,
52
52
  hasPackage: () => hasPackage2,
53
- layer: () => layer29,
54
- node: () => node84,
53
+ layer: () => layer24,
54
+ node: () => node59,
55
55
  resolveModel: () => resolveModel3,
56
56
  withVariant: () => withVariant2
57
57
  });
@@ -68,8 +68,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
68
68
  import { Context, Effect, Layer, Schema, Struct } from "effect";
69
69
  import { Npm } from "@opencode/util/npm";
70
70
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
71
- providerID: ID17,
72
- modelID: ID16,
71
+ providerID: ID16,
72
+ modelID: ID15,
73
73
  variant: VariantID2
74
74
  }) {
75
75
  get message() {
@@ -78,8 +78,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  }
79
79
 
80
80
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
81
- providerID: ID17,
82
- modelID: ID16,
81
+ providerID: ID16,
82
+ modelID: ID15,
83
83
  package: Schema.String
84
84
  }) {
85
85
  get message() {
@@ -89,8 +89,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
90
90
 
91
91
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
92
- providerID: ID17,
93
- modelID: ID16,
92
+ providerID: ID16,
93
+ modelID: ID15,
94
94
  package: Schema.String,
95
95
  detail: Schema.String
96
96
  }) {
@@ -100,8 +100,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
100
100
  }
101
101
 
102
102
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
103
- providerID: ID17,
104
- modelID: ID16,
103
+ providerID: ID16,
104
+ modelID: ID15,
105
105
  package: Schema.String,
106
106
  phase: InitializationPhase2,
107
107
  detail: Schema.String
@@ -112,8 +112,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
112
112
  }
113
113
 
114
114
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
115
- providerID: ID17,
116
- modelID: ID16,
115
+ providerID: ID16,
116
+ modelID: ID15,
117
117
  variables: Schema.Array(Schema.String)
118
118
  }) {
119
119
  get message() {
@@ -122,8 +122,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
122
122
  }
123
123
 
124
124
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
125
- providerID: ID17,
126
- modelID: ID16,
125
+ providerID: ID16,
126
+ modelID: ID15,
127
127
  route: Schema.String
128
128
  }) {
129
129
  get message() {
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
131
131
  }
132
132
  }
133
133
 
134
- class Service82 extends Context.Service()("@opencode/ModelResolver") {
134
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
135
135
  }
136
136
  var withVariant2 = (model, variantID) => {
137
137
  const id = variantID === "default" ? undefined : variantID;
@@ -275,7 +275,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
275
275
  return tokenSettings(specifier, credential.access);
276
276
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
277
277
  return { auth: "sigv4" };
278
- if (model.providerID === ID17.azure)
278
+ if (model.providerID === ID16.azure)
279
279
  return tokenSettings(specifier, "azure-cli");
280
280
  return {};
281
281
  };
@@ -310,19 +310,19 @@ var causeMessage = (cause) => {
310
310
  };
311
311
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
312
312
  var hasPackage2 = (model) => Boolean(model.package);
313
- var layer29 = Layer.effect(Service82, Effect.gen(function* () {
314
- const providers = yield* Service85;
313
+ var layer24 = Layer.effect(Service58, Effect.gen(function* () {
314
+ const providers = yield* Service84;
315
315
  const models = yield* Service83;
316
- const integrations = yield* Service86;
316
+ const integrations = yield* Service85;
317
317
  const npm = yield* Npm.Service;
318
- const aisdk = yield* Service84;
318
+ const aisdk = yield* Service59;
319
319
  const dependencies = {
320
320
  loadPackage: (specifier) => loadPackage2(specifier, npm),
321
321
  loadAISDK: (model) => aisdk.model(model)
322
322
  };
323
323
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
324
324
  const provider = yield* providers.get(selected.providerID);
325
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
325
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID17.make(selected.providerID));
326
326
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
327
327
  const selectedVariant = yield* withVariant2(selected, variant);
328
328
  const runtimeInfo = {
@@ -365,7 +365,7 @@ var layer29 = Layer.effect(Service82, Effect.gen(function* () {
365
365
  return model;
366
366
  return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
367
367
  });
368
- return Service82.of({
368
+ return Service58.of({
369
369
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
370
370
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
371
371
  if (!selected)
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
431
431
  return false;
432
432
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
433
433
  }
434
- var node84 = makeLocationNode({
435
- service: Service82,
436
- layer: layer29,
437
- deps: [node87, node85, node88, Npm.node, node86]
434
+ var node59 = makeLocationNode({
435
+ service: Service58,
436
+ layer: layer24,
437
+ deps: [node86, node85, node87, Npm.node, node60]
438
438
  });
439
439
 
440
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service82, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer29, node84, exports_model_resolver };
440
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node59, exports_model_resolver };