internal/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0

Directories

Path Synopsis
Package a11ydump carries the device half of loupe's Android tree dump: a dex (tools/a11ydump) that app_process runs to print the screen's accessibility tree as uiautomator dump's XML, in about 250ms where uiautomator takes 2s, with each scrollable node's scroll-backward and scroll-forward actions added.
Package a11ydump carries the device half of loupe's Android tree dump: a dex (tools/a11ydump) that app_process runs to print the screen's accessibility tree as uiautomator dump's XML, in about 250ms where uiautomator takes 2s, with each scrollable node's scroll-backward and scroll-forward actions added.
Package apischema reflects over the server's HTTP response types and emits one JSON Schema document (draft 2020-12) describing them, keyed by endpoint.
Package apischema reflects over the server's HTTP response types and emits one JSON Schema document (draft 2020-12) describing them, keyed by endpoint.
Package awake keeps the Mac from idle-sleeping while someone is using it through loupe.
Package awake keeps the Mac from idle-sleeping while someone is using it through loupe.
Package camfeed passes camera frames to Handset Camera, the Mac camera that Handset's camera extension adds.
Package camfeed passes camera frames to Handset Camera, the Mac camera that Handset's camera extension adds.
Package clipshare holds the one clipboard a server's targets and its Mac share, and hands each change to whatever writes it onward.
Package clipshare holds the one clipboard a server's targets and its Mac share, and hands each change to whatever writes it onward.
Package composetree reads the composable tree out of a debuggable Compose app and maps it onto the uiautomator tree loupe already serves.
Package composetree reads the composable tree out of a debuggable Compose app and maps it onto the uiautomator tree loupe already serves.
Package config is the persisted server configuration and the rules for changing it.
Package config is the persisted server configuration and the rules for changing it.
Package dest reads the places a flag can be sent beyond loupe mcp sessions and T3 threads: a program on this Mac, such as `claude -p` or `codex exec`, or a webhook.
Package dest reads the places a flag can be sent beyond loupe mcp sessions and T3 threads: a program on this Mac, such as `claude -p` or `codex exec`, or a webhook.
Package h264 provides the minimum bitstream inspection the server needs: locating parameter sets in an Annex B stream and deriving the codec string a browser's VideoDecoder expects.
Package h264 provides the minimum bitstream inspection the server needs: locating parameter sets in an Annex B stream and deriving the codec string a browser's VideoDecoder expects.
Package hevc reads what loupe needs from an HEVC (H.265) parameter set: the RFC 6381 codec string a viewer's decoder is configured with.
Package hevc reads what loupe needs from an HEVC (H.265) parameter set: the RFC 6381 codec string a viewer's decoder is configured with.
Package httpapi exposes the target registry and streaming endpoint over HTTP.
Package httpapi exposes the target registry and streaming endpoint over HTTP.
Package mcpserver is `loupe mcp`: a Model Context Protocol server over stdio that turns a running loupe server's HTTP API into tools.
Package mcpserver is `loupe mcp`: a Model Context Protocol server over stdio that turns a running loupe server's HTTP API into tools.
Package mp4 writes one H.264 video track to an MP4 file, streaming samples to disk and holding only the sample table in memory.
Package mp4 writes one H.264 video track to an MP4 file, streaming samples to disk and holding only the sample table in memory.
Package pairing keeps device sessions and the one-time codes that create them.
Package pairing keeps device sessions and the one-time codes that create them.
Package peer holds the servers this one has been told about: their URLs, tokens and pinned certificates, the polling that keeps their target rows fresh, and the HTTP and TLS plumbing for reaching them.
Package peer holds the servers this one has been told about: their URLs, tokens and pinned certificates, the polling that keeps their target rows fresh, and the HTTP and TLS plumbing for reaching them.
Package record writes a live session's frames to MP4 files and keeps a capped store of them.
Package record writes a live session's frames to MP4 files and keeps a capped store of them.
Package scrcpy implements the wire protocol spoken by scrcpy-server: the video stream framing it emits, and the control messages it accepts.
Package scrcpy implements the wire protocol spoken by scrcpy-server: the video stream framing it emits, and the control messages it accepts.
server
Package server embeds the scrcpy-server jar that loupe pushes to the device.
Package server embeds the scrcpy-server jar that loupe pushes to the device.
Package session owns the live streaming sessions and the binary protocol spoken between this server and a browser client.
Package session owns the live streaming sessions and the binary protocol spoken between this server and a browser client.
Package t3 drives T3 Code's CLI: list a project's threads, send one a message, start a new one.
Package t3 drives T3 Code's CLI: list a project's threads, send one a message, start a new one.
Package target defines the contract every streamable Android source satisfies, plus the concrete implementations: a physical device over adb, a managed emulator, and a synthetic test pattern used to validate the client without any Android hardware attached.
Package target defines the contract every streamable Android source satisfies, plus the concrete implementations: a physical device over adb, a managed emulator, and a synthetic test pattern used to validate the client without any Android hardware attached.
Package trace writes a newline-delimited JSON record per sample so a session can be analyzed after the fact instead of read off a phone screen.
Package trace writes a newline-delimited JSON record per sample so a session can be analyzed after the fact instead of read off a phone screen.
Package tspath reads how Tailscale is carrying traffic to a peer: directly, through a peer relay, or through a DERP server.
Package tspath reads how Tailscale is carrying traffic to a peer: directly, through a peer relay, or through a DERP server.
Package usbmux opens a TCP connection to a port on an iPhone over its USB cable, through macOS's own usbmuxd at /var/run/usbmuxd.
Package usbmux opens a TCP connection to a port on an iPhone over its USB cable, through macOS's own usbmuxd at /var/run/usbmuxd.
Package wsx is a minimal RFC 6455 WebSocket server implementation.
Package wsx is a minimal RFC 6455 WebSocket server implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL