@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/seats.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afokapu/atdd-flow",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "Filesystem-first Desk registry for projects, seats, tasks, threads, and handoffs.",
5
5
  "type": "module",
6
6
  "bin": {
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 ?? ""));