@limetry/cli 1.2.54 → 1.2.57

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.
Files changed (42) hide show
  1. package/README.md +3 -0
  2. package/dist/commands/auth/login.d.ts +27 -0
  3. package/dist/commands/auth/login.d.ts.map +1 -0
  4. package/dist/commands/auth/login.js +66 -0
  5. package/dist/commands/auth/login.js.map +1 -0
  6. package/dist/commands/governance/index.d.ts +97 -0
  7. package/dist/commands/governance/index.d.ts.map +1 -0
  8. package/dist/commands/governance/index.js +286 -0
  9. package/dist/commands/governance/index.js.map +1 -0
  10. package/dist/commands/setup/index.d.ts +23 -0
  11. package/dist/commands/setup/index.d.ts.map +1 -0
  12. package/dist/commands/setup/index.js +114 -0
  13. package/dist/commands/setup/index.js.map +1 -0
  14. package/dist/commands/token/create.d.ts +34 -0
  15. package/dist/commands/token/create.d.ts.map +1 -0
  16. package/dist/commands/token/create.js +74 -0
  17. package/dist/commands/token/create.js.map +1 -0
  18. package/dist/commands/token/list.d.ts +13 -0
  19. package/dist/commands/token/list.d.ts.map +1 -0
  20. package/dist/commands/token/list.js +53 -0
  21. package/dist/commands/token/list.js.map +1 -0
  22. package/dist/commands/token/revoke.d.ts +14 -0
  23. package/dist/commands/token/revoke.d.ts.map +1 -0
  24. package/dist/commands/token/revoke.js +48 -0
  25. package/dist/commands/token/revoke.js.map +1 -0
  26. package/dist/commands/token/scope.d.ts +16 -0
  27. package/dist/commands/token/scope.d.ts.map +1 -0
  28. package/dist/commands/token/scope.js +35 -0
  29. package/dist/commands/token/scope.js.map +1 -0
  30. package/dist/index.d.ts +11 -0
  31. package/dist/index.d.ts.map +1 -0
  32. package/dist/index.js +116 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/utils/config.d.ts +92 -0
  35. package/dist/utils/config.d.ts.map +1 -0
  36. package/dist/utils/config.js +119 -0
  37. package/dist/utils/config.js.map +1 -0
  38. package/dist/utils/errors.d.ts +44 -0
  39. package/dist/utils/errors.d.ts.map +1 -0
  40. package/dist/utils/errors.js +143 -0
  41. package/dist/utils/errors.js.map +1 -0
  42. package/package.json +2 -2
@@ -0,0 +1,119 @@
1
+ /**
2
+ * Local CLI config I/O, interactive prompts, and console logging helpers.
3
+ *
4
+ * Config path: `~/.limetry/config.json`.
5
+ */
6
+ import chalk from "chalk";
7
+ import { readFileSync, writeFileSync } from "fs";
8
+ import inquirer from "inquirer";
9
+ import { homedir } from "os";
10
+ import { join } from "path";
11
+ const CONFIG_PATH = join(homedir(), ".limetry", "config.json");
12
+ /**
13
+ * Reads `~/.limetry/config.json` when present.
14
+ *
15
+ * @returns Parsed {@link CliConfig}, or `null` when missing or unreadable.
16
+ */
17
+ export function getConfig() {
18
+ try {
19
+ const content = readFileSync(CONFIG_PATH, "utf-8");
20
+ return JSON.parse(content);
21
+ }
22
+ catch {
23
+ return null;
24
+ }
25
+ }
26
+ /**
27
+ * Writes CLI config to `~/.limetry/config.json`.
28
+ *
29
+ * Side effects: overwrites the config file; logs to stderr on write failure.
30
+ *
31
+ * @param config - Full config object to persist.
32
+ * @returns Nothing.
33
+ */
34
+ export function saveConfig(config) {
35
+ try {
36
+ writeFileSync(CONFIG_PATH, JSON.stringify(config, null, 2));
37
+ }
38
+ catch (error) {
39
+ console.error("Failed to save config:", error);
40
+ }
41
+ }
42
+ /**
43
+ * Interactively prompts for an email address.
44
+ *
45
+ * @returns Validated email string from the user.
46
+ */
47
+ export async function promptForEmail() {
48
+ const answers = await inquirer.prompt([
49
+ {
50
+ type: "input",
51
+ name: "email",
52
+ message: "Enter your email:",
53
+ validate: (input) => {
54
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(input) || "Invalid email";
55
+ },
56
+ },
57
+ ]);
58
+ return answers.email;
59
+ }
60
+ /**
61
+ * Interactively prompts for a password (masked).
62
+ *
63
+ * @returns Password string from the user.
64
+ */
65
+ export async function promptForPassword() {
66
+ const answers = await inquirer.prompt([
67
+ {
68
+ type: "password",
69
+ name: "password",
70
+ message: "Enter your password:",
71
+ mask: "*",
72
+ },
73
+ ]);
74
+ return answers.password;
75
+ }
76
+ /**
77
+ * Prints a green success line to stdout.
78
+ *
79
+ * @param message - Message body after the checkmark.
80
+ * @returns Nothing.
81
+ */
82
+ export function logSuccess(message) {
83
+ console.log(chalk.green(`✓ ${message}`));
84
+ }
85
+ /**
86
+ * Prints a red error line to stderr.
87
+ *
88
+ * @param message - Message body after the cross mark.
89
+ * @returns Nothing.
90
+ */
91
+ export function logError(message) {
92
+ console.error(chalk.red(`✗ ${message}`));
93
+ }
94
+ /**
95
+ * Prints a blue info line to stdout.
96
+ *
97
+ * @param message - Message body after the info mark.
98
+ * @returns Nothing.
99
+ */
100
+ export function logInfo(message) {
101
+ console.log(chalk.blue(`ℹ ${message}`));
102
+ }
103
+ /**
104
+ * Loads config or exits the process when not authenticated.
105
+ *
106
+ * Side effects: prints an error and calls `process.exit(1)` when config is missing.
107
+ *
108
+ * @returns Loaded {@link CliConfig}.
109
+ * @throws Never returns when unauthenticated; exits the process instead.
110
+ */
111
+ export function requireAuth() {
112
+ const config = getConfig();
113
+ if (!config) {
114
+ logError("Not authenticated. Run 'limetry login' first.");
115
+ process.exit(1);
116
+ }
117
+ return config;
118
+ }
119
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/utils/config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,IAAI,CAAA;AAChD,OAAO,QAAQ,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,aAAa,CAAC,CAAA;AAgC9D;;;;GAIG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AU,CAAC,OAAe;IACxC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAA;AAC1C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,OAAe;IACtC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAA;AAC1C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,OAAe;IACrC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAA;AACzC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW;IACzB,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAC1B,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,QAAQ,CAAC,+CAA+C,CAAC,CAAA;QACzD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * CLI error text and cancellation handling.
3
+ *
4
+ * Network failures from `node-fetch` sometimes end with `reason:` and an empty
5
+ * system message. Prompt cancellation throws `ExitPromptError` from the
6
+ * readline SIGINT listener, which otherwise prints a stack trace.
7
+ */
8
+ /**
9
+ * True when the user cancelled a prompt or sent an interrupt.
10
+ *
11
+ * @param error - Caught or uncaught error.
12
+ * @returns Whether the CLI should exit quietly.
13
+ */
14
+ export declare function isUserCancellation(error: unknown): boolean;
15
+ /**
16
+ * Builds a non-empty explanation for a failed CLI request.
17
+ *
18
+ * When `node-fetch` reports `reason:` with no message, the system `code`
19
+ * (for example `ECONNREFUSED`) is appended.
20
+ *
21
+ * @param error - Caught request or command error.
22
+ * @returns A single-line reason safe to print.
23
+ */
24
+ export declare function describeCliError(error: unknown): string;
25
+ /**
26
+ * Reads a failure reason from an API response body.
27
+ *
28
+ * Accepts `{ message }`, `{ error }`, plain text, or the HTTP status.
29
+ *
30
+ * @param status - HTTP status code.
31
+ * @param body - Raw response body.
32
+ * @returns A non-empty reason.
33
+ */
34
+ export declare function describeHttpFailure(status: number, body: string): string;
35
+ /**
36
+ * Prints one line and exits when the user quits, including Ctrl+C.
37
+ *
38
+ * Other uncaught errors print {@link describeCliError} and exit 1.
39
+ * Cancellation exits 130, the conventional SIGINT status.
40
+ *
41
+ * @returns Nothing.
42
+ */
43
+ export declare function installCliErrorHandlers(): void;
44
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAiBH;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAK1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAkBvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAexE;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CA+B9C"}
@@ -0,0 +1,143 @@
1
+ /**
2
+ * CLI error text and cancellation handling.
3
+ *
4
+ * Network failures from `node-fetch` sometimes end with `reason:` and an empty
5
+ * system message. Prompt cancellation throws `ExitPromptError` from the
6
+ * readline SIGINT listener, which otherwise prints a stack trace.
7
+ */
8
+ import { logError } from "./config.js";
9
+ /** Inquirer errors raised when the user quits a prompt. */
10
+ const PROMPT_CANCEL_NAMES = new Set([
11
+ "AbortPromptError",
12
+ "CancelPromptError",
13
+ "ExitPromptError",
14
+ ]);
15
+ /**
16
+ * True when the user cancelled a prompt or sent an interrupt.
17
+ *
18
+ * @param error - Caught or uncaught error.
19
+ * @returns Whether the CLI should exit quietly.
20
+ */
21
+ export function isUserCancellation(error) {
22
+ if (!error || typeof error !== "object" || !("name" in error)) {
23
+ return false;
24
+ }
25
+ return PROMPT_CANCEL_NAMES.has(String(error.name));
26
+ }
27
+ /**
28
+ * Builds a non-empty explanation for a failed CLI request.
29
+ *
30
+ * When `node-fetch` reports `reason:` with no message, the system `code`
31
+ * (for example `ECONNREFUSED`) is appended.
32
+ *
33
+ * @param error - Caught request or command error.
34
+ * @returns A single-line reason safe to print.
35
+ */
36
+ export function describeCliError(error) {
37
+ if (typeof error === "string" && error.trim()) {
38
+ return error.trim();
39
+ }
40
+ if (!(error instanceof Error)) {
41
+ return "Request failed";
42
+ }
43
+ const message = error.message.trim();
44
+ const detail = systemErrorDetail(error);
45
+ if (/reason:\s*$/.test(message)) {
46
+ const reason = detail || "connection failed";
47
+ return message.replace(/reason:\s*$/, `reason: ${reason}`);
48
+ }
49
+ if (!message) {
50
+ return detail || "Request failed";
51
+ }
52
+ return message;
53
+ }
54
+ /**
55
+ * Reads a failure reason from an API response body.
56
+ *
57
+ * Accepts `{ message }`, `{ error }`, plain text, or the HTTP status.
58
+ *
59
+ * @param status - HTTP status code.
60
+ * @param body - Raw response body.
61
+ * @returns A non-empty reason.
62
+ */
63
+ export function describeHttpFailure(status, body) {
64
+ const trimmed = body.trim();
65
+ if (!trimmed) {
66
+ return `HTTP ${status}`;
67
+ }
68
+ try {
69
+ const parsed = JSON.parse(trimmed);
70
+ const reason = firstText(parsed.message) ?? firstText(parsed.error);
71
+ if (reason) {
72
+ return reason;
73
+ }
74
+ }
75
+ catch {
76
+ return trimmed;
77
+ }
78
+ return `HTTP ${status}`;
79
+ }
80
+ /**
81
+ * Prints one line and exits when the user quits, including Ctrl+C.
82
+ *
83
+ * Other uncaught errors print {@link describeCliError} and exit 1.
84
+ * Cancellation exits 130, the conventional SIGINT status.
85
+ *
86
+ * @returns Nothing.
87
+ */
88
+ export function installCliErrorHandlers() {
89
+ let shuttingDown = false;
90
+ const cancel = () => {
91
+ if (shuttingDown) {
92
+ return;
93
+ }
94
+ shuttingDown = true;
95
+ process.stderr.write("\nCancelled.\n");
96
+ process.exit(130);
97
+ };
98
+ process.on("SIGINT", cancel);
99
+ process.on("SIGTERM", cancel);
100
+ process.on("SIGHUP", cancel);
101
+ process.on("uncaughtException", (error) => {
102
+ if (isUserCancellation(error)) {
103
+ cancel();
104
+ return;
105
+ }
106
+ logError(describeCliError(error));
107
+ process.exit(1);
108
+ });
109
+ process.on("unhandledRejection", (error) => {
110
+ if (isUserCancellation(error)) {
111
+ cancel();
112
+ return;
113
+ }
114
+ logError(describeCliError(error));
115
+ process.exit(1);
116
+ });
117
+ }
118
+ /**
119
+ * Joins syscall and code from a fetch system error.
120
+ *
121
+ * @param error - Error that may carry Node system fields.
122
+ * @returns Detail text, or an empty string.
123
+ */
124
+ function systemErrorDetail(error) {
125
+ const system = error;
126
+ const syscall = typeof system.erroredSysCall === "string" ? system.erroredSysCall : "";
127
+ const code = typeof system.code === "string" ? system.code : "";
128
+ return [syscall, code].filter(Boolean).join(" ");
129
+ }
130
+ /**
131
+ * Returns trimmed text when `value` is a non-empty string.
132
+ *
133
+ * @param value - JSON field that might be a message.
134
+ * @returns Trimmed text, or `null`.
135
+ */
136
+ function firstText(value) {
137
+ if (typeof value !== "string") {
138
+ return null;
139
+ }
140
+ const trimmed = value.trim();
141
+ return trimmed || null;
142
+ }
143
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,2DAA2D;AAC3D,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC;IAClC,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;CAClB,CAAC,CAAA;AAQF;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,IAAI,CAAC,K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9B,MAAM,EAAE,CAAA;YACR,OAAM;QACR,CAAC;QACD,QAAQ,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAA;QACjC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC,CAAC,CAAA;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,iBAAiB,CAAC,KAAY;IACrC,MAAM,MAAM,GAAG,KAAkC,CAAA;IACjD,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,cAAc,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAA;IACtF,MAAM,IAAI,GAAG,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAA;IAC/D,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAClD,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAAC,KAAc;IAC/B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAA;IACb,CAAC;IACD,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAA;IAC5B,OAAO,OAAO,IAAI,IAAI,CAAA;AACxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetry/cli",
3
- "version": "1.2.54",
3
+ "version": "1.2.57",
4
4
  "description": "CLI for Limetry agent action governance — setup, policy apply, eval, and audit",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "yarn run -T tsgo -p tsconfig.json --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@limetry/sdk": "^1.2.54",
34
+ "@limetry/sdk": "^1.2.57",
35
35
  "chalk": "^6.0.0",
36
36
  "commander": "^15.0.0",
37
37
  "inquirer": "^14.0.2",