build: update deps except carbon

This commit is contained in:
Peter Steinberger
2026-03-17 20:51:41 -07:00
parent a89cb3e10e
commit fb5ab95e03
14 changed files with 1044 additions and 462 deletions

View File

@@ -137,6 +137,12 @@ const LOCAL_EXTENSION_API_BARREL_GUARDS = [
"voice-call",
] as const;
const LOCAL_EXTENSION_API_BARREL_EXCEPTIONS = [
// Direct import avoids a circular init path:
// accounts.ts -> runtime-api.ts -> openclaw/plugin-sdk/matrix -> extensions/matrix/api.ts -> accounts.ts
"extensions/matrix/src/matrix/accounts.ts",
] as const;
function readSource(path: string): string {
return readFileSync(resolve(ROOT_DIR, "..", path), "utf8");
}
@@ -377,6 +383,7 @@ describe("channel import guardrails", () => {
for (const file of collectExtensionFiles(extensionId)) {
const normalized = file.replaceAll("\\", "/");
if (
LOCAL_EXTENSION_API_BARREL_EXCEPTIONS.some((suffix) => normalized.endsWith(suffix)) ||
normalized.endsWith("/api.ts") ||
normalized.includes(".test.") ||
normalized.includes(".spec.") ||