Repository navigation
feat: OMP target (--target omp) - #171
Open
ChronodeAi wants to merge 1 commit into
Open
ChronodeAi wants to merge 1 commit into
ChronodeAi wants to merge 1 commit into
Conversation
Installs the pipeline for OMP (oh-my-pi), which runs Claude and OpenAI models behind one tool set. OMP renders the Codex branches of the templates and core/omp.py translates them (read/task/edit/todo, /skill:hyperresearch, .hyperresearch/omp/steps/). Agents become OMP agent markdown with mapped, enforced tool allowlists, no model (they run on the session's model), thinking-level by role and read-summarize: false. The stop gate is an OMP extension that acts only in a session that ran 'hyperresearch run init/step' itself and returns an advisory continuation from 'run stop-gate --cwd --platform omp'. Global installs go to OMP's agent dir (PI_CODING_AGENT_DIR or ~/.omp/agent). No docs file: .omp/AGENTS.md would shadow the project's AGENTS.md.
This branch has not been deployed
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 a third runtime, OMP (oh-my-pi). OMP runs Claude and OpenAI models behind one tool set (
read,write,edit,bash,web_search,task,todo), so one install serves both model families.Layout
install . --target omp)--global --target omp).omp/skills/hyperresearch/, invoked as/skill:hyperresearch<agent dir>/skills/.hyperresearch/omp/steps/.omp/agents/<agent dir>/agents/.omp/extensions/hyperresearch.ts<agent dir>/extensions/The agent dir is
$PI_CODING_AGENT_DIR, else~/.omp/agent.No new template branches. OMP renders the Codex branches and
core/omp.pytranslates them:cat <step>becomesread <step>:raw, so step files are read in full..codex/agents/*.tomlbecome OMP agents spawned with thetasktool.apply_patchbecomeseditandupdate_planbecomestodo.$hyperresearchbecomes/skill:hyperresearch.A test checks every OMP render for leftover Claude Code or Codex constructs, and checks that every step file and agent it references is installed.
Agents. Each is the Claude markdown agent with OMP frontmatter:
[read, edit]).modelkey, so subagents run on the session's model, Claude or OpenAI.thinking-levelis set from the role's model class, andread-summarize: falsemakes reads return full text.Stop gate. The extension acts only in a session that has itself run
hyperresearch run initorrun step. A vault in a parent directory therefore cannot pull unrelated sessions into a run. Onsession_stopthe extension runshyperresearch run stop-gate --cwd <dir> --platform omp, using two new flags:--cwdskips reading stdin, and--platform ompmakes the reason name the OMP step file. It returns OMP's advisory{continue, additionalContext}, which OMP caps.Docs file. None is written for OMP: OMP's native
.omp/AGENTS.mdwould shadow the project's ownAGENTS.md.Smaller changes
run resume -jgainsomp_step_file.hpr profile usere-renders OMP installs, and also the step files of projects bootstrapped from a global install.--target allnow includes OMP.Verified
deno checkand was exercised against a fake API.omp -psession lists the skill and the agents.run stepwas sent back by the gate after trying to stop. It then aborted the run as instructed, and the gate let it finish.hyperresearch-fetcheragent ran with exactlybash, read, write, web_searchand read a 1,779-line note in three pages.