Skip to content

Refactor: Transplant OpenCode architecture for stability and MCP integration - #8

Merged
oded996 merged 1 commit into
mainfrom
feature/opencode-base
May 2, 2026
Merged

Refactor: Transplant OpenCode architecture for stability and MCP integration#8
oded996 merged 1 commit into
mainfrom
feature/opencode-base

Conversation

@oded996

@oded996 oded996 commented May 2, 2026

Copy link
Copy Markdown
Owner

This PR replaces the fragile Alpine/glibc-workaround architecture with a robust Debian s6-overlay base architecture, directly transplanted from the ha_opencode addon.

Key Improvements:

  • Stability: Uses Debian Trixie (resolving all tree-sitter-bash segmentation faults).
  • Process Management: Employs s6-overlay for proper initialization and daemon management.
  • Node.js MCP Server: Replaces the basic Python ha-mcp with the highly optimized Node.js ha-mcp-server built for Home Assistant (with built-in hab and zigporter CLI support).
  • Persistent Sessions: ttyd runs inside a persistent tmux session to preserve context on disconnect/reconnect.

The add-on configuration footprint has been preserved to ensure this is an incremental, non-breaking update for existing users.

@oded996
oded996 merged commit 12b82c4 into main May 2, 2026
1 check failed
@oded996
oded996 deleted the feature/opencode-base branch May 2, 2026 22:46
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