@oscharko-dev/test-intelligence 0.0.1-beta.0 → 0.1.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/CODE_OF_CONDUCT.md +22 -0
- package/CONTRIBUTING.md +38 -0
- package/GOVERNANCE.md +36 -0
- package/LICENSE +199 -0
- package/NOTICE +12 -0
- package/README.md +71 -10
- package/SECURITY.md +64 -0
- package/SUPPORT.md +18 -0
- package/dist/cli.cjs +66559 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +31 -0
- package/dist/cli.d.ts +31 -0
- package/dist/cli.js +66532 -0
- package/dist/cli.js.map +1 -0
- package/dist/contracts/index.cjs +2087 -0
- package/dist/contracts/index.cjs.map +1 -0
- package/dist/contracts/index.d.cts +1 -0
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.js +1665 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/index.cjs +1255 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +252 -0
- package/dist/index.d.ts +252 -0
- package/dist/index.js +1250 -0
- package/dist/index.js.map +1 -0
- package/dist/server-entrypoint.cjs +1645 -0
- package/dist/server-entrypoint.cjs.map +1 -0
- package/dist/server-entrypoint.d.cts +102 -0
- package/dist/server-entrypoint.d.ts +102 -0
- package/dist/server-entrypoint.js +1637 -0
- package/dist/server-entrypoint.js.map +1 -0
- package/package.json +156 -9
- package/index.js +0 -8
package/dist/cli.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Command-line entry point for `@oscharko-dev/test-intelligence`.
|
|
4
|
+
*
|
|
5
|
+
* Dispatches the flat operator command surface that the standalone product
|
|
6
|
+
* exposes. Each command owns its argument parser, sink, and exit-code
|
|
7
|
+
* semantics; this module is a thin router that selects the handler, prints
|
|
8
|
+
* help, and converts handler-thrown operator errors into a sanitized
|
|
9
|
+
* `error: <message>` line on stderr with exit code 1.
|
|
10
|
+
*/
|
|
11
|
+
interface CommandSink {
|
|
12
|
+
readonly stdout: (chunk: string) => void;
|
|
13
|
+
readonly stderr: (chunk: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Top-level help text shown for `test-intelligence --help`, `-h`, `help`,
|
|
17
|
+
* and when invoked with no arguments. Lists every command in stable groups
|
|
18
|
+
* so operators can scan it without secondary lookups.
|
|
19
|
+
*/
|
|
20
|
+
declare const TEST_INTELLIGENCE_TOP_LEVEL_HELP: string;
|
|
21
|
+
/**
|
|
22
|
+
* Dispatch a single CLI invocation to the matching command handler.
|
|
23
|
+
*
|
|
24
|
+
* Returns the exit code the host process should adopt. Operator errors are
|
|
25
|
+
* caught per-command and converted to exit code 1; other errors propagate to
|
|
26
|
+
* the caller so that crashes surface a stack trace under
|
|
27
|
+
* `--unhandled-rejection` mode.
|
|
28
|
+
*/
|
|
29
|
+
declare const runCli: (argv: ReadonlyArray<string>, sink?: CommandSink) => Promise<number>;
|
|
30
|
+
|
|
31
|
+
export { TEST_INTELLIGENCE_TOP_LEVEL_HELP, runCli };
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Command-line entry point for `@oscharko-dev/test-intelligence`.
|
|
4
|
+
*
|
|
5
|
+
* Dispatches the flat operator command surface that the standalone product
|
|
6
|
+
* exposes. Each command owns its argument parser, sink, and exit-code
|
|
7
|
+
* semantics; this module is a thin router that selects the handler, prints
|
|
8
|
+
* help, and converts handler-thrown operator errors into a sanitized
|
|
9
|
+
* `error: <message>` line on stderr with exit code 1.
|
|
10
|
+
*/
|
|
11
|
+
interface CommandSink {
|
|
12
|
+
readonly stdout: (chunk: string) => void;
|
|
13
|
+
readonly stderr: (chunk: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Top-level help text shown for `test-intelligence --help`, `-h`, `help`,
|
|
17
|
+
* and when invoked with no arguments. Lists every command in stable groups
|
|
18
|
+
* so operators can scan it without secondary lookups.
|
|
19
|
+
*/
|
|
20
|
+
declare const TEST_INTELLIGENCE_TOP_LEVEL_HELP: string;
|
|
21
|
+
/**
|
|
22
|
+
* Dispatch a single CLI invocation to the matching command handler.
|
|
23
|
+
*
|
|
24
|
+
* Returns the exit code the host process should adopt. Operator errors are
|
|
25
|
+
* caught per-command and converted to exit code 1; other errors propagate to
|
|
26
|
+
* the caller so that crashes surface a stack trace under
|
|
27
|
+
* `--unhandled-rejection` mode.
|
|
28
|
+
*/
|
|
29
|
+
declare const runCli: (argv: ReadonlyArray<string>, sink?: CommandSink) => Promise<number>;
|
|
30
|
+
|
|
31
|
+
export { TEST_INTELLIGENCE_TOP_LEVEL_HELP, runCli };
|