fix(claws): use current bounded file reader

This commit is contained in:
Patrick Erichsen
2026-07-20 14:11:52 -07:00
parent cbaad8a8e5
commit cc8d2df28f
+1 -1
View File
@@ -5,7 +5,7 @@ import { dirname, relative, resolve, sep } from "node:path";
import { resolveAgentWorkspaceDir } from "../agents/agent-scope.js";
import { openLocalAgentAvatarFile } from "../agents/identity-avatar-file.js";
import type { OpenClawConfig } from "../config/types.openclaw.js";
import { readFileDescriptorBoundedSync } from "../infra/file-descriptor-read.js";
import { readFileDescriptorBoundedSync } from "../infra/boundary-file-read.js";
import { root as fsSafeRoot } from "../infra/fs-safe.js";
import { AVATAR_MAX_BYTES, isAvatarDataUrl, isAvatarHttpUrl } from "../shared/avatar-policy.js";
import type { OpenClawStateDatabaseOptions } from "../state/openclaw-state-db.js";