fix(perf): bypass matrix facade for core helpers

This commit is contained in:
Vincent Koc 2026-03-30 12:42:51 +09:00
parent c142a396f4
commit 22f56433e0
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import {
requiresExplicitMatrixDefaultAccount,
resolveConfiguredMatrixAccountIds,
resolveMatrixDefaultOrOnlyAccountId,
} from "../plugin-sdk/matrix.js";
} from "./matrix-config-helpers.js";
describe("matrix account selection", () => {
it("resolves configured account ids from non-canonical account keys", () => {

View File

@ -3,7 +3,7 @@ import path from "node:path";
import { afterEach, describe, expect, it, vi } from "vitest";
import { withTempHome } from "../../test/helpers/temp-home.js";
import type { OpenClawConfig } from "../config/config.js";
import { resolveMatrixAccountStorageRoot } from "../plugin-sdk/matrix.js";
import { resolveMatrixAccountStorageRoot } from "./matrix-config-helpers.js";
import { autoPrepareLegacyMatrixCrypto, detectLegacyMatrixCrypto } from "./matrix-legacy-crypto.js";
import { MATRIX_LEGACY_CRYPTO_INSPECTOR_UNAVAILABLE_MESSAGE } from "./matrix-plugin-helper.js";
import {

View File

@ -2,7 +2,7 @@ import fs from "node:fs";
import path from "node:path";
import { describe, expect, it } from "vitest";
import { withTempHome } from "../../test/helpers/temp-home.js";
import { resolveMatrixAccountStorageRoot } from "../plugin-sdk/matrix.js";
import { resolveMatrixAccountStorageRoot } from "./matrix-config-helpers.js";
import { detectLegacyMatrixCrypto } from "./matrix-legacy-crypto.js";
import {
hasActionableMatrixMigration,

View File

@ -1,6 +1,6 @@
import type { OpenClawConfig } from "../config/config.js";
import { coerceSecretRef, resolveSecretInputRef } from "../config/types.secrets.js";
import { getMatrixScopedEnvVarNames } from "../plugin-sdk/matrix.js";
import { getMatrixScopedEnvVarNames } from "../infra/matrix-config-helpers.js";
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../routing/account-id.js";
import { collectTtsApiKeyAssignments } from "./runtime-config-collectors-tts.js";
import {