Repository navigation
Releases
v0.2.10
Leaner answers for agents: the same evidence in 60–90% fewer tokens.
check_changewithscreenshot: falseon a web session now still loads the
page headlessly and reports its console errors and failed requests. Before,
it answered OK while the page was crashing. Only the image is skipped.- Web screenshots from
screenshotandcheck_changeare now 1× by default
at the same viewport, so a phone capture is 390×844 instead of 780×1688
(about 430 image tokens instead of about 1,700). Passscale: 2(CLI
--scale 2) for fine detail. Simulator and device screenshots are unchanged. read_logs(andbaton logs) with a filter now searches all of the
session's retained output and returns the lasttailmatching lines.
Before, it only searched the last 200 lines, so earlier errors were missed.diagnoseis shorter: findings are grouped by session (the session and
project path are printed once), repeats of the same error are counted once
(×N, with first and last time), and each stack shows its first app frames
then "+N more frames". The HUD's Diagnose panel reads the new shape.baton checktakes--no-screenshot.- CLI help, tests and fixtures use a neutral sample app name.
v0.2.9
Built for the loop a coding agent actually runs: edit, check, fix, check again.
baton setupadds Baton to every coding agent installed on the machine
(Claude Code, Codex, Cursor, VS Code, Antigravity, Gemini CLI, Windsurf),
by absolute path and with the shell's PATH, so Dock-launched apps work too.
The repo is now also a Codex plugin marketplace.- The Baton band in Claude Code (terminal and desktop app) is one row per
app with one-click media buttons: Logs, Debug (asks Claude to find and fix
the run's errors), Play (reload, resume, or run again once it ends), Pause,
Stop and Bring to front. The header has the same buttons for every app at
once, plus + to start a new/baton:run. No hover popups./batonopens
the same view in a pane. Pause is macOS only. In the desktop app the
buttons draw as icons, not their names. - Bring to front now raises that run's own simulator window, using
Simulator's own show-device signal (the one Xcode sends), so with an iPhone
and an iPad both up it no longer always shows the same one. Bring all
raises every device. macOS only. - New
check_changetool (andbaton check <session>). One call applies an
edit (hot reload for Flutter, HMR for web and React Native, restart for
native and plain processes) and answers OK / NOT OK with only what is new
since the call: the reload result, error lines, failed requests and a
screenshot. It replaces five round trips per edit. - Web screenshots.
screenshotandcheck_changecapture Vite, Next.js,
Flutter web and any session with a URL in a throwaway headless Chrome,
Edge or Brave (orBATON_CHROME).viewporttakesphone(a true
390×844 mobile layout, not Chrome's 500px minimum),tablet,desktop
orWIDTHxHEIGHT. The page's console errors, uncaught exceptions and
failed requests come back with the image, so an edit that leaves a blank
page is reported, not passed. Webrun_proofcells get screenshots too. - New
boot_devicetool: boot an iOS simulator or Android emulator by name
over MCP. With no name it lists what can boot. wait_foraccepts up to 15 minutes (was 5), enough for a first native build.- Every tool carries MCP hints (
readOnlyHint/destructiveHint), so
clients that honour them can stop asking before the 16 read-only tools. - Stopping or restarting a web dev server now ends the whole process tree.
Before, stoppingnpm run devleft Vite or Next.js running and holding
the port, so the next restart failed with "port already in use". set_debug_flagsends parameter values as the strings Flutter's service
extensions read (enabled: "true").npx -y baton-runnow starts the MCP server directly, and the package
carries an MCP Registry listing (server.json,mcpName).- New docs/clients.md: copy-paste setup for Claude Code,
Codex, Cursor, VS Code, Gemini CLI, Windsurf and Claude Desktop, plus a
rules snippet that teaches any agent the loop, with a full page per tool
under docs/clients/. - Repository:
SECURITY.md,CODE_OF_CONDUCT.md, a pull request template,
a structured bug report form, and examples/README.md
with minimal launch and workflow configs.
Also in 0.2.9 (prepared as 0.2.8, which was never published):
- The Claude Code plugin now shows Baton above the prompt. A band lists every
live run (project, simulator or URL, status) with Reload all, and/baton
opens a panel with each run's CPU and memory plus Reload, Restart,
Screenshot and Stop. In the desktop app the panel shows the last screenshot.
It reads the same daemon as the MCP tools, so runs started by Claude, the
CLI or the Baton app all appear. (Before release, both became the one-row
workspace with icon buttons described above.) Source:plugins/baton/hooks/register.tsx;
CI runs its tests withclaude plugin test. show_dashboard: a live Baton card inside the chat, drawn by hosts that
support MCP Apps (the Claude app and claude.ai). It lists every run with its
simulator or URL, status, CPU and memory, refreshes every 3 seconds, and has
Reload all plus per-run Reload, Restart, Screenshot and Stop. Screenshots
show in the card. Its buttons calldashboard_action, which only the card sees.- The card is a control panel: New run starts any project target on a chosen
simulator or device, or boots one first; each run adds Pause/Resume (macOS,
read back from the OS so every card agrees), Bring to front, Logs and
Dismiss; and a quick-actions row reloads, restarts, pauses, resumes, brings
forward or stops every app at once. - Running a target again after it stopped no longer fails with "already
running on this device". A relaunch reuses the session id, and the stopped
record now makes way for it instead of needingforget_sessionfirst.
v0.2.7
Claude Code plugin, Windows CI fix, and 0.2.7 (#10) * Package Baton as a Claude Code plugin with its own marketplace Adds plugins/baton (MCP server via npx baton-run@0.2.6, a using-baton skill, /baton:run and /baton:doctor) and a root marketplace.json so anyone can install with /plugin marketplace add kanumuri9593/Baton. CI validates the plugin and checks its pinned version matches package.json. Also removes committed .superpowers/ brainstorm state. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MRH1RBvKEjoCafxqt8kt3P * Fix render-icons root path on Windows URL.pathname is /D:/a/... on Windows, which path.resolve turns into D:\D:\a\..., so the icon script could not find its own assets and the render-icons test failed on every Windows CI job. Use fileURLToPath, as the other scripts already do (also handles spaces in the path). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MRH1RBvKEjoCafxqt8kt3P * Ship the tracing preload in the npm package and release 0.2.7 tsc only emits .ts output, so dist/instrumentation/node.mjs was missing from the published package and every batonTrace launch config (the workflow lab included) failed with ERR_MODULE_NOT_FOUND for npm/npx installs, which is how the Claude Code plugin runs Baton. Copy it in postbuild, test that the build carries it, and bump to 0.2.7 so the plugin can pin a fixed release. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MRH1RBvKEjoCafxqt8kt3P --------- Co-authored-by: Claude <noreply@anthropic.com>
v0.2.6
Baton 0.2.6: GitHub default branch is main. Install docs and the public site pin #v0.2.6 (or npm install -g baton-run). Unpinned github:kanumuri9593/Baton follows main. master is kept fast-forwarded to the same commits.
v0.2.5
Baton 0.2.5: HUD icon rasteriser passes a MIME type when drawing menu-bar template PNGs, so first launch no longer throws TypeError on an undefined path and then swallows it.
v0.2.4
Baton 0.2.4: global git installs compile with the package TypeScript dependency, spawn compiled daemon/CLI entries, and pin documented GitHub installs to #v0.2.4.
v0.2.3
Summary
- One left strip: projects live with the logo and expand control
- Collapsed rows show iOS, Android, web, or a workspace letter
- Stop, close, and inspect icons are centered in their buttons
Install
npm install -g baton-run
# or
npm install -g github:kanumuri9593/Baton#v0.2.3Baton 0.2.2
Control panel projects now live in a collapsible side rail. Each project and each session can be stopped or removed on its own. Workflow launches stay grouped as a workspace.
Also in this release: Settings (theme, motion, startup view, last project, Stop-all confirmation), baton app, native iOS/Android launch, and the full test suite as a publish gate.
Install: npm install -g baton-run
Baton 0.2.1
Baton 0.2.1 ships a publish-safe Node 24+ package, cross-platform run control, persistent app preferences, improved checkout/worktree handling, refreshed branding, a quieter compact launcher, and a new GitHub Pages site with transparent ROI scenarios.
Baton 0.2.0
Public developer preview of Baton: MCP server, CLI, and floating HUD for coding agents.
Install
npm install -g github:kanumuri9593/Baton
baton hudWire the agent:
claude mcp add baton -- baton-mcpOr add {"mcpServers":{"baton":{"command":"baton-mcp"}}} to Cursor / Codex / Gemini CLI / Windsurf.
Docs: README, AGENTS.md, llms.txt.
Please try it on your stack and leave feedback.