feat: full conversation relay #253 — user messages + error notifications to Discord

This commit is contained in:
2026-03-10 14:08:14 +09:00
parent 514c0f2738
commit b50012075e
3 changed files with 5 additions and 1 deletions

View File

@@ -1808,6 +1808,8 @@ function setupMonitor() {
}
const description = `Step #${si} ${stepStatus} — Retry?`;
logToFile(`[STEP-PROBE] ★ ERROR! step=${si} status=${stepStatus} type=${stepType}`);
// Notify Discord chat about error
writeChatSnapshot(`❌ **에러 발생** (step ${si})\n\n\`${command.replace('⚠️ Error: ', '')}\`\n${stepStatus.replace('CORTEX_STEP_STATUS_', '')}`);
if (si !== lastPendingStepIndex) {
stallProbed = true;
lastPendingStepIndex = si;

File diff suppressed because one or more lines are too long