internal/

directory
v1.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: MIT

Directories

Path Synopsis
Package checkout gets the repository under review onto disk.
Package checkout gets the repository under review onto disk.
Package cli wires the cobra command tree: the root command launches the TUI; subcommands cover the browser GUI, version, config inspection, and cache maintenance.
Package cli wires the cobra command tree: the root command launches the TUI; subcommands cover the browser GUI, version, config inspection, and cache maintenance.
Package config loads and validates gitlab-reviewer settings with the precedence flags > environment variables > settings file > defaults.
Package config loads and validates gitlab-reviewer settings with the precedence flags > environment variables > settings file > defaults.
Package gitlabx wraps the official GitLab client behind a small interface the TUI can depend on and tests can fake.
Package gitlabx wraps the official GitLab client behind a small interface the TUI can depend on and tests can fake.
position
Package position maps review findings onto GitLab diff positions: the base/head/start SHAs plus old/new path and line GitLab requires for an inline discussion.
Package position maps review findings onto GitLab diff positions: the base/head/start SHAs plus old/new path and line GitLab requires for an inline discussion.
Package review defines the Reviewer abstraction: what a review needs, what it produces, and how findings are modelled.
Package review defines the Reviewer abstraction: what a review needs, what it produces, and how findings are modelled.
agents
Package agents defines the pluggable review agents that a scan can run: the six built-in agents (one per finding category) plus plugin-, user- and project-provided agents loaded from markdown files with YAML frontmatter.
Package agents defines the pluggable review agents that a scan can run: the six built-in agents (one per finding category) plus plugin-, user- and project-provided agents loaded from markdown files with YAML frontmatter.
claudecli
Package claudecli runs reviews by shelling out to the Claude Code CLI in headless mode (claude -p, stream-json output, structured output schema).
Package claudecli runs reviews by shelling out to the Claude Code CLI in headless mode (claude -p, stream-json output, structured output schema).
delta
Package delta supports incremental re-review: given the diff between the last reviewed head and the current one, it maps finding anchors from the old head's line numbers to the new head's, so findings on unchanged code carry forward (with their curation state) and findings whose anchor lines were changed or removed are dropped.
Package delta supports incremental re-review: given the diff between the last reviewed head and the current one, it maps finding anchors from the old head's line numbers to the new head's, so findings on unchanged code carry forward (with their curation state) and findings whose anchor lines were changed or removed are dropped.
publisher
Package publisher posts curated findings back to a merge request — as live inline discussions, as a draft review published in one action, or as general notes when no diff position resolves — so every frontend (TUI, web GUI) publishes identically.
Package publisher posts curated findings back to a merge request — as live inline discussions, as a draft review published in one action, or as general notes when no diff position resolves — so every frontend (TUI, web GUI) publishes identically.
resultstore
Package resultstore persists completed review results — the summary and every finding with its curation state — so a review survives navigating away or closing the session, and can be reopened later.
Package resultstore persists completed review results — the summary and every finding with its curation state — so a review survives navigating away or closing the session, and can be reopened later.
runlog
Package runlog persists the progress log of each review run — the same timestamped lines streamed to the review screen — so a run can be read back after its screen is gone.
Package runlog persists the progress log of each review run — the same timestamped lines streamed to the review screen — so a run can be read back after its screen is gone.
runner
Package runner orchestrates one review run end to end — checkout, prompt assembly, reviewer passes, result merging, and persistence — so every frontend (TUI, web GUI) drives the same pipeline and stores the same artifacts.
Package runner orchestrates one review run end to end — checkout, prompt assembly, reviewer passes, result merging, and persistence — so every frontend (TUI, web GUI) drives the same pipeline and stores the same artifacts.
Package secret keeps secret values (GitLab tokens, API keys) out of logs, errors, and any user-facing output.
Package secret keeps secret values (GitLab tokens, API keys) out of logs, errors, and any user-facing output.
Package tui implements the terminal UI: a stack of screens over the gitlabx service, built on Bubble Tea.
Package tui implements the terminal UI: a stack of screens over the gitlabx service, built on Bubble Tea.
Package version holds build metadata injected at link time by GoReleaser (-X github.com/RobertYoung/gitlab-reviewer-cli/internal/version.Version=...).
Package version holds build metadata injected at link time by GoReleaser (-X github.com/RobertYoung/gitlab-reviewer-cli/internal/version.Version=...).
Package webui serves the browser-based GUI: the same review workflow as the TUI — pick an instance, browse MRs, read the diff, comment, run a review, curate findings, publish — rendered as HTML over a loopback-only HTTP server.
Package webui serves the browser-based GUI: the same review workflow as the TUI — pick an instance, browse MRs, read the diff, comment, run a review, curate findings, publish — rendered as HTML over a loopback-only HTTP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL