| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
One-key commit & push for oh-my-pi (the omp coding agent).
Type /commit or press Alt+C to run omp commit --push with the configured commit role, then echo the new commit(s) into the session. Type /quick-commit, or press Alt+Q, to skip the diff pipeline and summarize the message from the agent's own session context instead.
Committing from inside a coding agent usually means leaving the agent: switch to a terminal, git add -A, hand-write a message that reconstructs intent the agent already had, git commit, git push. omp commit --push removes the typing, but it still runs the full commit pipeline (diff analysis, changelog updates, message generation) on every invocation.
Most of that work is redundant. The agent's own session already recorded what was asked for and what changed, and a commit message is just that record, compressed. This extension hands that record to the commit step instead of rebuilding it from the diff:
Neither path touches your history beyond git add -A, git commit, and git push. When the tree is clean, the agent is busy, or there is no session context yet, it stops with a notification.
omp plugin install git:github.com/3xian/omp-quick-commitRestart OMP after install. /commit and /quick-commit are slash commands, not shell binaries.
Or copy into user extensions and restart OMP:
cp -r . ~/.omp/agent/extensions/omp-quick-commit| Command / Shortcut | Action |
|---|---|
| /commit | Commit all changes and push (omp commit --push) |
| /quick-commit | Commit all changes and push, with the message summarized from agent context |
| Alt+C | Same as /commit |
| Alt+Q | Same as /quick-commit |
In the TUI, a spinner row above the editor reports progress with the same shimmer sweep as omp's built-in working indicator. It honors the display.shimmer setting; non-TUI modes keep their supported status output. On success, a follow-up message lists the new commits (hash + subject). Failures and “no new commit” cases show a notification instead.
No diff pipeline and no changelog updates: the message comes from what the agent just did.
It does nothing (with a notification) when the agent is busy, another commit is already running, the session has no agent context yet (use /commit), or the working tree is already clean.
Both Alt shortcuts require the terminal to report Alt as Meta. On macOS that means enabling "Use Option as Meta key" in Terminal.app (or Esc+ in iTerm2), otherwise Option+Q types œ and the shortcut never fires.
Requires git and omp on PATH. Uses the workspace cwd.
| Back | FazBrowse Home | New Git URL |