@noir-ai/cli 1.14.0 → 1.15.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ declare const EXIT: {
7
7
  readonly CANCELLED: 5;
8
8
  };
9
9
  /**
10
- * Application-level CLI error carrying an S9 exit code. Thrown directly by
10
+ * Application-level CLI error carrying a contracted exit code. Thrown directly by
11
11
  * bin.ts for legacy usage paths; `fail()` is the ergonomic throw helper.
12
12
  * `inferExitCode` / `handleError` map it onto `process.exitCode`.
13
13
  */
@@ -34,14 +34,14 @@ interface CliOptions {
34
34
  readonly noTips?: boolean;
35
35
  }
36
36
  /**
37
- * Write a diagnostic and throw a `CommanderError` carrying the S9 exit code,
37
+ * Write a diagnostic and throw a `CommanderError` carrying the given exit code,
38
38
  * so bin.ts's `exitOverride` + `handleError` surface it as `process.exitCode`
39
39
  * without any mid-action `process.exit`. Under `--json` the message becomes a
40
40
  * structured `{ok:false,error}` envelope on STDOUT; otherwise plain text on
41
41
  * STDERR. Always throws (`never`).
42
42
  */
43
43
  declare function fail(exitCode: number, message: string, opts?: CliOptions): never;
44
- /** Map any thrown value onto the S9 exit-code contract. */
44
+ /** Map any thrown value onto the CLI exit-code contract. */
45
45
  declare function inferExitCode(err: unknown): number;
46
46
 
47
47
  export { type CliOptions as C, EXIT as E, NoirCliError as N, fail as f, inferExitCode as i };