Skip to content

fix(adapter): ignore an empty home override and fix the MCP install error wording - #205

Merged
RealZST merged 1 commit into
mainfrom
fix/mcp-install-wording-pi-env
Dec 4, 2026
Merged

RealZST merged 1 commit into
mainfrom
fix/mcp-install-wording-pi-env

Conversation

@RealZST

@RealZST RealZST commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Two small fixes.

  • Empty home variable. PI_CODING_AGENT_DIR, and the PenguinHarness and dsh home variables, were used even when set to an empty string, so the agent was looked for at an empty path and reported as not installed. An empty value is now treated as unset.
  • Error wording. A global MCP install to an agent that takes no MCP servers said "project-level". It now says "Installing MCP servers to penguin is not supported". The app already disables that tile, so this is only seen through the API.

Testing

  • cargo clippy -D warnings, cargo test --workspace (hk-core 813). The existing PenguinHarness and dsh tests now cover the empty value.
  • Reproduced both in an isolated home before the change and re-run after it.

🤖 Generated with Claude Code

…rror wording

An empty PI_CODING_AGENT_DIR, PenguinHarness home or dsh home variable
is now treated as unset instead of as a path. A global MCP install to an
agent that takes no MCP servers no longer says "project-level".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@RealZST
RealZST merged commit 180a6cf into main Dec 4, 2026
5 of 6 checks passed
@RealZST
RealZST deleted the fix/mcp-install-wording-pi-env branch December 4, 2026 15:56
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