格式统一

This commit is contained in:
duxin
2026-07-01 15:12:25 +08:00
parent 1611001a72
commit 1824d62d10
2 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,11 @@ class WorkspaceManager:
}
self.step_outputs = {}
# ★ 2026-07-01:切换工作目录时清空缓存,防止旧目录的 OutputUpdated 重放
def clear_all_outputs(self):
"""清空所有缓存的步骤输出路径。工作目录切换时调用。"""
self.step_outputs.clear()
def _publish_outputs(self, step_id: str, outputs: dict):
"""将发现的产出发布到 EventBus。