deepseek-harness/docs/rfc/implemented/feature
Tianyi Cui ebcfab1621 fix(pkg): support worker-backed tools in single exe
pkg stores application files in a virtual filesystem, and its
worker_threads hook discovers worker entry points only when they are passed
as filesystem strings. Convert the code-runtime entry with fileURLToPath()
and return the workflow built entry as a string while retaining its
source-mode data URL bootstrap.

Emit worker entry bundles as CommonJS .cjs files. pkg executes a VFS-backed
string-path worker through Module._compile, so an ESM-only entry can be
present in the executable yet still fail when launched. Keep the public hosts
ESM, adapt worker startup accordingly, and align exports, package file lists,
workspace constraints, documentation, and built-worker tests with the actual
artifact format.

Expand the custom-config executable smoke to load the Code Mode and workflow
plugins and script real run_code and zero-agent workflow calls. Require both
tools to return 42 from workers launched inside the pkg VFS, turning worker
support from an asset-presence assumption into an end-to-end runtime
contract.

Update the implemented RFC and verification gates to describe and exercise
the supported built-worker path. This adds no tool or JSON-RPC protocol shape;
it fixes how existing worker-backed capabilities are located and executed in
the single-file distribution.
2026-07-13 21:40:33 +08:00
..
2026-06-14-acp-agent-client-protocol.md fix(review): reconcile sandbox and approval contracts 2026-07-11 21:37:38 +08:00
2026-06-14-acp-multi-session.md fix(review): reconcile sandbox and approval contracts 2026-07-11 21:37:38 +08:00
2026-06-15-code-mode.md refactor(core): remove owner-final assembly machinery 2026-07-13 13:09:41 +08:00
2026-06-17-filesystem-tool-schemas.md docs(rfc): define and enforce a uniform RFC format; adopt it across the corpus 2026-07-05 22:58:25 +08:00
2026-06-18-acp-terminal-and-tool-rendering.md fix(review): reconcile sandbox and approval contracts 2026-07-11 21:37:38 +08:00
2026-06-18-compaction-capability-seam.md docs(rfc): define and enforce a uniform RFC format; adopt it across the corpus 2026-07-05 22:58:25 +08:00
2026-06-21-subagent-capability-seam.md docs: align scoped runtime contracts 2026-07-13 13:41:27 +08:00
2026-06-22-acp-subagent-backend.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
2026-06-25-ask-user-question.md refactor: colocate user interaction with ui packages 2026-07-09 17:59:02 +08:00
2026-06-29-todo-write-tool.md docs(rfc): define and enforce a uniform RFC format; adopt it across the corpus 2026-07-05 22:58:25 +08:00
2026-06-30-hook-bridges.md fix(scope): close final ownership races 2026-07-12 00:31:46 +08:00
2026-06-30-hook-protocol-lib.md docs(rfc): define and enforce a uniform RFC format; adopt it across the corpus 2026-07-05 22:58:25 +08:00
2026-06-30-interception-seams.md refactor: narrow synchronous extension contracts 2026-07-13 11:58:55 +08:00
2026-06-30-session-store-fork-api.md Inline session fork parameters 2026-07-07 09:04:49 +08:00
2026-06-30-subagent-observe-enrich.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
2026-07-05-dynamic-workflows.md fix(pkg): support worker-backed tools in single exe 2026-07-13 21:40:33 +08:00
2026-07-05-skill-system.md docs(rfc): record deferred skill extensions 2026-07-11 22:18:58 +08:00
2026-07-06-approval-seam.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00
2026-07-06-explicit-tool-order.md refactor(core): remove owner-final assembly machinery 2026-07-13 13:09:41 +08:00
2026-07-06-sandbox.md docs(sandbox): record follow-up boundaries 2026-07-11 22:07:56 +08:00
2026-07-07-session-prefix.md docs(rfc): record the session-prefix decision 2026-07-09 00:40:57 +08:00
2026-07-08-repeat-tool-guard.md fix review finding: cap the detailed reminder's argument payload 2026-07-08 14:40:08 +08:00
2026-07-08-self-referential-cordis-toolset.md fix(tool-cordis): validate a dynamic tool's execute return shape after the realm round-trip 2026-07-09 22:12:30 +08:00
2026-07-12-subagent-persona-tool-filter-and-depth.md docs(rfc): align scoped runtime contracts 2026-07-12 22:49:46 +08:00