@vibesdotdev/integrations-openai 0.0.0-stage → 1.0.0-rc.0

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 (295) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +38 -2
  3. package/dist/ai/index.d.ts +4 -0
  4. package/dist/ai/index.d.ts.map +1 -0
  5. package/dist/ai/index.js +4 -0
  6. package/dist/ai/index.js.map +1 -0
  7. package/dist/ai/metadata/assets/logos/providers/openai-dark.svg +12 -0
  8. package/dist/ai/metadata/assets/logos/providers/openai.svg +12 -0
  9. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-4-mini.json +41 -0
  10. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-4.json +41 -0
  11. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-5.json +41 -0
  12. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-6-luna.json +7 -0
  13. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-6-sol.json +7 -0
  14. package/dist/ai/metadata/provider-models/openai/openai-gpt-5-6-terra.json +7 -0
  15. package/dist/ai/metadata/provider-models/openai/openai-gpt-6-1-sol.json +41 -0
  16. package/dist/ai/metadata/provider-models/openai/openai-gpt-6-1-terra.json +40 -0
  17. package/dist/ai/metadata/provider-models/openai/openai-gpt-6-astra.json +41 -0
  18. package/dist/ai/metadata/provider-models/openai/openai-gpt-6-luna.json +41 -0
  19. package/dist/ai/metadata/provider-models/openai/openai-gpt-image-1.json +34 -0
  20. package/dist/ai/metadata/providers/openai.json +36 -0
  21. package/dist/ai/openai-api.d.ts +39 -0
  22. package/dist/ai/openai-api.d.ts.map +1 -0
  23. package/dist/ai/openai-api.js +94 -0
  24. package/dist/ai/openai-api.js.map +1 -0
  25. package/dist/ai/openai-client.d.ts +12 -0
  26. package/dist/ai/openai-client.d.ts.map +1 -0
  27. package/dist/ai/openai-client.js +37 -0
  28. package/dist/ai/openai-client.js.map +1 -0
  29. package/dist/ai/openai-router-codec.d.ts +32 -0
  30. package/dist/ai/openai-router-codec.d.ts.map +1 -0
  31. package/dist/ai/openai-router-codec.js +225 -0
  32. package/dist/ai/openai-router-codec.js.map +1 -0
  33. package/dist/ai/openai.api.plugin.d.ts +6 -0
  34. package/dist/ai/openai.api.plugin.d.ts.map +1 -0
  35. package/dist/ai/openai.api.plugin.js +147 -0
  36. package/dist/ai/openai.api.plugin.js.map +1 -0
  37. package/dist/ai/openai.consumer.plugin.d.ts +6 -0
  38. package/dist/ai/openai.consumer.plugin.d.ts.map +1 -0
  39. package/dist/ai/openai.consumer.plugin.js +28 -0
  40. package/dist/ai/openai.consumer.plugin.js.map +1 -0
  41. package/dist/ai/openai.plugin.d.ts +2 -0
  42. package/dist/ai/openai.plugin.d.ts.map +1 -0
  43. package/dist/ai/openai.plugin.js +2 -0
  44. package/dist/ai/openai.plugin.js.map +1 -0
  45. package/dist/ai/providers/cloud/frontier/openai/config/config.openai.descriptor.d.ts +4194 -0
  46. package/dist/ai/providers/cloud/frontier/openai/config/config.openai.descriptor.d.ts.map +1 -0
  47. package/dist/ai/providers/cloud/frontier/openai/config/config.openai.descriptor.js +28 -0
  48. package/dist/ai/providers/cloud/frontier/openai/config/config.openai.descriptor.js.map +1 -0
  49. package/dist/ai/providers/cloud/frontier/openai/config/schemas/index.d.ts +26 -0
  50. package/dist/ai/providers/cloud/frontier/openai/config/schemas/index.d.ts.map +1 -0
  51. package/dist/ai/providers/cloud/frontier/openai/config/schemas/index.js +39 -0
  52. package/dist/ai/providers/cloud/frontier/openai/config/schemas/index.js.map +1 -0
  53. package/dist/ai/providers/cloud/frontier/openai/index.d.ts +4 -0
  54. package/dist/ai/providers/cloud/frontier/openai/index.d.ts.map +1 -0
  55. package/dist/ai/providers/cloud/frontier/openai/index.js +4 -0
  56. package/dist/ai/providers/cloud/frontier/openai/index.js.map +1 -0
  57. package/dist/ai/providers/cloud/frontier/openai/provider.openai.descriptor.d.ts +183 -0
  58. package/dist/ai/providers/cloud/frontier/openai/provider.openai.descriptor.d.ts.map +1 -0
  59. package/dist/ai/providers/cloud/frontier/openai/provider.openai.descriptor.js +190 -0
  60. package/dist/ai/providers/cloud/frontier/openai/provider.openai.descriptor.js.map +1 -0
  61. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.descriptor.d.ts +25 -0
  62. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.descriptor.d.ts.map +1 -0
  63. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.descriptor.js +20 -0
  64. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.descriptor.js.map +1 -0
  65. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.impl.d.ts +36 -0
  66. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.impl.d.ts.map +1 -0
  67. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.impl.js +228 -0
  68. package/dist/ai/providers/openai/codex-app-server/codex-app-server.spec.impl.js.map +1 -0
  69. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.descriptor.d.ts +13 -0
  70. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.descriptor.d.ts.map +1 -0
  71. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.descriptor.js +11 -0
  72. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.descriptor.js.map +1 -0
  73. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.impl.consumer.d.ts +47 -0
  74. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.impl.consumer.d.ts.map +1 -0
  75. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.impl.consumer.js +111 -0
  76. package/dist/ai/providers/openai/codex-app-server/codex-app-server.transport.impl.consumer.js.map +1 -0
  77. package/dist/ai/providers/openai/codex-app-server/codex-failure.d.ts +166 -0
  78. package/dist/ai/providers/openai/codex-app-server/codex-failure.d.ts.map +1 -0
  79. package/dist/ai/providers/openai/codex-app-server/codex-failure.js +229 -0
  80. package/dist/ai/providers/openai/codex-app-server/codex-failure.js.map +1 -0
  81. package/dist/ai/providers/openai/codex-app-server/connection.d.ts +83 -0
  82. package/dist/ai/providers/openai/codex-app-server/connection.d.ts.map +1 -0
  83. package/dist/ai/providers/openai/codex-app-server/connection.js +222 -0
  84. package/dist/ai/providers/openai/codex-app-server/connection.js.map +1 -0
  85. package/dist/ai/providers/openai/codex-app-server/failure-chunk.d.ts +10 -0
  86. package/dist/ai/providers/openai/codex-app-server/failure-chunk.d.ts.map +1 -0
  87. package/dist/ai/providers/openai/codex-app-server/failure-chunk.js +33 -0
  88. package/dist/ai/providers/openai/codex-app-server/failure-chunk.js.map +1 -0
  89. package/dist/ai/providers/openai/codex-app-server/index.d.ts +10 -0
  90. package/dist/ai/providers/openai/codex-app-server/index.d.ts.map +1 -0
  91. package/dist/ai/providers/openai/codex-app-server/index.js +9 -0
  92. package/dist/ai/providers/openai/codex-app-server/index.js.map +1 -0
  93. package/dist/ai/providers/openai/codex-app-server/protocol.d.ts +162 -0
  94. package/dist/ai/providers/openai/codex-app-server/protocol.d.ts.map +1 -0
  95. package/dist/ai/providers/openai/codex-app-server/protocol.js +116 -0
  96. package/dist/ai/providers/openai/codex-app-server/protocol.js.map +1 -0
  97. package/dist/ai/providers/openai/codex-app-server/runtime-execution.d.ts +3 -0
  98. package/dist/ai/providers/openai/codex-app-server/runtime-execution.d.ts.map +1 -0
  99. package/dist/ai/providers/openai/codex-app-server/runtime-execution.js +3 -0
  100. package/dist/ai/providers/openai/codex-app-server/runtime-execution.js.map +1 -0
  101. package/dist/ai/providers/openai/codex-app-server/runtime-transport.consumer.d.ts +5 -0
  102. package/dist/ai/providers/openai/codex-app-server/runtime-transport.consumer.d.ts.map +1 -0
  103. package/dist/ai/providers/openai/codex-app-server/runtime-transport.consumer.js +16 -0
  104. package/dist/ai/providers/openai/codex-app-server/runtime-transport.consumer.js.map +1 -0
  105. package/dist/ai/providers/openai/codex-app-server/session.d.ts +24 -0
  106. package/dist/ai/providers/openai/codex-app-server/session.d.ts.map +1 -0
  107. package/dist/ai/providers/openai/codex-app-server/session.js +392 -0
  108. package/dist/ai/providers/openai/codex-app-server/session.js.map +1 -0
  109. package/dist/ai/providers/openai/codex-app-server/spawner.d.ts +9 -0
  110. package/dist/ai/providers/openai/codex-app-server/spawner.d.ts.map +1 -0
  111. package/dist/ai/providers/openai/codex-app-server/spawner.js +48 -0
  112. package/dist/ai/providers/openai/codex-app-server/spawner.js.map +1 -0
  113. package/dist/ai/providers/openai/codex-app-server/tool-name.d.ts +14 -0
  114. package/dist/ai/providers/openai/codex-app-server/tool-name.d.ts.map +1 -0
  115. package/dist/ai/providers/openai/codex-app-server/tool-name.js +45 -0
  116. package/dist/ai/providers/openai/codex-app-server/tool-name.js.map +1 -0
  117. package/dist/ai/providers/openai/codex-subscription.d.ts +48 -0
  118. package/dist/ai/providers/openai/codex-subscription.d.ts.map +1 -0
  119. package/dist/ai/providers/openai/codex-subscription.js +128 -0
  120. package/dist/ai/providers/openai/codex-subscription.js.map +1 -0
  121. package/dist/ai/providers/openai/detection/index.d.ts +2 -0
  122. package/dist/ai/providers/openai/detection/index.d.ts.map +1 -0
  123. package/dist/ai/providers/openai/detection/index.js +2 -0
  124. package/dist/ai/providers/openai/detection/index.js.map +1 -0
  125. package/dist/ai/providers/openai/detection/system.d.ts +5 -0
  126. package/dist/ai/providers/openai/detection/system.d.ts.map +1 -0
  127. package/dist/ai/providers/openai/detection/system.js +25 -0
  128. package/dist/ai/providers/openai/detection/system.js.map +1 -0
  129. package/dist/ai/providers/openai/docs/ai.providers.openai.docs.descriptor.d.ts +4 -0
  130. package/dist/ai/providers/openai/docs/ai.providers.openai.docs.descriptor.d.ts.map +1 -0
  131. package/dist/ai/providers/openai/docs/ai.providers.openai.docs.descriptor.js +39 -0
  132. package/dist/ai/providers/openai/docs/ai.providers.openai.docs.descriptor.js.map +1 -0
  133. package/dist/ai/providers/openai/index.d.ts +4 -0
  134. package/dist/ai/providers/openai/index.d.ts.map +1 -0
  135. package/dist/ai/providers/openai/index.js +4 -0
  136. package/dist/ai/providers/openai/index.js.map +1 -0
  137. package/dist/ai/providers/openai/openai.provider.impl.d.ts +50 -0
  138. package/dist/ai/providers/openai/openai.provider.impl.d.ts.map +1 -0
  139. package/dist/ai/providers/openai/openai.provider.impl.js +331 -0
  140. package/dist/ai/providers/openai/openai.provider.impl.js.map +1 -0
  141. package/dist/ai/providers/openai/recommendations.d.ts +25 -0
  142. package/dist/ai/providers/openai/recommendations.d.ts.map +1 -0
  143. package/dist/ai/providers/openai/recommendations.js +33 -0
  144. package/dist/ai/providers/openai/recommendations.js.map +1 -0
  145. package/dist/ai/transcription/index.d.ts +4 -0
  146. package/dist/ai/transcription/index.d.ts.map +1 -0
  147. package/dist/ai/transcription/index.js +4 -0
  148. package/dist/ai/transcription/index.js.map +1 -0
  149. package/dist/ai/transcription/metadata/assets/logos/providers/openai-dark.svg +12 -0
  150. package/dist/ai/transcription/metadata/assets/logos/providers/openai.svg +12 -0
  151. package/dist/ai/transcription/metadata/provider-models/openai-transcription/openai-transcription-gpt-4o-mini-transcribe-2025-12-15.json +20 -0
  152. package/dist/ai/transcription/metadata/provider-models/openai-transcription/openai-transcription-gpt-4o-mini-transcribe.json +17 -0
  153. package/dist/ai/transcription/metadata/provider-models/openai-transcription/openai-transcription-gpt-4o-transcribe.json +17 -0
  154. package/dist/ai/transcription/metadata/provider-models/openai-transcription/openai-transcription-whisper-1.json +16 -0
  155. package/dist/ai/transcription/metadata/providers/openai-transcription.json +30 -0
  156. package/dist/ai/transcription/provider.plugin.d.ts +6 -0
  157. package/dist/ai/transcription/provider.plugin.d.ts.map +1 -0
  158. package/dist/ai/transcription/provider.plugin.js +120 -0
  159. package/dist/ai/transcription/provider.plugin.js.map +1 -0
  160. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/config.openai-transcription.descriptor.d.ts +4194 -0
  161. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/config.openai-transcription.descriptor.d.ts.map +1 -0
  162. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/config.openai-transcription.descriptor.js +53 -0
  163. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/config.openai-transcription.descriptor.js.map +1 -0
  164. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/schemas/index.d.ts +17 -0
  165. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/schemas/index.d.ts.map +1 -0
  166. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/schemas/index.js +10 -0
  167. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/config/schemas/index.js.map +1 -0
  168. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/index.d.ts +5 -0
  169. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/index.d.ts.map +1 -0
  170. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/index.js +4 -0
  171. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/index.js.map +1 -0
  172. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/provider.openai-transcription.descriptor.d.ts +183 -0
  173. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/provider.openai-transcription.descriptor.d.ts.map +1 -0
  174. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/provider.openai-transcription.descriptor.js +49 -0
  175. package/dist/ai/transcription/providers/cloud/speech/openai-transcription/provider.openai-transcription.descriptor.js.map +1 -0
  176. package/dist/ai/transcription/providers/openai-transcription/detection/index.d.ts +2 -0
  177. package/dist/ai/transcription/providers/openai-transcription/detection/index.d.ts.map +1 -0
  178. package/dist/ai/transcription/providers/openai-transcription/detection/index.js +2 -0
  179. package/dist/ai/transcription/providers/openai-transcription/detection/index.js.map +1 -0
  180. package/dist/ai/transcription/providers/openai-transcription/detection/system.d.ts +4 -0
  181. package/dist/ai/transcription/providers/openai-transcription/detection/system.d.ts.map +1 -0
  182. package/dist/ai/transcription/providers/openai-transcription/detection/system.js +21 -0
  183. package/dist/ai/transcription/providers/openai-transcription/detection/system.js.map +1 -0
  184. package/dist/ai/transcription/providers/openai-transcription/index.d.ts +4 -0
  185. package/dist/ai/transcription/providers/openai-transcription/index.d.ts.map +1 -0
  186. package/dist/ai/transcription/providers/openai-transcription/index.js +4 -0
  187. package/dist/ai/transcription/providers/openai-transcription/index.js.map +1 -0
  188. package/dist/ai/transcription/providers/openai-transcription/openai-transcription.provider.impl.d.ts +20 -0
  189. package/dist/ai/transcription/providers/openai-transcription/openai-transcription.provider.impl.d.ts.map +1 -0
  190. package/dist/ai/transcription/providers/openai-transcription/openai-transcription.provider.impl.js +102 -0
  191. package/dist/ai/transcription/providers/openai-transcription/openai-transcription.provider.impl.js.map +1 -0
  192. package/dist/ai/transcription/providers/openai-transcription/recommendations.d.ts +24 -0
  193. package/dist/ai/transcription/providers/openai-transcription/recommendations.d.ts.map +1 -0
  194. package/dist/ai/transcription/providers/openai-transcription/recommendations.js +74 -0
  195. package/dist/ai/transcription/providers/openai-transcription/recommendations.js.map +1 -0
  196. package/dist/ai/tts/index.d.ts +4 -0
  197. package/dist/ai/tts/index.d.ts.map +1 -0
  198. package/dist/ai/tts/index.js +4 -0
  199. package/dist/ai/tts/index.js.map +1 -0
  200. package/dist/ai/tts/metadata/assets/logos/providers/openai-dark.svg +12 -0
  201. package/dist/ai/tts/metadata/assets/logos/providers/openai.svg +12 -0
  202. package/dist/ai/tts/metadata/provider-models/openai-tts/openai-tts-gpt-4o-mini-tts-2025-12-15.json +17 -0
  203. package/dist/ai/tts/metadata/provider-models/openai-tts/openai-tts-gpt-4o-mini-tts.json +17 -0
  204. package/dist/ai/tts/metadata/provider-models/openai-tts/openai-tts-tts-1-hd.json +17 -0
  205. package/dist/ai/tts/metadata/provider-models/openai-tts/openai-tts-tts-1.json +17 -0
  206. package/dist/ai/tts/metadata/providers/openai-tts.json +32 -0
  207. package/dist/ai/tts/provider.plugin.d.ts +6 -0
  208. package/dist/ai/tts/provider.plugin.d.ts.map +1 -0
  209. package/dist/ai/tts/provider.plugin.js +120 -0
  210. package/dist/ai/tts/provider.plugin.js.map +1 -0
  211. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/config.openai-tts.descriptor.d.ts +4194 -0
  212. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/config.openai-tts.descriptor.d.ts.map +1 -0
  213. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/config.openai-tts.descriptor.js +53 -0
  214. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/config.openai-tts.descriptor.js.map +1 -0
  215. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/schemas/index.d.ts +17 -0
  216. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/schemas/index.d.ts.map +1 -0
  217. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/schemas/index.js +10 -0
  218. package/dist/ai/tts/providers/cloud/speech/openai-tts/config/schemas/index.js.map +1 -0
  219. package/dist/ai/tts/providers/cloud/speech/openai-tts/index.d.ts +5 -0
  220. package/dist/ai/tts/providers/cloud/speech/openai-tts/index.d.ts.map +1 -0
  221. package/dist/ai/tts/providers/cloud/speech/openai-tts/index.js +4 -0
  222. package/dist/ai/tts/providers/cloud/speech/openai-tts/index.js.map +1 -0
  223. package/dist/ai/tts/providers/cloud/speech/openai-tts/provider.openai-tts.descriptor.d.ts +183 -0
  224. package/dist/ai/tts/providers/cloud/speech/openai-tts/provider.openai-tts.descriptor.d.ts.map +1 -0
  225. package/dist/ai/tts/providers/cloud/speech/openai-tts/provider.openai-tts.descriptor.js +49 -0
  226. package/dist/ai/tts/providers/cloud/speech/openai-tts/provider.openai-tts.descriptor.js.map +1 -0
  227. package/dist/ai/tts/providers/openai-tts/detection/index.d.ts +2 -0
  228. package/dist/ai/tts/providers/openai-tts/detection/index.d.ts.map +1 -0
  229. package/dist/ai/tts/providers/openai-tts/detection/index.js +2 -0
  230. package/dist/ai/tts/providers/openai-tts/detection/index.js.map +1 -0
  231. package/dist/ai/tts/providers/openai-tts/detection/system.d.ts +4 -0
  232. package/dist/ai/tts/providers/openai-tts/detection/system.d.ts.map +1 -0
  233. package/dist/ai/tts/providers/openai-tts/detection/system.js +21 -0
  234. package/dist/ai/tts/providers/openai-tts/detection/system.js.map +1 -0
  235. package/dist/ai/tts/providers/openai-tts/index.d.ts +4 -0
  236. package/dist/ai/tts/providers/openai-tts/index.d.ts.map +1 -0
  237. package/dist/ai/tts/providers/openai-tts/index.js +4 -0
  238. package/dist/ai/tts/providers/openai-tts/index.js.map +1 -0
  239. package/dist/ai/tts/providers/openai-tts/openai-tts.provider.impl.d.ts +24 -0
  240. package/dist/ai/tts/providers/openai-tts/openai-tts.provider.impl.d.ts.map +1 -0
  241. package/dist/ai/tts/providers/openai-tts/openai-tts.provider.impl.js +120 -0
  242. package/dist/ai/tts/providers/openai-tts/openai-tts.provider.impl.js.map +1 -0
  243. package/dist/ai/tts/providers/openai-tts/recommendations.d.ts +24 -0
  244. package/dist/ai/tts/providers/openai-tts/recommendations.d.ts.map +1 -0
  245. package/dist/ai/tts/providers/openai-tts/recommendations.js +74 -0
  246. package/dist/ai/tts/providers/openai-tts/recommendations.js.map +1 -0
  247. package/dist/external/codex/index.d.ts +162 -0
  248. package/dist/external/codex/index.d.ts.map +1 -0
  249. package/dist/external/codex/index.js +5 -0
  250. package/dist/external/codex/index.js.map +1 -0
  251. package/dist/external/codex/manifest.d.ts +9 -0
  252. package/dist/external/codex/manifest.d.ts.map +1 -0
  253. package/dist/external/codex/manifest.js +201 -0
  254. package/dist/external/codex/manifest.js.map +1 -0
  255. package/dist/external/codex-hooks.d.ts +39 -0
  256. package/dist/external/codex-hooks.d.ts.map +1 -0
  257. package/dist/external/codex-hooks.js +204 -0
  258. package/dist/external/codex-hooks.js.map +1 -0
  259. package/dist/external/codex-presets.d.ts +2033 -0
  260. package/dist/external/codex-presets.d.ts.map +1 -0
  261. package/dist/external/codex-presets.js +312 -0
  262. package/dist/external/codex-presets.js.map +1 -0
  263. package/dist/external/codex-subscription.operation.descriptors.d.ts +57 -0
  264. package/dist/external/codex-subscription.operation.descriptors.d.ts.map +1 -0
  265. package/dist/external/codex-subscription.operation.descriptors.js +22 -0
  266. package/dist/external/codex-subscription.operation.descriptors.js.map +1 -0
  267. package/dist/external/codex-subscription.operations.d.ts +4 -0
  268. package/dist/external/codex-subscription.operations.d.ts.map +1 -0
  269. package/dist/external/codex-subscription.operations.js +42 -0
  270. package/dist/external/codex-subscription.operations.js.map +1 -0
  271. package/dist/external/external.plugin.d.ts +3 -0
  272. package/dist/external/external.plugin.d.ts.map +1 -0
  273. package/dist/external/external.plugin.js +30 -0
  274. package/dist/external/external.plugin.js.map +1 -0
  275. package/dist/external/index.d.ts +4 -0
  276. package/dist/external/index.d.ts.map +1 -0
  277. package/dist/external/index.js +4 -0
  278. package/dist/external/index.js.map +1 -0
  279. package/dist/failure-outcome.d.ts +21 -0
  280. package/dist/failure-outcome.d.ts.map +1 -0
  281. package/dist/failure-outcome.js +22 -0
  282. package/dist/failure-outcome.js.map +1 -0
  283. package/dist/index.d.ts +3 -0
  284. package/dist/index.d.ts.map +1 -0
  285. package/dist/index.js +3 -0
  286. package/dist/index.js.map +1 -0
  287. package/dist/schemas/codex-models.d.ts +23 -0
  288. package/dist/schemas/codex-models.d.ts.map +1 -0
  289. package/dist/schemas/codex-models.js +15 -0
  290. package/dist/schemas/codex-models.js.map +1 -0
  291. package/dist/schemas/codex-wire.d.ts +108 -0
  292. package/dist/schemas/codex-wire.d.ts.map +1 -0
  293. package/dist/schemas/codex-wire.js +25 -0
  294. package/dist/schemas/codex-wire.js.map +1 -0
  295. package/package.json +142 -4
@@ -0,0 +1,2033 @@
1
+ /**
2
+ * OpenAI-owned Codex `external/preset` descriptors.
3
+ *
4
+ * Profiles: `mcp`, `deferred` (aliases `continuity`, `best`), `full`
5
+ * (alias `auto`), `oss`, and `only`.
6
+ */
7
+ export declare const codexMcpPresetDescriptor: {
8
+ id: string;
9
+ name: string;
10
+ description: string;
11
+ target: string;
12
+ category: "model" | "workflow" | "integration" | "alias";
13
+ tags: string[];
14
+ features: {
15
+ mcpServer: boolean;
16
+ hooks: string[];
17
+ aliases: string[];
18
+ modelConfig: boolean;
19
+ workflowConfig: boolean;
20
+ disableInternalTools: boolean;
21
+ };
22
+ recipe: {
23
+ id: string;
24
+ name: string;
25
+ description: string;
26
+ steps: ({
27
+ type: "file-write";
28
+ path: string;
29
+ content: string;
30
+ mode?: number | undefined;
31
+ overwrite?: boolean | undefined;
32
+ createDirs?: boolean | undefined;
33
+ } | {
34
+ type: "file-edit";
35
+ path: string;
36
+ format: "json" | "yaml" | "toml";
37
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
38
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
39
+ } | {
40
+ type: "file-copy";
41
+ source: string;
42
+ destination: string;
43
+ overwrite: boolean;
44
+ mode?: number | undefined;
45
+ } | {
46
+ type: "file-backup";
47
+ baseDir: string;
48
+ files: string[];
49
+ backupDirName: string;
50
+ variable?: string | undefined;
51
+ } | {
52
+ type: "file-restore";
53
+ baseDir: string;
54
+ backupDirName: string;
55
+ backupDir?: string | undefined;
56
+ backupTimestamp?: string | undefined;
57
+ files?: string[] | undefined;
58
+ } | {
59
+ type: "command";
60
+ command: string;
61
+ args: string[];
62
+ silent: boolean;
63
+ allowFailure: boolean;
64
+ cwd?: string | undefined;
65
+ env?: Record<string, string> | undefined;
66
+ } | {
67
+ type: "hook-install";
68
+ target: string;
69
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
70
+ vibesPath: string;
71
+ global?: boolean | undefined;
72
+ } | {
73
+ type: "mcp-configure";
74
+ target: string;
75
+ serverName: string;
76
+ command: string;
77
+ args: string[];
78
+ env?: Record<string, string> | undefined;
79
+ timeout?: number | undefined;
80
+ toolTimeout?: number | undefined;
81
+ enabledTools?: string[] | undefined;
82
+ disabledTools?: string[] | undefined;
83
+ global?: boolean | undefined;
84
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
85
+ } | {
86
+ type: "adapter-codegen";
87
+ adapterId: string;
88
+ outputDir?: string | undefined;
89
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
90
+ global?: boolean | undefined;
91
+ } | {
92
+ type: "operation";
93
+ operationId: string;
94
+ options: Record<string, unknown>;
95
+ } | {
96
+ type: "prompt";
97
+ message: string;
98
+ promptType: "input" | "select" | "confirm";
99
+ options?: string[] | undefined;
100
+ default?: string | undefined;
101
+ variable?: string | undefined;
102
+ } | {
103
+ type: "validate";
104
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
105
+ fatal: boolean;
106
+ target?: string | undefined;
107
+ message?: string | undefined;
108
+ })[];
109
+ rollback?: ({
110
+ type: "file-write";
111
+ path: string;
112
+ content: string;
113
+ mode?: number | undefined;
114
+ overwrite?: boolean | undefined;
115
+ createDirs?: boolean | undefined;
116
+ } | {
117
+ type: "file-edit";
118
+ path: string;
119
+ format: "json" | "yaml" | "toml";
120
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
121
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
122
+ } | {
123
+ type: "file-copy";
124
+ source: string;
125
+ destination: string;
126
+ overwrite: boolean;
127
+ mode?: number | undefined;
128
+ } | {
129
+ type: "file-backup";
130
+ baseDir: string;
131
+ files: string[];
132
+ backupDirName: string;
133
+ variable?: string | undefined;
134
+ } | {
135
+ type: "file-restore";
136
+ baseDir: string;
137
+ backupDirName: string;
138
+ backupDir?: string | undefined;
139
+ backupTimestamp?: string | undefined;
140
+ files?: string[] | undefined;
141
+ } | {
142
+ type: "command";
143
+ command: string;
144
+ args: string[];
145
+ silent: boolean;
146
+ allowFailure: boolean;
147
+ cwd?: string | undefined;
148
+ env?: Record<string, string> | undefined;
149
+ } | {
150
+ type: "hook-install";
151
+ target: string;
152
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
153
+ vibesPath: string;
154
+ global?: boolean | undefined;
155
+ } | {
156
+ type: "mcp-configure";
157
+ target: string;
158
+ serverName: string;
159
+ command: string;
160
+ args: string[];
161
+ env?: Record<string, string> | undefined;
162
+ timeout?: number | undefined;
163
+ toolTimeout?: number | undefined;
164
+ enabledTools?: string[] | undefined;
165
+ disabledTools?: string[] | undefined;
166
+ global?: boolean | undefined;
167
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
168
+ } | {
169
+ type: "adapter-codegen";
170
+ adapterId: string;
171
+ outputDir?: string | undefined;
172
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
173
+ global?: boolean | undefined;
174
+ } | {
175
+ type: "operation";
176
+ operationId: string;
177
+ options: Record<string, unknown>;
178
+ } | {
179
+ type: "prompt";
180
+ message: string;
181
+ promptType: "input" | "select" | "confirm";
182
+ options?: string[] | undefined;
183
+ default?: string | undefined;
184
+ variable?: string | undefined;
185
+ } | {
186
+ type: "validate";
187
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
188
+ fatal: boolean;
189
+ target?: string | undefined;
190
+ message?: string | undefined;
191
+ })[] | undefined;
192
+ variables?: Record<string, string> | undefined;
193
+ };
194
+ version: string;
195
+ kind: "external/preset";
196
+ requires?: {
197
+ vibesVersion?: string | undefined;
198
+ toolVersion?: string | undefined;
199
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
200
+ dependencies?: string[] | undefined;
201
+ } | undefined;
202
+ author?: string | undefined;
203
+ homepage?: string | undefined;
204
+ profiles?: {
205
+ id: string;
206
+ presetId: string;
207
+ aliases?: string[] | undefined;
208
+ }[] | undefined;
209
+ };
210
+ export declare const codexDeferredPresetDescriptor: {
211
+ id: string;
212
+ name: string;
213
+ description: string;
214
+ target: string;
215
+ category: "model" | "workflow" | "integration" | "alias";
216
+ tags: string[];
217
+ features: {
218
+ mcpServer: boolean;
219
+ hooks: string[];
220
+ aliases: string[];
221
+ modelConfig: boolean;
222
+ workflowConfig: boolean;
223
+ disableInternalTools: boolean;
224
+ };
225
+ recipe: {
226
+ id: string;
227
+ name: string;
228
+ description: string;
229
+ steps: ({
230
+ type: "file-write";
231
+ path: string;
232
+ content: string;
233
+ mode?: number | undefined;
234
+ overwrite?: boolean | undefined;
235
+ createDirs?: boolean | undefined;
236
+ } | {
237
+ type: "file-edit";
238
+ path: string;
239
+ format: "json" | "yaml" | "toml";
240
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
241
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
242
+ } | {
243
+ type: "file-copy";
244
+ source: string;
245
+ destination: string;
246
+ overwrite: boolean;
247
+ mode?: number | undefined;
248
+ } | {
249
+ type: "file-backup";
250
+ baseDir: string;
251
+ files: string[];
252
+ backupDirName: string;
253
+ variable?: string | undefined;
254
+ } | {
255
+ type: "file-restore";
256
+ baseDir: string;
257
+ backupDirName: string;
258
+ backupDir?: string | undefined;
259
+ backupTimestamp?: string | undefined;
260
+ files?: string[] | undefined;
261
+ } | {
262
+ type: "command";
263
+ command: string;
264
+ args: string[];
265
+ silent: boolean;
266
+ allowFailure: boolean;
267
+ cwd?: string | undefined;
268
+ env?: Record<string, string> | undefined;
269
+ } | {
270
+ type: "hook-install";
271
+ target: string;
272
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
273
+ vibesPath: string;
274
+ global?: boolean | undefined;
275
+ } | {
276
+ type: "mcp-configure";
277
+ target: string;
278
+ serverName: string;
279
+ command: string;
280
+ args: string[];
281
+ env?: Record<string, string> | undefined;
282
+ timeout?: number | undefined;
283
+ toolTimeout?: number | undefined;
284
+ enabledTools?: string[] | undefined;
285
+ disabledTools?: string[] | undefined;
286
+ global?: boolean | undefined;
287
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
288
+ } | {
289
+ type: "adapter-codegen";
290
+ adapterId: string;
291
+ outputDir?: string | undefined;
292
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
293
+ global?: boolean | undefined;
294
+ } | {
295
+ type: "operation";
296
+ operationId: string;
297
+ options: Record<string, unknown>;
298
+ } | {
299
+ type: "prompt";
300
+ message: string;
301
+ promptType: "input" | "select" | "confirm";
302
+ options?: string[] | undefined;
303
+ default?: string | undefined;
304
+ variable?: string | undefined;
305
+ } | {
306
+ type: "validate";
307
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
308
+ fatal: boolean;
309
+ target?: string | undefined;
310
+ message?: string | undefined;
311
+ })[];
312
+ rollback?: ({
313
+ type: "file-write";
314
+ path: string;
315
+ content: string;
316
+ mode?: number | undefined;
317
+ overwrite?: boolean | undefined;
318
+ createDirs?: boolean | undefined;
319
+ } | {
320
+ type: "file-edit";
321
+ path: string;
322
+ format: "json" | "yaml" | "toml";
323
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
324
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
325
+ } | {
326
+ type: "file-copy";
327
+ source: string;
328
+ destination: string;
329
+ overwrite: boolean;
330
+ mode?: number | undefined;
331
+ } | {
332
+ type: "file-backup";
333
+ baseDir: string;
334
+ files: string[];
335
+ backupDirName: string;
336
+ variable?: string | undefined;
337
+ } | {
338
+ type: "file-restore";
339
+ baseDir: string;
340
+ backupDirName: string;
341
+ backupDir?: string | undefined;
342
+ backupTimestamp?: string | undefined;
343
+ files?: string[] | undefined;
344
+ } | {
345
+ type: "command";
346
+ command: string;
347
+ args: string[];
348
+ silent: boolean;
349
+ allowFailure: boolean;
350
+ cwd?: string | undefined;
351
+ env?: Record<string, string> | undefined;
352
+ } | {
353
+ type: "hook-install";
354
+ target: string;
355
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
356
+ vibesPath: string;
357
+ global?: boolean | undefined;
358
+ } | {
359
+ type: "mcp-configure";
360
+ target: string;
361
+ serverName: string;
362
+ command: string;
363
+ args: string[];
364
+ env?: Record<string, string> | undefined;
365
+ timeout?: number | undefined;
366
+ toolTimeout?: number | undefined;
367
+ enabledTools?: string[] | undefined;
368
+ disabledTools?: string[] | undefined;
369
+ global?: boolean | undefined;
370
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
371
+ } | {
372
+ type: "adapter-codegen";
373
+ adapterId: string;
374
+ outputDir?: string | undefined;
375
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
376
+ global?: boolean | undefined;
377
+ } | {
378
+ type: "operation";
379
+ operationId: string;
380
+ options: Record<string, unknown>;
381
+ } | {
382
+ type: "prompt";
383
+ message: string;
384
+ promptType: "input" | "select" | "confirm";
385
+ options?: string[] | undefined;
386
+ default?: string | undefined;
387
+ variable?: string | undefined;
388
+ } | {
389
+ type: "validate";
390
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
391
+ fatal: boolean;
392
+ target?: string | undefined;
393
+ message?: string | undefined;
394
+ })[] | undefined;
395
+ variables?: Record<string, string> | undefined;
396
+ };
397
+ version: string;
398
+ kind: "external/preset";
399
+ requires?: {
400
+ vibesVersion?: string | undefined;
401
+ toolVersion?: string | undefined;
402
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
403
+ dependencies?: string[] | undefined;
404
+ } | undefined;
405
+ author?: string | undefined;
406
+ homepage?: string | undefined;
407
+ profiles?: {
408
+ id: string;
409
+ presetId: string;
410
+ aliases?: string[] | undefined;
411
+ }[] | undefined;
412
+ };
413
+ export declare const codexFullAutoPresetDescriptor: {
414
+ id: string;
415
+ name: string;
416
+ description: string;
417
+ target: string;
418
+ category: "model" | "workflow" | "integration" | "alias";
419
+ tags: string[];
420
+ features: {
421
+ mcpServer: boolean;
422
+ hooks: string[];
423
+ aliases: string[];
424
+ modelConfig: boolean;
425
+ workflowConfig: boolean;
426
+ disableInternalTools: boolean;
427
+ };
428
+ recipe: {
429
+ id: string;
430
+ name: string;
431
+ description: string;
432
+ steps: ({
433
+ type: "file-write";
434
+ path: string;
435
+ content: string;
436
+ mode?: number | undefined;
437
+ overwrite?: boolean | undefined;
438
+ createDirs?: boolean | undefined;
439
+ } | {
440
+ type: "file-edit";
441
+ path: string;
442
+ format: "json" | "yaml" | "toml";
443
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
444
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
445
+ } | {
446
+ type: "file-copy";
447
+ source: string;
448
+ destination: string;
449
+ overwrite: boolean;
450
+ mode?: number | undefined;
451
+ } | {
452
+ type: "file-backup";
453
+ baseDir: string;
454
+ files: string[];
455
+ backupDirName: string;
456
+ variable?: string | undefined;
457
+ } | {
458
+ type: "file-restore";
459
+ baseDir: string;
460
+ backupDirName: string;
461
+ backupDir?: string | undefined;
462
+ backupTimestamp?: string | undefined;
463
+ files?: string[] | undefined;
464
+ } | {
465
+ type: "command";
466
+ command: string;
467
+ args: string[];
468
+ silent: boolean;
469
+ allowFailure: boolean;
470
+ cwd?: string | undefined;
471
+ env?: Record<string, string> | undefined;
472
+ } | {
473
+ type: "hook-install";
474
+ target: string;
475
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
476
+ vibesPath: string;
477
+ global?: boolean | undefined;
478
+ } | {
479
+ type: "mcp-configure";
480
+ target: string;
481
+ serverName: string;
482
+ command: string;
483
+ args: string[];
484
+ env?: Record<string, string> | undefined;
485
+ timeout?: number | undefined;
486
+ toolTimeout?: number | undefined;
487
+ enabledTools?: string[] | undefined;
488
+ disabledTools?: string[] | undefined;
489
+ global?: boolean | undefined;
490
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
491
+ } | {
492
+ type: "adapter-codegen";
493
+ adapterId: string;
494
+ outputDir?: string | undefined;
495
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
496
+ global?: boolean | undefined;
497
+ } | {
498
+ type: "operation";
499
+ operationId: string;
500
+ options: Record<string, unknown>;
501
+ } | {
502
+ type: "prompt";
503
+ message: string;
504
+ promptType: "input" | "select" | "confirm";
505
+ options?: string[] | undefined;
506
+ default?: string | undefined;
507
+ variable?: string | undefined;
508
+ } | {
509
+ type: "validate";
510
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
511
+ fatal: boolean;
512
+ target?: string | undefined;
513
+ message?: string | undefined;
514
+ })[];
515
+ rollback?: ({
516
+ type: "file-write";
517
+ path: string;
518
+ content: string;
519
+ mode?: number | undefined;
520
+ overwrite?: boolean | undefined;
521
+ createDirs?: boolean | undefined;
522
+ } | {
523
+ type: "file-edit";
524
+ path: string;
525
+ format: "json" | "yaml" | "toml";
526
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
527
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
528
+ } | {
529
+ type: "file-copy";
530
+ source: string;
531
+ destination: string;
532
+ overwrite: boolean;
533
+ mode?: number | undefined;
534
+ } | {
535
+ type: "file-backup";
536
+ baseDir: string;
537
+ files: string[];
538
+ backupDirName: string;
539
+ variable?: string | undefined;
540
+ } | {
541
+ type: "file-restore";
542
+ baseDir: string;
543
+ backupDirName: string;
544
+ backupDir?: string | undefined;
545
+ backupTimestamp?: string | undefined;
546
+ files?: string[] | undefined;
547
+ } | {
548
+ type: "command";
549
+ command: string;
550
+ args: string[];
551
+ silent: boolean;
552
+ allowFailure: boolean;
553
+ cwd?: string | undefined;
554
+ env?: Record<string, string> | undefined;
555
+ } | {
556
+ type: "hook-install";
557
+ target: string;
558
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
559
+ vibesPath: string;
560
+ global?: boolean | undefined;
561
+ } | {
562
+ type: "mcp-configure";
563
+ target: string;
564
+ serverName: string;
565
+ command: string;
566
+ args: string[];
567
+ env?: Record<string, string> | undefined;
568
+ timeout?: number | undefined;
569
+ toolTimeout?: number | undefined;
570
+ enabledTools?: string[] | undefined;
571
+ disabledTools?: string[] | undefined;
572
+ global?: boolean | undefined;
573
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
574
+ } | {
575
+ type: "adapter-codegen";
576
+ adapterId: string;
577
+ outputDir?: string | undefined;
578
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
579
+ global?: boolean | undefined;
580
+ } | {
581
+ type: "operation";
582
+ operationId: string;
583
+ options: Record<string, unknown>;
584
+ } | {
585
+ type: "prompt";
586
+ message: string;
587
+ promptType: "input" | "select" | "confirm";
588
+ options?: string[] | undefined;
589
+ default?: string | undefined;
590
+ variable?: string | undefined;
591
+ } | {
592
+ type: "validate";
593
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
594
+ fatal: boolean;
595
+ target?: string | undefined;
596
+ message?: string | undefined;
597
+ })[] | undefined;
598
+ variables?: Record<string, string> | undefined;
599
+ };
600
+ version: string;
601
+ kind: "external/preset";
602
+ requires?: {
603
+ vibesVersion?: string | undefined;
604
+ toolVersion?: string | undefined;
605
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
606
+ dependencies?: string[] | undefined;
607
+ } | undefined;
608
+ author?: string | undefined;
609
+ homepage?: string | undefined;
610
+ profiles?: {
611
+ id: string;
612
+ presetId: string;
613
+ aliases?: string[] | undefined;
614
+ }[] | undefined;
615
+ };
616
+ export declare const codexOssModelPresetDescriptor: {
617
+ id: string;
618
+ name: string;
619
+ description: string;
620
+ target: string;
621
+ category: "model" | "workflow" | "integration" | "alias";
622
+ tags: string[];
623
+ features: {
624
+ mcpServer: boolean;
625
+ hooks: string[];
626
+ aliases: string[];
627
+ modelConfig: boolean;
628
+ workflowConfig: boolean;
629
+ disableInternalTools: boolean;
630
+ };
631
+ recipe: {
632
+ id: string;
633
+ name: string;
634
+ description: string;
635
+ steps: ({
636
+ type: "file-write";
637
+ path: string;
638
+ content: string;
639
+ mode?: number | undefined;
640
+ overwrite?: boolean | undefined;
641
+ createDirs?: boolean | undefined;
642
+ } | {
643
+ type: "file-edit";
644
+ path: string;
645
+ format: "json" | "yaml" | "toml";
646
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
647
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
648
+ } | {
649
+ type: "file-copy";
650
+ source: string;
651
+ destination: string;
652
+ overwrite: boolean;
653
+ mode?: number | undefined;
654
+ } | {
655
+ type: "file-backup";
656
+ baseDir: string;
657
+ files: string[];
658
+ backupDirName: string;
659
+ variable?: string | undefined;
660
+ } | {
661
+ type: "file-restore";
662
+ baseDir: string;
663
+ backupDirName: string;
664
+ backupDir?: string | undefined;
665
+ backupTimestamp?: string | undefined;
666
+ files?: string[] | undefined;
667
+ } | {
668
+ type: "command";
669
+ command: string;
670
+ args: string[];
671
+ silent: boolean;
672
+ allowFailure: boolean;
673
+ cwd?: string | undefined;
674
+ env?: Record<string, string> | undefined;
675
+ } | {
676
+ type: "hook-install";
677
+ target: string;
678
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
679
+ vibesPath: string;
680
+ global?: boolean | undefined;
681
+ } | {
682
+ type: "mcp-configure";
683
+ target: string;
684
+ serverName: string;
685
+ command: string;
686
+ args: string[];
687
+ env?: Record<string, string> | undefined;
688
+ timeout?: number | undefined;
689
+ toolTimeout?: number | undefined;
690
+ enabledTools?: string[] | undefined;
691
+ disabledTools?: string[] | undefined;
692
+ global?: boolean | undefined;
693
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
694
+ } | {
695
+ type: "adapter-codegen";
696
+ adapterId: string;
697
+ outputDir?: string | undefined;
698
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
699
+ global?: boolean | undefined;
700
+ } | {
701
+ type: "operation";
702
+ operationId: string;
703
+ options: Record<string, unknown>;
704
+ } | {
705
+ type: "prompt";
706
+ message: string;
707
+ promptType: "input" | "select" | "confirm";
708
+ options?: string[] | undefined;
709
+ default?: string | undefined;
710
+ variable?: string | undefined;
711
+ } | {
712
+ type: "validate";
713
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
714
+ fatal: boolean;
715
+ target?: string | undefined;
716
+ message?: string | undefined;
717
+ })[];
718
+ rollback?: ({
719
+ type: "file-write";
720
+ path: string;
721
+ content: string;
722
+ mode?: number | undefined;
723
+ overwrite?: boolean | undefined;
724
+ createDirs?: boolean | undefined;
725
+ } | {
726
+ type: "file-edit";
727
+ path: string;
728
+ format: "json" | "yaml" | "toml";
729
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
730
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
731
+ } | {
732
+ type: "file-copy";
733
+ source: string;
734
+ destination: string;
735
+ overwrite: boolean;
736
+ mode?: number | undefined;
737
+ } | {
738
+ type: "file-backup";
739
+ baseDir: string;
740
+ files: string[];
741
+ backupDirName: string;
742
+ variable?: string | undefined;
743
+ } | {
744
+ type: "file-restore";
745
+ baseDir: string;
746
+ backupDirName: string;
747
+ backupDir?: string | undefined;
748
+ backupTimestamp?: string | undefined;
749
+ files?: string[] | undefined;
750
+ } | {
751
+ type: "command";
752
+ command: string;
753
+ args: string[];
754
+ silent: boolean;
755
+ allowFailure: boolean;
756
+ cwd?: string | undefined;
757
+ env?: Record<string, string> | undefined;
758
+ } | {
759
+ type: "hook-install";
760
+ target: string;
761
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
762
+ vibesPath: string;
763
+ global?: boolean | undefined;
764
+ } | {
765
+ type: "mcp-configure";
766
+ target: string;
767
+ serverName: string;
768
+ command: string;
769
+ args: string[];
770
+ env?: Record<string, string> | undefined;
771
+ timeout?: number | undefined;
772
+ toolTimeout?: number | undefined;
773
+ enabledTools?: string[] | undefined;
774
+ disabledTools?: string[] | undefined;
775
+ global?: boolean | undefined;
776
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
777
+ } | {
778
+ type: "adapter-codegen";
779
+ adapterId: string;
780
+ outputDir?: string | undefined;
781
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
782
+ global?: boolean | undefined;
783
+ } | {
784
+ type: "operation";
785
+ operationId: string;
786
+ options: Record<string, unknown>;
787
+ } | {
788
+ type: "prompt";
789
+ message: string;
790
+ promptType: "input" | "select" | "confirm";
791
+ options?: string[] | undefined;
792
+ default?: string | undefined;
793
+ variable?: string | undefined;
794
+ } | {
795
+ type: "validate";
796
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
797
+ fatal: boolean;
798
+ target?: string | undefined;
799
+ message?: string | undefined;
800
+ })[] | undefined;
801
+ variables?: Record<string, string> | undefined;
802
+ };
803
+ version: string;
804
+ kind: "external/preset";
805
+ requires?: {
806
+ vibesVersion?: string | undefined;
807
+ toolVersion?: string | undefined;
808
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
809
+ dependencies?: string[] | undefined;
810
+ } | undefined;
811
+ author?: string | undefined;
812
+ homepage?: string | undefined;
813
+ profiles?: {
814
+ id: string;
815
+ presetId: string;
816
+ aliases?: string[] | undefined;
817
+ }[] | undefined;
818
+ };
819
+ export declare const codexOnlyPresetDescriptor: {
820
+ id: string;
821
+ name: string;
822
+ description: string;
823
+ target: string;
824
+ category: "model" | "workflow" | "integration" | "alias";
825
+ tags: string[];
826
+ features: {
827
+ mcpServer: boolean;
828
+ hooks: string[];
829
+ aliases: string[];
830
+ modelConfig: boolean;
831
+ workflowConfig: boolean;
832
+ disableInternalTools: boolean;
833
+ };
834
+ recipe: {
835
+ id: string;
836
+ name: string;
837
+ description: string;
838
+ steps: ({
839
+ type: "file-write";
840
+ path: string;
841
+ content: string;
842
+ mode?: number | undefined;
843
+ overwrite?: boolean | undefined;
844
+ createDirs?: boolean | undefined;
845
+ } | {
846
+ type: "file-edit";
847
+ path: string;
848
+ format: "json" | "yaml" | "toml";
849
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
850
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
851
+ } | {
852
+ type: "file-copy";
853
+ source: string;
854
+ destination: string;
855
+ overwrite: boolean;
856
+ mode?: number | undefined;
857
+ } | {
858
+ type: "file-backup";
859
+ baseDir: string;
860
+ files: string[];
861
+ backupDirName: string;
862
+ variable?: string | undefined;
863
+ } | {
864
+ type: "file-restore";
865
+ baseDir: string;
866
+ backupDirName: string;
867
+ backupDir?: string | undefined;
868
+ backupTimestamp?: string | undefined;
869
+ files?: string[] | undefined;
870
+ } | {
871
+ type: "command";
872
+ command: string;
873
+ args: string[];
874
+ silent: boolean;
875
+ allowFailure: boolean;
876
+ cwd?: string | undefined;
877
+ env?: Record<string, string> | undefined;
878
+ } | {
879
+ type: "hook-install";
880
+ target: string;
881
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
882
+ vibesPath: string;
883
+ global?: boolean | undefined;
884
+ } | {
885
+ type: "mcp-configure";
886
+ target: string;
887
+ serverName: string;
888
+ command: string;
889
+ args: string[];
890
+ env?: Record<string, string> | undefined;
891
+ timeout?: number | undefined;
892
+ toolTimeout?: number | undefined;
893
+ enabledTools?: string[] | undefined;
894
+ disabledTools?: string[] | undefined;
895
+ global?: boolean | undefined;
896
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
897
+ } | {
898
+ type: "adapter-codegen";
899
+ adapterId: string;
900
+ outputDir?: string | undefined;
901
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
902
+ global?: boolean | undefined;
903
+ } | {
904
+ type: "operation";
905
+ operationId: string;
906
+ options: Record<string, unknown>;
907
+ } | {
908
+ type: "prompt";
909
+ message: string;
910
+ promptType: "input" | "select" | "confirm";
911
+ options?: string[] | undefined;
912
+ default?: string | undefined;
913
+ variable?: string | undefined;
914
+ } | {
915
+ type: "validate";
916
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
917
+ fatal: boolean;
918
+ target?: string | undefined;
919
+ message?: string | undefined;
920
+ })[];
921
+ rollback?: ({
922
+ type: "file-write";
923
+ path: string;
924
+ content: string;
925
+ mode?: number | undefined;
926
+ overwrite?: boolean | undefined;
927
+ createDirs?: boolean | undefined;
928
+ } | {
929
+ type: "file-edit";
930
+ path: string;
931
+ format: "json" | "yaml" | "toml";
932
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
933
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
934
+ } | {
935
+ type: "file-copy";
936
+ source: string;
937
+ destination: string;
938
+ overwrite: boolean;
939
+ mode?: number | undefined;
940
+ } | {
941
+ type: "file-backup";
942
+ baseDir: string;
943
+ files: string[];
944
+ backupDirName: string;
945
+ variable?: string | undefined;
946
+ } | {
947
+ type: "file-restore";
948
+ baseDir: string;
949
+ backupDirName: string;
950
+ backupDir?: string | undefined;
951
+ backupTimestamp?: string | undefined;
952
+ files?: string[] | undefined;
953
+ } | {
954
+ type: "command";
955
+ command: string;
956
+ args: string[];
957
+ silent: boolean;
958
+ allowFailure: boolean;
959
+ cwd?: string | undefined;
960
+ env?: Record<string, string> | undefined;
961
+ } | {
962
+ type: "hook-install";
963
+ target: string;
964
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
965
+ vibesPath: string;
966
+ global?: boolean | undefined;
967
+ } | {
968
+ type: "mcp-configure";
969
+ target: string;
970
+ serverName: string;
971
+ command: string;
972
+ args: string[];
973
+ env?: Record<string, string> | undefined;
974
+ timeout?: number | undefined;
975
+ toolTimeout?: number | undefined;
976
+ enabledTools?: string[] | undefined;
977
+ disabledTools?: string[] | undefined;
978
+ global?: boolean | undefined;
979
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
980
+ } | {
981
+ type: "adapter-codegen";
982
+ adapterId: string;
983
+ outputDir?: string | undefined;
984
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
985
+ global?: boolean | undefined;
986
+ } | {
987
+ type: "operation";
988
+ operationId: string;
989
+ options: Record<string, unknown>;
990
+ } | {
991
+ type: "prompt";
992
+ message: string;
993
+ promptType: "input" | "select" | "confirm";
994
+ options?: string[] | undefined;
995
+ default?: string | undefined;
996
+ variable?: string | undefined;
997
+ } | {
998
+ type: "validate";
999
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1000
+ fatal: boolean;
1001
+ target?: string | undefined;
1002
+ message?: string | undefined;
1003
+ })[] | undefined;
1004
+ variables?: Record<string, string> | undefined;
1005
+ };
1006
+ version: string;
1007
+ kind: "external/preset";
1008
+ requires?: {
1009
+ vibesVersion?: string | undefined;
1010
+ toolVersion?: string | undefined;
1011
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
1012
+ dependencies?: string[] | undefined;
1013
+ } | undefined;
1014
+ author?: string | undefined;
1015
+ homepage?: string | undefined;
1016
+ profiles?: {
1017
+ id: string;
1018
+ presetId: string;
1019
+ aliases?: string[] | undefined;
1020
+ }[] | undefined;
1021
+ };
1022
+ export declare const codexPresetDescriptors: readonly [{
1023
+ id: string;
1024
+ name: string;
1025
+ description: string;
1026
+ target: string;
1027
+ category: "model" | "workflow" | "integration" | "alias";
1028
+ tags: string[];
1029
+ features: {
1030
+ mcpServer: boolean;
1031
+ hooks: string[];
1032
+ aliases: string[];
1033
+ modelConfig: boolean;
1034
+ workflowConfig: boolean;
1035
+ disableInternalTools: boolean;
1036
+ };
1037
+ recipe: {
1038
+ id: string;
1039
+ name: string;
1040
+ description: string;
1041
+ steps: ({
1042
+ type: "file-write";
1043
+ path: string;
1044
+ content: string;
1045
+ mode?: number | undefined;
1046
+ overwrite?: boolean | undefined;
1047
+ createDirs?: boolean | undefined;
1048
+ } | {
1049
+ type: "file-edit";
1050
+ path: string;
1051
+ format: "json" | "yaml" | "toml";
1052
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1053
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1054
+ } | {
1055
+ type: "file-copy";
1056
+ source: string;
1057
+ destination: string;
1058
+ overwrite: boolean;
1059
+ mode?: number | undefined;
1060
+ } | {
1061
+ type: "file-backup";
1062
+ baseDir: string;
1063
+ files: string[];
1064
+ backupDirName: string;
1065
+ variable?: string | undefined;
1066
+ } | {
1067
+ type: "file-restore";
1068
+ baseDir: string;
1069
+ backupDirName: string;
1070
+ backupDir?: string | undefined;
1071
+ backupTimestamp?: string | undefined;
1072
+ files?: string[] | undefined;
1073
+ } | {
1074
+ type: "command";
1075
+ command: string;
1076
+ args: string[];
1077
+ silent: boolean;
1078
+ allowFailure: boolean;
1079
+ cwd?: string | undefined;
1080
+ env?: Record<string, string> | undefined;
1081
+ } | {
1082
+ type: "hook-install";
1083
+ target: string;
1084
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1085
+ vibesPath: string;
1086
+ global?: boolean | undefined;
1087
+ } | {
1088
+ type: "mcp-configure";
1089
+ target: string;
1090
+ serverName: string;
1091
+ command: string;
1092
+ args: string[];
1093
+ env?: Record<string, string> | undefined;
1094
+ timeout?: number | undefined;
1095
+ toolTimeout?: number | undefined;
1096
+ enabledTools?: string[] | undefined;
1097
+ disabledTools?: string[] | undefined;
1098
+ global?: boolean | undefined;
1099
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1100
+ } | {
1101
+ type: "adapter-codegen";
1102
+ adapterId: string;
1103
+ outputDir?: string | undefined;
1104
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1105
+ global?: boolean | undefined;
1106
+ } | {
1107
+ type: "operation";
1108
+ operationId: string;
1109
+ options: Record<string, unknown>;
1110
+ } | {
1111
+ type: "prompt";
1112
+ message: string;
1113
+ promptType: "input" | "select" | "confirm";
1114
+ options?: string[] | undefined;
1115
+ default?: string | undefined;
1116
+ variable?: string | undefined;
1117
+ } | {
1118
+ type: "validate";
1119
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1120
+ fatal: boolean;
1121
+ target?: string | undefined;
1122
+ message?: string | undefined;
1123
+ })[];
1124
+ rollback?: ({
1125
+ type: "file-write";
1126
+ path: string;
1127
+ content: string;
1128
+ mode?: number | undefined;
1129
+ overwrite?: boolean | undefined;
1130
+ createDirs?: boolean | undefined;
1131
+ } | {
1132
+ type: "file-edit";
1133
+ path: string;
1134
+ format: "json" | "yaml" | "toml";
1135
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1136
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1137
+ } | {
1138
+ type: "file-copy";
1139
+ source: string;
1140
+ destination: string;
1141
+ overwrite: boolean;
1142
+ mode?: number | undefined;
1143
+ } | {
1144
+ type: "file-backup";
1145
+ baseDir: string;
1146
+ files: string[];
1147
+ backupDirName: string;
1148
+ variable?: string | undefined;
1149
+ } | {
1150
+ type: "file-restore";
1151
+ baseDir: string;
1152
+ backupDirName: string;
1153
+ backupDir?: string | undefined;
1154
+ backupTimestamp?: string | undefined;
1155
+ files?: string[] | undefined;
1156
+ } | {
1157
+ type: "command";
1158
+ command: string;
1159
+ args: string[];
1160
+ silent: boolean;
1161
+ allowFailure: boolean;
1162
+ cwd?: string | undefined;
1163
+ env?: Record<string, string> | undefined;
1164
+ } | {
1165
+ type: "hook-install";
1166
+ target: string;
1167
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1168
+ vibesPath: string;
1169
+ global?: boolean | undefined;
1170
+ } | {
1171
+ type: "mcp-configure";
1172
+ target: string;
1173
+ serverName: string;
1174
+ command: string;
1175
+ args: string[];
1176
+ env?: Record<string, string> | undefined;
1177
+ timeout?: number | undefined;
1178
+ toolTimeout?: number | undefined;
1179
+ enabledTools?: string[] | undefined;
1180
+ disabledTools?: string[] | undefined;
1181
+ global?: boolean | undefined;
1182
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1183
+ } | {
1184
+ type: "adapter-codegen";
1185
+ adapterId: string;
1186
+ outputDir?: string | undefined;
1187
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1188
+ global?: boolean | undefined;
1189
+ } | {
1190
+ type: "operation";
1191
+ operationId: string;
1192
+ options: Record<string, unknown>;
1193
+ } | {
1194
+ type: "prompt";
1195
+ message: string;
1196
+ promptType: "input" | "select" | "confirm";
1197
+ options?: string[] | undefined;
1198
+ default?: string | undefined;
1199
+ variable?: string | undefined;
1200
+ } | {
1201
+ type: "validate";
1202
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1203
+ fatal: boolean;
1204
+ target?: string | undefined;
1205
+ message?: string | undefined;
1206
+ })[] | undefined;
1207
+ variables?: Record<string, string> | undefined;
1208
+ };
1209
+ version: string;
1210
+ kind: "external/preset";
1211
+ requires?: {
1212
+ vibesVersion?: string | undefined;
1213
+ toolVersion?: string | undefined;
1214
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
1215
+ dependencies?: string[] | undefined;
1216
+ } | undefined;
1217
+ author?: string | undefined;
1218
+ homepage?: string | undefined;
1219
+ profiles?: {
1220
+ id: string;
1221
+ presetId: string;
1222
+ aliases?: string[] | undefined;
1223
+ }[] | undefined;
1224
+ }, {
1225
+ id: string;
1226
+ name: string;
1227
+ description: string;
1228
+ target: string;
1229
+ category: "model" | "workflow" | "integration" | "alias";
1230
+ tags: string[];
1231
+ features: {
1232
+ mcpServer: boolean;
1233
+ hooks: string[];
1234
+ aliases: string[];
1235
+ modelConfig: boolean;
1236
+ workflowConfig: boolean;
1237
+ disableInternalTools: boolean;
1238
+ };
1239
+ recipe: {
1240
+ id: string;
1241
+ name: string;
1242
+ description: string;
1243
+ steps: ({
1244
+ type: "file-write";
1245
+ path: string;
1246
+ content: string;
1247
+ mode?: number | undefined;
1248
+ overwrite?: boolean | undefined;
1249
+ createDirs?: boolean | undefined;
1250
+ } | {
1251
+ type: "file-edit";
1252
+ path: string;
1253
+ format: "json" | "yaml" | "toml";
1254
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1255
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1256
+ } | {
1257
+ type: "file-copy";
1258
+ source: string;
1259
+ destination: string;
1260
+ overwrite: boolean;
1261
+ mode?: number | undefined;
1262
+ } | {
1263
+ type: "file-backup";
1264
+ baseDir: string;
1265
+ files: string[];
1266
+ backupDirName: string;
1267
+ variable?: string | undefined;
1268
+ } | {
1269
+ type: "file-restore";
1270
+ baseDir: string;
1271
+ backupDirName: string;
1272
+ backupDir?: string | undefined;
1273
+ backupTimestamp?: string | undefined;
1274
+ files?: string[] | undefined;
1275
+ } | {
1276
+ type: "command";
1277
+ command: string;
1278
+ args: string[];
1279
+ silent: boolean;
1280
+ allowFailure: boolean;
1281
+ cwd?: string | undefined;
1282
+ env?: Record<string, string> | undefined;
1283
+ } | {
1284
+ type: "hook-install";
1285
+ target: string;
1286
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1287
+ vibesPath: string;
1288
+ global?: boolean | undefined;
1289
+ } | {
1290
+ type: "mcp-configure";
1291
+ target: string;
1292
+ serverName: string;
1293
+ command: string;
1294
+ args: string[];
1295
+ env?: Record<string, string> | undefined;
1296
+ timeout?: number | undefined;
1297
+ toolTimeout?: number | undefined;
1298
+ enabledTools?: string[] | undefined;
1299
+ disabledTools?: string[] | undefined;
1300
+ global?: boolean | undefined;
1301
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1302
+ } | {
1303
+ type: "adapter-codegen";
1304
+ adapterId: string;
1305
+ outputDir?: string | undefined;
1306
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1307
+ global?: boolean | undefined;
1308
+ } | {
1309
+ type: "operation";
1310
+ operationId: string;
1311
+ options: Record<string, unknown>;
1312
+ } | {
1313
+ type: "prompt";
1314
+ message: string;
1315
+ promptType: "input" | "select" | "confirm";
1316
+ options?: string[] | undefined;
1317
+ default?: string | undefined;
1318
+ variable?: string | undefined;
1319
+ } | {
1320
+ type: "validate";
1321
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1322
+ fatal: boolean;
1323
+ target?: string | undefined;
1324
+ message?: string | undefined;
1325
+ })[];
1326
+ rollback?: ({
1327
+ type: "file-write";
1328
+ path: string;
1329
+ content: string;
1330
+ mode?: number | undefined;
1331
+ overwrite?: boolean | undefined;
1332
+ createDirs?: boolean | undefined;
1333
+ } | {
1334
+ type: "file-edit";
1335
+ path: string;
1336
+ format: "json" | "yaml" | "toml";
1337
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1338
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1339
+ } | {
1340
+ type: "file-copy";
1341
+ source: string;
1342
+ destination: string;
1343
+ overwrite: boolean;
1344
+ mode?: number | undefined;
1345
+ } | {
1346
+ type: "file-backup";
1347
+ baseDir: string;
1348
+ files: string[];
1349
+ backupDirName: string;
1350
+ variable?: string | undefined;
1351
+ } | {
1352
+ type: "file-restore";
1353
+ baseDir: string;
1354
+ backupDirName: string;
1355
+ backupDir?: string | undefined;
1356
+ backupTimestamp?: string | undefined;
1357
+ files?: string[] | undefined;
1358
+ } | {
1359
+ type: "command";
1360
+ command: string;
1361
+ args: string[];
1362
+ silent: boolean;
1363
+ allowFailure: boolean;
1364
+ cwd?: string | undefined;
1365
+ env?: Record<string, string> | undefined;
1366
+ } | {
1367
+ type: "hook-install";
1368
+ target: string;
1369
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1370
+ vibesPath: string;
1371
+ global?: boolean | undefined;
1372
+ } | {
1373
+ type: "mcp-configure";
1374
+ target: string;
1375
+ serverName: string;
1376
+ command: string;
1377
+ args: string[];
1378
+ env?: Record<string, string> | undefined;
1379
+ timeout?: number | undefined;
1380
+ toolTimeout?: number | undefined;
1381
+ enabledTools?: string[] | undefined;
1382
+ disabledTools?: string[] | undefined;
1383
+ global?: boolean | undefined;
1384
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1385
+ } | {
1386
+ type: "adapter-codegen";
1387
+ adapterId: string;
1388
+ outputDir?: string | undefined;
1389
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1390
+ global?: boolean | undefined;
1391
+ } | {
1392
+ type: "operation";
1393
+ operationId: string;
1394
+ options: Record<string, unknown>;
1395
+ } | {
1396
+ type: "prompt";
1397
+ message: string;
1398
+ promptType: "input" | "select" | "confirm";
1399
+ options?: string[] | undefined;
1400
+ default?: string | undefined;
1401
+ variable?: string | undefined;
1402
+ } | {
1403
+ type: "validate";
1404
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1405
+ fatal: boolean;
1406
+ target?: string | undefined;
1407
+ message?: string | undefined;
1408
+ })[] | undefined;
1409
+ variables?: Record<string, string> | undefined;
1410
+ };
1411
+ version: string;
1412
+ kind: "external/preset";
1413
+ requires?: {
1414
+ vibesVersion?: string | undefined;
1415
+ toolVersion?: string | undefined;
1416
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
1417
+ dependencies?: string[] | undefined;
1418
+ } | undefined;
1419
+ author?: string | undefined;
1420
+ homepage?: string | undefined;
1421
+ profiles?: {
1422
+ id: string;
1423
+ presetId: string;
1424
+ aliases?: string[] | undefined;
1425
+ }[] | undefined;
1426
+ }, {
1427
+ id: string;
1428
+ name: string;
1429
+ description: string;
1430
+ target: string;
1431
+ category: "model" | "workflow" | "integration" | "alias";
1432
+ tags: string[];
1433
+ features: {
1434
+ mcpServer: boolean;
1435
+ hooks: string[];
1436
+ aliases: string[];
1437
+ modelConfig: boolean;
1438
+ workflowConfig: boolean;
1439
+ disableInternalTools: boolean;
1440
+ };
1441
+ recipe: {
1442
+ id: string;
1443
+ name: string;
1444
+ description: string;
1445
+ steps: ({
1446
+ type: "file-write";
1447
+ path: string;
1448
+ content: string;
1449
+ mode?: number | undefined;
1450
+ overwrite?: boolean | undefined;
1451
+ createDirs?: boolean | undefined;
1452
+ } | {
1453
+ type: "file-edit";
1454
+ path: string;
1455
+ format: "json" | "yaml" | "toml";
1456
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1457
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1458
+ } | {
1459
+ type: "file-copy";
1460
+ source: string;
1461
+ destination: string;
1462
+ overwrite: boolean;
1463
+ mode?: number | undefined;
1464
+ } | {
1465
+ type: "file-backup";
1466
+ baseDir: string;
1467
+ files: string[];
1468
+ backupDirName: string;
1469
+ variable?: string | undefined;
1470
+ } | {
1471
+ type: "file-restore";
1472
+ baseDir: string;
1473
+ backupDirName: string;
1474
+ backupDir?: string | undefined;
1475
+ backupTimestamp?: string | undefined;
1476
+ files?: string[] | undefined;
1477
+ } | {
1478
+ type: "command";
1479
+ command: string;
1480
+ args: string[];
1481
+ silent: boolean;
1482
+ allowFailure: boolean;
1483
+ cwd?: string | undefined;
1484
+ env?: Record<string, string> | undefined;
1485
+ } | {
1486
+ type: "hook-install";
1487
+ target: string;
1488
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1489
+ vibesPath: string;
1490
+ global?: boolean | undefined;
1491
+ } | {
1492
+ type: "mcp-configure";
1493
+ target: string;
1494
+ serverName: string;
1495
+ command: string;
1496
+ args: string[];
1497
+ env?: Record<string, string> | undefined;
1498
+ timeout?: number | undefined;
1499
+ toolTimeout?: number | undefined;
1500
+ enabledTools?: string[] | undefined;
1501
+ disabledTools?: string[] | undefined;
1502
+ global?: boolean | undefined;
1503
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1504
+ } | {
1505
+ type: "adapter-codegen";
1506
+ adapterId: string;
1507
+ outputDir?: string | undefined;
1508
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1509
+ global?: boolean | undefined;
1510
+ } | {
1511
+ type: "operation";
1512
+ operationId: string;
1513
+ options: Record<string, unknown>;
1514
+ } | {
1515
+ type: "prompt";
1516
+ message: string;
1517
+ promptType: "input" | "select" | "confirm";
1518
+ options?: string[] | undefined;
1519
+ default?: string | undefined;
1520
+ variable?: string | undefined;
1521
+ } | {
1522
+ type: "validate";
1523
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1524
+ fatal: boolean;
1525
+ target?: string | undefined;
1526
+ message?: string | undefined;
1527
+ })[];
1528
+ rollback?: ({
1529
+ type: "file-write";
1530
+ path: string;
1531
+ content: string;
1532
+ mode?: number | undefined;
1533
+ overwrite?: boolean | undefined;
1534
+ createDirs?: boolean | undefined;
1535
+ } | {
1536
+ type: "file-edit";
1537
+ path: string;
1538
+ format: "json" | "yaml" | "toml";
1539
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1540
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1541
+ } | {
1542
+ type: "file-copy";
1543
+ source: string;
1544
+ destination: string;
1545
+ overwrite: boolean;
1546
+ mode?: number | undefined;
1547
+ } | {
1548
+ type: "file-backup";
1549
+ baseDir: string;
1550
+ files: string[];
1551
+ backupDirName: string;
1552
+ variable?: string | undefined;
1553
+ } | {
1554
+ type: "file-restore";
1555
+ baseDir: string;
1556
+ backupDirName: string;
1557
+ backupDir?: string | undefined;
1558
+ backupTimestamp?: string | undefined;
1559
+ files?: string[] | undefined;
1560
+ } | {
1561
+ type: "command";
1562
+ command: string;
1563
+ args: string[];
1564
+ silent: boolean;
1565
+ allowFailure: boolean;
1566
+ cwd?: string | undefined;
1567
+ env?: Record<string, string> | undefined;
1568
+ } | {
1569
+ type: "hook-install";
1570
+ target: string;
1571
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1572
+ vibesPath: string;
1573
+ global?: boolean | undefined;
1574
+ } | {
1575
+ type: "mcp-configure";
1576
+ target: string;
1577
+ serverName: string;
1578
+ command: string;
1579
+ args: string[];
1580
+ env?: Record<string, string> | undefined;
1581
+ timeout?: number | undefined;
1582
+ toolTimeout?: number | undefined;
1583
+ enabledTools?: string[] | undefined;
1584
+ disabledTools?: string[] | undefined;
1585
+ global?: boolean | undefined;
1586
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1587
+ } | {
1588
+ type: "adapter-codegen";
1589
+ adapterId: string;
1590
+ outputDir?: string | undefined;
1591
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1592
+ global?: boolean | undefined;
1593
+ } | {
1594
+ type: "operation";
1595
+ operationId: string;
1596
+ options: Record<string, unknown>;
1597
+ } | {
1598
+ type: "prompt";
1599
+ message: string;
1600
+ promptType: "input" | "select" | "confirm";
1601
+ options?: string[] | undefined;
1602
+ default?: string | undefined;
1603
+ variable?: string | undefined;
1604
+ } | {
1605
+ type: "validate";
1606
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1607
+ fatal: boolean;
1608
+ target?: string | undefined;
1609
+ message?: string | undefined;
1610
+ })[] | undefined;
1611
+ variables?: Record<string, string> | undefined;
1612
+ };
1613
+ version: string;
1614
+ kind: "external/preset";
1615
+ requires?: {
1616
+ vibesVersion?: string | undefined;
1617
+ toolVersion?: string | undefined;
1618
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
1619
+ dependencies?: string[] | undefined;
1620
+ } | undefined;
1621
+ author?: string | undefined;
1622
+ homepage?: string | undefined;
1623
+ profiles?: {
1624
+ id: string;
1625
+ presetId: string;
1626
+ aliases?: string[] | undefined;
1627
+ }[] | undefined;
1628
+ }, {
1629
+ id: string;
1630
+ name: string;
1631
+ description: string;
1632
+ target: string;
1633
+ category: "model" | "workflow" | "integration" | "alias";
1634
+ tags: string[];
1635
+ features: {
1636
+ mcpServer: boolean;
1637
+ hooks: string[];
1638
+ aliases: string[];
1639
+ modelConfig: boolean;
1640
+ workflowConfig: boolean;
1641
+ disableInternalTools: boolean;
1642
+ };
1643
+ recipe: {
1644
+ id: string;
1645
+ name: string;
1646
+ description: string;
1647
+ steps: ({
1648
+ type: "file-write";
1649
+ path: string;
1650
+ content: string;
1651
+ mode?: number | undefined;
1652
+ overwrite?: boolean | undefined;
1653
+ createDirs?: boolean | undefined;
1654
+ } | {
1655
+ type: "file-edit";
1656
+ path: string;
1657
+ format: "json" | "yaml" | "toml";
1658
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1659
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1660
+ } | {
1661
+ type: "file-copy";
1662
+ source: string;
1663
+ destination: string;
1664
+ overwrite: boolean;
1665
+ mode?: number | undefined;
1666
+ } | {
1667
+ type: "file-backup";
1668
+ baseDir: string;
1669
+ files: string[];
1670
+ backupDirName: string;
1671
+ variable?: string | undefined;
1672
+ } | {
1673
+ type: "file-restore";
1674
+ baseDir: string;
1675
+ backupDirName: string;
1676
+ backupDir?: string | undefined;
1677
+ backupTimestamp?: string | undefined;
1678
+ files?: string[] | undefined;
1679
+ } | {
1680
+ type: "command";
1681
+ command: string;
1682
+ args: string[];
1683
+ silent: boolean;
1684
+ allowFailure: boolean;
1685
+ cwd?: string | undefined;
1686
+ env?: Record<string, string> | undefined;
1687
+ } | {
1688
+ type: "hook-install";
1689
+ target: string;
1690
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1691
+ vibesPath: string;
1692
+ global?: boolean | undefined;
1693
+ } | {
1694
+ type: "mcp-configure";
1695
+ target: string;
1696
+ serverName: string;
1697
+ command: string;
1698
+ args: string[];
1699
+ env?: Record<string, string> | undefined;
1700
+ timeout?: number | undefined;
1701
+ toolTimeout?: number | undefined;
1702
+ enabledTools?: string[] | undefined;
1703
+ disabledTools?: string[] | undefined;
1704
+ global?: boolean | undefined;
1705
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1706
+ } | {
1707
+ type: "adapter-codegen";
1708
+ adapterId: string;
1709
+ outputDir?: string | undefined;
1710
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1711
+ global?: boolean | undefined;
1712
+ } | {
1713
+ type: "operation";
1714
+ operationId: string;
1715
+ options: Record<string, unknown>;
1716
+ } | {
1717
+ type: "prompt";
1718
+ message: string;
1719
+ promptType: "input" | "select" | "confirm";
1720
+ options?: string[] | undefined;
1721
+ default?: string | undefined;
1722
+ variable?: string | undefined;
1723
+ } | {
1724
+ type: "validate";
1725
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1726
+ fatal: boolean;
1727
+ target?: string | undefined;
1728
+ message?: string | undefined;
1729
+ })[];
1730
+ rollback?: ({
1731
+ type: "file-write";
1732
+ path: string;
1733
+ content: string;
1734
+ mode?: number | undefined;
1735
+ overwrite?: boolean | undefined;
1736
+ createDirs?: boolean | undefined;
1737
+ } | {
1738
+ type: "file-edit";
1739
+ path: string;
1740
+ format: "json" | "yaml" | "toml";
1741
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1742
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1743
+ } | {
1744
+ type: "file-copy";
1745
+ source: string;
1746
+ destination: string;
1747
+ overwrite: boolean;
1748
+ mode?: number | undefined;
1749
+ } | {
1750
+ type: "file-backup";
1751
+ baseDir: string;
1752
+ files: string[];
1753
+ backupDirName: string;
1754
+ variable?: string | undefined;
1755
+ } | {
1756
+ type: "file-restore";
1757
+ baseDir: string;
1758
+ backupDirName: string;
1759
+ backupDir?: string | undefined;
1760
+ backupTimestamp?: string | undefined;
1761
+ files?: string[] | undefined;
1762
+ } | {
1763
+ type: "command";
1764
+ command: string;
1765
+ args: string[];
1766
+ silent: boolean;
1767
+ allowFailure: boolean;
1768
+ cwd?: string | undefined;
1769
+ env?: Record<string, string> | undefined;
1770
+ } | {
1771
+ type: "hook-install";
1772
+ target: string;
1773
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1774
+ vibesPath: string;
1775
+ global?: boolean | undefined;
1776
+ } | {
1777
+ type: "mcp-configure";
1778
+ target: string;
1779
+ serverName: string;
1780
+ command: string;
1781
+ args: string[];
1782
+ env?: Record<string, string> | undefined;
1783
+ timeout?: number | undefined;
1784
+ toolTimeout?: number | undefined;
1785
+ enabledTools?: string[] | undefined;
1786
+ disabledTools?: string[] | undefined;
1787
+ global?: boolean | undefined;
1788
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1789
+ } | {
1790
+ type: "adapter-codegen";
1791
+ adapterId: string;
1792
+ outputDir?: string | undefined;
1793
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1794
+ global?: boolean | undefined;
1795
+ } | {
1796
+ type: "operation";
1797
+ operationId: string;
1798
+ options: Record<string, unknown>;
1799
+ } | {
1800
+ type: "prompt";
1801
+ message: string;
1802
+ promptType: "input" | "select" | "confirm";
1803
+ options?: string[] | undefined;
1804
+ default?: string | undefined;
1805
+ variable?: string | undefined;
1806
+ } | {
1807
+ type: "validate";
1808
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1809
+ fatal: boolean;
1810
+ target?: string | undefined;
1811
+ message?: string | undefined;
1812
+ })[] | undefined;
1813
+ variables?: Record<string, string> | undefined;
1814
+ };
1815
+ version: string;
1816
+ kind: "external/preset";
1817
+ requires?: {
1818
+ vibesVersion?: string | undefined;
1819
+ toolVersion?: string | undefined;
1820
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
1821
+ dependencies?: string[] | undefined;
1822
+ } | undefined;
1823
+ author?: string | undefined;
1824
+ homepage?: string | undefined;
1825
+ profiles?: {
1826
+ id: string;
1827
+ presetId: string;
1828
+ aliases?: string[] | undefined;
1829
+ }[] | undefined;
1830
+ }, {
1831
+ id: string;
1832
+ name: string;
1833
+ description: string;
1834
+ target: string;
1835
+ category: "model" | "workflow" | "integration" | "alias";
1836
+ tags: string[];
1837
+ features: {
1838
+ mcpServer: boolean;
1839
+ hooks: string[];
1840
+ aliases: string[];
1841
+ modelConfig: boolean;
1842
+ workflowConfig: boolean;
1843
+ disableInternalTools: boolean;
1844
+ };
1845
+ recipe: {
1846
+ id: string;
1847
+ name: string;
1848
+ description: string;
1849
+ steps: ({
1850
+ type: "file-write";
1851
+ path: string;
1852
+ content: string;
1853
+ mode?: number | undefined;
1854
+ overwrite?: boolean | undefined;
1855
+ createDirs?: boolean | undefined;
1856
+ } | {
1857
+ type: "file-edit";
1858
+ path: string;
1859
+ format: "json" | "yaml" | "toml";
1860
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1861
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1862
+ } | {
1863
+ type: "file-copy";
1864
+ source: string;
1865
+ destination: string;
1866
+ overwrite: boolean;
1867
+ mode?: number | undefined;
1868
+ } | {
1869
+ type: "file-backup";
1870
+ baseDir: string;
1871
+ files: string[];
1872
+ backupDirName: string;
1873
+ variable?: string | undefined;
1874
+ } | {
1875
+ type: "file-restore";
1876
+ baseDir: string;
1877
+ backupDirName: string;
1878
+ backupDir?: string | undefined;
1879
+ backupTimestamp?: string | undefined;
1880
+ files?: string[] | undefined;
1881
+ } | {
1882
+ type: "command";
1883
+ command: string;
1884
+ args: string[];
1885
+ silent: boolean;
1886
+ allowFailure: boolean;
1887
+ cwd?: string | undefined;
1888
+ env?: Record<string, string> | undefined;
1889
+ } | {
1890
+ type: "hook-install";
1891
+ target: string;
1892
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1893
+ vibesPath: string;
1894
+ global?: boolean | undefined;
1895
+ } | {
1896
+ type: "mcp-configure";
1897
+ target: string;
1898
+ serverName: string;
1899
+ command: string;
1900
+ args: string[];
1901
+ env?: Record<string, string> | undefined;
1902
+ timeout?: number | undefined;
1903
+ toolTimeout?: number | undefined;
1904
+ enabledTools?: string[] | undefined;
1905
+ disabledTools?: string[] | undefined;
1906
+ global?: boolean | undefined;
1907
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1908
+ } | {
1909
+ type: "adapter-codegen";
1910
+ adapterId: string;
1911
+ outputDir?: string | undefined;
1912
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1913
+ global?: boolean | undefined;
1914
+ } | {
1915
+ type: "operation";
1916
+ operationId: string;
1917
+ options: Record<string, unknown>;
1918
+ } | {
1919
+ type: "prompt";
1920
+ message: string;
1921
+ promptType: "input" | "select" | "confirm";
1922
+ options?: string[] | undefined;
1923
+ default?: string | undefined;
1924
+ variable?: string | undefined;
1925
+ } | {
1926
+ type: "validate";
1927
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
1928
+ fatal: boolean;
1929
+ target?: string | undefined;
1930
+ message?: string | undefined;
1931
+ })[];
1932
+ rollback?: ({
1933
+ type: "file-write";
1934
+ path: string;
1935
+ content: string;
1936
+ mode?: number | undefined;
1937
+ overwrite?: boolean | undefined;
1938
+ createDirs?: boolean | undefined;
1939
+ } | {
1940
+ type: "file-edit";
1941
+ path: string;
1942
+ format: "json" | "yaml" | "toml";
1943
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
1944
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
1945
+ } | {
1946
+ type: "file-copy";
1947
+ source: string;
1948
+ destination: string;
1949
+ overwrite: boolean;
1950
+ mode?: number | undefined;
1951
+ } | {
1952
+ type: "file-backup";
1953
+ baseDir: string;
1954
+ files: string[];
1955
+ backupDirName: string;
1956
+ variable?: string | undefined;
1957
+ } | {
1958
+ type: "file-restore";
1959
+ baseDir: string;
1960
+ backupDirName: string;
1961
+ backupDir?: string | undefined;
1962
+ backupTimestamp?: string | undefined;
1963
+ files?: string[] | undefined;
1964
+ } | {
1965
+ type: "command";
1966
+ command: string;
1967
+ args: string[];
1968
+ silent: boolean;
1969
+ allowFailure: boolean;
1970
+ cwd?: string | undefined;
1971
+ env?: Record<string, string> | undefined;
1972
+ } | {
1973
+ type: "hook-install";
1974
+ target: string;
1975
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
1976
+ vibesPath: string;
1977
+ global?: boolean | undefined;
1978
+ } | {
1979
+ type: "mcp-configure";
1980
+ target: string;
1981
+ serverName: string;
1982
+ command: string;
1983
+ args: string[];
1984
+ env?: Record<string, string> | undefined;
1985
+ timeout?: number | undefined;
1986
+ toolTimeout?: number | undefined;
1987
+ enabledTools?: string[] | undefined;
1988
+ disabledTools?: string[] | undefined;
1989
+ global?: boolean | undefined;
1990
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1991
+ } | {
1992
+ type: "adapter-codegen";
1993
+ adapterId: string;
1994
+ outputDir?: string | undefined;
1995
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
1996
+ global?: boolean | undefined;
1997
+ } | {
1998
+ type: "operation";
1999
+ operationId: string;
2000
+ options: Record<string, unknown>;
2001
+ } | {
2002
+ type: "prompt";
2003
+ message: string;
2004
+ promptType: "input" | "select" | "confirm";
2005
+ options?: string[] | undefined;
2006
+ default?: string | undefined;
2007
+ variable?: string | undefined;
2008
+ } | {
2009
+ type: "validate";
2010
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
2011
+ fatal: boolean;
2012
+ target?: string | undefined;
2013
+ message?: string | undefined;
2014
+ })[] | undefined;
2015
+ variables?: Record<string, string> | undefined;
2016
+ };
2017
+ version: string;
2018
+ kind: "external/preset";
2019
+ requires?: {
2020
+ vibesVersion?: string | undefined;
2021
+ toolVersion?: string | undefined;
2022
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
2023
+ dependencies?: string[] | undefined;
2024
+ } | undefined;
2025
+ author?: string | undefined;
2026
+ homepage?: string | undefined;
2027
+ profiles?: {
2028
+ id: string;
2029
+ presetId: string;
2030
+ aliases?: string[] | undefined;
2031
+ }[] | undefined;
2032
+ }];
2033
+ //# sourceMappingURL=codex-presets.d.ts.map