@animus-ui/cli 0.1.11 → 0.1.13

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/index.d.ts CHANGED
@@ -1,25 +1,14 @@
1
- /**
2
- * `animus` — the standalone extraction CLI (openspec:
3
- * standalone-extraction-cli).
4
- *
5
- * Contract (design D5): stdout carries machine output ONLY (today: the
6
- * `--print-config` JSON projection); every human-facing line goes to
7
- * stderr. Exit taxonomy: 0 success · 1 extraction/strict failure · 2
8
- * config/usage error · 3 engine/environment failure.
9
- *
10
- * UNSTABLE MODULE SURFACE: the package's programmatic exports (`main`,
11
- * `exitCodeFor`, the EXIT_* constants) exist for the repo's own lanes and
12
- * tests; the supported consumer surface is the `animus` binary. The module
13
- * API may change without semver ceremony until a consumer contract ships
14
- * (standalone-extraction-cli inc 07).
15
- */
1
+ /** The supported consumer surface is the `animus` binary; the programmatic
2
+ * exports may change without semver ceremony. */
16
3
  export declare const EXIT_OK = 0;
17
4
  export declare const EXIT_EXTRACTION = 1;
18
5
  export declare const EXIT_USAGE = 2;
19
6
  export declare const EXIT_ENVIRONMENT = 3;
20
- /** Classify an error into the documented exit taxonomy. ExtractionFailure
21
- * and unclassified errors deliberately share the extraction exit class —
22
- * an unknown throw during a build IS a failed extraction to a supervisor. */
23
- export declare function exitCodeFor(error: unknown): number;
7
+ /** Nothing in this module returns it: `bin/animus.mjs` decides the install
8
+ * failure class, since this module is the one that did not load. */
9
+ export declare const EXIT_INSTALL = 4;
10
+ /** Unclassified throws share the extraction class: an unknown throw during
11
+ * a build is a failed extraction to a supervisor. */
12
+ export declare function exitCodeFor<Thrown>(error: Thrown): number;
24
13
  export declare function main(argv?: string[]): Promise<void>;
25
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,eAAO,MAAM,OAAO,IAAI,CAAC;AACzB,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,gBAAgB,IAAI,CAAC;AA6BlC;;8EAE8E;AAC9E,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAMlD;AAED,wBAAsB,IAAI,CACxB,IAAI,GAAE,MAAM,EAA0B,GACrC,OAAO,CAAC,IAAI,CAAC,CAkFf"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;kDACkD;AAalD,eAAO,MAAM,OAAO,IAAI,CAAC;AACzB,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAClC;qEACqE;AACrE,eAAO,MAAM,YAAY,IAAI,CAAC;AAmD9B;sDACsD;AACtD,wBAAgB,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAMzD;AAQD,wBAAsB,IAAI,CACxB,IAAI,GAAE,MAAM,EAA0B,GACrC,OAAO,CAAC,IAAI,CAAC,CA0Ff"}