mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
742 B
742 B
DIFF-413:修改自动 pull 间隔时重置计时
背景
Electron configureJsonVaultAutoPull / configureQuickNoteAutoPull 在设置变更时 clearInterval 并新建定时器,间隔修改后立即按新周期计时。Compose VaultGitPullScheduler 用 lastPullAt 节流,修改 autoPullMinutes 后可能仍须等待旧间隔剩余时间。
行为
VaultGitPullScheduler.resetIntervalClock()清零lastPullAt。AppContainer.updateSettings在vault.autoPullMinutes、data.directory或 Vault 自定义路径变化时对 JSON/随手记 pull 调度器调用(对齐applySettings重建 watcher/定时器)。
验证
VaultGitPullSchedulerTest./gradlew :composeApp:desktopTest --offline