MCPcopy
hub / github.com/zai-org/Open-AutoGLM / _get_hdc_prefix

Function _get_hdc_prefix

phone_agent/hdc/input.py:145–149  ·  view source on GitHub ↗

Get HDC command prefix with optional device specifier.

(device_id: str | None)

Source from the content-addressed store, hash-verified

143
144
145def _get_hdc_prefix(device_id: str | None) -> list:
146 """Get HDC command prefix with optional device specifier."""
147 if device_id:
148 return ["hdc", "-t", device_id]
149 return ["hdc"]

Callers 4

type_textFunction · 0.70
clear_textFunction · 0.70
restore_keyboardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected