@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
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./tool-output-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./model-retry-w1e5009d.js";
6
+ } from "./tool-output-4qpf2scx.js";
7
7
  import {
8
8
  Slug2
9
- } from "./model-retry-gebd4c9n.js";
9
+ } from "./tool-output-gebd4c9n.js";
10
10
  import {
11
11
  Service94,
12
12
  node96
13
- } from "./model-retry-7az9823q.js";
13
+ } from "./tool-output-fw4fd2n6.js";
14
14
  import {
15
15
  Service93,
16
16
  node95
17
- } from "./model-retry-77n50j8n.js";
17
+ } from "./tool-output-zragvvgt.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./model-retry-034tev2y.js";
20
+ } from "./tool-output-aj7mw0zk.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./model-retry-ayjs7tqn.js";
23
+ } from "./tool-output-3cbjf1nt.js";
24
24
  import {
25
25
  ID21,
26
26
  NotFoundError14
27
- } from "./model-retry-z6gkct3a.js";
27
+ } from "./tool-output-943nh4ze.js";
28
28
  import {
29
29
  Ref5
30
- } from "./model-retry-jbx2ytam.js";
30
+ } from "./tool-output-dvz4cp0t.js";
31
31
  import {
32
- Service72,
33
- node74
34
- } from "./model-retry-yv09dmea.js";
32
+ Service89,
33
+ node91
34
+ } from "./tool-output-9t96z90j.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./model-retry-d4v9tmah.js";
38
+ } from "./tool-output-d4v9tmah.js";
39
39
  import {
40
- Service23
41
- } from "./model-retry-2bxdgvd9.js";
40
+ Service24
41
+ } from "./tool-output-zsncfqq0.js";
42
42
  import {
43
43
  __export
44
- } from "./model-retry-9rqn6x4v.js";
44
+ } from "./tool-output-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput5,
49
+ CreateInput: () => CreateInput4,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event7,
52
+ Event: () => Event5,
53
53
  Info: () => Info8,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service22,
59
+ Service: () => Service23,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node25
64
+ node: () => node26
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,7 +73,7 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput5 = Worktree.CreateInput;
76
+ var CreateInput4 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
78
  var Info8 = Worktree.Info;
79
79
  var List2 = Worktree.List;
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event7 = Worktree.Event;
93
+ var Event5 = Worktree.Event;
94
94
 
95
- class Service22 extends Context.Service()("@opencode/Worktree") {
95
+ class Service23 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service22, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service94;
100
100
  const db = database.db;
101
101
  const bus = yield* Service93;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service72;
103
+ const locations = yield* Service89;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref5.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service23).get();
118
+ return Context.get(context, Service24).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event7.Updated, { projectID });
122
+ yield* bus.publish(Event5.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service22.of({
249
+ return Service23.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node25 = Node.makeGlobalNode({
260
- service: Service22,
259
+ var node26 = Node.makeGlobalNode({
260
+ service: Service23,
261
261
  layer,
262
- deps: [FSUtil.node, node95, node96, AppProcess.node, node74]
262
+ deps: [FSUtil.node, node95, node96, AppProcess.node, node91]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput5, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service22, node25, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service23, node26, exports_worktree2, OperationError2 };
@@ -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/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  scan4,
3
3
  scanPowerShell2
4
- } from "./model-retry-8zv0xmg5.js";
4
+ } from "./tool-output-8zv0xmg5.js";
5
5
  import {
6
6
  name17,
7
7
  ps2
8
- } from "./model-retry-3zakkr5m.js";
8
+ } from "./tool-output-dzedhk5f.js";
9
9
  import {
10
10
  match3
11
- } from "./model-retry-1aqsckx4.js";
11
+ } from "./tool-output-1aqsckx4.js";
12
12
  import {
13
13
  __export
14
- } from "./model-retry-9rqn6x4v.js";
14
+ } from "./tool-output-9rqn6x4v.js";
15
15
 
16
16
  // src/shell/parse.ts
17
17
  var exports_parse = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service81
3
- } from "./model-retry-vdxwczv6.js";
2
+ Service69
3
+ } from "./tool-output-b1vrb478.js";
4
4
  import {
5
- Service36
6
- } from "./model-retry-dhhwsjs6.js";
5
+ Service39
6
+ } from "./tool-output-r73129ya.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin46,
15
+ Plugin: () => Plugin35,
16
16
  register: () => register8
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin46 = define({
20
+ var Plugin35 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register8(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service81;
28
- const mcp = yield* Service36;
27
+ const config = yield* Service69;
28
+ const mcp = yield* Service39;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register8 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin46, register8, exports_mcp2 };
49
+ export { Plugin35, register8, exports_mcp2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service93
3
- } from "./model-retry-77n50j8n.js";
3
+ } from "./tool-output-zragvvgt.js";
4
4
  import {
5
5
  Service90
6
- } from "./model-retry-jbx2ytam.js";
6
+ } from "./tool-output-dvz4cp0t.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service36
10
- } from "./model-retry-dhhwsjs6.js";
9
+ Service39
10
+ } from "./tool-output-r73129ya.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command = {};
17
17
  __export(exports_command, {
18
18
  CommandPlugin: () => exports_command,
19
- Plugin: () => Plugin9
19
+ Plugin: () => Plugin7
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin9 = define({
196
+ var Plugin7 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
199
  const location = yield* Service90;
200
- const mcp = yield* Service36;
200
+ const mcp = yield* Service39;
201
201
  const bus = yield* Service93;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin9, exports_command };
283
+ export { Plugin7, exports_command };
@@ -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/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service80,
2
+ Service63,
3
3
  useragent2,
4
- node82
5
- } from "./model-retry-9g3vqnsq.js";
4
+ node64
5
+ } from "./tool-output-h5t3apvc.js";
6
6
  import {
7
7
  join2
8
- } from "./model-retry-f2zjpyt5.js";
8
+ } from "./tool-output-rdg052zg.js";
9
9
  import {
10
- Service78,
11
- node80
12
- } from "./model-retry-sbzezcpx.js";
10
+ Service68,
11
+ node69
12
+ } from "./tool-output-7f840skq.js";
13
13
  import {
14
14
  DeclinedError2
15
- } from "./model-retry-d58fy8mx.js";
15
+ } from "./tool-output-kq4fsc21.js";
16
16
  import {
17
17
  CancelledError2
18
- } from "./model-retry-6vhg36rj.js";
18
+ } from "./tool-output-jqztd8gr.js";
19
19
  import {
20
- Error5
21
- } from "./model-retry-cay00gdv.js";
20
+ Error2
21
+ } from "./tool-output-k10mvm5q.js";
22
22
  import {
23
23
  get5
24
- } from "./model-retry-3nnrz6f6.js";
24
+ } from "./tool-output-3nnrz6f6.js";
25
25
  import {
26
- Service39,
27
- node42
28
- } from "./model-retry-j98b4kym.js";
26
+ Service37,
27
+ node40
28
+ } from "./tool-output-sktgxqbh.js";
29
29
  import {
30
- make27
31
- } from "./model-retry-agje4kmn.js";
30
+ make26
31
+ } from "./tool-output-6y2b864j.js";
32
32
  import {
33
33
  toLLMMessages2
34
- } from "./model-retry-dt5a52ky.js";
34
+ } from "./tool-output-ey9kdhht.js";
35
35
  import {
36
36
  __export
37
- } from "./model-retry-9rqn6x4v.js";
37
+ } from "./tool-output-9rqn6x4v.js";
38
38
 
39
39
  // src/session/model-request.ts
40
40
  var exports_model_request = {};
41
41
  __export(exports_model_request, {
42
- Service: () => Service38,
42
+ Service: () => Service36,
43
43
  SessionModelRequest: () => exports_model_request,
44
44
  baseTranscript: () => baseTranscript2,
45
45
  boundImages: () => boundImages2,
46
- layer: () => layer16,
47
- node: () => node41,
46
+ layer: () => layer14,
47
+ node: () => node39,
48
48
  outputLimit: () => outputLimit2,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
@@ -81,7 +81,7 @@ var baseTranscript2 = (input) => {
81
81
  return {
82
82
  providerMetadataKey,
83
83
  system: [
84
- SystemPart.make(input.agent.system ? input.agent.system : make27(input.tools.definitions.map((tool) => tool.name))),
84
+ SystemPart.make(input.agent.system ? input.agent.system : make26(input.tools.definitions.map((tool) => tool.name))),
85
85
  {
86
86
  ...SystemPart.make(join2(input.initial)),
87
87
  metadata: { experimental: { instructions: input.initial } }
@@ -187,19 +187,19 @@ var boundImages2 = (messages) => {
187
187
  });
188
188
  };
189
189
 
190
- class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
190
+ class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
191
191
  }
192
- var layer16 = Layer.effect(Service38, Effect.gen(function* () {
193
- const hooks = yield* Service78;
194
- const transport = yield* Service39;
195
- const app = yield* Service80;
192
+ var layer14 = Layer.effect(Service36, Effect.gen(function* () {
193
+ const hooks = yield* Service68;
194
+ const transport = yield* Service37;
195
+ const app = yield* Service63;
196
196
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
197
197
  const session = input.session;
198
198
  const model = input.model;
199
199
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
200
200
  const tools = input.tools ?? {
201
201
  definitions: [],
202
- execute: () => new Error5({ message: "Tools are not available for this request" })
202
+ execute: () => new Error2({ message: "Tools are not available for this request" })
203
203
  };
204
204
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
205
205
  const shaped = yield* shape({
@@ -293,17 +293,17 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
293
293
  };
294
294
  });
295
295
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
296
- return Service38.of({
296
+ return Service36.of({
297
297
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
298
298
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
299
299
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
300
300
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
301
301
  });
302
302
  }));
303
- var node41 = makeLocationNode({
304
- service: Service38,
305
- layer: layer16,
306
- deps: [node80, node42, node82]
303
+ var node39 = makeLocationNode({
304
+ service: Service36,
305
+ layer: layer14,
306
+ deps: [node69, node40, node64]
307
307
  });
308
308
 
309
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service38, layer16, node41, exports_model_request };
309
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service36, layer14, node39, exports_model_request };
@@ -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/plugin/provider/claude-agent/language-model/usage.ts
6
6
  var exports_usage = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-retry-qfa1cgps.js";
3
+ } from "./tool-output-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-retry-034tev2y.js";
6
+ } from "./tool-output-aj7mw0zk.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./model-retry-7az9823q.js";
4
+ } from "./tool-output-fw4fd2n6.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-retry-1ep2p91f.js";
7
+ } from "./tool-output-27w5k9zf.js";
8
8
  import {
9
9
  __export
10
- } from "./model-retry-9rqn6x4v.js";
10
+ } from "./tool-output-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID13,
17
- Info: () => Info16,
18
- NotFoundError: () => NotFoundError11,
16
+ ID: () => ID12,
17
+ Info: () => Info15,
18
+ NotFoundError: () => NotFoundError8,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service75,
21
- node: () => node77
20
+ Service: () => Service59,
21
+ node: () => node60
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID13 = PermissionSaved.ID;
29
- var Info16 = PermissionSaved.Info;
28
+ var ID12 = PermissionSaved.ID;
29
+ var Info15 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID13
31
+ class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID12
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID13,
37
+ id: ID12,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service75 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service59 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service75, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
46
46
  const db = (yield* Service94).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID13.create(),
55
+ id: ID12.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError11({ id: input.id });
64
+ return yield* new NotFoundError8({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError11({ id: input.id });
69
+ return yield* new NotFoundError8({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service75.of({ list, add, update, remove });
75
+ return Service59.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node77 = makeGlobalNode({ service: Service75, layer, deps: [node96] });
93
+ var node60 = makeGlobalNode({ service: Service59, layer, deps: [node96] });
94
94
 
95
- export { ID13, Info16, NotFoundError11, ConflictError2, Service75, node77, exports_saved };
95
+ export { ID12, Info15, NotFoundError8, ConflictError2, Service59, node60, exports_saved };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./model-retry-80pdk984.js";
3
+ } from "./tool-output-80pdk984.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-retry-z5v4ffb3.js";
6
+ } from "./tool-output-z5v4ffb3.js";
7
7
  import {
8
8
  ID9,
9
9
  Name2
10
- } from "./model-retry-vm0473yf.js";
10
+ } from "./tool-output-0zvg0tcx.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};