@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,26 +1,26 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make33,
4
+ make34,
5
5
  listUpdate2
6
- } from "./model-retry-f2zjpyt5.js";
6
+ } from "./tool-output-rdg052zg.js";
7
7
  import {
8
8
  ID9,
9
9
  Name2,
10
10
  available3,
11
- Service48,
12
- node51
13
- } from "./model-retry-vm0473yf.js";
11
+ Service55,
12
+ node56
13
+ } from "./tool-output-0zvg0tcx.js";
14
14
  import {
15
15
  __export
16
- } from "./model-retry-9rqn6x4v.js";
16
+ } from "./tool-output-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service28,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node32
19
+ var exports_instructions6 = {};
20
+ __export(exports_instructions6, {
21
+ Service: () => Service35,
22
+ SkillInstructions: () => exports_instructions6,
23
+ node: () => node38
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
@@ -56,14 +56,14 @@ var update = listUpdate2({
56
56
  }
57
57
  });
58
58
 
59
- class Service28 extends Context.Service()("@opencode/SkillInstructions") {
59
+ class Service35 extends Context.Service()("@opencode/SkillInstructions") {
60
60
  }
61
- var layer = Layer.effect(Service28, Effect.gen(function* () {
62
- const skills = yield* Service48;
63
- return Service28.of({
61
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
62
+ const skills = yield* Service55;
63
+ return Service35.of({
64
64
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
65
65
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
66
- return make33({
66
+ return make34({
67
67
  key: Key3.make("core/skill-guidance"),
68
68
  codec: Schema.toCodecJson(Schema.Array(Summary)),
69
69
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
76
76
  })
77
77
  });
78
78
  }));
79
- var node32 = makeLocationNode({ service: Service28, layer, deps: [node51] });
79
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node56] });
80
80
 
81
- export { Service28, node32, exports_instructions3 };
81
+ export { Service35, node38, exports_instructions6 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./model-retry-rb9dy4dg.js";
10
+ } from "./tool-output-rb9dy4dg.js";
11
11
  import {
12
12
  Service90
13
- } from "./model-retry-jbx2ytam.js";
13
+ } from "./tool-output-dvz4cp0t.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./model-retry-v99gtden.js";
16
+ } from "./tool-output-48qcwzv0.js";
17
17
  import {
18
18
  __export
19
- } from "./model-retry-9rqn6x4v.js";
19
+ } from "./tool-output-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin2,
24
+ Plugin: () => Plugin3,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin2 = define({
33
+ var Plugin3 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service90;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin2, exports_hg };
201
+ export { Plugin3, exports_hg };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./model-retry-7rvsyqjv.js";
3
+ } from "./tool-output-7rvsyqjv.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-retry-z5v4ffb3.js";
6
+ } from "./tool-output-z5v4ffb3.js";
7
7
  import {
8
8
  Service90
9
- } from "./model-retry-jbx2ytam.js";
9
+ } from "./tool-output-dvz4cp0t.js";
10
10
  import {
11
- Service56
12
- } from "./model-retry-927fj99d.js";
11
+ Service79
12
+ } from "./tool-output-h9beesa2.js";
13
13
  import {
14
14
  InvalidGlobError2,
15
- Service54
16
- } from "./model-retry-kv5h436t.js";
15
+ Service78
16
+ } from "./tool-output-wydfnpen.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./model-retry-r1wj65t2.js";
21
+ } from "./tool-output-svq6b8q7.js";
22
22
  import {
23
23
  pathType2,
24
24
  bounded2
25
- } from "./model-retry-mqmkyzwr.js";
25
+ } from "./tool-output-5qqpdn12.js";
26
26
  import {
27
27
  invocation2,
28
- Service74
29
- } from "./model-retry-d58fy8mx.js";
28
+ Service58
29
+ } from "./tool-output-kq4fsc21.js";
30
30
  import {
31
- Service55
32
- } from "./model-retry-9xf3pksr.js";
31
+ Service57
32
+ } from "./tool-output-0g9zm4m8.js";
33
33
  import {
34
34
  __export
35
- } from "./model-retry-9rqn6x4v.js";
35
+ } from "./tool-output-9rqn6x4v.js";
36
36
 
37
37
  // src/tool/plugin/glob.ts
38
38
  var exports_glob = {};
39
39
  __export(exports_glob, {
40
40
  GlobTool: () => exports_glob,
41
- Input: () => Input9,
42
- Output: () => Output7,
43
- Plugin: () => Plugin30,
44
- name: () => name9,
45
- toModelContent: () => toModelContent3
41
+ Input: () => Input2,
42
+ Output: () => Output2,
43
+ Plugin: () => Plugin40,
44
+ name: () => name2,
45
+ toModelContent: () => toModelContent2
46
46
  });
47
47
  import { ToolFailure } from "@opencode/ai/effect";
48
48
  import { Effect, Schema } from "effect";
49
49
  import path from "path";
50
- var name9 = "glob";
51
- var Input9 = Schema.Struct({
50
+ var name2 = "glob";
51
+ var Input2 = Schema.Struct({
52
52
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
53
53
  path: Schema.optionalKey(RelativePath2).annotate({
54
54
  description: "Directory to search. Defaults to the current working directory."
@@ -60,34 +60,34 @@ var Input9 = Schema.Struct({
60
60
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
61
61
  })
62
62
  });
63
- var Output7 = Schema.Array(Entry2);
64
- var toModelContent3 = (entries, truncated = false) => {
63
+ var Output2 = Schema.Array(Entry2);
64
+ var toModelContent2 = (entries, truncated = false) => {
65
65
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
66
66
  if (truncated)
67
67
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
68
68
  return lines.join(`
69
69
  `);
70
70
  };
71
- var Plugin30 = {
71
+ var Plugin40 = {
72
72
  id: "opencode.tool.glob",
73
73
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
74
- const environment = yield* Service56;
75
- const ripgrep = yield* Service54;
74
+ const environment = yield* Service79;
75
+ const ripgrep = yield* Service78;
76
76
  const location = yield* Service90;
77
- const access = yield* Service55;
78
- const permission = yield* Service74;
77
+ const access = yield* Service57;
78
+ const permission = yield* Service58;
79
79
  yield* ctx.tool.transform((editor) => editor.add({
80
- name: name9,
80
+ name: name2,
81
81
  options: { codemode: false },
82
82
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
83
- input: Input9,
84
- output: Output7,
83
+ input: Input2,
84
+ output: Output2,
85
85
  execute: (input, context) => Effect.gen(function* () {
86
86
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
87
87
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
88
88
  yield* access.authorizeExternal([target], context);
89
89
  yield* permission.assert({
90
- action: name9,
90
+ action: name2,
91
91
  resources: [input.pattern],
92
92
  save: ["*"],
93
93
  metadata: {
@@ -112,11 +112,11 @@ var Plugin30 = {
112
112
  };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.entries,
115
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
115
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
116
116
  metadata: { count: result.entries.length, truncated: result.truncated }
117
117
  })), Effect.mapError((error) => error instanceof InvalidGlobError2 ? new ToolFailure({ message: `Invalid glob in pattern ${error.message}` }) : toolFailure2(`Unable to find files matching ${input.pattern}`)(error)))
118
118
  })).pipe(Effect.orDie);
119
119
  })
120
120
  };
121
121
 
122
- export { name9, Input9, Output7, toModelContent3, Plugin30, exports_glob };
122
+ export { name2, Input2, Output2, toModelContent2, Plugin40, exports_glob };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  outstanding2
3
- } from "./model-retry-4dfqsw0d.js";
3
+ } from "./tool-output-m4p4r8nc.js";
4
4
  import {
5
5
  SessionMessage2
6
- } from "./model-retry-gftt206x.js";
6
+ } from "./tool-output-gftt206x.js";
7
7
  import {
8
8
  SyntheticPayload2
9
- } from "./model-retry-p6k55dzp.js";
9
+ } from "./tool-output-b4bpngzw.js";
10
10
  import {
11
11
  NO_TEXT2,
12
12
  text3,
13
13
  formatBody2,
14
14
  deliver2
15
- } from "./model-retry-fnrhryqq.js";
15
+ } from "./tool-output-fnrhryqq.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/execution/subagent-report.ts
21
21
  var exports_subagent_report = {};
22
22
  __export(exports_subagent_report, {
23
23
  SubagentReport: () => exports_subagent_report,
24
- make: () => make29
24
+ make: () => make28
25
25
  });
26
26
  import { Effect, Result } from "effect";
27
- var make29 = (deps) => {
27
+ var make28 = (deps) => {
28
28
  const periods = new Map;
29
29
  const started = (sessionID, period) => {
30
30
  periods.set(sessionID, period);
@@ -138,4 +138,4 @@ var make29 = (deps) => {
138
138
  return { started, clear, prepare };
139
139
  };
140
140
 
141
- export { make29, exports_subagent_report };
141
+ export { make28, exports_subagent_report };
@@ -1,35 +1,35 @@
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
  Service93,
7
7
  node95
8
- } from "./model-retry-77n50j8n.js";
8
+ } from "./tool-output-zragvvgt.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./model-retry-pknna89w.js";
11
+ } from "./tool-output-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./model-retry-m1714858.js";
14
+ } from "./tool-output-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./model-retry-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
23
+ Event: () => Event19,
24
24
  External: () => External2,
25
- ID: () => ID20,
26
- Info: () => Info29,
25
+ ID: () => ID19,
26
+ Info: () => Info28,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service89,
29
+ Service: () => Service87,
30
30
  Value: () => Value2,
31
31
  expiring: () => expiring2,
32
- node: () => node91
32
+ node: () => node89
33
33
  });
34
34
  import { asc, desc, eq } from "drizzle-orm";
35
35
  import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
@@ -38,25 +38,25 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
38
38
  import { Integration } from "@opencode/schema/integration";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
40
40
  import { EffectFlock } from "@opencode/util/effect-flock";
41
- var ID20 = Credential.ID;
41
+ var ID19 = Credential.ID;
42
42
  var OAuth3 = Credential.OAuth;
43
43
  var Key4 = Credential.Key;
44
44
  var External2 = Credential.External;
45
45
  var Value2 = Credential.Value;
46
- var Event20 = Credential.Event;
46
+ var Event19 = Credential.Event;
47
47
  var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
48
48
 
49
- class Info29 extends Schema.Class("Credential.Info")({
50
- id: ID20,
49
+ class Info28 extends Schema.Class("Credential.Info")({
50
+ id: ID19,
51
51
  integrationID: Integration.ID,
52
52
  label: Schema.String,
53
53
  value: Value2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service89 extends Context.Service()("@opencode/Credential") {
57
+ class Service87 extends Context.Service()("@opencode/Credential") {
58
58
  }
59
- var layer = Layer.effect(Service89, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service87, Effect.gen(function* () {
60
60
  const db = (yield* Service94).db;
61
61
  const bus = yield* Service93;
62
62
  const flock = yield* EffectFlock.Service;
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
66
66
  const stored = (row) => {
67
67
  if (!row.integration_id)
68
68
  return;
69
- return new Info29({
69
+ return new Info28({
70
70
  id: row.id,
71
71
  integrationID: row.integration_id,
72
72
  label: row.label,
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
93
93
  pending.set(id, fiber);
94
94
  return yield* restore(Fiber.join(fiber));
95
95
  }));
96
- const service = Service89.of({
96
+ const service = Service87.of({
97
97
  refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
98
98
  const current = yield* service.get(id);
99
99
  if (current?.value.type !== "oauth")
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
123
123
  return row ? stored(row) : undefined;
124
124
  }),
125
125
  create: Effect.fn("Credential.create")(function* (input) {
126
- const credential = new Info29({
127
- id: input.id ?? ID20.create(),
126
+ const credential = new Info28({
127
+ id: input.id ?? ID19.create(),
128
128
  integrationID: input.integrationID,
129
129
  label: input.label ?? "default",
130
130
  value: input.value
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
154
154
  type: credential.value.type,
155
155
  active: activated
156
156
  });
157
- yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
157
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
158
158
  if (activated)
159
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
159
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
160
160
  return credential;
161
161
  }),
162
162
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
172
172
  })).pipe(logFailure("credential activate failed", { credentialID: id }));
173
173
  if (integrationID) {
174
174
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
175
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
175
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
176
176
  }
177
177
  }),
178
178
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
197
197
  labelChanged: updates.label !== undefined && updates.label !== credential.label
198
198
  });
199
199
  if (updates.label !== undefined && updates.label !== credential.label)
200
- yield* bus.publish(Event20.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
200
+ yield* bus.publish(Event19.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
201
201
  }),
202
202
  remove: Effect.fn("Credential.remove")(function* (id) {
203
203
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
226
226
  ...removed.switched ? { replacementID: removed.credentialID } : {}
227
227
  });
228
228
  if (removed.integrationID)
229
- yield* bus.publish(Event20.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
229
+ yield* bus.publish(Event19.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
230
230
  if (removed.switched)
231
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
231
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
232
232
  })
233
233
  });
234
234
  return service;
235
235
  }));
236
- var node91 = makeGlobalNode({ service: Service89, layer, deps: [node96, node95, EffectFlock.node] });
236
+ var node89 = makeGlobalNode({ service: Service87, layer, deps: [node96, node95, EffectFlock.node] });
237
237
 
238
- export { ID20, OAuth3, Key4, External2, Value2, Event20, expiring2, Info29, Service89, node91, exports_credential };
238
+ export { ID19, OAuth3, Key4, External2, Value2, Event19, expiring2, Info28, Service87, node89, exports_credential };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Document3
3
- } from "./model-retry-7zs4mqwf.js";
3
+ } from "./tool-output-3qgwywyc.js";
4
4
  import {
5
5
  match3
6
- } from "./model-retry-1aqsckx4.js";
6
+ } from "./tool-output-1aqsckx4.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/managed-policy.ts
12
12
  var exports_managed_policy = {};
@@ -1,36 +1,36 @@
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
  Service90,
7
7
  node92
8
- } from "./model-retry-jbx2ytam.js";
8
+ } from "./tool-output-dvz4cp0t.js";
9
9
  import {
10
- Service77,
11
- node79
12
- } from "./model-retry-bq6zz71s.js";
10
+ Service61,
11
+ node62
12
+ } from "./tool-output-p5e2tvxb.js";
13
13
  import {
14
- NotFoundError12
15
- } from "./model-retry-edm37t96.js";
14
+ NotFoundError9
15
+ } from "./tool-output-wyrr125q.js";
16
16
  import {
17
17
  match3
18
- } from "./model-retry-1aqsckx4.js";
18
+ } from "./tool-output-1aqsckx4.js";
19
19
  import {
20
- Service76,
21
- node78
22
- } from "./model-retry-0qdv0842.js";
20
+ Service60,
21
+ node61
22
+ } from "./tool-output-12m872qf.js";
23
23
  import {
24
- Service75,
25
- node77
26
- } from "./model-retry-hn8kcxz7.js";
24
+ Service59,
25
+ node60
26
+ } from "./tool-output-2a7g6nbn.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
32
  __export
33
- } from "./model-retry-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission = {};
@@ -39,30 +39,30 @@ __export(exports_permission, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event13,
43
- ID: () => ID12,
44
- NotFoundError: () => NotFoundError10,
42
+ Event: () => Event11,
43
+ ID: () => ID11,
44
+ NotFoundError: () => NotFoundError7,
45
45
  Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request3,
48
48
  Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service74,
50
+ Service: () => Service58,
51
51
  Source: () => Source5,
52
52
  Unattended: () => Unattended2,
53
53
  evaluate: () => evaluate3,
54
54
  invocation: () => invocation2,
55
55
  merge: () => merge2,
56
- node: () => node76
56
+ node: () => node59
57
57
  });
58
58
  import { makeLocationNode } from "@opencode/util/effect/app-node";
59
59
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
60
60
  import { Permission } from "@opencode/schema/permission";
61
61
  import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
62
- import { Event as Event13 } from "@opencode/schema/permission";
62
+ import { Event as Event11 } from "@opencode/schema/permission";
63
63
  var PermissionEffect = Permission.Effect;
64
64
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
65
- var ID12 = Permission.ID;
65
+ var ID11 = Permission.ID;
66
66
  var Source5 = Permission.Source;
67
67
  var Request3 = Permission.Request;
68
68
  var Reply2 = Permission.Reply;
@@ -99,8 +99,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
99
99
  }
100
100
  }
101
101
 
102
- class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
103
- requestID: ID12
102
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
103
+ requestID: ID11
104
104
  }) {
105
105
  }
106
106
  function evaluate3(action, resource, ...rulesets) {
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
114
114
  return rulesets.flat();
115
115
  }
116
116
 
117
- class Service74 extends Context.Service()("@opencode/Permission") {
117
+ class Service58 extends Context.Service()("@opencode/Permission") {
118
118
  }
119
- var layer = Layer.effect(Service74, Effect.gen(function* () {
119
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
120
120
  const bus = yield* Service93;
121
121
  const location = yield* Service90;
122
- const agents = yield* Service77;
123
- const sessions = yield* Service76;
124
- const saved = yield* Service75;
125
- const hooks = yield* Service78;
122
+ const agents = yield* Service61;
123
+ const sessions = yield* Service60;
124
+ const saved = yield* Service59;
125
+ const hooks = yield* Service68;
126
126
  const pending = new Map;
127
127
  let closed = false;
128
128
  const close = Effect.gen(function* () {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
145
145
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
146
146
  const session = yield* sessions.get(sessionID);
147
147
  if (!session)
148
- return yield* new NotFoundError12({ sessionID });
148
+ return yield* new NotFoundError9({ sessionID });
149
149
  const agent = yield* agents.resolve(agentID ?? session.agent);
150
150
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
151
151
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID12.create(),
189
+ id: input.id ?? ID11.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID12.create(), effect: "deny" };
214
+ return { id: input.id ?? ID11.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
258
258
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
259
259
  const existing = pending.get(input.requestID);
260
260
  if (!existing)
261
- return yield* new NotFoundError10({ requestID: input.requestID });
261
+ return yield* new NotFoundError7({ requestID: input.requestID });
262
262
  yield* bus.publish(Permission.Event.Replied, {
263
263
  sessionID: existing.request.sessionID,
264
264
  requestID: existing.request.id,
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
313
313
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
314
314
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
315
315
  });
316
- return Service74.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
316
+ return Service58.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
317
317
  }));
318
- var node76 = makeLocationNode({
319
- service: Service74,
318
+ var node59 = makeLocationNode({
319
+ service: Service58,
320
320
  layer,
321
- deps: [node95, node92, node79, node78, node77, node80]
321
+ deps: [node95, node92, node62, node61, node60, node69]
322
322
  });
323
323
 
324
- export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service74, node76, exports_permission, Rule2, Ruleset2, Event13 };
324
+ export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate3, merge2, Service58, node59, exports_permission, Rule2, Ruleset2, Event11 };