Commit Graph
46 Commits
Author SHA1 Message Date
ZiyaandMagolor 341ea6eea4 feat(schedule): integrate standalone tasks with the existing WebUI (#6189)
* feat(schedule): manage Host tasks with typed timing and delivery targets

* fix(schedule): align task creation button halves

* refactor(schedule): remove obsolete Session reminder runtime

* refactor(schedule): simplify task UI and preserve keyboard navigation

* fix(schedule): address task delivery and interface review findings

* test(schedule): normalize bundle module paths on Windows

* fix(schedule): cover reserved targets and trim unrelated changes

* refactor(schedule): minimize task management changes after rebase

* test(schedule): align rebased fixtures and documentation records

* test(schedule): refresh SDK scenarios added on master

---------

Co-authored-by: Magolor <[email protected]>
2026-10-29 18:11:48 +08:00
_Kerman 455686626d refactor(tools): separate scoped executors from tool registration 2026-10-19 14:49:55 +08:00
ZiyaandZiyaZhang 9f5bc9669b fix(schedule): 简化自动化任务标题,去除时间与执行备注 (#6105)
* fix(schedule): keep timing and execution notes out of task titles

* fix(schedule): avoid repeating task title guidance

* fix(schedule): keep title guidance examples in English

---------

Co-authored-by: ZiyaZhang <[email protected]>
2026-10-13 05:38:34 -07:00
Chinesezjc 1b1b09e1fb fix(schedule): enforce the caller restriction in the tool layer
Review follow-ups on the delegated-child rule:

- Every one of the four tools refuses a delegated caller before dispatch,
  reading `delegationDepthOf(exec.agent)` and returning the stable
  `subagent_session` refusal, so `schedule_list`, `schedule_delete`, and a
  content-only `schedule_update` are covered too. The preset `toolFilter.deny`
  stays as the layer that keeps the tools out of a child's prompt.
- The service keys the arming refusal on that same delegation accounting
  alone; `hasApiSessionSubagentOwner` returns to package-private and
  `@deepseek-ai/dsh-schedule` no longer imports it.
- The preset child row is `time-context` again: the `preset-` prefix separated
  it from a Host row that no longer exists, and `verify-cordis-config` passes
  with the sibling-style id.
- Docs, Agent Notes, and the generated catalogs follow.
2026-09-29 16:57:25 +08:00
Chinesezjc d02a959870 Merge origin/master into feat/preset-scoped-schedule-tools
Resolutions:
- `snapshots/web/minimal-preset/tool-schemas.expected.json` keeps this
  branch's side: the four reminder tools are absent from a `minimal` session
  under the new composition, so master's description refresh of those entries
  does not apply.
- `packages/schedule/tool-schedule/src/index.ts` keeps this branch's plugin
  shape and ports master's trimmed tool descriptions (20bea14129) onto the
  moved definitions; `docs/tool-catalog.md` is regenerated from them.
- `docs/tool-catalog.zh.md` has its schema code block realigned with the
  regenerated English side, and the pairing record is re-recorded.
2026-09-24 20:20:33 +08:00
Chinesezjc 6c1a590a4c feat(schedule): contribute the reminder tools from a preset-scoped package
The Host plugin registered `schedule_create`, `schedule_list`,
`schedule_update`, and `schedule_delete` on every live root Agent, so a
`minimal` session received four reminder tools its preset never declared. The
tools move to the preset-scoped Consumer `@deepseek-ai/dsh-tool-schedule`,
which injects `tools` and `schedule` and registers them in the scope that
mounts it: `standard`, `cordis`, and `ptc` carry the row, `minimal` does not.
`@deepseek-ai/dsh-schedule` keeps the Host service, storage, delivery, and the
Automation surface.

The five `minimal` assertions in the Web preset suite and the `minimal-preset`
tool-schema snapshot return to the bash-only table, the tool catalog is
regenerated under the new owner, and the Agent Note that recorded the previous
composition points at the new one.
2026-09-24 18:39:00 +08:00
Tianyi Cui a2d0f7f411 refactor: apply repository naming contract
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
2026-08-13 00:54:38 +08:00
Tianyi Cui 7028df46e4 Merge worktree/schedule-explicit-at into worktree/schedule-fixed-rate 2026-08-11 19:23:20 +08:00
Tianyi Cui 035f3e5a65 Merge worktree/schedule-conversational-after into worktree/schedule-explicit-at 2026-08-11 19:20:38 +08:00
Tianyi Cui 3f01ff8291 Merge remote-tracking branch 'origin/master' into worktree/schedule-conversational-after 2026-08-11 19:05:13 +08:00
Tianyi Cui 76537fde15 test(schedule): pin partial recurring dispatch failure 2026-08-09 20:45:59 +08:00
Tianyi Cui acb32f2999 fix(schedule): harden fixed-rate boundaries 2026-08-09 20:39:09 +08:00
Tianyi Cui 139b4f421e fix(schedule): close absolute-time review gaps 2026-08-09 20:29:37 +08:00
Tianyi Cui 204c526551 fix(schedule): harden conversational reminders 2026-08-09 20:11:18 +08:00
Tianyi Cui 45ff1eab98 refactor(schedule): bound fixed-rate reminders 2026-08-09 17:04:48 +08:00
Tianyi Cui b7ec8429a9 refactor(schedule): make absolute times explicit 2026-08-09 16:30:11 +08:00
Tianyi Cui 36ef892559 refactor(schedule): keep reminder delivery conversational 2026-08-09 15:22:53 +08:00
Tianyi Cui 3fa4c012b1 fix(schedule): reconcile cron stack layer 2026-08-08 23:25:04 +08:00
Tianyi Cui 1f88085b53 fix(schedule): reconcile latest master contracts 2026-08-08 22:39:07 +08:00
pku-xht b37877d80b fix(schedule): keep low-year LMT handoff safe 2026-08-08 06:03:14 +08:00
pku-xht 7f5b301d5f fix(schedule): harden calendar transition handling 2026-08-08 05:45:49 +08:00
pku-xht 925c0558a0 fix(schedule): validate resumed cron rules live 2026-08-08 04:51:58 +08:00
pku-xht c981eaa1d5 fix(schedule): close cron validation gaps 2026-08-08 04:30:24 +08:00
pku-xht 3b16c5ca00 refactor(schedule): delegate safe-year cron search 2026-08-08 03:37:20 +08:00
pku-xht fa466cf673 fix(schedule): stop cancelled mutations 2026-08-07 23:59:57 +08:00
pku-xht edb23439f6 fix(time-context): validate durable zone authority 2026-08-07 23:47:51 +08:00
pku-xht c4d9e2edb6 fix(schedule): validate restored seed logs 2026-08-07 23:11:25 +08:00
pku-xht cbda2b9d43 fix(schedule): narrow persistence error operation 2026-08-07 22:43:21 +08:00
pku-xht d8a85dcafd refactor(schedule): derive marker section text type 2026-08-07 21:04:09 +08:00
pku-xht de3e0a5d1c fix(schedule): validate exact time-context marker shapes 2026-08-07 20:55:58 +08:00
pku-xht 9d73b527de fix(schedule): close concurrent durability gaps 2026-08-07 19:06:34 +08:00
pku-xht d090f57bdb fix(schedule): validate time context snapshot markers 2026-08-07 16:58:15 +08:00
pku-xht 31c0c6a9f6 feat(schedule): add explicit-time-zone cron reminders 2026-08-06 23:48:57 +08:00
pku-xht 9a0bfc143b fix(schedule): close fixed-rate delivery review gaps 2026-08-08 02:54:36 +08:00
pku-xht b96a9f2268 fix(schedule): close recurring gate edge cases 2026-08-06 22:23:42 +08:00
pku-xht 49a6e4ddb9 fix(schedule): close fixed-rate review gaps 2026-08-06 21:39:01 +08:00
pku-xht 93d239b5d7 refactor(schedule): simplify recurrence evidence 2026-08-06 21:15:52 +08:00
pku-xht ceb0bbd66d feat(schedule): add fixed-rate reminders 2026-08-06 20:37:08 +08:00
pku-xht 6f2317e578 fix(schedule): reuse same-turn time context 2026-08-06 20:32:06 +08:00
pku-xht cd59acd6f6 refactor(schedule): simplify request zone authority 2026-08-06 19:33:19 +08:00
pku-xht b669ae46bc fix(schedule): preserve resumed ancestor receipts 2026-08-06 07:03:49 +08:00
pku-xht 2e187ccf14 fix(schedule): close review gaps 2026-08-06 06:35:50 +08:00
pku-xht d61059364e feat(schedule): add absolute-time reminders 2026-08-06 15:03:48 +08:00
pku-xht 8b69252664 feat(schedule): add durable after reminders 2026-08-06 03:47:37 +08:00
pku-xht f7e7851e3f feat(schedule): add durable after reminders 2026-08-05 19:00:02 +08:00
pku-xht a229b42e24 feat(schedule): add durable after package 2026-08-05 17:10:52 +08:00