mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 08:59:40 +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 |
|
| `idleTimeoutMs` | 5000 | Time to wait after idle before sending update |
|
||||||
| `updatePrompt` | "update all docs..." | Prompt to send when idle |
|
| `updatePrompt` | "update all docs..." | Prompt to send when idle |
|
||||||
| `interStepDelayMs` | 1000 | Delay between respawn steps |
|
|
||||||
| `sendClear` | true | Send /clear after update prompt |
|
| `sendClear` | true | Send /clear after update prompt |
|
||||||
| `sendInit` | true | Send /init after /clear |
|
| `sendInit` | true | Send /init after /clear |
|
||||||
|
|
||||||
|
|||||||
@@ -1265,7 +1265,6 @@ class ClaudemanApp {
|
|||||||
getModalRespawnConfig() {
|
getModalRespawnConfig() {
|
||||||
const updatePrompt = document.getElementById('modalRespawnPrompt').value;
|
const updatePrompt = document.getElementById('modalRespawnPrompt').value;
|
||||||
const idleTimeout = parseInt(document.getElementById('modalRespawnIdleTimeout').value) || 5;
|
const idleTimeout = parseInt(document.getElementById('modalRespawnIdleTimeout').value) || 5;
|
||||||
const stepDelay = parseInt(document.getElementById('modalRespawnStepDelay').value) || 1;
|
|
||||||
const sendClear = document.getElementById('modalRespawnSendClear').checked;
|
const sendClear = document.getElementById('modalRespawnSendClear').checked;
|
||||||
const sendInit = document.getElementById('modalRespawnSendInit').checked;
|
const sendInit = document.getElementById('modalRespawnSendInit').checked;
|
||||||
const durationStr = document.getElementById('modalRespawnDuration').value;
|
const durationStr = document.getElementById('modalRespawnDuration').value;
|
||||||
@@ -1277,7 +1276,6 @@ class ClaudemanApp {
|
|||||||
respawnConfig: {
|
respawnConfig: {
|
||||||
updatePrompt,
|
updatePrompt,
|
||||||
idleTimeoutMs: idleTimeout * 1000,
|
idleTimeoutMs: idleTimeout * 1000,
|
||||||
interStepDelayMs: stepDelay * 1000,
|
|
||||||
sendClear,
|
sendClear,
|
||||||
sendInit,
|
sendInit,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -204,22 +204,13 @@
|
|||||||
<input type="text" id="modalRespawnPrompt" value="update all the docs and CLAUDE.md" placeholder="Prompt to send when idle">
|
<input type="text" id="modalRespawnPrompt" value="update all the docs and CLAUDE.md" placeholder="Prompt to send when idle">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-row-inline">
|
<div class="form-row">
|
||||||
<div class="form-col">
|
|
||||||
<label>Idle Timeout</label>
|
<label>Idle Timeout</label>
|
||||||
<div class="input-suffix">
|
<div class="input-suffix">
|
||||||
<input type="number" id="modalRespawnIdleTimeout" value="5" min="1" max="60">
|
<input type="number" id="modalRespawnIdleTimeout" value="5" min="1" max="60">
|
||||||
<span>sec</span>
|
<span>sec</span>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label>Run Duration</label>
|
<label>Run Duration</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user