新增步骤执行范围并同步文档

This commit is contained in:
QLHazyCoder
2026-05-17 18:18:09 +08:00
parent 59cd073b39
commit ed2e5ec3c4
12 changed files with 692 additions and 1526 deletions
+1
View File
@@ -538,6 +538,7 @@
autoRunDelayEnabled: prevState.autoRunDelayEnabled,
autoRunDelayMinutes: prevState.autoRunDelayMinutes,
autoStepDelaySeconds: prevState.autoStepDelaySeconds,
stepExecutionRangeByFlow: prevState.stepExecutionRangeByFlow,
signupMethod: prevState.signupMethod,
mailProvider: prevState.mailProvider,
emailGenerator: prevState.emailGenerator,
+4
View File
@@ -31,6 +31,7 @@
doesNodeUseCompletionSignal,
ensureMail2925MailboxSession,
ensureManualInteractionAllowed,
assertNodeExecutionAllowedForState,
executeNode,
executeNodeViaCompletionSignal,
exportSettingsBundle,
@@ -1166,6 +1167,9 @@
await lockAutomationWindowFromMessage(message, sender);
await ensureManualInteractionAllowed('手动执行节点');
}
if (typeof assertNodeExecutionAllowedForState === 'function') {
assertNodeExecutionAllowedForState(nodeId, requestState, '手动执行节点');
}
if (message.source === 'sidepanel') {
await ensureManualStepPrerequisites(resolvedStep);
}