refactor: remove Step Delay option from respawn UI

The interStepDelayMs config is rarely needed and clutters the UI.
Backend still supports it with default value (1000ms).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-19 12:52:37 +01:00
co-authored by Claude Opus 4.5
parent 8f126b559e
commit 66c8f323a8
3 changed files with 5 additions and 17 deletions
-1
View File
@@ -252,7 +252,6 @@ WATCHING → SENDING_UPDATE → WAITING_UPDATE → SENDING_CLEAR → WAITING_CLE
|--------|---------|-------------|
| `idleTimeoutMs` | 5000 | Time to wait after idle before sending update |
| `updatePrompt` | "update all docs..." | Prompt to send when idle |
| `interStepDelayMs` | 1000 | Delay between respawn steps |
| `sendClear` | true | Send /clear after update prompt |
| `sendInit` | true | Send /init after /clear |
-2
View File
@@ -1265,7 +1265,6 @@ class ClaudemanApp {
getModalRespawnConfig() {
const updatePrompt = document.getElementById('modalRespawnPrompt').value;
const idleTimeout = parseInt(document.getElementById('modalRespawnIdleTimeout').value) || 5;
const stepDelay = parseInt(document.getElementById('modalRespawnStepDelay').value) || 1;
const sendClear = document.getElementById('modalRespawnSendClear').checked;
const sendInit = document.getElementById('modalRespawnSendInit').checked;
const durationStr = document.getElementById('modalRespawnDuration').value;
@@ -1277,7 +1276,6 @@ class ClaudemanApp {
respawnConfig: {
updatePrompt,
idleTimeoutMs: idleTimeout * 1000,
interStepDelayMs: stepDelay * 1000,
sendClear,
sendInit,
},
+5 -14
View File
@@ -204,20 +204,11 @@
<input type="text" id="modalRespawnPrompt" value="update all the docs and CLAUDE.md" placeholder="Prompt to send when idle">
</div>
<div class="form-row-inline">
<div class="form-col">
<label>Idle Timeout</label>
<div class="input-suffix">
<input type="number" id="modalRespawnIdleTimeout" value="5" min="1" max="60">
<span>sec</span>
</div>
</div>
<div class="form-col">
<label>Step Delay</label>
<div class="input-suffix">
<input type="number" id="modalRespawnStepDelay" value="1" min="0" max="10">
<span>sec</span>
</div>
<div class="form-row">
<label>Idle Timeout</label>
<div class="input-suffix">
<input type="number" id="modalRespawnIdleTimeout" value="5" min="1" max="60">
<span>sec</span>
</div>
</div>