@effect-agent/pr-review 0.0.1-beta.0 → 0.1.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { Context, Effect, Layer, Option, Redacted, Schema } from "effect";
2
- import { AgentPolicy, AgentSpawner, IdGenerator, RunEvent, RunEventSink, RuntimeBinding, SubagentBudgetExhausted, SubagentDurability, SubagentDurabilityError, SubagentExecutionFailure, SubagentPolicy, SubagentPrestartDenied, SubagentProjectionFailure, ToolCallWaiting } from "effect-agent";
1
+ import { Context, DateTime, Effect, Layer, Option, Redacted, Schema } from "effect";
2
+ import { AgentPolicy, RunEvent, RuntimeBinding, SubagentPolicy } from "effect-agent";
3
3
  import { Tool, Toolkit } from "effect/unstable/ai";
4
4
  import { HttpClient } from "effect/unstable/http";
5
5
  //#region src/internal/diff.d.ts
@@ -551,23 +551,104 @@ declare const planPublication: (review: CodeReview, files: ReadonlyArray<Changed
551
551
  readonly stateNotice?: string | undefined;
552
552
  }) => ReviewPublicationPlan;
553
553
  //#endregion
554
+ //#region src/internal/retirement.d.ts
555
+ declare const RetirableReview_base: Schema.Class<RetirableReview, Schema.Struct<{
556
+ readonly reviewId: Schema.Int;
557
+ readonly body: Schema.String;
558
+ readonly commitSha: Schema.NonEmptyString;
559
+ readonly authorNodeId: Schema.NullOr<Schema.NonEmptyString>;
560
+ readonly submittedAt: Schema.NullOr<Schema.DateTimeUtc>;
561
+ }>, {}>;
562
+ /** One previously posted review as observed through the retirement host. */
563
+ declare class RetirableReview extends RetirableReview_base {}
564
+ declare const RetirableReviewComment_base: Schema.Class<RetirableReviewComment, Schema.Struct<{
565
+ readonly nodeId: Schema.NonEmptyString;
566
+ readonly path: Schema.NonEmptyString;
567
+ readonly startLine: Schema.NullOr<Schema.Int>;
568
+ readonly endLine: Schema.NullOr<Schema.Int>;
569
+ readonly body: Schema.String;
570
+ }>, {}>;
571
+ /** One inline comment attached to a previously posted review. */
572
+ declare class RetirableReviewComment extends RetirableReviewComment_base {}
573
+ declare const ReviewRetirementFailure_base: Schema.Class<ReviewRetirementFailure, Schema.TaggedStruct<"ReviewRetirementFailure", {
574
+ readonly operation: Schema.String;
575
+ readonly reason: Schema.String;
576
+ }>, import("effect/Cause").YieldableError>;
577
+ /** A GitHub retirement read or mutation failed. */
578
+ declare class ReviewRetirementFailure extends ReviewRetirementFailure_base {
579
+ get message(): string;
580
+ }
581
+ declare const ReviewRetirementHost_base: Context.ServiceClass<ReviewRetirementHost, "@effect-agent/pr-review/ReviewRetirementHost", {
582
+ readonly listReviews: Effect.Effect<ReadonlyArray<RetirableReview>, ReviewRetirementFailure>;
583
+ readonly listComments: (reviewId: number) => Effect.Effect<ReadonlyArray<RetirableReviewComment>, ReviewRetirementFailure>;
584
+ readonly updateBody: (reviewId: number, body: string) => Effect.Effect<void, ReviewRetirementFailure>;
585
+ readonly minimizeComment: (nodeId: string) => Effect.Effect<void, ReviewRetirementFailure>;
586
+ }>;
587
+ /**
588
+ * Host-side GitHub operations used by retirement. Domain code never reaches
589
+ * into REST or GraphQL directly, and deterministic tests substitute this port.
590
+ */
591
+ declare class ReviewRetirementHost extends ReviewRetirementHost_base {}
592
+ declare const ReviewRetirementReport_base: Schema.Class<ReviewRetirementReport, Schema.Struct<{
593
+ readonly reviewsRetired: Schema.Int;
594
+ readonly findingsResolved: Schema.Int;
595
+ readonly commentsMinimized: Schema.Int;
596
+ readonly failures: Schema.Int;
597
+ }>, {}>;
598
+ /** Observable cosmetic work completed by one fail-open retirement pass. */
599
+ declare class ReviewRetirementReport extends ReviewRetirementReport_base {}
600
+ interface ReviewRetirementInput {
601
+ readonly currentReviewId: number;
602
+ readonly currentReviewUrl: string;
603
+ readonly currentAuthorNodeId: string;
604
+ readonly currentSubmittedAt: DateTime.Utc;
605
+ readonly currentState: ReviewState;
606
+ }
607
+ interface ReviewRetirementDecision {
608
+ readonly body: string;
609
+ readonly resolvedFindings: ReadonlyArray<StoredReviewFinding>;
610
+ readonly priorFindingCount: number;
611
+ }
612
+ /** The host-authored metadata marker is the authority gate for any edit. */
613
+ declare const hasReviewMetadataMarker: (body: string) => boolean;
614
+ /** Compute one prior review's resolved subset and deterministic retired body. */
615
+ declare const decideReviewRetirement: (input: {
616
+ readonly priorBody: string;
617
+ readonly priorState: ReviewState;
618
+ readonly currentState: ReviewState;
619
+ readonly currentReviewUrl: string;
620
+ }) => ReviewRetirementDecision;
621
+ /**
622
+ * Retire every marker-bearing prior review against the newest posted state.
623
+ * Every lookup, edit, and minimization is isolated: retirement is cosmetic
624
+ * and can never change the run or check outcome.
625
+ */
626
+ declare const retireStaleReviews: (input: ReviewRetirementInput) => Effect.Effect<ReviewRetirementReport, never, ReviewRetirementHost | ReviewStateAuthenticator>;
627
+ //#endregion
554
628
  //#region src/internal/github.d.ts
629
+ /** Which pull request to review and how to reach the API. */
630
+ declare const DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN = "github-actions[bot]";
555
631
  declare const GitHubReviewTarget_base: Context.ServiceClass<GitHubReviewTarget, "@effect-agent/pr-review/GitHubReviewTarget", {
556
632
  /** API root, e.g. `https://api.github.com` (no trailing slash). */
557
633
  readonly apiUrl: string;
634
+ /** GraphQL root, e.g. `https://api.github.com/graphql`. */
635
+ readonly graphqlUrl: string;
558
636
  /** `owner/name`. */
559
637
  readonly repository: string;
560
638
  readonly number: number;
561
639
  /** Absent token means unauthenticated reads (public repositories only). */
562
640
  readonly token: Option.Option<Redacted.Redacted<string>>;
641
+ /** Bot login expected to author reviews posted with this target's token. */
642
+ readonly reviewAuthorLogin?: string | undefined;
563
643
  }>;
564
- /** Which pull request to review and how to reach the API. */
565
644
  declare class GitHubReviewTarget extends GitHubReviewTarget_base {
566
645
  static layer(config: {
567
646
  readonly apiUrl: string;
647
+ readonly graphqlUrl?: string | undefined;
568
648
  readonly repository: string;
569
649
  readonly number: number;
570
650
  readonly token: Option.Option<Redacted.Redacted<string>>;
651
+ readonly reviewAuthorLogin?: string | undefined;
571
652
  }): Layer.Layer<GitHubReviewTarget>;
572
653
  }
573
654
  declare const GitHubApiFailure_base: Schema.Class<GitHubApiFailure, Schema.TaggedStruct<"GitHubApiFailure", {
@@ -578,11 +659,16 @@ declare const GitHubApiFailure_base: Schema.Class<GitHubApiFailure, Schema.Tagge
578
659
  declare class GitHubApiFailure extends GitHubApiFailure_base {
579
660
  get message(): string;
580
661
  }
662
+ /** Decode GitHub's external timestamp before it participates in mutation ordering. */
663
+ declare const parseGitHubSubmittedAt: (value: string | null) => DateTime.Utc | null;
581
664
  declare const PublishedReview_base: Schema.Class<PublishedReview, Schema.Struct<{
582
665
  readonly reviewId: Schema.Int;
583
666
  readonly url: Schema.String;
584
667
  readonly event: Schema.String;
585
668
  readonly inlineComments: Schema.Int;
669
+ /** Actor and ordering boundary returned by the create-review response. */
670
+ readonly authorNodeId: Schema.NullOr<Schema.NonEmptyString>;
671
+ readonly submittedAt: Schema.NullOr<Schema.DateTimeUtc>;
586
672
  }>, {}>;
587
673
  /** The publication receipt callers report back to the operator. */
588
674
  declare class PublishedReview extends PublishedReview_base {}
@@ -599,6 +685,8 @@ declare class ReviewPublisher extends ReviewPublisher_base {}
599
685
  declare const gitHubPullRequestSourceLayer: Layer.Layer<PullRequestSource, never, GitHubReviewTarget | HttpClient.HttpClient>;
600
686
  /** GitHub-backed publisher: one POST to the pull-request reviews endpoint. */
601
687
  declare const gitHubReviewPublisherLayer: Layer.Layer<ReviewPublisher, never, GitHubReviewTarget | HttpClient.HttpClient>;
688
+ /** GitHub-backed host operations for cosmetic retirement after publication. */
689
+ declare const gitHubReviewRetirementHostLayer: Layer.Layer<ReviewRetirementHost, never, GitHubReviewTarget | HttpClient.HttpClient>;
602
690
  declare const PriorReviewLookupFailure_base: Schema.Class<PriorReviewLookupFailure, Schema.TaggedStruct<"PriorReviewLookupFailure", {
603
691
  readonly reason: Schema.String;
604
692
  }>, import("effect/Cause").YieldableError>;
@@ -695,6 +783,11 @@ declare const rankAndDedupeFindings: (findings: ReadonlyArray<ReviewFinding>) =>
695
783
  declare const MAX_CHILD_FINDINGS = 8;
696
784
  /** One child returns at most this many non-anchored concerns. */
697
785
  declare const MAX_CHILD_CONCERNS = 3;
786
+ /**
787
+ * One mandatory diff read plus one bounded context read for every path in a
788
+ * maximum-size unit. Keep the child and delegation reservation aligned.
789
+ */
790
+ declare const MAX_FILE_REVIEW_TOOL_CALLS: number;
698
791
  declare const FileReviewToolkit: Toolkit.Toolkit<{
699
792
  readonly read_file: Tool.Tool<"read_file", {
700
793
  readonly parameters: typeof FileSliceQuery;
@@ -790,14 +883,6 @@ declare const mapFileReviewChildFailure: (failure: {
790
883
  readonly _tag: string;
791
884
  readonly message?: string;
792
885
  }) => FileReviewUnitFailed;
793
- /** Exactly the failure union `Subagent.define` declares for this delegation. */
794
- declare const FileReviewDelegationFailure: Schema.Union<readonly [typeof FileReviewUnitFailed, typeof SubagentPrestartDenied, typeof SubagentBudgetExhausted, typeof SubagentProjectionFailure, typeof SubagentExecutionFailure, typeof ToolCallWaiting, typeof SubagentDurabilityError]>;
795
- declare const DelegateFileReview: Tool.Tool<"delegate_file_review", {
796
- readonly parameters: typeof FileReviewRequest;
797
- readonly success: typeof FileReviewUnitResult;
798
- readonly failure: Schema.Union<readonly [typeof FileReviewUnitFailed, typeof SubagentPrestartDenied, typeof SubagentBudgetExhausted, typeof SubagentProjectionFailure, typeof SubagentExecutionFailure, typeof ToolCallWaiting, typeof SubagentDurabilityError]>;
799
- readonly failureMode: "return";
800
- }, AgentSpawner | IdGenerator | RunEventSink | SubagentDurability>;
801
886
  declare const ListReviewUnitsQuery_base: Schema.Class<ListReviewUnitsQuery, Schema.Struct<{
802
887
  /** Explicit constant keeps the zero-choice operation compatible with strict provider schemas. */
803
888
  readonly scope: Schema.Literal<"all">;
@@ -818,20 +903,6 @@ declare const FanOutCoordinatorToolkit: Toolkit.Toolkit<{
818
903
  }, PullRequestSource>;
819
904
  }>;
820
905
  declare const FanOutCoordinatorToolkitLayer: import("effect/Layer").Layer<Tool.Handler<"list_review_units">, never, never>;
821
- declare const FanOutReviewToolkit: Toolkit.Toolkit<{
822
- readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
823
- readonly parameters: typeof FileReviewRequest;
824
- readonly success: typeof FileReviewUnitResult;
825
- readonly failure: Schema.Union<readonly [typeof FileReviewUnitFailed, typeof SubagentPrestartDenied, typeof SubagentBudgetExhausted, typeof SubagentProjectionFailure, typeof SubagentExecutionFailure, typeof ToolCallWaiting, typeof SubagentDurabilityError]>;
826
- readonly failureMode: "return";
827
- }, AgentSpawner | IdGenerator | RunEventSink | SubagentDurability>;
828
- readonly list_review_units: Tool.Tool<"list_review_units", {
829
- readonly parameters: typeof ListReviewUnitsQuery;
830
- readonly success: typeof ReviewUnitPlan;
831
- readonly failure: typeof PullRequestSourceFailure;
832
- readonly failureMode: "error";
833
- }, PullRequestSource>;
834
- }>;
835
906
  /**
836
907
  * Build the coordinator's instructions. The same consumer guidance the
837
908
  * children receive is injected between the mission framing and the procedure
@@ -870,20 +941,6 @@ declare const makeFileReviewerDefinition: (options?: FanOutInstructionOptions) =
870
941
  interface FanOutSuiteOptions extends FanOutInstructionOptions {
871
942
  readonly maxFindings?: number | undefined;
872
943
  }
873
- declare const makeFanOutReviewerDefinition: (options?: FanOutSuiteOptions) => import("effect-agent").Definition<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.Toolkit<{
874
- readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
875
- readonly parameters: typeof FileReviewRequest;
876
- readonly success: typeof FileReviewUnitResult;
877
- readonly failure: Schema.Union<readonly [typeof FileReviewUnitFailed, typeof SubagentPrestartDenied, typeof SubagentBudgetExhausted, typeof SubagentProjectionFailure, typeof SubagentExecutionFailure, typeof ToolCallWaiting, typeof SubagentDurabilityError]>;
878
- readonly failureMode: "return";
879
- }, AgentSpawner | IdGenerator | RunEventSink | SubagentDurability>;
880
- readonly list_review_units: Tool.Tool<"list_review_units", {
881
- readonly parameters: typeof ListReviewUnitsQuery;
882
- readonly success: typeof ReviewUnitPlan;
883
- readonly failure: typeof PullRequestSourceFailure;
884
- readonly failureMode: "error";
885
- }, PullRequestSource>;
886
- }>>;
887
944
  declare const makeFileReviewDelegation: (child: ReturnType<typeof makeFileReviewerDefinition>) => import("effect-agent").SubagentDelegation<"delegate_file_review", typeof FileReviewBrief, typeof FileReviewReport, (brief: FileReviewBrief) => string, {
888
945
  readonly read_file: Tool.Tool<"read_file", {
889
946
  readonly parameters: typeof FileSliceQuery;
@@ -897,7 +954,21 @@ declare const makeFileReviewDelegation: (child: ReturnType<typeof makeFileReview
897
954
  readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
898
955
  readonly failureMode: "return";
899
956
  }, PullRequestSource>;
900
- }, typeof FileReviewRequest, typeof FileReviewUnitResult, typeof FileReviewUnitFailed, never, never>;
957
+ }, typeof FileReviewRequest, typeof FileReviewUnitResult, typeof FileReviewUnitFailed, never, never, "return">;
958
+ declare const makeFanOutReviewerDefinition: (options: FanOutSuiteOptions, delegation: ReturnType<typeof makeFileReviewDelegation>) => import("effect-agent").Definition<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.Toolkit<{
959
+ readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
960
+ readonly parameters: typeof FileReviewRequest;
961
+ readonly success: Schema.Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<typeof FileReviewUnitFailed>]>;
962
+ readonly failure: import("effect-agent").SubagentReturnModeFailure;
963
+ readonly failureMode: "error";
964
+ }, import("effect-agent").AgentSpawner | import("effect-agent").IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
965
+ readonly list_review_units: Tool.Tool<"list_review_units", {
966
+ readonly parameters: typeof ListReviewUnitsQuery;
967
+ readonly success: typeof ReviewUnitPlan;
968
+ readonly failure: typeof PullRequestSourceFailure;
969
+ readonly failureMode: "error";
970
+ }, PullRequestSource>;
971
+ }>>;
901
972
  /** Build one coherent fan-out suite: child, coordinator, and delegation. */
902
973
  declare const makeFanOutReviewSuite: (options?: FanOutSuiteOptions) => FanOutReviewSuite;
903
974
  /** The default child Agent Definition. */
@@ -919,10 +990,10 @@ declare const FileReviewer: import("effect-agent").Definition<typeof FileReviewB
919
990
  declare const FanOutReviewer: import("effect-agent").Definition<typeof ReviewMission, typeof CodeReview, (mission: ReviewMission) => string, Toolkit.Toolkit<{
920
991
  readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
921
992
  readonly parameters: typeof FileReviewRequest;
922
- readonly success: typeof FileReviewUnitResult;
923
- readonly failure: Schema.Union<readonly [typeof FileReviewUnitFailed, typeof SubagentPrestartDenied, typeof SubagentBudgetExhausted, typeof SubagentProjectionFailure, typeof SubagentExecutionFailure, typeof ToolCallWaiting, typeof SubagentDurabilityError]>;
924
- readonly failureMode: "return";
925
- }, AgentSpawner | IdGenerator | RunEventSink | SubagentDurability>;
993
+ readonly success: Schema.Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<typeof FileReviewUnitFailed>]>;
994
+ readonly failure: import("effect-agent").SubagentReturnModeFailure;
995
+ readonly failureMode: "error";
996
+ }, import("effect-agent").AgentSpawner | import("effect-agent").IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
926
997
  readonly list_review_units: Tool.Tool<"list_review_units", {
927
998
  readonly parameters: typeof ListReviewUnitsQuery;
928
999
  readonly success: typeof ReviewUnitPlan;
@@ -944,7 +1015,35 @@ declare const fileReviewDelegation: import("effect-agent").SubagentDelegation<"d
944
1015
  readonly failure: Schema.Union<readonly [typeof PullRequestSourceFailure, typeof ReviewInputViolation]>;
945
1016
  readonly failureMode: "return";
946
1017
  }, PullRequestSource>;
947
- }, typeof FileReviewRequest, typeof FileReviewUnitResult, typeof FileReviewUnitFailed, never, never>;
1018
+ }, typeof FileReviewRequest, typeof FileReviewUnitResult, typeof FileReviewUnitFailed, never, never, "return">;
1019
+ /** The default coordinator-facing delegation Tool (first-party contained mode). */
1020
+ declare const DelegateFileReview: Tool.Tool<"delegate_file_review", {
1021
+ readonly parameters: typeof FileReviewRequest;
1022
+ readonly success: Schema.Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<typeof FileReviewUnitFailed>]>;
1023
+ readonly failure: import("effect-agent").SubagentReturnModeFailure;
1024
+ readonly failureMode: "error";
1025
+ }, import("effect-agent").AgentSpawner | import("effect-agent").IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
1026
+ /** The default coordinator Toolkit. */
1027
+ declare const FanOutReviewToolkit: Toolkit.Toolkit<{
1028
+ readonly delegate_file_review: Tool.Tool<"delegate_file_review", {
1029
+ readonly parameters: typeof FileReviewRequest;
1030
+ readonly success: Schema.Union<readonly [typeof FileReviewUnitResult, import("effect-agent").SubagentContainedFailure<typeof FileReviewUnitFailed>]>;
1031
+ readonly failure: import("effect-agent").SubagentReturnModeFailure;
1032
+ readonly failureMode: "error";
1033
+ }, import("effect-agent").AgentSpawner | import("effect-agent").IdGenerator | import("effect-agent").RunEventSink | import("effect-agent").SubagentDurability>;
1034
+ readonly list_review_units: Tool.Tool<"list_review_units", {
1035
+ readonly parameters: typeof ListReviewUnitsQuery;
1036
+ readonly success: typeof ReviewUnitPlan;
1037
+ readonly failure: typeof PullRequestSourceFailure;
1038
+ readonly failureMode: "error";
1039
+ }, PullRequestSource>;
1040
+ }>;
1041
+ /**
1042
+ * The contained failure family the delegation can surface as result data
1043
+ * (SUB-033), derived from the delegation itself so the coverage decoder can
1044
+ * never diverge from what the runtime actually contains.
1045
+ */
1046
+ declare const FileReviewDelegationFailure: import("effect-agent").SubagentContainedFailure<typeof FileReviewUnitFailed>;
948
1047
  /** Runtime wiring: one delegation plus one explicit child Binding. */
949
1048
  declare const fanOutHandlersLayerFor: (delegation: ReturnType<typeof makeFileReviewDelegation>) => <Provider, ModelProvides, ModelRequires>(childBinding: RuntimeBinding<typeof FileReviewBrief, typeof FileReviewReport, ReturnType<typeof makeFileReviewerInstructions>, Toolkit.Tools<typeof FileReviewToolkit>, Provider, ModelProvides, ModelRequires>) => import("effect/Layer").Layer<Tool.Handler<"delegate_file_review">, never, import("effect-agent").SubagentLayerRequirements<typeof FileReviewBrief, typeof FileReviewReport, (brief: FileReviewBrief) => string, {
950
1049
  readonly read_file: Tool.Tool<"read_file", {
@@ -982,5 +1081,5 @@ declare const fanOutHandlersLayer: <Provider, ModelProvides, ModelRequires>(chil
982
1081
  readonly message?: string;
983
1082
  }, never>>;
984
1083
  //#endregion
985
- export { ReviewCommentDraft as $, defaultReviewPolicy as $t, makeFanOutReviewInstructions as A, ChangedFilesView as At, UNIT_CHANGED_LINE_BUDGET as B, MAX_FINDINGS as Bt, defaultFileReviewerPolicy as C, parsePatch as Cn, selectedPullRequestSourceLayer as Ct, fileReviewDelegation as D, validateReviewState as Dt, fanOutReviewInstructions as E, unavailableReviewStateAuthenticatorLayer as Et, MAX_REVIEW_UNITS as F, FileSliceQuery as Ft, PriorReviewLookupFailure as G, ReviewFinding as Gt, rankAndDedupeFindings as H, ReadFile as Ht, MAX_UNIT_FILES as I, FindingSeverity as It, ReviewPublisher as J, ReviewMission as Jt, PriorReviews as K, ReviewGuidance as Kt, ReviewUnit as L, ListChangedFiles as Lt, makeFileReviewerInstructions as M, FileDiffQuery as Mt, mapFileReviewChildFailure as N, FileDiffView as Nt, fileReviewPolicy as O, webCryptoReviewStateAuthenticatorLayer as Ot, MAX_MERGED_FINDINGS as P, FileSlice as Pt, gitHubReviewPublisherLayer as Q, clampMaxFindings as Qt, ReviewUnitId as R, ListChangedFilesQuery as Rt, defaultFanOutPolicy as S, commentableLines as Sn, selectReviewRange as St, fanOutHandlersLayerFor as T, toStoredFinding as Tt, GitHubApiFailure as U, ReadFileDiff as Ut, planReviewUnits as V, PullRequestReviewer as Vt, GitHubReviewTarget as W, ReviewConcern as Wt, gitHubPriorReviewsLayer as X, ReviewToolkitLayer as Xt, fingerprintUnchanged as Y, ReviewToolkit as Yt, gitHubPullRequestSourceLayer as Z, ReviewVerdict as Zt, FileReviewer as _, ChangedFile as _n, StoredReviewFinding as _t, FanOutReviewSuite as a, reviewInstructions as an, MAX_REVIEW_STATE_MARKER_CHARS as at, MAX_CHILD_CONCERNS as b, PatchLine as bn, fromStoredConcern as bt, FanOutSuiteOptions as c, ReviewShape as cn, ReviewMode as ct, FileReviewReport as d, MAX_FILE_CHARS as dn, ReviewState as dt, listChangedFilesHandler as en, ReviewEvent as et, FileReviewRequest as f, PullRequestMetadata as fn, ReviewStateAuthenticationFailure as ft, FileReviewUnitResult as g, normalizeRepoRelativePath as gn, StoredReviewConcern as gt, FileReviewUnitFailed as h, ReviewInputViolation as hn, ReviewStateMarkerTooLarge as ht, FanOutInstructionOptions as i, resolveGuidance as in, GitCommitSha as it, makeFanOutReviewSuite as j, CodeReview as jt, fileReviewerInstructions as k, ChangedFileSummary as kt, FileReviewBrief as l, assessReviewCoverage as ln, ReviewScopeMode as lt, FileReviewToolkitLayer as m, PullRequestSourceFailure as mn, ReviewStateMarker as mt, FanOutCoordinatorToolkit as n, readFileDiffHandler as nn, anchorViolation as nt, FanOutReviewToolkit as o, FailedReviewUnit as on, ReviewExecutionContext as ot, FileReviewToolkit as p, PullRequestSource as pn, ReviewStateAuthenticator as pt, PublishedReview as q, ReviewInstructionOptions as qt, FanOutCoordinatorToolkitLayer as r, readFileHandler as rn, planPublication as rt, FanOutReviewer as s, ReviewCoverage as sn, ReviewHeadComparison as st, DelegateFileReview as t, makeReviewInstructions as tn, ReviewPublicationPlan as tt, FileReviewDelegationFailure as u, MAX_CHANGED_FILES as un, ReviewSelection as ut, ListReviewUnits as v, ChangedFileStatus as vn, buildProfileMission as vt, fanOutHandlersLayer as w, toStoredConcern as wt, MAX_CHILD_FINDINGS as x, annotatePatch as xn, fromStoredFinding as xt, ListReviewUnitsQuery as y, ChangedPath as yn, computeProfileFingerprint as yt, ReviewUnitPlan as z, MAX_CONCERNS as zt };
986
- //# sourceMappingURL=fan-out-Dy84-dIs.d.mts.map
1084
+ export { gitHubPullRequestSourceLayer as $, MAX_CONCERNS as $t, fileReviewerInstructions as A, normalizeRepoRelativePath as An, StoredReviewConcern as At, ReviewUnitPlan as B, unavailableReviewStateAuthenticatorLayer as Bt, defaultFanOutPolicy as C, assessReviewCoverage as Cn, ReviewScopeMode as Ct, fanOutReviewInstructions as D, PullRequestSource as Dn, ReviewStateAuthenticator as Dt, fanOutHandlersLayerFor as E, PullRequestMetadata as En, ReviewStateAuthenticationFailure as Et, MAX_MERGED_FINDINGS as F, annotatePatch as Fn, fromStoredFinding as Ft, GitHubApiFailure as G, CodeReview as Gt, planReviewUnits as H, webCryptoReviewStateAuthenticatorLayer as Ht, MAX_REVIEW_UNITS as I, commentableLines as In, selectReviewRange as It, PriorReviews as J, FileSlice as Jt, GitHubReviewTarget as K, FileDiffQuery as Kt, MAX_UNIT_FILES as L, parsePatch as Ln, selectedPullRequestSourceLayer as Lt, makeFanOutReviewSuite as M, ChangedFileStatus as Mn, buildProfileMission as Mt, makeFileReviewerInstructions as N, ChangedPath as Nn, computeProfileFingerprint as Nt, fileReviewDelegation as O, PullRequestSourceFailure as On, ReviewStateMarker as Ot, mapFileReviewChildFailure as P, PatchLine as Pn, fromStoredConcern as Pt, gitHubPriorReviewsLayer as Q, ListChangedFilesQuery as Qt, ReviewUnit as R, toStoredConcern as Rt, MAX_FILE_REVIEW_TOOL_CALLS as S, ReviewShape as Sn, ReviewMode as St, fanOutHandlersLayer as T, MAX_FILE_CHARS as Tn, ReviewState as Tt, rankAndDedupeFindings as U, ChangedFileSummary as Ut, UNIT_CHANGED_LINE_BUDGET as V, validateReviewState as Vt, DEFAULT_GITHUB_REVIEW_AUTHOR_LOGIN as W, ChangedFilesView as Wt, ReviewPublisher as X, FindingSeverity as Xt, PublishedReview as Y, FileSliceQuery as Yt, fingerprintUnchanged as Z, ListChangedFiles as Zt, FileReviewer as _, readFileHandler as _n, planPublication as _t, FanOutReviewSuite as a, ReviewFinding as an, ReviewRetirementDecision as at, MAX_CHILD_CONCERNS as b, FailedReviewUnit as bn, ReviewExecutionContext as bt, FanOutSuiteOptions as c, ReviewMission as cn, ReviewRetirementInput as ct, FileReviewReport as d, ReviewVerdict as dn, hasReviewMetadataMarker as dt, MAX_FINDINGS as en, gitHubReviewPublisherLayer as et, FileReviewRequest as f, clampMaxFindings as fn, retireStaleReviews as ft, FileReviewUnitResult as g, readFileDiffHandler as gn, anchorViolation as gt, FileReviewUnitFailed as h, makeReviewInstructions as hn, ReviewPublicationPlan as ht, FanOutInstructionOptions as i, ReviewConcern as in, RetirableReviewComment as it, makeFanOutReviewInstructions as j, ChangedFile as jn, StoredReviewFinding as jt, fileReviewPolicy as k, ReviewInputViolation as kn, ReviewStateMarkerTooLarge as kt, FileReviewBrief as l, ReviewToolkit as ln, ReviewRetirementReport as lt, FileReviewToolkitLayer as m, listChangedFilesHandler as mn, ReviewEvent as mt, FanOutCoordinatorToolkit as n, ReadFile as nn, parseGitHubSubmittedAt as nt, FanOutReviewToolkit as o, ReviewGuidance as on, ReviewRetirementFailure as ot, FileReviewToolkit as p, defaultReviewPolicy as pn, ReviewCommentDraft as pt, PriorReviewLookupFailure as q, FileDiffView as qt, FanOutCoordinatorToolkitLayer as r, ReadFileDiff as rn, RetirableReview as rt, FanOutReviewer as s, ReviewInstructionOptions as sn, ReviewRetirementHost as st, DelegateFileReview as t, PullRequestReviewer as tn, gitHubReviewRetirementHostLayer as tt, FileReviewDelegationFailure as u, ReviewToolkitLayer as un, decideReviewRetirement as ut, ListReviewUnits as v, resolveGuidance as vn, GitCommitSha as vt, defaultFileReviewerPolicy as w, MAX_CHANGED_FILES as wn, ReviewSelection as wt, MAX_CHILD_FINDINGS as x, ReviewCoverage as xn, ReviewHeadComparison as xt, ListReviewUnitsQuery as y, reviewInstructions as yn, MAX_REVIEW_STATE_MARKER_CHARS as yt, ReviewUnitId as z, toStoredFinding as zt };
1085
+ //# sourceMappingURL=fan-out-TrA9EUCr.d.mts.map