BlueGit

ict rusty-teams

chore(call-e2e): hold and resume fit inside the echo bot's turn

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-11-08 · 3 weeks ago

Hash
5802d52a7da71a74f270ef54fd059723c32bf8c4
Parent
eab8489d
1 file changed +4 −4
scripts/call-echo-e2e.mjs +4 −4
@@ -13,15 +13,15 @@ const TASKLIST = '/mnt/c/Windows/System32/tasklist.exe';
13 13 const SCRIPT_DIR = new URL('.', import.meta.url).pathname;
14 14 const CONNECT_WAIT_MS = 12_000;
15 15 const LISTEN_SECONDS = 40;
16 const HOLD_SETTLE_MS = 6_000;
17 const HOLD_MEASURE_MS = 6_000;
16 const HOLD_SETTLE_MS = 3_000;
17 const HOLD_MEASURE_MS = 4_000;
18 18 const PLAY_SECONDS = 200;
19 19 const APP_THRESHOLD = { speech: 200, floor: 20 };
20 20 const SPEECH_TO_PAUSE = 4;
21 const RESUMED_PACKETS = 100;
21 const RESUMED_PACKETS = 80;
22 22 const PROMPT_START_MS = 3_000;
23 23 const ENDED_WAIT_MS = 15_000;
24 const HELD_PACKETS = 60;
24 const HELD_PACKETS = 40;
25 25
26 26 const windowsPath = (path) => execFileSync('wslpath', ['-w', path]).toString().trim();
27 27 const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
@@ -13,15 +13,15 @@ const TASKLIST = '/mnt/c/Windows/System32/tasklist.exe';
13const SCRIPT_DIR = new URL('.', import.meta.url).pathname;
13const SCRIPT_DIR = new URL('.', import.meta.url).pathname;
14const CONNECT_WAIT_MS = 12_000;
14const CONNECT_WAIT_MS = 12_000;
15const LISTEN_SECONDS = 40;
15const LISTEN_SECONDS = 40;
16const HOLD_SETTLE_MS = 6_000;
16const HOLD_SETTLE_MS = 3_000;
17const HOLD_MEASURE_MS = 6_000;
17const HOLD_MEASURE_MS = 4_000;
18const PLAY_SECONDS = 200;
18const PLAY_SECONDS = 200;
19const APP_THRESHOLD = { speech: 200, floor: 20 };
19const APP_THRESHOLD = { speech: 200, floor: 20 };
20const SPEECH_TO_PAUSE = 4;
20const SPEECH_TO_PAUSE = 4;
21const RESUMED_PACKETS = 100;
21const RESUMED_PACKETS = 80;
22const PROMPT_START_MS = 3_000;
22const PROMPT_START_MS = 3_000;
23const ENDED_WAIT_MS = 15_000;
23const ENDED_WAIT_MS = 15_000;
24const HELD_PACKETS = 60;
24const HELD_PACKETS = 40;
25
25
26const windowsPath = (path) => execFileSync('wslpath', ['-w', path]).toString().trim();
26const windowsPath = (path) => execFileSync('wslpath', ['-w', path]).toString().trim();
27const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
27const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));