@quireco/cli 0.0.1 → 0.0.3
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 +21 -0
- package/dist/chunk-Vs_PY4HZ.mjs +37 -0
- package/dist/cli-6V12Qvge.mjs +47354 -0
- package/dist/dist-CF5hqugO.mjs +833 -0
- package/dist/index.d.mts +22 -0
- package/dist/index.mjs +2 -0
- package/dist/quire.d.mts +1 -0
- package/dist/quire.mjs +6 -0
- package/package.json +7 -6
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as _$citty from "citty";
|
|
2
|
+
import { CommandDef } from "citty";
|
|
3
|
+
|
|
4
|
+
//#region src/cli.d.ts
|
|
5
|
+
declare const cli: CommandDef<_$citty.ArgsDef>;
|
|
6
|
+
declare function main(rawArgs?: string[]): Promise<void>;
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/exit-codes.d.ts
|
|
9
|
+
declare const ExitCode: {
|
|
10
|
+
readonly Success: 0;
|
|
11
|
+
readonly InternalError: 1;
|
|
12
|
+
readonly InvalidInput: 2;
|
|
13
|
+
readonly AuthFailure: 10;
|
|
14
|
+
readonly NetworkFailure: 11;
|
|
15
|
+
};
|
|
16
|
+
type ExitCodeValue = (typeof ExitCode)[keyof typeof ExitCode];
|
|
17
|
+
declare class CliError extends Error {
|
|
18
|
+
readonly exitCode: ExitCodeValue;
|
|
19
|
+
constructor(message: string, exitCode?: ExitCodeValue);
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { CliError, ExitCode, cli, main };
|
package/dist/index.mjs
ADDED
package/dist/quire.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/quire.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quireco/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Triage and investigation CLI for Quire.",
|
|
5
5
|
"homepage": "https://github.com/quireco/quire-mono#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "apps/cli"
|
|
15
15
|
},
|
|
16
16
|
"bin": {
|
|
17
|
-
"quire": "
|
|
17
|
+
"quire": "dist/quire.mjs"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist"
|
|
@@ -29,17 +29,18 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "vp pack && node scripts/prepare-package-json.mjs",
|
|
32
|
+
"build": "vp pack && node scripts/prepare-package-json.mjs && node scripts/verify-package.mjs",
|
|
33
33
|
"dev": "vp pack --watch",
|
|
34
34
|
"quire": "node dist/quire.mjs",
|
|
35
35
|
"test": "vp test",
|
|
36
36
|
"check": "vp check",
|
|
37
|
-
"prepublishOnly": "vp
|
|
37
|
+
"prepublishOnly": "vp check && node scripts/verify-package.mjs"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
40
|
+
"@earendil-works/pi-ai": "^0.74.0",
|
|
41
|
+
"@earendil-works/pi-coding-agent": "^0.74.0",
|
|
42
42
|
"@sinclair/typebox": "^0.34.49",
|
|
43
|
+
"agent-browser": "^0.27.0",
|
|
43
44
|
"citty": "^0.2.2"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|