You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor snapshot handler into capture/wait/session helpers #158
src/daemon/handlers/snapshot.ts is currently ~600 LOC and mixes snapshot capture/scope logic with wait parsing/execution and session/sessionless cleanup concerns.
Goal
Split snapshot handler into focused helpers while keeping command behavior unchanged.
Proposed split
src/daemon/handlers/snapshot-capture.ts
snapshot capture + scope resolution
src/daemon/handlers/snapshot-wait.ts
wait arg parsing + wait execution helpers
src/daemon/handlers/snapshot-session.ts
session/sessionless device resolution and cleanup utilities
Keep src/daemon/handlers/snapshot.ts as command orchestrator.
Acceptance criteria
Snapshot and wait command outputs remain backward-compatible.
parseWaitArgs behavior remains stable.
New implementation files target <=300 LOC where practical.
Activity