Files
deepseek-harness/packages/schedule
sjw1231 aa90f0be56 feat(subagent): attach SubagentError codes to delegation tool failures
Delegation, discovery, and control tools threw plain Errors for missing
caller context, invalid selections, depth limits, and corrupt or
unavailable child state, so tool/result records carried no error.code.
SubagentDepthError now extends SubagentError with DEPTH_EXCEEDED; new
SubagentError codes cover disabled or disallowed preset and model
selection, invalid depth and cwd, a missing working-directory service,
a failed join of the parent preset revision, and structured output
submitted with pending input. Missing callers and services use
ToolContextUnavailableError, and hand-checked route fields use
ToolArgsError. A corrupt cold-restore descriptor becomes NOT_RESUMABLE,
and the schedule tools read the delegation depth inside their error
mapping.

Refs #7869
2026-11-06 16:46:32 +08:00
..
2026-11-05 11:27:26 +08:00

description, kind
description kind
The schedule package group: Host-owned scheduled tasks, reminders, and task management. package-group

schedule/ — Host-owned scheduled tasks

English | 中文

Summary

Create RFC 5545 recurring tasks that deliver to an existing Session or to a new one, and keep them across Host restarts. Inspect active, paused, and ended tasks without opening their target Sessions. An Agent uses the Schedule tools, and a user uses the sidebar Automation tasks page, to create, edit, pause, resume, and delete tasks; the Automation tasks page can also run a task now. Due tasks arrive as ordinary follow-up messages in their target Session, not email, SMS, or push notifications.

Table of Contents


Packages

Choose this package for persistent scheduled task management.

Package Role
schedule/ Host-owned task persistence, scheduling, delivery targets, inspection, and explicit deletion
tool-schedule/ Preset-scoped schedule_create, schedule_list, schedule_view, and schedule_edit tools over the Host ctx.schedule service

  • Schedule subsystem — task records, recurrence rules, delivery targets, latest receipts, and delivery contracts.
  • Generated tool catalog — the schedule_create/schedule_list/schedule_view/schedule_edit schemas a mounting preset contributes.
  • Schedule user guide — create, inspect, run, edit, and delete scheduled tasks.
  • Automation tasks page — the sidebar page that manages every Host task in the browser.

Dev Note

Working context for maintainers — click to expand

None.