@opencode/core 0.0.0-dev-877 → 0.0.0-dev-878

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +254 -254
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{git-ws6bkvx4.js → pty-0082486v.js} +12 -12
  9. package/dist/chunks/pty-00ve6mdn.js +18 -0
  10. package/dist/chunks/{git-034tev2y.js → pty-034tev2y.js} +2 -2
  11. package/dist/chunks/{git-e388bv6v.js → pty-04qyyzkb.js} +7 -7
  12. package/dist/chunks/{git-9vmsqv1h.js → pty-04taggxf.js} +1 -1
  13. package/dist/chunks/{git-9cgrg5sn.js → pty-08zs3z5t.js} +36 -36
  14. package/dist/chunks/{git-91pq3adq.js → pty-0apqa2j6.js} +3 -3
  15. package/dist/chunks/{git-6795q8e3.js → pty-0bm0vtwv.js} +11 -11
  16. package/dist/chunks/{git-gb1g2x4k.js → pty-0cs6619n.js} +27 -27
  17. package/dist/chunks/{git-jsc8ycs5.js → pty-0dbdcyb4.js} +22 -22
  18. package/dist/chunks/{git-p29q87c6.js → pty-0jk4gzvn.js} +13 -13
  19. package/dist/chunks/{git-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
  20. package/dist/chunks/{git-x2cyss11.js → pty-0p2chd15.js} +18 -18
  21. package/dist/chunks/{git-03bqgv3d.js → pty-0pcgz03n.js} +16 -16
  22. package/dist/chunks/{git-aqsf8b5y.js → pty-0t2mkgep.js} +4 -4
  23. package/dist/chunks/{git-sj3sd7dm.js → pty-0xgshe2y.js} +10 -10
  24. package/dist/chunks/{git-s49mjxh7.js → pty-0yg79bww.js} +5 -5
  25. package/dist/chunks/{git-1xckstgy.js → pty-18b1hh0p.js} +11 -11
  26. package/dist/chunks/{git-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{git-1ep2p91f.js → pty-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{git-tqqy5sm4.js → pty-1gpdc67x.js} +29 -29
  29. package/dist/chunks/{git-0gqnrxt9.js → pty-1p738f31.js} +20 -20
  30. package/dist/chunks/{git-7b03s8dy.js → pty-1sfhq3gh.js} +20 -20
  31. package/dist/chunks/{git-pxrqm68d.js → pty-1v2g13eq.js} +8 -8
  32. package/dist/chunks/{git-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{git-b5h8zkmc.js → pty-1xn430j4.js} +16 -16
  34. package/dist/chunks/{git-bdhd9h6e.js → pty-1yq9hg58.js} +5 -5
  35. package/dist/chunks/{git-cp6k9vjq.js → pty-1z2ezsn0.js} +4 -4
  36. package/dist/chunks/{git-z0c26qk4.js → pty-22wp63zj.js} +2 -2
  37. package/dist/chunks/{git-25h84942.js → pty-25h84942.js} +1 -1
  38. package/dist/chunks/{git-v4bj6baw.js → pty-26wfx3k0.js} +4 -4
  39. package/dist/chunks/{git-4t2sgz32.js → pty-27rxkcxv.js} +20 -20
  40. package/dist/chunks/{git-tn46mmh5.js → pty-2cdpqtk9.js} +4 -4
  41. package/dist/chunks/{git-5z0ewh0k.js → pty-2eh0f1sg.js} +24 -24
  42. package/dist/chunks/{git-2fc7eemy.js → pty-2fc7eemy.js} +1 -1
  43. package/dist/chunks/{git-pcyqp9fj.js → pty-2kkn5h22.js} +2 -2
  44. package/dist/chunks/{git-ew421enx.js → pty-2n6tcy7a.js} +19 -19
  45. package/dist/chunks/{git-2p60zmnr.js → pty-2p60zmnr.js} +2 -2
  46. package/dist/chunks/{git-qaytk5qx.js → pty-2ss5f5ss.js} +5 -5
  47. package/dist/chunks/{git-wq7h4fzf.js → pty-2twxdwbq.js} +13 -13
  48. package/dist/chunks/{git-yjs4xt5n.js → pty-2zz3xz3r.js} +9 -9
  49. package/dist/chunks/{git-rzg6y5rp.js → pty-38aws4xb.js} +4 -4
  50. package/dist/chunks/{git-d5z6mkpf.js → pty-38nka762.js} +9 -9
  51. package/dist/chunks/{git-39sgvy3e.js → pty-39sgvy3e.js} +4 -4
  52. package/dist/chunks/{git-fjydg50v.js → pty-3bzhzpnf.js} +4 -4
  53. package/dist/chunks/{git-rt18gyq5.js → pty-3cse29s9.js} +6 -6
  54. package/dist/chunks/{git-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{git-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
  56. package/dist/chunks/{git-9j9dggvf.js → pty-3p62j0nb.js} +6 -6
  57. package/dist/chunks/{git-63xym3gh.js → pty-3ryz99p0.js} +4 -4
  58. package/dist/chunks/{git-pty4hktj.js → pty-3txdrh00.js} +23 -23
  59. package/dist/chunks/{git-mm27w63f.js → pty-3txg0pd7.js} +11 -11
  60. package/dist/chunks/{git-0qak39qg.js → pty-3z8vx0gr.js} +11 -11
  61. package/dist/chunks/{git-44h066km.js → pty-3zjvswjq.js} +18 -18
  62. package/dist/chunks/{git-bfef7565.js → pty-40vsxc6j.js} +36 -36
  63. package/dist/chunks/{git-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
  64. package/dist/chunks/{git-44pmzq9c.js → pty-44pmzq9c.js} +2 -2
  65. package/dist/chunks/{git-bx2ghzcj.js → pty-46cyrfev.js} +24 -24
  66. package/dist/chunks/{git-qz8etm46.js → pty-47rsk148.js} +4 -4
  67. package/dist/chunks/{git-xsskj9ss.js → pty-47t61vtt.js} +9 -9
  68. package/dist/chunks/{git-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
  69. package/dist/chunks/{git-4f25tdd0.js → pty-4f25tdd0.js} +1 -1
  70. package/dist/chunks/{git-y9x9m3cp.js → pty-4g3sdj5g.js} +9 -9
  71. package/dist/chunks/{git-qax158c6.js → pty-4kkdjnw8.js} +2 -2
  72. package/dist/chunks/{git-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
  73. package/dist/chunks/{git-6a8yk7g9.js → pty-4rzh7d7z.js} +3 -3
  74. package/dist/chunks/{git-0frc0r1x.js → pty-4tc4dv8y.js} +23 -23
  75. package/dist/chunks/{git-4v008n1t.js → pty-4v008n1t.js} +1 -1
  76. package/dist/chunks/{git-83shbj64.js → pty-4vtpdmjt.js} +17 -17
  77. package/dist/chunks/{git-tp0ex5xf.js → pty-4wh9bgn2.js} +13 -13
  78. package/dist/chunks/{git-wgz5mth4.js → pty-50emzza2.js} +9 -9
  79. package/dist/chunks/{git-rfyfdpdh.js → pty-54x8tjhq.js} +21 -21
  80. package/dist/chunks/{git-h3bkzmev.js → pty-58yve0v1.js} +9 -9
  81. package/dist/chunks/{git-kxhqpggx.js → pty-59t9ct3m.js} +25 -25
  82. package/dist/chunks/{git-5enarcya.js → pty-5enarcya.js} +2 -2
  83. package/dist/chunks/{git-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  84. package/dist/chunks/{git-6ss6ngz0.js → pty-5w1mdqt7.js} +4 -4
  85. package/dist/chunks/{git-hrav46rw.js → pty-5yffcetz.js} +16 -16
  86. package/dist/chunks/{git-pavzvnye.js → pty-5zdad6yg.js} +32 -32
  87. package/dist/chunks/{git-vevq54rd.js → pty-60zgrctx.js} +23 -23
  88. package/dist/chunks/{git-4ckwpsmh.js → pty-633pgj7g.js} +9 -9
  89. package/dist/chunks/{git-bvtjjqvm.js → pty-69e6bcea.js} +46 -46
  90. package/dist/chunks/{git-fd7zzepq.js → pty-6ba9x97p.js} +2 -2
  91. package/dist/chunks/{git-0jb5754p.js → pty-6eqzpwgz.js} +15 -15
  92. package/dist/chunks/{git-775hqbnd.js → pty-775hqbnd.js} +3 -3
  93. package/dist/chunks/{git-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{git-v56pf686.js → pty-7f6k4x6h.js} +28 -28
  95. package/dist/chunks/{git-mrpnjyvf.js → pty-7nqkf5r1.js} +6 -6
  96. package/dist/chunks/{git-9d9y7nf6.js → pty-7vr8248e.js} +10 -10
  97. package/dist/chunks/{git-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{git-7weczvnd.js → pty-7weczvnd.js} +1 -1
  99. package/dist/chunks/{git-kwhhx56s.js → pty-809by22w.js} +8 -8
  100. package/dist/chunks/{git-31avdb49.js → pty-80m5xgxj.js} +11 -11
  101. package/dist/chunks/{git-89287pr7.js → pty-89287pr7.js} +1 -1
  102. package/dist/chunks/{git-92x12kkd.js → pty-8b1rxbth.js} +12 -12
  103. package/dist/chunks/{git-5whx36p1.js → pty-8cg7mtm3.js} +4 -4
  104. package/dist/chunks/{git-hced1q2j.js → pty-8dfptpqb.js} +4 -4
  105. package/dist/chunks/{git-s2t1sdmb.js → pty-8faw8f8c.js} +15 -15
  106. package/dist/chunks/{git-cqa12jg5.js → pty-8j47f66f.js} +17 -17
  107. package/dist/chunks/{git-0z761sfe.js → pty-8ktfmd0n.js} +19 -19
  108. package/dist/chunks/{git-53yc0731.js → pty-8mz1epvh.js} +5 -5
  109. package/dist/chunks/{git-wjxd5znf.js → pty-8mz64x2b.js} +11 -11
  110. package/dist/chunks/{git-wtr4aekm.js → pty-8nbbg8x2.js} +26 -26
  111. package/dist/chunks/{git-8sxe6kv8.js → pty-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{git-3qgwywyc.js → pty-8t99kr38.js} +4 -4
  113. package/dist/chunks/{git-fyfzbt3s.js → pty-8vct2pgr.js} +2 -2
  114. package/dist/chunks/{git-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{git-8xz27cp9.js → pty-8xz27cp9.js} +1 -1
  116. package/dist/chunks/{git-8zv0xmg5.js → pty-8zv0xmg5.js} +1 -1
  117. package/dist/chunks/{git-g71ss1xn.js → pty-921m9cvt.js} +18 -18
  118. package/dist/chunks/{git-sx27c7qs.js → pty-93xmyh8q.js} +5 -5
  119. package/dist/chunks/{git-963hk181.js → pty-963hk181.js} +2 -2
  120. package/dist/chunks/{git-3zz32vjr.js → pty-96n9kpwt.js} +5 -5
  121. package/dist/chunks/{git-j384620m.js → pty-98nhdtpx.js} +18 -18
  122. package/dist/chunks/{git-7twge7vh.js → pty-99p0pbf1.js} +10 -10
  123. package/dist/chunks/{git-97d9kncm.js → pty-9hqnwgn2.js} +18 -18
  124. package/dist/chunks/{git-fyg08hs0.js → pty-9kx878ab.js} +17 -17
  125. package/dist/chunks/{git-znw5ah2c.js → pty-9kzszawf.js} +20 -20
  126. package/dist/chunks/{git-4k4h4j8h.js → pty-9njvccht.js} +4 -4
  127. package/dist/chunks/{git-x9aygtt9.js → pty-9nn8jzqe.js} +10 -10
  128. package/dist/chunks/{git-v0t96s7a.js → pty-9q8g9sv8.js} +4 -4
  129. package/dist/chunks/{git-kvmx4gfp.js → pty-9rqhy0gk.js} +7 -7
  130. package/dist/chunks/{git-jfw03jt9.js → pty-9tqcrzep.js} +3 -3
  131. package/dist/chunks/{git-3ewxmk4s.js → pty-9w05e4yq.js} +11 -11
  132. package/dist/chunks/{git-sp3g7ra2.js → pty-9yd64rvx.js} +8 -8
  133. package/dist/chunks/{git-dkhpjg5z.js → pty-a1bywv3g.js} +11 -11
  134. package/dist/chunks/{git-ggx84v7x.js → pty-a6s57dw6.js} +6 -6
  135. package/dist/chunks/{git-7ms6p5ct.js → pty-a88a05zy.js} +58 -58
  136. package/dist/chunks/{git-49433ye1.js → pty-a8fw8dpm.js} +8 -8
  137. package/dist/chunks/{git-9trbd0dd.js → pty-a9t87r5b.js} +9 -9
  138. package/dist/chunks/{git-611b2d5d.js → pty-abdd1da8.js} +1 -1
  139. package/dist/chunks/{git-2eze3ev9.js → pty-adwjc2gj.js} +9 -9
  140. package/dist/chunks/{git-ayjs7tqn.js → pty-ayjs7tqn.js} +2 -2
  141. package/dist/chunks/{git-b26ddj6h.js → pty-b26ddj6h.js} +4 -4
  142. package/dist/chunks/{git-0m3b16eq.js → pty-b4gxanwm.js} +11 -11
  143. package/dist/chunks/{git-yczr3d9p.js → pty-b54npr3t.js} +154 -154
  144. package/dist/chunks/{git-pekb3kta.js → pty-bb3v7csw.js} +31 -31
  145. package/dist/chunks/{git-s26c8eb5.js → pty-bhfd478d.js} +4 -4
  146. package/dist/chunks/{git-pnvbew7m.js → pty-bkex9085.js} +16 -16
  147. package/dist/chunks/{git-va4hdphv.js → pty-bpby739f.js} +22 -22
  148. package/dist/chunks/{git-r4ra5fvg.js → pty-bss83mh3.js} +6 -6
  149. package/dist/chunks/{git-bstexjd6.js → pty-bstexjd6.js} +1 -1
  150. package/dist/chunks/{git-ezh572rb.js → pty-cbe0rfx5.js} +32 -32
  151. package/dist/chunks/{git-xtevw68n.js → pty-cejnyw8d.js} +13 -13
  152. package/dist/chunks/{git-1mjfhd2z.js → pty-ceq6pwch.js} +6 -6
  153. package/dist/chunks/{git-2pvm1zmp.js → pty-ceqba5fk.js} +6 -6
  154. package/dist/chunks/{git-7ke2z32d.js → pty-cfgfe6qy.js} +6 -6
  155. package/dist/chunks/pty-ckk0m6t8.js +26 -0
  156. package/dist/chunks/{git-tcp6xf8t.js → pty-cvkznf98.js} +14 -14
  157. package/dist/chunks/{git-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
  158. package/dist/chunks/{git-eb8qw4j6.js → pty-cyba7k96.js} +19 -19
  159. package/dist/chunks/{git-5ssd9z4k.js → pty-cype4qj0.js} +8 -8
  160. package/dist/chunks/{git-7862g246.js → pty-d0348f81.js} +22 -22
  161. package/dist/chunks/{git-4a6d9e1s.js → pty-d0aryzzk.js} +3 -3
  162. package/dist/chunks/{git-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
  163. package/dist/chunks/{git-36qg6swj.js → pty-dgr674m3.js} +7 -7
  164. package/dist/chunks/{git-fmz0vg6g.js → pty-dngp1z67.js} +17 -17
  165. package/dist/chunks/{git-zx9gjdah.js → pty-dqshaehc.js} +13 -13
  166. package/dist/chunks/{git-dt77769w.js → pty-dt77769w.js} +1 -1
  167. package/dist/chunks/{git-yhwpy9x1.js → pty-dtcxya6b.js} +138 -138
  168. package/dist/chunks/{git-h9bh2nqk.js → pty-dy9yr7n6.js} +2 -2
  169. package/dist/chunks/{git-wer643hq.js → pty-dztdy51g.js} +3 -3
  170. package/dist/chunks/{git-2dahv1c9.js → pty-e122xtr5.js} +4 -4
  171. package/dist/chunks/{git-e834z07m.js → pty-e834z07m.js} +1 -1
  172. package/dist/chunks/{git-kj8281nx.js → pty-eet2z5pg.js} +4 -4
  173. package/dist/chunks/{git-6gmb6c3p.js → pty-eh10xta4.js} +22 -22
  174. package/dist/chunks/{git-g5ysjf19.js → pty-ehzz4f29.js} +12 -12
  175. package/dist/chunks/{git-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
  176. package/dist/chunks/{git-s8xvt5rk.js → pty-esg4am8y.js} +6 -6
  177. package/dist/chunks/{git-98j9v5dh.js → pty-ewsep2p7.js} +333 -333
  178. package/dist/chunks/{git-1djj0b5c.js → pty-f19t754q.js} +9 -9
  179. package/dist/chunks/{git-h1x2z473.js → pty-f3qa8j51.js} +27 -27
  180. package/dist/chunks/{git-vgrhwy1q.js → pty-f4p513t7.js} +31 -31
  181. package/dist/chunks/{git-9csbj8z0.js → pty-fepdw2rr.js} +5 -5
  182. package/dist/chunks/{git-fffv3p7h.js → pty-fffv3p7h.js} +1 -1
  183. package/dist/chunks/{git-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
  184. package/dist/chunks/{git-rsfbxv4d.js → pty-fjqbmyx6.js} +15 -15
  185. package/dist/chunks/{git-zpzp6d8n.js → pty-fk8gtyjw.js} +4 -4
  186. package/dist/chunks/{git-h9jz8k2w.js → pty-fnswmh6e.js} +37 -37
  187. package/dist/chunks/{git-8v80kk81.js → pty-fr8k9c85.js} +84 -84
  188. package/dist/chunks/{git-vs8t80zk.js → pty-frxkz94v.js} +7 -7
  189. package/dist/chunks/{git-m8zx2yvr.js → pty-fs2dvzz7.js} +3 -3
  190. package/dist/chunks/{git-8wyfgy84.js → pty-fsks4cma.js} +50 -50
  191. package/dist/chunks/{git-394p07bv.js → pty-fwc2svcw.js} +17 -17
  192. package/dist/chunks/{git-41q5jgkh.js → pty-fyb4e8dn.js} +3 -3
  193. package/dist/chunks/{git-4s2fjq3h.js → pty-fym87a9z.js} +9 -9
  194. package/dist/chunks/{git-kk89jyzz.js → pty-fz8d4r01.js} +23 -23
  195. package/dist/chunks/{git-r169pjrs.js → pty-g3jbxykj.js} +6 -6
  196. package/dist/chunks/{git-bybkjpkj.js → pty-g3rnwk3w.js} +22 -22
  197. package/dist/chunks/{git-ye3hegqv.js → pty-g3vstw99.js} +79 -79
  198. package/dist/chunks/{git-9n47qn5z.js → pty-g6c3fb9v.js} +33 -33
  199. package/dist/chunks/{git-scfsrjt6.js → pty-g6dqhxga.js} +19 -19
  200. package/dist/chunks/{git-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
  201. package/dist/chunks/{git-dfsy2zcm.js → pty-gdqab8my.js} +5 -5
  202. package/dist/chunks/{git-x7p75687.js → pty-ge1ywzqw.js} +5 -5
  203. package/dist/chunks/{git-04whjz6n.js → pty-gerka9tj.js} +9 -9
  204. package/dist/chunks/{git-ghrv1g9c.js → pty-ghrv1g9c.js} +1 -1
  205. package/dist/chunks/{git-gxs71cxp.js → pty-gxs71cxp.js} +1 -1
  206. package/dist/chunks/{git-78q90azy.js → pty-gywgbd97.js} +7 -7
  207. package/dist/chunks/{git-7z34tv57.js → pty-h3bhj36x.js} +9 -9
  208. package/dist/chunks/{git-q0yp49a8.js → pty-h7y6kpk3.js} +29 -29
  209. package/dist/chunks/{git-yxvhnmhq.js → pty-haa2gdgc.js} +1 -1
  210. package/dist/chunks/{git-9b3g47fp.js → pty-hbkh6egr.js} +11 -11
  211. package/dist/chunks/{git-rk1rnymw.js → pty-hed8x5pp.js} +4 -4
  212. package/dist/chunks/{git-hgzwgvze.js → pty-hgzwgvze.js} +2 -2
  213. package/dist/chunks/{git-tsz3kxr2.js → pty-hhhpeewf.js} +13 -13
  214. package/dist/chunks/{git-nbkgmrnq.js → pty-hksc1h4c.js} +9 -9
  215. package/dist/chunks/{git-4cbycqt3.js → pty-hvafhk7n.js} +10 -10
  216. package/dist/chunks/{git-pb9ydyhq.js → pty-hxe8y6dz.js} +26 -26
  217. package/dist/chunks/{git-a96kghqz.js → pty-hyhbfk1d.js} +5 -5
  218. package/dist/chunks/{git-nf2d1zh5.js → pty-hzd41w0g.js} +31 -31
  219. package/dist/chunks/{git-00varkfn.js → pty-j76rc6j0.js} +12 -12
  220. package/dist/chunks/{git-j9nxzz3g.js → pty-j9nxzz3g.js} +3 -3
  221. package/dist/chunks/{git-kqnb2wzg.js → pty-jars5984.js} +20 -20
  222. package/dist/chunks/{git-nteew1ty.js → pty-jdtdxccs.js} +16 -16
  223. package/dist/chunks/{git-p0tjaf5p.js → pty-jjv5dbsr.js} +80 -80
  224. package/dist/chunks/{git-kv1m4r0t.js → pty-jk53xk4x.js} +9 -9
  225. package/dist/chunks/{git-jm70asfg.js → pty-jm70asfg.js} +1 -1
  226. package/dist/chunks/{git-61qraad9.js → pty-jv5ccajn.js} +5 -5
  227. package/dist/chunks/{git-azzq76h2.js → pty-jv83zg00.js} +26 -26
  228. package/dist/chunks/{git-r0jctb9s.js → pty-jw43pf4q.js} +2 -2
  229. package/dist/chunks/{git-v758rt9q.js → pty-kg8bz2x9.js} +8 -8
  230. package/dist/chunks/{git-vmqe41cb.js → pty-kj9n5bvh.js} +4 -4
  231. package/dist/chunks/{git-b8ba6mjn.js → pty-kse531ts.js} +6 -6
  232. package/dist/chunks/{git-sjj4ev8f.js → pty-ktgmmb4d.js} +12 -12
  233. package/dist/chunks/{git-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
  234. package/dist/chunks/{git-m1714858.js → pty-m1714858.js} +1 -1
  235. package/dist/chunks/{git-0cty9tzn.js → pty-m47b2bw1.js} +6 -6
  236. package/dist/chunks/{git-gw8qytxn.js → pty-m4stcnjn.js} +30 -30
  237. package/dist/chunks/{git-nyjexfs1.js → pty-m51r4pbd.js} +59 -59
  238. package/dist/chunks/{git-gvr1wrwc.js → pty-m8nksg7b.js} +15 -15
  239. package/dist/chunks/{git-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  240. package/dist/chunks/{git-mb7mbhnz.js → pty-mb7mbhnz.js} +3 -3
  241. package/dist/chunks/{git-f8y715rk.js → pty-mcq5r29y.js} +18 -18
  242. package/dist/chunks/{git-mm06edep.js → pty-mm06edep.js} +1 -1
  243. package/dist/chunks/{git-j41w8xdk.js → pty-mn8fajdh.js} +14 -14
  244. package/dist/chunks/{git-fekv06st.js → pty-n106aawh.js} +32 -32
  245. package/dist/chunks/{git-n320gsn2.js → pty-n320gsn2.js} +1 -1
  246. package/dist/chunks/{git-gtxqc62w.js → pty-nf9c1y2s.js} +18 -18
  247. package/dist/chunks/{git-jxqms9w4.js → pty-npb1cd9b.js} +10 -10
  248. package/dist/chunks/{git-rj7jtxy8.js → pty-nt907s04.js} +3 -3
  249. package/dist/chunks/{git-ykerj1ry.js → pty-nx29rwgw.js} +40 -40
  250. package/dist/chunks/{git-bqzcd44k.js → pty-nxby5gjy.js} +8 -8
  251. package/dist/chunks/{git-p82q7yen.js → pty-p0e36eh4.js} +17 -17
  252. package/dist/chunks/{git-3gv0spa2.js → pty-p76me67c.js} +4 -4
  253. package/dist/chunks/{git-9ycj3fcq.js → pty-pbcbsg1z.js} +12 -12
  254. package/dist/chunks/{git-kq493ejx.js → pty-pg4gvk7m.js} +13 -13
  255. package/dist/chunks/{git-pknna89w.js → pty-pknna89w.js} +1 -1
  256. package/dist/chunks/{git-gr3xza4k.js → pty-pm9a3we5.js} +7 -7
  257. package/dist/chunks/{git-w4vxjk9w.js → pty-ppmfd51v.js} +37 -37
  258. package/dist/chunks/{git-e8m9b6pv.js → pty-psbgffb8.js} +5 -5
  259. package/dist/chunks/{git-vt2d6wap.js → pty-px7qpgcn.js} +4 -4
  260. package/dist/chunks/{git-f9zhf18s.js → pty-pxzaa117.js} +8 -8
  261. package/dist/chunks/{git-6t40r86m.js → pty-q342b858.js} +11 -11
  262. package/dist/chunks/{git-r6z5xtd7.js → pty-q9aerynr.js} +8 -8
  263. package/dist/chunks/{git-0x3y91hs.js → pty-q9n4gdzj.js} +2 -2
  264. package/dist/chunks/{git-60tvtmqn.js → pty-qkv3rem4.js} +10 -10
  265. package/dist/chunks/{git-nh2md1vs.js → pty-qp0z4bg5.js} +8 -8
  266. package/dist/chunks/{git-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
  267. package/dist/chunks/{git-4rbegt9x.js → pty-qte9jbze.js} +24 -24
  268. package/dist/chunks/{git-r7zrbnjn.js → pty-r7zrbnjn.js} +1 -1
  269. package/dist/chunks/{git-fnx943sm.js → pty-rata28ys.js} +4 -4
  270. package/dist/chunks/{git-5pf1s9ew.js → pty-rb71q7y6.js} +40 -40
  271. package/dist/chunks/{git-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
  272. package/dist/chunks/{git-rgc9cx3e.js → pty-rgc9cx3e.js} +2 -2
  273. package/dist/chunks/{git-ec3jn864.js → pty-rgz6n6rx.js} +6 -6
  274. package/dist/chunks/{git-rt5dr6hb.js → pty-rt5dr6hb.js} +1 -1
  275. package/dist/chunks/{git-cvs0tqag.js → pty-rxb1p1s1.js} +7 -7
  276. package/dist/chunks/{git-gwv2mpj6.js → pty-s6edmc55.js} +33 -33
  277. package/dist/chunks/{git-m3m5k6hy.js → pty-s7n17px4.js} +16 -16
  278. package/dist/chunks/{git-sbya78hr.js → pty-sbya78hr.js} +1 -1
  279. package/dist/chunks/{git-g1s7606r.js → pty-scjesttz.js} +10 -10
  280. package/dist/chunks/{git-q9z2tc81.js → pty-sdphcbdy.js} +39 -39
  281. package/dist/chunks/{git-p9605bcp.js → pty-seytm3nm.js} +13 -13
  282. package/dist/chunks/{git-2h7yn6a1.js → pty-skz1c840.js} +4 -4
  283. package/dist/chunks/{git-92y7h8dm.js → pty-sp6fxa1v.js} +3 -3
  284. package/dist/chunks/{git-cr44ae3x.js → pty-sp85y8nd.js} +5 -5
  285. package/dist/chunks/{git-sqjzf8x2.js → pty-sqjzf8x2.js} +1 -1
  286. package/dist/chunks/{git-p7kjdt1b.js → pty-stavab1t.js} +4 -4
  287. package/dist/chunks/{git-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
  288. package/dist/chunks/{git-y1n277rb.js → pty-t48jrnqq.js} +3 -3
  289. package/dist/chunks/{git-jtsrwzj5.js → pty-t8jwajwe.js} +6 -6
  290. package/dist/chunks/{git-tbpn7jtk.js → pty-tbpn7jtk.js} +1 -1
  291. package/dist/chunks/{git-1r07hmxk.js → pty-tbr06ty0.js} +3 -3
  292. package/dist/chunks/{git-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{git-20hs46rx.js → pty-teqb63yc.js} +2 -2
  294. package/dist/chunks/{git-hw621kav.js → pty-tg1vr1qt.js} +8 -8
  295. package/dist/chunks/{git-tr8x705m.js → pty-tr8x705m.js} +1 -1
  296. package/dist/chunks/{git-f4pvszhr.js → pty-trznscfr.js} +14 -14
  297. package/dist/chunks/{git-twssxy5n.js → pty-twssxy5n.js} +2 -2
  298. package/dist/chunks/{git-cshqytk6.js → pty-tww72jes.js} +29 -29
  299. package/dist/chunks/{git-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{git-vveecbvg.js → pty-v3bet1kp.js} +12 -12
  301. package/dist/chunks/{git-mbk8h3wg.js → pty-v7mmdcvx.js} +9 -9
  302. package/dist/chunks/{git-fhagczq0.js → pty-v855rb8b.js} +12 -12
  303. package/dist/chunks/{git-c4zh2v72.js → pty-vengajp4.js} +2 -2
  304. package/dist/chunks/{git-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
  305. package/dist/chunks/{git-hvqp069m.js → pty-vytcc3n6.js} +11 -11
  306. package/dist/chunks/{git-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{git-w687dnns.js → pty-w687dnns.js} +1 -1
  308. package/dist/chunks/{git-4vsk53av.js → pty-w6dd7dqy.js} +19 -19
  309. package/dist/chunks/{git-hh6wnwm8.js → pty-w6jv0akn.js} +5 -5
  310. package/dist/chunks/{git-j3kswyhf.js → pty-w79yem6f.js} +6 -6
  311. package/dist/chunks/{git-gnkmn8c6.js → pty-w9mgb9cs.js} +1 -1
  312. package/dist/chunks/{git-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{git-wd87259q.js → pty-wd87259q.js} +1 -1
  314. package/dist/chunks/{git-wegkxhrn.js → pty-wegkxhrn.js} +2 -2
  315. package/dist/chunks/{git-qsdghx1p.js → pty-wfdx5ztx.js} +4 -4
  316. package/dist/chunks/{git-wt99tj4q.js → pty-wt99tj4q.js} +2 -2
  317. package/dist/chunks/{git-nyxvvj5y.js → pty-wvr8xscb.js} +4 -4
  318. package/dist/chunks/{git-8kpj8dgw.js → pty-wxdqhy8h.js} +41 -41
  319. package/dist/chunks/{git-9zxzvr8s.js → pty-x29g231t.js} +26 -26
  320. package/dist/chunks/{git-4csvnawe.js → pty-x6nv49v7.js} +12 -12
  321. package/dist/chunks/{git-x95n2smq.js → pty-x6ys3mke.js} +19 -19
  322. package/dist/chunks/{git-hkaenk79.js → pty-xa8p5b4w.js} +9 -9
  323. package/dist/chunks/{git-x9g5m248.js → pty-xbvcmb25.js} +11 -11
  324. package/dist/chunks/{git-abgnc9fg.js → pty-xm0ds19w.js} +10 -10
  325. package/dist/chunks/{git-c019f3c1.js → pty-xr467vmq.js} +34 -34
  326. package/dist/chunks/{git-0q8f2k41.js → pty-xrayn4mq.js} +12 -12
  327. package/dist/chunks/{git-fregt7rm.js → pty-xw67e2bj.js} +5 -5
  328. package/dist/chunks/{git-2g9wma4e.js → pty-xwat37db.js} +36 -36
  329. package/dist/chunks/{git-zy7phst8.js → pty-xxp4v5x7.js} +9 -9
  330. package/dist/chunks/{git-vk5ee1tp.js → pty-xxs4k7t5.js} +10 -10
  331. package/dist/chunks/{git-xxschbft.js → pty-xxschbft.js} +1 -1
  332. package/dist/chunks/{git-kzva7xr5.js → pty-y2nftq3q.js} +21 -21
  333. package/dist/chunks/pty-y32xxt00.js +16 -0
  334. package/dist/chunks/{git-jw32pn92.js → pty-y3553xwh.js} +10 -10
  335. package/dist/chunks/{git-frv9eft2.js → pty-y4fhefma.js} +31 -31
  336. package/dist/chunks/{git-1d9m9zxv.js → pty-y8hmd71w.js} +28 -28
  337. package/dist/chunks/{git-ntzzxe9p.js → pty-y9jn183w.js} +5 -5
  338. package/dist/chunks/{git-g4sh17b8.js → pty-yav2mz9j.js} +39 -39
  339. package/dist/chunks/{git-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
  340. package/dist/chunks/{git-20sbf82m.js → pty-ygrf3vfw.js} +3 -3
  341. package/dist/chunks/{git-jp5e8g4e.js → pty-yqvbvejr.js} +22 -22
  342. package/dist/chunks/{git-yr705xyq.js → pty-yr705xyq.js} +1 -1
  343. package/dist/chunks/{git-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
  344. package/dist/chunks/{git-4y1dkp2x.js → pty-yz34gs5w.js} +11 -11
  345. package/dist/chunks/{git-md69vhb1.js → pty-zfst2eag.js} +18 -18
  346. package/dist/chunks/{git-zpdbqgja.js → pty-zpdbqgja.js} +1 -1
  347. package/dist/chunks/{git-1ecdfnj3.js → pty-ztbk0tnv.js} +4 -4
  348. package/dist/chunks/{git-bwrw929x.js → pty-zwdqw3m7.js} +6 -6
  349. package/dist/chunks/{git-tq5mrxsw.js → pty-zyqshqmw.js} +4 -4
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +5 -5
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +5 -5
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +94 -94
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +3 -3
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +154 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +132 -132
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +135 -135
  386. package/dist/console-access.js +7 -7
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +84 -84
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +77 -77
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +98 -98
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +101 -101
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +105 -105
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +81 -81
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +88 -88
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +253 -253
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +118 -118
  503. package/dist/flag.js +127 -127
  504. package/dist/form.js +81 -81
  505. package/dist/formatter/builtins.js +4 -4
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +118 -118
  508. package/dist/git.js +7 -7
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +1 -1
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +93 -93
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +1 -1
  538. package/dist/integration/connection.js +1 -1
  539. package/dist/integration.js +88 -88
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +88 -88
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +94 -94
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +126 -126
  555. package/dist/mcp/instructions.js +189 -189
  556. package/dist/mcp/oauth.js +86 -86
  557. package/dist/mcp/pool.js +112 -112
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +103 -103
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +115 -115
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +91 -91
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +154 -154
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +101 -101
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +3 -3
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +407 -407
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +129 -129
  587. package/dist/plugin/optimize.js +4 -4
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +131 -131
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +110 -110
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  614. package/dist/plugin/provider/claude-agent/session.js +114 -114
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +135 -135
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +85 -85
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +150 -150
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +417 -417
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +128 -128
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +2 -2
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +1 -1
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +255 -255
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +2 -2
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +93 -93
  681. package/dist/provider.js +102 -102
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +113 -113
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +91 -91
  688. package/dist/repository.js +1 -1
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +111 -111
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +263 -263
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +1 -1
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +175 -175
  701. package/dist/session/context.js +205 -205
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +247 -247
  707. package/dist/session/execution.js +171 -171
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +148 -148
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +144 -144
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +171 -171
  720. package/dist/session/projector.js +146 -146
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +3 -3
  725. package/dist/session/runner/index.js +3 -3
  726. package/dist/session/runner/llm.js +258 -258
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +5 -5
  731. package/dist/session/runner/step.js +166 -166
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +3 -3
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +85 -85
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +1 -1
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +3 -3
  744. package/dist/session/title.js +209 -209
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +242 -242
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +239 -239
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +11 -11
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +152 -152
  757. package/dist/skill.js +161 -161
  758. package/dist/snapshot.js +106 -106
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +186 -186
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +170 -170
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +172 -172
  767. package/dist/tool/plugin/grep.js +173 -173
  768. package/dist/tool/plugin/image-generate.js +243 -243
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +169 -169
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +241 -241
  776. package/dist/tool/plugin/skill.js +156 -156
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +154 -154
  779. package/dist/tool/plugin/webfetch.js +158 -158
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +171 -171
  782. package/dist/tool/read-filesystem.js +116 -116
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +163 -163
  787. package/dist/usage-limits.js +100 -100
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +7 -7
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +3 -3
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +4 -4
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +99 -99
  807. package/dist/websearch.js +101 -101
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +92 -92
  810. package/dist/workspace/driver.js +3 -3
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +89 -89
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +11 -11
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +109 -109
  818. package/package.json +8 -8
  819. package/dist/chunks/git-a4h8tact.js +0 -16
  820. package/dist/chunks/git-fcwwbh22.js +0 -26
  821. package/dist/chunks/git-vdh3rgac.js +0 -18
  822. /package/dist/chunks/{git-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{git-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{git-108x4f4w.js → pty-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{git-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{git-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{git-1kah00gy.js → pty-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{git-24dcb14g.js → pty-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{git-2710q6r3.js → pty-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{git-2bv980vf.js → pty-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{git-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{git-359p4xyc.js → pty-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{git-3af0jn4w.js → pty-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{git-3asan66x.js → pty-3asan66x.js} +0 -0
  835. /package/dist/chunks/{git-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{git-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{git-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{git-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{git-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{git-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{git-53557ph1.js → pty-53557ph1.js} +0 -0
  842. /package/dist/chunks/{git-550bvhaj.js → pty-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{git-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{git-6agm2x70.js → pty-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{git-6prwharc.js → pty-6prwharc.js} +0 -0
  846. /package/dist/chunks/{git-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{git-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{git-7m9af43g.js → pty-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{git-822emrt2.js → pty-822emrt2.js} +0 -0
  850. /package/dist/chunks/{git-84wd9syh.js → pty-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{git-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{git-8n3pysct.js → pty-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{git-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{git-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{git-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{git-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{git-af5trqkr.js → pty-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{git-afrmfg78.js → pty-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{git-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{git-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{git-beh6qq61.js → pty-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{git-bhmrqjy3.js → pty-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{git-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{git-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{git-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{git-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{git-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{git-d9fn303g.js → pty-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{git-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{git-dap0rakb.js → pty-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{git-df08tz66.js → pty-df08tz66.js} +0 -0
  872. /package/dist/chunks/{git-dy18nga0.js → pty-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{git-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{git-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{git-ec1grn59.js → pty-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{git-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{git-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{git-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{git-faypxj3z.js → pty-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{git-fd410y7t.js → pty-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{git-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{git-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{git-g86h250q.js → pty-g86h250q.js} +0 -0
  884. /package/dist/chunks/{git-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{git-gftt206x.js → pty-gftt206x.js} +0 -0
  886. /package/dist/chunks/{git-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{git-hk9envan.js → pty-hk9envan.js} +0 -0
  888. /package/dist/chunks/{git-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{git-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{git-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{git-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{git-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{git-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{git-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{git-m18g726c.js → pty-m18g726c.js} +0 -0
  896. /package/dist/chunks/{git-mp448xyj.js → pty-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{git-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{git-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{git-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{git-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{git-njntx4h6.js → pty-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{git-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{git-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{git-q74kybfr.js → pty-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{git-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{git-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{git-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{git-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{git-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{git-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{git-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{git-syrav9an.js → pty-syrav9an.js} +0 -0
  913. /package/dist/chunks/{git-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{git-ty7weeps.js → pty-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{git-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{git-vtarvj67.js → pty-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{git-w803qqfp.js → pty-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{git-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{git-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{git-wtztk69x.js → pty-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{git-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{git-x4th4bpe.js → pty-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{git-x61499pn.js → pty-x61499pn.js} +0 -0
  924. /package/dist/chunks/{git-y44na4kk.js → pty-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{git-y8f7s663.js → pty-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{git-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{git-z0h12gs8.js → pty-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{git-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{git-z9919s4g.js → pty-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{git-zxpyjp51.js → pty-zxpyjp51.js} +0 -0
@@ -1,68 +1,68 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-5whx36p1.js";
3
+ } from "./pty-8cg7mtm3.js";
4
4
  import {
5
5
  Service91,
6
6
  node95
7
- } from "./git-fjydg50v.js";
7
+ } from "./pty-3bzhzpnf.js";
8
8
  import {
9
9
  Event20,
10
10
  Service87,
11
11
  node91
12
- } from "./git-3zz32vjr.js";
12
+ } from "./pty-96n9kpwt.js";
13
13
  import {
14
14
  Service88,
15
15
  node92
16
- } from "./git-0x3y91hs.js";
16
+ } from "./pty-q9n4gdzj.js";
17
17
  import {
18
18
  Service77,
19
19
  node80
20
- } from "./git-qaytk5qx.js";
20
+ } from "./pty-2ss5f5ss.js";
21
21
  import {
22
22
  ID19,
23
23
  Service86,
24
24
  node90
25
- } from "./git-pcyqp9fj.js";
25
+ } from "./pty-2kkn5h22.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./git-40y6dtc2.js";
29
+ } from "./pty-40y6dtc2.js";
30
30
  import {
31
31
  ID18,
32
32
  MethodID2,
33
33
  Service85,
34
34
  node89
35
- } from "./git-9j9dggvf.js";
35
+ } from "./pty-3p62j0nb.js";
36
36
  import {
37
- make25
38
- } from "./git-j3kswyhf.js";
37
+ make26
38
+ } from "./pty-w79yem6f.js";
39
39
  import {
40
- Service35,
40
+ Service40,
41
41
  key2,
42
- node38
43
- } from "./git-cqa12jg5.js";
42
+ node44
43
+ } from "./pty-8j47f66f.js";
44
44
  import {
45
45
  __export
46
- } from "./git-9rqn6x4v.js";
46
+ } from "./pty-9rqn6x4v.js";
47
47
 
48
48
  // src/mcp/index.ts
49
49
  var exports_mcp4 = {};
50
50
  __export(exports_mcp4, {
51
51
  Mcp: () => exports_mcp4,
52
- NotFoundError: () => NotFoundError5,
53
- Options: () => Options3,
52
+ NotFoundError: () => NotFoundError6,
53
+ Options: () => Options5,
54
54
  PromptsChanged: () => PromptsChanged2,
55
55
  Resource: () => Resource2,
56
56
  ResourceCatalog: () => ResourceCatalog2,
57
57
  ResourceContent: () => ResourceContent2,
58
58
  ResourceTemplate: () => ResourceTemplate2,
59
59
  ServerName: () => ServerName2,
60
- Service: () => Service34,
60
+ Service: () => Service39,
61
61
  Status: () => Status3,
62
62
  ToolCallError: () => ToolCallError2,
63
- configured: () => configured3,
64
- layer: () => layer15,
65
- node: () => node37
63
+ configured: () => configured5,
64
+ layer: () => layer16,
65
+ node: () => node43
66
66
  });
67
67
  import { Mcp } from "@opencode/schema/mcp";
68
68
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
95
95
  var ResourceCatalog2 = Mcp.ResourceCatalog;
96
96
  var ResourceContent2 = Mcp.ResourceContent;
97
97
 
98
- class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
98
+ class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
99
99
  server: ServerName2
100
100
  }) {
101
101
  get message() {
@@ -128,15 +128,15 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
128
128
  var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
129
129
  var cloneConfig = (config) => structuredClone(config);
130
130
 
131
- class Service34 extends Context.Service()("@opencode/MCP") {
131
+ class Service39 extends Context.Service()("@opencode/MCP") {
132
132
  }
133
- var Options3 = Schema.Struct({
133
+ var Options5 = Schema.Struct({
134
134
  clientInfo: Schema.optional(Schema.Struct({
135
135
  name: Schema.String,
136
136
  version: Schema.String
137
137
  }))
138
138
  });
139
- var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
139
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
140
140
  const location = yield* Service88;
141
141
  const environment = yield* Service77;
142
142
  const bus = yield* Service91;
@@ -144,7 +144,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
144
144
  const integration = yield* Service85;
145
145
  const credentials = yield* Service87;
146
146
  const fetch = yield* FetchHttpClient.Fetch;
147
- const pool = yield* Service35;
147
+ const pool = yield* Service40;
148
148
  const root = yield* Effect.scope;
149
149
  const fork = yield* FiberSet.makeRuntime();
150
150
  const servers = yield* Scope.fork(root, "parallel");
@@ -183,7 +183,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
183
183
  const requireServer = Effect.fnUntraced(function* (name) {
184
184
  const entry = entries.get(name);
185
185
  if (!entry)
186
- return yield* new NotFoundError5({ server: name });
186
+ return yield* new NotFoundError6({ server: name });
187
187
  return entry;
188
188
  });
189
189
  const connected = Effect.fnUntraced(function* (name) {
@@ -270,7 +270,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
270
270
  status: { status: "pending" },
271
271
  startup: Latch.makeUnsafe(),
272
272
  attempt: { started, settled: Latch.makeUnsafe() },
273
- connection: (pooled ? share : make25)({
273
+ connection: (pooled ? share : make26)({
274
274
  name,
275
275
  config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
276
276
  directory: location.directory,
@@ -511,7 +511,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
511
511
  }),
512
512
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
513
513
  });
514
- return Service34.of({
514
+ return Service39.of({
515
515
  transform: state.transform,
516
516
  reload: state.reload,
517
517
  servers: Effect.fn("MCP.servers")(function* () {
@@ -644,10 +644,10 @@ function mergeCatalogs(catalogs) {
644
644
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
645
645
  });
646
646
  }
647
- function configured3(options) {
647
+ function configured5(options) {
648
648
  return makeLocationNode({
649
- service: Service34,
650
- layer: layer15(options),
649
+ service: Service39,
650
+ layer: layer16(options),
651
651
  deps: [
652
652
  node92,
653
653
  node80,
@@ -656,11 +656,11 @@ function configured3(options) {
656
656
  node89,
657
657
  node91,
658
658
  httpFetch,
659
- node38
659
+ node44
660
660
  ]
661
661
  });
662
662
  }
663
- var node37 = configured3();
663
+ var node43 = configured5();
664
664
  function toElicitationField(key, property, required) {
665
665
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
666
666
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -711,4 +711,4 @@ function toElicitationField(key, property, required) {
711
711
  }
712
712
  }
713
713
 
714
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service34, Options3, layer15, configured3, node37, exports_mcp4 };
714
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service39, Options5, layer16, configured5, node43, exports_mcp4 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-60tvtmqn.js";
3
+ } from "./pty-qkv3rem4.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./git-3zz32vjr.js";
6
+ } from "./pty-96n9kpwt.js";
7
7
  import {
8
8
  key3
9
- } from "./git-n320gsn2.js";
9
+ } from "./pty-n320gsn2.js";
10
10
  import {
11
11
  ID18,
12
12
  MethodID2
13
- } from "./git-9j9dggvf.js";
13
+ } from "./pty-3p62j0nb.js";
14
14
  import {
15
15
  ID17
16
- } from "./git-r4ra5fvg.js";
16
+ } from "./pty-bss83mh3.js";
17
17
  import {
18
18
  ID16,
19
19
  Family2
20
- } from "./git-hh6wnwm8.js";
20
+ } from "./pty-w6jv0akn.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./git-yb20nhc3.js";
23
+ } from "./pty-yb20nhc3.js";
24
24
  import {
25
- Service36
26
- } from "./git-v758rt9q.js";
25
+ Service43
26
+ } from "./pty-kg8bz2x9.js";
27
27
  import {
28
28
  start3
29
- } from "./git-53yc0731.js";
29
+ } from "./pty-8mz1epvh.js";
30
30
  import {
31
31
  activeCredential2
32
- } from "./git-c4zh2v72.js";
32
+ } from "./pty-vengajp4.js";
33
33
 
34
34
  // src/plugin/provider/digitalocean.ts
35
35
  import { define } from "@opencode/plugin/effect/plugin";
@@ -124,7 +124,7 @@ var oauth = {
124
124
  var DigitalOceanPlugin2 = define({
125
125
  id: "opencode.provider.digitalocean",
126
126
  effect: Effect.fn(function* (ctx) {
127
- const cache = yield* Service36;
127
+ const cache = yield* Service43;
128
128
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
129
129
  const discovered = yield* start3({
130
130
  integrationID,
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./git-yxvhnmhq.js";
5
+ } from "./pty-haa2gdgc.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make34,
9
+ make35,
10
10
  makeWithDefaults2
11
- } from "./git-r169pjrs.js";
11
+ } from "./pty-g3jbxykj.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make34,
25
+ make: () => make35,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./git-z0h12gs8.js";
3
+ } from "./pty-z0h12gs8.js";
4
4
  import {
5
5
  Ref3,
6
6
  Service83
7
- } from "./git-hh6wnwm8.js";
7
+ } from "./pty-w6jv0akn.js";
8
8
  import {
9
- Service79
10
- } from "./git-g4sh17b8.js";
9
+ Service66
10
+ } from "./pty-yav2mz9j.js";
11
11
  import {
12
12
  observe2
13
- } from "./git-mm06edep.js";
13
+ } from "./pty-mm06edep.js";
14
14
  import {
15
15
  Service77
16
- } from "./git-qaytk5qx.js";
16
+ } from "./pty-2ss5f5ss.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./git-gftt206x.js";
19
+ } from "./pty-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service67
23
- } from "./git-h9jz8k2w.js";
22
+ Service62
23
+ } from "./pty-fnswmh6e.js";
24
24
  import {
25
- Service49
26
- } from "./git-4vsk53av.js";
25
+ Service25
26
+ } from "./pty-w6dd7dqy.js";
27
27
  import {
28
- Service38
29
- } from "./git-5z0ewh0k.js";
28
+ Service80
29
+ } from "./pty-2eh0f1sg.js";
30
30
  import {
31
31
  text3
32
- } from "./git-25h84942.js";
32
+ } from "./pty-25h84942.js";
33
33
  import {
34
- Service64
35
- } from "./git-tsz3kxr2.js";
34
+ Service52
35
+ } from "./pty-hhhpeewf.js";
36
36
  import {
37
37
  detect2
38
- } from "./git-4pyp9zr9.js";
38
+ } from "./pty-4pyp9zr9.js";
39
39
  import {
40
- Service19
41
- } from "./git-8v80kk81.js";
40
+ Service27
41
+ } from "./pty-fr8k9c85.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./git-3v8g72cx.js";
44
+ } from "./pty-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./git-9rqn6x4v.js";
47
+ } from "./pty-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
@@ -52,10 +52,10 @@ __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
53
  Input: () => Input9,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output6,
56
- Plugin: () => Plugin47,
55
+ Output: () => Output7,
56
+ Plugin: () => Plugin44,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description5,
58
+ description: () => description4,
59
59
  name: () => name9
60
60
  });
61
61
  import path from "path";
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description5 = [
78
+ var description4 = [
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.",
@@ -98,25 +98,25 @@ var Input9 = 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 Output6 = 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 Plugin47 = {
106
+ var Plugin44 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service49;
109
+ const access = yield* Service25;
110
110
  const environment = yield* Service77;
111
- const generate = yield* Service38;
111
+ const generate = yield* Service80;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
- const config = yield* Service79;
115
- const jobs = yield* Service64;
114
+ const config = yield* Service66;
115
+ const jobs = yield* Service52;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service19;
117
+ const sessions = yield* Service27;
118
118
  const models = yield* Service83;
119
- const permission = yield* Service67;
119
+ const permission = yield* Service62;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -222,9 +222,9 @@ var Plugin47 = {
222
222
  editor.add({
223
223
  name: name9,
224
224
  options: { codemode: false },
225
- description: description5,
225
+ description: description4,
226
226
  input: Input9,
227
- output: Output6,
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;
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name9, MAX_INPUT_BYTES2, description5, Input9, Output6, Plugin47, defaultModel2, exports_image_generate };
329
+ export { name9, MAX_INPUT_BYTES2, description4, Input9, Output7, Plugin44, defaultModel2, exports_image_generate };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  HEADER2,
3
3
  FORK_HEADER2
4
- } from "./git-yr705xyq.js";
4
+ } from "./pty-yr705xyq.js";
5
5
  import {
6
6
  ID3
7
- } from "./git-p7kjdt1b.js";
7
+ } from "./pty-stavab1t.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/session.ts
13
- var exports_session = {};
14
- __export(exports_session, {
15
- ClaudeSessionHooks: () => exports_session,
16
- register: () => register6
13
+ var exports_session2 = {};
14
+ __export(exports_session2, {
15
+ ClaudeSessionHooks: () => exports_session2,
16
+ register: () => register7
17
17
  });
18
18
  import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
19
19
  import { Effect, Schema } from "effect";
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
28
28
  };
29
29
  return { ...part, providerMetadata: { ...part.providerMetadata, [ID3]: flags } };
30
30
  };
31
- var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
31
+ var register7 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
32
32
  yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
33
33
  event.headers[HEADER2] = event.kind;
34
34
  if (event.kind !== "primary")
@@ -53,4 +53,4 @@ var register6 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
53
53
  }), { providerID: ID3 });
54
54
  });
55
55
 
56
- export { register6, exports_session };
56
+ export { register7, exports_session2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service88,
3
3
  node92
4
- } from "./git-0x3y91hs.js";
4
+ } from "./pty-q9n4gdzj.js";
5
5
  import {
6
6
  Key3,
7
7
  make30,
8
8
  combine2
9
- } from "./git-r7zrbnjn.js";
9
+ } from "./pty-r7zrbnjn.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service22,
19
- node: () => node25
18
+ Service: () => Service31,
19
+ node: () => node34
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service22 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service22, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service88;
29
- return Service22.of({
29
+ return Service31.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make30({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node25 = makeLocationNode({ service: Service22, layer, deps: [Global.node, node92] });
63
+ var node34 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node92] });
64
64
 
65
- export { Service22, node25, exports_builtins };
65
+ export { Service31, node34, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/websearch/provider.ts
6
6
  var exports_provider = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  server2,
3
3
  headers2
4
- } from "./git-f9zhf18s.js";
4
+ } from "./pty-pxzaa117.js";
5
5
  import {
6
6
  ID18,
7
7
  Service85,
8
8
  node89
9
- } from "./git-9j9dggvf.js";
9
+ } from "./pty-3p62j0nb.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/usage-limits.ts
15
15
  var exports_usage_limits = {};
16
16
  __export(exports_usage_limits, {
17
- Info: () => Info17,
18
- Service: () => Service75,
19
- UnavailableError: () => UnavailableError5,
17
+ Info: () => Info3,
18
+ Service: () => Service17,
19
+ UnavailableError: () => UnavailableError2,
20
20
  UsageLimits: () => exports_usage_limits,
21
- layer: () => layer25,
22
- node: () => node77
21
+ layer: () => layer10,
22
+ node: () => node19
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
25
  import { Money } from "@opencode/schema/money";
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { httpClient } from "@opencode/util/effect/app-node-platform";
30
30
  import { Context, Duration, Effect, Layer, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
- var Info17 = UsageLimits.Info;
32
+ var Info3 = UsageLimits.Info;
33
33
 
34
- class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
35
35
  message: Schema.String
36
36
  }) {
37
37
  }
38
38
 
39
- class Service75 extends Context.Service()("@opencode/UsageLimits") {
39
+ class Service17 extends Context.Service()("@opencode/UsageLimits") {
40
40
  }
41
- var layer25 = Layer.effect(Service75, Effect.gen(function* () {
41
+ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
42
42
  const integrations = yield* Service85;
43
43
  const http = yield* HttpClient.HttpClient;
44
44
  const get = Effect.fn("UsageLimits.get")(function* () {
45
45
  const connection = yield* integrations.connection.active(ID18.make("opencode"));
46
46
  if (!connection)
47
47
  return;
48
- const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
48
+ const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
49
49
  if (!credential || credential.type === "external")
50
50
  return;
51
51
  const workspaceID = credential.metadata?.orgID;
@@ -54,7 +54,7 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const server = server2(credential);
55
55
  const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
56
56
  duration: Duration.seconds(15),
57
- orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
57
+ orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
58
58
  }));
59
59
  return {
60
60
  workspace: {
@@ -66,11 +66,11 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
66
66
  budgets
67
67
  };
68
68
  });
69
- return Service75.of({ get });
69
+ return Service17.of({ get });
70
70
  }));
71
- var node77 = makeLocationNode({
72
- service: Service75,
73
- layer: layer25,
71
+ var node19 = makeLocationNode({
72
+ service: Service17,
73
+ layer: layer10,
74
74
  deps: [node89, httpClient]
75
75
  });
76
76
  var ConsoleBudget = Schema.Struct({
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
117
117
  picked: budget.picked,
118
118
  shared: budget.shared,
119
119
  resetsAt: budget.resetsAt.getTime()
120
- }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
120
+ }))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
121
121
  }
122
122
  function readGo(http, server, credential, workspaceID) {
123
123
  return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
124
124
  rolling: meter(body.usage.rolling),
125
125
  weekly: meter(body.usage.weekly),
126
126
  monthly: meter(body.usage.monthly)
127
- })))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
127
+ })))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
128
128
  }
129
129
  function meter(value) {
130
130
  return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
131
131
  }
132
132
 
133
- export { Info17, UnavailableError5, Service75, layer25, node77, exports_usage_limits };
133
+ export { Info3, UnavailableError2, Service17, layer10, node19, exports_usage_limits };
@@ -0,0 +1,16 @@
1
+ import {
2
+ __export
3
+ } from "./pty-9rqn6x4v.js";
4
+
5
+ // src/codemode/execution.ts
6
+ var exports_execution2 = {};
7
+ __export(exports_execution2, {
8
+ CodeModeExecution: () => exports_execution2,
9
+ Service: () => Service56
10
+ });
11
+ import { Context } from "effect";
12
+
13
+ class Service56 extends Context.Service()("@opencode/CodeModeExecution") {
14
+ }
15
+
16
+ export { Service56, exports_execution2 };