@phnx-labs/agents-cli 1.23.12 → 1.23.13
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/CHANGELOG.md +4 -0
- package/dist/commands/setup.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.13
|
|
4
|
+
|
|
5
|
+
- **`agents setup` without a terminal exits 0 when setup worked (PHNX-4227).** Outside a TTY it printed the onboarding checklist and exited 1 if any capability was unconfigured: browser, fleet, watchdog, preferences and so on. Every headless install, such as a Rush pod image build, has those unset by design, so the build had to tolerate a failing `agents setup`. It now exits 1 only when core setup (the system repo) is missing. `agents setup status` still exits 1 for any missing capability. Source: `cli/src/commands/setup.ts`.
|
|
6
|
+
|
|
3
7
|
## 1.23.12
|
|
4
8
|
|
|
5
9
|
- **`agents add` works in containers without `ps` (PHNX-4227).** Before replacing an install, the CLI checks whether any process runs from it. On Linux it listed processes with `ps`, which `node:*-slim` images (every Rush pod) lack, and a failed scan counts as "in use", so `agents add` refused with "account home main is in use" on an idle install. On Linux it now reads `/proc/<pid>/cmdline`; macOS keeps `ps`, Windows keeps its CIM query, and an unreadable process table still refuses. Source: `cli/src/lib/installations/active-check.ts`.
|
package/dist/commands/setup.js
CHANGED
|
@@ -280,7 +280,7 @@ export async function runSetupHub(deps = {}) {
|
|
|
280
280
|
if (!interactive) {
|
|
281
281
|
const rows = await getSetupStatus();
|
|
282
282
|
renderSetupStatus(rows);
|
|
283
|
-
if (rows.some((row) => row.state === 'missing'))
|
|
283
|
+
if (rows.some((row) => row.phase === 'core' && row.state === 'missing'))
|
|
284
284
|
process.exitCode = 1;
|
|
285
285
|
return;
|
|
286
286
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phnx-labs/agents-cli",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.13",
|
|
4
4
|
"description": "One CLI for all your AI coding agents - versions, config, cloud dispatch, sessions, and teams (now with first-class Grok Build CLI support)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|