Skip to content

feat(app): add commit actions to Desktop/Web UI#18152

Draft
anduimagui wants to merge 4 commits intoanomalyco:devfrom
anduimagui:feat/commit-actions-ui
Draft

feat(app): add commit actions to Desktop/Web UI#18152
anduimagui wants to merge 4 commits intoanomalyco:devfrom
anduimagui:feat/commit-actions-ui

Conversation

@anduimagui
Copy link
Contributor

@anduimagui anduimagui commented Mar 18, 2026

Issue for this PR

Closes #12348

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This adds a native commit flow to the Desktop/Web UI instead of forcing users back to commands or external git tools.

The app now exposes a commit dialog from the session header where users can review the current branch, see change totals, choose whether to include unstaged files, and select one of three actions: commit, commit and push, or commit and create PR.

On the backend, /vcs now returns enough state for the UI to show staged/unstaged counts plus remote/GitHub availability, and /vcs/commit executes the selected flow while surfacing validation and git/GitHub errors back to the app.

How did you verify your code works?

  • Ran bun typecheck in packages/opencode
  • Ran bun typecheck in packages/app
  • Ran bun typecheck in packages/sdk/js
  • Push hook also ran bun turbo typecheck

Screenshots / recordings

  • Not included yet

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Let users review branch state, include unstaged changes, and choose whether a commit should stop locally, push, or open a PR without leaving the app.
@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Mar 18, 2026
@github-actions
Copy link
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@anduimagui anduimagui marked this pull request as draft March 18, 2026 23:30
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.

feat(app): add commit actions to Desktop/Web UI

1 participant