Skip to content

feat: bake Pi coding agent into the image (proxies OmniRoute auto-fastest) - #37

Merged
gitricko merged 1 commit into
mainfrom
feat/pi-agent
Aug 17, 2026
Merged

feat: bake Pi coding agent into the image (proxies OmniRoute auto-fastest)#37
gitricko merged 1 commit into
mainfrom
feat/pi-agent

Conversation

@gitricko

Copy link
Copy Markdown
Owner

Summary

Adds the Pi coding agent to the hermes-webtop image, wired to route through the existing OmniRoute auto-fastest combo — same proxy chain already used by Hermes/Claude Code.

Changes

  • docker/Dockerfile: new PI_VERSION build arg (default 0.84.2); npm install -g --ignore-scripts @earendil-works/pi-coding-agent into the image.
  • docker/start-pi.sh: boot-time script (runs as abc like the other start-*.sh). Ensures Pi install is abc-owned, then seeds ~/.pi/agent/models.json + settings.json only on first boot (preserves user edits on restart). No desktop shortcut (per request).
  • docker/models.json: custom OpenAI-compatible provider pointing at http://localhost:20128/v1, model auto-fastest, compat flags disabled (OmniRoute is an unknown proxy to Pi).
  • docker/settings.json: defaultProvider: omniroute, defaultModel: auto-fastest.
  • README.md: documents the Pi addition under features.

Behavior

On container start, pi is available on PATH and defaults to omniroute/auto-fastest (no flags needed). Config is seeded once into /config/.pi/agent/, then user-editable and persisted by the existing volume.

Verification

  • start-pi.sh passes bash -n syntax check.
  • Dockerfile COPY *.sh / COPY *.json globs pick up start-pi.sh, models.json, settings.json automatically.
  • The same Pi config + auto-fastest default was previously verified end-to-end outside the image (pi -p returned a real completion through OmniRoute).

Not done

  • No docker build/push here — image build/compile is handled separately (per request).
  • No desktop launcher (removed per request).

🤖 Generated with Hermes Agent

Copilot AI lite review requested due to automatic review settings August 17, 2026 09:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gitricko gitricko left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gitricko
gitricko merged commit e41310a into main Aug 17, 2026
4 checks passed
@gitricko
gitricko deleted the feat/pi-agent branch August 17, 2026 16:26
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.

2 participants