DC
编程/npm v0.1.0-rc.6

DSH Code Runtime Worker Thread

这是 @deepseek-ai/dsh-code-runtime seam 的 worker 线程实现:WorkerThreadCodeRuntime 会在每次运行中使用一个全新的 Node worker_threads.Worker,输入 TypeScript,由宿主侧剥离类型,通过消息端口桥接绑定,输出 { value, logs, error?

by DeepSeek官方内置
前往 GitHub 前往 npm
v0.1.0-rc.6版本
npmnpm 包
MIT许可证
TypeScript主要语言
2026年8月13日更新于
01

安装

npx @deepseek-ai/dsh@latest web
02

关于此插件

这是 @deepseek-ai/dsh-code-runtime seam 的 worker 线程实现:WorkerThreadCodeRuntime 会在每次运行中使用一个全新的 Node worker_threads.Worker,输入 TypeScript,由宿主侧剥离类型,通过消息端口桥接绑定,输出 { value, logs, error? 在 DSH 0.1.0-rc.6 的默认 Web 组合中,该包对应配置条目 “code-runtime”。

03

提供的能力

  • 01这是 @deepseek-ai/dsh-code-runtime seam 的 worker 线程实现:WorkerThreadCodeRuntime 会在每次运行中使用一个全新的 Node worker_threads.Worker,输入 TypeScript,由宿主侧剥离类型,通过消息端口桥接绑定,输出 { value, logs, error?
  • 02已包含在默认 DSH Web 组合中
  • 03以带版本的 npm 包发布,并提供公开源码

重要说明

  • 当前 DSH 版本已内置 0.1.0-rc.6,无需单独安装。
  • 请通过官方 DSH profile 加载该内置组件;仅安装 npm 包不会自动组成 profile。
04

README 预览

README.md

DSH Code Runtime Worker Thread

这是 @deepseek-ai/dsh-code-runtime seam 的 worker 线程实现:WorkerThreadCodeRuntime 会在每次运行中使用一个全新的 Node worker_threads.Worker,输入 TypeScript,由宿主侧剥离类型,通过消息端口桥接绑定,输出 { value, logs, error?

在来源页面阅读完整 README