2026-08-04 00:54:19 +08:00
# tasks/ — background-task capability family
2026-07-09 21:22:54 +08:00
2026-07-26 05:03:53 +08:00
English | [中文 ](README.zh.md )
2026-08-04 00:54:19 +08:00
This family gives long-running tools one owner-isolated background-task protocol for observation, cancellation, waiting, and completion notices.
2026-07-09 21:22:54 +08:00
2026-08-04 00:54:19 +08:00
| Package | Role | ctx key |
2026-07-09 21:22:54 +08:00
|---|---|---|
2026-08-04 00:54:19 +08:00
| [`tasks/` ](tasks/README.md ) | Defines the task registry and lifecycle contract | `ctx.tasks` |
| [`tasks-local/` ](tasks-local/README.md ) | Implements the process-local task registry | registers on `ctx.tasks` |
| [`tool-tasks/` ](tool-tasks/README.md ) | Exposes task control and completion notices to the model | registers on `ctx.tools` |
2026-07-09 21:22:54 +08:00
2026-08-04 00:54:19 +08:00
See the [background-task runtime ](../../.agents/notes/implemented/architecture/2026-06-20-generic-long-running-tool-runtime.md ) and [task-registry ](../../.agents/notes/implemented/architecture/2026-07-26-task-registry-seam.md ) decisions.