One place on your machine for everything you are running to review: dev servers, static-site folders, GUI sessions, and CLI runs.
If it runs, it can dock here.
Report Bug
·
Request Feature
|
Important
|
Rundock is in early development.
The engine, CLI, and client library (Phase 0) and the desktop app with its Windows installer (Phase 1) build from source; see |
Rundock is for developers who review work on localhost, and for the coding agents that start that work.
When an agent works locally instead of pushing a preview branch, review moves to your machine.
After a few sessions you have a pile of node.exe processes, two copies of the same site on different ports, a static-site output folder you opened from disk, and a CLI you can only test by remembering which folder to cd into and which command to type.
Rundock keeps one machine-wide list of those things, says which project, variant, and branch each one belongs to, and lets you and your agents reuse what is already running instead of starting another copy.
-
Cards for anything you run. A card is one named thing: a dev server, an output folder served with live reload, a GUI app session, or a one-shot CLI run you can re-run with one click.
-
Declared identity. Each card knows its project, variant (for example
solidvsnextjs), name, and git worktree (path, branch, HEAD, dirty state), so two variants of one project never look like the same thing. -
Reuse instead of duplicate.
rundock ensurereturns the running server for a branch if there is one, wakes it if it is asleep, and only starts a new one when nothing matches. It never switches the branch of a checkout that someone else is using. -
Subscribers you can see. Every agent chat that uses a card is recorded with a
connectedordisconnectedstatus. The list is kept until you destroy the card. When nobody is connected, the card moves to an Unused section; nothing is killed for you. -
Push hand-off back to an agent. Clicking Push offers a push lock to the most recently active connected chat first, then the next one, so the chat with the context and the conflict-handling rules does the push.
-
Clean teardown. Each card’s process tree runs in a Windows Job Object (or a POSIX process group), so stopping a
pnpm → node → esbuildchain stops all of it.
Build from source with LDC and DUB.
Output coloring uses shell-colorizer from a sibling checkout at ../../dlang-supplemental/shell-colorizer (the hive layout: <code root>/github.com/dlang-supplemental/shell-colorizer):
dub build dub test
On Windows the binary is rundock.exe in the repo folder.
The engine starts on the first command and exits on its own when nothing is running.
# An agent asks for the dev server on its branch (reused if it is already running)
rundock ensure --project FTN --variant solid --branch fix-nav --as harness:chat-42 -- pnpm dev --port {port}
# Serve a static-site output folder with live reload
rundock folder build/site --live-reload
# Run a CLI once, keep how you ran it, and wait for the result
rundock run --name smoke --wait -- dub run -- --version
# See everything, with Unused at the bottom
rundock status
# Hand a push to the most recently active connected chat
rundock push request "server 1"
rundock ? lists every command.
Using Rundock from an agent is the short guide for coding agents, and Local API v1 is the contract for UIs and libraries.
Rundock is a headless engine with thin clients. Closing a client never stops what is running.
| Part | Role |
|---|---|
|
Headless D daemon. Owns the session file and event log, launches and stops processes, and keeps cards across restarts. |
|
D library. Talks to the engine over a named pipe on Windows or a Unix domain socket elsewhere, so tools such as DevCentr use Rundock without shelling out to the CLI. |
|
For people and agents: |
Local HTTP + SSE API |
|
Rundock desktop |
Tauri v2 app ( |
Projects can declare their cards in a rundock { } block inside .devcentr.sdl (see the example).
CLI flags work without it.
To use the engine from D, depend on rundock:client:
import rundock.client;
import std.json : parseJSON;
auto rd = RundockClient.connectOrStart("rundock");
auto result = rd.ensure(parseJSON(`{"project":"FTN","branch":"fix-nav","as":"devcentr:grid","command":["pnpm","dev","--port","{port}"],"cwd":"Z:/code/FTN-solid"}`));-
Platonic Protocol — platform self-description, planned for Rundock’s Install DevCentr flow
-
DevCentr — the developer workspace that will show Rundock cards in its project grid
MIT. Copyright (c) 2026 DevCentr. See LICENSE.
Open an issue at github.com/dev-centr/rundock/issues.