diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c9f74f14..3b5a7463a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.1.1 — Unreleased +## 1.2.0 — Unreleased ### Changes - Web relay now supports configurable command heartbeats (`inbound.reply.heartbeatMinutes`, default 30m) that ping Claude with a `HEARTBEAT_OK` sentinel; outbound messages are skipped when the token is returned, and normal/verbose logs record each heartbeat tick. diff --git a/src/cli/program.ts b/src/cli/program.ts index c1d8f8af7..a27c6920d 100644 --- a/src/cli/program.ts +++ b/src/cli/program.ts @@ -181,6 +181,10 @@ Examples: .description("Trigger a heartbeat poll once (web provider, no tmux)") .option("--provider ", "auto | web", "auto") .option("--to ", "Override target E.164; defaults to allowFrom[0]") + .option( + "--session-id ", + "Force a session id for this heartbeat (resumes a specific Claude session)", + ) .option( "--all", "Send heartbeat to all active sessions (or allowFrom entries when none)", @@ -194,6 +198,7 @@ Examples: warelay heartbeat # uses web session + first allowFrom contact warelay heartbeat --verbose # prints detailed heartbeat logs warelay heartbeat --to +1555123 # override destination + warelay heartbeat --session-id --to +1555123 # resume a specific session warelay heartbeat --all # send to every active session recipient or allowFrom entry`, ) .action(async (opts) => { @@ -246,6 +251,7 @@ Examples: to, verbose: Boolean(opts.verbose), runtime: defaultRuntime, + sessionId: opts.sessionId, }); } } catch {