@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.
package/README.md CHANGED
@@ -34,7 +34,7 @@ noir init # scaffolds .noir/ + host wiring + skills where suppo
34
34
 
35
35
  ## Commands
36
36
 
37
- `noir` (home menu / `status --json`), `status [--json]`, `init`, `create [dir]`, `sync`, `run [prompt...]`, `release [version]`, `mcp serve [--stdio]`, `daemon {start|stop|status|restart}`, `context {search|index|status}`, `memory {recall|save|sessions|forget|consolidate}`, `skills {list|sync|lint|registry}`, `task {new|status|advance|next|decompose|verify|research|research-record|resume|block|abandon}`, `handoff [--write]`, `wrap [--write]`, `install|migrate`, `update`, `tui`, `palette`, `doctor`.
37
+ `noir` (home menu / `status --json`), `status [--json]`, `init`, `create [dir]`, `sync`, `env`, `run [prompt...]`, `release [version]`, `mcp serve [--stdio]`, `daemon {start|join|stop|status|restart|token}`, `workspace {list|status|leave|stop}`, `context {search|index|status}`, `memory {recall|save|capture|sessions|forget|consolidate}`, `skills {list|sync|lint|registry}`, `task {new|status|advance|next|decompose|verify|research|research-record|resume|block|abandon}`, `handoff [--write]`, `wrap [--write]`, `install|migrate`, `update`, `tui`, `palette`, `doctor`.
38
38
 
39
39
  Global flags: `--json`, `--no-input`, `--quiet`, `--verbose`, `--cwd`. Data → stdout, diagnostics → stderr. Exit codes: `0` ok · `1` error · `2` usage · `3` not-found · `4` daemon-down · `5` cancelled.
40
40
 
@@ -47,6 +47,6 @@ This package is the CLI shell. Noir is a pnpm monorepo of 11 `@noir-ai/*` packag
47
47
  - **Command reference:** [docs/reference/cli.md](../../docs/reference/cli.md)
48
48
  - **Config schema:** [docs/reference/config.md](../../docs/reference/config.md)
49
49
  - **Roadmap & status:** [docs/roadmap/](../../docs/roadmap/)
50
- - **Releasing (npm token + provenance):** [docs/releasing.md](../../docs/how-to/releasing.md)
50
+ - **Releasing (npm token + provenance):** [docs/how-to/releasing.md](../../docs/how-to/releasing.md)
51
51
 
52
52
  MIT © agaaaptr
package/dist/bin.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Command } from 'commander';
2
- import { C as CliOptions } from './output-BNE9htEm.js';
3
- export { E as EXIT, N as NoirCliError, f as fail, i as inferExitCode } from './output-BNE9htEm.js';
2
+ import { C as CliOptions } from './output-2T2lGR7a.js';
3
+ export { E as EXIT, N as NoirCliError, f as fail, i as inferExitCode } from './output-2T2lGR7a.js';
4
4
 
5
5
  /**
6
6
  * A palette entry projecting a leaf `noir` subcommand for the TUI palette.
@@ -28,10 +28,17 @@ interface PaletteCommand {
28
28
  * uses this to require confirmation before dispatch.
29
29
  */
30
30
  readonly destructive: boolean;
31
+ /**
32
+ * The command cannot run without a value on the command line — this is the
33
+ * short label of that value ('query', 'name', 'prompt'), used as the
34
+ * placeholder while the palette collects it inline. Undefined for commands
35
+ * that run bare.
36
+ */
37
+ readonly needsArg?: string;
31
38
  }
32
39
 
33
40
  /**
34
- * The TUI palette source (B3). Walks a FRESH {@link createProgram} at `noir tui`
41
+ * The TUI palette source. Walks a FRESH {@link createProgram} at `noir tui`
35
42
  * launch and projects every leaf subcommand into a {@link PaletteCommand}.
36
43
  * Defined here (not in the tui) so the palette derives from the REAL command
37
44
  * tree without the tui graph importing the bin (which would be circular).