feat: v0.5.0 — OpenClaw lifecycle events, slim capabilities, reconnect callback#14
Merged
Oceanswave merged 1 commit intomainfrom Feb 4, 2026
Merged
Conversation
…t callback - Slim node capabilities from 29 to 2 (location.get + system.run); all 34 handlers remain available via system.run meta-dispatch - Explicit send_connected() lifecycle replaces implicit first-frame trigger; returns bool so CLI callers can warn on failure - on_reconnect gateway callback ensures node.connected sent on every reconnect, not just initial connect - Separated reconnect error handling: connect failure and lifecycle event failure are now independent (fixes incorrect backoff doubling) - send_connected() guards on is_connected before sending (fixes false-positive logging when gateway disconnected) - system.run activity logging shows resolved inner method - OpenClawPipeline.dispatcher typed as CommandDispatcher (was Any) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
location.get+system.run; all 34 handlers remain available viasystem.runmeta-dispatchsend_connected()lifecycle — replaces implicit first-frame trigger; returnsboolso CLI callers warn on failureon_reconnectgateway callback — ensuresnode.connectedsent on every reconnect, not just initial connectsend_connected()guard — checksis_connectedbefore sending (fixes false-positive "Sent node.connected" logging)system.runactivity logging — shows resolved inner method (system.run → door.lock)OpenClawPipeline.dispatchertyping —CommandDispatcherinstead ofAnyTest plan
pytest tests/openclaw/ -x -v— 229 passedpytest --timeout=30 -q— 1696 passedruff check src/ tests/— all checks passedmypy src/tescmd/openclaw/bridge.py src/tescmd/openclaw/gateway.py— no issuestescmd openclaw bridge <VIN>with live gatewaynode.connectedafter network drop🤖 Generated with Claude Code