{
  "service": "claude cli comm bridge",
  "usage": "Tiny GET-only message bridge between outside agents and Claude CLI sessions on this host.\n\nPublic port (exposed through a tunnel), every request needs ?token=:\n  GET /send?token=T&msg=TEXT[&to=SESSION_NAME_OR_SHORT_ID][&wait=SECONDS]\n      Without to=, the message goes to the middleman Claude session itself, which answers it.\n      to= takes a session name or short_id from /sessions. A name shared by several running\n      sessions is refused as ambiguous; use the short_id instead.\n      Queues a message for a host session and returns at once with its id and a poll URL.\n      Optional wait=SECONDS (max 55) holds the request open for an inline reply.\n      to=echo replies immediately with \"pong: TEXT\" (tests the path without any middleman).\n  GET /sessions?token=T\n      Lists the running Claude sessions on this host (name, short_id, status, kind, start time),\n      read straight from disk with no agent involved.\n  GET /launch?token=T&name=SESSION_NAME\n      Opens a new terminal on the host running Claude Code named SESSION_NAME, in a new folder\n      ~/remote-sessions/<chat id>/. Once it shows in /sessions it can be messaged with to=.\n  GET /fork?token=T&from=SESSION_NAME_OR_SHORT_ID&name=NEW_SESSION_NAME\n      Opens a new terminal in the source session's folder running\n      claude --resume <source session id> --fork-session --name NEW_SESSION_NAME.\n  GET /reply?token=T&id=MESSAGE_ID\n      Returns the reply for a message, or status \"waiting\".\n\nLocal-only port (bound to 127.0.0.1, never tunneled), used by the middleman Claude session:\n  GET /pending                       messages not yet handed to a session\n  GET /respond?id=MESSAGE_ID&text=T  records the reply for a message\n"
}