@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.
@@ -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
@@ -0,0 +1,2 @@
1
+ import { i as ExitCode, n as main, r as CliError, t as cli } from "./cli-6V12Qvge.mjs";
2
+ export { CliError, ExitCode, cli, main };
@@ -0,0 +1 @@
1
+ export { };
package/dist/quire.mjs ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { n as main } from "./cli-6V12Qvge.mjs";
3
+ //#region bin/quire.ts
4
+ await main();
5
+ //#endregion
6
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quireco/cli",
3
- "version": "0.0.1",
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": "./dist/quire.mjs"
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 run build"
37
+ "prepublishOnly": "vp check && node scripts/verify-package.mjs"
38
38
  },
39
39
  "dependencies": {
40
- "@mariozechner/pi-ai": "^0.73.0",
41
- "@mariozechner/pi-coding-agent": "^0.73.0",
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": {