Skip to content

feat(providers): add OhMyPi provider via ACP - #2

Merged
Fryuni merged 6 commits into
mainfrom
t3code/add-ohmypi-acp-provider
Sep 13, 2026
Merged

Fryuni merged 6 commits into
mainfrom
t3code/add-ohmypi-acp-provider

Conversation

@Fryuni

@Fryuni Fryuni commented Sep 11, 2026

Copy link
Copy Markdown
Owner

What Changed

Adds OhMyPi as a built-in provider, talking to the omp CLI over ACP (omp acp):

  • Server: new OhMyPiDriver and ACP adapter — availability probe without creating a session, session/new plus session/load resume, permission requests surfaced as T3 Code approvals (auto-approved in full-access mode), streamed content/tool-call/plan events, model selection via session/set_config_option, and per-cwd slash command capture.
  • Contracts: OhMyPiSettings (binary path, launch args, custom models) and the ohMyPi driver kind with a default model slug.
  • Web/mobile: OhMyPi provider icon, settings metadata, and settings search entry.
  • Docs: OhMyPi install and setup section in docs/user/install.md.
  • Tests: driver end-to-end against a mocked ACP CLI (turn, approval, resume, interrupt), plus ACP support and probe unit tests.

Why

OhMyPi already ships an ACP endpoint, so it slots into the existing ACP provider path instead of a bespoke protocol. This lets users run OhMyPi with its local omp credentials from every T3 Code surface. Background text generation (commit messages, thread titles, etc.) is explicitly unsupported and fails with a clear error rather than pretending to work.

UI Changes

Icon-only: adds an OhMyPi glyph to the web and mobile provider pickers and settings. No layout or motion changes.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Model: GLM (glm-5.3-flash) · Harness: opencode

- Run the omp CLI over ACP with approvals, resume, and model selection
- Add OhMyPi icons and settings entries across web, desktop, and mobile
- Document omp installation in the user guide
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-13T00:44:12.975512Z c878f97 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 28316f8016

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/server/src/provider/Drivers/OhMyPiDriver.ts
Comment thread apps/server/src/provider/Drivers/OhMyPiDriver.ts Outdated
- Probe status via `omp models --json` instead of an ACP initialize handshake
- Load models and thinking options before a thread starts; discovery errors keep the previous model list
- Report the CLI version from `omp --version`

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 858f07144c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/server/src/provider/Layers/OhMyPiAdapter.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12a532c040

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/server/src/provider/acp/OhMyPiAcpSupport.ts Outdated
Comment thread apps/server/src/provider/acp/OhMyPiAcpSupport.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 95542bd221

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/server/src/provider/Layers/OhMyPiAdapter.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a68d58984b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/server/src/provider/Layers/OhMyPiAdapter.ts Outdated
Comment thread apps/server/src/provider/Layers/OhMyPiAdapter.ts
@Fryuni
Fryuni merged commit 59f43f8 into main Sep 13, 2026
@Fryuni
Fryuni deleted the t3code/add-ohmypi-acp-provider branch September 13, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant