@naseej/blox 1.9.0 → 1.10.0

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 (3) hide show
  1. package/dist/run.js +2211 -323
  2. package/package.json +2 -2
  3. package/readme.md +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naseej/blox",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "blox cli",
5
5
  "exports": {
6
6
  "./sdk": {
@@ -72,7 +72,6 @@
72
72
  "simple-git": "^4.0.2",
73
73
  "tsup": "^8.0.2",
74
74
  "tsx": "4.19.2",
75
- "typescript": "^5.7.2",
76
75
  "vite-tsconfig-paths": "^5.1.4",
77
76
  "vitest": "2.1.8"
78
77
  },
@@ -82,6 +81,7 @@
82
81
  "@commander-js/extra-typings": "12.1.0",
83
82
  "ansis": "3.3.2",
84
83
  "commander": "12.1.0",
84
+ "typescript": "^5.7.2",
85
85
  "cross-spawn": "^7.0.6",
86
86
  "dayjs": "1.11.13",
87
87
  "ejs": "^3.1.10",
package/readme.md CHANGED
@@ -50,6 +50,7 @@ Available commands:
50
50
  - `blox migrate`: migrate BLOX schema state
51
51
  - `blox upgrade`: upgrade BLOX CLI
52
52
  - `blox skills`: run BLOX CLI skills commands
53
+ - `blox doctor`: diagnose and optionally repair BLOX workspace issues
53
54
 
54
55
  ### init
55
56
 
@@ -236,6 +237,27 @@ Important notes:
236
237
  - For `blox skills add`, BLOX injects the BLOX skills repository URL when you do not provide one.
237
238
  - BLOX forwards the remaining arguments to `npx skills`.
238
239
 
240
+ ### doctor
241
+
242
+ Run diagnostic checks against the workspace and report findings as invalid, outdated, or informational. Ships with a `schema.validation` check that validates `.blox` files against the current schema; new checks plug into the same pipeline.
243
+
244
+ Usage:
245
+
246
+ ```sh
247
+ blox doctor
248
+ blox doctor --fix
249
+ ```
250
+
251
+ Options:
252
+
253
+ - `--fix`: attempt automatic repairs for findings that support them, then revalidate
254
+
255
+ Exit codes:
256
+
257
+ - `0`: checks completed with no unresolved invalid findings
258
+ - `1`: invalid findings remain, or a repair failed
259
+ - `2`: a check could not complete reliably
260
+
239
261
  ## Features
240
262
 
241
263
  ### Ignore Policy