Skip to content

Evidence omp

Alexander Kurganov edited this page Nov 26, 2026 · 8 revisions

Evidence for the facts about Oh My Pi that the repository states in docs/clients.md. A heading here matches a heading there.

Documentation is the Markdown under docs/ in can1357/oh-my-pi, and source is the TypeScript under packages/. A link is a permalink at the commit its section names.

Oh My Pi

Oh My Pi, read at commit 96e4d8e, the head of main on 2026-11-05, unless a section below names another.

  • How the runs were set up. omp install names: a scratch config root and a local stand-in for the npm registry, with nothing published. omp install names: source paths name the @oh-my-pi/pi-coding-agent@18.16.0 npm package, and no documentation page was read for these facts. omp per-call model: packages/coding-agent at tag v18.16.0 is @oh-my-pi/pi-coding-agent@18.16.0; items that name 18.12.6 link commit 45c35e4, and items that name 18.18.9 link commit 50da2d3. omp tool_call cost and timeout, omp model roles and omp thinking levels: source items link tags v18.12.6 (commit 45c35e4) and v18.18.9 (commit 50da2d3). omp tool_call cost and timeout: omp from npm and a local stand-in model provider. omp model roles: omp from npm, a probe extension, a throwaway agent folder and a local stand-in model provider. omp thinking levels: omp from npm, a probe extension and a local stand-in model provider that logged each request's model and reasoning_effort.

omp manifest and settings

Read at commit 96e4d8e, the head of main on 2026-11-05.

  • Marketplace installs load the extension modules that omp.extensions declares, and installation symlinks the cached plugin into the scope's node_modules and records it in omp-plugins.lock.json. Documentation: marketplace.md L18
  • An extension package declares omp.extensions, the loader also accepts the legacy pi key, and entries may be .ts, .js, .mjs or .cjs files. Documentation: authoring-extensions.md L104–L137
  • The loader reads the omp object or pi, copies the package version into it, and treats a package with neither as no omp plugin. Source: loader.ts L194–L199
  • The manifest's optional settings map and its schema types. Source: types.ts L25–L49, L55–L93
  • Plugin settings are stored in omp-plugins.lock.json, keyed by package name and then by setting key. Source: types.ts L141–L146
  • The lockfile sits in plugins/ under the scope root and is written with owner-only permissions. Documentation: marketplace.md L228–L248
  • <project>/.omp/plugin-overrides.json overrides a plugin's features and settings. Documentation: plugin-manager-installer-plumbing.md L59 Source: types.ts L153–L164
  • An extension's settings read gives the stored values only: a setting with a manifest default and no stored value is absent from it, and omp plugin config get falls back to that default. Read at omp 18.20.0 (commit c308970263ae) on 2026-11-21. Source: the read merges the lockfile's settings with the project override and applies no default, loader.ts L475–L483, and reads the lockfile at loader.ts L56–L64; config get falls back to the manifest default, plugin-cli.ts L1002–L1004 Seen: omp 18.20.0 on 2026-11-21, omp -p with a scratch extension that prints its settings read, then omp plugin config get. The read held only the stored value, and config get printed direct, the manifest default of a setting that was not stored.
  • A stored enum value that a newer manifest no longer lists stays in the lockfile across an upgrade and reaches the extension as stored; omp plugin config validate reports it with Must be one of: … and exits 1. Read at omp 18.20.0 (commit c308970263ae) on 2026-11-21. Source: the read applies no check, loader.ts L475–L483; config validate checks each stored value, plugin-cli.ts L1094–L1100, prints the failure and exits 1, L1110–L1116; the enum message is in manager.ts L1346–L1349 Seen: omp 18.20.0 on 2026-11-21, omp plugin upgrade from a manifest that lists auto to one that does not, then omp plugin config validate. The lockfile and the read after the upgrade still held auto, and validate printed Must be one of: typesafe, openai, google and exited 1.
  • Extension-package discovery also reads a package's sibling folders skills/, hooks/pre|post/, tools/, commands/, rules/, prompts/ and .mcp.json. Source: omp-plugins.ts L1–L18
  • A rule file with alwaysApply: true needs no description, its text goes into the system prompt, and agents: main limits the rule to the top-level session. Read at omp 18.12.6 (commit 45c35e4) on 2026-11-26. Source: rule-buckets.ts L75–L81, system-prompt.md L51–L57, rule.ts L216–L228
  • Extension modules load at session start, and after an install /reload-plugins refreshes agents, skills and commands, and a restart loads new extension modules. Documentation: marketplace.md L80, extension-loading.md L167–L176

omp catalogue

Read at commit 96e4d8e, the head of main on 2026-11-05.

  • omp reads .omp-plugin/marketplace.json first and falls back to .claude-plugin/marketplace.json, and a repository may ship both. Documentation: marketplace.md L16, L100 Source: fetcher.ts L224
  • Required catalogue and entry fields, the ./ start of a string source, and how omp treats an invalid entry and extra fields. Documentation: marketplace.md L129–L133, L164 Source: fetcher.ts L123–L215
  • Name rules for marketplaces, plugins and plugin ids: allowed characters, start and end, and the length limits. Documentation: marketplace.md L252–L258
  • A git or local marketplace source holds a catalogue at one of the two paths, and a local source is a path such as ./path, ~/path or /path. Documentation: marketplace.md L86–L96

omp install and update

Read at commit 96e4d8e, the head of main on 2026-11-05.

  • The install and upgrade commands and the default scope. Documentation: marketplace.md L20–L25, L63–L78 Seen: omp 18.12.6, 2026-10-24, omp plugin marketplace add of a checkout's path printed ✔ Added marketplace, then omp plugin install model-router@model-router printed ✔ Installed model-router from model-router (<version>) Seen: omp 18.12.6 and 18.18.9, 2026-11-11, an install of the plugin from a checkout and from an unpacked tarball, and one get_available_commands request to omp --mode rpc --no-ui with a local stand-in model provider; the plugin's commands loaded
  • omp plugin disable <pkg> and omp plugin uninstall <pkg> for an npm install, by the package name. Source: plugin-cli.ts L1114–L1121, read at commit 45c35e4 on 2026-11-22. Documentation: plugin-manager-installer-plumbing.md L39–L40, L130–L139, marketplace.md L59, read at the same commit.
  • Where the installed version comes from, and its fallbacks. Documentation: marketplace.md L137
  • An upgrade of all plugins compares only catalogue entries that declare version, by a semver rule and a non-semver rule, and ignores --scope. Documentation: marketplace.md L223
  • marketplace update refreshes catalogues only, and upgrade reinstalls every installed scope when --scope is omitted and keeps settings and disabled state. Documentation: marketplace.md L221–L224 Seen: omp 18.16.0, 2026-11-05, omp plugin upgrade @probe-scratch/settings-probe moved an npm plugin from 0.0.1 to 0.0.2 and kept the stored setting, and before 0.0.2 existed it printed is up to date (0.0.1); omp plugin upgrade probe@probe-market also kept the settings, after a catalogue entry gained a higher version
  • marketplace.autoUpdate values, the default, and what notify does. Documentation: marketplace.md L225

omp install names

Read at omp 18.16.0 on 2026-11-05.

  • omp passes an extension no plugin name, and its API object has no member that names the plugin, the package, the manifest or the settings. Seen: omp 18.16.0, 2026-11-05, an extension printed its API member names while omp --mode rpc --no-ui loaded it
  • omp keys lockfile entries, the node_modules/<name> link and the project override by the installed package.json name, a lookup under another name finds no settings, and two installed plugins each read their own setting. Seen: omp 18.16.0, 2026-11-05, an extension looked up its settings under each candidate name after omp plugin install and omp plugin config set Seen: omp 18.16.0, 2026-11-05, a project override file written for the npm plugin overrode its stored setting and left the catalogue plugin's value alone, checked with omp plugin config get and an extension's settings read after the file was written Seen: omp 18.16.0, 2026-11-05, one session that loaded both extensions, each read its own setting, and no value crossed over
  • A catalogue install stores settings under the package name, and omp plugin config set takes that name. Seen: omp 18.16.0, 2026-11-05, omp plugin marketplace add, omp plugin install probe@probe-market, omp plugin config set
  • An npm install of a scoped package stores settings under the scoped name, and the unscoped name is not found. Seen: omp 18.16.0, 2026-11-05, omp plugin install @probe-scratch/settings-probe, omp plugin config set
  • omp plugin install takes a registry name for npm, a .tgz path fails with ENOTDIR, and a local folder installs by link. Seen: omp 18.16.0, 2026-11-05, omp plugin install of a tarball path Source: @oh-my-pi/pi-coding-agent@18.16.0, src/cli/classify-install-target.ts L92–L112
  • omp rejects a catalogue plugin whose package name equals an installed package name, case-insensitively. Source: @oh-my-pi/pi-coding-agent@18.16.0, src/extensibility/plugins/marketplace/manager.ts L1089–L1135
  • The settings read of an extension covers the user scope lockfile only, and a plugin installed with --scope project keeps its lockfile under the project, which that read does not see. Source: @oh-my-pi/pi-coding-agent@18.16.0, src/extensibility/plugins/loader.ts L489–L491

omp per-call model

Read at omp 18.16.0 (commit 650f3a1), unless an item names another release.

  • A task item's model is one exact provider/model-id selector, and omp accepts it only while task.perCallModel is on, a setting that defaults to off. Documentation: task.md L50
  • The per-call model check runs before any spawn, except for seance, and the whole call fails when the setting is off, the value is not one exact selector or it is a role alias. Source: task/index.ts L330–L331; structured-subagent.ts L363–L373
  • An item whose agent is seance skips that check, the bundled seance agent takes model as its source session's model, and an agent that shadows the name takes it as a per-call model. Source: task/index.ts L360–L372, L374–L379
  • An accepted per-call model replaces the agent's model and the task role, becomes the spawn's only model pattern, and leaves the spawn no model role. Documentation: task.md L129 Source: structured-subagent.ts L595–L597
  • before_subagent_spawn sends the per-call model as patterns, or the agent's own patterns when the item sets no model, and a returned model replaces them, a per-call model included. Source: structured-subagent.ts L658–L674
  • With task.perCallModel on, a role that a spawn hook returns wins over the item's own model. Seen: omp 18.16.0, 2026-11-06, with task.perCallModel set to on and one task call of two items, each model a provider/model-id, a hook returned @smol for the item that named a large model and @slow for the item that named a small one, and each spawn ran on the role
  • omp 18.12.6 has no task.perCallModel setting, and the setting arrived in 18.14.2. Documentation: CHANGELOG.md L566 at 18.18.9, the 18.14.2 entry
  • At omp 18.12.6 (commit 45c35e4), the docs mark the item model as seance only, and the task tool passes it on as the request model for any agent, which outranks the agent's own model. Documentation: task.md L47 Source: task/index.ts L346, L923, structured-subagent.ts L434
  • From omp 18.18.4 the task tool advertises the item model only when task.perCallModel is on or the bundled seance is spawnable. Documentation: CHANGELOG.md L143 at 18.18.9, the 18.18.4 entry
  • The item schema of the task tool declares solutionSpace as a string, and the tool description asks the agent to say there how open-ended the child's problem is. Read at omp 18.12.6 (commit 45c35e4) and omp 19.0.0 (commit 57771ae) on 2026-11-26. Source at 18.12.6: task.md L19, types.ts L158–L169; the schema line has no ? Source at 19.0.0: task.md L49–L52, types.ts L176–L187

omp tool_call cost and timeout

Read at omp 18.12.6 and 18.18.9 on 2026-11-11.

omp model roles

Read at omp 18.12.6 and 18.18.9.

omp thinking levels

Read at omp 18.12.6 and 18.18.9 on 2026-11-11.

omp project skills and folders

Read at omp 19.0.0 on 2026-11-19.

  • Project skills are read from .agent/skills and .agents/skills on the walk from the working directory up to the repository root, the walk skips the home folder, and the walk stops at the repository root, at the home folder, or at the filesystem root. Source: agents.ts L130–L161
  • The same walk reads .claude/skills. Source: claude.ts L197–L220
  • A skill name that two providers give: the priority of the providers, the provider that keeps the bare name, and what happens to the second copy. Source: skills.ts L135–L214, claude.ts L44, agents.ts L29
  • A skill file reached twice, as through a symbolic link, loads once. Source: skills.ts L451–L471
  • PI_CONFIG_DIR names the configuration folder relative to the home folder, and PI_CODING_AGENT_DIR names the agent folder. Source: dirs.ts L116–L118, L331–L334, L363–L367, L496–L501
  • A standalone binary creates natives/<version> and sets its times at each start; the natives folder sits in ~/.omp, or in $XDG_DATA_HOME/omp when that folder exists; an absolute PI_NATIVES_DIR moves it, and PI_CONFIG_DIR does not. Read at omp 18.20.0 (commit c308970263ae) on 2026-11-21. Source: the folder, with an absolute PI_NATIVES_DIR first, loader-state.js L58–L72; the file never names PI_CONFIG_DIR, loader-state.js; prepareNativeVersionDir creates and touches the folder, L227–L231; loadNative reaches it from the embedded-addon path, L502–L510, which needs an addon embedded in a standalone build, embedded-addon.js L1–L2, and from Windows staging, L534–L549, gated to Windows at L140–L142; the module calls loadNative at import, index.js L23 Seen: omp 18.20.0 on 2026-11-21, omp -p and omp plugin runs with PI_CONFIG_DIR set to a copy of the configuration folder. A check after the runs named natives/<version> in the default folder as its one changed entry; the run did not show what changed in it.
  • The order in which omp picks the first model, and --model as the preferred form. Documentation: models.md L788–L789, L809–L817

omp gaps

Read at commit 96e4d8e, the head of main on 2026-11-05, unless an item names another.

Clone this wiki locally