Files
deepseek-harness/packages/sdk/README.zh.md
T
Tianyi Cui 34aabc4183 test(sdk): snapshot suite over the SDK path; docs for the SDK stack
- examples/jsonrpc-agent gains its first snapshot suite (sdk.snapshot.ts):
  the real dsh-jsonrpc-agent runtime driven through the real dsh-sdk-client,
  keyless llm-replay behind a new cordis.snapshot.yml overlay; three recorded
  scenarios (text turn, bash tool, spawn subagent) pin the notification
  stream, the SDK turn result, and the persisted parent+child session logs.
- Bilingual READMEs for dsh-sdk-protocol / dsh-sdk-client / dsh-subagent-sdk;
  sdk/ and subagent/ group tables extended; dsh-jsonrpc README points at the
  extracted protocol package; Agent Note (en+zh) owns the decision.
- The proposed make-jsonrpc-directional note is updated for the transport's
  new home and its second (client) consumer.
- Model Experience sentence allowlist entries for the two client-side
  packages; module graph + config catalog regenerated; i18n pairings
  recorded. doc-sync passes 24/24.
2026-07-27 04:37:23 +08:00

1.6 KiB

SDK 包

English | 中文

用于创建、编辑、构建和运行 DeepSeek Harness 项目的开发者工具,外加从另一进程驱动 harness 运行时的客户端 SDK 栈。

功能 Agent Note负责开发者工作流;架构 Agent Note负责包与项目编辑边界;TypeScript SDK Agent Note负责客户端 SDK 栈。

职责
helper 项目聚合、编辑会话、内置功能、项目文档、模板、包管理器与提示词抽象
scripts dsh-sdk 启动器:startdevbuild 和交互式 config
create-sdk npm create @deepseek-ai/sdk 初始化器
sdk-protocol 共享的 SDK 运行时线协议:按换行分帧的 JSON-RPC 传输 + 具名请求/通知类型
sdk-client TypeScript 客户端 SDK:走 stdio JSON-RPC 驱动 harness 运行时子进程(Python SDK 的设计孪生)

@deepseek-ai/create-sdk 是仓库 @deepseek-ai/dsh-* 命名规则的唯一例外:npm 的 scoped initializer 约定要求使用该名称,才能支持 npm create @deepseek-ai/sdk

生成的项目始终以 cordis.yml 作为唯一运行时插件树。dsh-sdk dev 只是在同一文件周围增加 TypeScript 与本地工作区解析,不会创建仅供开发环境使用的配置。