@henrylatour/code-manager

A self-hosted web workspace for running AI coding agents (Claude Code) across all of my projects, with deploys built in. It runs on my own machine and is reachable from anywhere, including my phone.

2026 – Present

  • TypeScript
  • Express 5
  • Socket.IO
  • MongoDB
  • Zod
  • Claude Agent SDK
  • React 19
  • Vite
  • MobX
  • TanStack Router
  • Shiki
  • Workbox
  • Agent chat:
    • A Messenger-style chat dock with streaming turns, visible reasoning, tool calls with inline diffs, and per-turn cost and token counts.
    • Parallel sessions, a message queue, interrupts, and permission modes (ask, accept edits, plan, bypass), with approval cards and Web Push notifications so I can approve from my phone.
    • Plans saved as versioned documents, live task lists, and forking or rewinding a conversation with file checkpoints.
    • Dictation and read-aloud.
  • Projects and GitHub:
    • Finds every project in my code folders.
    • Clones repos, and handles git status, diffs, branches, commits, push and pull.
    • Opens, reviews and merges pull requests, and starts chats or plans straight from GitHub issues.
  • Dev processes: launches and stops each project's dev servers from saved run profiles, with live logs. The agent can request a dev server itself (through an MCP tool) to check its own work in a browser.
  • Deploy management:
    • Per-project deploy targets for Railway, Vercel, Cloudflare Pages and Workers, npm packages and Cloudflare Tunnel.
    • Live status, deploy history, logs and one-click redeploy.
    • Uptime checks with latency history.
    • "Drift", meaning how many commits production is behind the main branch.
  • Blue-green deploys of itself:
    • A small zero-dependency supervisor keeps two copies of the app, blue and green, behind a front proxy that a Cloudflare Tunnel points at.
    • A deploy syncs the source, installs, builds and starts the idle copy, health-checks it, and switches the proxy over. The old copy then drains any running agent turns before it stops.
    • Rollback switches back to the previous build without rebuilding. Restarting the supervisor adopts the running copies instead of taking production down.
  • Built-in MCP servers for the agent:
    • Ask the user a question through a modal.
    • Launch dev servers.
    • Set up Railway projects, variables and custom domains, with Cloudflare DNS.
    • Read and write secrets in my env-variable vault. People type secrets into a modal, so they never appear in chat.
  • More:
    • Publishes my component library to GitHub Packages from a Settings page.
    • Generates Claude Code skills, and keeps a prompt library with @-file mentions and a ⌘K search palette.
    • Manages MCP servers, with encrypted secrets, globally or per project.
    • Runs scheduled (cron) agent tasks.
    • Shows a usage dashboard.
    • Takes scheduled MongoDB backups and can restore them with a safety snapshot.
    • Installs as an app (PWA).
  • Safety: agent sessions run with a scrubbed environment so the server's own secrets never leak into a project. In development the server waits for running agent turns to finish before restarting, so I can safely use the tool to build itself.
  • Stack: Express 5, Socket.IO, MongoDB, Zod and the Claude Agent SDK on the server; React 19, Vite, MobX, TanStack Router/Virtual, Shiki and Workbox in the web app. Sign-in goes through @henrylatour/auth.