Files
deepseek-harness/packages/workflow
sjw1231 71cb6c739a refactor(error): move HarnessError to the dependency-free dsh-error package
dsh-llm depends on dsh-attachment and dsh-typert-protocol, so classes in
those packages could not extend a base defined in dsh-llm without a
project-reference cycle. HarnessError now lives in @deepseek-ai/dsh-error,
which has no dependencies; dsh-llm declares it as a peer and re-exports
the same class, so existing imports and instanceof checks keep working.
The Agent Note records why the original leaf-package placement no longer
holds.

Refs #7869
2026-11-05 21:26:38 +08:00
..

description, kind
description kind
The workflow group map: model-authored orchestration scripts that fan out subagents, for users and maintainers navigating the group. package-group

packages/workflow

English | 中文

Summary

The workflow group lets an agent run orchestration scripts that delegate work to subagents and return a final value. The workflow tool supports scripted fan-out. Scripts use the shared PTC Node process runtime under the calling Session's file policy. Workflow hooks and child lifecycle remain owned by the workflow engine.

Table of Contents


Packages

Package Role ctx key
workflow Runs a model-written orchestration script that fans out subagents ctx.workflowEngine
workflow-ptc Runs workflow scripts through the shared sandboxed PTC Node process runtime registers on ctx.workflowEngine
tool-workflow Gives the model the workflow tool for scripted multi-agent orchestration registers on ctx.tools


Dev Note

Working context for maintainers — click to expand

None.