portable-agent-layer 0.26.0 → 0.26.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.
- package/package.json +1 -1
- package/src/cli/index.ts +11 -13
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { existsSync, mkdirSync, readdirSync, readFileSync, statSync } from "node
|
|
|
22
22
|
import { homedir } from "node:os";
|
|
23
23
|
import { resolve } from "node:path";
|
|
24
24
|
import { palHome, palPkg, platform } from "../hooks/lib/paths";
|
|
25
|
+
import { hasRealContent, SETUP_STEPS, STEP_ORDER } from "../hooks/lib/setup";
|
|
25
26
|
import { log } from "../targets/lib";
|
|
26
27
|
|
|
27
28
|
const allArgs = process.argv.slice(2);
|
|
@@ -460,19 +461,16 @@ function doctor(silent = false): DoctorResult {
|
|
|
460
461
|
: fail("CLAUDE.md — missing (run 'pal cli install --claude')");
|
|
461
462
|
}
|
|
462
463
|
|
|
463
|
-
// Setup state
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
}
|
|
474
|
-
} else {
|
|
475
|
-
warn("TELOS setup — setup.json missing (run 'pal cli install')");
|
|
464
|
+
// Setup state — check file content directly (no setup.json dependency)
|
|
465
|
+
{
|
|
466
|
+
const missing = STEP_ORDER.filter(
|
|
467
|
+
(key) => !hasRealContent(resolve(home, SETUP_STEPS[key].file))
|
|
468
|
+
);
|
|
469
|
+
missing.length === 0
|
|
470
|
+
? ok("TELOS setup complete")
|
|
471
|
+
: warn(
|
|
472
|
+
`TELOS setup incomplete — ${missing.join(", ")} missing (run 'pal cli install')`
|
|
473
|
+
);
|
|
476
474
|
}
|
|
477
475
|
|
|
478
476
|
// Skills (per installed agent)
|