feat(engines): omp — install omp from omp.sh - #536
Merged
Merged
Conversation
Adds omp (Stencil Labs' coding agent, oh-my-pi upstream) as an engine: `moshcode install omp` runs `curl -fsSL https://omp.sh/install | sh`. The installer `bun install -g`s when a native-arch bun is present (~/.bun/bin) and otherwise downloads a prebuilt binary to ~/.local/bin; it edits no shell rc, so both are bridged via binDirs. Aliases: oh-my-pi, ohmypi, omp.sh. Agent mode is `--auto-approve` (skips tool approvals; the agent can still ask). No agentsView: `omp agents` manages bundled agent files and exits. Headless ai() is `omp -p <prompt>`, resume is `--continue`, and upgrade is omp's own `omp update`. Verified with omp 18.3.1: a moshcode install into a throwaway HOME with neither dir on PATH lands the binary in ~/.local/bin and resolves it via binDirs; `omp --auto-approve` under a pty in a fresh directory opens straight to the composer — no trust or bypass dialog, so no `boot` answers. Uncosted: its session logs are not read by `cost` yet.
ThreatCrush Security Scan8 finding(s) in the 5 file(s) this pull request changes. MEDIUM: 8
93 pre-existing finding(s) elsewhere in the repository — **HIGH/CRITICAL**: 8 | **MEDIUM**: 74 | **LOW**: 11Not introduced by this pull request. The full set is in the Security tab.
…and 73 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This was referenced Sep 25, 2026
ralyodio
added a commit
that referenced
this pull request
Sep 25, 2026
Cross-engine session handoff, stream rules at the PTY layer, and provider limits folded into `moshcode cost`, drawn from omp (oh-my-pi) after #536 added it as an engine. Grounded in three things already in the tree: cost.mjs already parses every engine's transcript format, pty.mjs already sits below every engine's output stream, and cost.mjs already reports spend but not headroom. Records two non-starters so they are not re-proposed: completion.mjs already generates no-drift completions from cli-schema.mjs, and advisor.mjs is advis0r.com equity research rather than an advisor model, so that name is taken. Conforms to profullstack.com/stack: MCP bridge on every verb, hqtui rather than a localhost web dashboard, node --test, and no em dashes. Regenerating the index with prd.mjs also corrected a stale row: 0017 has said Accepted on disk while README said Draft. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds omp (Stencil Labs' coding agent, oh-my-pi upstream) as an engine:
moshcode install omprunscurl -fsSL https://omp.sh/install | sh. Theinstaller
bun install -gs when a native-arch bun is present (~/.bun/bin)and otherwise downloads a prebuilt binary to ~/.local/bin; it edits no
shell rc, so both are bridged via binDirs. Aliases: oh-my-pi, ohmypi,
omp.sh.
Agent mode is
--auto-approve(skips tool approvals; the agent can stillask). No agentsView:
omp agentsmanages bundled agent files and exits.Headless ai() is
omp -p <prompt>, resume is--continue, and upgrade isomp's own
omp update.Verified with omp 18.3.1: a moshcode install into a throwaway HOME with
neither dir on PATH lands the binary in ~/.local/bin and resolves it via
binDirs;
omp --auto-approveunder a pty in a fresh directory opensstraight to the composer — no trust or bypass dialog, so no
bootanswers. Uncosted: its session logs are not read by
costyet.