@opencode/core 0.0.0-dev-1286 → 0.0.0-dev-1288

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 (924) 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 +9 -9
  6. package/dist/artifact.js +260 -260
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{state-034tev2y.js → skill-034tev2y.js} +2 -2
  9. package/dist/chunks/{state-mm2c6967.js → skill-03tcc1wc.js} +7 -7
  10. package/dist/chunks/{state-h5chy42v.js → skill-04qc8z7j.js} +3 -3
  11. package/dist/chunks/{state-7ahvbyep.js → skill-0a6gezy6.js} +20 -20
  12. package/dist/chunks/{state-ca49h5yy.js → skill-0ev6yt64.js} +35 -35
  13. package/dist/chunks/{state-s6edbn2q.js → skill-0fchx9hj.js} +15 -15
  14. package/dist/chunks/{state-ttz31trp.js → skill-0fvxehme.js} +5 -5
  15. package/dist/chunks/{state-qxzadwmc.js → skill-0kd8641e.js} +8 -8
  16. package/dist/chunks/{state-v2jzqrdt.js → skill-0nk245hp.js} +21 -21
  17. package/dist/chunks/{state-5jcnyvfa.js → skill-0tfnrs7b.js} +79 -79
  18. package/dist/chunks/{state-s2y7fbda.js → skill-0xr7csge.js} +33 -33
  19. package/dist/chunks/{state-jah69v2r.js → skill-0zjy86nb.js} +49 -49
  20. package/dist/chunks/{state-ydsespw1.js → skill-160yv0cs.js} +4 -4
  21. package/dist/chunks/{state-1aqsckx4.js → skill-1aqsckx4.js} +1 -1
  22. package/dist/chunks/{state-1ep2p91f.js → skill-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{state-1v2g13eq.js → skill-1v2g13eq.js} +4 -4
  24. package/dist/chunks/{state-1x2knyw4.js → skill-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{state-cdhj0d8w.js → skill-1x2p7x5n.js} +30 -30
  26. package/dist/chunks/{state-1yq9hg58.js → skill-1yq9hg58.js} +1 -1
  27. package/dist/chunks/{state-yt39c6df.js → skill-21jyc2zq.js} +7 -7
  28. package/dist/chunks/{state-mdgen25f.js → skill-23s8wbct.js} +2 -2
  29. package/dist/chunks/{state-cch1wthv.js → skill-26ap4nbq.js} +23 -23
  30. package/dist/chunks/{state-gmemj5zs.js → skill-26wfx3k0.js} +4 -4
  31. package/dist/chunks/{state-m8kfdq53.js → skill-2brepv0z.js} +27 -27
  32. package/dist/chunks/{state-2fc7eemy.js → skill-2fc7eemy.js} +1 -1
  33. package/dist/chunks/{state-pk8qaaqs.js → skill-2gmad1r4.js} +9 -9
  34. package/dist/chunks/{state-3crmp3j0.js → skill-2m68rr6d.js} +17 -17
  35. package/dist/chunks/{state-2p60zmnr.js → skill-2p60zmnr.js} +2 -2
  36. package/dist/chunks/{state-tf4gkfkx.js → skill-2w5yyhv1.js} +23 -23
  37. package/dist/chunks/{state-859w1rtj.js → skill-3adw4bt5.js} +9 -9
  38. package/dist/chunks/{state-ykqyz08a.js → skill-3ex1ss0s.js} +5 -5
  39. package/dist/chunks/{state-mp1w26g9.js → skill-3f0anman.js} +10 -10
  40. package/dist/chunks/{state-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{state-08v7z8bj.js → skill-3j862yd2.js} +4 -4
  42. package/dist/chunks/{state-3nnrz6f6.js → skill-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{state-40y6dtc2.js → skill-40y6dtc2.js} +1 -1
  44. package/dist/chunks/{state-40za9wsf.js → skill-40za9wsf.js} +2 -2
  45. package/dist/chunks/{state-gzykt30c.js → skill-439vg8zg.js} +3 -3
  46. package/dist/chunks/{state-5mmm03tc.js → skill-44erdk8z.js} +15 -15
  47. package/dist/chunks/{state-44pmzq9c.js → skill-44pmzq9c.js} +2 -2
  48. package/dist/chunks/{state-0tvmk5mj.js → skill-461vt668.js} +5 -5
  49. package/dist/chunks/{state-28rkn4bn.js → skill-495vdj1c.js} +8 -8
  50. package/dist/chunks/{state-4dx1dgte.js → skill-4dx1dgte.js} +1 -1
  51. package/dist/chunks/{state-4f25tdd0.js → skill-4f25tdd0.js} +1 -1
  52. package/dist/chunks/{state-4pyp9zr9.js → skill-4pyp9zr9.js} +1 -1
  53. package/dist/chunks/{state-4v008n1t.js → skill-4v008n1t.js} +1 -1
  54. package/dist/chunks/{state-8qbjba5v.js → skill-4vh8e1q7.js} +8 -8
  55. package/dist/chunks/{state-k1e8gd0x.js → skill-5462zn5f.js} +17 -17
  56. package/dist/chunks/{state-7f2gtd9q.js → skill-54hyepmp.js} +9 -9
  57. package/dist/chunks/{state-ha4eeywz.js → skill-55x0ca6n.js} +6 -6
  58. package/dist/chunks/{state-skcgq5k4.js → skill-5b2gq477.js} +10 -10
  59. package/dist/chunks/{state-0btzqa1f.js → skill-5d5yp73e.js} +28 -28
  60. package/dist/chunks/{state-vjvy004v.js → skill-5gsrpjps.js} +11 -11
  61. package/dist/chunks/{state-5m9w47nd.js → skill-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{state-y2v2ewvc.js → skill-5v1kbzzt.js} +21 -21
  63. package/dist/chunks/{state-en8b60np.js → skill-63najkvs.js} +5 -5
  64. package/dist/chunks/{state-s5wncjg7.js → skill-6559t45n.js} +19 -19
  65. package/dist/chunks/{state-cs44c0ny.js → skill-66sjh686.js} +22 -22
  66. package/dist/chunks/{state-dh7g0jpy.js → skill-67wqnxeg.js} +14 -14
  67. package/dist/chunks/{state-yyemckek.js → skill-68qm1786.js} +11 -11
  68. package/dist/chunks/{state-jw31swa9.js → skill-6adb23kb.js} +30 -21
  69. package/dist/chunks/{state-e75ef818.js → skill-6aysq5vq.js} +14 -14
  70. package/dist/chunks/{state-2xak8dj5.js → skill-6cen8r5r.js} +14 -14
  71. package/dist/chunks/{state-fsyps2wb.js → skill-6kpkha8e.js} +15 -15
  72. package/dist/chunks/{state-54rczas7.js → skill-6n3z4peb.js} +3 -3
  73. package/dist/chunks/{state-e42rf4nr.js → skill-6sf4gdbt.js} +18 -18
  74. package/dist/chunks/{state-c9jqgsxy.js → skill-70b87wq7.js} +4 -4
  75. package/dist/chunks/{state-5gqyfzh0.js → skill-71fa4tkx.js} +44 -44
  76. package/dist/chunks/{state-2ndqwwwr.js → skill-75fqvagm.js} +13 -13
  77. package/dist/chunks/{state-sqdzwneh.js → skill-776n154v.js} +13 -13
  78. package/dist/chunks/{state-vnnncvva.js → skill-779a1kce.js} +11 -11
  79. package/dist/chunks/{state-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{state-d3bts39x.js → skill-7dkfmmsp.js} +21 -21
  81. package/dist/chunks/{state-h5arkge6.js → skill-7fze536j.js} +52 -52
  82. package/dist/chunks/{state-nntz0wdb.js → skill-7mbas0vy.js} +7 -7
  83. package/dist/chunks/{state-hr8ev4ht.js → skill-7t89jwbf.js} +3 -3
  84. package/dist/chunks/{state-0ma9gw4f.js → skill-7tx5zndv.js} +28 -5
  85. package/dist/chunks/{state-7w2ypzdf.js → skill-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{state-7weczvnd.js → skill-7weczvnd.js} +1 -1
  87. package/dist/chunks/{state-y7zqb3rj.js → skill-7y3b0gxe.js} +28 -28
  88. package/dist/chunks/{state-80mg3ag8.js → skill-80mg3ag8.js} +3 -3
  89. package/dist/chunks/{state-80pdk984.js → skill-80pdk984.js} +1 -1
  90. package/dist/chunks/{state-b8rtg17t.js → skill-849655md.js} +17 -17
  91. package/dist/chunks/{state-81qpdbwx.js → skill-857aqfhe.js} +25 -25
  92. package/dist/chunks/{state-85jq8dht.js → skill-85jq8dht.js} +1 -1
  93. package/dist/chunks/{state-pja45re6.js → skill-86zcfc4c.js} +7 -7
  94. package/dist/chunks/{state-xcwbz96d.js → skill-88fk8ra6.js} +9 -9
  95. package/dist/chunks/{state-z4zj0bd2.js → skill-88gs4f06.js} +7 -7
  96. package/dist/chunks/{state-8b3vzgkx.js → skill-8b3vzgkx.js} +1 -1
  97. package/dist/chunks/{state-p9scnkse.js → skill-8fd4mn1c.js} +12 -12
  98. package/dist/chunks/{state-8kjyvwy5.js → skill-8kjyvwy5.js} +1 -1
  99. package/dist/chunks/{state-r67bjwx7.js → skill-8mb4vsq0.js} +21 -21
  100. package/dist/chunks/{state-n0qwh0ed.js → skill-8pvbfnhx.js} +16 -16
  101. package/dist/chunks/{state-8sxe6kv8.js → skill-8sxe6kv8.js} +2 -2
  102. package/dist/chunks/{state-8wtp7s3z.js → skill-8wtp7s3z.js} +1 -1
  103. package/dist/chunks/{state-5wsvgjfj.js → skill-8wxtd3nx.js} +9 -9
  104. package/dist/chunks/{state-5dnztkma.js → skill-8xn5wnt4.js} +5 -5
  105. package/dist/chunks/{state-8zv0xmg5.js → skill-8zv0xmg5.js} +1 -1
  106. package/dist/chunks/{state-0nvgnn62.js → skill-92m3eqsk.js} +15 -15
  107. package/dist/chunks/{state-228vay93.js → skill-94hpwp71.js} +7 -7
  108. package/dist/chunks/{state-0mtp185z.js → skill-963hk181.js} +9 -9
  109. package/dist/chunks/{state-d95z56xb.js → skill-96m3d58b.js} +13 -13
  110. package/dist/chunks/{state-7jpv224f.js → skill-9a7a2vmy.js} +20 -20
  111. package/dist/chunks/{state-skhaphad.js → skill-9agfr4d6.js} +6 -6
  112. package/dist/chunks/{state-4txybgt8.js → skill-9aprp0hr.js} +9 -9
  113. package/dist/chunks/{state-3bkc2eyb.js → skill-9bk4t4nz.js} +27 -27
  114. package/dist/chunks/{state-9ayb9m9h.js → skill-9cy7bv90.js} +12 -12
  115. package/dist/chunks/{state-k6sdea1r.js → skill-9fs44kj1.js} +3 -3
  116. package/dist/chunks/{state-mzspv93g.js → skill-9npybxqx.js} +137 -137
  117. package/dist/chunks/{state-vpd4yg5b.js → skill-9rpw5thf.js} +34 -34
  118. package/dist/chunks/{state-dbatw319.js → skill-9rqfe4ad.js} +3 -3
  119. package/dist/chunks/{state-eq2t258h.js → skill-9ts8ce21.js} +8 -8
  120. package/dist/chunks/{state-9sk33afj.js → skill-a0f8fvmt.js} +2 -2
  121. package/dist/chunks/{state-t2g4t1z5.js → skill-a9q5y6nq.js} +8 -8
  122. package/dist/chunks/{state-wngs052d.js → skill-ac21q9d8.js} +14 -14
  123. package/dist/chunks/{state-kg3j2jy8.js → skill-ad03y81a.js} +36 -36
  124. package/dist/chunks/{state-6j5y94xc.js → skill-adjefrk5.js} +30 -30
  125. package/dist/chunks/{state-pqcc506g.js → skill-af5h9vj2.js} +368 -368
  126. package/dist/chunks/{state-6y2b864j.js → skill-agje4kmn.js} +4 -4
  127. package/dist/chunks/{state-ayjs7tqn.js → skill-ayjs7tqn.js} +2 -2
  128. package/dist/chunks/{state-b26ddj6h.js → skill-b26ddj6h.js} +4 -4
  129. package/dist/chunks/{state-e96z2m6v.js → skill-b8mx8zzt.js} +7 -7
  130. package/dist/chunks/{state-nw5eecxx.js → skill-bdv8sqrq.js} +1 -1
  131. package/dist/chunks/skill-bgsdyws9.js +35 -0
  132. package/dist/chunks/{state-79yc02xr.js → skill-bhmwncm1.js} +8 -8
  133. package/dist/chunks/{state-bstexjd6.js → skill-bstexjd6.js} +1 -1
  134. package/dist/chunks/{state-12a87htm.js → skill-c5m2a8vb.js} +8 -8
  135. package/dist/chunks/{state-jdpteqf8.js → skill-cb28kjhz.js} +19 -19
  136. package/dist/chunks/{state-fecrtxp5.js → skill-cd4gqj6m.js} +11 -11
  137. package/dist/chunks/{state-3pf22dca.js → skill-cendkn2m.js} +12 -12
  138. package/dist/chunks/{state-jc6fdbwr.js → skill-cey47jp0.js} +49 -49
  139. package/dist/chunks/{state-xmx7xj34.js → skill-cpvd08na.js} +4 -4
  140. package/dist/chunks/{state-z63nefpx.js → skill-cpzt8qfw.js} +5 -5
  141. package/dist/chunks/{state-ekapvd9j.js → skill-cqwx6s5k.js} +28 -28
  142. package/dist/chunks/{state-dp37kwn9.js → skill-ct1nm8d1.js} +7 -7
  143. package/dist/chunks/{state-9f3jsh1d.js → skill-ctmpqb7w.js} +9 -9
  144. package/dist/chunks/{state-cwrgdav8.js → skill-cwrgdav8.js} +2 -2
  145. package/dist/chunks/{state-d4v9tmah.js → skill-d4v9tmah.js} +2 -2
  146. package/dist/chunks/{state-dt77769w.js → skill-dt77769w.js} +1 -1
  147. package/dist/chunks/{state-mgm7q8zj.js → skill-dtfy0h3z.js} +16 -16
  148. package/dist/chunks/{state-mz3s4az1.js → skill-dy41a2ws.js} +9 -9
  149. package/dist/chunks/{state-dmjzkk9b.js → skill-dzfx4xpa.js} +10 -10
  150. package/dist/chunks/{state-5nm4b389.js → skill-dzrdx94s.js} +11 -11
  151. package/dist/chunks/{state-d5c35vpx.js → skill-e0zepttq.js} +16 -16
  152. package/dist/chunks/{state-41pgy3sf.js → skill-e164s8vb.js} +31 -31
  153. package/dist/chunks/{state-cjn9ha1p.js → skill-e39q5v3d.js} +7 -7
  154. package/dist/chunks/{state-bnwq6b4w.js → skill-e6xsdcex.js} +3 -3
  155. package/dist/chunks/{state-prjyz4d4.js → skill-e7w2jmab.js} +21 -21
  156. package/dist/chunks/{state-jmcp7p6t.js → skill-e8d2b6mn.js} +35 -35
  157. package/dist/chunks/{state-ts958vmh.js → skill-edhbmgy4.js} +24 -24
  158. package/dist/chunks/{state-eqw4pqj1.js → skill-eqw4pqj1.js} +2 -2
  159. package/dist/chunks/{state-80m5xgxj.js → skill-etrnj9s7.js} +11 -11
  160. package/dist/chunks/{state-a0w85qt3.js → skill-ewstw71d.js} +13 -13
  161. package/dist/chunks/{state-hxcs36a8.js → skill-exayx9c2.js} +10 -10
  162. package/dist/chunks/{state-6z1a0r6z.js → skill-ez0tast9.js} +36 -36
  163. package/dist/chunks/{state-8wz4tvme.js → skill-f0t7yv95.js} +6 -6
  164. package/dist/chunks/{state-f2zjpyt5.js → skill-f2zjpyt5.js} +2 -2
  165. package/dist/chunks/{state-emvz8vsx.js → skill-f392mvjm.js} +46 -27
  166. package/dist/chunks/{state-9rvyqq0m.js → skill-f86yk39q.js} +11 -11
  167. package/dist/chunks/{state-46r9x6z8.js → skill-fd1fb83z.js} +13 -13
  168. package/dist/chunks/{state-tcbqm7hf.js → skill-fe9kz23p.js} +1 -1
  169. package/dist/chunks/{state-fg9p65nk.js → skill-fg9p65nk.js} +2 -2
  170. package/dist/chunks/{state-1aryjtsy.js → skill-fnrhryqq.js} +8 -6
  171. package/dist/chunks/{state-73s9mjcb.js → skill-fsty9ef7.js} +29 -29
  172. package/dist/chunks/{state-dtsdfz56.js → skill-ftahzyhk.js} +5 -5
  173. package/dist/chunks/{state-mjhe4g2h.js → skill-g2gzn0dm.js} +7 -7
  174. package/dist/chunks/{state-32b106kb.js → skill-g49394pz.js} +10 -10
  175. package/dist/chunks/{state-4sdfsr7r.js → skill-g4j39vhd.js} +7 -7
  176. package/dist/chunks/{state-gbjdnr5j.js → skill-gbjdnr5j.js} +2 -2
  177. package/dist/chunks/{state-cnn53cg0.js → skill-gdadnt0q.js} +8 -8
  178. package/dist/chunks/{state-m16enckk.js → skill-gdmbfj8d.js} +39 -31
  179. package/dist/chunks/{state-7de2dsgr.js → skill-ggtm172q.js} +1 -1
  180. package/dist/chunks/{state-ghrv1g9c.js → skill-ghrv1g9c.js} +1 -1
  181. package/dist/chunks/{state-16b7m4j8.js → skill-gj096rv2.js} +23 -23
  182. package/dist/chunks/{state-k81s7xrj.js → skill-gm1em1g1.js} +21 -21
  183. package/dist/chunks/skill-gmqcaesv.js +273 -0
  184. package/dist/chunks/{state-7mb3cxhd.js → skill-gqbzaqtg.js} +10 -10
  185. package/dist/chunks/{state-2s9mae96.js → skill-gwyytpcj.js} +6 -6
  186. package/dist/chunks/{state-gxs71cxp.js → skill-gxs71cxp.js} +1 -1
  187. package/dist/chunks/{state-vwjpa1de.js → skill-h1hexrfd.js} +9 -9
  188. package/dist/chunks/{state-vtadsekr.js → skill-h3ks57pr.js} +90 -90
  189. package/dist/chunks/{state-31spynen.js → skill-h4g6nytk.js} +23 -23
  190. package/dist/chunks/{state-takjgrvq.js → skill-h4kbzpph.js} +22 -22
  191. package/dist/chunks/{state-7t268gtf.js → skill-h4zg6gzy.js} +22 -13
  192. package/dist/chunks/{state-k4sg6xcd.js → skill-h78cq6gt.js} +6 -6
  193. package/dist/chunks/{state-vqp5kk37.js → skill-he42nnyh.js} +11 -11
  194. package/dist/chunks/{state-hgzwgvze.js → skill-hgzwgvze.js} +2 -2
  195. package/dist/chunks/{state-brr7mgwg.js → skill-hr60ecax.js} +29 -29
  196. package/dist/chunks/{state-55g2q5p5.js → skill-hretfjjx.js} +2 -2
  197. package/dist/chunks/{state-ev9rrvkp.js → skill-hvd5tw3z.js} +18 -18
  198. package/dist/chunks/{state-gzfw1v14.js → skill-j186219z.js} +19 -19
  199. package/dist/chunks/{state-84rzjcq0.js → skill-jdf9jawx.js} +36 -36
  200. package/dist/chunks/{state-zyq2pv4t.js → skill-jkdcm5hg.js} +4 -4
  201. package/dist/chunks/{state-jm70asfg.js → skill-jm70asfg.js} +1 -1
  202. package/dist/chunks/{state-ax38ah6s.js → skill-jmcdzceq.js} +31 -31
  203. package/dist/chunks/{state-sswhfsb9.js → skill-jq1k8593.js} +7 -7
  204. package/dist/chunks/{state-6knn97w4.js → skill-jt6dz72n.js} +26 -26
  205. package/dist/chunks/{state-scmk72rv.js → skill-jv5ccajn.js} +5 -5
  206. package/dist/chunks/{state-f3f0kyhw.js → skill-jvqk8r7t.js} +15 -15
  207. package/dist/chunks/{state-n2xzmb0r.js → skill-k6haj2vm.js} +13 -13
  208. package/dist/chunks/{state-7578v1yb.js → skill-k78pvvak.js} +8 -8
  209. package/dist/chunks/{state-k1d7vaz9.js → skill-kf1ntdb9.js} +25 -25
  210. package/dist/chunks/{state-rzz7nxm9.js → skill-kg05dcep.js} +47 -47
  211. package/dist/chunks/{state-6dtts35a.js → skill-kpjpjwkm.js} +30 -30
  212. package/dist/chunks/{state-kt3bjfbg.js → skill-kt3bjfbg.js} +1 -1
  213. package/dist/chunks/{state-5hyn47a2.js → skill-kwfh7c08.js} +11 -11
  214. package/dist/chunks/{state-wq0p6jrb.js → skill-kx82nz73.js} +3 -3
  215. package/dist/chunks/{state-kzczzf4v.js → skill-kzczzf4v.js} +1 -1
  216. package/dist/chunks/{state-nn2nd58t.js → skill-kzdam8c6.js} +5 -5
  217. package/dist/chunks/{state-m1714858.js → skill-m1714858.js} +1 -1
  218. package/dist/chunks/{state-pd7cqnhq.js → skill-m4p4r8nc.js} +4 -4
  219. package/dist/chunks/{state-dwqgav80.js → skill-m73zgh3e.js} +17 -17
  220. package/dist/chunks/{state-qf0cspkh.js → skill-m84krmx1.js} +32 -32
  221. package/dist/chunks/{state-m90tx7mw.js → skill-m90tx7mw.js} +1 -1
  222. package/dist/chunks/{state-cm2e08f9.js → skill-m9fc8chp.js} +12 -12
  223. package/dist/chunks/{state-xmc7taf5.js → skill-m9n49n2a.js} +59 -59
  224. package/dist/chunks/{state-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
  225. package/dist/chunks/{state-wc0ykp6e.js → skill-mb7e7qw7.js} +9 -9
  226. package/dist/chunks/{state-mb7mbhnz.js → skill-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/skill-me0dhgxs.js +18 -0
  228. package/dist/chunks/{state-2j6t1azn.js → skill-mh4srk08.js} +7 -7
  229. package/dist/chunks/{state-c2r3rtm4.js → skill-mjcdh3gk.js} +19 -19
  230. package/dist/chunks/{state-mr226q9g.js → skill-mykrynga.js} +15 -15
  231. package/dist/chunks/{state-nva44atn.js → skill-mzp60shv.js} +39 -39
  232. package/dist/chunks/{state-n320gsn2.js → skill-n320gsn2.js} +1 -1
  233. package/dist/chunks/{state-x5kxn1qq.js → skill-nhwnw7z8.js} +36 -36
  234. package/dist/chunks/{state-c04pxy3w.js → skill-nm2a7b5s.js} +53 -55
  235. package/dist/chunks/{state-4j3ga8y9.js → skill-np243n95.js} +7 -7
  236. package/dist/chunks/{state-y8z9jktj.js → skill-ntjqk3rm.js} +16 -16
  237. package/dist/chunks/{state-weqc7sb9.js → skill-nv2c5e9q.js} +3 -3
  238. package/dist/chunks/{state-x7vt7y55.js → skill-nxgd89cq.js} +5 -5
  239. package/dist/chunks/{state-hz5xsw53.js → skill-p722s6re.js} +12 -12
  240. package/dist/chunks/{state-gatg4ajq.js → skill-pcds1c82.js} +5 -5
  241. package/dist/chunks/{state-jztnqbkb.js → skill-pdc5q8mj.js} +18 -18
  242. package/dist/chunks/{state-97c87fwj.js → skill-pkdgdegd.js} +14 -14
  243. package/dist/chunks/{state-pknna89w.js → skill-pknna89w.js} +1 -1
  244. package/dist/chunks/{state-esagctk2.js → skill-pmvha8p2.js} +12 -12
  245. package/dist/chunks/{state-3rv7akfg.js → skill-pnyht9cq.js} +2 -2
  246. package/dist/chunks/{state-sak0c658.js → skill-pqpekw9r.js} +2 -2
  247. package/dist/chunks/{state-fnyc052x.js → skill-prkekjc8.js} +11 -11
  248. package/dist/chunks/{state-p4rh8hdf.js → skill-q0eja2hs.js} +20 -20
  249. package/dist/chunks/{state-qvtwmp4v.js → skill-q32ndhrq.js} +6 -6
  250. package/dist/chunks/{state-2ehwevqc.js → skill-q4c6m8h2.js} +6 -6
  251. package/dist/chunks/{state-q3gf3dr6.js → skill-q4h3vea2.js} +18 -18
  252. package/dist/chunks/{state-j3kztysk.js → skill-q4kv02me.js} +32 -32
  253. package/dist/chunks/{state-fgsa38ay.js → skill-q7vty0a9.js} +20 -20
  254. package/dist/chunks/{state-q963thn8.js → skill-q963thn8.js} +4 -4
  255. package/dist/chunks/{state-4bpc2t1s.js → skill-qfg6bwge.js} +35 -35
  256. package/dist/chunks/{state-wzfa06mn.js → skill-qfz6bxfd.js} +4 -4
  257. package/dist/chunks/{state-hwpy7xqd.js → skill-qn714ycf.js} +10 -10
  258. package/dist/chunks/{state-qp7r0hxv.js → skill-qp7r0hxv.js} +1 -1
  259. package/dist/chunks/{state-vhqqbzfv.js → skill-qvb92zbx.js} +30 -30
  260. package/dist/chunks/{state-tpven54p.js → skill-qw4fr088.js} +16 -16
  261. package/dist/chunks/{state-fk9abcws.js → skill-qy5agx8k.js} +12 -12
  262. package/dist/chunks/{state-1qr77ex7.js → skill-qyfb1dw6.js} +17 -17
  263. package/dist/chunks/{state-eam2557n.js → skill-r0wrga32.js} +4 -4
  264. package/dist/chunks/{state-rb9dy4dg.js → skill-rb9dy4dg.js} +1 -1
  265. package/dist/chunks/{state-m7xh3h0x.js → skill-rbg54dp1.js} +4 -4
  266. package/dist/chunks/{state-ph1k6042.js → skill-rcycq7bh.js} +11 -11
  267. package/dist/chunks/{state-rgc9cx3e.js → skill-rgc9cx3e.js} +2 -2
  268. package/dist/chunks/{state-dq3zm9p4.js → skill-rj6htxtc.js} +5 -5
  269. package/dist/chunks/{state-kb7357nt.js → skill-rj7j5fvs.js} +4 -4
  270. package/dist/chunks/{state-8y7sp9bt.js → skill-rwz4qwm5.js} +22 -22
  271. package/dist/chunks/{state-v6hn2ggr.js → skill-rxysp2vp.js} +11 -11
  272. package/dist/chunks/{state-vwc6mpbq.js → skill-rzk485s7.js} +24 -24
  273. package/dist/chunks/{state-2pfdjs0f.js → skill-rzx3251q.js} +16 -16
  274. package/dist/chunks/{state-6fq6hckr.js → skill-s209603a.js} +33 -33
  275. package/dist/chunks/{state-2ytp0tvq.js → skill-s47rahr7.js} +4 -4
  276. package/dist/chunks/{state-65zzbc8y.js → skill-s4kyhetj.js} +6 -6
  277. package/dist/chunks/{state-7sxfp0fs.js → skill-s98wrfw7.js} +8 -7
  278. package/dist/chunks/{state-sbya78hr.js → skill-sbya78hr.js} +1 -1
  279. package/dist/chunks/{state-2jekdept.js → skill-se3qh63c.js} +73 -73
  280. package/dist/chunks/{state-0pp75b2b.js → skill-sk5qsbcw.js} +6 -6
  281. package/dist/chunks/{state-ppchzq00.js → skill-srd5t2wx.js} +12 -12
  282. package/dist/chunks/{state-svcy3p9a.js → skill-svcy3p9a.js} +1 -1
  283. package/dist/chunks/{state-y0p25td2.js → skill-t5ymqest.js} +15 -15
  284. package/dist/chunks/{state-gakp7x89.js → skill-t63sx3rf.js} +4 -4
  285. package/dist/chunks/{state-4q9x5zz6.js → skill-tax8e16k.js} +3 -3
  286. package/dist/chunks/{state-tbpn7jtk.js → skill-tbpn7jtk.js} +1 -1
  287. package/dist/chunks/{state-tczq8hjw.js → skill-tczq8hjw.js} +1 -1
  288. package/dist/chunks/{state-tr8x705m.js → skill-tr8x705m.js} +1 -1
  289. package/dist/chunks/{state-a4c2by28.js → skill-trexsjkk.js} +4 -4
  290. package/dist/chunks/{state-44y9hb78.js → skill-tsq3zbsd.js} +3 -3
  291. package/dist/chunks/skill-tt9rk80g.js +16 -0
  292. package/dist/chunks/{state-tvtps2q9.js → skill-tvtps2q9.js} +1 -1
  293. package/dist/chunks/{state-twssxy5n.js → skill-twssxy5n.js} +2 -2
  294. package/dist/chunks/{state-ddwaa558.js → skill-tx91wa5k.js} +4 -4
  295. package/dist/chunks/{state-ae0qdtqr.js → skill-ty4vgx73.js} +14 -14
  296. package/dist/chunks/{state-v2r1d0zg.js → skill-v2r1d0zg.js} +1 -1
  297. package/dist/chunks/{state-vjf35v1f.js → skill-vjf35v1f.js} +1 -1
  298. package/dist/chunks/{state-bsdnr4ba.js → skill-vk29xtdn.js} +10 -10
  299. package/dist/chunks/{state-2e1nwkkm.js → skill-vnx5c0hq.js} +64 -64
  300. package/dist/chunks/{state-wt34pdjg.js → skill-vpaj1tc4.js} +20 -20
  301. package/dist/chunks/{state-8bzbvxx5.js → skill-vvhvz5v6.js} +8 -8
  302. package/dist/chunks/{state-8ykt8gh4.js → skill-vzqtskbr.js} +32 -32
  303. package/dist/chunks/{state-eqfz6x7d.js → skill-w2b8mj54.js} +13 -13
  304. package/dist/chunks/{state-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
  305. package/dist/chunks/{state-2a60241h.js → skill-w4fj6w8c.js} +4 -4
  306. package/dist/chunks/{state-w687dnns.js → skill-w687dnns.js} +1 -1
  307. package/dist/chunks/{state-f6btcd27.js → skill-w6ax8ecs.js} +19 -19
  308. package/dist/chunks/{state-9q8g9sv8.js → skill-w79nt68w.js} +4 -4
  309. package/dist/chunks/{state-xa5zzh3s.js → skill-w7a3yet4.js} +7 -7
  310. package/dist/chunks/{state-wakvkjy4.js → skill-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{state-wd87259q.js → skill-wd87259q.js} +1 -1
  312. package/dist/chunks/{state-wegkxhrn.js → skill-wegkxhrn.js} +2 -2
  313. package/dist/chunks/{state-5yydhn6j.js → skill-wq1xd5na.js} +11 -11
  314. package/dist/chunks/{state-xdq19q9p.js → skill-wsy9w2q0.js} +12 -12
  315. package/dist/chunks/{state-dvnqv6yn.js → skill-wt6a3mqf.js} +4 -4
  316. package/dist/chunks/{state-r11nrgf9.js → skill-x3eexw8z.js} +4 -4
  317. package/dist/chunks/{state-r17fbvme.js → skill-xacrkbdt.js} +4 -4
  318. package/dist/chunks/{state-aj1gh5b1.js → skill-xamez0gd.js} +15 -15
  319. package/dist/chunks/{state-w7p25t36.js → skill-xb05ve8s.js} +25 -25
  320. package/dist/chunks/{state-5cnce3zv.js → skill-xccw6ckh.js} +46 -46
  321. package/dist/chunks/{state-p41ppky5.js → skill-xcdwrw2g.js} +9 -9
  322. package/dist/chunks/{state-221vya3t.js → skill-xekq0vej.js} +32 -32
  323. package/dist/chunks/{state-xjr6c8m4.js → skill-xjr6c8m4.js} +1 -1
  324. package/dist/chunks/{state-3ay4v82t.js → skill-xjxz5vy8.js} +18 -18
  325. package/dist/chunks/{state-2jj6dqfj.js → skill-xkbnm6m8.js} +51 -51
  326. package/dist/chunks/{state-yybgvvmq.js → skill-xksw6ev0.js} +4 -4
  327. package/dist/chunks/{state-khzy4wg3.js → skill-xmm0678x.js} +4 -4
  328. package/dist/chunks/{state-x9wwrnek.js → skill-xrnga7ra.js} +45 -45
  329. package/dist/chunks/{state-k0hkm9yt.js → skill-xz6s9d9v.js} +32 -32
  330. package/dist/chunks/{state-z5adr5vh.js → skill-y2j4d7b6.js} +8 -8
  331. package/dist/chunks/{state-c5jv50pm.js → skill-y4gmpd10.js} +2 -2
  332. package/dist/chunks/{state-97jbfc4v.js → skill-y9fr1g04.js} +4 -4
  333. package/dist/chunks/{state-21wmys07.js → skill-yaann9ba.js} +3 -3
  334. package/dist/chunks/{state-yb20nhc3.js → skill-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{state-6j5g81c1.js → skill-ybsqb9vh.js} +15 -15
  336. package/dist/chunks/{state-10pn4eb5.js → skill-yepd7x5v.js} +5 -5
  337. package/dist/chunks/{state-dmz93jpt.js → skill-yf162282.js} +10 -10
  338. package/dist/chunks/{state-2prt43t7.js → skill-ypzfmdvb.js} +4 -4
  339. package/dist/chunks/{state-yr705xyq.js → skill-yr705xyq.js} +1 -1
  340. package/dist/chunks/{state-pezsvsz0.js → skill-ysr13b6p.js} +20 -20
  341. package/dist/chunks/{state-kt9t7ezs.js → skill-ytfevedp.js} +25 -25
  342. package/dist/chunks/{state-yvtc2x31.js → skill-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{state-7vtcx4hk.js → skill-yz12r0jf.js} +5 -5
  344. package/dist/chunks/{state-g5ajqn12.js → skill-z080rjh6.js} +4 -4
  345. package/dist/chunks/{state-v02smd4g.js → skill-z0jdm4k5.js} +18 -18
  346. package/dist/chunks/{state-z0wbgq7s.js → skill-z0wbgq7s.js} +1 -1
  347. package/dist/chunks/{state-hrevqrsg.js → skill-zcqr2s0j.js} +1 -1
  348. package/dist/chunks/{state-ze75qvmd.js → skill-ze75qvmd.js} +3 -3
  349. package/dist/chunks/{state-902ym8qp.js → skill-zjweszz6.js} +13 -13
  350. package/dist/chunks/{state-8w7sx7k6.js → skill-zkdm0p6x.js} +20 -20
  351. package/dist/chunks/{state-9pp8gm3k.js → skill-zt9ejasa.js} +25 -25
  352. package/dist/chunks/{state-etyevypf.js → skill-ztxtkq44.js} +19 -19
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +150 -150
  356. package/dist/codemode/instructions.js +10 -10
  357. package/dist/codemode/tool.js +157 -157
  358. package/dist/command.js +94 -94
  359. package/dist/config/discovery.js +95 -95
  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 +135 -135
  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 +132 -132
  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 +105 -105
  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 +17 -0
  478. package/dist/effect/client-tls/client-tls.js +0 -0
  479. package/dist/effect/client-tls/client-tls.node.js +22 -0
  480. package/dist/effect/client-tls/client-tls.workerd.js +17 -0
  481. package/dist/effect/keyed-mutex.js +3 -3
  482. package/dist/effect/websocket-constructor.js +1 -1
  483. package/dist/environment/driver.js +1 -1
  484. package/dist/environment/environment.js +105 -105
  485. package/dist/environment/exec-defaults.js +2 -2
  486. package/dist/environment/files.js +1 -1
  487. package/dist/environment/index.js +109 -109
  488. package/dist/environment/local.js +2 -2
  489. package/dist/environment/memory.js +2 -2
  490. package/dist/environment/unavailable.js +1 -1
  491. package/dist/event/sql.js +1 -1
  492. package/dist/event-logger.js +81 -81
  493. package/dist/file-access.js +162 -162
  494. package/dist/file-mutation.js +108 -108
  495. package/dist/file-retention.js +1 -1
  496. package/dist/file-write.js +166 -166
  497. package/dist/filesystem/fff.bun.js +2 -2
  498. package/dist/filesystem/fff.js +1 -1
  499. package/dist/filesystem/fff.node.js +2 -2
  500. package/dist/filesystem/fff.workerd.js +2 -2
  501. package/dist/filesystem/file-watch.js +88 -88
  502. package/dist/filesystem/location-watcher-policy.js +6 -6
  503. package/dist/filesystem/location-watcher.js +258 -258
  504. package/dist/filesystem/protected.js +1 -1
  505. package/dist/filesystem/search.js +113 -113
  506. package/dist/filesystem/watcher-binding.js +1 -1
  507. package/dist/filesystem/watcher.js +9 -9
  508. package/dist/filesystem.js +118 -118
  509. package/dist/flag.js +132 -132
  510. package/dist/form.js +85 -85
  511. package/dist/formatter/builtins.js +4 -4
  512. package/dist/formatter.js +100 -100
  513. package/dist/generate.js +121 -121
  514. package/dist/git.js +11 -11
  515. package/dist/github-copilot/models.js +113 -113
  516. package/dist/image/notice.js +1 -1
  517. package/dist/image/photon-normalize.js +1 -1
  518. package/dist/image/photon-worker.js +1 -1
  519. package/dist/image/photon.js +4 -4
  520. package/dist/image.js +6 -6
  521. package/dist/instance/service.js +5 -5
  522. package/dist/instance.js +441 -441
  523. package/dist/instruction-discovery.js +96 -96
  524. package/dist/instructions/builtins.js +101 -101
  525. package/dist/instructions/index.js +2 -2
  526. package/dist/integration/connection.js +1 -1
  527. package/dist/integration.js +92 -92
  528. package/dist/job/list.js +5 -5
  529. package/dist/job/recovery.js +2 -2
  530. package/dist/job/sql.js +2 -2
  531. package/dist/job.js +90 -90
  532. package/dist/kv/sql.js +2 -2
  533. package/dist/kv.js +84 -84
  534. package/dist/location-activity.js +185 -185
  535. package/dist/location-lifecycle.js +155 -155
  536. package/dist/location-service-map.js +99 -99
  537. package/dist/location-services.js +438 -438
  538. package/dist/location.js +100 -100
  539. package/dist/managed-policy.js +3 -3
  540. package/dist/mcp/client.js +161 -161
  541. package/dist/mcp/connection.js +106 -106
  542. package/dist/mcp/event-errors.js +1 -1
  543. package/dist/mcp/index.js +155 -155
  544. package/dist/mcp/instructions.js +192 -192
  545. package/dist/mcp/oauth.js +90 -90
  546. package/dist/mcp/pool.js +112 -112
  547. package/dist/mcp/socket-client.js +1 -1
  548. package/dist/mcp/stdio.js +161 -161
  549. package/dist/mime.js +1 -1
  550. package/dist/modal/models.js +113 -113
  551. package/dist/model-resolver.js +111 -111
  552. package/dist/model-retry.js +1 -1
  553. package/dist/model.js +108 -108
  554. package/dist/models-dev/v1.js +1 -1
  555. package/dist/models-dev.js +122 -122
  556. package/dist/oauth/page.js +1 -1
  557. package/dist/oauth/redirect.js +1 -1
  558. package/dist/permission/saved.js +93 -93
  559. package/dist/permission/sql.js +5 -5
  560. package/dist/permission.js +154 -154
  561. package/dist/persistent-pty/binary.bun.js +1 -1
  562. package/dist/persistent-pty/daemon.js +1 -1
  563. package/dist/persistent-pty/index.js +97 -97
  564. package/dist/persistent-pty/pty-binding.js +1 -1
  565. package/dist/persistent-pty.js +86 -86
  566. package/dist/plugin/agent.js +85 -85
  567. package/dist/plugin/command.js +146 -146
  568. package/dist/plugin/fork-notice.js +3 -3
  569. package/dist/plugin/goal.js +3 -3
  570. package/dist/plugin/hooks.js +3 -3
  571. package/dist/plugin/host.js +251 -251
  572. package/dist/plugin/identity.js +5 -5
  573. package/dist/plugin/instance.js +3 -3
  574. package/dist/plugin/internal.js +418 -418
  575. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  576. package/dist/plugin/models-dev.js +111 -111
  577. package/dist/plugin/module.js +130 -130
  578. package/dist/plugin/optimize.js +2 -2
  579. package/dist/plugin/plan.js +151 -151
  580. package/dist/plugin/promise.js +1 -1
  581. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  582. package/dist/plugin/provider/azure.js +134 -134
  583. package/dist/plugin/provider/cerebras.js +1 -1
  584. package/dist/plugin/provider/chatgpt.js +135 -135
  585. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  586. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  587. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  588. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  589. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  590. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  591. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  592. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  593. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  594. package/dist/plugin/provider/claude-agent/index.js +149 -149
  595. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  596. package/dist/plugin/provider/claude-agent/integration.js +116 -116
  597. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  599. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  600. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  601. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  602. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  603. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  604. package/dist/plugin/provider/claude-agent/provider.js +109 -109
  605. package/dist/plugin/provider/claude-agent/session.js +111 -111
  606. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  607. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  608. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  609. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  610. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  611. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  612. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  613. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  615. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  616. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  617. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  618. package/dist/plugin/provider/configured.js +127 -127
  619. package/dist/plugin/provider/credential-settings.js +88 -88
  620. package/dist/plugin/provider/databricks.js +1 -1
  621. package/dist/plugin/provider/digitalocean.js +110 -110
  622. package/dist/plugin/provider/dynamic.js +2 -2
  623. package/dist/plugin/provider/github-copilot.js +112 -112
  624. package/dist/plugin/provider/gitlab.js +111 -111
  625. package/dist/plugin/provider/google-vertex.js +128 -128
  626. package/dist/plugin/provider/kilo.js +1 -1
  627. package/dist/plugin/provider/llmgateway.js +89 -89
  628. package/dist/plugin/provider/lmstudio.js +144 -144
  629. package/dist/plugin/provider/local.js +141 -141
  630. package/dist/plugin/provider/modal.js +109 -109
  631. package/dist/plugin/provider/neon.js +1 -1
  632. package/dist/plugin/provider/nvidia.js +1 -1
  633. package/dist/plugin/provider/ollama.js +142 -142
  634. package/dist/plugin/provider/openai-context-caps.js +107 -107
  635. package/dist/plugin/provider/openai.js +135 -135
  636. package/dist/plugin/provider/opencode-watches.js +4 -4
  637. package/dist/plugin/provider/opencode.js +163 -163
  638. package/dist/plugin/provider/openrouter.js +105 -105
  639. package/dist/plugin/provider/poe.js +91 -91
  640. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  641. package/dist/plugin/provider/refresh.js +87 -87
  642. package/dist/plugin/provider/sap-ai-core.js +105 -105
  643. package/dist/plugin/provider/sdk-factory.js +1 -1
  644. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  645. package/dist/plugin/provider/vllm.js +144 -144
  646. package/dist/plugin/provider/xai.js +105 -105
  647. package/dist/plugin/provider/zenmux.js +1 -1
  648. package/dist/plugin/provider.js +242 -242
  649. package/dist/plugin/sdk.js +85 -85
  650. package/dist/plugin/service.js +3 -3
  651. package/dist/plugin/skill.js +152 -152
  652. package/dist/plugin/source-directory.js +1 -1
  653. package/dist/plugin/supervisor.js +430 -430
  654. package/dist/plugin/tool-input-repair.js +4 -4
  655. package/dist/plugin/update.js +4 -4
  656. package/dist/plugin/vcs/git.js +99 -99
  657. package/dist/plugin/vcs/hg.js +99 -99
  658. package/dist/plugin/verbosity.js +107 -107
  659. package/dist/plugin/warming.js +131 -131
  660. package/dist/plugin/websearch/exa.js +8 -8
  661. package/dist/plugin/websearch/firecrawl.js +9 -9
  662. package/dist/plugin/websearch/index.js +10 -10
  663. package/dist/plugin/websearch/mcp.js +2 -2
  664. package/dist/plugin/websearch/parallel.js +9 -9
  665. package/dist/plugin/websearch/provider.js +1 -1
  666. package/dist/plugin/websearch/tavily.js +7 -7
  667. package/dist/plugin/websearch/tinyfish.js +9 -9
  668. package/dist/plugin.js +262 -262
  669. package/dist/project/icon.js +5 -5
  670. package/dist/project/schema.js +8 -8
  671. package/dist/project/sql.js +4 -4
  672. package/dist/project.js +101 -101
  673. package/dist/provider.js +110 -108
  674. package/dist/pty/protocol.js +1 -1
  675. package/dist/pty/ticket.js +1 -1
  676. package/dist/pty.js +113 -113
  677. package/dist/reference/instructions.js +102 -102
  678. package/dist/reference.js +99 -99
  679. package/dist/repository-cache.js +93 -93
  680. package/dist/repository.js +1 -1
  681. package/dist/ripgrep/binary.js +2 -2
  682. package/dist/ripgrep.js +109 -109
  683. package/dist/rpc.js +99 -99
  684. package/dist/schedule/check.js +256 -256
  685. package/dist/schedule/sql.js +6 -6
  686. package/dist/schedule.js +270 -270
  687. package/dist/schema.js +1 -1
  688. package/dist/session/affinity.js +1 -1
  689. package/dist/session/background.js +3 -3
  690. package/dist/session/blob.js +133 -133
  691. package/dist/session/command.js +85 -85
  692. package/dist/session/compaction.js +171 -171
  693. package/dist/session/context.js +206 -206
  694. package/dist/session/diff.js +101 -101
  695. package/dist/session/environment.js +5 -5
  696. package/dist/session/error.js +5 -5
  697. package/dist/session/event.js +1 -1
  698. package/dist/session/execution/restart.js +270 -270
  699. package/dist/session/execution/subagent-report.js +147 -147
  700. package/dist/session/execution.js +176 -176
  701. package/dist/session/generate.js +210 -210
  702. package/dist/session/history.js +141 -141
  703. package/dist/session/inbox.js +150 -150
  704. package/dist/session/info.js +3 -3
  705. package/dist/session/instruction-entry.js +91 -91
  706. package/dist/session/instruction-state.js +9 -9
  707. package/dist/session/instructions.js +146 -146
  708. package/dist/session/message-updater.js +4 -4
  709. package/dist/session/message.js +1 -1
  710. package/dist/session/model-request.js +171 -171
  711. package/dist/session/model-transport.js +7 -7
  712. package/dist/session/move.js +176 -176
  713. package/dist/session/projector.js +148 -148
  714. package/dist/session/prompt.js +153 -153
  715. package/dist/session/recent-text.js +1 -1
  716. package/dist/session/revert.js +144 -144
  717. package/dist/session/run-coordinator.js +3 -3
  718. package/dist/session/runner/index.js +3 -3
  719. package/dist/session/runner/llm.js +263 -263
  720. package/dist/session/runner/max-steps.js +1 -1
  721. package/dist/session/runner/model.js +115 -115
  722. package/dist/session/runner/publish-llm-event.js +155 -155
  723. package/dist/session/runner/retry.js +5 -5
  724. package/dist/session/runner/step.js +168 -168
  725. package/dist/session/runner/to-llm-message.js +142 -142
  726. package/dist/session/schema.js +5 -5
  727. package/dist/session/session.js +196 -196
  728. package/dist/session/shell.js +149 -149
  729. package/dist/session/skill.js +152 -152
  730. package/dist/session/sql.js +5 -5
  731. package/dist/session/stats.js +85 -85
  732. package/dist/session/store.js +145 -145
  733. package/dist/session/stored.js +2 -2
  734. package/dist/session/subagent-completion.js +1 -1
  735. package/dist/session/subagent-job.js +171 -171
  736. package/dist/session/system-prompt.js +3 -3
  737. package/dist/session/title.js +212 -212
  738. package/dist/session/to-session-error.js +154 -154
  739. package/dist/session/transfer.js +257 -257
  740. package/dist/session/usage.js +1 -1
  741. package/dist/session.js +251 -251
  742. package/dist/shared-cache.js +5 -5
  743. package/dist/shell/parse.js +6 -6
  744. package/dist/shell/result.js +1 -1
  745. package/dist/shell/scan.js +1 -1
  746. package/dist/shell/select.js +13 -13
  747. package/dist/shell.js +149 -149
  748. package/dist/skill/discovery.js +6 -6
  749. package/dist/skill/instructions.js +156 -156
  750. package/dist/skill.js +161 -161
  751. package/dist/snapshot.js +106 -106
  752. package/dist/state.js +1 -1
  753. package/dist/tool/html-markdown.js +1 -1
  754. package/dist/tool/http-body.js +1 -1
  755. package/dist/tool/mcp.js +189 -189
  756. package/dist/tool/plugin/artifact.js +246 -246
  757. package/dist/tool/plugin/edit.js +172 -172
  758. package/dist/tool/plugin/file-diff.js +1 -1
  759. package/dist/tool/plugin/glob.js +176 -176
  760. package/dist/tool/plugin/grep.js +175 -175
  761. package/dist/tool/plugin/image-generate.js +257 -257
  762. package/dist/tool/plugin/mcp-events.js +168 -168
  763. package/dist/tool/plugin/mcp-resource.js +172 -172
  764. package/dist/tool/plugin/opencode.js +168 -168
  765. package/dist/tool/plugin/patch.js +171 -171
  766. package/dist/tool/plugin/question.js +149 -149
  767. package/dist/tool/plugin/read.js +177 -177
  768. package/dist/tool/plugin/schedule.js +262 -262
  769. package/dist/tool/plugin/shell.js +253 -253
  770. package/dist/tool/plugin/skill.js +160 -160
  771. package/dist/tool/plugin/subagent.js +249 -249
  772. package/dist/tool/plugin/todo.js +158 -158
  773. package/dist/tool/plugin/webfetch.js +160 -160
  774. package/dist/tool/plugin/websearch.js +160 -160
  775. package/dist/tool/plugin/write.js +171 -171
  776. package/dist/tool/read-filesystem.js +110 -110
  777. package/dist/tool/runtime.js +1 -1
  778. package/dist/tool/search.js +109 -109
  779. package/dist/tool-output.js +7 -7
  780. package/dist/tool.js +167 -167
  781. package/dist/types/agent.d.ts +9 -0
  782. package/dist/types/database/migration.d.ts +3 -1
  783. package/dist/types/effect/client-tls/client-tls.bun.d.ts +3 -0
  784. package/dist/types/effect/client-tls/client-tls.d.ts +11 -0
  785. package/dist/types/effect/client-tls/client-tls.node.d.ts +3 -0
  786. package/dist/types/effect/client-tls/client-tls.workerd.d.ts +3 -0
  787. package/dist/types/flag.d.ts +2 -2
  788. package/dist/types/plugin/provider/credential-settings.d.ts +5 -0
  789. package/dist/types/provider.d.ts +42 -0
  790. package/dist/types/tool/plugin/shell.d.ts +1 -2
  791. package/dist/usage-limits.js +96 -96
  792. package/dist/util/canonical-json.js +1 -1
  793. package/dist/util/error-summary.js +1 -1
  794. package/dist/util/git-executable.js +3 -3
  795. package/dist/util/lazy.js +1 -1
  796. package/dist/util/slug.js +1 -1
  797. package/dist/util/token.js +1 -1
  798. package/dist/util/which.js +1 -1
  799. package/dist/util/wildcard.js +1 -1
  800. package/dist/v1/config/agent.js +7 -7
  801. package/dist/v1/config/command.js +3 -3
  802. package/dist/v1/config/mcp.js +4 -4
  803. package/dist/v1/config/migrate.js +106 -106
  804. package/dist/v1/config/permission.js +3 -3
  805. package/dist/v1/config/plugin.js +1 -1
  806. package/dist/v1/config/provider-options.js +1 -1
  807. package/dist/v1/config/provider.js +4 -4
  808. package/dist/variant.js +105 -105
  809. package/dist/vcs/patch.js +1 -1
  810. package/dist/vcs.js +98 -98
  811. package/dist/voice.js +91 -91
  812. package/dist/websearch.js +97 -97
  813. package/dist/wellknown/plugin.js +87 -87
  814. package/dist/wellknown.js +90 -90
  815. package/dist/workspace/driver.js +7 -7
  816. package/dist/workspace/sql.js +1 -1
  817. package/dist/workspace.js +93 -93
  818. package/dist/worktree/directory.js +2 -2
  819. package/dist/worktree/git.js +9 -9
  820. package/dist/worktree/sql.js +5 -5
  821. package/dist/worktree/strategies.js +102 -102
  822. package/dist/worktree.js +111 -111
  823. package/package.json +16 -9
  824. package/dist/chunks/state-0gdrrj59.js +0 -16
  825. package/dist/chunks/state-4ne7e05f.js +0 -35
  826. package/dist/chunks/state-en94qyvq.js +0 -273
  827. package/dist/chunks/state-z355x5yr.js +0 -18
  828. /package/dist/chunks/{state-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
  829. /package/dist/chunks/{state-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
  830. /package/dist/chunks/{state-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
  831. /package/dist/chunks/{state-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
  832. /package/dist/chunks/{state-1kah00gy.js → skill-1kah00gy.js} +0 -0
  833. /package/dist/chunks/{state-24dcb14g.js → skill-24dcb14g.js} +0 -0
  834. /package/dist/chunks/{state-2710q6r3.js → skill-2710q6r3.js} +0 -0
  835. /package/dist/chunks/{state-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
  836. /package/dist/chunks/{state-359p4xyc.js → skill-359p4xyc.js} +0 -0
  837. /package/dist/chunks/{state-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
  838. /package/dist/chunks/{state-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
  839. /package/dist/chunks/{state-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
  840. /package/dist/chunks/{state-4qk9sjk2.js → skill-4qk9sjk2.js} +0 -0
  841. /package/dist/chunks/{state-53557ph1.js → skill-53557ph1.js} +0 -0
  842. /package/dist/chunks/{state-5w3e23ze.js → skill-5w3e23ze.js} +0 -0
  843. /package/dist/chunks/{state-6agm2x70.js → skill-6agm2x70.js} +0 -0
  844. /package/dist/chunks/{state-6prwharc.js → skill-6prwharc.js} +0 -0
  845. /package/dist/chunks/{state-6q2bdcd1.js → skill-6q2bdcd1.js} +0 -0
  846. /package/dist/chunks/{state-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
  847. /package/dist/chunks/{state-7m9af43g.js → skill-7m9af43g.js} +0 -0
  848. /package/dist/chunks/{state-7rvsyqjv.js → skill-7rvsyqjv.js} +0 -0
  849. /package/dist/chunks/{state-822emrt2.js → skill-822emrt2.js} +0 -0
  850. /package/dist/chunks/{state-84wd9syh.js → skill-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{state-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{state-8n3pysct.js → skill-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{state-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{state-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{state-9ceax7yg.js → skill-9ceax7yg.js} +0 -0
  856. /package/dist/chunks/{state-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
  857. /package/dist/chunks/{state-ade8csyh.js → skill-ade8csyh.js} +0 -0
  858. /package/dist/chunks/{state-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
  859. /package/dist/chunks/{state-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
  860. /package/dist/chunks/{state-beh6qq61.js → skill-beh6qq61.js} +0 -0
  861. /package/dist/chunks/{state-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
  862. /package/dist/chunks/{state-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
  863. /package/dist/chunks/{state-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
  864. /package/dist/chunks/{state-cqv5kn06.js → skill-cqv5kn06.js} +0 -0
  865. /package/dist/chunks/{state-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
  866. /package/dist/chunks/{state-d9fn303g.js → skill-d9fn303g.js} +0 -0
  867. /package/dist/chunks/{state-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
  868. /package/dist/chunks/{state-df08tz66.js → skill-df08tz66.js} +0 -0
  869. /package/dist/chunks/{state-dy18nga0.js → skill-dy18nga0.js} +0 -0
  870. /package/dist/chunks/{state-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
  871. /package/dist/chunks/{state-ean2d8b5.js → skill-ean2d8b5.js} +0 -0
  872. /package/dist/chunks/{state-ec1grn59.js → skill-ec1grn59.js} +0 -0
  873. /package/dist/chunks/{state-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
  874. /package/dist/chunks/{state-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
  875. /package/dist/chunks/{state-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
  876. /package/dist/chunks/{state-faypxj3z.js → skill-faypxj3z.js} +0 -0
  877. /package/dist/chunks/{state-fd410y7t.js → skill-fd410y7t.js} +0 -0
  878. /package/dist/chunks/{state-fkpq3x5p.js → skill-fkpq3x5p.js} +0 -0
  879. /package/dist/chunks/{state-g86h250q.js → skill-g86h250q.js} +0 -0
  880. /package/dist/chunks/{state-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
  881. /package/dist/chunks/{state-gftt206x.js → skill-gftt206x.js} +0 -0
  882. /package/dist/chunks/{state-hcxmzztb.js → skill-hcxmzztb.js} +0 -0
  883. /package/dist/chunks/{state-hk9envan.js → skill-hk9envan.js} +0 -0
  884. /package/dist/chunks/{state-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
  885. /package/dist/chunks/{state-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
  886. /package/dist/chunks/{state-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
  887. /package/dist/chunks/{state-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
  888. /package/dist/chunks/{state-jwr30sdr.js → skill-jwr30sdr.js} +0 -0
  889. /package/dist/chunks/{state-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
  890. /package/dist/chunks/{state-m18g726c.js → skill-m18g726c.js} +0 -0
  891. /package/dist/chunks/{state-mp448xyj.js → skill-mp448xyj.js} +0 -0
  892. /package/dist/chunks/{state-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
  893. /package/dist/chunks/{state-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
  894. /package/dist/chunks/{state-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
  895. /package/dist/chunks/{state-nh4v3znn.js → skill-nh4v3znn.js} +0 -0
  896. /package/dist/chunks/{state-njntx4h6.js → skill-njntx4h6.js} +0 -0
  897. /package/dist/chunks/{state-p71gwv9c.js → skill-p71gwv9c.js} +0 -0
  898. /package/dist/chunks/{state-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
  899. /package/dist/chunks/{state-q74kybfr.js → skill-q74kybfr.js} +0 -0
  900. /package/dist/chunks/{state-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
  901. /package/dist/chunks/{state-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
  902. /package/dist/chunks/{state-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
  903. /package/dist/chunks/{state-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
  904. /package/dist/chunks/{state-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
  905. /package/dist/chunks/{state-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
  906. /package/dist/chunks/{state-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
  907. /package/dist/chunks/{state-syrav9an.js → skill-syrav9an.js} +0 -0
  908. /package/dist/chunks/{state-t03h4f5z.js → skill-t03h4f5z.js} +0 -0
  909. /package/dist/chunks/{state-ty7weeps.js → skill-ty7weeps.js} +0 -0
  910. /package/dist/chunks/{state-v2dnd5dt.js → skill-v2dnd5dt.js} +0 -0
  911. /package/dist/chunks/{state-ve7vex1e.js → skill-ve7vex1e.js} +0 -0
  912. /package/dist/chunks/{state-vtarvj67.js → skill-vtarvj67.js} +0 -0
  913. /package/dist/chunks/{state-w803qqfp.js → skill-w803qqfp.js} +0 -0
  914. /package/dist/chunks/{state-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
  915. /package/dist/chunks/{state-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
  916. /package/dist/chunks/{state-wtztk69x.js → skill-wtztk69x.js} +0 -0
  917. /package/dist/chunks/{state-x4th4bpe.js → skill-x4th4bpe.js} +0 -0
  918. /package/dist/chunks/{state-y44na4kk.js → skill-y44na4kk.js} +0 -0
  919. /package/dist/chunks/{state-y8f7s663.js → skill-y8f7s663.js} +0 -0
  920. /package/dist/chunks/{state-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
  921. /package/dist/chunks/{state-z5v4ffb3.js → skill-z5v4ffb3.js} +0 -0
  922. /package/dist/chunks/{state-z9919s4g.js → skill-z9919s4g.js} +0 -0
  923. /package/dist/chunks/{state-zxpyjp51.js → skill-zxpyjp51.js} +0 -0
  924. /package/dist/chunks/{state-zz5vv3aq.js → skill-zz5vv3aq.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
- Service89
6
- } from "./state-n0qwh0ed.js";
5
+ Service90
6
+ } from "./skill-8pvbfnhx.js";
7
7
  import {
8
- Service77
9
- } from "./state-rzz7nxm9.js";
8
+ Service79
9
+ } from "./skill-kg05dcep.js";
10
10
  import {
11
- Service24
12
- } from "./state-c2r3rtm4.js";
11
+ Service22
12
+ } from "./skill-mjcdh3gk.js";
13
13
  import {
14
14
  observe2
15
- } from "./state-tvtps2q9.js";
15
+ } from "./skill-tvtps2q9.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./skill-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin32
24
+ Plugin: () => Plugin53
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin32 = define({
30
+ var Plugin53 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service77;
34
- const location = yield* Service89;
33
+ const config = yield* Service79;
34
+ const location = yield* Service90;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service24;
36
+ const worktrees = yield* Service22;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin32 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin32, exports_worktree };
51
+ export { Plugin53, exports_worktree };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./skill-z5v4ffb3.js";
4
4
  import {
5
- Service89
6
- } from "./state-n0qwh0ed.js";
5
+ Service90
6
+ } from "./skill-8pvbfnhx.js";
7
7
  import {
8
8
  NotFound3,
9
9
  exists2
10
- } from "./state-svcy3p9a.js";
10
+ } from "./skill-svcy3p9a.js";
11
11
  import {
12
12
  makeFiles2
13
- } from "./state-rgc9cx3e.js";
13
+ } from "./skill-rgc9cx3e.js";
14
14
  import {
15
15
  makeMemoryDriver2
16
- } from "./state-twssxy5n.js";
16
+ } from "./skill-twssxy5n.js";
17
17
  import {
18
- Service83
19
- } from "./state-8w7sx7k6.js";
18
+ Service53
19
+ } from "./skill-zkdm0p6x.js";
20
20
  import {
21
21
  invocation2,
22
- Service72
23
- } from "./state-kg3j2jy8.js";
22
+ Service73
23
+ } from "./skill-ad03y81a.js";
24
24
  import {
25
- Service71
26
- } from "./state-81qpdbwx.js";
25
+ Service18
26
+ } from "./skill-857aqfhe.js";
27
27
  import {
28
- Service12
29
- } from "./state-b8rtg17t.js";
28
+ Service7
29
+ } from "./skill-849655md.js";
30
30
  import {
31
- ID9,
31
+ ID10,
32
32
  uri2,
33
33
  isUri2,
34
- Service45
35
- } from "./state-cch1wthv.js";
34
+ Service61
35
+ } from "./skill-26ap4nbq.js";
36
36
  import {
37
37
  isSafeSegment2
38
- } from "./state-859w1rtj.js";
38
+ } from "./skill-3adw4bt5.js";
39
39
  import {
40
40
  BinaryFileError2,
41
41
  MediaIngestLimitError2,
@@ -47,25 +47,25 @@ import {
47
47
  ListPage2,
48
48
  Service34,
49
49
  read2
50
- } from "./state-v6hn2ggr.js";
50
+ } from "./skill-rxysp2vp.js";
51
51
  import {
52
52
  __export
53
- } from "./state-9rqn6x4v.js";
53
+ } from "./skill-9rqn6x4v.js";
54
54
 
55
55
  // src/tool/plugin/read.ts
56
56
  var exports_read = {};
57
57
  __export(exports_read, {
58
- Input: () => Input4,
59
- Plugin: () => Plugin40,
58
+ Input: () => Input14,
59
+ Plugin: () => Plugin38,
60
60
  ReadTool: () => exports_read,
61
- name: () => name4,
62
- toModelContent: () => toModelContent2
61
+ name: () => name14,
62
+ toModelContent: () => toModelContent4
63
63
  });
64
64
  import { basename, dirname, extname, isAbsolute, join, relative } from "path";
65
65
  import { ToolFailure } from "@opencode/ai/effect";
66
66
  import { Effect, Schema } from "effect";
67
67
  import { FSUtil } from "@opencode/util/fs-util";
68
- var name4 = "read";
68
+ var name14 = "read";
69
69
  var FILENAME = "AGENTS.md";
70
70
  var LocationInput = Schema.Struct({
71
71
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -76,24 +76,24 @@ var LocationInput = Schema.Struct({
76
76
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
77
77
  })
78
78
  });
79
- var Input4 = LocationInput;
79
+ var Input14 = LocationInput;
80
80
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
81
- var Plugin40 = {
81
+ var Plugin38 = {
82
82
  id: "opencode.tool.read",
83
83
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
84
84
  const reader = yield* Service34;
85
- const access = yield* Service71;
86
- const permission = yield* Service72;
87
- const skills = yield* Service45;
88
- const sessionInstructions = yield* Service12;
85
+ const access = yield* Service18;
86
+ const permission = yield* Service73;
87
+ const skills = yield* Service61;
88
+ const sessionInstructions = yield* Service7;
89
89
  const fs = yield* FSUtil.Service;
90
- const location = yield* Service89;
91
- const environment = yield* Service83;
90
+ const location = yield* Service90;
91
+ const environment = yield* Service53;
92
92
  yield* ctx.tool.transform((editor) => editor.add({
93
- name: name4,
93
+ name: name14,
94
94
  options: { codemode: false },
95
95
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
96
- input: Input4,
96
+ input: Input14,
97
97
  output: Output,
98
98
  execute: (input, context) => {
99
99
  return Effect.gen(function* () {
@@ -101,7 +101,7 @@ var Plugin40 = {
101
101
  const parsed = parseSkillUri(input.path);
102
102
  if (!parsed)
103
103
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
104
- const id = ID9.make(parsed.id);
104
+ const id = ID10.make(parsed.id);
105
105
  const skill = yield* skills.get(id);
106
106
  if (!skill || !isUri2(skill.path))
107
107
  return yield* new ToolFailure({ message: `File not found: ${input.path}` });
@@ -168,7 +168,7 @@ var Plugin40 = {
168
168
  return { output: result.content, path: result.path };
169
169
  }).pipe(Effect.map((result) => ({
170
170
  output: result.output,
171
- content: toModelContent2(result.path, input.offset, result.output),
171
+ content: toModelContent4(result.path, input.offset, result.output),
172
172
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
173
173
  })), Effect.mapError((error) => {
174
174
  if (error instanceof ToolFailure)
@@ -294,7 +294,7 @@ function parseSkillUri(value) {
294
294
  return;
295
295
  return { id, target: rest === "" ? "/" : `/${rest}`, uri: uri2(id, rest || undefined) };
296
296
  }
297
- var toModelContent2 = (path, offset, output) => {
297
+ var toModelContent4 = (path, offset, output) => {
298
298
  if (output.type === "file" && output.encoding === "base64")
299
299
  return [
300
300
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -332,4 +332,4 @@ var toModelContent2 = (path, offset, output) => {
332
332
  `);
333
333
  };
334
334
 
335
- export { name4, Input4, Plugin40, toModelContent2, exports_read };
335
+ export { name14, Input14, Plugin38, toModelContent4, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./skill-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection2 = {};
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./state-97jbfc4v.js";
4
+ } from "./skill-y9fr1g04.js";
5
5
  import {
6
6
  lazy2
7
- } from "./state-88xbtdfr.js";
7
+ } from "./skill-88xbtdfr.js";
8
8
  import {
9
- Service89,
10
- node91
11
- } from "./state-n0qwh0ed.js";
9
+ Service90,
10
+ node92
11
+ } from "./skill-8pvbfnhx.js";
12
12
  import {
13
- Service48,
13
+ Service70,
14
14
  login2,
15
- node51
16
- } from "./state-ev9rrvkp.js";
15
+ node72
16
+ } from "./skill-hvd5tw3z.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./skill-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event2,
24
+ CreateInput: () => CreateInput5,
25
+ Event: () => Event12,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID4,
28
- Info: () => Info3,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID11,
28
+ Info: () => Info15,
29
+ NotFoundError: () => NotFoundError9,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service14,
32
- UpdateInput: () => UpdateInput2,
33
- node: () => node16
31
+ Service: () => Service69,
32
+ UpdateInput: () => UpdateInput3,
33
+ node: () => node71
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event2 } from "@opencode/schema/pty";
38
+ import { Event as Event12 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID4 = Pty.ID;
43
- var Info3 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
45
- var UpdateInput2 = Pty.UpdateInput;
42
+ var ID11 = Pty.ID;
43
+ var Info15 = Pty.Info;
44
+ var CreateInput5 = Pty.CreateInput;
45
+ var UpdateInput3 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID4
47
+ class NotFoundError9 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID11
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID4
53
+ ptyID: ID11
54
54
  }) {
55
55
  }
56
56
 
57
- class Service14 extends Context.Service()("@opencode/Pty") {
57
+ class Service69 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service14, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
60
60
  const bus = yield* Service93;
61
- const location = yield* Service89;
62
- const shell = yield* Service48;
61
+ const location = yield* Service90;
62
+ const shell = yield* Service70;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError9({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID4.ascending();
125
+ const id = ID11.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
255
255
  }
256
256
  };
257
257
  });
258
- return Service14.of({ list, get, create, update, remove, write, attach });
258
+ return Service69.of({ list, get, create, update, remove, write, attach });
259
259
  }));
260
- var node16 = makeLocationNode({
261
- service: Service14,
260
+ var node71 = makeLocationNode({
261
+ service: Service69,
262
262
  layer,
263
- deps: [node95, node91, node51]
263
+ deps: [node95, node92, node72]
264
264
  });
265
265
 
266
- export { ID4, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
266
+ export { ID11, Info15, CreateInput5, UpdateInput3, NotFoundError9, ExitedError2, Service69, node71, exports_pty, Event12 };
@@ -1,89 +1,87 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./state-svcy3p9a.js";
3
+ } from "./skill-svcy3p9a.js";
4
4
  import {
5
5
  NonNegativeInt2
6
- } from "./state-z5v4ffb3.js";
6
+ } from "./skill-z5v4ffb3.js";
7
7
  import {
8
- Service83
9
- } from "./state-8w7sx7k6.js";
8
+ Service53
9
+ } from "./skill-zkdm0p6x.js";
10
10
  import {
11
- Service56
12
- } from "./state-5mmm03tc.js";
13
- import {
14
- enabled3
15
- } from "./state-p4rh8hdf.js";
11
+ Service59
12
+ } from "./skill-44erdk8z.js";
16
13
  import {
17
14
  invocation2,
18
- Service72
19
- } from "./state-kg3j2jy8.js";
15
+ Service73
16
+ } from "./skill-ad03y81a.js";
20
17
  import {
21
- Service71,
18
+ Service18,
22
19
  resolvePath2
23
- } from "./state-81qpdbwx.js";
20
+ } from "./skill-857aqfhe.js";
24
21
  import {
25
22
  toolFailure2
26
- } from "./state-7rvsyqjv.js";
23
+ } from "./skill-7rvsyqjv.js";
27
24
  import {
28
25
  output2,
29
26
  interrupted2,
30
27
  notice2,
31
28
  metadata2,
32
29
  notification2
33
- } from "./state-8kjyvwy5.js";
30
+ } from "./skill-8kjyvwy5.js";
34
31
  import {
35
- Service48,
32
+ Service70,
36
33
  name17
37
- } from "./state-ev9rrvkp.js";
34
+ } from "./skill-hvd5tw3z.js";
38
35
  import {
39
36
  NotFoundError6,
40
- Service41
41
- } from "./state-jc6fdbwr.js";
37
+ Service40
38
+ } from "./skill-cey47jp0.js";
42
39
  import {
43
- Service26
44
- } from "./state-vtadsekr.js";
40
+ Service24
41
+ } from "./skill-h3ks57pr.js";
45
42
  import {
46
43
  scan3
47
- } from "./state-r11nrgf9.js";
44
+ } from "./skill-x3eexw8z.js";
48
45
  import {
49
46
  __export
50
- } from "./state-9rqn6x4v.js";
47
+ } from "./skill-9rqn6x4v.js";
51
48
 
52
49
  // src/tool/plugin/shell.ts
53
- var exports_shell2 = {};
54
- __export(exports_shell2, {
50
+ var exports_shell = {};
51
+ __export(exports_shell, {
55
52
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
56
- Input: () => Input14,
57
- Plugin: () => Plugin55,
58
- ShellTool: () => exports_shell2,
53
+ Input: () => Input2,
54
+ Plugin: () => Plugin22,
55
+ ShellTool: () => exports_shell,
59
56
  backgroundToolResult: () => backgroundToolResult2,
60
- name: () => name14,
57
+ name: () => name2,
61
58
  reattach: () => reattach2
62
59
  });
63
60
  import { ToolFailure } from "@opencode/ai/effect";
64
61
  import { Clock, Deferred, Effect, Fiber, Option, Schema, Struct } from "effect";
65
- var name14 = "shell";
62
+ var name2 = "shell";
66
63
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
67
64
  var INTERRUPT_WAIT = "500 millis";
68
65
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
69
66
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
70
- var description = (shell, autoBackground = false) => [
67
+ var description = (shell) => [
71
68
  "Execute a shell command and return its output.",
72
69
  ...shell ? [`Commands run on ${OS} using ${shell}.`] : [],
73
70
  "Quote file paths containing spaces or special characters.",
74
71
  "Prefer dedicated tools over shell commands when possible.",
75
72
  "When output is large, the full result is saved to a file and a truncated preview is returned.",
76
73
  "Rely on automatic truncation unless filtering the output is more useful.",
77
- autoBackground ? "Commands still running after their timeout move to the background." : "Commands accept an optional timeout, background commands have no timeout by default.",
78
- "Background commands return immediately, and you will be notified when they complete."
74
+ "Commands still running after their timeout move to the background.",
75
+ "Background commands return immediately, and you will be notified when they complete.",
76
+ "The current session ID is available in the OPENCODE_SESSION_ID environment variable."
79
77
  ].join(" ");
80
- var Input14 = Schema.Struct({
78
+ var Input2 = Schema.Struct({
81
79
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
82
80
  workdir: Schema.optionalKey(Schema.String).annotate({
83
81
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
84
82
  }),
85
83
  timeout: Schema.optionalKey(NonNegativeInt2).annotate({
86
- description: `Timeout in milliseconds. Set to 0 to disable the timeout. Defaults to ${DEFAULT_TIMEOUT_MS2} for foreground commands. Background commands have no timeout by default.`
84
+ description: `Optional timeout in milliseconds (default ${DEFAULT_TIMEOUT_MS2}). When it expires, a foreground command moves to the background and a background command is stopped.`
87
85
  }),
88
86
  background: Schema.optionalKey(Schema.Boolean).annotate({
89
87
  description: "Run the command in the background and return immediately (useful for dev servers and long-running builds). You do not need to use '&' at the end of the command when using this parameter. You will be notified when it completes. DO NOT poll for completion."
@@ -167,7 +165,7 @@ var startJob = Effect.fnUntraced(function* (jobs, shell, input) {
167
165
  const settled = yield* Deferred.make();
168
166
  const job = yield* jobs.start({
169
167
  id: info.id,
170
- type: name14,
168
+ type: name2,
171
169
  title: info.command,
172
170
  metadata: { sessionID: input.sessionID, shellID: info.id },
173
171
  recovery: {
@@ -225,18 +223,17 @@ var reattach2 = Effect.fnUntraced(function* (input) {
225
223
  return yield* notifying.pipe(Effect.catch((error) => Effect.logWarning("failed to report a recovered shell command", { id: input.info.id, error })));
226
224
  yield* input.shell.watch(notifying);
227
225
  });
228
- var Plugin55 = {
226
+ var Plugin22 = {
229
227
  id: "opencode.tool.shell",
230
228
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
231
- const sessions = yield* Service26;
232
- const jobs = yield* Service56;
233
- const environment = yield* Service83;
234
- const access = yield* Service71;
235
- const shell = yield* Service41;
236
- const shellSelect = yield* Service48;
229
+ const sessions = yield* Service24;
230
+ const jobs = yield* Service59;
231
+ const environment = yield* Service53;
232
+ const access = yield* Service18;
233
+ const shell = yield* Service40;
234
+ const shellSelect = yield* Service70;
237
235
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
238
- const permission = yield* Service72;
239
- const autoBackground = yield* enabled3("shell_timeout_background");
236
+ const permission = yield* Service73;
240
237
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
241
238
  const target = yield* access.resolve({ path: invocation.cwd, kind: "directory" });
242
239
  invocation.cwd = target.absolute;
@@ -249,7 +246,7 @@ var Plugin55 = {
249
246
  yield* access.authorizeExternal([target, ...directories], context);
250
247
  if (parsed.commands.length > 0)
251
248
  yield* permission.assert({
252
- action: name14,
249
+ action: name2,
253
250
  resources: parsed.commands.map((command) => command.resource),
254
251
  save: parsed.commands.map((command) => command.save),
255
252
  ...invocation2(context)
@@ -276,13 +273,14 @@ var Plugin55 = {
276
273
  });
277
274
  });
278
275
  yield* ctx.tool.transform((editor) => editor.add({
279
- name: name14,
276
+ name: name2,
280
277
  options: { codemode: false },
281
- description: description(undefined, autoBackground),
282
- input: Input14,
278
+ description: description(),
279
+ input: Input2,
283
280
  output: StructuredOutput,
284
281
  execute: (input, context) => {
285
- const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
282
+ const foreground = input.timeout || DEFAULT_TIMEOUT_MS2;
283
+ const timeout = input.background === true ? input.timeout ?? 0 : foreground;
286
284
  let finalTimeout = timeout;
287
285
  return Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
288
286
  const stopped = yield* Deferred.make();
@@ -306,7 +304,7 @@ var Plugin55 = {
306
304
  invocation.env.AI_AGENT ||= "opencode";
307
305
  invocation.env.OPENCODE_SESSION_ID = context.sessionID;
308
306
  finalTimeout = yield* restore(Effect.raceFirst(prepare(invocation, context), Deferred.await(stopped).pipe(Effect.andThen(Effect.fail(new ToolFailure({ message: "Command interrupted by the user before it started." }))))));
309
- if (autoBackground)
307
+ if (input.background !== true)
310
308
  invocation.timeout = 0;
311
309
  }));
312
310
  yield* context.progress({ shellID: info.id });
@@ -323,7 +321,7 @@ var Plugin55 = {
323
321
  return backgroundResult(info, yield* Clock.currentTimeMillis);
324
322
  }
325
323
  const waiting = jobs.block({ id: job.id, sessionID: context.sessionID });
326
- const blocked = autoBackground && finalTimeout > 0 ? waiting.pipe(Effect.timeoutOption(finalTimeout), Effect.flatMap((result) => Option.isSome(result) ? Effect.succeed(result.value) : jobs.background(job.id).pipe(Effect.map((info) => info ? { type: "backgrounded", info, timedOut: true } : undefined)))) : waiting;
324
+ const blocked = finalTimeout > 0 ? waiting.pipe(Effect.timeoutOption(finalTimeout), Effect.flatMap((result) => Option.isSome(result) ? Effect.succeed(result.value) : jobs.background(job.id).pipe(Effect.map((info) => info ? { type: "backgrounded", info, timedOut: true } : undefined)))) : waiting;
327
325
  const outcome = yield* restore(Effect.raceFirst(blocked.pipe(Effect.map((result) => ({ type: "settled", result }))), Deferred.await(stopped).pipe(Effect.as({ type: "cancelled" })))).pipe(Effect.onInterrupt(() => shell.handoffPrepared() ? Effect.void : jobs.cancel(job.id).pipe(Effect.ignore)));
328
326
  if (outcome.type === "cancelled")
329
327
  return yield* cancelled(info, job.id);
@@ -348,10 +346,10 @@ var Plugin55 = {
348
346
  }
349
347
  })).pipe(Effect.orDie);
350
348
  const hook = (event) => Effect.gen(function* () {
351
- const tool = event.tools[name14];
349
+ const tool = event.tools[name2];
352
350
  if (!tool)
353
351
  return;
354
- tool.description = description(name17(yield* compatibleShell), autoBackground);
352
+ tool.description = description(name17(yield* compatibleShell));
355
353
  });
356
354
  yield* ctx.session.hook("context", hook);
357
355
  yield* ctx.session.hook("compaction", hook);
@@ -359,4 +357,4 @@ var Plugin55 = {
359
357
  })
360
358
  };
361
359
 
362
- export { name14, DEFAULT_TIMEOUT_MS2, Input14, backgroundToolResult2, reattach2, Plugin55, exports_shell2 };
360
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, backgroundToolResult2, reattach2, Plugin22, exports_shell };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./state-m90tx7mw.js";
3
+ } from "./skill-m90tx7mw.js";
4
4
  import {
5
- Service86
6
- } from "./state-jw31swa9.js";
5
+ Service85
6
+ } from "./skill-6adb23kb.js";
7
7
  import {
8
- Service77
9
- } from "./state-rzz7nxm9.js";
8
+ Service79
9
+ } from "./skill-kg05dcep.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const providers = yield* Service86;
14
+ const providers = yield* Service85;
15
15
  const current = (yield* providers.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service77);
16
+ const service = yield* Effect.serviceOption(Service79);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });