Skip to main content

Crate ag_forge

Crate ag_forge 

Source
Expand description

Forge review-request adapters, normalized types, and remote detection.

Structs§

CreateReviewRequestInput
Input required to create a review request on one forge.
ForgeRemote
Normalized repository remote metadata for one supported forge.
RealReviewRequestClient
Production ReviewRequestClient that routes to forge-specific adapters.
RequestedReview
Normalized row for one open PR or MR requesting the current user’s attention.
ReviewComment
One inline review comment emitted by a reviewer on a forge review thread.
ReviewCommentSnapshot
Full review-comments payload captured for one review request.
ReviewCommentThread
One review thread anchored to a line of the review request diff.
ReviewRequestSummary
Normalized remote summary for one linked review request.
UpdateReviewRequestInput
Input required to keep an existing review request aligned with the latest session commit message.

Enums§

ForgeKind
Shared forge family enum reused by persistence and forge adapters.
RequestedReviewAudience
Review audience that caused one PR or MR to require the current user’s attention.
ReviewCommentAnchorSide
Diff side used to anchor one inline review-thread comment.
ReviewRequestError
Review-request failures normalized for actionable UI messaging.
ReviewRequestState
Normalized remote lifecycle state for one linked review request.

Traits§

ReviewRequestClient
Async boundary used by app orchestration for forge review requests.

Functions§

detect_remote
Detects one supported forge remote from repo_url.
is_gitlab_host
Returns whether host looks like one GitLab instance hostname.

Type Aliases§

ForgeFuture
Boxed async result used by review-request trait methods.