pullfrog 0.1.13 → 0.1.15

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/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <br/>
16
16
 
17
- > **🚀 Pullfrog is in beta!** We're onboarding users in waves. [Get on the waitlist →](https://pullfrog.com/join-waitlist)
17
+ > **🚀 Pullfrog is now generally available!** [Get started →](https://pullfrog.com/console)
18
18
 
19
19
  <br/>
20
20
 
@@ -0,0 +1,6 @@
1
+ import { type AgentRunContext } from "./shared.ts";
2
+ export interface GateServerHandle {
3
+ url: string;
4
+ [Symbol.asyncDispose]: () => Promise<void>;
5
+ }
6
+ export declare function startGateServer(ctx: AgentRunContext): Promise<GateServerHandle>;
@@ -37,4 +37,4 @@ export declare function buildReviewerAgentConfig(orchestratorModel: string | und
37
37
  export declare function installOpencodeCli(params: {
38
38
  binPath: string;
39
39
  }): Promise<string>;
40
- export declare function autoSelectModel(cliPath: string): string | undefined;
40
+ export declare function autoSelectModel(): string | undefined;
@@ -54,6 +54,19 @@ export declare function collectPostRunIssues(ctx: AgentRunContext, options?: {
54
54
  skipSummaryStale?: boolean;
55
55
  }): Promise<PostRunIssues>;
56
56
  export declare function buildPostRunPrompt(issues: PostRunIssues): string;
57
+ /**
58
+ * terminal-only post-run finalize: re-checks the hard-fail gates after the
59
+ * agent has exited and converts a successful result to a hard-fail when
60
+ * `stopHook` or `unsubmittedReview` is still failing. used by harnesses
61
+ * that inject follow-up turns via a mechanism other than the resume
62
+ * callback (e.g. the Claude managed Stop hook + gate server). soft gates
63
+ * (`dirtyTree`, `summaryStale`) are intentionally not re-checked here —
64
+ * they never flip a successful run to failed.
65
+ */
66
+ export declare function finalizeAgentResult<R extends AgentResult>(params: {
67
+ ctx: AgentRunContext;
68
+ result: R;
69
+ }): Promise<R>;
57
70
  export declare function shouldRunReflection(mode: string | undefined): boolean;
58
71
  /**
59
72
  * prompt for a dedicated post-run reflection turn nudging the agent to edit