refactor: share file lock via plugin-sdk

This commit is contained in:
Peter Steinberger
2026-02-15 00:17:01 +00:00
parent 4de879a6c5
commit 52bfe5060c
5 changed files with 199 additions and 383 deletions

View File

@@ -78,6 +78,9 @@ export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
export type { OpenClawConfig } from "../config/config.js";
/** @deprecated Use OpenClawConfig instead */
export type { OpenClawConfig as ClawdbotConfig } from "../config/config.js";
export type { FileLockHandle, FileLockOptions } from "./file-lock.js";
export { acquireFileLock, withFileLock } from "./file-lock.js";
export type { ChannelDock } from "../channels/dock.js";
export { getChatChannelMeta } from "../channels/registry.js";
export type {