deepseek-ai/deepseek-harness · error · DirectoryBrowseError
directory browse failed: ${rpcError.code}: ${rpcError.messag
Error message
directory browse failed: ${rpcError.code}: ${rpcError.message} What it means
Error "directory browse failed: ${rpcError.code}: ${rpcError.message}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/client/runtime/src/client/workspaces/service.ts:225
* @returns the selected path, or null when the user cancelled.
*/
async pickDirectory(): Promise<string | null> {
const response = await this.api.host.pickDirectory({})
if (!response.result.ok) {
throw new Error(`directory picker failed: ${response.result.error.message}`)
}
return response.result.value.path
}
/**
* List one directory level through the Host's `browse` capability.
* @param path - absolute directory to list; absent lists the Host home directory.
* @param signal - aborts the wire request (and the Host's scan) when the caller supersedes it.
* @returns the level's listing with breadcrumb ancestry.
*/
async listDirectory(path?: string, signal?: AbortSignal): Promise<DirectoryListing> {
const response = await this.api.host.listDirectory(path === undefined ? {} : { path }, signal)
if (!response.result.ok) throw new DirectoryBrowseError(response.result.error)
return response.result.value
}
/**
* Create one child directory through the Host's `browse` capability.
* @param path - absolute existing parent directory.
* @param name - single non-blank path segment.
* @returns the created directory's absolute path.
*/
async createDirectory(path: string, name: string): Promise<string> {
const response = await this.api.host.createDirectory({ path, name })
if (!response.result.ok) throw new DirectoryBrowseError(response.result.error)
return response.result.value.path
}
/**
* Open a filesystem path with the Host operating system's default application.
* @param path - absolute or host-resolvable path.View on GitHub (pinned to b150a551b8)
Solutions
- Read the RPC error code and message and correct the directory browse request.
When it happens
Trigger: Thrown at packages/client/runtime/src/client/workspaces/service.ts:225 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/7f777b0b90300581.
Report an issue: GitHub.