• feat(session): session stop <name> + session prune + lifecycle docs (#48)

    oimwiodev released this 2026-06-18 05:44:35 +00:00 | 2 commits to main since this release

    Explicit daemon reclamation to go with the v1.5.25 idle auto-shutdown:

    • session stop [name] — stop one session daemon (default: current), graceful
      (SIGTERM → the daemon's shutdown runs close(), tidying the tabs it created).
    • session prune — stop ALL session daemons now (clears the pile of idle
      daemons left after an automation/debug round; they respawn clean on next use).
      The __nm-host relay isn't a tracked session daemon, so the live-Chrome
      connection survives.
    • --help Sessions section now documents the daemon lifecycle: spawn → 10-min idle
      auto-shutdown (AGENT_BROWSER_IDLE_TIMEOUT_MS / 0 to disable) → keep / stop / prune.

    Closes #48. Verified live: session stop reclaimed a test daemon. 870 tests pass.

    Downloads