add agent and debug macros, improve activity timeouts, migrate claude and codex to cli (#224)
This commit is contained in:
committed by
pullfrog[bot]
parent
adc165d95f
commit
6fbff21fca
@@ -64,6 +64,13 @@ export async function main(): Promise<MainResult> {
|
||||
// resolve payload after runContextData so permissions can use DB settings
|
||||
// precedence: action inputs > json payload > repoSettings > fallbacks
|
||||
const payload = resolvePayload(resolvedPromptInput, runContext.repoSettings);
|
||||
|
||||
// enable debug logging if #debug macro was used
|
||||
if (payload.debug) {
|
||||
process.env.LOG_LEVEL = "debug";
|
||||
log.info("» debug mode enabled via #debug macro");
|
||||
}
|
||||
|
||||
if (payload.cwd && process.cwd() !== payload.cwd) {
|
||||
process.chdir(payload.cwd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user