From 6fddd7d895c648e90c8adaa3133115199e340c9e Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 20 Jan 2026 19:43:29 +0100 Subject: [PATCH] docs: add npm run web shorthand and additional timing constants Document the npm run web script as a shorthand for running the web server after build. Also add output batch and task update batch interval constants to the timing table. Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index c0001ec7..d71e6dee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,6 +27,7 @@ npm run clean # Remove dist/ # Start web server (pick one): npx tsx src/index.ts web # Dev mode - no build needed (RECOMMENDED) npx tsx src/index.ts web -p 8080 # Dev mode with custom port +npm run web # After npm run build (shorthand) node dist/index.js web # After npm run build claudeman web # After npm link @@ -296,6 +297,8 @@ Writes debounced to `~/.claudeman/state.json`. Batches rapid changes. | State save debounce | 500ms | `state-store.ts` | | Line buffer flush | 100ms | `session.ts` | | Terminal batch interval | 16ms | `server.ts` (60fps) | +| Output batch interval | 50ms | `server.ts` | +| Task update batch interval | 100ms | `server.ts` | | Idle activity timeout | 2s | `session.ts` | | Respawn idle timeout | 5s default | `RespawnConfig.idleTimeoutMs` |