@afokapu/atdd-flow 0.3.15 → 0.3.16
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/seats.ts +1 -1
package/package.json
CHANGED
package/src/seats.ts
CHANGED
|
@@ -247,7 +247,7 @@ function agentReport(value: unknown) {
|
|
|
247
247
|
const name = text(agent?.name);
|
|
248
248
|
const pane = text(agent?.pane_id);
|
|
249
249
|
if (!name || !pane) throw new Error("Herdr agent get did not report agent name and pane id.");
|
|
250
|
-
return { name, pane, status: text(agent?.status) ?? text(agent?.state) };
|
|
250
|
+
return { name, pane, status: text(agent?.agent_status) ?? text(agent?.status) ?? text(agent?.state) };
|
|
251
251
|
}
|
|
252
252
|
function piProcess(processes: ProcessReport["processes"]) {
|
|
253
253
|
return processes.find((entry) => entry.name === "pi" || entry.argv0?.endsWith("/pi") || entry.argv0 === "pi" || /(^|\/)pi(?:\s|$)/.test(entry.cmdline ?? ""));
|