Files
deepseek-harness/packages/code-runtime/README.zh.md
T
Tianyi Cui d488330ba4 fix(rebase): migrate the replayed E2B branch onto the rebased parent
The linear replay carried old-lineage content over parent-owned files;
this checkpoint restores them and adapts the branch to the parent's
post-rebase seam:

- restore all pty/lsp/subprocess/code-runtime surfaces to the parent's
  exact content (this branch claims none of them) and drop the net-zero
  code-runtime-e2b/pty-e2b/lsp-e2b residue and its registrations
- widen serializeRemoteEnvironment to the seam's NodeJS.ProcessEnv
  tombstone contract: an explicit undefined removes an ambient entry
- migrate the two E2B fixture Agent stubs to the Inbox-model interface
  and Session.create
- re-apply the branch's gen-doc-graphs roles, THIRD_PARTY_NOTICES e2b
  row, and packages/README group row (trimmed to the doc budget);
  regenerate catalogs and re-record bilingual pairings
2026-08-08 22:19:13 +08:00

1008 B
Raw Blame History

code-runtime/ — 代码执行能力家族

English | 中文

代码执行能力 seam(参见能力 seam):一个抽象运行时接口,用于对宿主提供的异步绑定执行模型编写的程序,并捕获它打印和返回的内容。消费方是工具注册表的 Code Modetools: { mode: code },即 run_code 工具和按所加载运行时 language 生成的 SDK);设计见 Code Mode Agent Note。这些全是产品包。

职责 ctx key
code-runtime/ 代码执行 seam 与共享词汇 ctx.codeRuntime
code-runtime-worker/ Worker 线程后端 注册 ctx.codeRuntime

后端在不改变消费方的情况下注册该 seam。子 README 负责语言、隔离和执行预算细节。