Repository navigation
feat(box): oh-my-pi runs as a built-in agent - #86
Merged
Merged
Conversation
…at say when it needs you Adds omp to the agent presets (model and thinking flags, acp), the box's agent lookup, the integrations installer (an extension in ~/.omp/agent/extensions that reports session, turn and approval events) and the app's agent names.
|
@STRML is attempting to deploy a commit to the seanbrydonio's projects Team on Vercel. A member of the Team first needs to authorize it. |
…sessions omp reads user MCP servers from ~/.omp/agent/mcp.json, in the same mcpServers shape as Claude Code. integrations install omp now adds berthd mcp there on a box, keeping servers already in the file, and leaves it alone for the laptop binary.
Merged
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.
Summary
oh-my-pi (omp) is a built-in agent. It shows up when the box finds omp, starts from a project like the others, and reports when it needs you.
omp speaks ACP (
omp acpanswersinitializewith loadSession and resume), so chat and history reuse the OpenCode, Gemini and Cursor path. No new transcript parser.omp,--model,--thinking(low to max),acpagentOfknowsompand@oh-my-pi/pi-coding-agent; box tools and the agent PATH search include itberthd integrations install ompwrites~/.omp/agent/extensions/berth.ts; the adapter maps session_start, agent_start, tool_approval_requested and resolved, agent_end, session_shutdownTwo details in the extension. An
agent_endwithwillContinue(a retry or queued message) is not a turn end; omp fired four of those before the final one in a single print run, so the adapter drops them. Subagents have no UI (hasUIfalse) and report nothing.Status - 2026-10-13
go vet,go test -raceTestReapClosesOnlyEndedBerthSessionsAgentBrowsers, which fails on main tooOpen follow-ups:
bun install -g @oh-my-pi/pi-coding-agentcomes from a docs mirror; the npm registry was unreachable here, so the package name is uncheckedTest plan
berthd integrations install ompon a box with omp, then start omp in a terminal session: working, needs you and done show in the appberthd agents listand Settings > Agents show oh-my-pi