@vibesdotdev/integrations-anthropic 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 (150) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +57 -2
  3. package/dist/ai/anthropic-router-codec.d.ts +32 -0
  4. package/dist/ai/anthropic-router-codec.d.ts.map +1 -0
  5. package/dist/ai/anthropic-router-codec.js +321 -0
  6. package/dist/ai/anthropic-router-codec.js.map +1 -0
  7. package/dist/ai/anthropic.plugin.d.ts +6 -0
  8. package/dist/ai/anthropic.plugin.d.ts.map +1 -0
  9. package/dist/ai/anthropic.plugin.js +116 -0
  10. package/dist/ai/anthropic.plugin.js.map +1 -0
  11. package/dist/ai/catalog.d.ts +87 -0
  12. package/dist/ai/catalog.d.ts.map +1 -0
  13. package/dist/ai/catalog.js +64 -0
  14. package/dist/ai/catalog.js.map +1 -0
  15. package/dist/ai/claude-code-session.d.ts +56 -0
  16. package/dist/ai/claude-code-session.d.ts.map +1 -0
  17. package/dist/ai/claude-code-session.js +75 -0
  18. package/dist/ai/claude-code-session.js.map +1 -0
  19. package/dist/ai/claude-code-turn-env.d.ts +10 -0
  20. package/dist/ai/claude-code-turn-env.d.ts.map +1 -0
  21. package/dist/ai/claude-code-turn-env.js +19 -0
  22. package/dist/ai/claude-code-turn-env.js.map +1 -0
  23. package/dist/ai/hostile.d.ts +23 -0
  24. package/dist/ai/hostile.d.ts.map +1 -0
  25. package/dist/ai/hostile.js +22 -0
  26. package/dist/ai/hostile.js.map +1 -0
  27. package/dist/ai/index.d.ts +4 -0
  28. package/dist/ai/index.d.ts.map +1 -0
  29. package/dist/ai/index.js +4 -0
  30. package/dist/ai/index.js.map +1 -0
  31. package/dist/ai/metadata/assets/logos/providers/anthropic.svg +1 -0
  32. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-3-5-haiku-20241022.json +77 -0
  33. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-3-5-sonnet-20241022.json +42 -0
  34. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-4-opus-20250514.json +79 -0
  35. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-4-sonnet-20250514.json +79 -0
  36. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-haiku-4-5.json +80 -0
  37. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-haiku-5-5.json +39 -0
  38. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-1.json +78 -0
  39. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-5.json +80 -0
  40. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-6.json +80 -0
  41. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-opus-4-7.json +81 -0
  42. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-sonnet-4-5.json +80 -0
  43. package/dist/ai/metadata/provider-models/anthropic/anthropic-claude-sonnet-4-6.json +80 -0
  44. package/dist/ai/metadata/providers/anthropic.json +22 -0
  45. package/dist/ai/providers/anthropic/anthropic.provider.impl.d.ts +62 -0
  46. package/dist/ai/providers/anthropic/anthropic.provider.impl.d.ts.map +1 -0
  47. package/dist/ai/providers/anthropic/anthropic.provider.impl.js +430 -0
  48. package/dist/ai/providers/anthropic/anthropic.provider.impl.js.map +1 -0
  49. package/dist/ai/providers/anthropic/detection/index.d.ts +8 -0
  50. package/dist/ai/providers/anthropic/detection/index.d.ts.map +1 -0
  51. package/dist/ai/providers/anthropic/detection/index.js +8 -0
  52. package/dist/ai/providers/anthropic/detection/index.js.map +1 -0
  53. package/dist/ai/providers/anthropic/detection/system.d.ts +12 -0
  54. package/dist/ai/providers/anthropic/detection/system.d.ts.map +1 -0
  55. package/dist/ai/providers/anthropic/detection/system.js +34 -0
  56. package/dist/ai/providers/anthropic/detection/system.js.map +1 -0
  57. package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.d.ts +4 -0
  58. package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.d.ts.map +1 -0
  59. package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.js +212 -0
  60. package/dist/ai/providers/anthropic/docs/ai.providers.anthropic.docs.descriptor.js.map +1 -0
  61. package/dist/ai/providers/anthropic/index.d.ts +4 -0
  62. package/dist/ai/providers/anthropic/index.d.ts.map +1 -0
  63. package/dist/ai/providers/anthropic/index.js +4 -0
  64. package/dist/ai/providers/anthropic/index.js.map +1 -0
  65. package/dist/ai/providers/anthropic/recommendations.d.ts +24 -0
  66. package/dist/ai/providers/anthropic/recommendations.d.ts.map +1 -0
  67. package/dist/ai/providers/anthropic/recommendations.js +192 -0
  68. package/dist/ai/providers/anthropic/recommendations.js.map +1 -0
  69. package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.d.ts +4194 -0
  70. package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.d.ts.map +1 -0
  71. package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.js +52 -0
  72. package/dist/ai/providers/cloud/frontier/anthropic/config/config.anthropic.descriptor.js.map +1 -0
  73. package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.d.ts +46 -0
  74. package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.d.ts.map +1 -0
  75. package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.js +22 -0
  76. package/dist/ai/providers/cloud/frontier/anthropic/config/schemas/index.js.map +1 -0
  77. package/dist/ai/providers/cloud/frontier/anthropic/index.d.ts +5 -0
  78. package/dist/ai/providers/cloud/frontier/anthropic/index.d.ts.map +1 -0
  79. package/dist/ai/providers/cloud/frontier/anthropic/index.js +4 -0
  80. package/dist/ai/providers/cloud/frontier/anthropic/index.js.map +1 -0
  81. package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.d.ts +183 -0
  82. package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.d.ts.map +1 -0
  83. package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.js +115 -0
  84. package/dist/ai/providers/cloud/frontier/anthropic/provider.anthropic.descriptor.js.map +1 -0
  85. package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.d.ts +46 -0
  86. package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.d.ts.map +1 -0
  87. package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.js +183 -0
  88. package/dist/ai/specs/anthropic-messages/anthropic-messages.failures.js.map +1 -0
  89. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.d.ts +34 -0
  90. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.d.ts.map +1 -0
  91. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.js +29 -0
  92. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.descriptor.js.map +1 -0
  93. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.d.ts +48 -0
  94. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.d.ts.map +1 -0
  95. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.js +557 -0
  96. package/dist/ai/specs/anthropic-messages/anthropic-messages.spec.impl.js.map +1 -0
  97. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.d.ts +26 -0
  98. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.d.ts.map +1 -0
  99. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.js +15 -0
  100. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.descriptor.js.map +1 -0
  101. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.d.ts +35 -0
  102. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.d.ts.map +1 -0
  103. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.js +210 -0
  104. package/dist/ai/specs/claude-code-exec/claude-code-exec.spec.impl.js.map +1 -0
  105. package/dist/external/acp-server.consumer.plugin.d.ts +3 -0
  106. package/dist/external/acp-server.consumer.plugin.d.ts.map +1 -0
  107. package/dist/external/acp-server.consumer.plugin.js +29 -0
  108. package/dist/external/acp-server.consumer.plugin.js.map +1 -0
  109. package/dist/external/acp-server.d.ts +19 -0
  110. package/dist/external/acp-server.d.ts.map +1 -0
  111. package/dist/external/acp-server.js +198 -0
  112. package/dist/external/acp-server.js.map +1 -0
  113. package/dist/external/claude-code-hooks.d.ts +51 -0
  114. package/dist/external/claude-code-hooks.d.ts.map +1 -0
  115. package/dist/external/claude-code-hooks.js +252 -0
  116. package/dist/external/claude-code-hooks.js.map +1 -0
  117. package/dist/external/claude-code-installer.d.ts +10 -0
  118. package/dist/external/claude-code-installer.d.ts.map +1 -0
  119. package/dist/external/claude-code-installer.js +604 -0
  120. package/dist/external/claude-code-installer.js.map +1 -0
  121. package/dist/external/claude-code-operations.d.ts +217 -0
  122. package/dist/external/claude-code-operations.d.ts.map +1 -0
  123. package/dist/external/claude-code-operations.js +101 -0
  124. package/dist/external/claude-code-operations.js.map +1 -0
  125. package/dist/external/claude-code-plugin.json +7 -0
  126. package/dist/external/claude-code-presets.d.ts +813 -0
  127. package/dist/external/claude-code-presets.d.ts.map +1 -0
  128. package/dist/external/claude-code-presets.js +157 -0
  129. package/dist/external/claude-code-presets.js.map +1 -0
  130. package/dist/external/claude-code.descriptor.d.ts +160 -0
  131. package/dist/external/claude-code.descriptor.d.ts.map +1 -0
  132. package/dist/external/claude-code.descriptor.js +5 -0
  133. package/dist/external/claude-code.descriptor.js.map +1 -0
  134. package/dist/external/claude-code.manifest.d.ts +5 -0
  135. package/dist/external/claude-code.manifest.d.ts.map +1 -0
  136. package/dist/external/claude-code.manifest.js +205 -0
  137. package/dist/external/claude-code.manifest.js.map +1 -0
  138. package/dist/external/external.plugin.d.ts +6 -0
  139. package/dist/external/external.plugin.d.ts.map +1 -0
  140. package/dist/external/external.plugin.js +56 -0
  141. package/dist/external/external.plugin.js.map +1 -0
  142. package/dist/external/index.d.ts +6 -0
  143. package/dist/external/index.d.ts.map +1 -0
  144. package/dist/external/index.js +6 -0
  145. package/dist/external/index.js.map +1 -0
  146. package/dist/index.d.ts +4 -0
  147. package/dist/index.d.ts.map +1 -0
  148. package/dist/index.js +4 -0
  149. package/dist/index.js.map +1 -0
  150. package/package.json +108 -4
@@ -0,0 +1,813 @@
1
+ export declare const claudeCodeFullPresetDescriptor: {
2
+ id: string;
3
+ name: string;
4
+ description: string;
5
+ target: string;
6
+ category: "model" | "workflow" | "integration" | "alias";
7
+ tags: string[];
8
+ features: {
9
+ mcpServer: boolean;
10
+ hooks: string[];
11
+ aliases: string[];
12
+ modelConfig: boolean;
13
+ workflowConfig: boolean;
14
+ disableInternalTools: boolean;
15
+ };
16
+ recipe: {
17
+ id: string;
18
+ name: string;
19
+ description: string;
20
+ steps: ({
21
+ type: "file-write";
22
+ path: string;
23
+ content: string;
24
+ mode?: number | undefined;
25
+ overwrite?: boolean | undefined;
26
+ createDirs?: boolean | undefined;
27
+ } | {
28
+ type: "file-edit";
29
+ path: string;
30
+ format: "json" | "yaml" | "toml";
31
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
32
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
33
+ } | {
34
+ type: "file-copy";
35
+ source: string;
36
+ destination: string;
37
+ overwrite: boolean;
38
+ mode?: number | undefined;
39
+ } | {
40
+ type: "file-backup";
41
+ baseDir: string;
42
+ files: string[];
43
+ backupDirName: string;
44
+ variable?: string | undefined;
45
+ } | {
46
+ type: "file-restore";
47
+ baseDir: string;
48
+ backupDirName: string;
49
+ backupDir?: string | undefined;
50
+ backupTimestamp?: string | undefined;
51
+ files?: string[] | undefined;
52
+ } | {
53
+ type: "command";
54
+ command: string;
55
+ args: string[];
56
+ silent: boolean;
57
+ allowFailure: boolean;
58
+ cwd?: string | undefined;
59
+ env?: Record<string, string> | undefined;
60
+ } | {
61
+ type: "hook-install";
62
+ target: string;
63
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
64
+ vibesPath: string;
65
+ global?: boolean | undefined;
66
+ } | {
67
+ type: "mcp-configure";
68
+ target: string;
69
+ serverName: string;
70
+ command: string;
71
+ args: string[];
72
+ env?: Record<string, string> | undefined;
73
+ timeout?: number | undefined;
74
+ toolTimeout?: number | undefined;
75
+ enabledTools?: string[] | undefined;
76
+ disabledTools?: string[] | undefined;
77
+ global?: boolean | undefined;
78
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
79
+ } | {
80
+ type: "adapter-codegen";
81
+ adapterId: string;
82
+ outputDir?: string | undefined;
83
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
84
+ global?: boolean | undefined;
85
+ } | {
86
+ type: "operation";
87
+ operationId: string;
88
+ options: Record<string, unknown>;
89
+ } | {
90
+ type: "prompt";
91
+ message: string;
92
+ promptType: "input" | "select" | "confirm";
93
+ options?: string[] | undefined;
94
+ default?: string | undefined;
95
+ variable?: string | undefined;
96
+ } | {
97
+ type: "validate";
98
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
99
+ fatal: boolean;
100
+ target?: string | undefined;
101
+ message?: string | undefined;
102
+ })[];
103
+ rollback?: ({
104
+ type: "file-write";
105
+ path: string;
106
+ content: string;
107
+ mode?: number | undefined;
108
+ overwrite?: boolean | undefined;
109
+ createDirs?: boolean | undefined;
110
+ } | {
111
+ type: "file-edit";
112
+ path: string;
113
+ format: "json" | "yaml" | "toml";
114
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
115
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
116
+ } | {
117
+ type: "file-copy";
118
+ source: string;
119
+ destination: string;
120
+ overwrite: boolean;
121
+ mode?: number | undefined;
122
+ } | {
123
+ type: "file-backup";
124
+ baseDir: string;
125
+ files: string[];
126
+ backupDirName: string;
127
+ variable?: string | undefined;
128
+ } | {
129
+ type: "file-restore";
130
+ baseDir: string;
131
+ backupDirName: string;
132
+ backupDir?: string | undefined;
133
+ backupTimestamp?: string | undefined;
134
+ files?: string[] | undefined;
135
+ } | {
136
+ type: "command";
137
+ command: string;
138
+ args: string[];
139
+ silent: boolean;
140
+ allowFailure: boolean;
141
+ cwd?: string | undefined;
142
+ env?: Record<string, string> | undefined;
143
+ } | {
144
+ type: "hook-install";
145
+ target: string;
146
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
147
+ vibesPath: string;
148
+ global?: boolean | undefined;
149
+ } | {
150
+ type: "mcp-configure";
151
+ target: string;
152
+ serverName: string;
153
+ command: string;
154
+ args: string[];
155
+ env?: Record<string, string> | undefined;
156
+ timeout?: number | undefined;
157
+ toolTimeout?: number | undefined;
158
+ enabledTools?: string[] | undefined;
159
+ disabledTools?: string[] | undefined;
160
+ global?: boolean | undefined;
161
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
162
+ } | {
163
+ type: "adapter-codegen";
164
+ adapterId: string;
165
+ outputDir?: string | undefined;
166
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
167
+ global?: boolean | undefined;
168
+ } | {
169
+ type: "operation";
170
+ operationId: string;
171
+ options: Record<string, unknown>;
172
+ } | {
173
+ type: "prompt";
174
+ message: string;
175
+ promptType: "input" | "select" | "confirm";
176
+ options?: string[] | undefined;
177
+ default?: string | undefined;
178
+ variable?: string | undefined;
179
+ } | {
180
+ type: "validate";
181
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
182
+ fatal: boolean;
183
+ target?: string | undefined;
184
+ message?: string | undefined;
185
+ })[] | undefined;
186
+ variables?: Record<string, string> | undefined;
187
+ };
188
+ version: string;
189
+ kind: "external/preset";
190
+ requires?: {
191
+ vibesVersion?: string | undefined;
192
+ toolVersion?: string | undefined;
193
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
194
+ dependencies?: string[] | undefined;
195
+ } | undefined;
196
+ author?: string | undefined;
197
+ homepage?: string | undefined;
198
+ profiles?: {
199
+ id: string;
200
+ presetId: string;
201
+ aliases?: string[] | undefined;
202
+ }[] | undefined;
203
+ };
204
+ export declare const claudeCodeMcpPresetDescriptor: {
205
+ id: string;
206
+ name: string;
207
+ description: string;
208
+ target: string;
209
+ category: "model" | "workflow" | "integration" | "alias";
210
+ tags: string[];
211
+ features: {
212
+ mcpServer: boolean;
213
+ hooks: string[];
214
+ aliases: string[];
215
+ modelConfig: boolean;
216
+ workflowConfig: boolean;
217
+ disableInternalTools: boolean;
218
+ };
219
+ recipe: {
220
+ id: string;
221
+ name: string;
222
+ description: string;
223
+ steps: ({
224
+ type: "file-write";
225
+ path: string;
226
+ content: string;
227
+ mode?: number | undefined;
228
+ overwrite?: boolean | undefined;
229
+ createDirs?: boolean | undefined;
230
+ } | {
231
+ type: "file-edit";
232
+ path: string;
233
+ format: "json" | "yaml" | "toml";
234
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
235
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
236
+ } | {
237
+ type: "file-copy";
238
+ source: string;
239
+ destination: string;
240
+ overwrite: boolean;
241
+ mode?: number | undefined;
242
+ } | {
243
+ type: "file-backup";
244
+ baseDir: string;
245
+ files: string[];
246
+ backupDirName: string;
247
+ variable?: string | undefined;
248
+ } | {
249
+ type: "file-restore";
250
+ baseDir: string;
251
+ backupDirName: string;
252
+ backupDir?: string | undefined;
253
+ backupTimestamp?: string | undefined;
254
+ files?: string[] | undefined;
255
+ } | {
256
+ type: "command";
257
+ command: string;
258
+ args: string[];
259
+ silent: boolean;
260
+ allowFailure: boolean;
261
+ cwd?: string | undefined;
262
+ env?: Record<string, string> | undefined;
263
+ } | {
264
+ type: "hook-install";
265
+ target: string;
266
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
267
+ vibesPath: string;
268
+ global?: boolean | undefined;
269
+ } | {
270
+ type: "mcp-configure";
271
+ target: string;
272
+ serverName: string;
273
+ command: string;
274
+ args: string[];
275
+ env?: Record<string, string> | undefined;
276
+ timeout?: number | undefined;
277
+ toolTimeout?: number | undefined;
278
+ enabledTools?: string[] | undefined;
279
+ disabledTools?: string[] | undefined;
280
+ global?: boolean | undefined;
281
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
282
+ } | {
283
+ type: "adapter-codegen";
284
+ adapterId: string;
285
+ outputDir?: string | undefined;
286
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
287
+ global?: boolean | undefined;
288
+ } | {
289
+ type: "operation";
290
+ operationId: string;
291
+ options: Record<string, unknown>;
292
+ } | {
293
+ type: "prompt";
294
+ message: string;
295
+ promptType: "input" | "select" | "confirm";
296
+ options?: string[] | undefined;
297
+ default?: string | undefined;
298
+ variable?: string | undefined;
299
+ } | {
300
+ type: "validate";
301
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
302
+ fatal: boolean;
303
+ target?: string | undefined;
304
+ message?: string | undefined;
305
+ })[];
306
+ rollback?: ({
307
+ type: "file-write";
308
+ path: string;
309
+ content: string;
310
+ mode?: number | undefined;
311
+ overwrite?: boolean | undefined;
312
+ createDirs?: boolean | undefined;
313
+ } | {
314
+ type: "file-edit";
315
+ path: string;
316
+ format: "json" | "yaml" | "toml";
317
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
318
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
319
+ } | {
320
+ type: "file-copy";
321
+ source: string;
322
+ destination: string;
323
+ overwrite: boolean;
324
+ mode?: number | undefined;
325
+ } | {
326
+ type: "file-backup";
327
+ baseDir: string;
328
+ files: string[];
329
+ backupDirName: string;
330
+ variable?: string | undefined;
331
+ } | {
332
+ type: "file-restore";
333
+ baseDir: string;
334
+ backupDirName: string;
335
+ backupDir?: string | undefined;
336
+ backupTimestamp?: string | undefined;
337
+ files?: string[] | undefined;
338
+ } | {
339
+ type: "command";
340
+ command: string;
341
+ args: string[];
342
+ silent: boolean;
343
+ allowFailure: boolean;
344
+ cwd?: string | undefined;
345
+ env?: Record<string, string> | undefined;
346
+ } | {
347
+ type: "hook-install";
348
+ target: string;
349
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
350
+ vibesPath: string;
351
+ global?: boolean | undefined;
352
+ } | {
353
+ type: "mcp-configure";
354
+ target: string;
355
+ serverName: string;
356
+ command: string;
357
+ args: string[];
358
+ env?: Record<string, string> | undefined;
359
+ timeout?: number | undefined;
360
+ toolTimeout?: number | undefined;
361
+ enabledTools?: string[] | undefined;
362
+ disabledTools?: string[] | undefined;
363
+ global?: boolean | undefined;
364
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
365
+ } | {
366
+ type: "adapter-codegen";
367
+ adapterId: string;
368
+ outputDir?: string | undefined;
369
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
370
+ global?: boolean | undefined;
371
+ } | {
372
+ type: "operation";
373
+ operationId: string;
374
+ options: Record<string, unknown>;
375
+ } | {
376
+ type: "prompt";
377
+ message: string;
378
+ promptType: "input" | "select" | "confirm";
379
+ options?: string[] | undefined;
380
+ default?: string | undefined;
381
+ variable?: string | undefined;
382
+ } | {
383
+ type: "validate";
384
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
385
+ fatal: boolean;
386
+ target?: string | undefined;
387
+ message?: string | undefined;
388
+ })[] | undefined;
389
+ variables?: Record<string, string> | undefined;
390
+ };
391
+ version: string;
392
+ kind: "external/preset";
393
+ requires?: {
394
+ vibesVersion?: string | undefined;
395
+ toolVersion?: string | undefined;
396
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
397
+ dependencies?: string[] | undefined;
398
+ } | undefined;
399
+ author?: string | undefined;
400
+ homepage?: string | undefined;
401
+ profiles?: {
402
+ id: string;
403
+ presetId: string;
404
+ aliases?: string[] | undefined;
405
+ }[] | undefined;
406
+ };
407
+ export declare const claudeCodeOnlyPresetDescriptor: {
408
+ id: string;
409
+ name: string;
410
+ description: string;
411
+ target: string;
412
+ category: "model" | "workflow" | "integration" | "alias";
413
+ tags: string[];
414
+ features: {
415
+ mcpServer: boolean;
416
+ hooks: string[];
417
+ aliases: string[];
418
+ modelConfig: boolean;
419
+ workflowConfig: boolean;
420
+ disableInternalTools: boolean;
421
+ };
422
+ recipe: {
423
+ id: string;
424
+ name: string;
425
+ description: string;
426
+ steps: ({
427
+ type: "file-write";
428
+ path: string;
429
+ content: string;
430
+ mode?: number | undefined;
431
+ overwrite?: boolean | undefined;
432
+ createDirs?: boolean | undefined;
433
+ } | {
434
+ type: "file-edit";
435
+ path: string;
436
+ format: "json" | "yaml" | "toml";
437
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
438
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
439
+ } | {
440
+ type: "file-copy";
441
+ source: string;
442
+ destination: string;
443
+ overwrite: boolean;
444
+ mode?: number | undefined;
445
+ } | {
446
+ type: "file-backup";
447
+ baseDir: string;
448
+ files: string[];
449
+ backupDirName: string;
450
+ variable?: string | undefined;
451
+ } | {
452
+ type: "file-restore";
453
+ baseDir: string;
454
+ backupDirName: string;
455
+ backupDir?: string | undefined;
456
+ backupTimestamp?: string | undefined;
457
+ files?: string[] | undefined;
458
+ } | {
459
+ type: "command";
460
+ command: string;
461
+ args: string[];
462
+ silent: boolean;
463
+ allowFailure: boolean;
464
+ cwd?: string | undefined;
465
+ env?: Record<string, string> | undefined;
466
+ } | {
467
+ type: "hook-install";
468
+ target: string;
469
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
470
+ vibesPath: string;
471
+ global?: boolean | undefined;
472
+ } | {
473
+ type: "mcp-configure";
474
+ target: string;
475
+ serverName: string;
476
+ command: string;
477
+ args: string[];
478
+ env?: Record<string, string> | undefined;
479
+ timeout?: number | undefined;
480
+ toolTimeout?: number | undefined;
481
+ enabledTools?: string[] | undefined;
482
+ disabledTools?: string[] | undefined;
483
+ global?: boolean | undefined;
484
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
485
+ } | {
486
+ type: "adapter-codegen";
487
+ adapterId: string;
488
+ outputDir?: string | undefined;
489
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
490
+ global?: boolean | undefined;
491
+ } | {
492
+ type: "operation";
493
+ operationId: string;
494
+ options: Record<string, unknown>;
495
+ } | {
496
+ type: "prompt";
497
+ message: string;
498
+ promptType: "input" | "select" | "confirm";
499
+ options?: string[] | undefined;
500
+ default?: string | undefined;
501
+ variable?: string | undefined;
502
+ } | {
503
+ type: "validate";
504
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
505
+ fatal: boolean;
506
+ target?: string | undefined;
507
+ message?: string | undefined;
508
+ })[];
509
+ rollback?: ({
510
+ type: "file-write";
511
+ path: string;
512
+ content: string;
513
+ mode?: number | undefined;
514
+ overwrite?: boolean | undefined;
515
+ createDirs?: boolean | undefined;
516
+ } | {
517
+ type: "file-edit";
518
+ path: string;
519
+ format: "json" | "yaml" | "toml";
520
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
521
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
522
+ } | {
523
+ type: "file-copy";
524
+ source: string;
525
+ destination: string;
526
+ overwrite: boolean;
527
+ mode?: number | undefined;
528
+ } | {
529
+ type: "file-backup";
530
+ baseDir: string;
531
+ files: string[];
532
+ backupDirName: string;
533
+ variable?: string | undefined;
534
+ } | {
535
+ type: "file-restore";
536
+ baseDir: string;
537
+ backupDirName: string;
538
+ backupDir?: string | undefined;
539
+ backupTimestamp?: string | undefined;
540
+ files?: string[] | undefined;
541
+ } | {
542
+ type: "command";
543
+ command: string;
544
+ args: string[];
545
+ silent: boolean;
546
+ allowFailure: boolean;
547
+ cwd?: string | undefined;
548
+ env?: Record<string, string> | undefined;
549
+ } | {
550
+ type: "hook-install";
551
+ target: string;
552
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
553
+ vibesPath: string;
554
+ global?: boolean | undefined;
555
+ } | {
556
+ type: "mcp-configure";
557
+ target: string;
558
+ serverName: string;
559
+ command: string;
560
+ args: string[];
561
+ env?: Record<string, string> | undefined;
562
+ timeout?: number | undefined;
563
+ toolTimeout?: number | undefined;
564
+ enabledTools?: string[] | undefined;
565
+ disabledTools?: string[] | undefined;
566
+ global?: boolean | undefined;
567
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
568
+ } | {
569
+ type: "adapter-codegen";
570
+ adapterId: string;
571
+ outputDir?: string | undefined;
572
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
573
+ global?: boolean | undefined;
574
+ } | {
575
+ type: "operation";
576
+ operationId: string;
577
+ options: Record<string, unknown>;
578
+ } | {
579
+ type: "prompt";
580
+ message: string;
581
+ promptType: "input" | "select" | "confirm";
582
+ options?: string[] | undefined;
583
+ default?: string | undefined;
584
+ variable?: string | undefined;
585
+ } | {
586
+ type: "validate";
587
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
588
+ fatal: boolean;
589
+ target?: string | undefined;
590
+ message?: string | undefined;
591
+ })[] | undefined;
592
+ variables?: Record<string, string> | undefined;
593
+ };
594
+ version: string;
595
+ kind: "external/preset";
596
+ requires?: {
597
+ vibesVersion?: string | undefined;
598
+ toolVersion?: string | undefined;
599
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
600
+ dependencies?: string[] | undefined;
601
+ } | undefined;
602
+ author?: string | undefined;
603
+ homepage?: string | undefined;
604
+ profiles?: {
605
+ id: string;
606
+ presetId: string;
607
+ aliases?: string[] | undefined;
608
+ }[] | undefined;
609
+ };
610
+ export declare const claudeCodeSessionPresetDescriptor: {
611
+ id: string;
612
+ name: string;
613
+ description: string;
614
+ target: string;
615
+ category: "model" | "workflow" | "integration" | "alias";
616
+ tags: string[];
617
+ features: {
618
+ mcpServer: boolean;
619
+ hooks: string[];
620
+ aliases: string[];
621
+ modelConfig: boolean;
622
+ workflowConfig: boolean;
623
+ disableInternalTools: boolean;
624
+ };
625
+ recipe: {
626
+ id: string;
627
+ name: string;
628
+ description: string;
629
+ steps: ({
630
+ type: "file-write";
631
+ path: string;
632
+ content: string;
633
+ mode?: number | undefined;
634
+ overwrite?: boolean | undefined;
635
+ createDirs?: boolean | undefined;
636
+ } | {
637
+ type: "file-edit";
638
+ path: string;
639
+ format: "json" | "yaml" | "toml";
640
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
641
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
642
+ } | {
643
+ type: "file-copy";
644
+ source: string;
645
+ destination: string;
646
+ overwrite: boolean;
647
+ mode?: number | undefined;
648
+ } | {
649
+ type: "file-backup";
650
+ baseDir: string;
651
+ files: string[];
652
+ backupDirName: string;
653
+ variable?: string | undefined;
654
+ } | {
655
+ type: "file-restore";
656
+ baseDir: string;
657
+ backupDirName: string;
658
+ backupDir?: string | undefined;
659
+ backupTimestamp?: string | undefined;
660
+ files?: string[] | undefined;
661
+ } | {
662
+ type: "command";
663
+ command: string;
664
+ args: string[];
665
+ silent: boolean;
666
+ allowFailure: boolean;
667
+ cwd?: string | undefined;
668
+ env?: Record<string, string> | undefined;
669
+ } | {
670
+ type: "hook-install";
671
+ target: string;
672
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
673
+ vibesPath: string;
674
+ global?: boolean | undefined;
675
+ } | {
676
+ type: "mcp-configure";
677
+ target: string;
678
+ serverName: string;
679
+ command: string;
680
+ args: string[];
681
+ env?: Record<string, string> | undefined;
682
+ timeout?: number | undefined;
683
+ toolTimeout?: number | undefined;
684
+ enabledTools?: string[] | undefined;
685
+ disabledTools?: string[] | undefined;
686
+ global?: boolean | undefined;
687
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
688
+ } | {
689
+ type: "adapter-codegen";
690
+ adapterId: string;
691
+ outputDir?: string | undefined;
692
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
693
+ global?: boolean | undefined;
694
+ } | {
695
+ type: "operation";
696
+ operationId: string;
697
+ options: Record<string, unknown>;
698
+ } | {
699
+ type: "prompt";
700
+ message: string;
701
+ promptType: "input" | "select" | "confirm";
702
+ options?: string[] | undefined;
703
+ default?: string | undefined;
704
+ variable?: string | undefined;
705
+ } | {
706
+ type: "validate";
707
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
708
+ fatal: boolean;
709
+ target?: string | undefined;
710
+ message?: string | undefined;
711
+ })[];
712
+ rollback?: ({
713
+ type: "file-write";
714
+ path: string;
715
+ content: string;
716
+ mode?: number | undefined;
717
+ overwrite?: boolean | undefined;
718
+ createDirs?: boolean | undefined;
719
+ } | {
720
+ type: "file-edit";
721
+ path: string;
722
+ format: "json" | "yaml" | "toml";
723
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
724
+ arrayStrategy?: "replace" | "merge" | "append" | undefined;
725
+ } | {
726
+ type: "file-copy";
727
+ source: string;
728
+ destination: string;
729
+ overwrite: boolean;
730
+ mode?: number | undefined;
731
+ } | {
732
+ type: "file-backup";
733
+ baseDir: string;
734
+ files: string[];
735
+ backupDirName: string;
736
+ variable?: string | undefined;
737
+ } | {
738
+ type: "file-restore";
739
+ baseDir: string;
740
+ backupDirName: string;
741
+ backupDir?: string | undefined;
742
+ backupTimestamp?: string | undefined;
743
+ files?: string[] | undefined;
744
+ } | {
745
+ type: "command";
746
+ command: string;
747
+ args: string[];
748
+ silent: boolean;
749
+ allowFailure: boolean;
750
+ cwd?: string | undefined;
751
+ env?: Record<string, string> | undefined;
752
+ } | {
753
+ type: "hook-install";
754
+ target: string;
755
+ hooks: ("context.beforeCompact" | "tool.before" | "prompt.submit" | "agent.stop" | "subagent.stop" | "tool.after" | "session.start" | "session.end" | "context.afterCompact" | "permission.request" | "notification")[];
756
+ vibesPath: string;
757
+ global?: boolean | undefined;
758
+ } | {
759
+ type: "mcp-configure";
760
+ target: string;
761
+ serverName: string;
762
+ command: string;
763
+ args: string[];
764
+ env?: Record<string, string> | undefined;
765
+ timeout?: number | undefined;
766
+ toolTimeout?: number | undefined;
767
+ enabledTools?: string[] | undefined;
768
+ disabledTools?: string[] | undefined;
769
+ global?: boolean | undefined;
770
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
771
+ } | {
772
+ type: "adapter-codegen";
773
+ adapterId: string;
774
+ outputDir?: string | undefined;
775
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
776
+ global?: boolean | undefined;
777
+ } | {
778
+ type: "operation";
779
+ operationId: string;
780
+ options: Record<string, unknown>;
781
+ } | {
782
+ type: "prompt";
783
+ message: string;
784
+ promptType: "input" | "select" | "confirm";
785
+ options?: string[] | undefined;
786
+ default?: string | undefined;
787
+ variable?: string | undefined;
788
+ } | {
789
+ type: "validate";
790
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
791
+ fatal: boolean;
792
+ target?: string | undefined;
793
+ message?: string | undefined;
794
+ })[] | undefined;
795
+ variables?: Record<string, string> | undefined;
796
+ };
797
+ version: string;
798
+ kind: "external/preset";
799
+ requires?: {
800
+ vibesVersion?: string | undefined;
801
+ toolVersion?: string | undefined;
802
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
803
+ dependencies?: string[] | undefined;
804
+ } | undefined;
805
+ author?: string | undefined;
806
+ homepage?: string | undefined;
807
+ profiles?: {
808
+ id: string;
809
+ presetId: string;
810
+ aliases?: string[] | undefined;
811
+ }[] | undefined;
812
+ };
813
+ //# sourceMappingURL=claude-code-presets.d.ts.map