@opencode/core 0.0.0-dev-1296 → 0.0.0-dev-1297

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 (913) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +252 -252
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{model-retry-3k8betg3.js → tool-output-00tn74xw.js} +23 -23
  9. package/dist/chunks/{model-retry-j0hy5st1.js → tool-output-07pjn45g.js} +28 -28
  10. package/dist/chunks/{model-retry-b2adpddk.js → tool-output-097n65nv.js} +15 -15
  11. package/dist/chunks/{model-retry-a5hn6end.js → tool-output-0d3npgtp.js} +3 -3
  12. package/dist/chunks/{model-retry-0fvxehme.js → tool-output-0fvxehme.js} +2 -2
  13. package/dist/chunks/{model-retry-9xf3pksr.js → tool-output-0g9zm4m8.js} +20 -20
  14. package/dist/chunks/{model-retry-4v4b6x27.js → tool-output-0pc59a0n.js} +24 -24
  15. package/dist/chunks/{model-retry-xeeabgfh.js → tool-output-0raqdzdp.js} +10 -10
  16. package/dist/chunks/{model-retry-76can8nc.js → tool-output-0smddadw.js} +20 -20
  17. package/dist/chunks/{model-retry-vm0473yf.js → tool-output-0zvg0tcx.js} +18 -18
  18. package/dist/chunks/{model-retry-0qdv0842.js → tool-output-12m872qf.js} +12 -12
  19. package/dist/chunks/{model-retry-328bf5fx.js → tool-output-12qy29rk.js} +18 -18
  20. package/dist/chunks/{model-retry-q69fea8d.js → tool-output-17wdez1g.js} +3 -3
  21. package/dist/chunks/{model-retry-c3fgcd3v.js → tool-output-185nt9tx.js} +32 -32
  22. package/dist/chunks/{model-retry-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
  23. package/dist/chunks/{model-retry-5r4v1zkh.js → tool-output-1awffag3.js} +4 -4
  24. package/dist/chunks/{model-retry-bmxgvxbw.js → tool-output-1e29nfvb.js} +10 -10
  25. package/dist/chunks/{model-retry-gfq64twp.js → tool-output-1nx0f6sm.js} +9 -9
  26. package/dist/chunks/{model-retry-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{model-retry-neknd9vt.js → tool-output-25420gcv.js} +35 -35
  28. package/dist/chunks/{model-retry-26wfx3k0.js → tool-output-26wfx3k0.js} +1 -1
  29. package/dist/chunks/{model-retry-1ep2p91f.js → tool-output-27w5k9zf.js} +2 -2
  30. package/dist/chunks/{model-retry-hn8kcxz7.js → tool-output-2a7g6nbn.js} +21 -21
  31. package/dist/chunks/{model-retry-ee2edeb1.js → tool-output-2b0yjqf5.js} +4 -4
  32. package/dist/chunks/{model-retry-g5hm9gne.js → tool-output-2ekmpj3v.js} +28 -28
  33. package/dist/chunks/{model-retry-2fc7eemy.js → tool-output-2fc7eemy.js} +1 -1
  34. package/dist/chunks/{model-retry-qtf35215.js → tool-output-2n444ktb.js} +3 -3
  35. package/dist/chunks/{model-retry-5z2vgqsy.js → tool-output-2pc3cc01.js} +15 -15
  36. package/dist/chunks/{model-retry-nqhzmekw.js → tool-output-2zzxwx70.js} +26 -26
  37. package/dist/chunks/{model-retry-4ygb74tw.js → tool-output-31avdb49.js} +8 -8
  38. package/dist/chunks/{model-retry-8rs0m7ne.js → tool-output-34n4fxjh.js} +22 -22
  39. package/dist/chunks/{model-retry-t61eas2m.js → tool-output-34x7qexp.js} +8 -8
  40. package/dist/chunks/{model-retry-zdn1ptym.js → tool-output-36tts5yb.js} +17 -17
  41. package/dist/chunks/{model-retry-15pbjvhv.js → tool-output-3737d3b5.js} +3 -3
  42. package/dist/chunks/{model-retry-a84bsdq1.js → tool-output-375dhvyd.js} +2 -2
  43. package/dist/chunks/{model-retry-xjbsd7zy.js → tool-output-3adw4bt5.js} +9 -9
  44. package/dist/chunks/{model-retry-ayjs7tqn.js → tool-output-3cbjf1nt.js} +2 -2
  45. package/dist/chunks/{model-retry-sk5qsbcw.js → tool-output-3em2z4he.js} +5 -5
  46. package/dist/chunks/{model-retry-sjzs80zr.js → tool-output-3ew8j3zv.js} +24 -24
  47. package/dist/chunks/{model-retry-1ra3771t.js → tool-output-3f261ghb.js} +5 -5
  48. package/dist/chunks/{model-retry-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{model-retry-55phx77e.js → tool-output-3j7hx6c1.js} +7 -7
  50. package/dist/chunks/{model-retry-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{model-retry-7zs4mqwf.js → tool-output-3qgwywyc.js} +4 -4
  52. package/dist/chunks/{model-retry-3tnz5sgn.js → tool-output-3tt6s45g.js} +9 -9
  53. package/dist/chunks/{model-retry-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
  54. package/dist/chunks/{model-retry-40za9wsf.js → tool-output-40za9wsf.js} +2 -2
  55. package/dist/chunks/{model-retry-dg51p885.js → tool-output-43pkpfnv.js} +74 -74
  56. package/dist/chunks/{model-retry-71fn3hf3.js → tool-output-48910wn5.js} +42 -42
  57. package/dist/chunks/{model-retry-v99gtden.js → tool-output-48qcwzv0.js} +14 -14
  58. package/dist/chunks/{model-retry-kr143xzh.js → tool-output-4avh1g83.js} +8 -8
  59. package/dist/chunks/{model-retry-zqaq7e3k.js → tool-output-4aw0q114.js} +19 -19
  60. package/dist/chunks/{model-retry-c5m2a8vb.js → tool-output-4dtvemx5.js} +8 -8
  61. package/dist/chunks/{model-retry-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{model-retry-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{model-retry-wmsn6fsz.js → tool-output-4gn6w73f.js} +11 -11
  64. package/dist/chunks/{model-retry-pwhf257g.js → tool-output-4ht8npmp.js} +37 -37
  65. package/dist/chunks/{model-retry-w1e5009d.js → tool-output-4qpf2scx.js} +5 -5
  66. package/dist/chunks/{model-retry-rjg17fm7.js → tool-output-4sxf1d4g.js} +13 -13
  67. package/dist/chunks/{model-retry-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
  68. package/dist/chunks/{model-retry-rbt238x6.js → tool-output-4wpfyc8f.js} +11 -11
  69. package/dist/chunks/{model-retry-v6bymc68.js → tool-output-4wr7st1v.js} +25 -25
  70. package/dist/chunks/{model-retry-gfkj8pg2.js → tool-output-4yrx7mw2.js} +14 -14
  71. package/dist/chunks/{model-retry-7n1c2gf8.js → tool-output-583kyzns.js} +29 -29
  72. package/dist/chunks/{model-retry-dkmvggzp.js → tool-output-5at5veyd.js} +4 -4
  73. package/dist/chunks/{model-retry-80zs2z7e.js → tool-output-5jmk5a3n.js} +18 -18
  74. package/dist/chunks/{model-retry-w87hzrb3.js → tool-output-5m6a7xby.js} +6 -6
  75. package/dist/chunks/{model-retry-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
  76. package/dist/chunks/{model-retry-2r85g90k.js → tool-output-5q5qyynj.js} +14 -14
  77. package/dist/chunks/{model-retry-mqmkyzwr.js → tool-output-5qqpdn12.js} +3 -3
  78. package/dist/chunks/{model-retry-495vdj1c.js → tool-output-5thev09r.js} +8 -8
  79. package/dist/chunks/{model-retry-me10dk9t.js → tool-output-62zvb7fc.js} +12 -12
  80. package/dist/chunks/{model-retry-20fq0wad.js → tool-output-66mq5zqq.js} +19 -19
  81. package/dist/chunks/{model-retry-haqhc53f.js → tool-output-6abskgmt.js} +7 -7
  82. package/dist/chunks/{model-retry-3dqq9gn5.js → tool-output-6eywrmd8.js} +1 -1
  83. package/dist/chunks/{model-retry-53jrkz5f.js → tool-output-6fw0tg75.js} +5 -5
  84. package/dist/chunks/{model-retry-dhv4mfxz.js → tool-output-6hvaf9a9.js} +49 -49
  85. package/dist/chunks/{model-retry-2w22t8ax.js → tool-output-6qhcrw7w.js} +37 -37
  86. package/dist/chunks/{model-retry-agje4kmn.js → tool-output-6y2b864j.js} +4 -4
  87. package/dist/chunks/{model-retry-3k7mf083.js → tool-output-71sesd5c.js} +9 -9
  88. package/dist/chunks/{model-retry-f6mssv9c.js → tool-output-765g4m9b.js} +16 -16
  89. package/dist/chunks/{model-retry-pde2d58k.js → tool-output-7778z8aw.js} +23 -23
  90. package/dist/chunks/{model-retry-jfpz2mnn.js → tool-output-79p981ds.js} +6 -6
  91. package/dist/chunks/{model-retry-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{model-retry-sbzezcpx.js → tool-output-7f840skq.js} +8 -8
  93. package/dist/chunks/{model-retry-c5mv65df.js → tool-output-7jqnmm0z.js} +12 -5
  94. package/dist/chunks/{model-retry-8vyyfba0.js → tool-output-7qk6r02p.js} +11 -11
  95. package/dist/chunks/{model-retry-7tx5zndv.js → tool-output-7tx5zndv.js} +2 -2
  96. package/dist/chunks/{model-retry-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
  97. package/dist/chunks/{model-retry-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
  98. package/dist/chunks/{model-retry-7r81nz66.js → tool-output-7x817vwp.js} +41 -41
  99. package/dist/chunks/{model-retry-6tndtenk.js → tool-output-7y233aje.js} +24 -24
  100. package/dist/chunks/{model-retry-775hqbnd.js → tool-output-80mg3ag8.js} +3 -3
  101. package/dist/chunks/{model-retry-80pdk984.js → tool-output-80pdk984.js} +1 -1
  102. package/dist/chunks/{model-retry-gz1wv23a.js → tool-output-82bdt3jr.js} +18 -18
  103. package/dist/chunks/{model-retry-85jq8dht.js → tool-output-85jq8dht.js} +1 -1
  104. package/dist/chunks/{model-retry-e3jjhejk.js → tool-output-893czykm.js} +41 -41
  105. package/dist/chunks/{model-retry-8b3vzgkx.js → tool-output-8b3vzgkx.js} +1 -1
  106. package/dist/chunks/{model-retry-7vz66qdt.js → tool-output-8cbf301r.js} +3 -3
  107. package/dist/chunks/{model-retry-s84es42m.js → tool-output-8exmes7c.js} +1 -1
  108. package/dist/chunks/{model-retry-8kjyvwy5.js → tool-output-8kjyvwy5.js} +1 -1
  109. package/dist/chunks/{model-retry-txcpr02b.js → tool-output-8rhvz3y5.js} +13 -13
  110. package/dist/chunks/{model-retry-yjrgmzdq.js → tool-output-8tyhrz71.js} +44 -44
  111. package/dist/chunks/{model-retry-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
  112. package/dist/chunks/{model-retry-q52a0xmm.js → tool-output-8wy1cd40.js} +11 -11
  113. package/dist/chunks/{model-retry-xfchhe29.js → tool-output-8y9tz2j7.js} +50 -50
  114. package/dist/chunks/{model-retry-mb7mbhnz.js → tool-output-8z6m94af.js} +3 -3
  115. package/dist/chunks/{model-retry-8zv0xmg5.js → tool-output-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{model-retry-k46zft5f.js → tool-output-92djjtjs.js} +36 -36
  117. package/dist/chunks/{model-retry-z6gkct3a.js → tool-output-943nh4ze.js} +9 -9
  118. package/dist/chunks/{model-retry-wqgsq883.js → tool-output-943zv55c.js} +12 -12
  119. package/dist/chunks/{model-retry-6jz6cj67.js → tool-output-94ad2kz0.js} +5 -5
  120. package/dist/chunks/{model-retry-667wgg12.js → tool-output-94fxvfyc.js} +20 -20
  121. package/dist/chunks/{model-retry-963hk181.js → tool-output-963hk181.js} +2 -2
  122. package/dist/chunks/{model-retry-zq2w2t7s.js → tool-output-96mjamgd.js} +12 -12
  123. package/dist/chunks/{model-retry-57wgnfy6.js → tool-output-98rd8r57.js} +2 -2
  124. package/dist/chunks/{model-retry-3d85xyf4.js → tool-output-9ce98hmn.js} +362 -362
  125. package/dist/chunks/{model-retry-fkkr4y2t.js → tool-output-9qzrt0zj.js} +26 -26
  126. package/dist/chunks/{model-retry-yv09dmea.js → tool-output-9t96z90j.js} +9 -9
  127. package/dist/chunks/{model-retry-yj4sw9dy.js → tool-output-9tbngfpq.js} +3 -3
  128. package/dist/chunks/{model-retry-61qraad9.js → tool-output-9zwexsxs.js} +5 -5
  129. package/dist/chunks/{model-retry-x150ncgg.js → tool-output-a3fn0gmm.js} +2 -2
  130. package/dist/chunks/{model-retry-a610t88q.js → tool-output-a610t88q.js} +1 -1
  131. package/dist/chunks/{model-retry-2s9mae96.js → tool-output-a6s57dw6.js} +6 -6
  132. package/dist/chunks/{model-retry-5dshr504.js → tool-output-ae7jwmty.js} +7 -7
  133. package/dist/chunks/{model-retry-034tev2y.js → tool-output-aj7mw0zk.js} +2 -2
  134. package/dist/chunks/{model-retry-anvcme1c.js → tool-output-anvcme1c.js} +1 -1
  135. package/dist/chunks/{model-retry-ztmds42j.js → tool-output-av6fre5x.js} +5 -5
  136. package/dist/chunks/{model-retry-sc61rjh5.js → tool-output-avgm60nc.js} +9 -9
  137. package/dist/chunks/{model-retry-vdxwczv6.js → tool-output-b1vrb478.js} +50 -50
  138. package/dist/chunks/{model-retry-p6k55dzp.js → tool-output-b4bpngzw.js} +26 -26
  139. package/dist/chunks/{model-retry-r499zw42.js → tool-output-b5nk2130.js} +81 -81
  140. package/dist/chunks/{model-retry-fcq3f784.js → tool-output-b8te8n20.js} +8 -8
  141. package/dist/chunks/{model-retry-v5d3jf35.js → tool-output-bac4khx9.js} +11 -11
  142. package/dist/chunks/{model-retry-8sxe6kv8.js → tool-output-bb3mmwvh.js} +2 -2
  143. package/dist/chunks/{model-retry-15q0ymzx.js → tool-output-bbxdkdfq.js} +13 -13
  144. package/dist/chunks/{model-retry-9kb7cvqj.js → tool-output-bnwd5p44.js} +11 -11
  145. package/dist/chunks/{model-retry-kh0hrg97.js → tool-output-btnkw9ag.js} +4 -4
  146. package/dist/chunks/{model-retry-xk90d7ar.js → tool-output-c3164qy2.js} +30 -30
  147. package/dist/chunks/{model-retry-c5zvymhv.js → tool-output-c5zvymhv.js} +1 -1
  148. package/dist/chunks/{model-retry-nsdn2f4g.js → tool-output-c8y3ng4c.js} +12 -12
  149. package/dist/chunks/{model-retry-2edbhpy5.js → tool-output-cd5q8yw3.js} +9 -9
  150. package/dist/chunks/{model-retry-3sjmqfd8.js → tool-output-ce0gxeev.js} +13 -13
  151. package/dist/chunks/{model-retry-pgtkf8d9.js → tool-output-cgg3nk45.js} +30 -30
  152. package/dist/chunks/{model-retry-4v0y3s2e.js → tool-output-ck3jy9jz.js} +26 -26
  153. package/dist/chunks/{model-retry-etv4jxej.js → tool-output-cm7nfh91.js} +3 -3
  154. package/dist/chunks/{model-retry-4h47fwz8.js → tool-output-ctcn9cg4.js} +23 -23
  155. package/dist/chunks/{model-retry-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
  156. package/dist/chunks/{model-retry-h4yybdgt.js → tool-output-d29c5j98.js} +9 -9
  157. package/dist/chunks/{model-retry-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
  158. package/dist/chunks/{model-retry-cr571syx.js → tool-output-d6p984z7.js} +12 -12
  159. package/dist/chunks/{model-retry-ey111c4r.js → tool-output-d93erz9q.js} +5 -5
  160. package/dist/chunks/{model-retry-68j4m5qv.js → tool-output-dekdxaz1.js} +11 -11
  161. package/dist/chunks/{model-retry-xnc04a8y.js → tool-output-dppfekhy.js} +13 -13
  162. package/dist/chunks/{model-retry-qyafh6c0.js → tool-output-dsdtbx6t.js} +7 -7
  163. package/dist/chunks/{model-retry-tr3c1hr0.js → tool-output-dsrcs0db.js} +11 -11
  164. package/dist/chunks/{model-retry-dt77769w.js → tool-output-dt77769w.js} +1 -1
  165. package/dist/chunks/{model-retry-jbx2ytam.js → tool-output-dvz4cp0t.js} +2 -2
  166. package/dist/chunks/{model-retry-zjvqphdj.js → tool-output-dwrq2ff0.js} +11 -11
  167. package/dist/chunks/{model-retry-fvy19nrt.js → tool-output-dwtj67ns.js} +15 -15
  168. package/dist/chunks/{model-retry-3zakkr5m.js → tool-output-dzedhk5f.js} +22 -22
  169. package/dist/chunks/{model-retry-4f8ypqyw.js → tool-output-ebba37g6.js} +2 -2
  170. package/dist/chunks/{model-retry-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
  171. package/dist/chunks/{model-retry-txq0kcg0.js → tool-output-ermqmx0e.js} +18 -18
  172. package/dist/chunks/{model-retry-dt5a52ky.js → tool-output-ey9kdhht.js} +2 -2
  173. package/dist/chunks/{model-retry-6xqsykwa.js → tool-output-eyep3375.js} +90 -90
  174. package/dist/chunks/{model-retry-psf2cz52.js → tool-output-fb3avabz.js} +11 -11
  175. package/dist/chunks/{model-retry-fnrhryqq.js → tool-output-fnrhryqq.js} +1 -1
  176. package/dist/chunks/{model-retry-7az9823q.js → tool-output-fw4fd2n6.js} +4 -4
  177. package/dist/chunks/{model-retry-1yped5qa.js → tool-output-fznmdakp.js} +4 -4
  178. package/dist/chunks/{model-retry-g4txs7zc.js → tool-output-g4txs7zc.js} +4 -4
  179. package/dist/chunks/{model-retry-apgx4zf7.js → tool-output-g844nwvy.js} +13 -13
  180. package/dist/chunks/{model-retry-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
  181. package/dist/chunks/{model-retry-pcjhzmpm.js → tool-output-gesjets7.js} +11 -11
  182. package/dist/chunks/{model-retry-gxs71cxp.js → tool-output-gxs71cxp.js} +1 -1
  183. package/dist/chunks/{model-retry-ag6d02bt.js → tool-output-h1fsnw74.js} +18 -18
  184. package/dist/chunks/tool-output-h5t3apvc.js +35 -0
  185. package/dist/chunks/{model-retry-927fj99d.js → tool-output-h9beesa2.js} +17 -17
  186. package/dist/chunks/{model-retry-4bfnqy0c.js → tool-output-h9gjv8v3.js} +10 -10
  187. package/dist/chunks/{model-retry-hgzwgvze.js → tool-output-hgzwgvze.js} +2 -2
  188. package/dist/chunks/{model-retry-10pn4eb5.js → tool-output-hj0xet7m.js} +5 -5
  189. package/dist/chunks/{model-retry-2749z806.js → tool-output-hm7tfban.js} +14 -14
  190. package/dist/chunks/{model-retry-7j1a3wmk.js → tool-output-j0n6w2e3.js} +11 -11
  191. package/dist/chunks/{model-retry-xyv3z5gg.js → tool-output-j0yr2xej.js} +28 -28
  192. package/dist/chunks/{model-retry-et3bggtj.js → tool-output-j1p040vg.js} +16 -16
  193. package/dist/chunks/{model-retry-j376ae4e.js → tool-output-j376ae4e.js} +1 -1
  194. package/dist/chunks/{model-retry-q0q5p15d.js → tool-output-j8mfx5qn.js} +8 -8
  195. package/dist/chunks/{model-retry-akfm4532.js → tool-output-j9ne08cm.js} +8 -8
  196. package/dist/chunks/{model-retry-3wdg2vz7.js → tool-output-jhmkfb1g.js} +18 -18
  197. package/dist/chunks/{model-retry-jja1z2vg.js → tool-output-jja1z2vg.js} +4 -4
  198. package/dist/chunks/{model-retry-4fqb7bj2.js → tool-output-jkz9hm8s.js} +4 -4
  199. package/dist/chunks/{model-retry-jm70asfg.js → tool-output-jm70asfg.js} +1 -1
  200. package/dist/chunks/{model-retry-k2kne4hj.js → tool-output-jpv10xns.js} +30 -30
  201. package/dist/chunks/{model-retry-6vhg36rj.js → tool-output-jqztd8gr.js} +9 -9
  202. package/dist/chunks/{model-retry-jxd6f16v.js → tool-output-jxd6f16v.js} +2 -2
  203. package/dist/chunks/{model-retry-3m2czhe6.js → tool-output-jz2mpads.js} +6 -6
  204. package/dist/chunks/{model-retry-cay00gdv.js → tool-output-k10mvm5q.js} +29 -29
  205. package/dist/chunks/{model-retry-rzgzmmsy.js → tool-output-k53ebp1q.js} +18 -18
  206. package/dist/chunks/{model-retry-v2jmw1hp.js → tool-output-kava32wg.js} +7 -7
  207. package/dist/chunks/{model-retry-8ck4vskz.js → tool-output-kgfb7q3s.js} +34 -34
  208. package/dist/chunks/{model-retry-t1bc5svt.js → tool-output-kgvdfgff.js} +8 -8
  209. package/dist/chunks/{model-retry-3kzj6mg1.js → tool-output-kk6p03vc.js} +28 -28
  210. package/dist/chunks/{model-retry-9zfcngb4.js → tool-output-kn4zqwcq.js} +3 -3
  211. package/dist/chunks/{model-retry-d58fy8mx.js → tool-output-kq4fsc21.js} +42 -42
  212. package/dist/chunks/{model-retry-zssj66mt.js → tool-output-kqzdf1mx.js} +18 -18
  213. package/dist/chunks/{model-retry-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
  214. package/dist/chunks/{model-retry-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
  215. package/dist/chunks/{model-retry-kzdam8c6.js → tool-output-kzdam8c6.js} +2 -2
  216. package/dist/chunks/{model-retry-3xwdqzn1.js → tool-output-m0f1jrtd.js} +14 -14
  217. package/dist/chunks/{model-retry-m1714858.js → tool-output-m1714858.js} +1 -1
  218. package/dist/chunks/{model-retry-4dfqsw0d.js → tool-output-m4p4r8nc.js} +4 -4
  219. package/dist/chunks/{model-retry-0t4nwps0.js → tool-output-m6cfdtf3.js} +4 -4
  220. package/dist/chunks/{model-retry-txe55pgv.js → tool-output-m7007fgs.js} +4 -4
  221. package/dist/chunks/{model-retry-m90tx7mw.js → tool-output-m90tx7mw.js} +1 -1
  222. package/dist/chunks/{model-retry-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{model-retry-8kztn3dj.js → tool-output-mb8pxd7d.js} +8 -8
  224. package/dist/chunks/{model-retry-b7nkz392.js → tool-output-me215f18.js} +1 -1
  225. package/dist/chunks/{model-retry-7mkaydvr.js → tool-output-mhh0gvaj.js} +16 -16
  226. package/dist/chunks/{model-retry-2kv0k6r1.js → tool-output-mjbeqs7y.js} +9 -9
  227. package/dist/chunks/tool-output-mjtp0h49.js +26 -0
  228. package/dist/chunks/{model-retry-625axahf.js → tool-output-mjwhre59.js} +5 -5
  229. package/dist/chunks/{model-retry-nqnhdn1e.js → tool-output-mnrt2f46.js} +25 -25
  230. package/dist/chunks/{model-retry-q963thn8.js → tool-output-mr8m8yd2.js} +4 -4
  231. package/dist/chunks/{model-retry-mwnxvxbk.js → tool-output-mwnxvxbk.js} +1 -1
  232. package/dist/chunks/{model-retry-kb8grmy4.js → tool-output-n23r22p1.js} +22 -22
  233. package/dist/chunks/{model-retry-n320gsn2.js → tool-output-n320gsn2.js} +1 -1
  234. package/dist/chunks/{model-retry-j6y0smqe.js → tool-output-n6vr15z6.js} +12 -12
  235. package/dist/chunks/{model-retry-e5ax2xrh.js → tool-output-n9ahkepv.js} +7 -7
  236. package/dist/chunks/{model-retry-dm80djc7.js → tool-output-nbwtt1a5.js} +22 -22
  237. package/dist/chunks/{model-retry-1fsgeav2.js → tool-output-ncmbkp6w.js} +50 -50
  238. package/dist/chunks/{model-retry-xwagvjey.js → tool-output-nj6phe7f.js} +13 -13
  239. package/dist/chunks/{model-retry-vjmraqjf.js → tool-output-njv6mm8y.js} +28 -28
  240. package/dist/chunks/{model-retry-4mhgjeaw.js → tool-output-nkaf1g71.js} +9 -9
  241. package/dist/chunks/{model-retry-ks693xed.js → tool-output-nrzatqgv.js} +10 -10
  242. package/dist/chunks/{model-retry-1dtzyf2w.js → tool-output-nsc491tc.js} +27 -27
  243. package/dist/chunks/{model-retry-wegkxhrn.js → tool-output-nx4vzyjd.js} +2 -2
  244. package/dist/chunks/{model-retry-nwmfh7bd.js → tool-output-p0a0cwz5.js} +23 -23
  245. package/dist/chunks/{model-retry-mze7znq0.js → tool-output-p3gecn2d.js} +10 -10
  246. package/dist/chunks/{model-retry-spb4g8aj.js → tool-output-p3zyd7kt.js} +8 -8
  247. package/dist/chunks/{model-retry-ysbfp3jb.js → tool-output-p4cmv6wx.js} +3 -3
  248. package/dist/chunks/{model-retry-4exqcqyt.js → tool-output-p4qgh5tp.js} +17 -17
  249. package/dist/chunks/{model-retry-bq6zz71s.js → tool-output-p5e2tvxb.js} +19 -19
  250. package/dist/chunks/{model-retry-p5tk1xdz.js → tool-output-p5tk1xdz.js} +4 -4
  251. package/dist/chunks/{model-retry-cde8qab1.js → tool-output-p61adxpn.js} +11 -11
  252. package/dist/chunks/{model-retry-1yq9hg58.js → tool-output-p7vhpwh8.js} +5 -5
  253. package/dist/chunks/{model-retry-64fy8m1r.js → tool-output-p8t97w5n.js} +9 -9
  254. package/dist/chunks/{model-retry-h09zepvb.js → tool-output-phha5j89.js} +10 -10
  255. package/dist/chunks/{model-retry-pknna89w.js → tool-output-pknna89w.js} +1 -1
  256. package/dist/chunks/{model-retry-8c5thnyc.js → tool-output-pkzp018n.js} +4 -4
  257. package/dist/chunks/{model-retry-3n83wc2c.js → tool-output-pp4es8y0.js} +6 -6
  258. package/dist/chunks/{model-retry-fg9p65nk.js → tool-output-prq7xxp2.js} +6 -6
  259. package/dist/chunks/{model-retry-nrrvmsf7.js → tool-output-pvasr7tj.js} +4 -4
  260. package/dist/chunks/{model-retry-r8623cwy.js → tool-output-pydtmsy2.js} +14 -14
  261. package/dist/chunks/{model-retry-kyefafz7.js → tool-output-q2cpsarb.js} +10 -10
  262. package/dist/chunks/{model-retry-7vhxchqw.js → tool-output-q5hxjqd0.js} +26 -26
  263. package/dist/chunks/{model-retry-fd06pqyn.js → tool-output-q7n88zjf.js} +7 -7
  264. package/dist/chunks/{model-retry-cvntc25c.js → tool-output-qe7pm9kb.js} +5 -5
  265. package/dist/chunks/{model-retry-qfz6bxfd.js → tool-output-qfz6bxfd.js} +1 -1
  266. package/dist/chunks/tool-output-qg49xspf.js +273 -0
  267. package/dist/chunks/{model-retry-6h8vcvjm.js → tool-output-qh5g3qaw.js} +9 -9
  268. package/dist/chunks/{model-retry-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
  269. package/dist/chunks/{model-retry-dbbkyw7c.js → tool-output-qtqtmqgs.js} +22 -22
  270. package/dist/chunks/{model-retry-ss6cpaky.js → tool-output-qw1w4c69.js} +4 -4
  271. package/dist/chunks/{model-retry-5s5sf5ct.js → tool-output-qz76xp85.js} +17 -17
  272. package/dist/chunks/{model-retry-dhhwsjs6.js → tool-output-r73129ya.js} +50 -50
  273. package/dist/chunks/{model-retry-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
  274. package/dist/chunks/{model-retry-349apszt.js → tool-output-rc487wde.js} +32 -32
  275. package/dist/chunks/{model-retry-fstdtr31.js → tool-output-rcbjwvze.js} +4 -4
  276. package/dist/chunks/{model-retry-f2zjpyt5.js → tool-output-rdg052zg.js} +5 -5
  277. package/dist/chunks/{model-retry-rgc9cx3e.js → tool-output-rgc9cx3e.js} +2 -2
  278. package/dist/chunks/{model-retry-s1ba0vj0.js → tool-output-s1ba0vj0.js} +2 -2
  279. package/dist/chunks/{model-retry-2ytp0tvq.js → tool-output-s47rahr7.js} +4 -4
  280. package/dist/chunks/{model-retry-n8kyszt2.js → tool-output-s7z48b5w.js} +6 -6
  281. package/dist/chunks/{model-retry-dmtr0n9v.js → tool-output-s9ny2dad.js} +146 -146
  282. package/dist/chunks/{model-retry-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
  283. package/dist/chunks/{model-retry-2grzewjw.js → tool-output-sdkka26g.js} +22 -22
  284. package/dist/chunks/{model-retry-ghrv1g9c.js → tool-output-sdt5j0rm.js} +4 -4
  285. package/dist/chunks/{model-retry-j98b4kym.js → tool-output-sktgxqbh.js} +11 -11
  286. package/dist/chunks/{model-retry-ewjgt5mg.js → tool-output-std290kj.js} +10 -10
  287. package/dist/chunks/{model-retry-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
  288. package/dist/chunks/{model-retry-r1wj65t2.js → tool-output-svq6b8q7.js} +29 -29
  289. package/dist/chunks/{model-retry-t48jrnqq.js → tool-output-t48jrnqq.js} +1 -1
  290. package/dist/chunks/{model-retry-wwwhnnrb.js → tool-output-tabx0ch9.js} +12 -12
  291. package/dist/chunks/{model-retry-tbpn7jtk.js → tool-output-tbpn7jtk.js} +1 -1
  292. package/dist/chunks/{model-retry-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
  293. package/dist/chunks/{model-retry-d5n845vw.js → tool-output-tdk4pz0t.js} +11 -11
  294. package/dist/chunks/{model-retry-kmzgegqq.js → tool-output-tg1vr1qt.js} +8 -8
  295. package/dist/chunks/{model-retry-bbyh8hwm.js → tool-output-tgkqbb5t.js} +4 -4
  296. package/dist/chunks/{model-retry-tmq9jgfn.js → tool-output-tj786yf5.js} +33 -33
  297. package/dist/chunks/{model-retry-m350zk4x.js → tool-output-tm6bf2dc.js} +4 -4
  298. package/dist/chunks/{model-retry-aq48hhzx.js → tool-output-tnr70dfe.js} +20 -20
  299. package/dist/chunks/{model-retry-tvtps2q9.js → tool-output-tvtps2q9.js} +1 -1
  300. package/dist/chunks/{model-retry-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
  301. package/dist/chunks/{model-retry-yydqqga9.js → tool-output-tx91wa5k.js} +4 -4
  302. package/dist/chunks/{model-retry-kggmge9g.js → tool-output-v032wgv8.js} +14 -14
  303. package/dist/chunks/{model-retry-mf63ygpr.js → tool-output-v0t96s7a.js} +4 -4
  304. package/dist/chunks/{model-retry-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
  305. package/dist/chunks/{model-retry-p1hn1ay8.js → tool-output-vfwnsz88.js} +3 -3
  306. package/dist/chunks/{model-retry-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
  307. package/dist/chunks/{model-retry-jkdcm5hg.js → tool-output-vmxsyvj6.js} +4 -4
  308. package/dist/chunks/{model-retry-hgvzfra1.js → tool-output-vqzffxap.js} +13 -13
  309. package/dist/chunks/{model-retry-bfpzgz6w.js → tool-output-vtz9thd2.js} +5 -5
  310. package/dist/chunks/{model-retry-bq828n5y.js → tool-output-w3fk54e7.js} +29 -29
  311. package/dist/chunks/{model-retry-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  312. package/dist/chunks/{model-retry-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{model-retry-q2qn9pec.js → tool-output-wcv1kw9r.js} +3 -3
  314. package/dist/chunks/{model-retry-wd87259q.js → tool-output-wd87259q.js} +1 -1
  315. package/dist/chunks/{model-retry-18hbsgcw.js → tool-output-wk65tmzt.js} +10 -10
  316. package/dist/chunks/{model-retry-a0h9n4yn.js → tool-output-wx2w0d80.js} +19 -19
  317. package/dist/chunks/{model-retry-g4nrtg52.js → tool-output-wxzh8jwz.js} +17 -17
  318. package/dist/chunks/{model-retry-kv5h436t.js → tool-output-wydfnpen.js} +19 -19
  319. package/dist/chunks/{model-retry-edm37t96.js → tool-output-wyrr125q.js} +6 -6
  320. package/dist/chunks/{model-retry-bmg41xmg.js → tool-output-wz0rthyq.js} +37 -37
  321. package/dist/chunks/{model-retry-815bscc5.js → tool-output-x25cg35y.js} +7 -7
  322. package/dist/chunks/{model-retry-8h6qcqsp.js → tool-output-x9qrbejn.js} +21 -21
  323. package/dist/chunks/{model-retry-h8v758tv.js → tool-output-xa3zdbt8.js} +4 -4
  324. package/dist/chunks/{model-retry-bstexjd6.js → tool-output-xd9cc171.js} +5 -5
  325. package/dist/chunks/{model-retry-46wp4j5s.js → tool-output-xjek49gg.js} +13 -13
  326. package/dist/chunks/{model-retry-xjr6c8m4.js → tool-output-xjr6c8m4.js} +1 -1
  327. package/dist/chunks/{model-retry-bt78nyr8.js → tool-output-xkjj7abq.js} +9 -9
  328. package/dist/chunks/{model-retry-xksw6ev0.js → tool-output-xksw6ev0.js} +1 -1
  329. package/dist/chunks/{model-retry-c6x7d2ts.js → tool-output-xmx7xj34.js} +4 -4
  330. package/dist/chunks/{model-retry-e0nfbn8k.js → tool-output-xncgy128.js} +36 -36
  331. package/dist/chunks/{model-retry-3k3x9sbj.js → tool-output-xqv2r4aj.js} +5 -5
  332. package/dist/chunks/{model-retry-qm453fgb.js → tool-output-xw0srn6a.js} +4 -4
  333. package/dist/chunks/{model-retry-w4xw9ac5.js → tool-output-xz07m27x.js} +2 -2
  334. package/dist/chunks/{model-retry-n3bcrrqw.js → tool-output-xzt0d48g.js} +59 -59
  335. package/dist/chunks/{model-retry-dcwr9369.js → tool-output-y9h30vhz.js} +18 -18
  336. package/dist/chunks/{model-retry-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
  337. package/dist/chunks/{model-retry-g650r2x6.js → tool-output-ybws1qgk.js} +4 -4
  338. package/dist/chunks/{model-retry-ypzfmdvb.js → tool-output-ypzfmdvb.js} +1 -1
  339. package/dist/chunks/{model-retry-3q73yqpv.js → tool-output-yqsn849f.js} +27 -27
  340. package/dist/chunks/{model-retry-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
  341. package/dist/chunks/{model-retry-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
  342. package/dist/chunks/{model-retry-g4dya16n.js → tool-output-yxcgefks.js} +28 -28
  343. package/dist/chunks/{model-retry-z0wbgq7s.js → tool-output-z0wbgq7s.js} +1 -1
  344. package/dist/chunks/{model-retry-091fm073.js → tool-output-z9p4vph2.js} +7 -7
  345. package/dist/chunks/{model-retry-gssgrah2.js → tool-output-zb5dszq5.js} +4 -4
  346. package/dist/chunks/{model-retry-5z5rge5r.js → tool-output-ze2cg7e7.js} +21 -21
  347. package/dist/chunks/{model-retry-j9nxzz3g.js → tool-output-ze75qvmd.js} +3 -3
  348. package/dist/chunks/{model-retry-2b7whw4a.js → tool-output-zqs3qbzx.js} +16 -16
  349. package/dist/chunks/{model-retry-77n50j8n.js → tool-output-zragvvgt.js} +4 -4
  350. package/dist/chunks/{model-retry-2bxdgvd9.js → tool-output-zsncfqq0.js} +14 -14
  351. package/dist/chunks/{model-retry-14f8knpd.js → tool-output-zy8ydhnh.js} +19 -19
  352. package/dist/chunks/{model-retry-vcz165ne.js → tool-output-zzs0sbfh.js} +17 -17
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +3 -3
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +4 -4
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +90 -90
  359. package/dist/config/discovery.js +97 -97
  360. package/dist/config/integration.js +3 -3
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +132 -132
  365. package/dist/config/plugin/command.js +247 -247
  366. package/dist/config/plugin/compaction.js +175 -175
  367. package/dist/config/plugin/compatibility.js +155 -155
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +132 -132
  372. package/dist/config/plugin/location-watcher.js +131 -131
  373. package/dist/config/plugin/mcp.js +146 -146
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +133 -133
  378. package/dist/config/plugin/skill-file.js +151 -151
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +158 -158
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +133 -133
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +132 -132
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  395. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +15 -15
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +16 -16
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +98 -98
  475. package/dist/effect/app-node-builder.js +450 -450
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/client-tls/client-tls.bun.js +1 -1
  478. package/dist/effect/client-tls/client-tls.node.js +1 -1
  479. package/dist/effect/client-tls/client-tls.workerd.js +1 -1
  480. package/dist/effect/keyed-mutex.js +3 -3
  481. package/dist/effect/websocket-constructor.js +1 -1
  482. package/dist/environment/driver.js +1 -1
  483. package/dist/environment/environment.js +105 -105
  484. package/dist/environment/exec-defaults.js +2 -2
  485. package/dist/environment/files.js +1 -1
  486. package/dist/environment/index.js +109 -109
  487. package/dist/environment/local.js +2 -2
  488. package/dist/environment/memory.js +2 -2
  489. package/dist/environment/unavailable.js +3 -3
  490. package/dist/event/sql.js +1 -1
  491. package/dist/event-logger.js +81 -81
  492. package/dist/file-access.js +160 -160
  493. package/dist/file-mutation.js +108 -108
  494. package/dist/file-retention.js +1 -1
  495. package/dist/file-write.js +166 -166
  496. package/dist/filesystem/fff.bun.js +2 -2
  497. package/dist/filesystem/fff.js +1 -1
  498. package/dist/filesystem/fff.node.js +2 -2
  499. package/dist/filesystem/fff.workerd.js +2 -2
  500. package/dist/filesystem/file-watch.js +88 -88
  501. package/dist/filesystem/location-watcher-policy.js +6 -6
  502. package/dist/filesystem/location-watcher.js +254 -254
  503. package/dist/filesystem/protected.js +3 -3
  504. package/dist/filesystem/search.js +113 -113
  505. package/dist/filesystem/watcher-binding.js +1 -1
  506. package/dist/filesystem/watcher.js +11 -11
  507. package/dist/filesystem.js +118 -118
  508. package/dist/flag.js +136 -136
  509. package/dist/form.js +87 -87
  510. package/dist/formatter/builtins.js +2 -2
  511. package/dist/formatter.js +100 -100
  512. package/dist/generate.js +117 -117
  513. package/dist/git.js +7 -7
  514. package/dist/github-copilot/models.js +105 -105
  515. package/dist/image/notice.js +1 -1
  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 +441 -441
  522. package/dist/instruction-discovery.js +98 -98
  523. package/dist/instructions/builtins.js +101 -101
  524. package/dist/instructions/index.js +4 -4
  525. package/dist/integration/connection.js +1 -1
  526. package/dist/integration.js +92 -92
  527. package/dist/job/list.js +5 -5
  528. package/dist/job/recovery.js +2 -2
  529. package/dist/job/sql.js +2 -2
  530. package/dist/job.js +90 -90
  531. package/dist/kv/sql.js +2 -2
  532. package/dist/kv.js +84 -84
  533. package/dist/location-activity.js +187 -187
  534. package/dist/location-lifecycle.js +155 -155
  535. package/dist/location-service-map.js +99 -99
  536. package/dist/location-services.js +438 -438
  537. package/dist/location.js +94 -94
  538. package/dist/managed-policy.js +3 -3
  539. package/dist/mcp/client.js +161 -161
  540. package/dist/mcp/connection.js +106 -106
  541. package/dist/mcp/event-errors.js +1 -1
  542. package/dist/mcp/index.js +149 -149
  543. package/dist/mcp/instructions.js +192 -192
  544. package/dist/mcp/oauth.js +90 -90
  545. package/dist/mcp/pool.js +112 -112
  546. package/dist/mcp/socket-client.js +1 -1
  547. package/dist/mcp/stdio.js +161 -161
  548. package/dist/mime.js +1 -1
  549. package/dist/modal/models.js +105 -105
  550. package/dist/model-resolver.js +113 -113
  551. package/dist/model-retry.js +1 -1
  552. package/dist/model.js +110 -110
  553. package/dist/models-dev/v1.js +1 -1
  554. package/dist/models-dev.js +118 -118
  555. package/dist/oauth/page.js +1 -1
  556. package/dist/oauth/redirect.js +1 -1
  557. package/dist/permission/saved.js +93 -93
  558. package/dist/permission/sql.js +5 -5
  559. package/dist/permission.js +158 -158
  560. package/dist/persistent-pty/binary.bun.js +1 -1
  561. package/dist/persistent-pty/daemon.js +1 -1
  562. package/dist/persistent-pty/index.js +99 -99
  563. package/dist/persistent-pty/pty-binding.js +1 -1
  564. package/dist/persistent-pty.js +86 -86
  565. package/dist/plugin/agent.js +85 -85
  566. package/dist/plugin/command.js +146 -146
  567. package/dist/plugin/fork-notice.js +3 -3
  568. package/dist/plugin/goal.js +3 -3
  569. package/dist/plugin/hooks.js +5 -5
  570. package/dist/plugin/host.js +251 -251
  571. package/dist/plugin/identity.js +5 -5
  572. package/dist/plugin/instance.js +5 -5
  573. package/dist/plugin/internal.js +418 -418
  574. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  575. package/dist/plugin/models-dev.js +111 -111
  576. package/dist/plugin/module.js +128 -128
  577. package/dist/plugin/optimize.js +2 -2
  578. package/dist/plugin/plan.js +151 -151
  579. package/dist/plugin/promise.js +1 -1
  580. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  581. package/dist/plugin/provider/azure.js +134 -134
  582. package/dist/plugin/provider/cerebras.js +1 -1
  583. package/dist/plugin/provider/chatgpt.js +135 -135
  584. package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
  585. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  586. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  587. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  588. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  589. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  590. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  592. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  593. package/dist/plugin/provider/claude-agent/index.js +149 -149
  594. package/dist/plugin/provider/claude-agent/instructions.js +111 -111
  595. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  596. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  598. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
  599. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  600. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
  602. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  603. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  604. package/dist/plugin/provider/claude-agent/session.js +111 -111
  605. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  606. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  607. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  609. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  610. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  612. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  613. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  615. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  616. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  617. package/dist/plugin/provider/configured.js +127 -127
  618. package/dist/plugin/provider/credential-settings.js +88 -88
  619. package/dist/plugin/provider/databricks.js +1 -1
  620. package/dist/plugin/provider/digitalocean.js +110 -110
  621. package/dist/plugin/provider/dynamic.js +2 -2
  622. package/dist/plugin/provider/github-copilot.js +112 -112
  623. package/dist/plugin/provider/gitlab.js +111 -111
  624. package/dist/plugin/provider/google-vertex.js +128 -128
  625. package/dist/plugin/provider/kilo.js +1 -1
  626. package/dist/plugin/provider/llmgateway.js +89 -89
  627. package/dist/plugin/provider/lmstudio.js +144 -144
  628. package/dist/plugin/provider/local.js +141 -141
  629. package/dist/plugin/provider/modal.js +109 -109
  630. package/dist/plugin/provider/neon.js +1 -1
  631. package/dist/plugin/provider/nvidia.js +1 -1
  632. package/dist/plugin/provider/ollama.js +144 -144
  633. package/dist/plugin/provider/openai-context-caps.js +107 -107
  634. package/dist/plugin/provider/openai.js +135 -135
  635. package/dist/plugin/provider/opencode-watches.js +4 -4
  636. package/dist/plugin/provider/opencode.js +163 -163
  637. package/dist/plugin/provider/openrouter.js +105 -105
  638. package/dist/plugin/provider/poe.js +91 -91
  639. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  640. package/dist/plugin/provider/refresh.js +87 -87
  641. package/dist/plugin/provider/sap-ai-core.js +105 -105
  642. package/dist/plugin/provider/sdk-factory.js +1 -1
  643. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  644. package/dist/plugin/provider/vllm.js +144 -144
  645. package/dist/plugin/provider/xai.js +105 -105
  646. package/dist/plugin/provider/zenmux.js +1 -1
  647. package/dist/plugin/provider.js +242 -242
  648. package/dist/plugin/sdk.js +85 -85
  649. package/dist/plugin/service.js +1 -1
  650. package/dist/plugin/skill.js +152 -152
  651. package/dist/plugin/source-directory.js +1 -1
  652. package/dist/plugin/supervisor.js +426 -426
  653. package/dist/plugin/tool-input-repair.js +4 -4
  654. package/dist/plugin/update.js +6 -6
  655. package/dist/plugin/vcs/git.js +99 -99
  656. package/dist/plugin/vcs/hg.js +99 -99
  657. package/dist/plugin/verbosity.js +107 -107
  658. package/dist/plugin/warming.js +129 -129
  659. package/dist/plugin/websearch/exa.js +8 -8
  660. package/dist/plugin/websearch/firecrawl.js +9 -9
  661. package/dist/plugin/websearch/index.js +10 -10
  662. package/dist/plugin/websearch/mcp.js +2 -2
  663. package/dist/plugin/websearch/parallel.js +9 -9
  664. package/dist/plugin/websearch/provider.js +1 -1
  665. package/dist/plugin/websearch/tavily.js +7 -7
  666. package/dist/plugin/websearch/tinyfish.js +9 -9
  667. package/dist/plugin.js +256 -256
  668. package/dist/project/icon.js +5 -5
  669. package/dist/project/schema.js +2 -2
  670. package/dist/project/sql.js +4 -4
  671. package/dist/project.js +93 -93
  672. package/dist/provider.js +107 -107
  673. package/dist/pty/protocol.js +1 -1
  674. package/dist/pty/ticket.js +1 -1
  675. package/dist/pty.js +103 -103
  676. package/dist/reference/instructions.js +102 -102
  677. package/dist/reference.js +103 -103
  678. package/dist/repository-cache.js +93 -93
  679. package/dist/repository.js +3 -3
  680. package/dist/ripgrep/binary.js +2 -2
  681. package/dist/ripgrep.js +111 -111
  682. package/dist/rpc.js +99 -99
  683. package/dist/schedule/check.js +256 -256
  684. package/dist/schedule/sql.js +6 -6
  685. package/dist/schedule.js +264 -264
  686. package/dist/schema.js +1 -1
  687. package/dist/session/affinity.js +1 -1
  688. package/dist/session/background.js +3 -3
  689. package/dist/session/blob.js +133 -133
  690. package/dist/session/command.js +85 -85
  691. package/dist/session/compaction.js +175 -175
  692. package/dist/session/context.js +208 -208
  693. package/dist/session/diff.js +101 -101
  694. package/dist/session/environment.js +5 -5
  695. package/dist/session/error.js +5 -5
  696. package/dist/session/event.js +1 -1
  697. package/dist/session/execution/restart.js +272 -272
  698. package/dist/session/execution/subagent-report.js +147 -147
  699. package/dist/session/execution.js +174 -174
  700. package/dist/session/generate.js +208 -208
  701. package/dist/session/history.js +141 -141
  702. package/dist/session/inbox.js +154 -154
  703. package/dist/session/info.js +3 -3
  704. package/dist/session/instruction-entry.js +91 -91
  705. package/dist/session/instruction-state.js +9 -9
  706. package/dist/session/instructions.js +146 -146
  707. package/dist/session/message-updater.js +2 -2
  708. package/dist/session/message.js +1 -1
  709. package/dist/session/model-request.js +173 -173
  710. package/dist/session/model-transport.js +9 -9
  711. package/dist/session/move.js +176 -176
  712. package/dist/session/projector.js +148 -148
  713. package/dist/session/prompt.js +153 -153
  714. package/dist/session/recent-text.js +1 -1
  715. package/dist/session/revert.js +144 -144
  716. package/dist/session/run-coordinator.js +1 -1
  717. package/dist/session/runner/index.js +3 -3
  718. package/dist/session/runner/llm.js +261 -261
  719. package/dist/session/runner/max-steps.js +1 -1
  720. package/dist/session/runner/model.js +115 -115
  721. package/dist/session/runner/publish-llm-event.js +155 -155
  722. package/dist/session/runner/retry.js +5 -5
  723. package/dist/session/runner/step.js +166 -166
  724. package/dist/session/runner/to-llm-message.js +142 -142
  725. package/dist/session/schema.js +5 -5
  726. package/dist/session/session.js +194 -194
  727. package/dist/session/shell.js +149 -149
  728. package/dist/session/skill.js +152 -152
  729. package/dist/session/sql.js +5 -5
  730. package/dist/session/stats.js +85 -85
  731. package/dist/session/store.js +147 -147
  732. package/dist/session/stored.js +4 -4
  733. package/dist/session/subagent-completion.js +1 -1
  734. package/dist/session/subagent-job.js +173 -173
  735. package/dist/session/system-prompt.js +3 -3
  736. package/dist/session/title.js +208 -208
  737. package/dist/session/to-session-error.js +154 -154
  738. package/dist/session/transfer.js +254 -254
  739. package/dist/session/usage.js +1 -1
  740. package/dist/session.js +251 -251
  741. package/dist/shared-cache.js +5 -5
  742. package/dist/shell/parse.js +6 -6
  743. package/dist/shell/result.js +1 -1
  744. package/dist/shell/scan.js +1 -1
  745. package/dist/shell/select.js +15 -15
  746. package/dist/shell.js +151 -151
  747. package/dist/skill/discovery.js +6 -6
  748. package/dist/skill/instructions.js +156 -156
  749. package/dist/skill.js +159 -159
  750. package/dist/snapshot.js +106 -106
  751. package/dist/state.js +1 -1
  752. package/dist/tool/html-markdown.js +1 -1
  753. package/dist/tool/http-body.js +1 -1
  754. package/dist/tool/mcp.js +191 -191
  755. package/dist/tool/plugin/artifact.js +246 -246
  756. package/dist/tool/plugin/edit.js +170 -170
  757. package/dist/tool/plugin/file-diff.js +1 -1
  758. package/dist/tool/plugin/glob.js +176 -176
  759. package/dist/tool/plugin/grep.js +175 -175
  760. package/dist/tool/plugin/image-generate.js +257 -257
  761. package/dist/tool/plugin/mcp-events.js +168 -168
  762. package/dist/tool/plugin/mcp-resource.js +172 -172
  763. package/dist/tool/plugin/opencode.js +168 -168
  764. package/dist/tool/plugin/patch.js +171 -171
  765. package/dist/tool/plugin/question.js +151 -151
  766. package/dist/tool/plugin/read.js +177 -177
  767. package/dist/tool/plugin/schedule.js +262 -262
  768. package/dist/tool/plugin/shell.js +253 -253
  769. package/dist/tool/plugin/skill.js +162 -162
  770. package/dist/tool/plugin/subagent.js +253 -253
  771. package/dist/tool/plugin/todo.js +158 -158
  772. package/dist/tool/plugin/webfetch.js +160 -160
  773. package/dist/tool/plugin/websearch.js +160 -160
  774. package/dist/tool/plugin/write.js +171 -171
  775. package/dist/tool/read-filesystem.js +114 -114
  776. package/dist/tool/runtime.js +1 -1
  777. package/dist/tool/search.js +109 -109
  778. package/dist/tool-output.js +7 -7
  779. package/dist/tool.js +167 -167
  780. package/dist/types/plugin/provider/claude-agent/claude/status.d.ts +1 -0
  781. package/dist/usage-limits.js +100 -100
  782. package/dist/util/canonical-json.js +1 -1
  783. package/dist/util/error-summary.js +1 -1
  784. package/dist/util/git-executable.js +3 -3
  785. package/dist/util/lazy.js +1 -1
  786. package/dist/util/slug.js +1 -1
  787. package/dist/util/token.js +1 -1
  788. package/dist/util/which.js +1 -1
  789. package/dist/util/wildcard.js +1 -1
  790. package/dist/v1/config/agent.js +5 -5
  791. package/dist/v1/config/command.js +3 -3
  792. package/dist/v1/config/mcp.js +4 -4
  793. package/dist/v1/config/migrate.js +106 -106
  794. package/dist/v1/config/permission.js +3 -3
  795. package/dist/v1/config/plugin.js +3 -3
  796. package/dist/v1/config/provider-options.js +1 -1
  797. package/dist/v1/config/provider.js +4 -4
  798. package/dist/variant.js +105 -105
  799. package/dist/vcs/patch.js +1 -1
  800. package/dist/vcs.js +100 -100
  801. package/dist/voice.js +99 -99
  802. package/dist/websearch.js +91 -91
  803. package/dist/wellknown/plugin.js +85 -85
  804. package/dist/wellknown.js +90 -90
  805. package/dist/workspace/driver.js +7 -7
  806. package/dist/workspace/sql.js +1 -1
  807. package/dist/workspace.js +93 -93
  808. package/dist/worktree/directory.js +2 -2
  809. package/dist/worktree/git.js +9 -9
  810. package/dist/worktree/sql.js +5 -5
  811. package/dist/worktree/strategies.js +102 -102
  812. package/dist/worktree.js +109 -109
  813. package/package.json +8 -8
  814. package/dist/chunks/model-retry-24tp732n.js +0 -26
  815. package/dist/chunks/model-retry-7wng9pms.js +0 -273
  816. package/dist/chunks/model-retry-9g3vqnsq.js +0 -35
  817. /package/dist/chunks/{model-retry-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  818. /package/dist/chunks/{model-retry-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  819. /package/dist/chunks/{model-retry-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  820. /package/dist/chunks/{model-retry-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  821. /package/dist/chunks/{model-retry-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
  822. /package/dist/chunks/{model-retry-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  823. /package/dist/chunks/{model-retry-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  824. /package/dist/chunks/{model-retry-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  825. /package/dist/chunks/{model-retry-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  826. /package/dist/chunks/{model-retry-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  827. /package/dist/chunks/{model-retry-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  828. /package/dist/chunks/{model-retry-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  829. /package/dist/chunks/{model-retry-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
  830. /package/dist/chunks/{model-retry-53557ph1.js → tool-output-53557ph1.js} +0 -0
  831. /package/dist/chunks/{model-retry-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
  832. /package/dist/chunks/{model-retry-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
  833. /package/dist/chunks/{model-retry-6prwharc.js → tool-output-6prwharc.js} +0 -0
  834. /package/dist/chunks/{model-retry-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
  835. /package/dist/chunks/{model-retry-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  836. /package/dist/chunks/{model-retry-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  837. /package/dist/chunks/{model-retry-7rvsyqjv.js → tool-output-7rvsyqjv.js} +0 -0
  838. /package/dist/chunks/{model-retry-822emrt2.js → tool-output-822emrt2.js} +0 -0
  839. /package/dist/chunks/{model-retry-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
  840. /package/dist/chunks/{model-retry-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  841. /package/dist/chunks/{model-retry-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  842. /package/dist/chunks/{model-retry-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  843. /package/dist/chunks/{model-retry-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  844. /package/dist/chunks/{model-retry-9ceax7yg.js → tool-output-9ceax7yg.js} +0 -0
  845. /package/dist/chunks/{model-retry-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  846. /package/dist/chunks/{model-retry-ade8csyh.js → tool-output-ade8csyh.js} +0 -0
  847. /package/dist/chunks/{model-retry-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  848. /package/dist/chunks/{model-retry-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  849. /package/dist/chunks/{model-retry-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
  850. /package/dist/chunks/{model-retry-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  851. /package/dist/chunks/{model-retry-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  852. /package/dist/chunks/{model-retry-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  853. /package/dist/chunks/{model-retry-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
  854. /package/dist/chunks/{model-retry-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  855. /package/dist/chunks/{model-retry-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  856. /package/dist/chunks/{model-retry-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  857. /package/dist/chunks/{model-retry-df08tz66.js → tool-output-df08tz66.js} +0 -0
  858. /package/dist/chunks/{model-retry-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  859. /package/dist/chunks/{model-retry-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  860. /package/dist/chunks/{model-retry-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
  861. /package/dist/chunks/{model-retry-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  862. /package/dist/chunks/{model-retry-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  863. /package/dist/chunks/{model-retry-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  864. /package/dist/chunks/{model-retry-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  865. /package/dist/chunks/{model-retry-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  866. /package/dist/chunks/{model-retry-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  867. /package/dist/chunks/{model-retry-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
  868. /package/dist/chunks/{model-retry-g86h250q.js → tool-output-g86h250q.js} +0 -0
  869. /package/dist/chunks/{model-retry-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  870. /package/dist/chunks/{model-retry-gftt206x.js → tool-output-gftt206x.js} +0 -0
  871. /package/dist/chunks/{model-retry-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
  872. /package/dist/chunks/{model-retry-hk9envan.js → tool-output-hk9envan.js} +0 -0
  873. /package/dist/chunks/{model-retry-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  874. /package/dist/chunks/{model-retry-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  875. /package/dist/chunks/{model-retry-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  876. /package/dist/chunks/{model-retry-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  877. /package/dist/chunks/{model-retry-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
  878. /package/dist/chunks/{model-retry-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  879. /package/dist/chunks/{model-retry-m18g726c.js → tool-output-m18g726c.js} +0 -0
  880. /package/dist/chunks/{model-retry-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  881. /package/dist/chunks/{model-retry-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  882. /package/dist/chunks/{model-retry-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  883. /package/dist/chunks/{model-retry-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  884. /package/dist/chunks/{model-retry-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
  885. /package/dist/chunks/{model-retry-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  886. /package/dist/chunks/{model-retry-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
  887. /package/dist/chunks/{model-retry-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  888. /package/dist/chunks/{model-retry-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  889. /package/dist/chunks/{model-retry-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  890. /package/dist/chunks/{model-retry-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  891. /package/dist/chunks/{model-retry-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  892. /package/dist/chunks/{model-retry-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  893. /package/dist/chunks/{model-retry-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  894. /package/dist/chunks/{model-retry-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  895. /package/dist/chunks/{model-retry-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  896. /package/dist/chunks/{model-retry-syrav9an.js → tool-output-syrav9an.js} +0 -0
  897. /package/dist/chunks/{model-retry-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
  898. /package/dist/chunks/{model-retry-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
  899. /package/dist/chunks/{model-retry-v2dnd5dt.js → tool-output-v2dnd5dt.js} +0 -0
  900. /package/dist/chunks/{model-retry-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
  901. /package/dist/chunks/{model-retry-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
  902. /package/dist/chunks/{model-retry-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  903. /package/dist/chunks/{model-retry-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  904. /package/dist/chunks/{model-retry-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  905. /package/dist/chunks/{model-retry-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  906. /package/dist/chunks/{model-retry-x4th4bpe.js → tool-output-x4th4bpe.js} +0 -0
  907. /package/dist/chunks/{model-retry-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  908. /package/dist/chunks/{model-retry-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  909. /package/dist/chunks/{model-retry-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  910. /package/dist/chunks/{model-retry-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
  911. /package/dist/chunks/{model-retry-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
  912. /package/dist/chunks/{model-retry-zxpyjp51.js → tool-output-zxpyjp51.js} +0 -0
  913. /package/dist/chunks/{model-retry-zz5vv3aq.js → tool-output-zz5vv3aq.js} +0 -0
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./model-retry-f2zjpyt5.js";
8
+ } from "./tool-output-rdg052zg.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./model-retry-ec1grn59.js";
11
+ } from "./tool-output-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./model-retry-mb7mbhnz.js";
15
+ } from "./tool-output-8z6m94af.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./model-retry-7tx5zndv.js";
4
+ } from "./tool-output-7tx5zndv.js";
5
5
  import {
6
- Service85,
7
- node87
8
- } from "./model-retry-zssj66mt.js";
6
+ Service83,
7
+ node85
8
+ } from "./tool-output-kqzdf1mx.js";
9
9
  import {
10
- Service69,
11
- node71
12
- } from "./model-retry-7n1c2gf8.js";
10
+ Service82,
11
+ node84
12
+ } from "./tool-output-583kyzns.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./model-retry-2fc7eemy.js";
15
+ } from "./tool-output-2fc7eemy.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
21
  var exports_generate2 = {};
@@ -25,11 +25,11 @@ __export(exports_generate2, {
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service62,
28
+ Service: () => Service74,
29
29
  UnavailableError: () => UnavailableError5,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer22,
32
- node: () => node65
31
+ layer: () => layer27,
32
+ node: () => node75
33
33
  });
34
34
  import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service62 extends Context.Service()("@opencode/Generate") {
84
+ class Service74 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer22 = Layer.effect(Service62, Effect.gen(function* () {
86
+ var layer27 = Layer.effect(Service74, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service69;
89
- const models = yield* Service85;
88
+ const resolver = yield* Service82;
89
+ const models = yield* Service83;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -163,7 +163,7 @@ var layer22 = Layer.effect(Service62, Effect.gen(function* () {
163
163
  };
164
164
  });
165
165
  const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
166
- return Service62.of({
166
+ return Service74.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 node65 = makeLocationNode({
219
- service: Service62,
220
- layer: layer22,
221
- deps: [node71, node87, llmClient2, requestExecutor2]
218
+ var node75 = makeLocationNode({
219
+ service: Service74,
220
+ layer: layer27,
221
+ deps: [node84, node85, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service62, layer22, node65, exports_generate2 };
224
+ export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service74, layer27, node75, exports_generate2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection2 = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-retry-9g3vqnsq.js";
3
+ } from "./tool-output-h5t3apvc.js";
4
4
  import {
5
5
  OAuth3
6
- } from "./model-retry-3kzj6mg1.js";
6
+ } from "./tool-output-kk6p03vc.js";
7
7
  import {
8
8
  key3
9
- } from "./model-retry-n320gsn2.js";
9
+ } from "./tool-output-n320gsn2.js";
10
10
  import {
11
11
  ID18,
12
12
  MethodID2
13
- } from "./model-retry-80zs2z7e.js";
13
+ } from "./tool-output-5jmk5a3n.js";
14
14
  import {
15
15
  ID17
16
- } from "./model-retry-g4nrtg52.js";
16
+ } from "./tool-output-wxzh8jwz.js";
17
17
  import {
18
18
  ID16,
19
19
  Family2
20
- } from "./model-retry-zssj66mt.js";
20
+ } from "./tool-output-kqzdf1mx.js";
21
21
  import {
22
22
  bootstrap2
23
- } from "./model-retry-yb20nhc3.js";
23
+ } from "./tool-output-yb20nhc3.js";
24
24
  import {
25
- Service42
26
- } from "./model-retry-495vdj1c.js";
25
+ Service54
26
+ } from "./tool-output-5thev09r.js";
27
27
  import {
28
28
  start3
29
- } from "./model-retry-5dshr504.js";
29
+ } from "./tool-output-ae7jwmty.js";
30
30
  import {
31
31
  activeCredential2
32
- } from "./model-retry-jfpz2mnn.js";
32
+ } from "./tool-output-79p981ds.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* Service42;
127
+ const cache = yield* Service54;
128
128
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
129
129
  const discovered = yield* start3({
130
130
  integrationID,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service93
3
- } from "./model-retry-77n50j8n.js";
3
+ } from "./tool-output-zragvvgt.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./model-retry-zssj66mt.js";
6
+ } from "./tool-output-kqzdf1mx.js";
7
7
  import {
8
- Service17,
9
- Event3
10
- } from "./model-retry-xyv3z5gg.js";
8
+ Service13,
9
+ Event2
10
+ } from "./tool-output-j0yr2xej.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service17;
41
+ const modelsDev = yield* Service13;
42
42
  const bus = yield* Service93;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./model-retry-mwnxvxbk.js";
3
+ } from "./tool-output-mwnxvxbk.js";
4
4
  import {
5
5
  invocation2,
6
- Service74
7
- } from "./model-retry-d58fy8mx.js";
6
+ Service58
7
+ } from "./tool-output-kq4fsc21.js";
8
8
  import {
9
9
  MAX_MARKDOWN_BYTES2,
10
10
  convertHTMLToMarkdown2
11
- } from "./model-retry-zxpyjp51.js";
11
+ } from "./tool-output-zxpyjp51.js";
12
12
  import {
13
13
  collectBoundedResponseBody2
14
- } from "./model-retry-3v8g72cx.js";
14
+ } from "./tool-output-3v8g72cx.js";
15
15
  import {
16
16
  __export
17
- } from "./model-retry-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/webfetch.ts
20
20
  var exports_webfetch = {};
21
21
  __export(exports_webfetch, {
22
22
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
23
- Input: () => Input14,
23
+ Input: () => Input8,
24
24
  MAX_REDIRECTS: () => MAX_REDIRECTS2,
25
25
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
26
26
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
27
- Plugin: () => Plugin38,
27
+ Plugin: () => Plugin48,
28
28
  WebFetchTool: () => exports_webfetch,
29
29
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
30
- description: () => description7,
30
+ description: () => description6,
31
31
  extractTextFromHTML: () => extractTextFromHTML2,
32
- name: () => name14
32
+ name: () => name8
33
33
  });
34
34
  import { ToolFailure } from "@opencode/ai/effect";
35
35
  import { Duration, Effect, Schema } from "effect";
36
36
  import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
37
37
  import { Parser } from "htmlparser2";
38
- var name14 = "webfetch";
38
+ var name8 = "webfetch";
39
39
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
40
40
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
41
41
  var MAX_TIMEOUT_SECONDS2 = 120;
42
- var description7 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
42
+ var description6 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
43
43
 
44
44
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
45
45
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
46
- var Input14 = Schema.Struct({
46
+ var Input8 = Schema.Struct({
47
47
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
48
48
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
49
49
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -53,7 +53,7 @@ var Input14 = Schema.Struct({
53
53
  var Output = Schema.Struct({
54
54
  url: Schema.String,
55
55
  contentType: Schema.String,
56
- format: Input14.fields.format,
56
+ format: Input8.fields.format,
57
57
  output: Schema.String
58
58
  });
59
59
  var acceptHeader = (format) => {
@@ -119,16 +119,16 @@ var convert = (content, contentType, format) => {
119
119
  return extractTextFromHTML2(content);
120
120
  return content;
121
121
  };
122
- var Plugin38 = {
122
+ var Plugin48 = {
123
123
  id: "opencode.tool.webfetch",
124
124
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
125
125
  const http = yield* HttpClient.HttpClient;
126
- const permission = yield* Service74;
126
+ const permission = yield* Service58;
127
127
  yield* ctx.tool.transform((editor) => editor.add({
128
- name: name14,
128
+ name: name8,
129
129
  options: { codemode: false },
130
- description: description7,
131
- input: Input14,
130
+ description: description6,
131
+ input: Input8,
132
132
  output: Output,
133
133
  execute: (input, context) => Effect.gen(function* () {
134
134
  const url = input.url.split("#")[0];
@@ -137,7 +137,7 @@ var Plugin38 = {
137
137
  catch: (error) => error
138
138
  });
139
139
  yield* permission.assert({
140
- action: name14,
140
+ action: name8,
141
141
  resources: [url],
142
142
  save: ["*"],
143
143
  metadata: input,
@@ -145,7 +145,7 @@ var Plugin38 = {
145
145
  });
146
146
  const { body, contentType } = yield* Effect.gen(function* () {
147
147
  const check = (next) => permission.assertNotDenied({
148
- action: name14,
148
+ action: name8,
149
149
  resources: [next],
150
150
  metadata: { ...input, url: next },
151
151
  ...invocation2(context)
@@ -199,4 +199,4 @@ function extractTextFromHTML2(html) {
199
199
  parser.end();
200
200
  return text.trim();
201
201
  }
202
- export { name14, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description7, Input14, MAX_REDIRECTS2, Plugin38, extractTextFromHTML2, exports_webfetch };
202
+ export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description6, Input8, MAX_REDIRECTS2, Plugin48, extractTextFromHTML2, exports_webfetch };
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./model-retry-77n50j8n.js";
4
+ } from "./tool-output-zragvvgt.js";
5
5
  import {
6
6
  Ref5,
7
7
  Service90,
8
8
  node92
9
- } from "./model-retry-jbx2ytam.js";
9
+ } from "./tool-output-dvz4cp0t.js";
10
10
  import {
11
- Service56,
12
- node59
13
- } from "./model-retry-927fj99d.js";
11
+ Service79,
12
+ node80
13
+ } from "./tool-output-h9beesa2.js";
14
14
  import {
15
15
  cleanup3
16
- } from "./model-retry-tczq8hjw.js";
16
+ } from "./tool-output-tczq8hjw.js";
17
17
  import {
18
- Service51,
18
+ Service67,
19
19
  args2,
20
- node54
21
- } from "./model-retry-3zakkr5m.js";
20
+ node68
21
+ } from "./tool-output-dzedhk5f.js";
22
22
  import {
23
- Service50,
24
- node53,
23
+ Service66,
24
+ node67,
25
25
  available4
26
- } from "./model-retry-g4dya16n.js";
26
+ } from "./tool-output-yxcgefks.js";
27
27
  import {
28
- Service78,
29
- node80
30
- } from "./model-retry-sbzezcpx.js";
28
+ Service68,
29
+ node69
30
+ } from "./tool-output-7f840skq.js";
31
31
  import {
32
- Service41,
33
- node44
34
- } from "./model-retry-c5m2a8vb.js";
32
+ Service65,
33
+ node66
34
+ } from "./tool-output-4dtvemx5.js";
35
35
  import {
36
36
  SessionSchema2
37
- } from "./model-retry-qtf35215.js";
37
+ } from "./tool-output-2n444ktb.js";
38
38
  import {
39
39
  latest2,
40
- Service81,
41
- node83
42
- } from "./model-retry-vdxwczv6.js";
40
+ Service69,
41
+ node70
42
+ } from "./tool-output-b1vrb478.js";
43
43
  import {
44
44
  MAX_LINES2,
45
45
  MAX_BYTES2
46
- } from "./model-retry-zjvqphdj.js";
46
+ } from "./tool-output-dwrq2ff0.js";
47
47
  import {
48
48
  __export
49
- } from "./model-retry-9rqn6x4v.js";
49
+ } from "./tool-output-9rqn6x4v.js";
50
50
 
51
51
  // src/shell.ts
52
52
  var exports_shell4 = {};
53
53
  __export(exports_shell4, {
54
54
  DIRECTORY: () => DIRECTORY2,
55
55
  Daemon: () => Daemon2,
56
- NotFoundError: () => NotFoundError6,
56
+ NotFoundError: () => NotFoundError10,
57
57
  RETENTION: () => RETENTION2,
58
- Service: () => Service40,
58
+ Service: () => Service64,
59
59
  Shell: () => exports_shell4,
60
60
  ToolCall: () => ToolCall2,
61
61
  cleanup: () => cleanup2,
62
62
  daemonNode: () => daemonNode2,
63
- node: () => node43
63
+ node: () => node65
64
64
  });
65
65
  import path from "path";
66
66
  import { isUtf8 } from "node:buffer";
@@ -87,7 +87,7 @@ import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node
87
87
  import { FSUtil } from "@opencode/util/fs-util";
88
88
  import { TextBoundary } from "@opencode/util/text-boundary";
89
89
  import { Global } from "@opencode/util/global";
90
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
90
+ class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
91
91
  id: Shell.ID
92
92
  }) {
93
93
  }
@@ -116,12 +116,12 @@ var Stored = Schema.Struct({
116
116
  });
117
117
  var decodeStored = Schema.decodeUnknownOption(Stored);
118
118
 
119
- class Service40 extends Context.Service()("@opencode/Shell") {
119
+ class Service64 extends Context.Service()("@opencode/Shell") {
120
120
  }
121
121
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
122
122
  const fs = yield* FSUtil.Service;
123
123
  const global = yield* Global.Service;
124
- const pty = yield* Service50;
124
+ const pty = yield* Service66;
125
125
  const directory = path.join(global.data, DIRECTORY2);
126
126
  const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
127
127
  const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
@@ -141,14 +141,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
141
141
  var cleanupNode = makeGlobalNode({
142
142
  name: "shell-output-cleanup",
143
143
  layer: cleanupLayer,
144
- deps: [FSUtil.node, Global.node, node53]
144
+ deps: [FSUtil.node, Global.node, node67]
145
145
  });
146
146
 
147
147
  class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
148
148
  }
149
149
  var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
150
150
  const bus = yield* Service93;
151
- const pty = yield* Service50;
151
+ const pty = yield* Service66;
152
152
  const scope = yield* Effect.scope;
153
153
  const context = yield* Effect.context();
154
154
  const global = yield* Global.Service;
@@ -190,7 +190,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
190
190
  yield* Fiber.interrupt(run.wait);
191
191
  yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
192
192
  yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
193
- yield* Deferred.fail(run.done, new NotFoundError6({ id }));
193
+ yield* Deferred.fail(run.done, new NotFoundError10({ id }));
194
194
  if (run.info.status === "running")
195
195
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
196
196
  yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
@@ -383,17 +383,17 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
383
383
  var daemonNode2 = makeGlobalNode({
384
384
  service: Daemon2,
385
385
  layer: daemonLayer,
386
- deps: [node95, Global.node, node53]
386
+ deps: [node95, Global.node, node67]
387
387
  });
388
- var layer = () => Layer.effect(Service40, Effect.gen(function* () {
388
+ var layer = () => Layer.effect(Service64, Effect.gen(function* () {
389
389
  const bus = yield* Service93;
390
390
  const location = yield* Service90;
391
391
  const global = yield* Global.Service;
392
- const shell = yield* Service51;
393
- const environment = yield* Service56;
394
- const hooks = yield* Service78;
395
- const environments = yield* Service41;
396
- const config = yield* Service81;
392
+ const shell = yield* Service67;
393
+ const environment = yield* Service79;
394
+ const hooks = yield* Service68;
395
+ const environments = yield* Service65;
396
+ const config = yield* Service69;
397
397
  const daemon = yield* Daemon2;
398
398
  const context = yield* Effect.context();
399
399
  const runFork = Effect.runForkWith(context);
@@ -416,7 +416,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
416
416
  const require2 = Effect.fnUntraced(function* (id) {
417
417
  const command = commands.get(id) ?? runs?.get(id);
418
418
  if (!command)
419
- return yield* new NotFoundError6({ id });
419
+ return yield* new NotFoundError10({ id });
420
420
  return command;
421
421
  });
422
422
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -429,7 +429,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
429
429
  commands.delete(id);
430
430
  if (command.timeoutFiber)
431
431
  yield* Fiber.interrupt(command.timeoutFiber);
432
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
432
+ yield* Deferred.fail(command.done, new NotFoundError10({ id }));
433
433
  yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
434
434
  if (command.info.status === "running")
435
435
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -768,7 +768,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
768
768
  const command = yield* Deferred.await(ready);
769
769
  return command.info;
770
770
  });
771
- return Service40.of({
771
+ return Service64.of({
772
772
  create,
773
773
  list,
774
774
  get,
@@ -821,21 +821,21 @@ function formatSize(bytes) {
821
821
  const kb = bytes / 1024;
822
822
  return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
823
823
  }
824
- var node43 = makeLocationNode({
825
- service: Service40,
824
+ var node65 = makeLocationNode({
825
+ service: Service64,
826
826
  layer: layer(),
827
827
  deps: [
828
828
  node95,
829
829
  node92,
830
830
  Global.node,
831
- node54,
832
- node59,
831
+ node68,
833
832
  node80,
834
- node44,
835
- node83,
833
+ node69,
834
+ node66,
835
+ node70,
836
836
  daemonNode2,
837
837
  cleanupNode
838
838
  ]
839
839
  });
840
840
 
841
- export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service40, cleanup2, Daemon2, daemonNode2, node43, exports_shell4 };
841
+ export { NotFoundError10, RETENTION2, DIRECTORY2, ToolCall2, Service64, cleanup2, Daemon2, daemonNode2, node65, exports_shell4 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service65,
3
- node67
4
- } from "./model-retry-w87hzrb3.js";
2
+ Service50,
3
+ node51
4
+ } from "./tool-output-5m6a7xby.js";
5
5
  import {
6
- Service72,
7
- node74,
6
+ Service89,
7
+ node91,
8
8
  canonical3
9
- } from "./model-retry-yv09dmea.js";
9
+ } from "./tool-output-9t96z90j.js";
10
10
  import {
11
- Service70
12
- } from "./model-retry-4v4b6x27.js";
11
+ Service17
12
+ } from "./tool-output-0pc59a0n.js";
13
13
  import {
14
14
  layer2
15
- } from "./model-retry-7wng9pms.js";
15
+ } from "./tool-output-qg49xspf.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
19
19
  var HELD_WARNING_AFTER = "30 seconds";
20
20
  function buildLocationServiceMap2(replacements = []) {
21
- return Layer.effect(Service72, Effect.gen(function* () {
21
+ return Layer.effect(Service89, Effect.gen(function* () {
22
22
  const owner = yield* Effect.scope;
23
23
  const builds = MutableHashMap.empty();
24
24
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  const finish = Effect.suspend(() => {
29
29
  if (Exit.isSuccess(exit)) {
30
30
  return Effect.gen(function* () {
31
- const lifecycle = Context.get(exit.value, Service70);
31
+ const lifecycle = Context.get(exit.value, Service17);
32
32
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
33
33
  return yield* lifecycle.shutdown;
34
34
  build.close = lifecycle.shutdown;
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
65
65
  }).pipe(Effect.uninterruptible)
66
66
  };
67
67
  const bindings = [
68
- node67.replace(Layer.succeed(Service65, {
68
+ node51.replace(Layer.succeed(Service50, {
69
69
  provide: (session) => Effect.provide(map.get(session.location))
70
70
  })),
71
71
  ...replacements,
72
- node74.replace(Layer.succeed(Service72, map))
72
+ node91.replace(Layer.succeed(Service89, map))
73
73
  ];
74
74
  return map;
75
75
  }));