@opencode/core 0.0.0-dev-463 → 0.0.0-dev-465

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 (911) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +230 -230
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{kv-dtfyv3zf.js → shell-00emjtgf.js} +8 -8
  9. package/dist/chunks/{kv-kmt137a9.js → shell-00mm7sz0.js} +36 -36
  10. package/dist/chunks/{kv-ec8knycs.js → shell-01cqz7aj.js} +53 -53
  11. package/dist/chunks/{kv-034tev2y.js → shell-034tev2y.js} +2 -2
  12. package/dist/chunks/{kv-dzdv2v3g.js → shell-040p24pd.js} +28 -28
  13. package/dist/chunks/{kv-sqjzf8x2.js → shell-0j7gp832.js} +4 -4
  14. package/dist/chunks/{kv-dxaxk2g7.js → shell-0k4enc1e.js} +8 -8
  15. package/dist/chunks/{kv-k6zcr3d2.js → shell-0kp0wh9k.js} +6 -6
  16. package/dist/chunks/{kv-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{kv-qyqeq8hj.js → shell-0qk5pe9a.js} +17 -17
  18. package/dist/chunks/{kv-jcnrevj0.js → shell-0rfpy0ry.js} +4 -4
  19. package/dist/chunks/{kv-gb8aby5e.js → shell-130fytvk.js} +2 -2
  20. package/dist/chunks/{kv-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{kv-m2y5pdyn.js → shell-1b374rvg.js} +1 -1
  22. package/dist/chunks/{kv-xja4t88y.js → shell-1d0ke3en.js} +17 -17
  23. package/dist/chunks/{kv-e7fgtdd1.js → shell-1e0m81t0.js} +25 -25
  24. package/dist/chunks/{kv-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{kv-777xa7tn.js → shell-1jwmcgkd.js} +354 -354
  26. package/dist/chunks/{kv-0a9xft0q.js → shell-1kabyqnj.js} +10 -10
  27. package/dist/chunks/{kv-1eq5t2j4.js → shell-1ksh4fnr.js} +27 -27
  28. package/dist/chunks/{kv-v83sfb1v.js → shell-1p9ch0x1.js} +13 -13
  29. package/dist/chunks/{kv-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
  30. package/dist/chunks/{kv-5yec2skm.js → shell-1zjhez7w.js} +13 -13
  31. package/dist/chunks/{kv-qfz6bxfd.js → shell-20pht57w.js} +4 -4
  32. package/dist/chunks/{kv-wgysxxvx.js → shell-23es92k5.js} +17 -17
  33. package/dist/chunks/{kv-dj38w6kp.js → shell-23gzzjhj.js} +23 -23
  34. package/dist/chunks/{kv-42hr4xkg.js → shell-2474mxpw.js} +5 -5
  35. package/dist/chunks/{kv-7hzed13s.js → shell-27am0nxs.js} +2 -2
  36. package/dist/chunks/{kv-wdb2v9zb.js → shell-27ss26ee.js} +50 -50
  37. package/dist/chunks/{kv-tasnwepa.js → shell-2bsm227b.js} +9 -9
  38. package/dist/chunks/{kv-6edbc7zm.js → shell-2bswbpgz.js} +5 -5
  39. package/dist/chunks/{kv-waagszdr.js → shell-2jke7tr0.js} +11 -11
  40. package/dist/chunks/{kv-g4v74gy6.js → shell-2kedh6bd.js} +8 -8
  41. package/dist/chunks/{kv-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
  42. package/dist/chunks/{kv-348g6vdz.js → shell-2veb62my.js} +11 -11
  43. package/dist/chunks/{kv-gk794f74.js → shell-2vvqd5b2.js} +21 -21
  44. package/dist/chunks/{kv-5zpqhmp2.js → shell-319wad08.js} +3 -3
  45. package/dist/chunks/{kv-papqe6bk.js → shell-347g12m8.js} +16 -16
  46. package/dist/chunks/{kv-6yt8xnmb.js → shell-35csqt1p.js} +2 -2
  47. package/dist/chunks/{kv-091867k5.js → shell-3b69gpgy.js} +36 -36
  48. package/dist/chunks/{kv-rzdbmr93.js → shell-3cxqzb3v.js} +21 -21
  49. package/dist/chunks/{kv-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{kv-tmc7xdjs.js → shell-3nnrz6f6.js} +4 -4
  51. package/dist/chunks/{kv-7xvv661f.js → shell-3swyf5ws.js} +9 -9
  52. package/dist/chunks/{kv-cdvaxqet.js → shell-3syq9mvg.js} +19 -19
  53. package/dist/chunks/{kv-104sxbv1.js → shell-3xzdqkgk.js} +6 -6
  54. package/dist/chunks/{kv-4k56bh2d.js → shell-3z256ehv.js} +27 -27
  55. package/dist/chunks/{kv-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{kv-c32zfq3f.js → shell-417c9c9v.js} +8 -8
  57. package/dist/chunks/{kv-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
  58. package/dist/chunks/{kv-ejfdeeeq.js → shell-48ehpby2.js} +15 -15
  59. package/dist/chunks/{kv-4d2dtj2f.js → shell-4d2dtj2f.js} +1 -1
  60. package/dist/chunks/{kv-tmstahpq.js → shell-4dvkb29z.js} +28 -28
  61. package/dist/chunks/{kv-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{kv-f8av0dr9.js → shell-4ez7xsyp.js} +4 -4
  63. package/dist/chunks/{kv-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
  64. package/dist/chunks/{kv-vrqf57jv.js → shell-4fe1n7tb.js} +3 -3
  65. package/dist/chunks/{kv-g1af2rwn.js → shell-4mjnw62p.js} +4 -4
  66. package/dist/chunks/{kv-jvmsr7ys.js → shell-4p3w35h1.js} +5 -5
  67. package/dist/chunks/{kv-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{kv-jebxhqhc.js → shell-4rp3htw6.js} +18 -18
  69. package/dist/chunks/{kv-qhpc418q.js → shell-4shxa28k.js} +5 -5
  70. package/dist/chunks/{kv-4v008n1t.js → shell-4v008n1t.js} +1 -1
  71. package/dist/chunks/{kv-x1sfbxtm.js → shell-545zmj2x.js} +7 -7
  72. package/dist/chunks/{kv-bmqcdv79.js → shell-59bwar9d.js} +49 -49
  73. package/dist/chunks/{kv-q7a2bk82.js → shell-5ddrpwk6.js} +16 -16
  74. package/dist/chunks/{kv-6e7p6np7.js → shell-5g4wyt45.js} +37 -37
  75. package/dist/chunks/{kv-4y8qzd8z.js → shell-5jm7ma5d.js} +8 -8
  76. package/dist/chunks/shell-5k2qf3dt.js +261 -0
  77. package/dist/chunks/{kv-w81j1vy6.js → shell-5m3xrn1j.js} +9 -9
  78. package/dist/chunks/{kv-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
  79. package/dist/chunks/{kv-vmxsyvj6.js → shell-5n0rnk8e.js} +4 -4
  80. package/dist/chunks/{kv-yvky2s0p.js → shell-5qygesq2.js} +11 -11
  81. package/dist/chunks/{kv-7wkb27ph.js → shell-5v64kr5e.js} +21 -21
  82. package/dist/chunks/{kv-v95nzwvv.js → shell-5w0meyw9.js} +11 -11
  83. package/dist/chunks/{kv-j6fnsbvp.js → shell-65f73r4q.js} +17 -17
  84. package/dist/chunks/{kv-ewa1ec51.js → shell-6d0d1q6g.js} +4 -4
  85. package/dist/chunks/{kv-b20v0sad.js → shell-6d36eb51.js} +13 -13
  86. package/dist/chunks/{kv-cwq43bx0.js → shell-6h12g5bh.js} +15 -15
  87. package/dist/chunks/{kv-x0r3a1xk.js → shell-71qggcd8.js} +19 -19
  88. package/dist/chunks/{kv-cgkv6xhk.js → shell-7421h3wj.js} +5 -5
  89. package/dist/chunks/{kv-76cb1hcw.js → shell-76cb1hcw.js} +1 -1
  90. package/dist/chunks/{kv-w3c3s7r0.js → shell-77t0c3mg.js} +18 -18
  91. package/dist/chunks/{kv-nyxvvj5y.js → shell-79k544d0.js} +5 -5
  92. package/dist/chunks/{kv-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{kv-x150ncgg.js → shell-7h7tvtg0.js} +2 -2
  94. package/dist/chunks/{kv-f45yfwcj.js → shell-7jry1hfe.js} +20 -20
  95. package/dist/chunks/{kv-7kr66rt3.js → shell-7kr66rt3.js} +1 -1
  96. package/dist/chunks/{kv-eznj39e7.js → shell-7m9mfsct.js} +13 -13
  97. package/dist/chunks/{kv-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{kv-7weczvnd.js → shell-7weczvnd.js} +1 -1
  99. package/dist/chunks/{kv-9gfh1w94.js → shell-7xbhdkrc.js} +4 -4
  100. package/dist/chunks/{kv-r3styde8.js → shell-7y2j04q1.js} +7 -7
  101. package/dist/chunks/shell-7yv5xa0k.js +18 -0
  102. package/dist/chunks/{kv-775hqbnd.js → shell-80mg3ag8.js} +3 -3
  103. package/dist/chunks/{kv-5pjz195d.js → shell-82k3xms4.js} +16 -16
  104. package/dist/chunks/{kv-b9xj6p1v.js → shell-857vb2tx.js} +6 -6
  105. package/dist/chunks/{kv-89287pr7.js → shell-89287pr7.js} +1 -1
  106. package/dist/chunks/{kv-qftpxn2w.js → shell-8aaze06e.js} +9 -9
  107. package/dist/chunks/{kv-25h84942.js → shell-8b3vzgkx.js} +4 -4
  108. package/dist/chunks/{kv-kt6nygt9.js → shell-8d8bpxw1.js} +13 -13
  109. package/dist/chunks/{kv-45j996zk.js → shell-8h2gen7d.js} +1 -1
  110. package/dist/chunks/{kv-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
  111. package/dist/chunks/{kv-r17fbvme.js → shell-8t99kr38.js} +4 -4
  112. package/dist/chunks/{kv-64hfm95n.js → shell-8whcgxh6.js} +22 -22
  113. package/dist/chunks/{kv-qw2t3dzn.js → shell-8wjgamp7.js} +6 -6
  114. package/dist/chunks/{kv-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{kv-90zstvax.js → shell-90zstvax.js} +1 -1
  116. package/dist/chunks/{kv-xqs234yc.js → shell-94sdk5nw.js} +20 -20
  117. package/dist/chunks/{kv-pkq7hshp.js → shell-98d2pk7v.js} +25 -25
  118. package/dist/chunks/{kv-88zq23g6.js → shell-9mn5nav0.js} +13 -13
  119. package/dist/chunks/{kv-6z66srpx.js → shell-9nfnb3g4.js} +35 -35
  120. package/dist/chunks/{kv-963hk181.js → shell-9ntfe833.js} +9 -9
  121. package/dist/chunks/{kv-0cqaejmj.js → shell-9py6bjjz.js} +15 -15
  122. package/dist/chunks/{kv-v10ah28d.js → shell-9q5gq7ze.js} +9 -9
  123. package/dist/chunks/{kv-mf63ygpr.js → shell-9q8g9sv8.js} +4 -4
  124. package/dist/chunks/{kv-61qraad9.js → shell-9zwexsxs.js} +5 -5
  125. package/dist/chunks/{kv-xrf6z7zj.js → shell-a2tfhpat.js} +12 -12
  126. package/dist/chunks/{kv-e2kna7ja.js → shell-aa6xdz07.js} +27 -27
  127. package/dist/chunks/{kv-yxwfes0h.js → shell-aemypr0w.js} +32 -32
  128. package/dist/chunks/{kv-yy5sddfr.js → shell-am7ta0nf.js} +31 -31
  129. package/dist/chunks/{kv-b4mbbm94.js → shell-aqc52x8j.js} +27 -27
  130. package/dist/chunks/{kv-a94vr9zm.js → shell-arpffjcf.js} +18 -18
  131. package/dist/chunks/{kv-w9dx19k5.js → shell-asn5bbr7.js} +11 -11
  132. package/dist/chunks/{kv-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
  133. package/dist/chunks/{kv-xackwg1y.js → shell-b169bypd.js} +14 -14
  134. package/dist/chunks/{kv-e1y225ng.js → shell-b1vrvztg.js} +8 -8
  135. package/dist/chunks/{kv-5nnwax6m.js → shell-b6vsg801.js} +5 -5
  136. package/dist/chunks/shell-b7xx3v4y.js +26 -0
  137. package/dist/chunks/{kv-pvsqqrf7.js → shell-bf90mjba.js} +30 -30
  138. package/dist/chunks/{kv-6dt3jg77.js → shell-bkvw770v.js} +31 -31
  139. package/dist/chunks/{kv-wcnkf9e4.js → shell-bpcpdsyz.js} +12 -12
  140. package/dist/chunks/{kv-bstexjd6.js → shell-bstexjd6.js} +1 -1
  141. package/dist/chunks/{kv-gbnh12e9.js → shell-bsvd1v20.js} +40 -40
  142. package/dist/chunks/{kv-835fs15q.js → shell-bwz1yd0d.js} +10 -10
  143. package/dist/chunks/{kv-rswskmkb.js → shell-c3cdf05z.js} +18 -18
  144. package/dist/chunks/{kv-h9h9r8jb.js → shell-ca63tz3e.js} +6 -6
  145. package/dist/chunks/{kv-v2bg42y5.js → shell-cj70cypp.js} +7 -7
  146. package/dist/chunks/{kv-1qf0danm.js → shell-cjxzecd3.js} +11 -11
  147. package/dist/chunks/{kv-r4kghmrm.js → shell-cp5bx62d.js} +5 -5
  148. package/dist/chunks/{kv-38x49yk8.js → shell-cvjvzdz5.js} +43 -43
  149. package/dist/chunks/{kv-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{kv-38sgh7nx.js → shell-d4jcffkv.js} +27 -27
  151. package/dist/chunks/{kv-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
  152. package/dist/chunks/{kv-c5m2a8vb.js → shell-dcz55bfx.js} +8 -8
  153. package/dist/chunks/{kv-drjn6577.js → shell-dm4dg66e.js} +33 -33
  154. package/dist/chunks/{kv-fgwd0f5t.js → shell-dpgr420w.js} +8 -8
  155. package/dist/chunks/{kv-h3dvgnt2.js → shell-dpzrt5dr.js} +9 -9
  156. package/dist/chunks/{kv-dt77769w.js → shell-dt77769w.js} +1 -1
  157. package/dist/chunks/{kv-390xskpw.js → shell-dxsywhez.js} +4 -4
  158. package/dist/chunks/{kv-ncv5s97k.js → shell-dy2c8wap.js} +3 -3
  159. package/dist/chunks/{kv-xf9r6fpb.js → shell-dzq8zq93.js} +26 -26
  160. package/dist/chunks/{kv-e834z07m.js → shell-e834z07m.js} +1 -1
  161. package/dist/chunks/{kv-epxmp9r9.js → shell-ebd6f33r.js} +7 -7
  162. package/dist/chunks/{kv-3cnwfwb4.js → shell-effmgbqf.js} +8 -8
  163. package/dist/chunks/{kv-tyvabczr.js → shell-ej9bat5k.js} +20 -20
  164. package/dist/chunks/{kv-97qxj3ta.js → shell-eja4146r.js} +8 -8
  165. package/dist/chunks/{kv-9h9yyyvr.js → shell-ejaf3aea.js} +4 -4
  166. package/dist/chunks/{kv-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
  167. package/dist/chunks/{kv-3xqfmw3b.js → shell-et5sv7w6.js} +32 -32
  168. package/dist/chunks/{kv-3nfw77dj.js → shell-f1zqazwd.js} +12 -12
  169. package/dist/chunks/{kv-94e33dpz.js → shell-f341sazs.js} +3 -3
  170. package/dist/chunks/{kv-77fr1a8s.js → shell-f529qshs.js} +8 -8
  171. package/dist/chunks/{kv-m5rn6m50.js → shell-f66ptma4.js} +48 -48
  172. package/dist/chunks/{kv-dvma3yps.js → shell-fbrgsmtf.js} +20 -20
  173. package/dist/chunks/{kv-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
  174. package/dist/chunks/{kv-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
  175. package/dist/chunks/{kv-wa6cdf20.js → shell-g44xe0cc.js} +16 -16
  176. package/dist/chunks/{kv-1zrvbnhn.js → shell-g5hyrw0d.js} +21 -21
  177. package/dist/chunks/{kv-e826br8j.js → shell-ga0hwpmj.js} +47 -47
  178. package/dist/chunks/{kv-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
  179. package/dist/chunks/{kv-gcjdgkn2.js → shell-gcjdgkn2.js} +2 -2
  180. package/dist/chunks/{kv-v74re6p4.js → shell-gr5zcj6j.js} +12 -12
  181. package/dist/chunks/{kv-wasaya9j.js → shell-gw8w2ecv.js} +19 -19
  182. package/dist/chunks/{kv-gjazrbgn.js → shell-h7n1gjdj.js} +21 -21
  183. package/dist/chunks/{kv-475pmsf4.js → shell-h80pa431.js} +26 -26
  184. package/dist/chunks/{kv-n50aepnj.js → shell-h8dz3ery.js} +4 -4
  185. package/dist/chunks/{kv-fc1tyj59.js → shell-h8sr682c.js} +35 -35
  186. package/dist/chunks/{kv-ys4mxn17.js → shell-hdccpxfa.js} +9 -9
  187. package/dist/chunks/{kv-hhcta08j.js → shell-hepdz7ts.js} +10 -10
  188. package/dist/chunks/{kv-5hqtac0m.js → shell-hks1njp6.js} +26 -26
  189. package/dist/chunks/{kv-hpg1pkwy.js → shell-hpg1pkwy.js} +1 -1
  190. package/dist/chunks/{kv-jf43mb4q.js → shell-hsnq1va6.js} +5 -5
  191. package/dist/chunks/{kv-br3vvby6.js → shell-htwf7p98.js} +8 -8
  192. package/dist/chunks/{kv-key46bzf.js → shell-hw6pphkn.js} +26 -26
  193. package/dist/chunks/{kv-2j5gpsjp.js → shell-j2ad8zaa.js} +11 -11
  194. package/dist/chunks/{kv-qvgw3df5.js → shell-j530dmk3.js} +8 -8
  195. package/dist/chunks/{kv-phqbdkzg.js → shell-j692gbqm.js} +23 -23
  196. package/dist/chunks/{kv-g2yvvf5f.js → shell-jhvxamvb.js} +11 -11
  197. package/dist/chunks/{kv-gmemj5zs.js → shell-jjvvtnfs.js} +4 -4
  198. package/dist/chunks/{kv-7yn5njxn.js → shell-jrza9z9p.js} +85 -85
  199. package/dist/chunks/{kv-v7et57j7.js → shell-jtbhy41n.js} +19 -19
  200. package/dist/chunks/{kv-jtnps1zs.js → shell-jtnps1zs.js} +2 -2
  201. package/dist/chunks/{kv-ffa4wh4p.js → shell-jx0hjy4h.js} +14 -14
  202. package/dist/chunks/{kv-2ehydsxs.js → shell-k06jk51w.js} +20 -20
  203. package/dist/chunks/{kv-a314c1yn.js → shell-k0harkkt.js} +16 -16
  204. package/dist/chunks/{kv-wfdx5ztx.js → shell-k3cx6fhe.js} +4 -4
  205. package/dist/chunks/{kv-7exh6wv1.js → shell-k4c59awx.js} +33 -33
  206. package/dist/chunks/{kv-pbf523ys.js → shell-k5hr4jsm.js} +10 -10
  207. package/dist/chunks/{kv-fajbfx6j.js → shell-k8wjfbpq.js} +41 -41
  208. package/dist/chunks/{kv-279habt9.js → shell-kb2zgvc1.js} +11 -11
  209. package/dist/chunks/{kv-r0sc7qzh.js → shell-kde8bh48.js} +3 -3
  210. package/dist/chunks/{kv-fsc67bbk.js → shell-kdegksg6.js} +9 -9
  211. package/dist/chunks/{kv-8ebfsdk5.js → shell-kdsq4e7s.js} +5 -5
  212. package/dist/chunks/{kv-sy817ser.js → shell-ke6gn2q4.js} +23 -23
  213. package/dist/chunks/{kv-sp9q91vx.js → shell-kg11qpg0.js} +3 -3
  214. package/dist/chunks/{kv-gqzpxtfs.js → shell-kj0qyd2n.js} +14 -14
  215. package/dist/chunks/{kv-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
  216. package/dist/chunks/{kv-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
  217. package/dist/chunks/{kv-m1714858.js → shell-m1714858.js} +1 -1
  218. package/dist/chunks/{kv-mm27w63f.js → shell-m4htaz91.js} +11 -11
  219. package/dist/chunks/{kv-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  220. package/dist/chunks/{kv-n3cw3nam.js → shell-ma7ga16t.js} +27 -27
  221. package/dist/chunks/{kv-b3b9b3h1.js → shell-manxzwyw.js} +24 -24
  222. package/dist/chunks/{kv-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
  223. package/dist/chunks/{kv-jxs9nank.js → shell-mh9vmay3.js} +35 -35
  224. package/dist/chunks/{kv-pgfabxcd.js → shell-mhfmyj0b.js} +7 -7
  225. package/dist/chunks/{kv-55qnc5ar.js → shell-mmztn61e.js} +3 -3
  226. package/dist/chunks/{kv-msd2a3qm.js → shell-msd2a3qm.js} +4 -4
  227. package/dist/chunks/{kv-48550ama.js → shell-mspp9r7z.js} +22 -22
  228. package/dist/chunks/{kv-wws03c5r.js → shell-mzm8bzzq.js} +4 -4
  229. package/dist/chunks/{kv-zxdg55sm.js → shell-n24xn8vw.js} +40 -40
  230. package/dist/chunks/{kv-6951814z.js → shell-n7e7s5bj.js} +43 -43
  231. package/dist/chunks/{kv-dv7yh041.js → shell-n7ydet6g.js} +18 -18
  232. package/dist/chunks/{kv-q1678z4n.js → shell-nah5rrgf.js} +22 -22
  233. package/dist/chunks/{kv-d4qb2rc3.js → shell-nemnqzpn.js} +4 -4
  234. package/dist/chunks/{kv-fp2kss3x.js → shell-nv9tsjma.js} +6 -6
  235. package/dist/chunks/{kv-t6aq5wef.js → shell-nvj41790.js} +5 -5
  236. package/dist/chunks/{kv-dxm1q7rg.js → shell-nxad7th9.js} +5 -5
  237. package/dist/chunks/{kv-zw7cvrnx.js → shell-nxgpjp9m.js} +11 -11
  238. package/dist/chunks/{kv-ywpm9ph8.js → shell-nynymykp.js} +11 -11
  239. package/dist/chunks/{kv-kkz0wsf4.js → shell-p567ah5p.js} +30 -30
  240. package/dist/chunks/{kv-ky596kc3.js → shell-p76me67c.js} +4 -4
  241. package/dist/chunks/{kv-1yq9hg58.js → shell-p7vhpwh8.js} +5 -5
  242. package/dist/chunks/{kv-wh26e6vx.js → shell-pag4xfhb.js} +15 -15
  243. package/dist/chunks/{kv-c7rq5y96.js → shell-pahpqhen.js} +32 -32
  244. package/dist/chunks/{kv-0dkvek4b.js → shell-pbd184me.js} +6 -6
  245. package/dist/chunks/{kv-cp1gsbm1.js → shell-pd36x1w1.js} +6 -6
  246. package/dist/chunks/{kv-pknna89w.js → shell-pknna89w.js} +1 -1
  247. package/dist/chunks/{kv-ev714t55.js → shell-pkvd7azb.js} +7 -7
  248. package/dist/chunks/{kv-0vhe3zz8.js → shell-pnwsrq7c.js} +8 -8
  249. package/dist/chunks/{kv-zngahrd4.js → shell-ppjqz50g.js} +180 -180
  250. package/dist/chunks/{kv-v7kj1s7s.js → shell-pzaq70q9.js} +33 -33
  251. package/dist/chunks/{kv-b0grxa7w.js → shell-q6yya7b3.js} +5 -5
  252. package/dist/chunks/{kv-f1kzaf15.js → shell-qad793ts.js} +6 -6
  253. package/dist/chunks/{kv-tzdxn8w1.js → shell-qf4qmx1w.js} +14 -14
  254. package/dist/chunks/{kv-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
  255. package/dist/chunks/{kv-qqvy8y24.js → shell-qqvy8y24.js} +1 -1
  256. package/dist/chunks/{kv-p7zjft01.js → shell-qrc4x7ag.js} +14 -14
  257. package/dist/chunks/{kv-kphpybh5.js → shell-qz03pvet.js} +26 -26
  258. package/dist/chunks/{kv-85edh9cr.js → shell-r0c1dw80.js} +7 -7
  259. package/dist/chunks/{kv-9cc8jzfj.js → shell-r1meka4m.js} +11 -11
  260. package/dist/chunks/{kv-g98tr8sb.js → shell-r1ta80gs.js} +16 -16
  261. package/dist/chunks/{kv-w2eysc6j.js → shell-r41sfy63.js} +6 -6
  262. package/dist/chunks/{kv-8emfpnej.js → shell-r6p171n0.js} +15 -15
  263. package/dist/chunks/{kv-wyfgkt0v.js → shell-raekntxf.js} +25 -25
  264. package/dist/chunks/{kv-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
  265. package/dist/chunks/{kv-bbbmdjy4.js → shell-rpswk8jh.js} +20 -20
  266. package/dist/chunks/{kv-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
  267. package/dist/chunks/{kv-bc87eywq.js → shell-rtq6f36v.js} +20 -20
  268. package/dist/chunks/{kv-t0w8z6q1.js → shell-rxrex22c.js} +24 -24
  269. package/dist/chunks/{kv-azd8n5rk.js → shell-ryrymzcp.js} +8 -8
  270. package/dist/chunks/{kv-zsqxdpjf.js → shell-s2r2pnt0.js} +50 -50
  271. package/dist/chunks/{kv-sa3fpqfw.js → shell-sa3fpqfw.js} +2 -2
  272. package/dist/chunks/{kv-sbya78hr.js → shell-sbya78hr.js} +1 -1
  273. package/dist/chunks/{kv-2cdjxzfg.js → shell-sbz71ybr.js} +3 -3
  274. package/dist/chunks/{kv-90ct6wq4.js → shell-sf9y72b7.js} +4 -4
  275. package/dist/chunks/{kv-t77tdkfp.js → shell-sfb3jftk.js} +28 -28
  276. package/dist/chunks/{kv-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
  277. package/dist/chunks/{kv-szwm4crx.js → shell-szwm4crx.js} +4 -4
  278. package/dist/chunks/{kv-je8jbz99.js → shell-tan6b1vs.js} +30 -30
  279. package/dist/chunks/{kv-th2hp9ev.js → shell-tbbm7qd5.js} +12 -12
  280. package/dist/chunks/{kv-vzrtv76d.js → shell-tcr6nryh.js} +26 -26
  281. package/dist/chunks/{kv-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
  282. package/dist/chunks/{kv-tg7s7b5t.js → shell-tg7s7b5t.js} +1 -1
  283. package/dist/chunks/{kv-x78x2jnf.js → shell-tkxh0sy1.js} +59 -59
  284. package/dist/chunks/{kv-e8pm465n.js → shell-tmd1r8tg.js} +4 -4
  285. package/dist/chunks/{kv-vh5m3ez0.js → shell-tqe31r73.js} +18 -18
  286. package/dist/chunks/{kv-tr8x705m.js → shell-tr8x705m.js} +1 -1
  287. package/dist/chunks/{kv-xd7yvmwx.js → shell-ts4hehzs.js} +18 -18
  288. package/dist/chunks/{kv-ety3ew88.js → shell-tsn86mx2.js} +14 -14
  289. package/dist/chunks/{kv-k4fcj3vf.js → shell-tt238xjp.js} +21 -21
  290. package/dist/chunks/{kv-tsejbqqk.js → shell-ttpy3t1j.js} +4 -4
  291. package/dist/chunks/{kv-twssxy5n.js → shell-twssxy5n.js} +2 -2
  292. package/dist/chunks/{kv-d9t352jd.js → shell-v0cx50ys.js} +19 -19
  293. package/dist/chunks/{kv-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
  294. package/dist/chunks/{kv-7jf424nk.js → shell-v502p7z6.js} +12 -12
  295. package/dist/chunks/{kv-aedwt843.js → shell-v5hpj9dd.js} +4 -4
  296. package/dist/chunks/{kv-z01qvp9v.js → shell-v6j3p2g6.js} +32 -32
  297. package/dist/chunks/{kv-s06f3zcw.js → shell-v79xqr7f.js} +6 -6
  298. package/dist/chunks/{kv-02x7183a.js → shell-vawa39yd.js} +9 -9
  299. package/dist/chunks/{kv-jttrxpyp.js → shell-vcfmjhsk.js} +20 -20
  300. package/dist/chunks/{kv-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
  301. package/dist/chunks/{kv-y9x9m3cp.js → shell-vq0qa3sh.js} +9 -9
  302. package/dist/chunks/{kv-15qtk8ma.js → shell-vt2d6wap.js} +4 -4
  303. package/dist/chunks/{kv-tf327jrp.js → shell-vvmxstq0.js} +8 -8
  304. package/dist/chunks/{kv-s7hxpbzb.js → shell-vw6qznfc.js} +3 -3
  305. package/dist/chunks/{kv-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  306. package/dist/chunks/{kv-3r90zn6t.js → shell-w49gkjv3.js} +35 -35
  307. package/dist/chunks/{kv-3y9zcr5d.js → shell-w4raeb9k.js} +4 -4
  308. package/dist/chunks/{kv-w687dnns.js → shell-w687dnns.js} +1 -1
  309. package/dist/chunks/{kv-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
  310. package/dist/chunks/{kv-f0h2122t.js → shell-wappvfwj.js} +18 -18
  311. package/dist/chunks/{kv-wd87259q.js → shell-wd87259q.js} +1 -1
  312. package/dist/chunks/{kv-c4rf1zj5.js → shell-we3rxj18.js} +30 -30
  313. package/dist/chunks/{kv-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
  314. package/dist/chunks/{kv-wnhgecwx.js → shell-wnhgecwx.js} +1 -1
  315. package/dist/chunks/{kv-6aaef434.js → shell-wr41p3w8.js} +5 -5
  316. package/dist/chunks/{kv-qj27ec1j.js → shell-x4mcewfn.js} +4 -4
  317. package/dist/chunks/{kv-nkydhhm9.js → shell-xewng6rg.js} +80 -80
  318. package/dist/chunks/{kv-pxpzd3xh.js → shell-xmhf9056.js} +4 -4
  319. package/dist/chunks/{kv-xy35ryac.js → shell-xmrtptd7.js} +11 -11
  320. package/dist/chunks/{kv-0ahs07zn.js → shell-xmx7xj34.js} +4 -4
  321. package/dist/chunks/{kv-yg58e13h.js → shell-xzkyvxr5.js} +23 -23
  322. package/dist/chunks/{kv-48h6ydh5.js → shell-y0z2gqqa.js} +9 -9
  323. package/dist/chunks/{kv-qtf35215.js → shell-y1havdw8.js} +2 -2
  324. package/dist/chunks/{kv-tt9rk80g.js → shell-y32xxt00.js} +4 -4
  325. package/dist/chunks/{kv-nwsj1cwd.js → shell-y5gqt1e1.js} +21 -21
  326. package/dist/chunks/{kv-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
  327. package/dist/chunks/{kv-a262kt7g.js → shell-ybsabavr.js} +2 -2
  328. package/dist/chunks/{kv-sge96gp9.js → shell-yc8a8z71.js} +12 -12
  329. package/dist/chunks/{kv-yr705xyq.js → shell-yr705xyq.js} +1 -1
  330. package/dist/chunks/{kv-xksw6ev0.js → shell-yts2a8qm.js} +4 -4
  331. package/dist/chunks/{kv-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
  332. package/dist/chunks/{kv-rgt0fs8t.js → shell-ywsh2end.js} +31 -31
  333. package/dist/chunks/{kv-q6czkqsp.js → shell-yxf516kp.js} +15 -15
  334. package/dist/chunks/{kv-j9nxzz3g.js → shell-ze75qvmd.js} +3 -3
  335. package/dist/chunks/{kv-mza0w7xf.js → shell-zjx1mcwr.js} +16 -16
  336. package/dist/chunks/{kv-jhqq3bcw.js → shell-zka969pz.js} +6 -6
  337. package/dist/chunks/{kv-e0ar916e.js → shell-zkkcbbg7.js} +3 -3
  338. package/dist/chunks/{kv-8ae67v52.js → shell-zrf5e5ze.js} +6 -6
  339. package/dist/chunks/{kv-fdkctdv6.js → shell-zrhyvfx1.js} +84 -84
  340. package/dist/codemode/catalog.js +1 -1
  341. package/dist/codemode/execution.js +3 -3
  342. package/dist/codemode/fetch.js +145 -145
  343. package/dist/codemode/instructions.js +11 -11
  344. package/dist/codemode/tool.js +151 -151
  345. package/dist/command.js +94 -94
  346. package/dist/config/discovery.js +95 -95
  347. package/dist/config/integration.js +3 -3
  348. package/dist/config/managed.js +1 -1
  349. package/dist/config/markdown.js +1 -1
  350. package/dist/config/normalize.js +112 -112
  351. package/dist/config/plugin/agent.js +132 -132
  352. package/dist/config/plugin/command.js +231 -231
  353. package/dist/config/plugin/compaction.js +171 -171
  354. package/dist/config/plugin/compatibility.js +150 -150
  355. package/dist/config/plugin/entry-observer.js +1 -1
  356. package/dist/config/plugin/formatter.js +131 -131
  357. package/dist/config/plugin/image.js +130 -130
  358. package/dist/config/plugin/instruction.js +130 -130
  359. package/dist/config/plugin/location-watcher.js +132 -132
  360. package/dist/config/plugin/mcp.js +141 -141
  361. package/dist/config/plugin/policy.js +130 -130
  362. package/dist/config/plugin/provider.js +130 -130
  363. package/dist/config/plugin/reference.js +132 -132
  364. package/dist/config/plugin/shell.js +130 -130
  365. package/dist/config/plugin/skill-file.js +146 -146
  366. package/dist/config/plugin/skill-scan.js +1 -1
  367. package/dist/config/plugin/skill.js +153 -153
  368. package/dist/config/plugin/snapshot.js +130 -130
  369. package/dist/config/plugin/source.js +133 -133
  370. package/dist/config/plugin/tool-output.js +131 -131
  371. package/dist/config/plugin/websearch.js +129 -129
  372. package/dist/config/plugin/worktree.js +132 -132
  373. package/dist/config/variable.js +1 -1
  374. package/dist/config/watch.js +1 -1
  375. package/dist/config.js +135 -135
  376. package/dist/console-access.js +1 -1
  377. package/dist/credential/sql.js +2 -2
  378. package/dist/credential.js +92 -92
  379. package/dist/database/database.js +77 -77
  380. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  381. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  382. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  383. package/dist/database/drizzle/index.js +13 -13
  384. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  385. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  386. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  387. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  388. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  389. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  390. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  391. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  392. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  393. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  394. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  395. package/dist/database/drizzle.js +14 -14
  396. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  397. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  398. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  399. package/dist/database/migration/20260225215848_workspace.js +1 -1
  400. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  401. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  402. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  403. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  404. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  405. package/dist/database/migration/20260323234822_events.js +1 -1
  406. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  407. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  408. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  409. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  410. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  411. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  412. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  413. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  414. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  415. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  416. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  417. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  418. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  419. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  420. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  421. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  422. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  423. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  424. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  425. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  426. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  427. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  428. package/dist/database/migration/20260611035744_credential.js +1 -1
  429. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  430. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  431. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  432. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  433. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  434. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  435. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  436. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  437. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  438. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  439. package/dist/database/migration/20260812213948_worktree.js +1 -1
  440. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  441. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  442. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  443. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  444. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  445. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  446. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  447. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  448. package/dist/database/migration/20261025123711_blob.js +1 -1
  449. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  450. package/dist/database/migration/20261026223005_schedule.js +1 -1
  451. package/dist/database/migration/20261029002625_session_part.js +1 -1
  452. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  453. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  454. package/dist/database/migration/20261030054400_job.js +1 -1
  455. package/dist/database/migration.gen.js +60 -60
  456. package/dist/database/migration.js +62 -62
  457. package/dist/database/path.js +2 -2
  458. package/dist/database/schema.gen.js +1 -1
  459. package/dist/database/schema.sql.js +1 -1
  460. package/dist/database/v1-migration.bun.js +105 -105
  461. package/dist/database/v1-migration.js +1 -1
  462. package/dist/effect/app-node-builder.js +430 -430
  463. package/dist/effect/app-node-platform.js +2 -2
  464. package/dist/effect/keyed-mutex.js +1 -1
  465. package/dist/effect/websocket-constructor.js +1 -1
  466. package/dist/environment/driver.js +1 -1
  467. package/dist/environment/environment.js +106 -106
  468. package/dist/environment/exec-defaults.js +2 -2
  469. package/dist/environment/files.js +1 -1
  470. package/dist/environment/index.js +108 -108
  471. package/dist/environment/local.js +2 -2
  472. package/dist/environment/memory.js +2 -2
  473. package/dist/environment/unavailable.js +1 -1
  474. package/dist/event/sql.js +1 -1
  475. package/dist/event-logger.js +81 -81
  476. package/dist/file-access.js +156 -156
  477. package/dist/file-mutation.js +107 -107
  478. package/dist/file-retention.js +1 -1
  479. package/dist/filesystem/fff.bun.js +2 -2
  480. package/dist/filesystem/fff.js +1 -1
  481. package/dist/filesystem/fff.node.js +2 -2
  482. package/dist/filesystem/fff.workerd.js +2 -2
  483. package/dist/filesystem/file-watch.js +88 -88
  484. package/dist/filesystem/location-watcher-policy.js +6 -6
  485. package/dist/filesystem/location-watcher.js +245 -245
  486. package/dist/filesystem/protected.js +1 -1
  487. package/dist/filesystem/search.js +112 -112
  488. package/dist/filesystem/watcher-binding.js +1 -1
  489. package/dist/filesystem/watcher.js +11 -11
  490. package/dist/filesystem.js +115 -115
  491. package/dist/form.js +93 -93
  492. package/dist/formatter/builtins.js +4 -4
  493. package/dist/formatter.js +100 -100
  494. package/dist/generate.js +120 -120
  495. package/dist/git.js +11 -11
  496. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  497. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  498. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  499. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  500. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  501. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  502. package/dist/github-copilot/copilot-provider.js +17 -17
  503. package/dist/github-copilot/models.js +104 -104
  504. package/dist/github-copilot/openai-compatible-error.js +1 -1
  505. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  506. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  507. package/dist/github-copilot/responses/openai-error.js +1 -1
  508. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  509. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  510. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  511. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  512. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  513. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  514. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  515. package/dist/image/notice.js +3 -3
  516. package/dist/image/photon-normalize.js +1 -1
  517. package/dist/image/photon-worker.js +1 -1
  518. package/dist/image/photon.js +4 -4
  519. package/dist/image.js +6 -6
  520. package/dist/instance/service.js +5 -5
  521. package/dist/instance.js +421 -421
  522. package/dist/instruction-discovery.js +95 -95
  523. package/dist/instructions/builtins.js +100 -100
  524. package/dist/instructions/index.js +3 -3
  525. package/dist/integration/connection.js +3 -3
  526. package/dist/integration.js +100 -100
  527. package/dist/job/sql.js +2 -2
  528. package/dist/job.js +88 -88
  529. package/dist/kv/sql.js +2 -2
  530. package/dist/kv.js +84 -84
  531. package/dist/location-activity.js +176 -176
  532. package/dist/location-lifecycle.js +150 -150
  533. package/dist/location-service-map.js +99 -99
  534. package/dist/location-services.js +418 -418
  535. package/dist/location.js +102 -102
  536. package/dist/managed-policy.js +3 -3
  537. package/dist/mcp/client.js +104 -104
  538. package/dist/mcp/index.js +122 -122
  539. package/dist/mcp/instructions.js +181 -181
  540. package/dist/mcp/oauth.js +89 -89
  541. package/dist/mcp/socket-client.js +1 -1
  542. package/dist/mcp/stdio.js +103 -103
  543. package/dist/mime.js +1 -1
  544. package/dist/modal/models.js +104 -104
  545. package/dist/model-resolver.js +112 -112
  546. package/dist/model-retry.js +1 -1
  547. package/dist/model.js +111 -111
  548. package/dist/models-dev/v1.js +1 -1
  549. package/dist/models-dev.js +121 -121
  550. package/dist/oauth/page.js +1 -1
  551. package/dist/permission/saved.js +93 -93
  552. package/dist/permission/sql.js +5 -5
  553. package/dist/permission.js +153 -153
  554. package/dist/persistent-pty/binary.bun.js +1 -1
  555. package/dist/persistent-pty/daemon.js +1 -1
  556. package/dist/persistent-pty/index.js +99 -99
  557. package/dist/persistent-pty/pty-binding.js +1 -1
  558. package/dist/persistent-pty.js +86 -86
  559. package/dist/plugin/agent.js +87 -87
  560. package/dist/plugin/command.js +115 -115
  561. package/dist/plugin/goal.js +3 -3
  562. package/dist/plugin/hooks.js +5 -5
  563. package/dist/plugin/host.js +236 -236
  564. package/dist/plugin/identity.js +5 -5
  565. package/dist/plugin/instance.js +3 -3
  566. package/dist/plugin/internal.js +397 -397
  567. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  568. package/dist/plugin/models-dev.js +110 -110
  569. package/dist/plugin/module.js +129 -129
  570. package/dist/plugin/optimize.js +2 -2
  571. package/dist/plugin/plan.js +146 -146
  572. package/dist/plugin/promise.js +1 -1
  573. package/dist/plugin/provider/amazon-bedrock.js +104 -104
  574. package/dist/plugin/provider/azure.js +132 -132
  575. package/dist/plugin/provider/cerebras.js +1 -1
  576. package/dist/plugin/provider/chatgpt.js +130 -130
  577. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  578. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  579. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  580. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  581. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  582. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  583. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  584. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  585. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  586. package/dist/plugin/provider/claude-agent/index.js +145 -145
  587. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  588. package/dist/plugin/provider/claude-agent/integration.js +113 -113
  589. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  590. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  591. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  592. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  593. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  594. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  595. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  596. package/dist/plugin/provider/claude-agent/provider.js +110 -110
  597. package/dist/plugin/provider/claude-agent/session.js +112 -112
  598. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  599. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  600. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  601. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  602. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  605. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  606. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  608. package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
  609. package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
  610. package/dist/plugin/provider/configured.js +126 -126
  611. package/dist/plugin/provider/credential-settings.js +85 -85
  612. package/dist/plugin/provider/databricks.js +1 -1
  613. package/dist/plugin/provider/digitalocean.js +108 -108
  614. package/dist/plugin/provider/dynamic.js +2 -2
  615. package/dist/plugin/provider/github-copilot.js +110 -110
  616. package/dist/plugin/provider/gitlab.js +107 -107
  617. package/dist/plugin/provider/google-vertex.js +127 -127
  618. package/dist/plugin/provider/kilo.js +1 -1
  619. package/dist/plugin/provider/llmgateway.js +89 -89
  620. package/dist/plugin/provider/lmstudio.js +139 -139
  621. package/dist/plugin/provider/local.js +136 -136
  622. package/dist/plugin/provider/modal.js +107 -107
  623. package/dist/plugin/provider/neon.js +1 -1
  624. package/dist/plugin/provider/nvidia.js +1 -1
  625. package/dist/plugin/provider/ollama.js +139 -139
  626. package/dist/plugin/provider/openai-context-caps.js +103 -103
  627. package/dist/plugin/provider/openai.js +130 -130
  628. package/dist/plugin/provider/opencode.js +132 -132
  629. package/dist/plugin/provider/openrouter.js +104 -104
  630. package/dist/plugin/provider/poe.js +90 -90
  631. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  632. package/dist/plugin/provider/refresh.js +87 -87
  633. package/dist/plugin/provider/sap-ai-core.js +104 -104
  634. package/dist/plugin/provider/sdk-factory.js +1 -1
  635. package/dist/plugin/provider/snowflake-cortex.js +129 -129
  636. package/dist/plugin/provider/vllm.js +139 -139
  637. package/dist/plugin/provider/xai.js +104 -104
  638. package/dist/plugin/provider/zenmux.js +1 -1
  639. package/dist/plugin/provider.js +212 -212
  640. package/dist/plugin/sdk.js +83 -83
  641. package/dist/plugin/service.js +3 -3
  642. package/dist/plugin/skill.js +149 -149
  643. package/dist/plugin/source-directory.js +1 -1
  644. package/dist/plugin/supervisor.js +409 -409
  645. package/dist/plugin/tool-input-repair.js +4 -4
  646. package/dist/plugin/update.js +6 -6
  647. package/dist/plugin/vcs/git.js +99 -99
  648. package/dist/plugin/vcs/hg.js +99 -99
  649. package/dist/plugin/verbosity.js +106 -106
  650. package/dist/plugin/warming.js +130 -130
  651. package/dist/plugin/websearch/exa.js +7 -7
  652. package/dist/plugin/websearch/firecrawl.js +8 -8
  653. package/dist/plugin/websearch/index.js +9 -9
  654. package/dist/plugin/websearch/mcp.js +4 -4
  655. package/dist/plugin/websearch/parallel.js +8 -8
  656. package/dist/plugin/websearch/tavily.js +6 -6
  657. package/dist/plugin/websearch/tinyfish.js +8 -8
  658. package/dist/plugin.js +241 -241
  659. package/dist/project/icon.js +5 -5
  660. package/dist/project/schema.js +8 -8
  661. package/dist/project/sql.js +4 -4
  662. package/dist/project.js +103 -103
  663. package/dist/provider.js +104 -104
  664. package/dist/pty/protocol.js +1 -1
  665. package/dist/pty/ticket.js +1 -1
  666. package/dist/pty.js +109 -109
  667. package/dist/reference/instructions.js +101 -101
  668. package/dist/reference.js +103 -103
  669. package/dist/repository-cache.js +93 -93
  670. package/dist/repository.js +1 -1
  671. package/dist/ripgrep/binary.js +2 -2
  672. package/dist/ripgrep.js +104 -104
  673. package/dist/rpc.js +99 -99
  674. package/dist/schedule/check.js +241 -241
  675. package/dist/schedule/sql.js +6 -6
  676. package/dist/schedule.js +247 -247
  677. package/dist/schema.js +1 -1
  678. package/dist/session/affinity.js +3 -3
  679. package/dist/session/background.js +1 -1
  680. package/dist/session/blob.js +129 -129
  681. package/dist/session/command.js +85 -85
  682. package/dist/session/compaction.js +173 -173
  683. package/dist/session/context.js +198 -198
  684. package/dist/session/diff.js +101 -101
  685. package/dist/session/environment.js +5 -5
  686. package/dist/session/error.js +3 -3
  687. package/dist/session/event.js +1 -1
  688. package/dist/session/execution/restart.js +243 -243
  689. package/dist/session/execution.js +163 -163
  690. package/dist/session/generate.js +200 -200
  691. package/dist/session/history.js +136 -136
  692. package/dist/session/inbox.js +145 -145
  693. package/dist/session/info.js +3 -3
  694. package/dist/session/instruction-entry.js +90 -90
  695. package/dist/session/instruction-state.js +8 -8
  696. package/dist/session/instructions.js +143 -143
  697. package/dist/session/message-updater.js +4 -4
  698. package/dist/session/message.js +1 -1
  699. package/dist/session/model-request.js +168 -168
  700. package/dist/session/model-transport.js +9 -9
  701. package/dist/session/move.js +165 -165
  702. package/dist/session/projector.js +143 -143
  703. package/dist/session/prompt.js +148 -148
  704. package/dist/session/recent-text.js +1 -1
  705. package/dist/session/revert.js +139 -139
  706. package/dist/session/run-coordinator.js +3 -3
  707. package/dist/session/runner/index.js +3 -3
  708. package/dist/session/runner/llm.js +250 -250
  709. package/dist/session/runner/max-steps.js +1 -1
  710. package/dist/session/runner/model.js +113 -113
  711. package/dist/session/runner/publish-llm-event.js +149 -149
  712. package/dist/session/runner/retry.js +5 -5
  713. package/dist/session/runner/step.js +163 -163
  714. package/dist/session/runner/to-llm-message.js +137 -137
  715. package/dist/session/schema.js +3 -3
  716. package/dist/session/session.js +181 -181
  717. package/dist/session/shell.js +144 -144
  718. package/dist/session/skill.js +149 -149
  719. package/dist/session/sql.js +5 -5
  720. package/dist/session/stats.js +84 -84
  721. package/dist/session/store.js +142 -142
  722. package/dist/session/stored.js +2 -2
  723. package/dist/session/subagent-completion.js +3 -3
  724. package/dist/session/subagent-job.js +227 -227
  725. package/dist/session/system-prompt.js +3 -3
  726. package/dist/session/title.js +202 -202
  727. package/dist/session/to-session-error.js +148 -148
  728. package/dist/session/transfer.js +235 -235
  729. package/dist/session/usage.js +1 -1
  730. package/dist/session.js +229 -229
  731. package/dist/shared-cache.js +5 -5
  732. package/dist/shell/parse.js +6 -6
  733. package/dist/shell/result.js +1 -1
  734. package/dist/shell/scan.js +1 -1
  735. package/dist/shell/select.js +13 -13
  736. package/dist/shell.js +146 -146
  737. package/dist/skill/discovery.js +2 -2
  738. package/dist/skill/instructions.js +151 -151
  739. package/dist/skill.js +156 -156
  740. package/dist/snapshot.js +104 -104
  741. package/dist/state.js +1 -1
  742. package/dist/tool/html-markdown.js +1 -1
  743. package/dist/tool/http-body.js +1 -1
  744. package/dist/tool/mcp.js +180 -180
  745. package/dist/tool/plugin/artifact.js +228 -228
  746. package/dist/tool/plugin/edit.js +164 -164
  747. package/dist/tool/plugin/file-diff.js +1 -1
  748. package/dist/tool/plugin/glob.js +168 -168
  749. package/dist/tool/plugin/grep.js +168 -168
  750. package/dist/tool/plugin/image-generate.js +239 -239
  751. package/dist/tool/plugin/mcp-resource.js +162 -162
  752. package/dist/tool/plugin/opencode.js +161 -161
  753. package/dist/tool/plugin/patch.js +166 -166
  754. package/dist/tool/plugin/question.js +148 -148
  755. package/dist/tool/plugin/read.js +169 -169
  756. package/dist/tool/plugin/schedule.js +247 -247
  757. package/dist/tool/plugin/shell.js +233 -233
  758. package/dist/tool/plugin/skill.js +155 -155
  759. package/dist/tool/plugin/subagent.js +236 -236
  760. package/dist/tool/plugin/todo.js +153 -153
  761. package/dist/tool/plugin/webfetch.js +155 -155
  762. package/dist/tool/plugin/websearch.js +153 -153
  763. package/dist/tool/plugin/write.js +166 -166
  764. package/dist/tool/read-filesystem.js +115 -115
  765. package/dist/tool/runtime.js +1 -1
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +157 -157
  768. package/dist/usage-limits.js +100 -100
  769. package/dist/util/error-summary.js +1 -1
  770. package/dist/util/git-executable.js +3 -3
  771. package/dist/util/lazy.js +1 -1
  772. package/dist/util/slug.js +1 -1
  773. package/dist/util/token.js +1 -1
  774. package/dist/util/which.js +1 -1
  775. package/dist/util/wildcard.js +1 -1
  776. package/dist/v1/config/agent.js +5 -5
  777. package/dist/v1/config/command.js +3 -3
  778. package/dist/v1/config/mcp.js +4 -4
  779. package/dist/v1/config/migrate.js +105 -105
  780. package/dist/v1/config/permission.js +3 -3
  781. package/dist/v1/config/plugin.js +3 -3
  782. package/dist/v1/config/provider-options.js +1 -1
  783. package/dist/v1/config/provider.js +4 -4
  784. package/dist/variant.js +106 -106
  785. package/dist/vcs/patch.js +1 -1
  786. package/dist/vcs.js +102 -102
  787. package/dist/voice.js +99 -99
  788. package/dist/websearch.js +95 -95
  789. package/dist/wellknown/plugin.js +87 -87
  790. package/dist/wellknown.js +92 -92
  791. package/dist/workspace/driver.js +7 -7
  792. package/dist/workspace/sql.js +1 -1
  793. package/dist/workspace.js +93 -93
  794. package/dist/worktree/directory.js +2 -2
  795. package/dist/worktree/git.js +11 -11
  796. package/dist/worktree/sql.js +5 -5
  797. package/dist/worktree/strategies.js +102 -102
  798. package/dist/worktree.js +111 -111
  799. package/package.json +8 -8
  800. package/dist/chunks/kv-9e4sbvwk.js +0 -261
  801. package/dist/chunks/kv-9eymfpe1.js +0 -26
  802. package/dist/chunks/kv-vdh3rgac.js +0 -18
  803. /package/dist/chunks/{kv-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  804. /package/dist/chunks/{kv-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  805. /package/dist/chunks/{kv-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  806. /package/dist/chunks/{kv-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  807. /package/dist/chunks/{kv-1kah00gy.js → shell-1kah00gy.js} +0 -0
  808. /package/dist/chunks/{kv-1pevy3nx.js → shell-1pevy3nx.js} +0 -0
  809. /package/dist/chunks/{kv-24dcb14g.js → shell-24dcb14g.js} +0 -0
  810. /package/dist/chunks/{kv-2710q6r3.js → shell-2710q6r3.js} +0 -0
  811. /package/dist/chunks/{kv-2bv980vf.js → shell-2bv980vf.js} +0 -0
  812. /package/dist/chunks/{kv-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  813. /package/dist/chunks/{kv-359p4xyc.js → shell-359p4xyc.js} +0 -0
  814. /package/dist/chunks/{kv-3asan66x.js → shell-3asan66x.js} +0 -0
  815. /package/dist/chunks/{kv-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  816. /package/dist/chunks/{kv-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  817. /package/dist/chunks/{kv-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  818. /package/dist/chunks/{kv-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  819. /package/dist/chunks/{kv-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
  820. /package/dist/chunks/{kv-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
  821. /package/dist/chunks/{kv-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  822. /package/dist/chunks/{kv-53557ph1.js → shell-53557ph1.js} +0 -0
  823. /package/dist/chunks/{kv-550bvhaj.js → shell-550bvhaj.js} +0 -0
  824. /package/dist/chunks/{kv-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
  825. /package/dist/chunks/{kv-6agm2x70.js → shell-6agm2x70.js} +0 -0
  826. /package/dist/chunks/{kv-6prwharc.js → shell-6prwharc.js} +0 -0
  827. /package/dist/chunks/{kv-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
  828. /package/dist/chunks/{kv-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  829. /package/dist/chunks/{kv-7m9af43g.js → shell-7m9af43g.js} +0 -0
  830. /package/dist/chunks/{kv-822emrt2.js → shell-822emrt2.js} +0 -0
  831. /package/dist/chunks/{kv-84wd9syh.js → shell-84wd9syh.js} +0 -0
  832. /package/dist/chunks/{kv-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  833. /package/dist/chunks/{kv-8n3pysct.js → shell-8n3pysct.js} +0 -0
  834. /package/dist/chunks/{kv-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
  835. /package/dist/chunks/{kv-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  836. /package/dist/chunks/{kv-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  837. /package/dist/chunks/{kv-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
  838. /package/dist/chunks/{kv-af5trqkr.js → shell-af5trqkr.js} +0 -0
  839. /package/dist/chunks/{kv-afrmfg78.js → shell-afrmfg78.js} +0 -0
  840. /package/dist/chunks/{kv-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  841. /package/dist/chunks/{kv-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  842. /package/dist/chunks/{kv-beh6qq61.js → shell-beh6qq61.js} +0 -0
  843. /package/dist/chunks/{kv-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  844. /package/dist/chunks/{kv-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  845. /package/dist/chunks/{kv-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  846. /package/dist/chunks/{kv-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
  847. /package/dist/chunks/{kv-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  848. /package/dist/chunks/{kv-d9fn303g.js → shell-d9fn303g.js} +0 -0
  849. /package/dist/chunks/{kv-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  850. /package/dist/chunks/{kv-dap0rakb.js → shell-dap0rakb.js} +0 -0
  851. /package/dist/chunks/{kv-dbht28n9.js → shell-dbht28n9.js} +0 -0
  852. /package/dist/chunks/{kv-df08tz66.js → shell-df08tz66.js} +0 -0
  853. /package/dist/chunks/{kv-dy18nga0.js → shell-dy18nga0.js} +0 -0
  854. /package/dist/chunks/{kv-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  855. /package/dist/chunks/{kv-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  856. /package/dist/chunks/{kv-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
  857. /package/dist/chunks/{kv-ec1grn59.js → shell-ec1grn59.js} +0 -0
  858. /package/dist/chunks/{kv-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  859. /package/dist/chunks/{kv-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  860. /package/dist/chunks/{kv-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  861. /package/dist/chunks/{kv-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  862. /package/dist/chunks/{kv-faypxj3z.js → shell-faypxj3z.js} +0 -0
  863. /package/dist/chunks/{kv-fd410y7t.js → shell-fd410y7t.js} +0 -0
  864. /package/dist/chunks/{kv-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
  865. /package/dist/chunks/{kv-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  866. /package/dist/chunks/{kv-g86h250q.js → shell-g86h250q.js} +0 -0
  867. /package/dist/chunks/{kv-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  868. /package/dist/chunks/{kv-gftt206x.js → shell-gftt206x.js} +0 -0
  869. /package/dist/chunks/{kv-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
  870. /package/dist/chunks/{kv-hk9envan.js → shell-hk9envan.js} +0 -0
  871. /package/dist/chunks/{kv-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  872. /package/dist/chunks/{kv-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  873. /package/dist/chunks/{kv-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
  874. /package/dist/chunks/{kv-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  875. /package/dist/chunks/{kv-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  876. /package/dist/chunks/{kv-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
  877. /package/dist/chunks/{kv-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  878. /package/dist/chunks/{kv-m18g726c.js → shell-m18g726c.js} +0 -0
  879. /package/dist/chunks/{kv-mp448xyj.js → shell-mp448xyj.js} +0 -0
  880. /package/dist/chunks/{kv-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  881. /package/dist/chunks/{kv-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  882. /package/dist/chunks/{kv-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  883. /package/dist/chunks/{kv-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
  884. /package/dist/chunks/{kv-njntx4h6.js → shell-njntx4h6.js} +0 -0
  885. /package/dist/chunks/{kv-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
  886. /package/dist/chunks/{kv-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  887. /package/dist/chunks/{kv-q74kybfr.js → shell-q74kybfr.js} +0 -0
  888. /package/dist/chunks/{kv-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  889. /package/dist/chunks/{kv-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  890. /package/dist/chunks/{kv-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  891. /package/dist/chunks/{kv-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
  892. /package/dist/chunks/{kv-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  893. /package/dist/chunks/{kv-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  894. /package/dist/chunks/{kv-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  895. /package/dist/chunks/{kv-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  896. /package/dist/chunks/{kv-syrav9an.js → shell-syrav9an.js} +0 -0
  897. /package/dist/chunks/{kv-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
  898. /package/dist/chunks/{kv-ty7weeps.js → shell-ty7weeps.js} +0 -0
  899. /package/dist/chunks/{kv-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
  900. /package/dist/chunks/{kv-vtarvj67.js → shell-vtarvj67.js} +0 -0
  901. /package/dist/chunks/{kv-w803qqfp.js → shell-w803qqfp.js} +0 -0
  902. /package/dist/chunks/{kv-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
  903. /package/dist/chunks/{kv-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  904. /package/dist/chunks/{kv-wtztk69x.js → shell-wtztk69x.js} +0 -0
  905. /package/dist/chunks/{kv-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  906. /package/dist/chunks/{kv-x61499pn.js → shell-x61499pn.js} +0 -0
  907. /package/dist/chunks/{kv-y44na4kk.js → shell-y44na4kk.js} +0 -0
  908. /package/dist/chunks/{kv-y8f7s663.js → shell-y8f7s663.js} +0 -0
  909. /package/dist/chunks/{kv-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  910. /package/dist/chunks/{kv-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
  911. /package/dist/chunks/{kv-z9919s4g.js → shell-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./kv-4d2dtj2f.js";
3
+ } from "./shell-4d2dtj2f.js";
4
4
  import {
5
5
  Service89,
6
6
  node92
7
- } from "./kv-f8av0dr9.js";
7
+ } from "./shell-4ez7xsyp.js";
8
8
  import {
9
9
  Event20,
10
- Service84,
11
- node87
12
- } from "./kv-xqs234yc.js";
10
+ Service87,
11
+ node90
12
+ } from "./shell-94sdk5nw.js";
13
13
  import {
14
- Service86,
15
- node89
16
- } from "./kv-j6fnsbvp.js";
14
+ Service82,
15
+ node85
16
+ } from "./shell-65f73r4q.js";
17
17
  import {
18
- Service45,
19
- node48
20
- } from "./kv-b3b9b3h1.js";
18
+ Service67,
19
+ node68
20
+ } from "./shell-manxzwyw.js";
21
21
  import {
22
- ID19,
23
- Service83,
24
- node86
25
- } from "./kv-dj38w6kp.js";
22
+ ID22,
23
+ Service88,
24
+ node91
25
+ } from "./shell-23gzzjhj.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create4
29
- } from "./kv-40y6dtc2.js";
29
+ } from "./shell-40y6dtc2.js";
30
30
  import {
31
- ID18,
31
+ ID20,
32
32
  MethodID2,
33
- Service82,
34
- node85
35
- } from "./kv-dzdv2v3g.js";
33
+ Service86,
34
+ node89
35
+ } from "./shell-040p24pd.js";
36
36
  import {
37
37
  __export
38
- } from "./kv-9rqn6x4v.js";
38
+ } from "./shell-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError6,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service32,
52
+ Service: () => Service37,
53
53
  Status: () => Status3,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer15,
57
- node: () => node35
55
+ configured: () => configured3,
56
+ layer: () => layer13,
57
+ node: () => node40
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -85,7 +85,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
85
85
  var ResourceCatalog2 = Mcp.ResourceCatalog;
86
86
  var ResourceContent2 = Mcp.ResourceContent;
87
87
 
88
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
88
+ class NotFoundError6 extends Schema.TaggedError()("MCP.NotFoundError", {
89
89
  server: ServerName2
90
90
  }) {
91
91
  get message() {
@@ -118,21 +118,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
118
118
  var endpointLoads = makeUnsafe2();
119
119
  var cloneConfig = (config) => structuredClone(config);
120
120
 
121
- class Service32 extends Context.Service()("@opencode/MCP") {
121
+ class Service37 extends Context.Service()("@opencode/MCP") {
122
122
  }
123
- var Options2 = Schema.Struct({
123
+ var Options3 = Schema.Struct({
124
124
  clientInfo: Schema.optional(Schema.Struct({
125
125
  name: Schema.String,
126
126
  version: Schema.String
127
127
  }))
128
128
  });
129
- var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
130
- const location = yield* Service86;
131
- const environment = yield* Service45;
129
+ var layer13 = (options) => Layer.effect(Service37, Effect.gen(function* () {
130
+ const location = yield* Service82;
131
+ const environment = yield* Service67;
132
132
  const bus = yield* Service89;
133
- const forms = yield* Service83;
134
- const integration = yield* Service82;
135
- const credentials = yield* Service84;
133
+ const forms = yield* Service88;
134
+ const integration = yield* Service86;
135
+ const credentials = yield* Service87;
136
136
  const root = yield* Effect.scope;
137
137
  const fork = yield* FiberSet.makeRuntime();
138
138
  const servers = yield* Scope.fork(root, "parallel");
@@ -148,7 +148,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
148
148
  return;
149
149
  const remote = entry.config;
150
150
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
151
- const integrationID = ID18.make(suffix);
151
+ const integrationID = ID20.make(suffix);
152
152
  entry.integrationID = integrationID;
153
153
  owned.add(integrationID);
154
154
  const methodID = MethodID2.make(suffix);
@@ -164,7 +164,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
164
164
  method: { id: methodID, type: "oauth", label: name },
165
165
  authorize: () => Effect.gen(function* () {
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
167
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service87, credentials));
168
168
  })
169
169
  });
170
170
  }).pipe(Scope.provide(scope));
@@ -172,19 +172,19 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
172
172
  const requireServer = Effect.fnUntraced(function* (name) {
173
173
  const entry = entries.get(name);
174
174
  if (!entry)
175
- return yield* new NotFoundError4({ server: name });
175
+ return yield* new NotFoundError6({ server: name });
176
176
  return { name, entry };
177
177
  });
178
178
  const connectProvider = Effect.fnUntraced(function* (entry) {
179
179
  if (entry.config.type !== "remote" || !entry.integrationID)
180
180
  return;
181
181
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
182
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
182
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service87, credentials));
183
183
  });
184
184
  const elicitation = {
185
185
  create: (input) => Effect.gen(function* () {
186
186
  if (input.params.mode === "url") {
187
- const formID = ID19.create();
187
+ const formID = ID22.create();
188
188
  const elicitationID = input.params.elicitationId;
189
189
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
190
190
  if (key)
@@ -289,7 +289,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
289
289
  entry.scope = scope;
290
290
  const authProvider = yield* connectProvider(entry);
291
291
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
292
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope));
292
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
293
293
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
294
294
  if (Exit.isSuccess(result)) {
295
295
  entry.client = result.value.connection;
@@ -395,7 +395,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
395
395
  let closed = false;
396
396
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
397
397
  closed = true;
398
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
398
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
399
399
  const register = Effect.gen(function* () {
400
400
  if (closed) {
401
401
  yield* Scope.close(scope, Exit.void);
@@ -502,7 +502,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
502
502
  }),
503
503
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
504
504
  });
505
- return Service32.of({
505
+ return Service37.of({
506
506
  transform: state.transform,
507
507
  reload: state.reload,
508
508
  servers: Effect.fn("MCP.servers")(function* () {
@@ -644,14 +644,14 @@ 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 configured2(options) {
647
+ function configured3(options) {
648
648
  return makeLocationNode({
649
- service: Service32,
650
- layer: layer15(options),
651
- deps: [node89, node48, node92, node86, node85, node87]
649
+ service: Service37,
650
+ layer: layer13(options),
651
+ deps: [node85, node68, node92, node91, node89, node90]
652
652
  });
653
653
  }
654
- var node35 = configured2();
654
+ var node40 = configured3();
655
655
  function toElicitationField(key, property, required) {
656
656
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
657
657
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -702,4 +702,4 @@ function toElicitationField(key, property, required) {
702
702
  }
703
703
  }
704
704
 
705
- export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options2, layer15, configured2, node35, exports_mcp4 };
705
+ export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service37, Options3, layer13, configured3, node40, exports_mcp4 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  lazy2
3
- } from "./kv-88xbtdfr.js";
3
+ } from "./shell-88xbtdfr.js";
4
4
  import {
5
5
  which2
6
- } from "./kv-qaymkmh1.js";
6
+ } from "./shell-qaymkmh1.js";
7
7
 
8
8
  // src/util/git-executable.ts
9
9
  import { existsSync, realpathSync } from "node:fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/convert-to-claude-message.ts
6
6
  var exports_convert_to_claude_message = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  which2
3
- } from "./kv-qaymkmh1.js";
3
+ } from "./shell-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
8
  import { isRecord } from "@opencode/util/record";
9
- function make18(input) {
9
+ function make20(input) {
10
10
  const disabled = false;
11
11
  const findExecutable = (name) => which2(name, undefined, input.bin);
12
12
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
259
259
  return isRecord(input[field]) && key in input[field];
260
260
  }
261
261
 
262
- export { make18 };
262
+ export { make20 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/provider/claude-agent/language-model/claude-agent-error.ts
6
6
  var exports_claude_agent_error = {};
7
7
  __export(exports_claude_agent_error, {
8
8
  ClaudeAgentError: () => exports_claude_agent_error,
9
- make: () => make9
9
+ make: () => make12
10
10
  });
11
- function make9() {
11
+ function make12() {
12
12
  let code;
13
13
  let rejected;
14
14
  return (message) => {
@@ -40,4 +40,4 @@ function make9() {
40
40
  };
41
41
  }
42
42
 
43
- export { make9, exports_claude_agent_error };
43
+ export { make12, exports_claude_agent_error };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./kv-svcy3p9a.js";
3
+ } from "./shell-svcy3p9a.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./kv-jtnps1zs.js";
6
+ } from "./shell-jtnps1zs.js";
7
7
  import {
8
8
  Service90,
9
9
  node93
10
- } from "./kv-s7hxpbzb.js";
10
+ } from "./shell-vw6qznfc.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./kv-4d2dtj2f.js";
13
+ } from "./shell-4d2dtj2f.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node50
18
- } from "./kv-4y8qzd8z.js";
17
+ node70
18
+ } from "./shell-5jm7ma5d.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./kv-faypxj3z.js";
21
+ } from "./shell-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./kv-9rqn6x4v.js";
24
+ } from "./shell-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID8,
31
- Info: () => Info10,
30
+ ID: () => ID14,
31
+ Info: () => Info16,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service46,
33
+ Service: () => Service68,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured5,
36
- node: () => node49
35
+ configured: () => configured7,
36
+ node: () => node69
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID8 = Workspace.ID;
44
+ var ID14 = Workspace.ID;
45
45
 
46
- class Info10 extends Schema.Class("Workspace.Info")({
47
- id: ID8,
46
+ class Info16 extends Schema.Class("Workspace.Info")({
47
+ id: ID14,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info10 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID8 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID8,
59
+ workspaceID: ID14,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service46 extends Context.Service()("@opencode/Workspace") {
65
+ class Service68 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured5 = (options = {}) => makeGlobalNode({
68
- service: Service46,
67
+ var configured7 = (options = {}) => makeGlobalNode({
68
+ service: Service68,
69
69
  layer: layer(options),
70
- deps: [node93, node50]
70
+ deps: [node93, node70]
71
71
  });
72
- var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
73
73
  const db = (yield* Service90).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info10({
89
+ const info = (row, binding) => new Info16({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service46.of({
167
+ return Service68.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID8.create();
169
+ const workspaceID = input.id ?? ID14.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node49 = configured5();
245
+ var node69 = configured7();
246
246
 
247
- export { ID8, Info10, NotFound2, CreateConflict2, Service46, configured5, node49, exports_workspace };
247
+ export { ID14, Info16, NotFound2, CreateConflict2, Service68, configured7, node69, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  which2
3
- } from "./kv-qaymkmh1.js";
3
+ } from "./shell-qaymkmh1.js";
4
4
  import {
5
5
  load3
6
- } from "./kv-tr8x705m.js";
6
+ } from "./shell-tr8x705m.js";
7
7
  import {
8
8
  create2
9
- } from "./kv-44pmzq9c.js";
9
+ } from "./shell-44pmzq9c.js";
10
10
  import {
11
11
  __export
12
- } from "./kv-9rqn6x4v.js";
12
+ } from "./shell-9rqn6x4v.js";
13
13
 
14
14
  // src/plugin/provider/claude-agent/claude/io.ts
15
15
  var exports_io = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./kv-0ma9gw4f.js";
4
+ } from "./shell-0ma9gw4f.js";
5
5
  import {
6
- Service79,
7
- node82
8
- } from "./kv-jttrxpyp.js";
6
+ Service80,
7
+ node83
8
+ } from "./shell-vcfmjhsk.js";
9
9
  import {
10
- Service66,
11
- node69
12
- } from "./kv-38sgh7nx.js";
10
+ Service78,
11
+ node81
12
+ } from "./shell-d4jcffkv.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./kv-wnhgecwx.js";
15
+ } from "./shell-wnhgecwx.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate = {};
22
- __export(exports_generate, {
23
- Generate: () => exports_generate,
21
+ var exports_generate2 = {};
22
+ __export(exports_generate2, {
23
+ Generate: () => exports_generate2,
24
24
  InvalidRequestError: () => InvalidRequestError3,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service18,
29
- UnavailableError: () => UnavailableError3,
28
+ Service: () => Service77,
29
+ UnavailableError: () => UnavailableError4,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer10,
32
- node: () => node21
31
+ layer: () => layer24,
32
+ node: () => node80
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service18 extends Context.Service()("@opencode/Generate") {
84
+ class Service77 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer10 = Layer.effect(Service18, Effect.gen(function* () {
86
+ var layer24 = Layer.effect(Service77, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service66;
89
- const models = yield* Service79;
88
+ const resolver = yield* Service78;
89
+ const models = yield* Service80;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(ai.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
- return Service18.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
+ return Service77.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node21 = makeLocationNode({
219
- service: Service18,
220
- layer: layer10,
221
- deps: [node69, node82, llmClient2, requestExecutor2]
218
+ var node80 = makeLocationNode({
219
+ service: Service77,
220
+ layer: layer24,
221
+ deps: [node81, node83, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service18, layer10, node21, exports_generate };
224
+ export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service77, layer24, node80, exports_generate2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./kv-z5v4ffb3.js";
4
+ } from "./shell-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./kv-4d2dtj2f.js";
7
+ } from "./shell-4d2dtj2f.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./kv-rb9dy4dg.js";
12
+ } from "./shell-rb9dy4dg.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./kv-sa3fpqfw.js";
15
+ } from "./shell-sa3fpqfw.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./shell-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -24,11 +24,11 @@ __export(exports_git3, {
24
24
  Git: () => exports_git3,
25
25
  OperationError: () => OperationError3,
26
26
  Repository: () => Repository2,
27
- Service: () => Service88,
27
+ Service: () => Service84,
28
28
  TreeID: () => TreeID2,
29
29
  Worktree: () => Worktree2,
30
30
  WorktreeError: () => WorktreeError2,
31
- node: () => node91
31
+ node: () => node87
32
32
  });
33
33
  import os from "os";
34
34
  import path from "path";
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
109
109
  }) {
110
110
  }
111
111
 
112
- class Service88 extends Context.Service()("@opencode/Git") {
112
+ class Service84 extends Context.Service()("@opencode/Git") {
113
113
  }
114
- var layer = Layer.effect(Service88, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
115
115
  const fs = yield* FSUtil.Service;
116
116
  const proc = yield* AppProcess.Service;
117
117
  const locks = makeUnsafe2();
@@ -834,7 +834,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
834
834
  kind: index === 0 ? "main" : "linked"
835
835
  }));
836
836
  });
837
- return Service88.of({
837
+ return Service84.of({
838
838
  repo: { discover, fingerprint, clone, create },
839
839
  remote: { get: remote },
840
840
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -851,7 +851,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
851
851
  objects: { pack: packObjects }
852
852
  });
853
853
  }));
854
- var node91 = makeGlobalNode({ service: Service88, layer, deps: [FSUtil.node, AppProcess.node] });
854
+ var node87 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
855
855
  function run(cwd, proc, args) {
856
856
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
857
857
  }
@@ -918,4 +918,4 @@ function resolvePath(cwd, value) {
918
918
  return path.resolve(cwd, normalized);
919
919
  }
920
920
 
921
- export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service88, node91, exports_git3 };
921
+ export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service84, node87, exports_git3 };