@hydra-acp/cli 0.1.213 → 0.1.215
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/README.md +2 -0
- package/dist/cli.js +477 -476
- package/dist/daemon.js +109 -109
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -634,6 +634,8 @@ The service token lives in its own file (`~/.hydra-acp/auth-token`, mode 0600) a
|
|
|
634
634
|
|
|
635
635
|
`daemon.sessionIdleTimeoutSeconds` (default 3600 — one hour) controls how long a session with no recorded agent or user activity stays alive before the daemon closes it. Snapshot-shaped state pings (model/mode/title/commands) and bare attach/detach don't count as activity — only recordable broadcasts (prompts, agent chunks, tool calls, permission prompts) do, so persistent observer clients like the slack/notifier/approver/browser extensions can't pin a quiet session open. In-flight turns and unresolved permission requests defer the close until they settle. The disk record stays so the session can be resurrected later via `session/load`, at which point extensions re-attach automatically through their poll loops. Set to `0` to disable.
|
|
636
636
|
|
|
637
|
+
`daemon.backgroundTaskTracking` (tristate, unset by default) controls the armed background-task badge, the "a job is still running" indicator shown after a turn ends. Unset is auto: claude's signals (`run_in_background`, Monitor, the background-tasks level) are tracked and opencode's are not, because an opencode shell job never reports its end and its badge stays up until the agent next wakes by itself. `true` tracks every agent's signals, opencode included. `false` tracks none, claude included.
|
|
638
|
+
|
|
637
639
|
`sessionListColdLimit` (top-level, default 20) caps how many cold (disk-only) sessions `hydra-acp session` lists. Live sessions are always shown; cold ones are sorted by recency and truncated to this count. `--all` lifts the cap and `--json` ignores it. Set to `0` to never list cold sessions.
|
|
638
640
|
|
|
639
641
|
`daemon.sessionGcMaxAgeDays` (default 2) is why a session can vanish from the list entirely: a background sweep deletes *non-interactive* cold records — one-shot `hydra-acp cat` runs and editor panels that never took a turn — once they're older than this. Sessions that held a real conversation are never swept. `daemon.sessionGcIntervalMinutes` (default 60) sets how often the sweep runs, and `hydra-acp session collect` triggers it by hand.
|