@xurxuo/claude-code-termux 2.1.140

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.
package/sdk-tools.d.ts ADDED
@@ -0,0 +1,2730 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * JSON Schema definitions for Claude CLI tool inputs
10
+ */
11
+ export type ToolInputSchemas =
12
+ | AgentInput
13
+ | BashInput
14
+ | TaskOutputInput
15
+ | ExitPlanModeInput
16
+ | FileEditInput
17
+ | FileReadInput
18
+ | FileWriteInput
19
+ | GlobInput
20
+ | GrepInput
21
+ | TaskStopInput
22
+ | ListMcpResourcesInput
23
+ | McpInput
24
+ | NotebookEditInput
25
+ | ReadMcpResourceInput
26
+ | TodoWriteInput
27
+ | WebFetchInput
28
+ | WebSearchInput
29
+ | AskUserQuestionInput
30
+ | EnterWorktreeInput
31
+ | ExitWorktreeInput
32
+ | ToolOutputSchemas;
33
+ export type ToolOutputSchemas =
34
+ | AgentOutput
35
+ | BashOutput
36
+ | ExitPlanModeOutput
37
+ | FileEditOutput
38
+ | FileReadOutput
39
+ | FileWriteOutput
40
+ | GlobOutput
41
+ | GrepOutput
42
+ | TaskStopOutput
43
+ | ListMcpResourcesOutput
44
+ | McpOutput
45
+ | NotebookEditOutput
46
+ | ReadMcpResourceOutput
47
+ | TodoWriteOutput
48
+ | WebFetchOutput
49
+ | WebSearchOutput
50
+ | AskUserQuestionOutput
51
+ | EnterWorktreeOutput
52
+ | ExitWorktreeOutput;
53
+ export type AgentOutput =
54
+ | {
55
+ agentId: string;
56
+ agentType?: string;
57
+ content: {
58
+ type: "text";
59
+ text: string;
60
+ }[];
61
+ totalToolUseCount: number;
62
+ totalDurationMs: number;
63
+ totalTokens: number;
64
+ usage: {
65
+ input_tokens: number;
66
+ output_tokens: number;
67
+ cache_creation_input_tokens: number | null;
68
+ cache_read_input_tokens: number | null;
69
+ server_tool_use: {
70
+ web_search_requests: number;
71
+ web_fetch_requests: number;
72
+ } | null;
73
+ service_tier: ("standard" | "priority" | "batch") | null;
74
+ cache_creation: {
75
+ ephemeral_1h_input_tokens: number;
76
+ ephemeral_5m_input_tokens: number;
77
+ } | null;
78
+ };
79
+ toolStats?: {
80
+ readCount: number;
81
+ searchCount: number;
82
+ bashCount: number;
83
+ editFileCount: number;
84
+ linesAdded: number;
85
+ linesRemoved: number;
86
+ otherToolCount: number;
87
+ };
88
+ status: "completed";
89
+ prompt: string;
90
+ }
91
+ | {
92
+ status: "async_launched";
93
+ /**
94
+ * The ID of the async agent
95
+ */
96
+ agentId: string;
97
+ /**
98
+ * The description of the task
99
+ */
100
+ description: string;
101
+ /**
102
+ * The prompt for the agent
103
+ */
104
+ prompt: string;
105
+ /**
106
+ * Path to the output file for checking agent progress
107
+ */
108
+ outputFile: string;
109
+ /**
110
+ * Whether the calling agent has Read/Bash tools to check progress
111
+ */
112
+ canReadOutputFile?: boolean;
113
+ };
114
+ export type FileReadOutput =
115
+ | {
116
+ type: "text";
117
+ file: {
118
+ /**
119
+ * The path to the file that was read
120
+ */
121
+ filePath: string;
122
+ /**
123
+ * The content of the file
124
+ */
125
+ content: string;
126
+ /**
127
+ * Number of lines in the returned content
128
+ */
129
+ numLines: number;
130
+ /**
131
+ * The starting line number
132
+ */
133
+ startLine: number;
134
+ /**
135
+ * Total number of lines in the file
136
+ */
137
+ totalLines: number;
138
+ };
139
+ }
140
+ | {
141
+ type: "image";
142
+ file: {
143
+ /**
144
+ * Base64-encoded image data
145
+ */
146
+ base64: string;
147
+ /**
148
+ * The MIME type of the image
149
+ */
150
+ type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
151
+ /**
152
+ * Original file size in bytes
153
+ */
154
+ originalSize: number;
155
+ /**
156
+ * Image dimension info for coordinate mapping
157
+ */
158
+ dimensions?: {
159
+ /**
160
+ * Original image width in pixels
161
+ */
162
+ originalWidth?: number;
163
+ /**
164
+ * Original image height in pixels
165
+ */
166
+ originalHeight?: number;
167
+ /**
168
+ * Displayed image width in pixels (after resizing)
169
+ */
170
+ displayWidth?: number;
171
+ /**
172
+ * Displayed image height in pixels (after resizing)
173
+ */
174
+ displayHeight?: number;
175
+ };
176
+ };
177
+ }
178
+ | {
179
+ type: "notebook";
180
+ file: {
181
+ /**
182
+ * The path to the notebook file
183
+ */
184
+ filePath: string;
185
+ /**
186
+ * Array of notebook cells
187
+ */
188
+ cells: unknown[];
189
+ };
190
+ }
191
+ | {
192
+ type: "pdf";
193
+ file: {
194
+ /**
195
+ * The path to the PDF file
196
+ */
197
+ filePath: string;
198
+ /**
199
+ * Base64-encoded PDF data
200
+ */
201
+ base64: string;
202
+ /**
203
+ * Original file size in bytes
204
+ */
205
+ originalSize: number;
206
+ };
207
+ }
208
+ | {
209
+ type: "parts";
210
+ file: {
211
+ /**
212
+ * The path to the PDF file
213
+ */
214
+ filePath: string;
215
+ /**
216
+ * Original file size in bytes
217
+ */
218
+ originalSize: number;
219
+ /**
220
+ * Number of pages extracted
221
+ */
222
+ count: number;
223
+ /**
224
+ * Directory containing extracted page images
225
+ */
226
+ outputDir: string;
227
+ };
228
+ }
229
+ | {
230
+ type: "file_unchanged";
231
+ file: {
232
+ /**
233
+ * The path to the file
234
+ */
235
+ filePath: string;
236
+ };
237
+ };
238
+ export type ListMcpResourcesOutput = {
239
+ /**
240
+ * Resource URI
241
+ */
242
+ uri: string;
243
+ /**
244
+ * Resource name
245
+ */
246
+ name: string;
247
+ /**
248
+ * MIME type of the resource
249
+ */
250
+ mimeType?: string;
251
+ /**
252
+ * Resource description
253
+ */
254
+ description?: string;
255
+ /**
256
+ * Server that provides this resource
257
+ */
258
+ server: string;
259
+ }[];
260
+ /**
261
+ * MCP tool execution result
262
+ */
263
+ export type McpOutput =
264
+ | string
265
+ | {
266
+ type: string;
267
+ [k: string]: unknown;
268
+ }[]
269
+ | {
270
+ [k: string]: unknown;
271
+ };
272
+
273
+ export interface AgentInput {
274
+ /**
275
+ * A short (3-5 word) description of the task
276
+ */
277
+ description: string;
278
+ /**
279
+ * The task for the agent to perform
280
+ */
281
+ prompt: string;
282
+ /**
283
+ * The type of specialized agent to use for this task
284
+ */
285
+ subagent_type?: string;
286
+ /**
287
+ * Optional model override for this agent. Takes precedence over the agent definition's model frontmatter. If omitted, uses the agent definition's model, or inherits from the parent.
288
+ */
289
+ model?: "sonnet" | "opus" | "haiku";
290
+ /**
291
+ * Set to true to run this agent in the background. You will be notified when it completes.
292
+ */
293
+ run_in_background?: boolean;
294
+ /**
295
+ * Name for the spawned agent. Makes it addressable via SendMessage({to: name}) while running.
296
+ */
297
+ name?: string;
298
+ /**
299
+ * Team name for spawning. Uses current team context if omitted.
300
+ */
301
+ team_name?: string;
302
+ /**
303
+ * Permission mode for spawned teammate (e.g., "plan" to require plan approval).
304
+ */
305
+ mode?: "acceptEdits" | "auto" | "bypassPermissions" | "default" | "dontAsk" | "plan";
306
+ /**
307
+ * Isolation mode. "worktree" creates a temporary git worktree so the agent works on an isolated copy of the repo.
308
+ */
309
+ isolation?: "worktree";
310
+ }
311
+ export interface BashInput {
312
+ /**
313
+ * The command to execute
314
+ */
315
+ command: string;
316
+ /**
317
+ * Optional timeout in milliseconds (max 600000)
318
+ */
319
+ timeout?: number;
320
+ /**
321
+ * Clear, concise description of what this command does in active voice. Never use words like "complex" or "risk" in the description - just describe what it does.
322
+ *
323
+ * For simple commands (git, npm, standard CLI tools), keep it brief (5-10 words):
324
+ * - ls → "List files in current directory"
325
+ * - git status → "Show working tree status"
326
+ * - npm install → "Install package dependencies"
327
+ *
328
+ * For commands that are harder to parse at a glance (piped commands, obscure flags, etc.), add enough context to clarify what it does:
329
+ * - find . -name "*.tmp" -exec rm {} \; → "Find and delete all .tmp files recursively"
330
+ * - git reset --hard origin/main → "Discard all local changes and match remote main"
331
+ * - curl -s url | jq '.data[]' → "Fetch JSON from URL and extract data array elements"
332
+ */
333
+ description?: string;
334
+ /**
335
+ * Set to true to run this command in the background.
336
+ */
337
+ run_in_background?: boolean;
338
+ /**
339
+ * Set this to true to dangerously override sandbox mode and run commands without sandboxing.
340
+ */
341
+ dangerouslyDisableSandbox?: boolean;
342
+ }
343
+ export interface TaskOutputInput {
344
+ /**
345
+ * The task ID to get output from
346
+ */
347
+ task_id: string;
348
+ /**
349
+ * Whether to wait for completion
350
+ */
351
+ block: boolean;
352
+ /**
353
+ * Max wait time in ms
354
+ */
355
+ timeout: number;
356
+ }
357
+ export interface ExitPlanModeInput {
358
+ /**
359
+ * Prompt-based permissions needed to implement the plan. These describe categories of actions rather than specific commands.
360
+ */
361
+ allowedPrompts?: {
362
+ /**
363
+ * The tool this prompt applies to
364
+ */
365
+ tool: "Bash";
366
+ /**
367
+ * Semantic description of the action, e.g. "run tests", "install dependencies"
368
+ */
369
+ prompt: string;
370
+ }[];
371
+ [k: string]: unknown;
372
+ }
373
+ export interface FileEditInput {
374
+ /**
375
+ * The absolute path to the file to modify
376
+ */
377
+ file_path: string;
378
+ /**
379
+ * The text to replace
380
+ */
381
+ old_string: string;
382
+ /**
383
+ * The text to replace it with (must be different from old_string)
384
+ */
385
+ new_string: string;
386
+ /**
387
+ * Replace all occurrences of old_string (default false)
388
+ */
389
+ replace_all?: boolean;
390
+ }
391
+ export interface FileReadInput {
392
+ /**
393
+ * The absolute path to the file to read
394
+ */
395
+ file_path: string;
396
+ /**
397
+ * The line number to start reading from. Only provide if the file is too large to read at once
398
+ */
399
+ offset?: number;
400
+ /**
401
+ * The number of lines to read. Only provide if the file is too large to read at once.
402
+ */
403
+ limit?: number;
404
+ /**
405
+ * Page range for PDF files (e.g., "1-5", "3", "10-20"). Only applicable to PDF files. Maximum 20 pages per request.
406
+ */
407
+ pages?: string;
408
+ }
409
+ export interface FileWriteInput {
410
+ /**
411
+ * The absolute path to the file to write (must be absolute, not relative)
412
+ */
413
+ file_path: string;
414
+ /**
415
+ * The content to write to the file
416
+ */
417
+ content: string;
418
+ }
419
+ export interface GlobInput {
420
+ /**
421
+ * The glob pattern to match files against
422
+ */
423
+ pattern: string;
424
+ /**
425
+ * The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter "undefined" or "null" - simply omit it for the default behavior. Must be a valid directory path if provided.
426
+ */
427
+ path?: string;
428
+ }
429
+ export interface GrepInput {
430
+ /**
431
+ * The regular expression pattern to search for in file contents
432
+ */
433
+ pattern: string;
434
+ /**
435
+ * File or directory to search in (rg PATH). Defaults to current working directory.
436
+ */
437
+ path?: string;
438
+ /**
439
+ * Glob pattern to filter files (e.g. "*.js", "*.{ts,tsx}") - maps to rg --glob
440
+ */
441
+ glob?: string;
442
+ /**
443
+ * Output mode: "content" shows matching lines (supports -A/-B/-C context, -n line numbers, head_limit), "files_with_matches" shows file paths (supports head_limit), "count" shows match counts (supports head_limit). Defaults to "files_with_matches".
444
+ */
445
+ output_mode?: "content" | "files_with_matches" | "count";
446
+ /**
447
+ * Number of lines to show before each match (rg -B). Requires output_mode: "content", ignored otherwise.
448
+ */
449
+ "-B"?: number;
450
+ /**
451
+ * Number of lines to show after each match (rg -A). Requires output_mode: "content", ignored otherwise.
452
+ */
453
+ "-A"?: number;
454
+ /**
455
+ * Alias for context.
456
+ */
457
+ "-C"?: number;
458
+ /**
459
+ * Number of lines to show before and after each match (rg -C). Requires output_mode: "content", ignored otherwise.
460
+ */
461
+ context?: number;
462
+ /**
463
+ * Show line numbers in output (rg -n). Requires output_mode: "content", ignored otherwise. Defaults to true.
464
+ */
465
+ "-n"?: boolean;
466
+ /**
467
+ * Case insensitive search (rg -i)
468
+ */
469
+ "-i"?: boolean;
470
+ /**
471
+ * File type to search (rg --type). Common types: js, py, rust, go, java, etc. More efficient than include for standard file types.
472
+ */
473
+ type?: string;
474
+ /**
475
+ * Limit output to first N lines/entries, equivalent to "| head -N". Works across all output modes: content (limits output lines), files_with_matches (limits file paths), count (limits count entries). Defaults to 250 when unspecified. Pass 0 for unlimited (use sparingly — large result sets waste context).
476
+ */
477
+ head_limit?: number;
478
+ /**
479
+ * Skip first N lines/entries before applying head_limit, equivalent to "| tail -n +N | head -N". Works across all output modes. Defaults to 0.
480
+ */
481
+ offset?: number;
482
+ /**
483
+ * Enable multiline mode where . matches newlines and patterns can span lines (rg -U --multiline-dotall). Default: false.
484
+ */
485
+ multiline?: boolean;
486
+ }
487
+ export interface TaskStopInput {
488
+ /**
489
+ * The ID of the background task to stop
490
+ */
491
+ task_id?: string;
492
+ /**
493
+ * Deprecated: use task_id instead
494
+ */
495
+ shell_id?: string;
496
+ }
497
+ export interface ListMcpResourcesInput {
498
+ /**
499
+ * Optional server name to filter resources by
500
+ */
501
+ server?: string;
502
+ }
503
+ export interface McpInput {
504
+ [k: string]: unknown;
505
+ }
506
+ export interface NotebookEditInput {
507
+ /**
508
+ * The absolute path to the Jupyter notebook file to edit (must be absolute, not relative)
509
+ */
510
+ notebook_path: string;
511
+ /**
512
+ * The ID of the cell to edit. When inserting a new cell, the new cell will be inserted after the cell with this ID, or at the beginning if not specified.
513
+ */
514
+ cell_id?: string;
515
+ /**
516
+ * The new source for the cell
517
+ */
518
+ new_source: string;
519
+ /**
520
+ * The type of the cell (code or markdown). If not specified, it defaults to the current cell type. If using edit_mode=insert, this is required.
521
+ */
522
+ cell_type?: "code" | "markdown";
523
+ /**
524
+ * The type of edit to make (replace, insert, delete). Defaults to replace.
525
+ */
526
+ edit_mode?: "replace" | "insert" | "delete";
527
+ }
528
+ export interface ReadMcpResourceInput {
529
+ /**
530
+ * The MCP server name
531
+ */
532
+ server: string;
533
+ /**
534
+ * The resource URI to read
535
+ */
536
+ uri: string;
537
+ }
538
+ export interface TodoWriteInput {
539
+ /**
540
+ * The updated todo list
541
+ */
542
+ todos: {
543
+ content: string;
544
+ status: "pending" | "in_progress" | "completed";
545
+ activeForm: string;
546
+ }[];
547
+ }
548
+ export interface WebFetchInput {
549
+ /**
550
+ * The URL to fetch content from
551
+ */
552
+ url: string;
553
+ /**
554
+ * The prompt to run on the fetched content
555
+ */
556
+ prompt: string;
557
+ }
558
+ export interface WebSearchInput {
559
+ /**
560
+ * The search query to use
561
+ */
562
+ query: string;
563
+ /**
564
+ * Only include search results from these domains
565
+ */
566
+ allowed_domains?: string[];
567
+ /**
568
+ * Never include search results from these domains
569
+ */
570
+ blocked_domains?: string[];
571
+ }
572
+ export interface AskUserQuestionInput {
573
+ /**
574
+ * Questions to ask the user (1-4 questions)
575
+ *
576
+ * @minItems 1
577
+ * @maxItems 4
578
+ */
579
+ questions:
580
+ | [
581
+ {
582
+ /**
583
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
584
+ */
585
+ question: string;
586
+ /**
587
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
588
+ */
589
+ header: string;
590
+ /**
591
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
592
+ *
593
+ * @minItems 2
594
+ * @maxItems 4
595
+ */
596
+ options:
597
+ | [
598
+ {
599
+ /**
600
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
601
+ */
602
+ label: string;
603
+ /**
604
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
605
+ */
606
+ description: string;
607
+ /**
608
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
609
+ */
610
+ preview?: string;
611
+ },
612
+ {
613
+ /**
614
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
615
+ */
616
+ label: string;
617
+ /**
618
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
619
+ */
620
+ description: string;
621
+ /**
622
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
623
+ */
624
+ preview?: string;
625
+ }
626
+ ]
627
+ | [
628
+ {
629
+ /**
630
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
631
+ */
632
+ label: string;
633
+ /**
634
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
635
+ */
636
+ description: string;
637
+ /**
638
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
639
+ */
640
+ preview?: string;
641
+ },
642
+ {
643
+ /**
644
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
645
+ */
646
+ label: string;
647
+ /**
648
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
649
+ */
650
+ description: string;
651
+ /**
652
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
653
+ */
654
+ preview?: string;
655
+ },
656
+ {
657
+ /**
658
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
659
+ */
660
+ label: string;
661
+ /**
662
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
663
+ */
664
+ description: string;
665
+ /**
666
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
667
+ */
668
+ preview?: string;
669
+ }
670
+ ]
671
+ | [
672
+ {
673
+ /**
674
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
675
+ */
676
+ label: string;
677
+ /**
678
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
679
+ */
680
+ description: string;
681
+ /**
682
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
683
+ */
684
+ preview?: string;
685
+ },
686
+ {
687
+ /**
688
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
689
+ */
690
+ label: string;
691
+ /**
692
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
693
+ */
694
+ description: string;
695
+ /**
696
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
697
+ */
698
+ preview?: string;
699
+ },
700
+ {
701
+ /**
702
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
703
+ */
704
+ label: string;
705
+ /**
706
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
707
+ */
708
+ description: string;
709
+ /**
710
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
711
+ */
712
+ preview?: string;
713
+ },
714
+ {
715
+ /**
716
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
717
+ */
718
+ label: string;
719
+ /**
720
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
721
+ */
722
+ description: string;
723
+ /**
724
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
725
+ */
726
+ preview?: string;
727
+ }
728
+ ];
729
+ /**
730
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
731
+ */
732
+ multiSelect: boolean;
733
+ }
734
+ ]
735
+ | [
736
+ {
737
+ /**
738
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
739
+ */
740
+ question: string;
741
+ /**
742
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
743
+ */
744
+ header: string;
745
+ /**
746
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
747
+ *
748
+ * @minItems 2
749
+ * @maxItems 4
750
+ */
751
+ options:
752
+ | [
753
+ {
754
+ /**
755
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
756
+ */
757
+ label: string;
758
+ /**
759
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
760
+ */
761
+ description: string;
762
+ /**
763
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
764
+ */
765
+ preview?: string;
766
+ },
767
+ {
768
+ /**
769
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
770
+ */
771
+ label: string;
772
+ /**
773
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
774
+ */
775
+ description: string;
776
+ /**
777
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
778
+ */
779
+ preview?: string;
780
+ }
781
+ ]
782
+ | [
783
+ {
784
+ /**
785
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
786
+ */
787
+ label: string;
788
+ /**
789
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
790
+ */
791
+ description: string;
792
+ /**
793
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
794
+ */
795
+ preview?: string;
796
+ },
797
+ {
798
+ /**
799
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
800
+ */
801
+ label: string;
802
+ /**
803
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
804
+ */
805
+ description: string;
806
+ /**
807
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
808
+ */
809
+ preview?: string;
810
+ },
811
+ {
812
+ /**
813
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
814
+ */
815
+ label: string;
816
+ /**
817
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
818
+ */
819
+ description: string;
820
+ /**
821
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
822
+ */
823
+ preview?: string;
824
+ }
825
+ ]
826
+ | [
827
+ {
828
+ /**
829
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
830
+ */
831
+ label: string;
832
+ /**
833
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
834
+ */
835
+ description: string;
836
+ /**
837
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
838
+ */
839
+ preview?: string;
840
+ },
841
+ {
842
+ /**
843
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
844
+ */
845
+ label: string;
846
+ /**
847
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
848
+ */
849
+ description: string;
850
+ /**
851
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
852
+ */
853
+ preview?: string;
854
+ },
855
+ {
856
+ /**
857
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
858
+ */
859
+ label: string;
860
+ /**
861
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
862
+ */
863
+ description: string;
864
+ /**
865
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
866
+ */
867
+ preview?: string;
868
+ },
869
+ {
870
+ /**
871
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
872
+ */
873
+ label: string;
874
+ /**
875
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
876
+ */
877
+ description: string;
878
+ /**
879
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
880
+ */
881
+ preview?: string;
882
+ }
883
+ ];
884
+ /**
885
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
886
+ */
887
+ multiSelect: boolean;
888
+ },
889
+ {
890
+ /**
891
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
892
+ */
893
+ question: string;
894
+ /**
895
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
896
+ */
897
+ header: string;
898
+ /**
899
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
900
+ *
901
+ * @minItems 2
902
+ * @maxItems 4
903
+ */
904
+ options:
905
+ | [
906
+ {
907
+ /**
908
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
909
+ */
910
+ label: string;
911
+ /**
912
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
913
+ */
914
+ description: string;
915
+ /**
916
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
917
+ */
918
+ preview?: string;
919
+ },
920
+ {
921
+ /**
922
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
923
+ */
924
+ label: string;
925
+ /**
926
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
927
+ */
928
+ description: string;
929
+ /**
930
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
931
+ */
932
+ preview?: string;
933
+ }
934
+ ]
935
+ | [
936
+ {
937
+ /**
938
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
939
+ */
940
+ label: string;
941
+ /**
942
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
943
+ */
944
+ description: string;
945
+ /**
946
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
947
+ */
948
+ preview?: string;
949
+ },
950
+ {
951
+ /**
952
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
953
+ */
954
+ label: string;
955
+ /**
956
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
957
+ */
958
+ description: string;
959
+ /**
960
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
961
+ */
962
+ preview?: string;
963
+ },
964
+ {
965
+ /**
966
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
967
+ */
968
+ label: string;
969
+ /**
970
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
971
+ */
972
+ description: string;
973
+ /**
974
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
975
+ */
976
+ preview?: string;
977
+ }
978
+ ]
979
+ | [
980
+ {
981
+ /**
982
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
983
+ */
984
+ label: string;
985
+ /**
986
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
987
+ */
988
+ description: string;
989
+ /**
990
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
991
+ */
992
+ preview?: string;
993
+ },
994
+ {
995
+ /**
996
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
997
+ */
998
+ label: string;
999
+ /**
1000
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1001
+ */
1002
+ description: string;
1003
+ /**
1004
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1005
+ */
1006
+ preview?: string;
1007
+ },
1008
+ {
1009
+ /**
1010
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1011
+ */
1012
+ label: string;
1013
+ /**
1014
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1015
+ */
1016
+ description: string;
1017
+ /**
1018
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1019
+ */
1020
+ preview?: string;
1021
+ },
1022
+ {
1023
+ /**
1024
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1025
+ */
1026
+ label: string;
1027
+ /**
1028
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1029
+ */
1030
+ description: string;
1031
+ /**
1032
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1033
+ */
1034
+ preview?: string;
1035
+ }
1036
+ ];
1037
+ /**
1038
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1039
+ */
1040
+ multiSelect: boolean;
1041
+ }
1042
+ ]
1043
+ | [
1044
+ {
1045
+ /**
1046
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1047
+ */
1048
+ question: string;
1049
+ /**
1050
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1051
+ */
1052
+ header: string;
1053
+ /**
1054
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1055
+ *
1056
+ * @minItems 2
1057
+ * @maxItems 4
1058
+ */
1059
+ options:
1060
+ | [
1061
+ {
1062
+ /**
1063
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1064
+ */
1065
+ label: string;
1066
+ /**
1067
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1068
+ */
1069
+ description: string;
1070
+ /**
1071
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1072
+ */
1073
+ preview?: string;
1074
+ },
1075
+ {
1076
+ /**
1077
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1078
+ */
1079
+ label: string;
1080
+ /**
1081
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1082
+ */
1083
+ description: string;
1084
+ /**
1085
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1086
+ */
1087
+ preview?: string;
1088
+ }
1089
+ ]
1090
+ | [
1091
+ {
1092
+ /**
1093
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1094
+ */
1095
+ label: string;
1096
+ /**
1097
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1098
+ */
1099
+ description: string;
1100
+ /**
1101
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1102
+ */
1103
+ preview?: string;
1104
+ },
1105
+ {
1106
+ /**
1107
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1108
+ */
1109
+ label: string;
1110
+ /**
1111
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1112
+ */
1113
+ description: string;
1114
+ /**
1115
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1116
+ */
1117
+ preview?: string;
1118
+ },
1119
+ {
1120
+ /**
1121
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1122
+ */
1123
+ label: string;
1124
+ /**
1125
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1126
+ */
1127
+ description: string;
1128
+ /**
1129
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1130
+ */
1131
+ preview?: string;
1132
+ }
1133
+ ]
1134
+ | [
1135
+ {
1136
+ /**
1137
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1138
+ */
1139
+ label: string;
1140
+ /**
1141
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1142
+ */
1143
+ description: string;
1144
+ /**
1145
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1146
+ */
1147
+ preview?: string;
1148
+ },
1149
+ {
1150
+ /**
1151
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1152
+ */
1153
+ label: string;
1154
+ /**
1155
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1156
+ */
1157
+ description: string;
1158
+ /**
1159
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1160
+ */
1161
+ preview?: string;
1162
+ },
1163
+ {
1164
+ /**
1165
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1166
+ */
1167
+ label: string;
1168
+ /**
1169
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1170
+ */
1171
+ description: string;
1172
+ /**
1173
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1174
+ */
1175
+ preview?: string;
1176
+ },
1177
+ {
1178
+ /**
1179
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1180
+ */
1181
+ label: string;
1182
+ /**
1183
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1184
+ */
1185
+ description: string;
1186
+ /**
1187
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1188
+ */
1189
+ preview?: string;
1190
+ }
1191
+ ];
1192
+ /**
1193
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1194
+ */
1195
+ multiSelect: boolean;
1196
+ },
1197
+ {
1198
+ /**
1199
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1200
+ */
1201
+ question: string;
1202
+ /**
1203
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1204
+ */
1205
+ header: string;
1206
+ /**
1207
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1208
+ *
1209
+ * @minItems 2
1210
+ * @maxItems 4
1211
+ */
1212
+ options:
1213
+ | [
1214
+ {
1215
+ /**
1216
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1217
+ */
1218
+ label: string;
1219
+ /**
1220
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1221
+ */
1222
+ description: string;
1223
+ /**
1224
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1225
+ */
1226
+ preview?: string;
1227
+ },
1228
+ {
1229
+ /**
1230
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1231
+ */
1232
+ label: string;
1233
+ /**
1234
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1235
+ */
1236
+ description: string;
1237
+ /**
1238
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1239
+ */
1240
+ preview?: string;
1241
+ }
1242
+ ]
1243
+ | [
1244
+ {
1245
+ /**
1246
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1247
+ */
1248
+ label: string;
1249
+ /**
1250
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1251
+ */
1252
+ description: string;
1253
+ /**
1254
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1255
+ */
1256
+ preview?: string;
1257
+ },
1258
+ {
1259
+ /**
1260
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1261
+ */
1262
+ label: string;
1263
+ /**
1264
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1265
+ */
1266
+ description: string;
1267
+ /**
1268
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1269
+ */
1270
+ preview?: string;
1271
+ },
1272
+ {
1273
+ /**
1274
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1275
+ */
1276
+ label: string;
1277
+ /**
1278
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1279
+ */
1280
+ description: string;
1281
+ /**
1282
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1283
+ */
1284
+ preview?: string;
1285
+ }
1286
+ ]
1287
+ | [
1288
+ {
1289
+ /**
1290
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1291
+ */
1292
+ label: string;
1293
+ /**
1294
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1295
+ */
1296
+ description: string;
1297
+ /**
1298
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1299
+ */
1300
+ preview?: string;
1301
+ },
1302
+ {
1303
+ /**
1304
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1305
+ */
1306
+ label: string;
1307
+ /**
1308
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1309
+ */
1310
+ description: string;
1311
+ /**
1312
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1313
+ */
1314
+ preview?: string;
1315
+ },
1316
+ {
1317
+ /**
1318
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1319
+ */
1320
+ label: string;
1321
+ /**
1322
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1323
+ */
1324
+ description: string;
1325
+ /**
1326
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1327
+ */
1328
+ preview?: string;
1329
+ },
1330
+ {
1331
+ /**
1332
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1333
+ */
1334
+ label: string;
1335
+ /**
1336
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1337
+ */
1338
+ description: string;
1339
+ /**
1340
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1341
+ */
1342
+ preview?: string;
1343
+ }
1344
+ ];
1345
+ /**
1346
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1347
+ */
1348
+ multiSelect: boolean;
1349
+ },
1350
+ {
1351
+ /**
1352
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1353
+ */
1354
+ question: string;
1355
+ /**
1356
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1357
+ */
1358
+ header: string;
1359
+ /**
1360
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1361
+ *
1362
+ * @minItems 2
1363
+ * @maxItems 4
1364
+ */
1365
+ options:
1366
+ | [
1367
+ {
1368
+ /**
1369
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1370
+ */
1371
+ label: string;
1372
+ /**
1373
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1374
+ */
1375
+ description: string;
1376
+ /**
1377
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1378
+ */
1379
+ preview?: string;
1380
+ },
1381
+ {
1382
+ /**
1383
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1384
+ */
1385
+ label: string;
1386
+ /**
1387
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1388
+ */
1389
+ description: string;
1390
+ /**
1391
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1392
+ */
1393
+ preview?: string;
1394
+ }
1395
+ ]
1396
+ | [
1397
+ {
1398
+ /**
1399
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1400
+ */
1401
+ label: string;
1402
+ /**
1403
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1404
+ */
1405
+ description: string;
1406
+ /**
1407
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1408
+ */
1409
+ preview?: string;
1410
+ },
1411
+ {
1412
+ /**
1413
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1414
+ */
1415
+ label: string;
1416
+ /**
1417
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1418
+ */
1419
+ description: string;
1420
+ /**
1421
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1422
+ */
1423
+ preview?: string;
1424
+ },
1425
+ {
1426
+ /**
1427
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1428
+ */
1429
+ label: string;
1430
+ /**
1431
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1432
+ */
1433
+ description: string;
1434
+ /**
1435
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1436
+ */
1437
+ preview?: string;
1438
+ }
1439
+ ]
1440
+ | [
1441
+ {
1442
+ /**
1443
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1444
+ */
1445
+ label: string;
1446
+ /**
1447
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1448
+ */
1449
+ description: string;
1450
+ /**
1451
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1452
+ */
1453
+ preview?: string;
1454
+ },
1455
+ {
1456
+ /**
1457
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1458
+ */
1459
+ label: string;
1460
+ /**
1461
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1462
+ */
1463
+ description: string;
1464
+ /**
1465
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1466
+ */
1467
+ preview?: string;
1468
+ },
1469
+ {
1470
+ /**
1471
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1472
+ */
1473
+ label: string;
1474
+ /**
1475
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1476
+ */
1477
+ description: string;
1478
+ /**
1479
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1480
+ */
1481
+ preview?: string;
1482
+ },
1483
+ {
1484
+ /**
1485
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1486
+ */
1487
+ label: string;
1488
+ /**
1489
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1490
+ */
1491
+ description: string;
1492
+ /**
1493
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1494
+ */
1495
+ preview?: string;
1496
+ }
1497
+ ];
1498
+ /**
1499
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1500
+ */
1501
+ multiSelect: boolean;
1502
+ }
1503
+ ]
1504
+ | [
1505
+ {
1506
+ /**
1507
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1508
+ */
1509
+ question: string;
1510
+ /**
1511
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1512
+ */
1513
+ header: string;
1514
+ /**
1515
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1516
+ *
1517
+ * @minItems 2
1518
+ * @maxItems 4
1519
+ */
1520
+ options:
1521
+ | [
1522
+ {
1523
+ /**
1524
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1525
+ */
1526
+ label: string;
1527
+ /**
1528
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1529
+ */
1530
+ description: string;
1531
+ /**
1532
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1533
+ */
1534
+ preview?: string;
1535
+ },
1536
+ {
1537
+ /**
1538
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1539
+ */
1540
+ label: string;
1541
+ /**
1542
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1543
+ */
1544
+ description: string;
1545
+ /**
1546
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1547
+ */
1548
+ preview?: string;
1549
+ }
1550
+ ]
1551
+ | [
1552
+ {
1553
+ /**
1554
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1555
+ */
1556
+ label: string;
1557
+ /**
1558
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1559
+ */
1560
+ description: string;
1561
+ /**
1562
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1563
+ */
1564
+ preview?: string;
1565
+ },
1566
+ {
1567
+ /**
1568
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1569
+ */
1570
+ label: string;
1571
+ /**
1572
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1573
+ */
1574
+ description: string;
1575
+ /**
1576
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1577
+ */
1578
+ preview?: string;
1579
+ },
1580
+ {
1581
+ /**
1582
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1583
+ */
1584
+ label: string;
1585
+ /**
1586
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1587
+ */
1588
+ description: string;
1589
+ /**
1590
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1591
+ */
1592
+ preview?: string;
1593
+ }
1594
+ ]
1595
+ | [
1596
+ {
1597
+ /**
1598
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1599
+ */
1600
+ label: string;
1601
+ /**
1602
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1603
+ */
1604
+ description: string;
1605
+ /**
1606
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1607
+ */
1608
+ preview?: string;
1609
+ },
1610
+ {
1611
+ /**
1612
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1613
+ */
1614
+ label: string;
1615
+ /**
1616
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1617
+ */
1618
+ description: string;
1619
+ /**
1620
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1621
+ */
1622
+ preview?: string;
1623
+ },
1624
+ {
1625
+ /**
1626
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1627
+ */
1628
+ label: string;
1629
+ /**
1630
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1631
+ */
1632
+ description: string;
1633
+ /**
1634
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1635
+ */
1636
+ preview?: string;
1637
+ },
1638
+ {
1639
+ /**
1640
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1641
+ */
1642
+ label: string;
1643
+ /**
1644
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1645
+ */
1646
+ description: string;
1647
+ /**
1648
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1649
+ */
1650
+ preview?: string;
1651
+ }
1652
+ ];
1653
+ /**
1654
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1655
+ */
1656
+ multiSelect: boolean;
1657
+ },
1658
+ {
1659
+ /**
1660
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1661
+ */
1662
+ question: string;
1663
+ /**
1664
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1665
+ */
1666
+ header: string;
1667
+ /**
1668
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1669
+ *
1670
+ * @minItems 2
1671
+ * @maxItems 4
1672
+ */
1673
+ options:
1674
+ | [
1675
+ {
1676
+ /**
1677
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1678
+ */
1679
+ label: string;
1680
+ /**
1681
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1682
+ */
1683
+ description: string;
1684
+ /**
1685
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1686
+ */
1687
+ preview?: string;
1688
+ },
1689
+ {
1690
+ /**
1691
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1692
+ */
1693
+ label: string;
1694
+ /**
1695
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1696
+ */
1697
+ description: string;
1698
+ /**
1699
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1700
+ */
1701
+ preview?: string;
1702
+ }
1703
+ ]
1704
+ | [
1705
+ {
1706
+ /**
1707
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1708
+ */
1709
+ label: string;
1710
+ /**
1711
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1712
+ */
1713
+ description: string;
1714
+ /**
1715
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1716
+ */
1717
+ preview?: string;
1718
+ },
1719
+ {
1720
+ /**
1721
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1722
+ */
1723
+ label: string;
1724
+ /**
1725
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1726
+ */
1727
+ description: string;
1728
+ /**
1729
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1730
+ */
1731
+ preview?: string;
1732
+ },
1733
+ {
1734
+ /**
1735
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1736
+ */
1737
+ label: string;
1738
+ /**
1739
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1740
+ */
1741
+ description: string;
1742
+ /**
1743
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1744
+ */
1745
+ preview?: string;
1746
+ }
1747
+ ]
1748
+ | [
1749
+ {
1750
+ /**
1751
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1752
+ */
1753
+ label: string;
1754
+ /**
1755
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1756
+ */
1757
+ description: string;
1758
+ /**
1759
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1760
+ */
1761
+ preview?: string;
1762
+ },
1763
+ {
1764
+ /**
1765
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1766
+ */
1767
+ label: string;
1768
+ /**
1769
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1770
+ */
1771
+ description: string;
1772
+ /**
1773
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1774
+ */
1775
+ preview?: string;
1776
+ },
1777
+ {
1778
+ /**
1779
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1780
+ */
1781
+ label: string;
1782
+ /**
1783
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1784
+ */
1785
+ description: string;
1786
+ /**
1787
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1788
+ */
1789
+ preview?: string;
1790
+ },
1791
+ {
1792
+ /**
1793
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1794
+ */
1795
+ label: string;
1796
+ /**
1797
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1798
+ */
1799
+ description: string;
1800
+ /**
1801
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1802
+ */
1803
+ preview?: string;
1804
+ }
1805
+ ];
1806
+ /**
1807
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1808
+ */
1809
+ multiSelect: boolean;
1810
+ },
1811
+ {
1812
+ /**
1813
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1814
+ */
1815
+ question: string;
1816
+ /**
1817
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1818
+ */
1819
+ header: string;
1820
+ /**
1821
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1822
+ *
1823
+ * @minItems 2
1824
+ * @maxItems 4
1825
+ */
1826
+ options:
1827
+ | [
1828
+ {
1829
+ /**
1830
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1831
+ */
1832
+ label: string;
1833
+ /**
1834
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1835
+ */
1836
+ description: string;
1837
+ /**
1838
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1839
+ */
1840
+ preview?: string;
1841
+ },
1842
+ {
1843
+ /**
1844
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1845
+ */
1846
+ label: string;
1847
+ /**
1848
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1849
+ */
1850
+ description: string;
1851
+ /**
1852
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1853
+ */
1854
+ preview?: string;
1855
+ }
1856
+ ]
1857
+ | [
1858
+ {
1859
+ /**
1860
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1861
+ */
1862
+ label: string;
1863
+ /**
1864
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1865
+ */
1866
+ description: string;
1867
+ /**
1868
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1869
+ */
1870
+ preview?: string;
1871
+ },
1872
+ {
1873
+ /**
1874
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1875
+ */
1876
+ label: string;
1877
+ /**
1878
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1879
+ */
1880
+ description: string;
1881
+ /**
1882
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1883
+ */
1884
+ preview?: string;
1885
+ },
1886
+ {
1887
+ /**
1888
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1889
+ */
1890
+ label: string;
1891
+ /**
1892
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1893
+ */
1894
+ description: string;
1895
+ /**
1896
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1897
+ */
1898
+ preview?: string;
1899
+ }
1900
+ ]
1901
+ | [
1902
+ {
1903
+ /**
1904
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1905
+ */
1906
+ label: string;
1907
+ /**
1908
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1909
+ */
1910
+ description: string;
1911
+ /**
1912
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1913
+ */
1914
+ preview?: string;
1915
+ },
1916
+ {
1917
+ /**
1918
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1919
+ */
1920
+ label: string;
1921
+ /**
1922
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1923
+ */
1924
+ description: string;
1925
+ /**
1926
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1927
+ */
1928
+ preview?: string;
1929
+ },
1930
+ {
1931
+ /**
1932
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1933
+ */
1934
+ label: string;
1935
+ /**
1936
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1937
+ */
1938
+ description: string;
1939
+ /**
1940
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1941
+ */
1942
+ preview?: string;
1943
+ },
1944
+ {
1945
+ /**
1946
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1947
+ */
1948
+ label: string;
1949
+ /**
1950
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1951
+ */
1952
+ description: string;
1953
+ /**
1954
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1955
+ */
1956
+ preview?: string;
1957
+ }
1958
+ ];
1959
+ /**
1960
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
1961
+ */
1962
+ multiSelect: boolean;
1963
+ },
1964
+ {
1965
+ /**
1966
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
1967
+ */
1968
+ question: string;
1969
+ /**
1970
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
1971
+ */
1972
+ header: string;
1973
+ /**
1974
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
1975
+ *
1976
+ * @minItems 2
1977
+ * @maxItems 4
1978
+ */
1979
+ options:
1980
+ | [
1981
+ {
1982
+ /**
1983
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1984
+ */
1985
+ label: string;
1986
+ /**
1987
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
1988
+ */
1989
+ description: string;
1990
+ /**
1991
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
1992
+ */
1993
+ preview?: string;
1994
+ },
1995
+ {
1996
+ /**
1997
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
1998
+ */
1999
+ label: string;
2000
+ /**
2001
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2002
+ */
2003
+ description: string;
2004
+ /**
2005
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2006
+ */
2007
+ preview?: string;
2008
+ }
2009
+ ]
2010
+ | [
2011
+ {
2012
+ /**
2013
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2014
+ */
2015
+ label: string;
2016
+ /**
2017
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2018
+ */
2019
+ description: string;
2020
+ /**
2021
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2022
+ */
2023
+ preview?: string;
2024
+ },
2025
+ {
2026
+ /**
2027
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2028
+ */
2029
+ label: string;
2030
+ /**
2031
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2032
+ */
2033
+ description: string;
2034
+ /**
2035
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2036
+ */
2037
+ preview?: string;
2038
+ },
2039
+ {
2040
+ /**
2041
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2042
+ */
2043
+ label: string;
2044
+ /**
2045
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2046
+ */
2047
+ description: string;
2048
+ /**
2049
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2050
+ */
2051
+ preview?: string;
2052
+ }
2053
+ ]
2054
+ | [
2055
+ {
2056
+ /**
2057
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2058
+ */
2059
+ label: string;
2060
+ /**
2061
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2062
+ */
2063
+ description: string;
2064
+ /**
2065
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2066
+ */
2067
+ preview?: string;
2068
+ },
2069
+ {
2070
+ /**
2071
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2072
+ */
2073
+ label: string;
2074
+ /**
2075
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2076
+ */
2077
+ description: string;
2078
+ /**
2079
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2080
+ */
2081
+ preview?: string;
2082
+ },
2083
+ {
2084
+ /**
2085
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2086
+ */
2087
+ label: string;
2088
+ /**
2089
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2090
+ */
2091
+ description: string;
2092
+ /**
2093
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2094
+ */
2095
+ preview?: string;
2096
+ },
2097
+ {
2098
+ /**
2099
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2100
+ */
2101
+ label: string;
2102
+ /**
2103
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2104
+ */
2105
+ description: string;
2106
+ /**
2107
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2108
+ */
2109
+ preview?: string;
2110
+ }
2111
+ ];
2112
+ /**
2113
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
2114
+ */
2115
+ multiSelect: boolean;
2116
+ }
2117
+ ];
2118
+ /**
2119
+ * User answers collected by the permission component
2120
+ */
2121
+ answers?: {
2122
+ [k: string]: string;
2123
+ };
2124
+ /**
2125
+ * Optional per-question annotations from the user (e.g., notes on preview selections). Keyed by question text.
2126
+ */
2127
+ annotations?: {
2128
+ [k: string]: {
2129
+ /**
2130
+ * The preview content of the selected option, if the question used previews.
2131
+ */
2132
+ preview?: string;
2133
+ /**
2134
+ * Free-text notes the user added to their selection.
2135
+ */
2136
+ notes?: string;
2137
+ };
2138
+ };
2139
+ /**
2140
+ * Optional metadata for tracking and analytics purposes. Not displayed to user.
2141
+ */
2142
+ metadata?: {
2143
+ /**
2144
+ * Optional identifier for the source of this question (e.g., "remember" for /remember command). Used for analytics tracking.
2145
+ */
2146
+ source?: string;
2147
+ };
2148
+ }
2149
+ export interface EnterWorktreeInput {
2150
+ /**
2151
+ * Optional name for a new worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided. Mutually exclusive with `path`.
2152
+ */
2153
+ name?: string;
2154
+ /**
2155
+ * Path to an existing worktree of the current repository to switch into instead of creating a new one. Must appear in `git worktree list` for the current repo. Mutually exclusive with `name`.
2156
+ */
2157
+ path?: string;
2158
+ }
2159
+ export interface ExitWorktreeInput {
2160
+ /**
2161
+ * "keep" leaves the worktree and branch on disk; "remove" deletes both.
2162
+ */
2163
+ action: "keep" | "remove";
2164
+ /**
2165
+ * Required true when action is "remove" and the worktree has uncommitted files or unmerged commits. The tool will refuse and list them otherwise.
2166
+ */
2167
+ discard_changes?: boolean;
2168
+ }
2169
+ export interface BashOutput {
2170
+ /**
2171
+ * The standard output of the command
2172
+ */
2173
+ stdout: string;
2174
+ /**
2175
+ * The standard error output of the command
2176
+ */
2177
+ stderr: string;
2178
+ /**
2179
+ * Path to raw output file for large MCP tool outputs
2180
+ */
2181
+ rawOutputPath?: string;
2182
+ /**
2183
+ * Whether the command was interrupted
2184
+ */
2185
+ interrupted: boolean;
2186
+ /**
2187
+ * Flag to indicate if stdout contains image data
2188
+ */
2189
+ isImage?: boolean;
2190
+ /**
2191
+ * ID of the background task if command is running in background
2192
+ */
2193
+ backgroundTaskId?: string;
2194
+ /**
2195
+ * True if the user manually backgrounded the command with Ctrl+B
2196
+ */
2197
+ backgroundedByUser?: boolean;
2198
+ /**
2199
+ * True if assistant-mode auto-backgrounded a long-running blocking command
2200
+ */
2201
+ assistantAutoBackgrounded?: boolean;
2202
+ /**
2203
+ * Flag to indicate if sandbox mode was overridden
2204
+ */
2205
+ dangerouslyDisableSandbox?: boolean;
2206
+ /**
2207
+ * Semantic interpretation for non-error exit codes with special meaning
2208
+ */
2209
+ returnCodeInterpretation?: string;
2210
+ /**
2211
+ * Whether the command is expected to produce no output on success
2212
+ */
2213
+ noOutputExpected?: boolean;
2214
+ /**
2215
+ * Structured content blocks
2216
+ */
2217
+ structuredContent?: unknown[];
2218
+ /**
2219
+ * Path to the persisted full output in tool-results dir (set when output is too large for inline)
2220
+ */
2221
+ persistedOutputPath?: string;
2222
+ /**
2223
+ * Total size of the output in bytes (set when output is too large for inline)
2224
+ */
2225
+ persistedOutputSize?: number;
2226
+ /**
2227
+ * Model-facing note listing readFileState entries whose mtime bumped during this command (set when WRITE_COMMAND_MARKERS matches)
2228
+ */
2229
+ staleReadFileStateHint?: string;
2230
+ /**
2231
+ * Model-facing system-reminder appended when a gh command reports a GitHub API rate-limit error
2232
+ */
2233
+ ghRateLimitHint?: string;
2234
+ }
2235
+ export interface ExitPlanModeOutput {
2236
+ /**
2237
+ * The plan that was presented to the user
2238
+ */
2239
+ plan: string | null;
2240
+ isAgent: boolean;
2241
+ /**
2242
+ * The file path where the plan was saved
2243
+ */
2244
+ filePath?: string;
2245
+ /**
2246
+ * Whether the Agent tool is available in the current context
2247
+ */
2248
+ hasTaskTool?: boolean;
2249
+ /**
2250
+ * True when the user edited the plan (CCR web UI or Ctrl+G); determines whether the plan is echoed back in tool_result
2251
+ */
2252
+ planWasEdited?: boolean;
2253
+ /**
2254
+ * When true, the teammate has sent a plan approval request to the team leader
2255
+ */
2256
+ awaitingLeaderApproval?: boolean;
2257
+ /**
2258
+ * Unique identifier for the plan approval request
2259
+ */
2260
+ requestId?: string;
2261
+ }
2262
+ export interface FileEditOutput {
2263
+ /**
2264
+ * The file path that was edited
2265
+ */
2266
+ filePath: string;
2267
+ /**
2268
+ * The original string that was replaced
2269
+ */
2270
+ oldString: string;
2271
+ /**
2272
+ * The new string that replaced it
2273
+ */
2274
+ newString: string;
2275
+ /**
2276
+ * The original file contents before editing
2277
+ */
2278
+ originalFile: string | null;
2279
+ /**
2280
+ * Diff patch showing the changes
2281
+ */
2282
+ structuredPatch: {
2283
+ oldStart: number;
2284
+ oldLines: number;
2285
+ newStart: number;
2286
+ newLines: number;
2287
+ lines: string[];
2288
+ }[];
2289
+ /**
2290
+ * Whether the user modified the proposed changes
2291
+ */
2292
+ userModified: boolean;
2293
+ /**
2294
+ * Whether all occurrences were replaced
2295
+ */
2296
+ replaceAll: boolean;
2297
+ gitDiff?: {
2298
+ filename: string;
2299
+ status: "modified" | "added";
2300
+ additions: number;
2301
+ deletions: number;
2302
+ changes: number;
2303
+ patch: string;
2304
+ /**
2305
+ * GitHub owner/repo when available
2306
+ */
2307
+ repository?: string | null;
2308
+ };
2309
+ }
2310
+ export interface FileWriteOutput {
2311
+ /**
2312
+ * Whether a new file was created or an existing file was updated
2313
+ */
2314
+ type: "create" | "update";
2315
+ /**
2316
+ * The path to the file that was written
2317
+ */
2318
+ filePath: string;
2319
+ /**
2320
+ * The content that was written to the file
2321
+ */
2322
+ content: string;
2323
+ /**
2324
+ * Diff patch showing the changes
2325
+ */
2326
+ structuredPatch: {
2327
+ oldStart: number;
2328
+ oldLines: number;
2329
+ newStart: number;
2330
+ newLines: number;
2331
+ lines: string[];
2332
+ }[];
2333
+ /**
2334
+ * The original file content before the write (null for new files)
2335
+ */
2336
+ originalFile: string | null;
2337
+ gitDiff?: {
2338
+ filename: string;
2339
+ status: "modified" | "added";
2340
+ additions: number;
2341
+ deletions: number;
2342
+ changes: number;
2343
+ patch: string;
2344
+ /**
2345
+ * GitHub owner/repo when available
2346
+ */
2347
+ repository?: string | null;
2348
+ };
2349
+ /**
2350
+ * True when the user edited the proposed content in the permission dialog before accepting
2351
+ */
2352
+ userModified?: boolean;
2353
+ }
2354
+ export interface GlobOutput {
2355
+ /**
2356
+ * Time taken to execute the search in milliseconds
2357
+ */
2358
+ durationMs: number;
2359
+ /**
2360
+ * Total number of files found
2361
+ */
2362
+ numFiles: number;
2363
+ /**
2364
+ * Array of file paths that match the pattern
2365
+ */
2366
+ filenames: string[];
2367
+ /**
2368
+ * Whether results were truncated (limited to 100 files)
2369
+ */
2370
+ truncated: boolean;
2371
+ }
2372
+ export interface GrepOutput {
2373
+ mode?: "content" | "files_with_matches" | "count";
2374
+ numFiles: number;
2375
+ filenames: string[];
2376
+ content?: string;
2377
+ numLines?: number;
2378
+ numMatches?: number;
2379
+ appliedLimit?: number;
2380
+ appliedOffset?: number;
2381
+ }
2382
+ export interface TaskStopOutput {
2383
+ /**
2384
+ * Status message about the operation
2385
+ */
2386
+ message: string;
2387
+ /**
2388
+ * The ID of the task that was stopped
2389
+ */
2390
+ task_id: string;
2391
+ /**
2392
+ * The type of the task that was stopped
2393
+ */
2394
+ task_type: string;
2395
+ /**
2396
+ * The command or description of the stopped task
2397
+ */
2398
+ command?: string;
2399
+ }
2400
+ export interface NotebookEditOutput {
2401
+ /**
2402
+ * The new source code that was written to the cell
2403
+ */
2404
+ new_source: string;
2405
+ /**
2406
+ * The ID of the cell that was edited
2407
+ */
2408
+ cell_id?: string;
2409
+ /**
2410
+ * The type of the cell
2411
+ */
2412
+ cell_type: "code" | "markdown";
2413
+ /**
2414
+ * The programming language of the notebook
2415
+ */
2416
+ language: string;
2417
+ /**
2418
+ * The edit mode that was used
2419
+ */
2420
+ edit_mode: string;
2421
+ /**
2422
+ * Error message if the operation failed
2423
+ */
2424
+ error?: string;
2425
+ /**
2426
+ * The path to the notebook file
2427
+ */
2428
+ notebook_path: string;
2429
+ /**
2430
+ * The original notebook content before modification
2431
+ */
2432
+ original_file: string;
2433
+ /**
2434
+ * The updated notebook content after modification
2435
+ */
2436
+ updated_file: string;
2437
+ }
2438
+ export interface ReadMcpResourceOutput {
2439
+ contents: {
2440
+ /**
2441
+ * Resource URI
2442
+ */
2443
+ uri: string;
2444
+ /**
2445
+ * MIME type of the content
2446
+ */
2447
+ mimeType?: string;
2448
+ /**
2449
+ * Text content of the resource
2450
+ */
2451
+ text?: string;
2452
+ /**
2453
+ * Path where binary blob content was saved
2454
+ */
2455
+ blobSavedTo?: string;
2456
+ }[];
2457
+ }
2458
+ export interface TodoWriteOutput {
2459
+ /**
2460
+ * The todo list before the update
2461
+ */
2462
+ oldTodos: {
2463
+ content: string;
2464
+ status: "pending" | "in_progress" | "completed";
2465
+ activeForm: string;
2466
+ }[];
2467
+ /**
2468
+ * The todo list after the update
2469
+ */
2470
+ newTodos: {
2471
+ content: string;
2472
+ status: "pending" | "in_progress" | "completed";
2473
+ activeForm: string;
2474
+ }[];
2475
+ }
2476
+ export interface WebFetchOutput {
2477
+ /**
2478
+ * Size of the fetched content in bytes
2479
+ */
2480
+ bytes: number;
2481
+ /**
2482
+ * HTTP response code
2483
+ */
2484
+ code: number;
2485
+ /**
2486
+ * HTTP response code text
2487
+ */
2488
+ codeText: string;
2489
+ /**
2490
+ * Processed result from applying the prompt to the content
2491
+ */
2492
+ result: string;
2493
+ /**
2494
+ * Time taken to fetch and process the content
2495
+ */
2496
+ durationMs: number;
2497
+ /**
2498
+ * The URL that was fetched
2499
+ */
2500
+ url: string;
2501
+ }
2502
+ export interface WebSearchOutput {
2503
+ /**
2504
+ * The search query that was executed
2505
+ */
2506
+ query: string;
2507
+ /**
2508
+ * Search results and/or text commentary from the model
2509
+ */
2510
+ results: (
2511
+ | {
2512
+ /**
2513
+ * ID of the tool use
2514
+ */
2515
+ tool_use_id: string;
2516
+ /**
2517
+ * Array of search hits
2518
+ */
2519
+ content: {
2520
+ /**
2521
+ * The title of the search result
2522
+ */
2523
+ title: string;
2524
+ /**
2525
+ * The URL of the search result
2526
+ */
2527
+ url: string;
2528
+ }[];
2529
+ }
2530
+ | string
2531
+ )[];
2532
+ /**
2533
+ * Time taken to complete the search operation
2534
+ */
2535
+ durationSeconds: number;
2536
+ }
2537
+ export interface AskUserQuestionOutput {
2538
+ /**
2539
+ * The questions that were asked
2540
+ */
2541
+ questions: {
2542
+ /**
2543
+ * The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
2544
+ */
2545
+ question: string;
2546
+ /**
2547
+ * Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
2548
+ */
2549
+ header: string;
2550
+ /**
2551
+ * The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
2552
+ *
2553
+ * @minItems 2
2554
+ * @maxItems 4
2555
+ */
2556
+ options:
2557
+ | [
2558
+ {
2559
+ /**
2560
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2561
+ */
2562
+ label: string;
2563
+ /**
2564
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2565
+ */
2566
+ description: string;
2567
+ /**
2568
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2569
+ */
2570
+ preview?: string;
2571
+ },
2572
+ {
2573
+ /**
2574
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2575
+ */
2576
+ label: string;
2577
+ /**
2578
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2579
+ */
2580
+ description: string;
2581
+ /**
2582
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2583
+ */
2584
+ preview?: string;
2585
+ }
2586
+ ]
2587
+ | [
2588
+ {
2589
+ /**
2590
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2591
+ */
2592
+ label: string;
2593
+ /**
2594
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2595
+ */
2596
+ description: string;
2597
+ /**
2598
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2599
+ */
2600
+ preview?: string;
2601
+ },
2602
+ {
2603
+ /**
2604
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2605
+ */
2606
+ label: string;
2607
+ /**
2608
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2609
+ */
2610
+ description: string;
2611
+ /**
2612
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2613
+ */
2614
+ preview?: string;
2615
+ },
2616
+ {
2617
+ /**
2618
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2619
+ */
2620
+ label: string;
2621
+ /**
2622
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2623
+ */
2624
+ description: string;
2625
+ /**
2626
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2627
+ */
2628
+ preview?: string;
2629
+ }
2630
+ ]
2631
+ | [
2632
+ {
2633
+ /**
2634
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2635
+ */
2636
+ label: string;
2637
+ /**
2638
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2639
+ */
2640
+ description: string;
2641
+ /**
2642
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2643
+ */
2644
+ preview?: string;
2645
+ },
2646
+ {
2647
+ /**
2648
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2649
+ */
2650
+ label: string;
2651
+ /**
2652
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2653
+ */
2654
+ description: string;
2655
+ /**
2656
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2657
+ */
2658
+ preview?: string;
2659
+ },
2660
+ {
2661
+ /**
2662
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2663
+ */
2664
+ label: string;
2665
+ /**
2666
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2667
+ */
2668
+ description: string;
2669
+ /**
2670
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2671
+ */
2672
+ preview?: string;
2673
+ },
2674
+ {
2675
+ /**
2676
+ * The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
2677
+ */
2678
+ label: string;
2679
+ /**
2680
+ * Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
2681
+ */
2682
+ description: string;
2683
+ /**
2684
+ * Optional preview content rendered when this option is focused. Use for mockups, code snippets, or visual comparisons that help users compare options. See the tool description for the expected content format.
2685
+ */
2686
+ preview?: string;
2687
+ }
2688
+ ];
2689
+ /**
2690
+ * Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
2691
+ */
2692
+ multiSelect: boolean;
2693
+ }[];
2694
+ /**
2695
+ * The answers provided by the user (question text -> answer string; multi-select answers are comma-separated)
2696
+ */
2697
+ answers: {
2698
+ [k: string]: string;
2699
+ };
2700
+ /**
2701
+ * Optional per-question annotations from the user (e.g., notes on preview selections). Keyed by question text.
2702
+ */
2703
+ annotations?: {
2704
+ [k: string]: {
2705
+ /**
2706
+ * The preview content of the selected option, if the question used previews.
2707
+ */
2708
+ preview?: string;
2709
+ /**
2710
+ * Free-text notes the user added to their selection.
2711
+ */
2712
+ notes?: string;
2713
+ };
2714
+ };
2715
+ }
2716
+ export interface EnterWorktreeOutput {
2717
+ worktreePath: string;
2718
+ worktreeBranch?: string;
2719
+ message: string;
2720
+ }
2721
+ export interface ExitWorktreeOutput {
2722
+ action: "keep" | "remove";
2723
+ originalCwd: string;
2724
+ worktreePath: string;
2725
+ worktreeBranch?: string;
2726
+ tmuxSessionName?: string;
2727
+ discardedFiles?: number;
2728
+ discardedCommits?: number;
2729
+ message: string;
2730
+ }