Shows the sessions of Oh My Pi, the coding agent omp, a fork of Pi, in the notch: working, done when a turn ends, needing you while it waits for your approval of a tool, an answer to its ask or the review of a plan, what the tool in use does, its first prompt, its repository and its branch as its name, and its tool calls as steps. Its plan reviews are answered from Blossom, with Approve or Keep planning and a note.
Oh My Pi has no hooks of the shell. It loads modules in TypeScript, its extensions, into its own process. Blossom installs one of its own, ~/.omp/agent/extensions/blossom.ts, a copy of extension.ts, which posts a few fields of each event to a Unix socket in your own folder, ~/Library/Application Support/Blossom/omp/socket, where this adapter listens. Blossom launches the adapter.
This adapter was written from the documentation and the source of Oh My Pi and was never run against a real one. What they say and what is only supposed is in ../../documentation/roadmap/omp.md; the checks at the end say what to look at. Why Blossom installs a module, and what the module may and may not do, is in the decision.
You need:
bun run build makes one.omp. The module follows its documentation, docs/extensions.md and docs/extension-loading.md, and the source of can1357/oh-my-pi at commit b28e2104d02b69fca858746c2e1284beba543099 of 3 December 2026, after its release 19.4.1.The quickest way. Blossom finds omp in your PATH or in the usual folders, ~/.local/bin among them, where its install script puts it, and connecting it is one click: "Continue" on the second step of the introduction, with Oh My Pi checked, or its switch in Settings > Agents. Blossom then adds this adapter to its configuration, starts it, and writes ~/.omp/agent/extensions/blossom.ts, readable by you alone, creating the folders it needs. No file of yours is changed: your other extensions stay as they are.
"Repair" in the row writes the module again when it is missing, when you changed it or when an update of Blossom brings another one; it keeps a copy of the file it replaces in ~/Library/Application Support/Blossom/backups/omp/. "Disconnect", shown while the agent is off, takes the adapter out of Blossom and deletes blossom.ts, after the same copy. A file named blossom.ts there that is not Blossom's, because it does not name the socket, is left alone and the row says so. Blossom does not follow PI_CODING_AGENT_DIR, PI_CONFIG_DIR or the profiles of Oh My Pi, --profile: one that uses another folder does not load the module.
Oh My Pi loads its extensions when a session starts. A session that was open when you connected reports from its next start.
From the root of the clone:
bun install && bun run bootstrap && bun run build
BLOSSOM_CONFIGURATION=adapters/omp/configuration.json apps/macos/build/Build/Products/Debug/Blossom.app/Contents/MacOS/BlossomThe notch shows nothing until a session of Oh My Pi reports. Run one Blossom at a time: the adapter holds the socket, and the adapter of a second Blossom logs cannot listen for the extension of oh my pi and exits.
An app opened from Finder reads ~/Library/Application Support/Blossom/configuration.json. Name the adapter by its package:
{ "adapters": [{ "package": "omp" }] }For a clone without the app:
mkdir -p ~/.omp/agent/extensions
cp adapters/omp/extension.ts ~/.omp/agent/extensions/blossom.tsAfter an install by hand; after connecting from Blossom, Disconnect does it, and removing Blossom deletes the module, see Removing it.
rm ~/.omp/agent/extensions/blossom.tsOh My Pi can also turn it off without removing it, in /extensions, or with disabledExtensions: [extension-module:blossom] in its configuration.
plan_review_resolved, on which the module drops its post, which withdraws the panel; an answer of the notch that arrives after it finds the review closed and changes nothing. If Blossom quits while a review waits, the post fails, the module answers nothing, and the review stays in Oh My Pi. No promise is left waiting: the module awaits nothing, and its timer ends with the post.execute, the first choice of Oh My Pi, which starts on the plan in a fresh context with the model selected in its slider; Keep planning answers refine with your note, or with "Keep planning: the plan was not approved in Blossom." without one, and Oh My Pi plans again with it. The picker of Oh My Pi stays open meanwhile and the first answer wins; an answer there withdraws the panel. Its other choices, keeping or compacting the context and saving the plan, are made in Oh My Pi. A review that gets no answer within fifteen minutes is left to Oh My Pi.tool_approval_requested and tool_approval_resolved, and while its ask tool runs, the session needs you. No extension can answer an approval. Oh My Pi asks for approvals only in some modes, always-ask, write or rules of yours; its default, yolo, asks none.input, agent_start, tool_execution_start, tool_execution_end, agent_end, tool_approval_requested, tool_approval_resolved, plan_review_requested, plan_review_resolved, session_switch and session_shutdown, and to nothing else: not to tool_call or tool_result, whose handlers can block or change a call. Every handler returns at once with nothing; the posts go one after the other in the background, one second each at most, and the review of a plan waits sixteen minutes at most. With Blossom closed, every post fails at once and Oh My Pi notices nothing. It imports node:http alone, reads no file and logs nothing. It skips the sessions of subagents, ctx.agent.kind sub.task while their call streams, unless an extension listens to its approvals, tool_call or tool_result, as its documentation and its code say (hasLifecycleHandlers in packages/coding-agent/src/speculation/host.ts). This module listens to approvals, to show when one waits for you, so with it those subagents start only when the call ends; what they do is the same. The row of Oh My Pi in Settings > Agents says so. Disconnect, or turning the module off in /extensions, gives the speculative launch back. Whether to keep listening to approvals is a provisional decision, see the roadmap.path of its arguments and whether it failed; whether a turn continues by itself; the identifier of a review and the text of its plan. Never a command, the content of a file, what a tool printed or an answer of the model. The adapter keeps the title, the name of the tool and the words of its step, the folder, and the plan only while its review waits.input starts a session, and so does agent_start, since omp acp and omp -p send no input. The title is the first line of the first prompt, cut to 60 characters; a prompt that starts with / or ! titles nothing.tool_execution_start to its tool_execution_end. read, edit and write show the name of their file without its folder when their arguments carry path; edit in its default mode carries none and shows "Editing a file"; bash shows "Running a command"; the others a label. A step still running when the turn ends is shown failed.agent_end without willContinue is done; with it, Oh My Pi goes on by itself.session_shutdown, sent when the process ends, closes it; session_switch, after /new, a resume or a fork, closes the other sessions of the same process. A session whose omp was killed leaves within five seconds./bin/ps and checks every value as it checks those of a hook. Under omp acp the environment is the one of the editor, and a session has no terminal.Read in the documentation and the source, never seen in a run:
~/.omp/agent/extensions/blossom.ts through Bun and that node:http reaches a Unix socket from its binary.ctx.resolvePlanReview from a handler that already returned answers the review, as the documentation says.tool_execution_start carries path in the arguments of read and write.session_switch comes with the context of the new session, so the module names it.omp acp reports through its agent_start.The module was loaded into a double of the API of extensions of Oh My Pi, written from its source, and its posts reached the adapter through a real socket; it never ran inside Oh My Pi. Each check below needs omp signed in.
omp in a new folder and open /extensions. Is blossom listed and on, with no error?hi. Does the tile appear, titled hi and named after the folder, and turn green when the answer ends?read the file package.json. Does detail list Read package.json as a step?ask me to choose between two options before you answer. Does the tile turn amber while ask waits?tools.approvalMode to always-ask and ask run the shell command ls. Does the tile turn amber until you approve in Oh My Pi?/new. Does the old tile leave? Quit omp. Does the tile leave?hi. Does Oh My Pi answer as before, with nothing printed about an extension?~/.omp/agent/extensions/blossom.ts gone, and your other extensions still there?