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.
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.
ReviewRequestMetadata
Current remote review-request title and description.
ReviewRequestMetadataFieldUpdate
One review-request field update guarded by the remote value used during semantic reconciliation.
ReviewRequestSummary
Normalized remote summary for one linked review request.
UpdateReviewRequestInput
Input required to conditionally update reconciled review-request metadata.

Enums§

ForgeKind
Shared forge family enum reused by persistence and forge adapters.
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.

Constants§

AGENTTY_REVIEW_REPLY_MARKER_PREFIX
Prefix for the per-operation identity marker Agentty appends to review thread replies.

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.