Skip to content

feat: v0.5.0 — OpenClaw lifecycle events, slim capabilities, reconnect callback#14

Merged
Oceanswave merged 1 commit intomainfrom
feat/v0.5.0-openclaw-lifecycle
Feb 4, 2026
Merged

feat: v0.5.0 — OpenClaw lifecycle events, slim capabilities, reconnect callback#14
Oceanswave merged 1 commit intomainfrom
feat/v0.5.0-openclaw-lifecycle

Conversation

@Oceanswave
Copy link
Owner

Summary

  • Slim node capabilities — reduced from 29 individual commands to 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 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() guard — checks is_connected before sending (fixes false-positive "Sent node.connected" logging)
  • system.run activity logging — shows resolved inner method (system.run → door.lock)
  • OpenClawPipeline.dispatcher typingCommandDispatcher instead of Any
  • Version bump — 0.4.0 → 0.5.0

Test plan

  • pytest tests/openclaw/ -x -v — 229 passed
  • pytest --timeout=30 -q — 1696 passed
  • ruff check src/ tests/ — all checks passed
  • mypy src/tescmd/openclaw/bridge.py src/tescmd/openclaw/gateway.py — no issues
  • Manual: tescmd openclaw bridge <VIN> with live gateway
  • Manual: verify reconnect sends node.connected after network drop

🤖 Generated with Claude Code

…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>
@Oceanswave Oceanswave merged commit cf6078f into main Feb 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant