From a0cbe0a87c61af7d3ab860a6d941f1dec0a1eb4d Mon Sep 17 00:00:00 2001 From: Otoris Date: Sun, 15 Mar 2026 18:36:09 -0400 Subject: [PATCH] fix: apply oxfmt formatting to CHANGELOG and test file --- CHANGELOG.md | 1 + src/sessions/session-key-utils.test.ts | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dd8b207509..1e2c5972c3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Docs: https://docs.openclaw.ai ## Unreleased ### Changes + - Sessions/named DM: add `buildNamedDmSessionKey`, `parseNamedDmSessionKey`, and `isNamedDmSessionKey` key-format helpers, an `activeNamedSession` field on `SessionEntry`, and `setActiveNamedSession`/`getActiveNamedSessionKey` store helpers as infrastructure for named DM session switching. - Android/mobile: add a system-aware dark theme across onboarding and post-onboarding screens so the app follows the device theme through setup, chat, and voice flows. (#46249) Thanks @sibbl. diff --git a/src/sessions/session-key-utils.test.ts b/src/sessions/session-key-utils.test.ts index 85f986ea2d8..9e55bd5312b 100644 --- a/src/sessions/session-key-utils.test.ts +++ b/src/sessions/session-key-utils.test.ts @@ -1,14 +1,11 @@ import { describe, expect, it } from "vitest"; +import type { SessionEntry } from "../config/sessions.js"; +import { getActiveNamedSessionKey, setActiveNamedSession } from "../gateway/session-utils.js"; import { buildNamedDmSessionKey, isNamedDmSessionKey, parseNamedDmSessionKey, } from "./session-key-utils.js"; -import { - getActiveNamedSessionKey, - setActiveNamedSession, -} from "../gateway/session-utils.js"; -import type { SessionEntry } from "../config/sessions.js"; describe("Named DM Session Keys (ETH-608)", () => { describe("buildNamedDmSessionKey", () => { @@ -251,7 +248,11 @@ describe("Named DM Session Keys (ETH-608)", () => { describe("getActiveNamedSessionKey", () => { it("returns null when mainEntry is undefined", () => { - const result = getActiveNamedSessionKey({ mainEntry: undefined, agentId: "main", peerId: "123" }); + const result = getActiveNamedSessionKey({ + mainEntry: undefined, + agentId: "main", + peerId: "123", + }); expect(result).toBeNull(); });