{"record":{"id":"20a2b4bfb5b2d020","repo":"deepseek-ai/deepseek-harness","slug":"deepseek-harness-runtime-bin-is-missing-the-defaul","errorCode":null,"errorMessage":"deepseek-harness-runtime-bin is missing the default runtime config at {path}","messagePattern":"deepseek-harness-runtime-bin is missing the default runtime config at (.+?)","errorType":"exception","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"python/sdk-runtime/src/deepseek_harness_runtime/__init__.py","lineNumber":64,"sourceCode":"def bundled_package_dir() -> Path:\n    \"\"\"Root directory of the installed runtime package data (the directory of this module).\"\"\"\n    root = Path(__file__).resolve().parent\n    metadata = root / PACKAGE_METADATA_FILENAME\n    if not metadata.is_file():\n        raise FileNotFoundError(f\"deepseek-harness-runtime-bin is missing {metadata}\")\n    return root\n\n\ndef bundled_default_config_path() -> Path:\n    \"\"\"Path of the checked-in default runtime configuration (``runtime/cordis.yml``).\n\n    The client SDK injects this path via ``$DSH_CORDIS_CONFIG`` when the caller\n    supplies no config and the launch resolves to the bundled runtime — the\n    runtime binary itself always demands an explicit config.\n    \"\"\"\n    path = bundled_package_dir() / \"runtime\" / \"cordis.yml\"\n    if not path.is_file():\n        raise FileNotFoundError(\n            f\"deepseek-harness-runtime-bin is missing the default runtime config at {path}\"\n        )\n    return path\n\n\ndef bundled_runtime_path() -> Path:\n    \"\"\"Absolute path of the bundled single-file runtime executable for the current platform.\n\n    Raises FileNotFoundError when the platform is unsupported, the executable\n    has not been placed into this package, the required ripgrep sidecar is\n    missing, or the required macOS spawn helper is missing; the message names\n    the acquisition routes (acquisition strategy is deliberately separate from\n    this lookup interface, so an on-demand download can replace it without\n    touching callers).\n    \"\"\"\n    tag = _current_platform_tag()\n    path = bundled_package_dir() / \"runtime\" / f\"dsh-jsonrpc-agent-pkg-{tag}\"\n    if not path.is_file():","sourceCodeStart":46,"sourceCodeEnd":82,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/python/sdk-runtime/src/deepseek_harness_runtime/__init__.py#L46-L82","documentation":"Error \"deepseek-harness-runtime-bin is missing the default runtime config at {path}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at python/sdk-runtime/src/deepseek_harness_runtime/__init__.py:64 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the matching deepseek-harness-runtime-bin wheel (or rebuild the exe payload) so the default runtime config exists at the path."],"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"}