{"record":{"id":"e41b8b34232820f6","repo":"deepseek-ai/deepseek-harness","slug":"directory-picker-failed-response-result-error-m","errorCode":null,"errorMessage":"directory picker failed: ${response.result.error.message}","messagePattern":"directory picker failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/runtime/src/client/workspaces/service.ts","lineNumber":212,"sourceCode":"  /**\n   * Register an existing path as a Workspace.\n   * @param input - the Host create payload.\n   * @returns the created or idempotently resolved Workspace.\n   */\n  async create(input: { path: string }): Promise<WorkspaceView> {\n    const result = await this.manager.create(input)\n    if (!result.ok) throw new WorkspaceCreateError(result.error)\n    return result.value.workspace\n  }\n\n  /**\n   * Open the Host's native directory picker (the `native` capability).\n   * @returns the selected path, or null when the user cancelled.\n   */\n  async pickDirectory(): Promise<string | null> {\n    const response = await this.api.host.pickDirectory({})\n    if (!response.result.ok) {\n      throw new Error(`directory picker failed: ${response.result.error.message}`)\n    }\n    return response.result.value.path\n  }\n\n  /**\n   * List one directory level through the Host's `browse` capability.\n   * @param path - absolute directory to list; absent lists the Host home directory.\n   * @param signal - aborts the wire request (and the Host's scan) when the caller supersedes it.\n   * @returns the level's listing with breadcrumb ancestry.\n   */\n  async listDirectory(path?: string, signal?: AbortSignal): Promise<DirectoryListing> {\n    const response = await this.api.host.listDirectory(path === undefined ? {} : { path }, signal)\n    if (!response.result.ok) throw new DirectoryBrowseError(response.result.error)\n    return response.result.value\n  }\n\n  /**\n   * Create one child directory through the Host's `browse` capability.","sourceCodeStart":194,"sourceCodeEnd":230,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/runtime/src/client/workspaces/service.ts#L194-L230","documentation":"Error \"directory picker failed: ${response.result.error.message}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/runtime/src/client/workspaces/service.ts:212 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the picker error message and ensure the directory picker is available."],"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"}