MCPcopy Create free account
hub / github.com/zai-org/Open-AutoGLM / _handle_takeover

Method _handle_takeover

phone_agent/actions/handler.py:235–239  ·  view source on GitHub ↗

Handle takeover request (login, captcha, etc.).

(self, action: dict, width: int, height: int)

Source from the content-addressed store, hash-verified

233 return ActionResult(True, False)
234
235 def _handle_takeover(self, action: dict, width: int, height: int) -> ActionResult:
236 """Handle takeover request (login, captcha, etc.)."""
237 message = action.get("message", "User intervention required")
238 self.takeover_callback(message)
239 return ActionResult(True, False)
240
241 def _handle_note(self, action: dict, width: int, height: int) -> ActionResult:
242 """Handle note action (placeholder for content recording)."""

Callers

nothing calls this directly

Calls 1

ActionResultClass · 0.70

Tested by

no test coverage detected