Skip to content

v2.1.0 — Cross-platform Stability + Lazy Init

Choose a tag to compare

@Enderfga Enderfga released this 31 Mar 03:00
· 557 commits to main since this release

v2.1.0 — Cross-platform Stability + Lazy Init

npm: @enderfga/openclaw-claude-code@2.1.0
Aligned with: Claude Code CLI 2.1.x (tested on 2.1.88)
Requires: OpenClaw >=2026.3.0, Node.js >=22.0.0

🔧 Cross-platform Stability (#7)

  • PATH inheritance from process.env.PATH instead of hard-coded macOS paths
  • CLAUDE_BIN env var override for custom claude binary locations
  • proc.unref() to prevent parent process blocking on detached child
  • Ready event listens for CLI init signal instead of blind 2s timeout
  • contextPercent calculation fixed (was hard-coded 0)
  • resumeSessionId exposed in tool schema

⚡ Lazy Init (#8)

  • SessionManager + EmbeddedServer deferred to first tool call
  • Zero memory overhead when plugin is installed but unused
  • claude_session_list returns [] immediately if manager not initialized

Full Changelog: v2.0.0...v2.1.0