@phnx-labs/agents-cli 1.23.3 → 1.23.4
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 +6 -0
- package/dist/lib/session/active.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.23.4
|
|
4
|
+
|
|
5
|
+
- **A live process with no readable transcript is `unknown`, not `running`.** Being alive is not evidence that an agent is working. On 2026-10-10 the fleet stream listed 26 such rows as running: headless `codex` and `rush` processes with no session id, folder or title (11 on one machine). They now report `unknown` (phase `idle`, `◌` in `agents ps`); a dead one is still `closed`. Fleet "running" counts drop by those rows, and such a row whose editor window closed stays `unknown` instead of turning `orphaned`. Spec SES-18 says so. Source: `cli/src/lib/session/active.ts` (`resolveFallbackStatus`).
|
|
6
|
+
|
|
7
|
+
- **A finished Claude session no longer reads as working, and Esc reads as idle.** `@phnx-labs/sessions-cli` 0.8.0: a background task's `<task-notification>` (or a `<system-reminder>`) written after a turn ended no longer counts as "the user spoke last" once the transcript has been quiet past the active window. On 2026-10-10 this was why 5 of 7 "working" Claude sessions on the fleet had been silent 18 to 72 minutes. The Claude live tail is now parsed with interrupts, so a call you stopped with Esc no longer looks in flight. Source: `cli/src/lib/session/active.ts` (`parseLiveTail`).
|
|
8
|
+
|
|
3
9
|
## 1.23.3
|
|
4
10
|
|
|
5
11
|
- **The daemon stops crash-looping on tool-row linking (PHNX-4225).** Every feed
|
|
@@ -476,7 +476,7 @@ export function lifecycleStatus(pidAlive, mtimeMs, nowMs = Date.now()) {
|
|
|
476
476
|
}
|
|
477
477
|
export function resolveFallbackStatus(sessionFile, pidAlive, nowMs = Date.now()) {
|
|
478
478
|
const { mtimeMs } = sessionFileTimes(sessionFile);
|
|
479
|
-
return lifecycleStatus(pidAlive, mtimeMs, nowMs) ?? '
|
|
479
|
+
return lifecycleStatus(pidAlive, mtimeMs, nowMs) ?? 'unknown';
|
|
480
480
|
}
|
|
481
481
|
export function findSessionFileForKind(kind, cwd, sessionId) {
|
|
482
482
|
if (!cwd)
|
|
@@ -521,7 +521,7 @@ export function clearLiveSignalsCacheForTest() {
|
|
|
521
521
|
}
|
|
522
522
|
function parseLiveTail(kind, sessionFile, mtimeMs) {
|
|
523
523
|
if (kind === 'claude' || kind === 'codex') {
|
|
524
|
-
const { events, content } = readSessionTailWithRaw(sessionFile, kind);
|
|
524
|
+
const { events, content } = readSessionTailWithRaw(sessionFile, kind, undefined, undefined, { includeInterrupts: true });
|
|
525
525
|
const tokPerSec = events.length > 0 ? computeTokPerSec(content, kind) : 0;
|
|
526
526
|
return { mtimeMs, events, tokPerSec: tokPerSec > 0 ? tokPerSec : undefined };
|
|
527
527
|
}
|
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.4",
|
|
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",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@fontsource/inter": "^5.3.0",
|
|
88
88
|
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
89
89
|
"@inquirer/prompts": "8.5.2",
|
|
90
|
-
"@phnx-labs/sessions-cli": "0.
|
|
90
|
+
"@phnx-labs/sessions-cli": "0.8.0",
|
|
91
91
|
"@resvg/resvg-wasm": "^2.6.2",
|
|
92
92
|
"@types/proper-lockfile": "4.1.4",
|
|
93
93
|
"@zed-industries/agent-client-protocol": "0.4.5",
|