{"record":{"id":"e63e8d17437a797d","repo":"deepseek-ai/deepseek-harness","slug":"path-open-failed-response-result-error-message","errorCode":null,"errorMessage":"path open failed: ${response.result.error.message}","messagePattern":"path open failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/runtime/src/client/workspaces/service.ts","lineNumber":248,"sourceCode":"   * Create one child directory through the Host's `browse` capability.\n   * @param path - absolute existing parent directory.\n   * @param name - single non-blank path segment.\n   * @returns the created directory's absolute path.\n   */\n  async createDirectory(path: string, name: string): Promise<string> {\n    const response = await this.api.host.createDirectory({ path, name })\n    if (!response.result.ok) throw new DirectoryBrowseError(response.result.error)\n    return response.result.value.path\n  }\n\n  /**\n   * Open a filesystem path with the Host operating system's default application.\n   * @param path - absolute or host-resolvable path.\n   */\n  async openPath(path: string): Promise<void> {\n    const response = await this.api.host.openPath({ path })\n    if (!response.result.ok) {\n      throw new Error(`path open failed: ${response.result.error.message}`)\n    }\n  }\n\n  /**\n   * Rename a Workspace.\n   * @param workspaceId - target workspace.\n   * @param title - new display title (trimmed non-empty by the Host).\n   * @returns the renamed Workspace view.\n   */\n  async rename(workspaceId: WorkspaceId, title: string): Promise<WorkspaceView> {\n    const result = await this.manager.rename(workspaceId, title)\n    if (!result.ok) throw new Error(`workspace rename failed: ${result.error.code}: ${result.error.message}`)\n    return result.value.workspace\n  }\n\n  /**\n   * Delete one Workspace registration. Sessions, session logs, and the\n   * directory remain Host-owned outside this operation.","sourceCodeStart":230,"sourceCodeEnd":266,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/runtime/src/client/workspaces/service.ts#L230-L266","documentation":"Error \"path open failed: ${response.result.error.message}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/runtime/src/client/workspaces/service.ts:248 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the error message and fix the path open request."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}