migrate to flags (#249)

This commit is contained in:
David Blass
2026-02-10 05:04:46 +00:00
committed by pullfrog[bot]
parent 623e11c7ce
commit f67cc25f74
5 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -125,11 +125,11 @@ export function resolveInstructions(ctx: InstructionsContext): ResolvedInstructi
// user prompt is the user's actual request (body if @pullfrog tagged)
const user = ctx.payload.prompt;
// event-level instructions are trigger-specific (macro-expanded server-side)
// event-level instructions are trigger-specific (flag-expanded server-side)
// note: server only sends these when there's no user prompt (user request has precedence)
const eventInstructions = ctx.payload.eventInstructions ?? "";
// repo-level instructions are macro-expanded server-side
// repo-level instructions are flag-expanded server-side
const repo = ctx.payload.repoInstructions ?? "";
// determine if this is a PR or issue for labeling
+1 -1
View File
@@ -3,7 +3,7 @@
* supports formats like "10m", "1h30m", "10m12s", "30s".
*/
// special value indicating timeout is explicitly disabled via #notimeout macro
// special value indicating timeout is explicitly disabled via --notimeout flag
export const TIMEOUT_DISABLED = "none";
// time string regex: supports formats like "10m", "1h30m", "10m12s", "30s"