mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
Document dsh as the only application launcher across architecture, CLI, SDK, app-boot, Python package, contributor, tutorial, and example references. Explain explicit home selection, profile and patch precedence, persistent external plugin installation, the Node-free runtime path, and the absence of complete-config or ~/.dsh fallbacks. Record the Python profile-runtime decision and update the active naming, installed-wheel, and SEA packaging notes with precise supersession. Regenerate the configuration catalog and module graph after deleting the carrier, update both reviewed languages and pairing records, and classify the retained standalone Cordis files as lower-level test fixtures rather than launch interfaces.
1.1 KiB
1.1 KiB
DeepSeek Harness Python SDK
English | 中文
用于以子进程方式驱动 DeepSeek Harness 的 Python 包。客户端 SDK 通过 stdio 使用按行分隔的 JSON-RPC 与内置运行时通信。
包
| 目录 | 分发名/模块 | 职责 |
|---|---|---|
| sdk | deepseek-harness-sdk / deepseek_harness |
高层轮次 API 与低层 JSON-RPC 客户端 |
| sdk-runtime | deepseek-harness-runtime-bin / deepseek_harness_runtime |
内置 dsh CLI 可执行程序与原生伴随文件 |
行为
除非调用方选择另一个 dsh 可执行程序或 profile,否则 SDK 会启动匹配的内置 dsh --profile sdk 运行时。每次启动都要求显式选择 Harness home;Python 绝不会静默读取 ~/.dsh。SDK 参考和运行时载体参考定义运行时选择、profile、patch 与外部插件管理约定。
贡献者工作流
Python 贡献者工作流介绍运行时产物构建、包验证、源码模式开发和分发。