diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0f45586..43ef36ff3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Agents/OpenAI: fix Responses tool-only → follow-up turn handling (avoid standalone `reasoning` items that trigger 400 “required following item”). - Auth: update Claude Code keychain credentials in-place during refresh sync; share JSON file helpers; add CLI fallback coverage. - Auth: throttle external CLI credential syncs (Claude/Codex), reduce Keychain reads, and skip sync when cached credentials are still fresh. +- CLI: respect `CLAWDBOT_STATE_DIR` for node pairing + voice wake settings storage. (#664) — thanks @azade-c. - Onboarding/Gateway: persist non-interactive gateway token auth in config; add WS wizard + gateway tool-calling regression coverage. - Gateway/Control UI: make `chat.send` non-blocking, wire Stop to `chat.abort`, and treat `/stop` as an out-of-band abort. (#653) - Gateway/Control UI: allow `chat.abort` without `runId` (abort active runs), suppress post-abort chat streaming, and prune stuck chat runs. (#653) diff --git a/src/telegram/bot.media.test.ts b/src/telegram/bot.media.test.ts index e0ec45a2c..a30c10d8d 100644 --- a/src/telegram/bot.media.test.ts +++ b/src/telegram/bot.media.test.ts @@ -45,6 +45,14 @@ vi.mock("../config/config.js", async (importOriginal) => { }; }); +vi.mock("../config/sessions.js", async (importOriginal) => { + const actual = await importOriginal(); + return { + ...actual, + updateLastRoute: vi.fn(async () => undefined), + }; +}); + vi.mock("./pairing-store.js", () => ({ readTelegramAllowFromStore: vi.fn(async () => [] as string[]), upsertTelegramPairingRequest: vi.fn(async () => ({ @@ -63,7 +71,7 @@ vi.mock("../auto-reply/reply.js", () => { describe("telegram inbound media", () => { const INBOUND_MEDIA_TEST_TIMEOUT_MS = - process.platform === "win32" ? 30_000 : 10_000; + process.platform === "win32" ? 30_000 : 20_000; it( "downloads media via file_path (no file.download)",