GitHub and GitLab
Mango shows a project's pull requests, issues, releases and workflow runs beside the chats, from GitHub or GitLab (gitlab.com or your own server). Everything is read through the forge's own CLI, so Mango never sees a token:
- GitHub CLI (
gh), signed in withgh auth login - GitLab CLI (
glab)
Three tool windows on the right use them: Pull requests, Releases and Actions. For a GitLab project they are called Merge requests, Releases and Pipelines.
Sign in
Settings > Version control has three parts: GitHub shows gh, GitLab shows glab, and Lore is described in Lore. GitHub and GitLab show their CLI: installed or not, and every server each is signed in to, with Sign out.
- Install: Mango installs a missing CLI with WinGet or Homebrew and finds it as soon as the installer is done, without a restart.
- Sign in runs the tool's own sign-in in a terminal right there: github.com or a GitHub Enterprise server, gitlab.com or a self-managed GitLab server.
- GitLab servers: the list in the GitLab part names self-managed servers whose projects get merge requests, issues, pipelines and releases. Servers named
gitlab.…and thoseglabis signed in to are recognised on their own. Mango only asks servers you added.
For a remote project, Mango runs the glab installed and signed in inside its environment (this computer's only when the environment has none). GitHub reads use gh on this computer.
Pull requests
Ctrl Shift P shows the pull requests and issues linked to the chat in front of you.
Linked by the agent
When the agent opens one in a chat (gh pr create, gh issue create, glab mr create, glab issue create, or a GitHub or GitLab MCP tool), Mango links it to that chat and opens it beside the chats. Only a create command counts, never a link the agent merely mentions.
- The tool row that created it gets a
#42button that shows it again. - The chat's row in the sidebar leads with the pull request's icon, coloured by its state, and shows its number (
+1when more are linked).
What it shows
State, title, author, branches, changes, checks and review, labels, and the description as GitHub renders it, pictures included. Descriptions are sanitised before they are shown.
While a pull request is open, Mango keeps reading it: every 10 seconds while checks run, every minute otherwise.
Checks and logs
Checks are listed failed ones first; when all of them pass Mango just says so.
A GitHub Actions check opens its log right there, laid out like GitHub's job page: the job's steps with their state and time, each opening to its numbered log, with ##[group] sections folded, errors and warnings marked and colours kept. A failed step opens by itself and its first error scrolls into view. While the job still runs, its steps update every few seconds and the log follows once it finishes. The #42 button at the top (or Esc) goes back to the pull request. Other checks open their details on their own site.
Merge
Merge with any method the repository allows: merge commit, squash or rebase. Mango asks once more first, and GitHub refuses if the branch got new commits since you looked.
Link one by hand
A chat with nothing linked shows a field over the repository's open pull requests and issues (the link button in the header opens the same one). Type a number, a title or a branch to filter; arrows move, Enter links, Esc clears. A link, owner/repo#12 or #12 works too, also for closed ones.
With no chat in front, the window lists the project's open pull requests and issues. Picking one opens it there, checks, logs and merging included, without linking it to anything.
GitLab
Merge requests work the same way, with GitLab's numbering:
- Merge requests are
!12and issues#12(GitLab counts them apart). Type!12,#12,group/project!12, or paste a link (…/-/merge_requests/12,…/-/issues/12). - A pipeline's jobs are the checks, and each opens its log, sections as steps.
- Merge with the methods the project allows (merge or squash). Approvals show as Approval.
Releases
Ctrl Shift R shows the project's releases, newest first, and the GitHub Actions runs (on GitLab, the tag pipelines) that build them.
- A build that is running sits on top with its jobs as a row of steps. So does a draft whose build failed, and a run of the release workflow started by hand (a trial build).
- The tool stripe button shows a turning ring while a release builds and a red cross when its build failed, also with the window closed.
- A release opens to its tag and commit, the workflow run with each job (running and failed ones first, with times, and an estimate for a running build from how long the last ones took), its files grouped by platform, and its notes. Each
.sigsignature is folded into the file it signs; click a file to download it in your browser. - A job opens its log, as in Pull requests.
- Re-run a failed build's failed jobs, or cancel a running one; Mango asks first. On GitLab, Retry runs a pipeline's failed jobs again and Run again starts a new pipeline on the tag.
A GitLab release set for a later date shows as Upcoming. File sizes and downloads show only where the forge reports them.
Mango refreshes every 15 seconds while a release builds and the window is open (30 seconds while it is closed), every two minutes otherwise, and never while the app is hidden.
Actions
Ctrl Shift A shows the project's recent GitHub Actions runs or GitLab pipelines, for all branches or only the branch you are on, and for every workflow or one you pick.
- Runs that are going sit on top with their jobs as a row of steps; finished ones below, with how long ago they ended.
- A run opens to its branch, commit, what started it, how long it took (or about when it will be done), and its jobs, failed ones first. A job opens its log.
- Re-run a failed run's failed jobs, run a finished one again, or cancel a running one; Mango asks first.
- The tool stripe button shows a turning ring while a workflow runs and a red cross when the newest run of a workflow on your branch failed.
Mango reads it when you first open the window, then every 10 seconds while a run is going and the window is open (30 seconds while it is closed), every minute otherwise, and never while the app is hidden.
When the windows show
The Releases and Actions buttons show only when the project's git remotes point at a GitHub repository or a GitLab server. Projects without one, and Unity VCS and Lore projects, don't have them. All three windows work for remote projects too.