@threadbase-sh/streamer 1.39.1 → 1.41.0

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 CHANGED
@@ -112,7 +112,7 @@ Three layers: **core engine** (`src/*.ts`) → **API layer** (`src/api/` + `src/
112
112
  - `POST /api/sessions/start` / `resume` spawns `claude` in a PTY; output streams to WebSocket clients as `terminal_output`, with a `terminal_replay` snapshot on subscribe.
113
113
  - `SessionStore` tracks both PTY-managed sessions and externally-running `claude` processes discovered on disk.
114
114
  - A chokidar-backed watcher tails conversation JSONL files into the SQLite cache, so list/search endpoints don't scan the filesystem.
115
- - When the last WebSocket subscriber disconnects, a grace timer (default 4.5 min) puts the PTY on hold history stays intact and it's resumable anytime.
115
+ - A WebSocket subscriber disconnecting never stops the agent sessions outlive a sleeping phone or a dropped connection. A PTY is put on hold (history intact, resumable anytime) only on an explicit `hold_session` message, or by the idle reaper after 6 h of agent silence.
116
116
 
117
117
  More detail: [docs/how-it-works.md](docs/how-it-works.md) and [docs/architecture/](docs/architecture/README.md).
118
118