Files
deepseek-harness/packages/tasks
pku-xht e3ac9e85e5 Merge commit '5a0d28e200d89dca2b8004d9cd624629a1409a3f' into codex/bounded-background-tasks-v2
# Conflicts:
#	.agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.i18n.yaml
#	.agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.md
#	.agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.zh.md
2026-08-11 22:28:38 +08:00
..

tasks/ — background-task capability family

English | 中文

This family gives long-running tools one owner-isolated background-task protocol for observation, cancellation, waiting, and completion notices.

Package Role ctx key
tasks/ Defines the task registry and lifecycle contract ctx.tasks
tasks-local/ Implements the process-local task registry registers on ctx.tasks
tool-tasks/ Exposes task control and completion notices to the model registers on ctx.tools

See the background-task runtime and task-registry decisions.

The subsystem reference — the id scheme, the owner-fenced contract, snapshots — is docs/subsystems/tasks.md; design in the background-task runtime and task-registry contract Agent Notes.