Repository navigation
Releases
Releases · ryancole/brady-bunch
v0.8.0
Fixed
brady-ctl upcould keep a caller that reads its output to end-of-file ($out = brady-ctl up ...,| Tee-Object, .NET'sRedirectStandardOutput) waiting until the host exited. The host it starts no longer inherits any ofup's handles, including onesupitself inherited from its caller; it gets exactly NUL for stdin and stdout, and a pipe back toupfor its startup errors.
Changed
- Skipping a task (
--skip build, or a profile'sskip) no longer removes it from the host: it showsskipped, isn't run at startup, andbrady-ctl run buildstill runs it. Apps don't wait for it. Skipping an app still leaves it out. brady-ctl upagainst a host already running the config with other apps no longer refuses (exit 3). It starts the apps the new selection adds, leaves the ones both share running, and with--exactstops the ones it leaves out. Tasks aren't rerun: a task skipped when the host started stays skipped, andupsays tobrady-ctl runit. Launchingbrady-bunch.exefor a running config with another selection adds its apps the same way, then brings the window to the front. Status shows the latest selection.
Added
- Per-app
running_if = { process = "WhatInBoxWorkerService" }(or{ tcp = 8000 },{ http = "https://localhost:8000" }): how to tell the app is already running elsewhere, so it isn't launched and showsalready running, independent of itsreadycheck.processmatches an image name (.exeoptional) or, with a path, that executable; processes this host started don't count.skip_if_readystill works as before for apps without it. - Per-task
skip_if_running = ["web"]: don't run the task when one of these apps is found already running elsewhere (by itsrunning_if, orskip_if_readycheck), e.g.npm installwhile another dev server usesnode_modules. The task showsskippedwith the reason. Apps this host runs itself don't count;stopshandles those.
v0.7.1
Fixed
- Console apps no longer flash on the desktop and in the taskbar as they start. Their console window was created visible and only embedded at the next poll; it is now created hidden and shown once it's in its tile. GUI apps still can show briefly (see Limitations in the README).
- Paths from the config are shown resolved:
event_logand each app'sloginbrady-ctl status,cwdandloginbrady-ctl checkand error messages, and the config path in the event log now readC:\repo\.brady\events.lograther thanC:\repo\etc\brady\..\..\.brady\events.log. The.and..parts are resolved by the text alone, so the paths needn't exist yet. A config path given tobrady-ctlfinds its host however it is written: relative, absolute or with..parts. brady-ctl run <task>listed the restarted apps in the order it stopped them (dependents first):restarted functions, worker, api. It now lists them in the order they start again,restarted api, worker, functions, also on failure.
v0.7.0
Fixed
- Non-ASCII output of apps with
logorready.logwas garbled in the console (and inbrady-ctl tail): brady-shim passed the bytes on to a console that read them in its OEM code page, so rspack's➜showed asΓ₧£. brady-shim now decodes the output and writes it to the console as text, and sets the console to UTF-8 so .NET and cmd write UTF-8 too. Thelogfile is always UTF-8, and aready.logregex can match non-ASCII text, including a character split between two reads. brady-ctl run <task>printed the task's dependencies and the restarted apps asready: ..., listing apps it hadn't touched. It now says what it did:build: done (8.4s); restarted api, worker, functions; ready (14.8s), and on failure, what failed and which apps are left waiting.
Added
- Per-app
encoding = "utf-8" | "oem" | "ansi"(defaultutf-8): what an app with copied output writes. In UTF-8 mode, bytes that aren't valid UTF-8 are read in the ANSI code page. healthcan name its own check:health = { http = "https://localhost:8000" }or{ tcp = 8000 }, for apps whosereadycheck is alogregex. Without one, it reuses thereadycheck as before.path_prepend = ['dir', ...]andpath_append(per app, per task and in[defaults]): folders added to the app's PATH afterenv, skipping ones that don't exist. Relative to the config file. The exe lookup uses them too.brady-ctl events [config|pid] [--lines N] [--app name]prints the end of the event log, optionally only one app's lines. Given the config, it also works after the host has exited.brady-ctl statushas theevent_logpath (each app'slogwas already there, absolute).install.ps1 -Config <path>installs what the config'smin_versionneeds: nothing (without going online) if the installed version meets it, else the latest release.- When a config's
min_versionisn't met, the error includes the command that installs that version.
Changed
event_loglines, and the----lines inlogfiles, have the local time with its UTC offset (2026-11-25 19:02:36.893-06:00), so they can be matched againstbrady-ctl statustimes, which are UTC. Theloglines now also have milliseconds.
v0.6.0
Added
brady-ctl up [config]checks the config, startsbrady-bunch.exefor it unless one is already running, and returns once every task is done and every app is ready. If a task or app fails or exits, or--timeout(default 300s) passes, it exits with code 4, prints the status JSON and names the app and the reason. Takes--profile,--onlyand--skip.brady-ctl down [config|pid]shuts the host down gracefully and returns once it has exited, printing how each app was stopped. Exits with code 4 if an app had to be killed.brady-ctl wait <app>returns once that app is ready, e.g. afterrestart.brady-ctl run <task>reruns a task after startup, such as a build. The apps in the task's newstopskey, and any given with--stop, are stopped first (dependents first), so they don't lock the files it writes, and start again once it succeeds. If it fails, they wait for it, and start once it is rerun successfully.[profiles]in the config, e.g.webdev = { skip = ["worker"] }, used as--profile webdev. Profiles combine with each other and with--only/--skip.brady-ctl statusshows the active ones.min_version = "0.6.0"in the config: an older brady-bunch refuses it with a message saying to update. Unknown-key errors now also say which version is running.brady-ctl --versionandbrady-bunch.exe --version, andversioninbrady-ctl status.brady-ctl check [config](andbrady-bunch.exe --check) validates a config without launching anything, including whether each app's exe andcwdcan be found as a launch would look them up. Problems are printed one per line with the config line number; on success it prints the tasks, apps and start order. Config errors about an entry now also give its line.--no-dialog:brady-bunch.exereports a fatal error on stderr and in the event log and exits with code 1, instead of showing a message box.brady-ctl uppasses it, and prints the error if the host exits before starting.- Launching
brady-bunch.exefor a config that a host is already running brings that host's window to the front and exits, instead of starting a second host.--new-instancestarts one anyway. keep_logs(default 1): when the host starts, the previousevent_logand applogfiles are kept asname.1.log,name.2.logand so on.brady-ctl statushas timestamps (UTC, ISO 8601): the host'sstarted_atandnow, and per applaunched_at,ready_at,exited_atanduptime_ms.- Per-app
health = { interval_ms = 10000, failures = 3 }keeps running the app'stcp/httpreadycheck after startup. After that many failures in a row the app showsunhealthyin its tile and instatus("healthy": false, with a reason) until a check passes. Changes go to the event log. - A crashed app (non-zero exit or failed launch, not a stop) gets a red tile header until it's launched again, and the taskbar button flashes until the window is activated.
flash_on_crash = falseturns off the flashing.statusshowscrashed. - The window's position, size, maximized state and zoomed tile are saved per config in
%LOCALAPPDATA%\brady-bunch\layoutsand restored on the next start, falling back to the default placement if that monitor is gone.remember_layout = falseturns this off. install.ps1, published with each release: installs or updates brady-bunch into%LOCALAPPDATA%\Programs\brady-bunchafter checking the release's SHA-256, and adds that folder to the user PATH. It refuses while brady-bunch is running from there.
v0.5.1
Fixed
- Apps waiting on a dependency started up to 4s after it was ready. Windows takes about 2s to refuse a connection to a closed port, and
localhostis tried on both::1and127.0.0.1, so a failedhttpcheck (orskip_if_readycheck) took about 4s, and atcpcheck about 1s. Checks against a closed local port now fail in about 200ms. - A batch wrapper such as
solr.cmdthat stopped on Ctrl+C, leavingcmd.exeatTerminate batch job (Y/N)?, was logged asstopped by close. It's nowstopped by ctrl-c, and the log says the leftover prompt was closed.
v0.5.0
Added
depends_on = ["app", ...]holds an app until those apps are ready. Waiting tiles showwaiting for <app>…, and say why if the dependency is stuck.ready = { tcp = port },{ http = "url" }or{ log = 'regex' }, with optionaltimeout_ms, says when an app counts as ready. HTTP checks accept any response below 500 and ignore certificate errors.skip_if_ready = true: an app whosereadycheck already passes isn't launched, and showsalready running.[[task]]entries: setup steps (builds, installs) that run one at a time, each to completion, before any app starts. A failed task stops startup and stays on screen with its output.[defaults]table: per-app keys shared by every[[app]].--only a,band--skip a,bon the command line pick which apps to run from one config.--onlybrings in the apps they depend on.%VAR%incommand,cwd,envvalues,log,urlandreadyis expanded from the app'senvand the host's environment, e.g.env = { PATH = 'C:\tools;%PATH%' }.brady-ctl.exe, a console program for controlling a running host:statusprints every app's state, readiness, exit code and the reason it's waiting or failed as JSON;start,stopandrestartact on one app;tailprints an app's console text.brady-bunch.exeaccepts the same commands as--statusetc.- Per-app
log = 'path'copies the app's console output to a file while it still shows in the tile. - Top-level
event_log = 'path'records launches, exits, readiness, restarts, and each shutdown step with which step stopped each app and how long it took.brady-ctl statusshows the same aslast_stop. - Per-app
url: a link in the tile header that opens in the browser. - Per-app
quick_edit = trueto keep the console's QuickEdit mode.
Fixed
- Commands with nested quotes, such as
cmd /c ""%TOOL%" --flag"with a path containing spaces, failed to start:conhost.exere-parses its command line and dropped the inner quotes. Console apps now start throughbrady-shim.exe, which runs the command line exactly as written. - Clicking a console tile could freeze its app: with QuickEdit on, the click started a text selection that blocked the app's next console write. QuickEdit is now off in embedded consoles.
- An app's exe is looked up on the PATH from its own
env, and relative to its owncwd. A missing exe now showsfailed: <name> not foundinstead of a launch error from conhost.
Changed
- Console apps keep their console open after they exit, showing their last output and exit code. Press Enter in it to run the app again.
- Shutdown stops each app after the apps that depend on it, otherwise in reverse config order as before.
- Release zips include
brady-shim.exeandbrady-ctl.exe, which must stay next tobrady-bunch.exe.
v0.4.0
Added
- Per-app
envtable: extra environment variables for the app. - Per-app
exit_with = "main": the app counts as exited when its launched process exits, and anything it left running is killed. Fixes undetected exits and slow shutdown fordotnet run, whose build servers otherwise keep the app counted as alive. - Clicking inside a tile gives that app keyboard focus, and its header is highlighted. Focus returns to that tile when the host window is reactivated.
- .NET and Java (Solr) sections in
AGENTS.md.
Fixed
- Typing into embedded console apps. Clicking a tile left keyboard focus on the host window, so prompts such as
Console.ReadLinenever received input.
Changed
- Tiles have a 10px margin from the window edges and an 8px gap between them (scaled for DPI), instead of 4px.
- A relative
cwdis relative to the config file's folder, not the host's working directory. - After Ctrl+C, an app whose only remaining processes are
cmd.exeandconhost.exemoves straight to closing its console. Batch wrappers such assolr.cmd, left atTerminate batch job (Y/N)?, and plaincmdshells no longer wait out the full shutdown timeout.
v0.3.0
Added
restart = "on-failure" | "always"relaunches an app after it exits on its own, waitingrestart_delay_ms(default 1000) first. The delay doubles, up to 30s, while the app keeps exiting within 10s of starting.- Clicking the body of an exited or failed tile restarts that app.
- Double-clicking a tile's header zooms it to fill the window; double-click again to return to the grid.
Fixed
- Console apps show their own exit code instead of
conhost.exe's, which was always 0.
v0.2.1
Added
AGENTS.mdin release zips: a usage guide for AI agents covering the command line, the config reference, shutdown behaviour and common pitfalls.
v0.2.0
Changed
- Shutdown stops apps one at a time in reverse config order, waiting for each to exit before the next, instead of all at once. Tiles waiting their turn show "waiting to stop…".