@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,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-m8prejn4.js";
3
+ } from "./vcs-t6y3kvw8.js";
4
4
  import {
5
5
  ID19,
6
6
  Service87
7
- } from "./model-retry-2cnxsjyc.js";
7
+ } from "./vcs-nmtdz1w0.js";
8
8
  import {
9
9
  key3
10
- } from "./model-retry-n320gsn2.js";
10
+ } from "./vcs-n320gsn2.js";
11
11
  import {
12
12
  MethodID2
13
- } from "./model-retry-ywb0hxgs.js";
13
+ } from "./vcs-crzksb96.js";
14
14
  import {
15
15
  which2
16
- } from "./model-retry-x4th4bpe.js";
16
+ } from "./vcs-x4th4bpe.js";
17
17
  import {
18
- ID17,
19
- Service85
20
- } from "./model-retry-g1m8att5.js";
18
+ ID16,
19
+ Service84
20
+ } from "./vcs-g7y1q6xm.js";
21
21
  import {
22
- ID16
23
- } from "./model-retry-cx8yve48.js";
22
+ ID15
23
+ } from "./vcs-kbbq81j9.js";
24
24
  import {
25
25
  interval2,
26
- Service47,
26
+ Service38,
27
27
  fingerprint2
28
- } from "./model-retry-e6h0js2y.js";
28
+ } from "./vcs-4xjdjntw.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./model-retry-09rceteh.js";
31
+ } from "./vcs-0k516apc.js";
32
32
  import {
33
33
  onSwitch2,
34
34
  switched2
35
- } from "./model-retry-9wc9780e.js";
35
+ } from "./vcs-gn0mm1bn.js";
36
36
  import {
37
37
  activeCredential2
38
- } from "./model-retry-rv31kkjr.js";
38
+ } from "./vcs-97rz0s4b.js";
39
39
 
40
40
  // src/plugin/provider/azure.ts
41
41
  import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
70
70
  }));
71
71
  var ResourceQuery = Schema.Struct({ query: Schema.String });
72
72
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
73
- function make15(endpoints = {
73
+ function make20(endpoints = {
74
74
  resource: (name) => `https://${name}.openai.azure.com/openai`,
75
75
  management: "https://management.azure.com"
76
76
  }) {
77
77
  return define({
78
78
  id: "opencode.provider.azure",
79
79
  effect: Effect.fn(function* (ctx) {
80
- const configured = yield* configuredSettings2(ID17.azure);
80
+ const configured = yield* configuredSettings2(ID16.azure);
81
81
  const processes = yield* AppProcess.Service;
82
82
  const credentials = yield* Service87;
83
- const providers = yield* Service85;
84
- const cache = yield* Service47;
83
+ const providers = yield* Service84;
84
+ const cache = yield* Service38;
85
85
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
86
86
  const tokens = new Map;
87
87
  const resourceIDs = new Map;
@@ -107,11 +107,11 @@ function make15(endpoints = {
107
107
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
108
108
  yield* ctx.integration.transform((editor) => {
109
109
  editor.method.update({
110
- integrationID: ID17.azure,
110
+ integrationID: ID16.azure,
111
111
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
112
112
  });
113
113
  editor.method.update({
114
- integrationID: ID17.azure,
114
+ integrationID: ID16.azure,
115
115
  method: {
116
116
  type: "key",
117
117
  label: "API key",
@@ -129,7 +129,7 @@ function make15(endpoints = {
129
129
  if (!available)
130
130
  return;
131
131
  editor.method.update({
132
- integrationID: ID17.azure,
132
+ integrationID: ID16.azure,
133
133
  method: {
134
134
  id: methodID,
135
135
  type: "external",
@@ -149,7 +149,7 @@ function make15(endpoints = {
149
149
  });
150
150
  });
151
151
  const load = Effect.fn("AzurePlugin.load")(function* () {
152
- const connection = yield* ctx.integration.connection.active(ID17.azure);
152
+ const connection = yield* ctx.integration.connection.active(ID16.azure);
153
153
  const stored = connection?.type === "credential" ? yield* credentials.get(ID19.make(connection.id)) : undefined;
154
154
  return { connection, resource: credentialResource(stored?.value) };
155
155
  });
@@ -189,7 +189,7 @@ function make15(endpoints = {
189
189
  }));
190
190
  const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
191
191
  const connection = loaded.connection;
192
- const settings = (yield* providers.get(ID17.azure))?.settings;
192
+ const settings = (yield* providers.get(ID16.azure))?.settings;
193
193
  const name = loaded.resource ?? resolveResourceName(settings);
194
194
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
195
195
  if (loaded.connection !== connection)
@@ -219,11 +219,11 @@ function make15(endpoints = {
219
219
  });
220
220
  const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
221
221
  const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
222
- if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID17.azure)))
222
+ if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID16.azure)))
223
223
  return;
224
224
  if (Equal.equals(found, loaded.deployments))
225
225
  return;
226
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID17.azure)?.models.keys() ?? [], (id) => [
226
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID16.azure)?.models.keys() ?? [], (id) => [
227
227
  id.toLowerCase(),
228
228
  id
229
229
  ]));
@@ -236,7 +236,7 @@ function make15(endpoints = {
236
236
  yield* ctx.model.reload();
237
237
  });
238
238
  const refresh = discover({}).pipe(Effect.flatMap(apply));
239
- const resourceFor = (provider) => provider.id === ID17.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
239
+ const resourceFor = (provider) => provider.id === ID16.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
240
240
  Object.assign(loaded, yield* load());
241
241
  yield* ctx.provider.transform((evt) => {
242
242
  for (const item of evt.list()) {
@@ -255,7 +255,7 @@ function make15(endpoints = {
255
255
  };
256
256
  });
257
257
  }
258
- const item = evt.get(ID17.azure);
258
+ const item = evt.get(ID16.azure);
259
259
  if (!item)
260
260
  return;
261
261
  evt.add({
@@ -285,21 +285,21 @@ function make15(endpoints = {
285
285
  }
286
286
  if (!loaded.deployments)
287
287
  return;
288
- const catalog = models.list(ID17.azure);
288
+ const catalog = models.list(ID16.azure);
289
289
  const deployed = deployedModels(loaded.deployments, catalog);
290
290
  for (const model of catalog) {
291
291
  if (!deployed.has(model.id))
292
- models.remove(ID17.azure, model.id);
292
+ models.remove(ID16.azure, model.id);
293
293
  }
294
294
  for (const [id, model] of deployed) {
295
- models.update(ID17.azure, id, (draft) => Object.assign(draft, model));
295
+ models.update(ID16.azure, id, (draft) => Object.assign(draft, model));
296
296
  }
297
297
  });
298
298
  yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
299
299
  yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
300
300
  yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
301
301
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
302
- const { credential } = yield* activeCredential2(ctx, ID17.azure);
302
+ const { credential } = yield* activeCredential2(ctx, ID16.azure);
303
303
  if (credential?.type !== "external" || credential.methodID !== methodID)
304
304
  return;
305
305
  const target = new URL(url);
@@ -315,7 +315,7 @@ function make15(endpoints = {
315
315
  evt.request.headers.delete("x-api-key");
316
316
  evt.request.headers.set("authorization", authorization);
317
317
  evt.request.headers.set("user-agent", useragent2(ctx.app));
318
- }), { providerID: ID17.azure });
318
+ }), { providerID: ID16.azure });
319
319
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
320
320
  const authorization = yield* bearer(evt.url);
321
321
  if (!authorization)
@@ -324,11 +324,11 @@ function make15(endpoints = {
324
324
  delete evt.headers["x-api-key"];
325
325
  evt.headers.authorization = authorization;
326
326
  evt.headers["user-agent"] = useragent2(ctx.app);
327
- }), { providerID: ID17.azure });
327
+ }), { providerID: ID16.azure });
328
328
  })
329
329
  });
330
330
  }
331
- var AzurePlugin2 = make15();
331
+ var AzurePlugin2 = make20();
332
332
  function deploymentsKey(connection, credential, url) {
333
333
  const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
334
334
  return `azure:${key3(connection)}${access}:${url}`;
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
343
343
  return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
344
344
  }
345
345
  function azureProvider(provider) {
346
- return provider.id === ID17.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
346
+ return provider.id === ID16.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
347
347
  }
348
348
  function usable(credential) {
349
349
  return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
368
368
  const model = catalogModel(models, deployment);
369
369
  if (!model)
370
370
  return [];
371
- const id = ID16.make(deployment.name.toLowerCase());
371
+ const id = ID15.make(deployment.name.toLowerCase());
372
372
  const info = {
373
373
  ...structuredClone(model),
374
374
  id,
375
- modelID: ID16.make(deployment.name),
375
+ modelID: ID15.make(deployment.name),
376
376
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
377
377
  };
378
378
  return [[id, info]];
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
394
394
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
395
395
  }
396
396
 
397
- export { make15, AzurePlugin2 };
397
+ export { make20, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./vcs-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  key3
3
- } from "./model-retry-n320gsn2.js";
3
+ } from "./vcs-n320gsn2.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./model-retry-2cnxsjyc.js";
6
+ } from "./vcs-nmtdz1w0.js";
7
7
  import {
8
- ID18,
8
+ ID17,
9
9
  MethodID2
10
- } from "./model-retry-ywb0hxgs.js";
10
+ } from "./vcs-crzksb96.js";
11
11
  import {
12
12
  mergeOverlay2
13
- } from "./model-retry-m90tx7mw.js";
14
- import {
15
- ID17,
16
- Service85
17
- } from "./model-retry-g1m8att5.js";
13
+ } from "./vcs-m90tx7mw.js";
18
14
  import {
19
15
  ID16,
16
+ Service84
17
+ } from "./vcs-g7y1q6xm.js";
18
+ import {
19
+ ID15,
20
20
  Ref3
21
- } from "./model-retry-cx8yve48.js";
21
+ } from "./vcs-kbbq81j9.js";
22
22
  import {
23
23
  load5,
24
24
  derive3,
25
25
  auto2,
26
26
  autoModel2,
27
27
  routeFor2
28
- } from "./model-retry-2e32zktp.js";
28
+ } from "./vcs-w6q11ycf.js";
29
29
  import {
30
30
  useragent2
31
- } from "./model-retry-m8prejn4.js";
31
+ } from "./vcs-t6y3kvw8.js";
32
32
  import {
33
- ID13
34
- } from "./model-retry-kxamksb3.js";
33
+ ID14
34
+ } from "./vcs-9pjzs4bv.js";
35
35
  import {
36
36
  get5
37
- } from "./model-retry-3nnrz6f6.js";
37
+ } from "./vcs-3nnrz6f6.js";
38
38
  import {
39
- Service47,
39
+ Service38,
40
40
  fingerprint2
41
- } from "./model-retry-e6h0js2y.js";
41
+ } from "./vcs-4xjdjntw.js";
42
42
  import {
43
- start3
44
- } from "./model-retry-9wc9780e.js";
43
+ start4
44
+ } from "./vcs-gn0mm1bn.js";
45
45
  import {
46
46
  activeCredential2,
47
47
  credentialSettings2
48
- } from "./model-retry-rv31kkjr.js";
48
+ } from "./vcs-97rz0s4b.js";
49
49
 
50
50
  // src/plugin/provider/github-copilot.ts
51
51
  import { isRecord } from "@opencode/util/record";
@@ -84,7 +84,7 @@ var AutoRoute = Schema.Struct({
84
84
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
85
85
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
86
86
  var oauth = (app) => ({
87
- integrationID: ID18.make("github-copilot"),
87
+ integrationID: ID17.make("github-copilot"),
88
88
  method: {
89
89
  id: methodID,
90
90
  type: "oauth",
@@ -182,13 +182,13 @@ var oauth = (app) => ({
182
182
  var GithubCopilotPlugin2 = define({
183
183
  id: "opencode.provider.github.copilot",
184
184
  effect: Effect.fn(function* (ctx) {
185
- const providers = yield* Service85;
186
- const cache = yield* Service47;
185
+ const providers = yield* Service84;
186
+ const cache = yield* Service38;
187
187
  const http = yield* HttpClient.HttpClient;
188
188
  const outbound = yield* FetchHttpClient.Fetch;
189
189
  const routes = new Map;
190
190
  const login = yield* credentialSettings2(ctx, "github-copilot", (value) => value.type === "oauth" ? { baseURL: copilotBaseURL2(value.metadata) } : {});
191
- const discovered = yield* start3({
191
+ const discovered = yield* start4({
192
192
  integrationID: "github-copilot",
193
193
  initial: {},
194
194
  active: ctx.integration.connection.active("github-copilot"),
@@ -210,7 +210,7 @@ var GithubCopilotPlugin2 = define({
210
210
  return;
211
211
  }));
212
212
  const url = endpoint || copilotBaseURL2(credential.metadata);
213
- const headers = (yield* providers.get(ID17.githubCopilot))?.headers ?? {};
213
+ const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
214
214
  const models = yield* cache.get({
215
215
  key: modelsKey(connection, url, headers),
216
216
  ...options,
@@ -231,7 +231,7 @@ var GithubCopilotPlugin2 = define({
231
231
  editor.method.update(oauth(ctx.app));
232
232
  });
233
233
  yield* ctx.provider.transform((evt) => {
234
- const item = evt.get(ID17.githubCopilot);
234
+ const item = evt.get(ID16.githubCopilot);
235
235
  if (!item)
236
236
  return;
237
237
  const loaded = discovered.current;
@@ -257,8 +257,8 @@ var GithubCopilotPlugin2 = define({
257
257
  }
258
258
  });
259
259
  yield* ctx.model.transform((models) => {
260
- if (models.get(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"))) {
261
- models.update(ID17.githubCopilot, ID16.make("gpt-5-chat-latest"), (model) => {
260
+ if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
261
+ models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
262
262
  model.enabled = false;
263
263
  });
264
264
  }
@@ -275,7 +275,7 @@ var GithubCopilotPlugin2 = define({
275
275
  const route = routes.get(evt.sessionID);
276
276
  if (route?.token && route.model === evt.model.id)
277
277
  evt.headers["Copilot-Session-Token"] = route.token;
278
- }), { providerID: ID17.githubCopilot });
278
+ }), { providerID: ID16.githubCopilot });
279
279
  const route = Effect.fn("GithubCopilotPlugin.route")(function* (sessionID) {
280
280
  const loaded = discovered.current;
281
281
  if (!loaded.baseURL || !loaded.token || !loaded.models)
@@ -283,7 +283,7 @@ var GithubCopilotPlugin2 = define({
283
283
  const user = yield* ctx.session.context({ sessionID }).pipe(Effect.map((messages) => messages.findLast((message) => message.type === "user")), Effect.orElseSucceed(() => {
284
284
  return;
285
285
  }));
286
- const headers = (yield* providers.get(ID17.githubCopilot))?.headers ?? {};
286
+ const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
287
287
  const picked = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.post(`${loaded.baseURL}/auto`).pipe(HttpClientRequest.setHeaders({
288
288
  ...headers,
289
289
  Authorization: `Bearer ${loaded.token}`,
@@ -317,18 +317,18 @@ var GithubCopilotPlugin2 = define({
317
317
  if (route.until <= now)
318
318
  routes.delete(id);
319
319
  routes.set(evt.sessionID, current);
320
- evt.model = Ref3.make({ providerID: ID17.githubCopilot, id: ID16.make(current.model) });
321
- }), { providerID: ID17.githubCopilot });
320
+ evt.model = Ref3.make({ providerID: ID16.githubCopilot, id: ID15.make(current.model) });
321
+ }), { providerID: ID16.githubCopilot });
322
322
  yield* ctx.session.hook("compaction", (evt) => Effect.sync(() => {
323
323
  const route = routes.get(evt.sessionID);
324
324
  if (route)
325
325
  route.until = 0;
326
- }), { providerID: ID17.githubCopilot });
326
+ }), { providerID: ID16.githubCopilot });
327
327
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
328
328
  const loaded = discovered.current;
329
329
  if (!loaded.baseURL || !loaded.token || !loaded.models)
330
330
  return;
331
- const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
331
+ const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
332
332
  return;
333
333
  }));
334
334
  if (agent?.data.model)
@@ -339,7 +339,7 @@ var GithubCopilotPlugin2 = define({
339
339
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
340
340
  return;
341
341
  }));
342
- }), { providerID: ID17.githubCopilot });
342
+ }), { providerID: ID16.githubCopilot });
343
343
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
344
344
  const token = evt.request.headers.get("x-api-key") ?? evt.request.headers.get("authorization")?.replace(/^Bearer\s+/i, "");
345
345
  if (!token)
@@ -347,7 +347,7 @@ var GithubCopilotPlugin2 = define({
347
347
  const text = yield* Effect.promise(() => evt.request.clone().text());
348
348
  const body = Option.getOrUndefined(decodeBody(text));
349
349
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
350
- }), { providerID: ID17.githubCopilot });
350
+ }), { providerID: ID16.githubCopilot });
351
351
  })
352
352
  });
353
353
  function modelsKey(connection, url, headers) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-retry-emrn6kk6.js";
4
+ } from "./vcs-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-retry-qfa1cgps.js";
3
+ } from "./vcs-qfa1cgps.js";
4
4
  import {
5
5
  SessionTable2
6
- } from "./model-retry-mb7mbhnz.js";
6
+ } from "./vcs-mb7mbhnz.js";
7
7
 
8
8
  // src/schedule/sql.ts
9
9
  import { sql } from "drizzle-orm";
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service93
3
- } from "./model-retry-4dk3ggh9.js";
3
+ } from "./vcs-4m173h4a.js";
4
4
  import {
5
5
  group2,
6
6
  batch2,
7
7
  shutdown2,
8
8
  changes2,
9
9
  inherit3
10
- } from "./model-retry-sh9dx4s1.js";
10
+ } from "./vcs-sh9dx4s1.js";
11
11
  import {
12
- Service27,
12
+ Service33,
13
13
  awaitActivation2
14
- } from "./model-retry-d77dj7jw.js";
14
+ } from "./vcs-a610t88q.js";
15
15
  import {
16
16
  make22,
17
17
  requirements3
18
- } from "./model-retry-a0vpc40p.js";
18
+ } from "./vcs-p3vqybhf.js";
19
19
  import {
20
20
  __export
21
- } from "./model-retry-9rqn6x4v.js";
21
+ } from "./vcs-9rqn6x4v.js";
22
22
 
23
23
  // src/plugin.ts
24
24
  var exports_plugin2 = {};
25
25
  __export(exports_plugin2, {
26
- Event: () => Event3,
26
+ Event: () => Event4,
27
27
  GuiBundle: () => GuiBundle2,
28
- ID: () => ID5,
29
- Info: () => Info4,
28
+ ID: () => ID6,
29
+ Info: () => Info6,
30
30
  Plugin: () => exports_plugin2,
31
- Service: () => Service27,
31
+ Service: () => Service33,
32
32
  Source: () => Source2,
33
33
  State: () => State2,
34
34
  awaitActivation: () => awaitActivation2,
35
- node: () => node22
35
+ node: () => node20
36
36
  });
37
- import { Event as Event3, GuiBundle as GuiBundle2, ID as ID5, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
37
+ import { Event as Event4, GuiBundle as GuiBundle2, ID as ID6, Info as Info6, Source as Source2, State as State2 } from "@opencode/schema/plugin";
38
38
  import { readFile } from "node:fs/promises";
39
39
  import { fileURLToPath } from "node:url";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
44
44
  const bus = yield* Service93;
45
45
  const scope = yield* Scope.make();
46
46
  const active = new Map;
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
211
211
  yield* shutdown2(Scope.close(scope, exit));
212
212
  }));
213
213
  yield* Effect.addFinalizer(close);
214
- return Service27.of({
214
+ return Service33.of({
215
215
  activate,
216
216
  close,
217
217
  awaitActivation: ready.await,
@@ -229,10 +229,10 @@ function slotInfo(slot) {
229
229
  features: slot.plugin.features ?? { server: true }
230
230
  };
231
231
  }
232
- var node22 = Node.makeLocationNode({
233
- service: Service27,
232
+ var node20 = Node.makeLocationNode({
233
+ service: Service33,
234
234
  layer,
235
235
  deps: [requirements3]
236
236
  });
237
237
 
238
- export { node22, exports_plugin2, Event3, GuiBundle2, ID5, Info4, Source2, State2 };
238
+ export { node20, exports_plugin2, Event4, GuiBundle2, ID6, Info6, Source2, State2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-retry-s47rahr7.js";
3
+ } from "./vcs-s47rahr7.js";
4
4
  import {
5
- Service61
6
- } from "./model-retry-ejazfhce.js";
5
+ Service71
6
+ } from "./vcs-ffwjzh0h.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/mcp/connection.ts
12
12
  var exports_connection = {};
13
13
  __export(exports_connection, {
14
14
  McpConnection: () => exports_connection,
15
- make: () => make26
15
+ make: () => make25
16
16
  });
17
17
  import { Cause, Effect, Exit, Scope } from "effect";
18
18
  import { FetchHttpClient } from "effect/http";
19
19
  var endpointLoads = makeUnsafe2();
20
- function make26(input) {
20
+ function make25(input) {
21
21
  const state = {};
22
22
  const whenLive = (client) => (effect) => input.callbacks(Effect.suspend(() => state.client === client ? effect : Effect.void).pipe(input.lock, Effect.ignore));
23
23
  const refreshTools = (client) => client.tools().pipe(Effect.map((tools) => {
@@ -60,7 +60,7 @@ function make26(input) {
60
60
  clientInfo: input.clientInfo,
61
61
  roots: !input.shared,
62
62
  events: input.mcpEvents
63
- }).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service61, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
63
+ }).pipe(Effect.flatMap((client) => input.shared && !client.modern ? Effect.succeed({ client }) : client.tools().pipe(Effect.map((tools) => ({ client, tools })))), Effect.provideService(Service71, input.environment), Effect.provideService(FetchHttpClient.Fetch, input.fetch), Scope.provide(scope), (effect) => config.type === "remote" && !input.shared ? endpointLoads.withLock(config.url)(effect) : effect, Effect.exit);
64
64
  if (Exit.isSuccess(result) && !result.value.tools) {
65
65
  yield* Scope.close(scope, Exit.void);
66
66
  state.scope = undefined;
@@ -113,4 +113,4 @@ function make26(input) {
113
113
  };
114
114
  }
115
115
 
116
- export { make26, exports_connection };
116
+ export { make25, exports_connection };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./model-retry-n4chev15.js";
3
+ } from "./vcs-tvhk9714.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./vcs-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin17
12
+ Plugin: () => Plugin51
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai/effect";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin17 = define({
32
+ var Plugin51 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin17, exports_plan };
108
+ export { Plugin51, exports_plan };
@@ -1,37 +1,37 @@
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
- Service71
9
- } from "./model-retry-0dy226kc.js";
8
+ Service80
9
+ } from "./vcs-g945w6qm.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./model-retry-mesdejg4.js";
13
+ } from "./vcs-769kdwpb.js";
14
14
  import {
15
15
  observe2
16
- } from "./model-retry-tvtps2q9.js";
16
+ } from "./vcs-tvtps2q9.js";
17
17
  import {
18
18
  __export
19
- } from "./model-retry-9rqn6x4v.js";
19
+ } from "./vcs-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin53
25
+ Plugin: () => Plugin35
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin53 = define({
31
+ var Plugin35 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service71;
34
+ const config = yield* Service80;
35
35
  const location = yield* Service90;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin53, exports_reference };
75
+ export { Plugin35, exports_reference };