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

Method __init__

phone_agent/actions/handler_ios.py:41–51  ·  view source on GitHub ↗
(
        self,
        wda_url: str = "http://localhost:8100",
        session_id: str | None = None,
        confirmation_callback: Callable[[str], bool] | None = None,
        takeover_callback: Callable[[str], None] | None = None,
    )

Source from the content-addressed store, hash-verified

39 """
40
41 def __init__(
42 self,
43 wda_url: str = "http://localhost:8100",
44 session_id: str | None = None,
45 confirmation_callback: Callable[[str], bool] | None = None,
46 takeover_callback: Callable[[str], None] | None = None,
47 ):
48 self.wda_url = wda_url
49 self.session_id = session_id
50 self.confirmation_callback = confirmation_callback or self._default_confirmation
51 self.takeover_callback = takeover_callback or self._default_takeover
52
53 def execute(
54 self, action: dict[str, Any], screen_width: int, screen_height: int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected