@vibesdotdev/integrations-cursor 0.0.0-stage → 1.0.0-rc.1

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 (63) hide show
  1. package/LICENSE +126 -0
  2. package/README.md +19 -2
  3. package/dist/adapters/cursor-adapter.descriptor.d.ts +4 -0
  4. package/dist/adapters/cursor-adapter.descriptor.d.ts.map +1 -0
  5. package/dist/adapters/cursor-adapter.descriptor.js +12 -0
  6. package/dist/adapters/cursor-adapter.descriptor.js.map +1 -0
  7. package/dist/adapters/cursor-adapter.impl.consumer.d.ts +16 -0
  8. package/dist/adapters/cursor-adapter.impl.consumer.d.ts.map +1 -0
  9. package/dist/adapters/cursor-adapter.impl.consumer.js +66 -0
  10. package/dist/adapters/cursor-adapter.impl.consumer.js.map +1 -0
  11. package/dist/adapters/cursor-adapter.plugin.d.ts +2 -0
  12. package/dist/adapters/cursor-adapter.plugin.d.ts.map +1 -0
  13. package/dist/adapters/cursor-adapter.plugin.js +2 -0
  14. package/dist/adapters/cursor-adapter.plugin.js.map +1 -0
  15. package/dist/adapters/cursor.consumer.plugin.d.ts +3 -0
  16. package/dist/adapters/cursor.consumer.plugin.d.ts.map +1 -0
  17. package/dist/adapters/cursor.consumer.plugin.js +19 -0
  18. package/dist/adapters/cursor.consumer.plugin.js.map +1 -0
  19. package/dist/adapters/index.d.ts +7 -0
  20. package/dist/adapters/index.d.ts.map +1 -0
  21. package/dist/adapters/index.js +14 -0
  22. package/dist/adapters/index.js.map +1 -0
  23. package/dist/external/cursor/index.d.ts +162 -0
  24. package/dist/external/cursor/index.d.ts.map +1 -0
  25. package/dist/external/cursor/index.js +5 -0
  26. package/dist/external/cursor/index.js.map +1 -0
  27. package/dist/external/cursor/manifest.d.ts +9 -0
  28. package/dist/external/cursor/manifest.d.ts.map +1 -0
  29. package/dist/external/cursor/manifest.js +83 -0
  30. package/dist/external/cursor/manifest.js.map +1 -0
  31. package/dist/external/cursor-presets.d.ts +818 -0
  32. package/dist/external/cursor-presets.d.ts.map +1 -0
  33. package/dist/external/cursor-presets.js +113 -0
  34. package/dist/external/cursor-presets.js.map +1 -0
  35. package/dist/external/external.consumer.plugin.d.ts +3 -0
  36. package/dist/external/external.consumer.plugin.d.ts.map +1 -0
  37. package/dist/external/external.consumer.plugin.js +20 -0
  38. package/dist/external/external.consumer.plugin.js.map +1 -0
  39. package/dist/external/external.plugin.d.ts +2 -0
  40. package/dist/external/external.plugin.d.ts.map +1 -0
  41. package/dist/external/external.plugin.js +2 -0
  42. package/dist/external/external.plugin.js.map +1 -0
  43. package/dist/external/index.d.ts +3 -0
  44. package/dist/external/index.d.ts.map +1 -0
  45. package/dist/external/index.js +3 -0
  46. package/dist/external/index.js.map +1 -0
  47. package/dist/external/metadata.plugin.d.ts +3 -0
  48. package/dist/external/metadata.plugin.d.ts.map +1 -0
  49. package/dist/external/metadata.plugin.js +11 -0
  50. package/dist/external/metadata.plugin.js.map +1 -0
  51. package/dist/index.d.ts +5 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/index.js +4 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/schemas/adapter.d.ts +32 -0
  56. package/dist/schemas/adapter.d.ts.map +1 -0
  57. package/dist/schemas/adapter.js +27 -0
  58. package/dist/schemas/adapter.js.map +1 -0
  59. package/dist/schemas/mcp.d.ts +12 -0
  60. package/dist/schemas/mcp.d.ts.map +1 -0
  61. package/dist/schemas/mcp.js +11 -0
  62. package/dist/schemas/mcp.js.map +1 -0
  63. package/package.json +86 -4
@@ -0,0 +1,818 @@
1
+ /**
2
+ * Cursor-owned `external/preset` descriptors.
3
+ *
4
+ * Profiles: `mcp` (agent-pack minimal MCP) and `plugin` (MCP plus the
5
+ * `tool-adapter.cursor` rules/skills codegen this package registers).
6
+ */
7
+ export declare const cursorPluginPresetDescriptor: {
8
+ id: string;
9
+ name: string;
10
+ description: string;
11
+ target: string;
12
+ category: "integration" | "workflow" | "model" | "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?: "merge" | "replace" | "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?: "merge" | "replace" | "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 cursorMcpMinimalPresetDescriptor: {
211
+ id: string;
212
+ name: string;
213
+ description: string;
214
+ target: string;
215
+ category: "integration" | "workflow" | "model" | "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?: "merge" | "replace" | "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?: "merge" | "replace" | "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 cursorPresetDescriptors: readonly [{
414
+ id: string;
415
+ name: string;
416
+ description: string;
417
+ target: string;
418
+ category: "integration" | "workflow" | "model" | "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?: "merge" | "replace" | "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?: "merge" | "replace" | "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
+ id: string;
617
+ name: string;
618
+ description: string;
619
+ target: string;
620
+ category: "integration" | "workflow" | "model" | "alias";
621
+ tags: string[];
622
+ features: {
623
+ mcpServer: boolean;
624
+ hooks: string[];
625
+ aliases: string[];
626
+ modelConfig: boolean;
627
+ workflowConfig: boolean;
628
+ disableInternalTools: boolean;
629
+ };
630
+ recipe: {
631
+ id: string;
632
+ name: string;
633
+ description: string;
634
+ steps: ({
635
+ type: "file-write";
636
+ path: string;
637
+ content: string;
638
+ mode?: number | undefined;
639
+ overwrite?: boolean | undefined;
640
+ createDirs?: boolean | undefined;
641
+ } | {
642
+ type: "file-edit";
643
+ path: string;
644
+ format: "json" | "yaml" | "toml";
645
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
646
+ arrayStrategy?: "merge" | "replace" | "append" | undefined;
647
+ } | {
648
+ type: "file-copy";
649
+ source: string;
650
+ destination: string;
651
+ overwrite: boolean;
652
+ mode?: number | undefined;
653
+ } | {
654
+ type: "file-backup";
655
+ baseDir: string;
656
+ files: string[];
657
+ backupDirName: string;
658
+ variable?: string | undefined;
659
+ } | {
660
+ type: "file-restore";
661
+ baseDir: string;
662
+ backupDirName: string;
663
+ backupDir?: string | undefined;
664
+ backupTimestamp?: string | undefined;
665
+ files?: string[] | undefined;
666
+ } | {
667
+ type: "command";
668
+ command: string;
669
+ args: string[];
670
+ silent: boolean;
671
+ allowFailure: boolean;
672
+ cwd?: string | undefined;
673
+ env?: Record<string, string> | undefined;
674
+ } | {
675
+ type: "hook-install";
676
+ target: string;
677
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
678
+ vibesPath: string;
679
+ global?: boolean | undefined;
680
+ } | {
681
+ type: "mcp-configure";
682
+ target: string;
683
+ serverName: string;
684
+ command: string;
685
+ args: string[];
686
+ env?: Record<string, string> | undefined;
687
+ timeout?: number | undefined;
688
+ toolTimeout?: number | undefined;
689
+ enabledTools?: string[] | undefined;
690
+ disabledTools?: string[] | undefined;
691
+ global?: boolean | undefined;
692
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
693
+ } | {
694
+ type: "adapter-codegen";
695
+ adapterId: string;
696
+ outputDir?: string | undefined;
697
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
698
+ global?: boolean | undefined;
699
+ } | {
700
+ type: "operation";
701
+ operationId: string;
702
+ options: Record<string, unknown>;
703
+ } | {
704
+ type: "prompt";
705
+ message: string;
706
+ promptType: "input" | "select" | "confirm";
707
+ options?: string[] | undefined;
708
+ default?: string | undefined;
709
+ variable?: string | undefined;
710
+ } | {
711
+ type: "validate";
712
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
713
+ fatal: boolean;
714
+ target?: string | undefined;
715
+ message?: string | undefined;
716
+ })[];
717
+ rollback?: ({
718
+ type: "file-write";
719
+ path: string;
720
+ content: string;
721
+ mode?: number | undefined;
722
+ overwrite?: boolean | undefined;
723
+ createDirs?: boolean | undefined;
724
+ } | {
725
+ type: "file-edit";
726
+ path: string;
727
+ format: "json" | "yaml" | "toml";
728
+ merge: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>;
729
+ arrayStrategy?: "merge" | "replace" | "append" | undefined;
730
+ } | {
731
+ type: "file-copy";
732
+ source: string;
733
+ destination: string;
734
+ overwrite: boolean;
735
+ mode?: number | undefined;
736
+ } | {
737
+ type: "file-backup";
738
+ baseDir: string;
739
+ files: string[];
740
+ backupDirName: string;
741
+ variable?: string | undefined;
742
+ } | {
743
+ type: "file-restore";
744
+ baseDir: string;
745
+ backupDirName: string;
746
+ backupDir?: string | undefined;
747
+ backupTimestamp?: string | undefined;
748
+ files?: string[] | undefined;
749
+ } | {
750
+ type: "command";
751
+ command: string;
752
+ args: string[];
753
+ silent: boolean;
754
+ allowFailure: boolean;
755
+ cwd?: string | undefined;
756
+ env?: Record<string, string> | undefined;
757
+ } | {
758
+ type: "hook-install";
759
+ target: string;
760
+ hooks: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
761
+ vibesPath: string;
762
+ global?: boolean | undefined;
763
+ } | {
764
+ type: "mcp-configure";
765
+ target: string;
766
+ serverName: string;
767
+ command: string;
768
+ args: string[];
769
+ env?: Record<string, string> | undefined;
770
+ timeout?: number | undefined;
771
+ toolTimeout?: number | undefined;
772
+ enabledTools?: string[] | undefined;
773
+ disabledTools?: string[] | undefined;
774
+ global?: boolean | undefined;
775
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
776
+ } | {
777
+ type: "adapter-codegen";
778
+ adapterId: string;
779
+ outputDir?: string | undefined;
780
+ tier?: "default" | "recommended" | "full" | "minimal" | undefined;
781
+ global?: boolean | undefined;
782
+ } | {
783
+ type: "operation";
784
+ operationId: string;
785
+ options: Record<string, unknown>;
786
+ } | {
787
+ type: "prompt";
788
+ message: string;
789
+ promptType: "input" | "select" | "confirm";
790
+ options?: string[] | undefined;
791
+ default?: string | undefined;
792
+ variable?: string | undefined;
793
+ } | {
794
+ type: "validate";
795
+ check: "tool-installed" | "vibes-authenticated" | "session-active" | "file-exists" | "command-available";
796
+ fatal: boolean;
797
+ target?: string | undefined;
798
+ message?: string | undefined;
799
+ })[] | undefined;
800
+ variables?: Record<string, string> | undefined;
801
+ };
802
+ version: string;
803
+ kind: "external/preset";
804
+ requires?: {
805
+ vibesVersion?: string | undefined;
806
+ toolVersion?: string | undefined;
807
+ platform?: ("win32" | "darwin" | "linux")[] | undefined;
808
+ dependencies?: string[] | undefined;
809
+ } | undefined;
810
+ author?: string | undefined;
811
+ homepage?: string | undefined;
812
+ profiles?: {
813
+ id: string;
814
+ presetId: string;
815
+ aliases?: string[] | undefined;
816
+ }[] | undefined;
817
+ }];
818
+ //# sourceMappingURL=cursor-presets.d.ts.map