server/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT

Directories

Path Synopsis
cmd
droidline command
Command droidline is the PC server, the CLI for every phone command, and the MCP adapter, in one binary.
Command droidline is the PC server, the CLI for every phone command, and the MCP adapter, in one binary.
droidline-fakephone command
Command droidline-fakephone is a simulated phone for trying Droidline, and for SDK tests in CI, without a device.
Command droidline-fakephone is a simulated phone for trying Droidline, and for SDK tests in CI, without a device.
droidline-relay command
Command droidline-relay is the self-hosted relay for a VPS or Docker.
Command droidline-relay is the self-hosted relay for a VPS or Docker.
internal
agentlink
Package agentlink is the server side of the phone link: the two-line handshake and the encrypted session (PROTOCOL.md 4.4-4.5).
Package agentlink is the server side of the phone link: the two-line handshake and the encrypted session (PROTOCOL.md 4.4-4.5).
client
Package client talks to a running server's client API over NDJSON.
Package client talks to a running server's client API over NDJSON.
dlcrypto
Package dlcrypto implements the key schedule and envelope from PROTOCOL.md sections 4.3-4.5, plus relay tickets from section 6.2.
Package dlcrypto implements the key schedule and envelope from PROTOCOL.md sections 4.3-4.5, plus relay tickets from section 6.2.
fakeagent
Package fakeagent is a phone simulator that speaks the real agent protocol over a tiny fake app, so servers, SDKs and CI can run without a device.
Package fakeagent is a phone simulator that speaks the real agent protocol over a tiny fake app, so servers, SDKs and CI can run without a device.
hub
Package hub connects clients to phones: it owns the device registry, per-device command queues, pairing, events and server-side commands.
Package hub connects clients to phones: it owns the device registry, per-device command queues, pairing, events and server-side commands.
mcp
Package mcp exposes every Droidline command as an MCP tool over stdio.
Package mcp exposes every Droidline command as an MCP tool over stdio.
relay
Package relay forwards lines between a Droidline server and its phones when both sit behind NAT (PROTOCOL.md section 6).
Package relay forwards lines between a Droidline server and its phones when both sit behind NAT (PROTOCOL.md section 6).
server
Package server wires the hub to its listeners: the agent port, the client API, UDP discovery and an optional relay connection.
Package server wires the hub to its listeners: the agent port, the client API, UDP discovery and an optional relay connection.
store
Package store keeps the server's files: config.toml (edited by people), state.json (paired devices, written by the server) and the secret store.
Package store keeps the server's files: config.toml (edited by people), state.json (paired devices, written by the server) and the secret store.
wire
Package wire carries NDJSON lines over TCP, TLS and WebSocket behind one interface, and tells protocols apart by the first byte a peer sends.
Package wire carries NDJSON lines over TCP, TLS and WebSocket behind one interface, and tells protocols apart by the first byte a peer sends.

Jump to

Keyboard shortcuts

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