Repository navigation
feat: /heartbeat LINE command with auto-adjust interval - #58
Merged
Merged
Conversation
- Add /heartbeat LINE command to query/set heartbeat interval - Support min/max bounds validation (configurable via minEvery/maxEvery) - Add /heartbeat auto [on|off] to toggle auto-adjust mode - Add autoAdjust, minEvery, maxEvery fields to heartbeat config type and Zod schema - Implement auto-adjust backoff in heartbeat runner: when autoAdjust is enabled and the agent is stressed (requests-in-flight), exponentially back off the interval up to maxEvery; reset when healthy - Register /heartbeat and /thinking commands in LINE extension index - Add 19 unit tests for the heartbeat command Agent-Logs-Url: https://github.com/Piboonsak/openclaw_github/sessions/73a00d9a-3877-410d-aa0d-da815af52e1f
- Fix arg persistence to use argsStr (already trimmed) instead of ctx.args fallback - Extract AUTO_ADJUST_DEFAULT_MAX_MULTIPLIER constant for magic number 8 - Simplify test HeartbeatConfig type extraction using NonNullable chain Agent-Logs-Url: https://github.com/Piboonsak/openclaw_github/sessions/73a00d9a-3877-410d-aa0d-da815af52e1f
Copilot
AI
changed the title
[WIP] Add dynamic heartbeat command with auto-adjust interval
feat: /heartbeat LINE command with auto-adjust interval
Apr 5, 2026
Piboonsak
marked this pull request as ready for review
April 5, 2026 13:52
This was referenced Apr 6, 2026
This was referenced Apr 6, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #54