chore(call-e2e): hold and resume fit inside the echo bot's turn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -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';13
const SCRIPT_DIR = new URL('.', import.meta.url).pathname;13
const SCRIPT_DIR = new URL('.', import.meta.url).pathname;14
const CONNECT_WAIT_MS = 12_000;14
const CONNECT_WAIT_MS = 12_000;15
const LISTEN_SECONDS = 40;15
const LISTEN_SECONDS = 40;16
const HOLD_SETTLE_MS = 6_000;16
const HOLD_SETTLE_MS = 3_000;17
const HOLD_MEASURE_MS = 6_000;17
const HOLD_MEASURE_MS = 4_000;18
const PLAY_SECONDS = 200;18
const PLAY_SECONDS = 200;19
const APP_THRESHOLD = { speech: 200, floor: 20 };19
const APP_THRESHOLD = { speech: 200, floor: 20 };20
const SPEECH_TO_PAUSE = 4;20
const SPEECH_TO_PAUSE = 4;21
const RESUMED_PACKETS = 100;21
const RESUMED_PACKETS = 80;22
const PROMPT_START_MS = 3_000;22
const PROMPT_START_MS = 3_000;23
const ENDED_WAIT_MS = 15_000;23
const ENDED_WAIT_MS = 15_000;24
const HELD_PACKETS = 60;24
const HELD_PACKETS = 40;25
25
26
const windowsPath = (path) => execFileSync('wslpath', ['-w', path]).toString().trim();26
const windowsPath = (path) => execFileSync('wslpath', ['-w', path]).toString().trim();27
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));27
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));