Baton

skill
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Basarisiz
  • fs.rmSync — Destructive file system operation in bridge/bridge.mjs
  • network request — Outbound network request in bridge/bridge.mjs
  • exec() — Shell command execution in bridge/claude-commands.mjs
  • fs.rmSync — Destructive file system operation in bridge/claude-hook.mjs
  • fs.rmSync — Destructive file system operation in bridge/claude-runtime.mjs
  • process.env — Environment variable access in bridge/claude-usage.mjs
  • os.homedir — User home directory access in bridge/codex-app-server.mjs
  • exec() — Shell command execution in bridge/codex-commands.mjs
  • exec() — Shell command execution in bridge/codex-extract.mjs
  • exec() — Shell command execution in bridge/codex-interaction.mjs
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

View and interact with your Claude Code and Codex sessions from anywhere — powered by AWS serverless.

README.md

Baton

Pick up your Claude Code and Codex tasks on your phone, right where you left off on your computer.

Baton

Baton provides non-intrusive, real-time streaming and rendering for Claude Code and Codex sessions across your devices. Your session data stays in your own AWS account.

Why Baton?

Named after both a relay baton and a conductor's baton, Baton lets you pick up work on another device and direct your agents remotely.

Quick Start

1. Deploy Server

Requires AWS CLI with permissions to create CloudFormation stacks.

curl -fsSL https://raw.githubusercontent.com/zhu-xiaowei/baton/main/server/install.sh | bash

Takes ~6-8 minutes. Prints a Start URL and QR code on success. Supports --region, --stack, --profile options (pass after bash -s --).

2. Install Bridge

Requires Node.js >= 20.

  1. Open the Start URL in your browser (this is also the web viewer)
  2. Copy the one-line Install bridge command from the Setup page
  3. Run it on the machine where Claude Code or Codex is running

3. Download App

iOS Android macOS Windows
TestFlight Baton.apk Baton.dmg Baton.exe

After downloading the app, scan the QR code or input the Start URL to get started.


Features

  • Real-time streaming and rendering — follow responses, tool activity, diffs, Mermaid diagrams, and LaTeX as they arrive
  • Non-intrusive workflow — keep using Claude Code and Codex normally while a lightweight local Bridge observes and relays sessions
  • Claude Code and Codex — browse and control both runtimes through one Device → Project → Session catalog
  • Multi-device session control — track running, needs input, and done states, then continue work from any connected device
  • Remote interaction — send follow-ups, interrupt running turns, answer questions, and approve or deny tool calls
  • Sessions and agents — create Claude Code, Codex, or Claude background-agent sessions and monitor them after detaching
  • Runtime-aware commands/ autocomplete for Claude Code and Codex, including Codex Skills and saved prompts
  • Image and voice input — send compressed images and dictate messages from the iOS app
  • QR sign-in — scan a Start URL directly from the native app
  • Claude usage insights — view status, settings, rate limits, token history, and model usage charts
  • Execution timeline — inspect collapsible tool calls and results with runtime-specific states
  • Project and artifact viewer — browse source with line highlighting and preview HTML, Markdown, images, files, and videos

Architecture

┌────────────────┐               ┌────────────────┐               ┌──────────────────┐
│     Bridge     │ ◀────WS─────▶ │     Server     │ ◀────WS─────▶ │     App/Web      │
│ (local hosts)  │               │  (AWS Lambda)  │               │  (phone/desktop) │
└────────────────┘               └───────┬────────┘               └──────────────────┘
                                         │
                                         ▼
                                 ┌────────────────┐
                                 │ DynamoDB + S3  │
                                 │ (data + media) │
                                 └────────────────┘

Bridge discovers Claude Code and Codex sessions, normalizes their events, and handles local agent control. Server relays real-time messages, stores session data in DynamoDB, and serves synced media through S3. App/Web loads cached history, subscribes to live updates, and routes user actions back to the correct local runtime.


Uninstall

See the uninstall guide.


License

MIT

Yorumlar (0)

Sonuc bulunamadi