codebase-snapshot 0.9.1 → 0.9.5

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/dist/cli.d.cts CHANGED
@@ -1,11 +1,19 @@
1
1
  import { O as OutputFormat, D as DiscoveryMode } from './types-Ca4PmkiQ.cjs';
2
2
 
3
- type Command = "generate" | "validate" | "report" | "init" | "setup" | "explain" | "diff" | "describe" | "skill";
3
+ type Command = "generate" | "validate" | "report" | "init" | "setup" | "explain" | "diff" | "describe" | "skill" | "mcp";
4
4
  /** A user-input problem: printed without a stack trace, exits 2. */
5
5
  declare class UsageError extends Error {
6
6
  }
7
7
  interface ParsedInvocation {
8
8
  command: Command;
9
+ /**
10
+ * True when the command was named on the command line rather than defaulted to.
11
+ *
12
+ * `snapshot` alone is the guided entry point: in an unconfigured project it sets the
13
+ * project up. `snapshot generate` names the command, which means "do exactly this" — and
14
+ * that path keeps behaving as it always has, on the built-in defaults.
15
+ */
16
+ explicitCommand: boolean;
9
17
  /** Positional arguments that follow the command name. */
10
18
  args: string[];
11
19
  format: OutputFormat;
@@ -20,6 +28,8 @@ interface ParsedInvocation {
20
28
  exclude?: string;
21
29
  yes: boolean;
22
30
  force: boolean;
31
+ /** `generate` only: set the project up without prompting, then generate. */
32
+ autopilot: boolean;
23
33
  /** `setup` only: skip the dependency install. */
24
34
  noInstall: boolean;
25
35
  /** `skill` only: write the skill into the repository instead of printing it. */
package/dist/cli.d.ts CHANGED
@@ -1,11 +1,19 @@
1
1
  import { O as OutputFormat, D as DiscoveryMode } from './types-Ca4PmkiQ.js';
2
2
 
3
- type Command = "generate" | "validate" | "report" | "init" | "setup" | "explain" | "diff" | "describe" | "skill";
3
+ type Command = "generate" | "validate" | "report" | "init" | "setup" | "explain" | "diff" | "describe" | "skill" | "mcp";
4
4
  /** A user-input problem: printed without a stack trace, exits 2. */
5
5
  declare class UsageError extends Error {
6
6
  }
7
7
  interface ParsedInvocation {
8
8
  command: Command;
9
+ /**
10
+ * True when the command was named on the command line rather than defaulted to.
11
+ *
12
+ * `snapshot` alone is the guided entry point: in an unconfigured project it sets the
13
+ * project up. `snapshot generate` names the command, which means "do exactly this" — and
14
+ * that path keeps behaving as it always has, on the built-in defaults.
15
+ */
16
+ explicitCommand: boolean;
9
17
  /** Positional arguments that follow the command name. */
10
18
  args: string[];
11
19
  format: OutputFormat;
@@ -20,6 +28,8 @@ interface ParsedInvocation {
20
28
  exclude?: string;
21
29
  yes: boolean;
22
30
  force: boolean;
31
+ /** `generate` only: set the project up without prompting, then generate. */
32
+ autopilot: boolean;
23
33
  /** `setup` only: skip the dependency install. */
24
34
  noInstall: boolean;
25
35
  /** `skill` only: write the skill into the repository instead of printing it. */