import { tryAcquireRuntimeLock } from '@myclaw163/game-agent-runtime/owner/runtime-lock.js'; import { getRuntimeDir } from './user-data.js'; export type { WorkspaceRuntimeLock } from '@myclaw163/game-agent-runtime/owner/runtime-lock.js'; export const tryAcquireWorkspaceRuntimeLock = (workspaceDir: string) => tryAcquireRuntimeLock(getRuntimeDir(workspaceDir));