Skip to content

1.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Jun 07:49
927758c

Minor Changes

  • #7 8552135 Thanks @TooTallNate! - Add create_token and revoke_token MCP tools. create_token mints a
    bearer token over the already-authenticated MCP channel; revoke_token
    removes a previously issued token again (agents can clean up after
    themselves). This lets agents use the raw HTTP
    API (e.g. curl -T for large file uploads, where base64 tool-call
    content would be impractical) without being handed credentials out of
    band. Tokens share the tokens.txt store and revocation model with the
    OAuth flow.

  • #6 f5f4be8 Thanks @TooTallNate! - Input MCP tools (tap_buttons, tap_sequence, hold_buttons,
    release_buttons, set_stick, clear_input) accept an optional
    "screenshot": true argument that appends a screenshot (taken after an
    optional screenshotDelayMs, default 250ms) to the tool result as an
    image content block — saving the agent a separate screenshot round trip
    after every input.

  • #2 7930a11 Thanks @TooTallNate! - Add an OAuth 2.1 browser login flow for MCP clients. When username/password
    are configured, clients like Claude Code now authenticate with zero manual
    header configuration: the first 401 triggers metadata discovery (RFC 9728 /
    RFC 8414), dynamic client registration (RFC 7591), and a browser login page
    served by the Switch; after signing in, the client receives a non-expiring
    bearer token via the authorization-code + PKCE S256 grant. Tokens are
    persisted to config/sys-autopilot/tokens.txt (revoke by deleting a line).
    Also adds CORS support for browser-based MCP clients.

  • #5 0a3b148 Thanks @TooTallNate! - Add sleep, restart, and power_off MCP tools (and matching
    POST /power/sleep|restart|off REST endpoints) so agents can manage
    console power state. Actions execute only after the confirmation
    response has been delivered; tool descriptions carry explicit warnings
    about server availability (sleep and power-off require physical human
    interaction to recover; restart may too, depending on bootloader
    autoboot configuration).

Patch Changes

  • #4 984167d Thanks @TooTallNate! - Fix console crash on sleep (hard restart on wake). Two changes were
    required: the HDLS work buffer (transfer memory mapped into the hid
    sysmodule) is now attached lazily and released when the console
    prepares to sleep, and the sysmodule registers as a PSC power
    management module so it can close its listener socket and quiesce all
    bsd IPC before acknowledging the sleep transition. Previously the held
    HDLS state and live socket activity made the sleep sequence fail (omm
    abort with psc error 2165-1001, occasional bsdsockets aborts), forcing
    a full reboot on wake. The virtual controller re-attaches automatically
    on the first input request after wake.