Elffuss BraidHub

kikocis/continue public

main · 1.1 KiBRawPermalink
1/**
2 * Base interface for command options that are shared across multiple commands
3 * Uses command-line flag names for direct compatibility
4 */
5export interface BaseCommandOptions {
6 /** Path to configuration file (--config) */
7 config?: string;
8 /** Organization slug to use for this session (--org) */
9 org?: string;
10 /** Array of rule specifications (--rule) */
11 rule?: string[];
12 /** Array of MCP server slugs from the hub (--mcp) */
13 mcp?: string[];
14 /** Array of model slugs from the hub (--model) */
15 model?: string[];
16 /** Array of prompt slugs from the hub (--prompt) */
17 prompt?: string[];
18 /** Array of tools to allow (--allow) */
19 allow?: string[];
20 /** Array of tools to ask permission for (--ask) */
21 ask?: string[];
22 /** Array of tools to exclude from use (--exclude) */
23 exclude?: string[];
24}
25
26/**
27 * Extended base options that include verbose and tool control flags
28 */
29export interface ExtendedCommandOptions extends BaseCommandOptions {
30 /** Enable verbose logging */
31 verbose?: boolean;
32 /** Start in plan mode (backward compatibility) */
33 readonly?: boolean;
34 /** Start in auto mode (all tools allowed) */
35 auto?: boolean;
36}