mirror of
https://github.com/techartdev/OpenClawHomeAssistant.git
synced 2026-08-14 00:47:57 +00:00
Merge origin/main into fix/issue-163-mcporter-auto-config
This commit is contained in:
@@ -543,7 +543,7 @@ MCP setup requires an AI model that understands tool/skill invocation. Budget mo
|
||||
|
||||
| Symptom | Fix |
|
||||
|---|---|
|
||||
| `mcporter: command not found` | Upgrade to add-on `0.5.83` or newer. Older builds did not bundle `mcporter`; as a temporary workaround, install it manually in the add-on terminal and restart. |
|
||||
| `mcporter: command not found` | Upgrade to add-on `0.5.84` or newer. Older builds did not bundle `mcporter`; as a temporary workaround, install it manually in the add-on terminal and restart. |
|
||||
| MCP add fails with auth error | Verify your long-lived token is valid and not expired |
|
||||
| OpenClaw doesn’t see HA entities | Run `mcporter call home-assistant.GetLiveContext` to refresh |
|
||||
| Model says “what’s MCP?” | Switch to a more capable model for the initial session (see above) |
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
All notable changes to the OpenClaw Assistant Home Assistant Add-on will be documented in this file.
|
||||
|
||||
## [0.5.83] - 2026-07-16
|
||||
## [0.5.84] - 2026-07-17
|
||||
|
||||
### Fixed
|
||||
- Bundle a Node 22-compatible `mcporter` CLI in the add-on image so `auto_configure_mcp` can register Home Assistant out of the box on fresh installs, without requiring a manual `npm install -g mcporter` workaround.
|
||||
- Replace the misleading startup hint that told users to run `openclaw onboard` when `mcporter` was missing. That message now correctly points to a broken image state instead of a required onboarding step.
|
||||
### Changed
|
||||
- Bundle `mcporter@0.12.3` in the add-on image so `auto_configure_mcp` can register Home Assistant out of the box on fresh installs without a manual global install workaround.
|
||||
- Replace the misleading startup hint that told users to run `openclaw onboard` when `mcporter` was missing. The message now correctly points to a broken image state instead.
|
||||
|
||||
## [0.5.82] - 2026-07-15
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ FROM ${BUILD_FROM}
|
||||
# Base image is Debian Bookworm (glibc). This avoids musl-related native module issues
|
||||
# that occur on Alpine (e.g. clipboard, node-llama-cpp).
|
||||
|
||||
# Install base packages (without nodejs/npm - we'll get Node 22 from NodeSource)
|
||||
# Install base packages (without nodejs/npm - we'll get Node 24 from NodeSource)
|
||||
# build-essential provides gcc/cc needed by Homebrew for OpenClaw's brew-managed dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
bash \
|
||||
@@ -34,19 +34,21 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Node.js 22 LTS from NodeSource (Debian Bookworm ships Node 18, but OpenClaw requires 20+)
|
||||
# Use explicit keyring + apt source instead of setup_22.x pipe script for deterministic builds.
|
||||
# Install Node.js 24 LTS from NodeSource.
|
||||
# OpenClaw supports Node >=24.15.0, and this keeps the image compatible with the
|
||||
# current mcporter releases without relying on an older pinned CLI line.
|
||||
# Use explicit keyring + apt source instead of setup_24.x pipe script for deterministic builds.
|
||||
RUN mkdir -p /etc/apt/keyrings \
|
||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
|
||||
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||
&& chmod 644 /etc/apt/keyrings/nodesource.gpg \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" \
|
||||
> /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& NODE_VERSION="$(node -v)" \
|
||||
&& echo "$NODE_VERSION" \
|
||||
&& echo "$NODE_VERSION" | grep -E '^v22\.' \
|
||||
&& echo "$NODE_VERSION" | grep -E '^v24\.' \
|
||||
&& rm -f /etc/apt/sources.list.d/nodesource.list /etc/apt/keyrings/nodesource.gpg \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -117,9 +119,9 @@ USER root
|
||||
# Bundle node-llama-cpp so the default local memory/embeddings provider works
|
||||
# in HAOS without requiring manual npm installs in /usr/lib.
|
||||
# Bundle mcporter so Home Assistant MCP auto-configuration works out of the box.
|
||||
# mcporter 0.9.0 is the newest release that supports the add-on's Node 22 base.
|
||||
# The image now ships Node 24, so use the current mcporter line.
|
||||
RUN npm config set fund false && npm config set audit false \
|
||||
&& npm install -g openclaw@2026.7.1 node-llama-cpp@3.18.1 mcporter@0.9.0
|
||||
&& npm install -g openclaw@2026.7.1 node-llama-cpp@3.18.1 mcporter@0.12.3
|
||||
|
||||
# Shell aliases and color options for interactive use
|
||||
RUN tee -a /etc/bash.bashrc <<'EOF'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: OpenClaw Assistant
|
||||
version: "0.5.83"
|
||||
version: "0.5.84"
|
||||
slug: openclaw_assistant
|
||||
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
|
||||
url: https://github.com/techartdev/OpenClawHomeAssistant
|
||||
|
||||
Reference in New Issue
Block a user