fix: prevent respawn cycle after plan mode auto-accept + enhance action log UI

- Add state check in startPlanCheck() to prevent Enter if state changed
- sendAutoAcceptEnter() now cancels pending AI idle checks and resets state
- Log auto-accept as [command] type for visibility in action log
- Highlight command entries with blue background in action log
- Show action log row when there are actions (not just timers)
- Increase action log height and opacity for better visibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-25 06:46:20 +01:00
co-authored by Claude Opus 4.5
parent eef6c0690e
commit 706392d264
5 changed files with 72 additions and 20 deletions
+21 -3
View File
@@ -521,10 +521,10 @@ body {
.respawn-action-log {
flex: 1;
max-height: 60px;
max-height: 100px;
overflow-y: auto;
font-size: 0.65rem;
opacity: 0.75;
font-size: 0.7rem;
opacity: 0.9;
font-family: 'SF Mono', Monaco, monospace;
color: var(--text-dim);
}
@@ -560,6 +560,24 @@ body {
color: var(--text-dim);
}
/* Command entries are highlighted */
.respawn-action-entry.action-command {
background: rgba(59, 130, 246, 0.15);
border-left: 2px solid var(--accent);
padding-left: 0.3rem;
margin: 0.15rem 0;
}
.respawn-action-entry.action-command .action-type {
color: var(--accent);
font-weight: 600;
}
.respawn-action-entry.action-command .action-detail {
color: var(--text);
font-weight: 500;
}
.respawn-indicator {
color: var(--green);
animation: spin 2s linear infinite;