@animus-ui/cli 0.1.11
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 +75 -0
- package/bin/animus.mjs +5 -0
- package/dist/build.d.ts +62 -0
- package/dist/build.d.ts.map +1 -0
- package/dist/config.d.ts +50 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/index.cjs +760 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +754 -0
- package/dist/watch.d.ts +70 -0
- package/dist/watch.d.ts.map +1 -0
- package/dist/writer.d.ts +59 -0
- package/dist/writer.d.ts.map +1 -0
- package/package.json +49 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const EXIT_OK = 0;
|
|
17
|
+
export declare const EXIT_EXTRACTION = 1;
|
|
18
|
+
export declare const EXIT_USAGE = 2;
|
|
19
|
+
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;
|
|
24
|
+
export declare function main(argv?: string[]): Promise<void>;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|