fix: add step_type to default approve/reject/timeout callbacks (not just multi-choice)

This commit is contained in:
2026-03-10 15:29:55 +09:00
parent 26c19fb6be
commit 0470c03ab3
5 changed files with 9 additions and 3 deletions

View File

@@ -2051,7 +2051,7 @@ async function processResponseFile(filePath: string) {
}
const content = fs.readFileSync(filePath, 'utf-8');
const resp = JSON.parse(content);
const msg = `[RESPONSE] rid=${resp.request_id} approved=${resp.approved}`;
const msg = `[RESPONSE] rid=${resp.request_id} approved=${resp.approved} step_type=${resp.step_type || '(missing)'} keys=[${Object.keys(resp).join(',')}]`;
console.log(`Gravity Bridge: ${msg}`);
logToFile(msg);