feat: add native Oh My Pi provider support - #446
Open
Devin-Pi wants to merge 11 commits into
Open
Conversation
Integrate OMP providers, models, roles, prompts, usage, and session discovery into the CLI and TUI while preserving OMP-native YAML semantics.
Closed
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
omp) app support across CLI, TUI, provider, prompt, session, usage, and configuration workflowsmodels.ymlformatRelated issue
Issue #358 tracked the request for Pi and OMP support. Pi was later merged separately in #431; this PR implements the remaining OMP scope with native OMP configuration semantics rather than reusing the Pi adapter.
Scope
AppType::Omprouting instead of reusing the Pi adapterPI_CODING_AGENT_DIR,PI_CONFIG_DIR, OMP profiles, project/global role configuration, and native OMP path resolutionmodels.ymlconfig.ymlmodel roles; it does not delete or replace other providers--app ompmodel and role commands and an OMP TUI surface aligned with the existing app menusCompatibility
Existing Claude, Codex, Gemini, OpenCode, Hermes, OpenClaw, and Pi workflows remain unchanged. OMP configuration is kept separate from Pi configuration and uses OMP-native YAML files and environment variables.
Validation
cargo fmt --all -- --checkcargo checkcargo test --lib -- --test-threads=1cargo test --bin cc-switch -- --test-threads=1cargo build --releasegit diff --checkTests that touch OMP paths use isolated temporary directories and do not modify the host OMP, Claude, Codex, or CC-Switch configuration directories.