格式统一
This commit is contained in:
@ -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。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user