Skip to content

v0.8.6 — 完善定期会话关于复用会话的逻辑

Latest

Choose a tag to compare

@cloader cloader released this 28 Sep 10:01

v0.8.6

中文

  • 完善定期会话关于复用会话的逻辑:cron 定期任务现在可明确选择“每次新建会话”或“首次新建会话,后续复用”,也仍可指定当前项目中的既有会话。
  • 复用策略不再受“完成后移回待办”或“完成后新建下一轮待办卡”影响;选择“首次新建、后续复用”时,首轮会话会安全传递到下一周期卡。
  • 一次性定时任务维持原有的单次执行语义;已有定期任务保持此前的自动续用行为,升级不会静默改变配置。

English

  • Improved periodic session reuse logic: cron tasks can explicitly choose “new session every time” or “create first, then reuse,” while still allowing selection of an existing session from the current project.
  • The reuse policy no longer depends on whether periodic completion rearms the current card or creates a successor; create-then-reuse safely carries its first session into the next period card.
  • One-shot tasks retain their original single-run semantics, and existing periodic tasks retain their prior automatic-reuse behavior without silent configuration changes.

Verification

  • npm run typecheck
  • npm test — 371 tests passed
  • npm run build
  • node tests/smoke-host.mjs — SMOKE OK
  • npm pack --dry-run --json — dsh-taskboard@0.8.6