mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +02:00
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:
@@ -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 |
|
||||
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user