@engini/cli 0.12.0 → 0.12.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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -1
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -214,6 +214,7 @@ import {
214
214
  EnginiError,
215
215
  EnginiNotFoundError,
216
216
  EnginiTimeoutError,
217
+ EnginiToolsetNotFoundError,
217
218
  EnginiValidationError
218
219
  } from "@engini/sdk";
219
220
 
@@ -280,6 +281,7 @@ function buildClient(overrides = {}) {
280
281
  }
281
282
  function exitForError(err) {
282
283
  if (err instanceof EnginiAuthError) return 3 /* AUTH */;
284
+ if (err instanceof EnginiToolsetNotFoundError) return 4 /* NOT_FOUND */;
283
285
  if (err instanceof EnginiNotFoundError) return 4 /* NOT_FOUND */;
284
286
  if (err instanceof EnginiValidationError) return 5 /* VALIDATION */;
285
287
  if (err instanceof EnginiTimeoutError) return 124 /* TIMEOUT */;
@@ -2343,7 +2345,7 @@ function registerWhoami(program) {
2343
2345
  }
2344
2346
 
2345
2347
  // src/version.ts
2346
- var VERSION = true ? "0.12.0" : "0.0.0";
2348
+ var VERSION = true ? "0.12.1" : "0.0.0";
2347
2349
 
2348
2350
  // src/main.ts
2349
2351
  function buildProgram() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engini/cli",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Engini CLI — machine-first command line over the Engini Public API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "test": "vitest run"
25
25
  },
26
26
  "dependencies": {
27
- "@engini/sdk": "^0.12.0",
27
+ "@engini/sdk": "^0.12.1",
28
28
  "commander": "^12.1.0",
29
29
  "smol-toml": "^1.3.0"
30
30
  },