pullfrog 0.1.40 → 0.1.42
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.
- package/dist/agents/postRun.d.ts +4 -1
- package/dist/cli.mjs +1031 -218
- package/dist/index.js +1022 -209
- package/dist/internal.js +4 -4
- package/dist/utils/openCodeModels.d.ts +9 -0
- package/dist/utils/payload.d.ts +2 -0
- package/dist/utils/runContext.d.ts +1 -0
- package/package.json +3 -3
package/dist/agents/postRun.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ import { type AgentResult, type AgentRunContext, type AgentUsage, type PostRunIs
|
|
|
8
8
|
*
|
|
9
9
|
* the gate is anchored to `hadProgressComment` so silent runs (non-issue
|
|
10
10
|
* events, dispatcher skipped seeding) don't fire a nudge there's no UI for.
|
|
11
|
+
* `expectsReviewOutput` overrides that anchor for runs where the dispatcher
|
|
12
|
+
* deliberately skipped seeding under `progressComments: disabled` — those still
|
|
13
|
+
* owe a review, and reading "no comment" as "no UI" would silently retire the gate.
|
|
11
14
|
*
|
|
12
15
|
* `Review` and `IncrementalReview` have different valid exits:
|
|
13
16
|
* - Review: only `create_pull_request_review` counts. `report_progress` is
|
|
@@ -20,7 +23,7 @@ import { type AgentResult, type AgentRunContext, type AgentUsage, type PostRunIs
|
|
|
20
23
|
* `task`-dispatched `reviewfrog` lens) calls `report_progress` and silences
|
|
21
24
|
* the gate even though the orchestrator never submitted a review.
|
|
22
25
|
*/
|
|
23
|
-
export declare function getUnsubmittedReview(toolState: ToolState): "Review" | "IncrementalReview" | null;
|
|
26
|
+
export declare function getUnsubmittedReview(toolState: ToolState, expectsReviewOutput?: boolean): "Review" | "IncrementalReview" | null;
|
|
24
27
|
/**
|
|
25
28
|
* run the user-configured stop hook.
|
|
26
29
|
*
|