Git
| Method | Path | Description |
|---|---|---|
| GET | .../preview/git-state | { available, hasUncommittedChanges, hasUnpushedCommits, hasCommitsAheadOfBase }. Returns available: false when the sandbox is not running. |
| POST | .../preview/git/commit-message | Generate a conventional commit message from the pending diff. |
| POST | .../preview/git/commit | Stage everything and commit. Body { message }. |
| POST | .../preview/git/push | Push the branch to origin. |