openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 848 B
JavaScript
import"./account-core-34NfXidI.js";import path from"node:path";import fs from"node:fs";import{createHash}from"node:crypto";
//!src/agents/workspace-state-identity.ts
const WORKSPACE_ALIAS_REPOINTED_ERROR_CODE=`WORKSPACE_ALIAS_REPOINTED`;var WorkspaceAliasRepointedError=class extends Error{constructor(e){super(`workspace path alias points to a different current target: ${e.aliasPath} now resolves to ${e.currentWorkspacePath}, but its stored workspace state belongs to ${e.storedWorkspacePath}. Run \`openclaw doctor --fix\` and confirm the move, or use \`openclaw doctor --fix --force\`.`);this.code=WORKSPACE_ALIAS_REPOINTED_ERROR_CODE;this.name=`WorkspaceAliasRepointedError`;this.aliasPath=e.aliasPath;this.storedWorkspacePath=e.storedWorkspacePath;this.currentWorkspacePath=e.currentWorkspacePath}};export{WorkspaceAliasRepointedError as t};