feat: integrate MCP tools with UI actions and improve environment variable inheritance

This commit is contained in:
lilong.129
2025-05-28 22:58:59 +08:00
parent 2fe5b14d63
commit 4ea08b0198
4 changed files with 81 additions and 12 deletions
+1
View File
@@ -825,6 +825,7 @@ func runStepMobileUI(s *SessionRunner, step IStep) (stepResult *StepResult, err
continue
}
// call MCP tool to execute action
err = uiDriver.ExecuteAction(context.Background(), action)
actionResult.Elapsed = time.Since(actionStartTime).Milliseconds()
stepResult.Actions = append(stepResult.Actions, actionResult)