@oss-autopilot/core 0.44.0 → 0.44.2

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.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * CLI Command Registry
3
+ *
4
+ * All CLI command definitions live here as a flat array of CLICommandDef objects.
5
+ * Each command declares its name, localOnly flag (skip GitHub token check), and
6
+ * a register function that wires up the Commander command with display logic.
7
+ *
8
+ * Heavy command modules are lazy-loaded via dynamic import() in action handlers
9
+ * so that only the invoked command's dependencies are evaluated.
10
+ */
11
+ import type { Command } from 'commander';
12
+ interface CLICommandDef {
13
+ /** Command name (used to build the local-only set for the preAction hook). */
14
+ name: string;
15
+ /** If true, skip the preAction GitHub token check. */
16
+ localOnly?: boolean;
17
+ /** Register this command on the given Commander program. */
18
+ register(program: Command): void;
19
+ }
20
+ export declare const commands: CLICommandDef[];
21
+ export {};