Repository navigation
Releases
taba v0.2.6
taba v0.2.6
v0.2.6 adds project configuration, interactive services and clearer
borrow diagnostics. See the environment and platform behavior changes below.
- A short form for
taba run.taba run npm run devderives the service
name from the command, waits up to 30 seconds for the port the app listens
on and reports it. Running the same command again reuses the running
service, and a derived name that is already taken by another command is
refused with a--namesuggestion. A single quoted argument is run as a
shell command line. If taba options precede an unquoted command without
--, taba reports the corrected command.tabawith no arguments lists
services. The explicit form is unchanged, except that its JSON reply now
includesdiscovered_ports. - Project services in
taba.toml.taba upstarts the services declared
in the nearesttaba.toml, in file order or the order given, and waits for
each. It stops at the first failure and leaves started services running.
taba downstops the declared services of your scope. There is no restart
on crash, health monitoring or dependency graph. taba run --envand--save.--env KEY=VALUE(repeatable) sets
environment variables for a service; only names and a keyed fingerprint are
kept in state.--savewrites the definition totaba.tomlsotaba up
can start it later. Saved values are plain text intaba.toml, so do not
save secrets. Services no longer inherit the caller'sTABA_AGENT,
TABA_AGENT_PIDorTABA_OUTPUT; set them with--envif a service
needs them.- Interactive dev servers.
taba run -igives a service a
pseudo-terminal held by a small holder process, while output still goes to
the log.flutter runandviteare interactive by default
(--no-interactiveturns this off). Type into a service withiin
taba logs -fortaba ui, or withtaba attach. Scripts can use
taba send(text or--key),taba signal(USR1,USR2,HUP) and
taba reload(Vite dev restart, or Flutter hot reload /--restarton
Linux).taba ps --jsonshows"interactive": true. - Clearer borrow warnings. A shared borrow from the service's own scope
does not protect the service from being stopped or replaced by its owner.
Taking that borrow now reportsW_SAME_SCOPE_BORROW.
W_BORROW_BROKENnow names the borrow, the service and the
taba release IDcommand that cleans it up. In JSON, warnings may carry an
optionaldetailsobject.
Platform limitations
- macOS: no automatic Flutter reload.
taba reloadand
taba reload --restartreturnE_NO_RELOADfor Flutter on macOS without
sending a signal. Usetaba attach S/Nand pressr(hot reload) orR
(hot restart), or runtaba send S/N --key r/--key R. Automatic Flutter
signalling is available on Linux only, for a verifiedflutter runleader. - Windows: no interactive services yet. There is no ConPTY support yet
(#79).taba run -i,
attach,send,reloadandsignalreturnE_UNSUPPORTED, and
flutter run/vitestart as before, without input. To apply changes,
restart the service instead of reloading it. - Wrappers and older records. A wrapper that stays as Flutter's process
leader is not a supported signal target, and Vite preview cannot be
reloaded (E_NO_RELOAD). If such a service has no input, stop it and rerun
it with--interactive.
This release also moves sha2 to 0.11, pins the third-party GitHub Actions
used by CI and the release candidate workflow to commit SHAs, and adds tests
for garbage-collection timing and E_SIGNAL_FAILED.
taba v0.2.5
taba v0.2.5
v0.2.5 is a backward-compatible patch release. Existing commands, flags,
exit codes, JSON fields and the state format remain compatible with v0.2.4.
- State is safer and more recoverable. On macOS and Linux, new state
directories are owner-only (0700) and files are owner-only (0600); an
existing state home that the owner can tighten is corrected when opened.
Writes are flushed before their atomic rename. Empty or unreadable records
are skipped in listings withW_STATE_SKIPPED, are never overwritten, and
can be removed with the force command named in the error. - Contention now has a bounded failure mode. Commands wait up to
TABA_LOCK_TIMEOUTseconds for the global state lock (10 by default) and
then returnE_BUSYwith the recorded holder PID when available.psand
logscontinue to try only once and do not wait behind a writer. - Logs and expiry are easier to inspect.
taba logsaccepts--tail N,
and JSON log output is capped at 16 KiB withbytes_totalandtruncated
so an unexpectedly large log cannot produce unbounded output.taba ps
now exposes a service that is eligible for lazy expiry aspending_gc;
expiry still does not stop a process until a later cleanup. - CLI diagnostics are more useful for scripts. JSON usage errors identify
the argument indetails.argumentsand pointnextat the command's help.
Help text now covers every flag consistently. - Linux process identity survives wall-clock changes. taba keeps a
boot-time cache beneath its state directory and can recover either cache
file from its peer during the same boot.
This release also adds coverage for lock contention, damaged state, lease
transitions and the platform-specific paths above.
taba v0.2.4
taba v0.2.4
A backward-compatible patch on v0.2.3 with two fixes: a stricter agent hook
guard and gentler cleanup. Existing commands, flags, exit codes, JSON fields
and state are unchanged. There is one new optional config key, and one
events.jsonl event gains a new field.
-
The agent hook recognises more ways of writing a stop command
(#28). Before, the
PreToolUse hook for Claude Code and Codex checked only a few exact
spellings, so equivalent commands that targeted another scope's service
could pass without a decision. Nowkill,pkill,killall,fuser -k,
kill-portandlsof … | xargs killget the same ownership check, and the
same denial, in these forms:- run through common wrappers such as
sudo,env,command,nohup
andtimeout, or afterVAR=valueprefixes; - with redirections such as
2>/dev/null; - with signal options;
- with
xargsoptions; - with the
lsofport forms-i :PORT,tcp:PORTand-iTCP:PORT,
comma lists, and-sTCP:LISTEN; - with process IDs taken from
$(lsof -t …)or$(pgrep …).
A
tabacommand that changes services or leases and would run as a
different agent than the session's own now asks for confirmation, as
--forcealready does. That means--agent, orTABA_AGENTset, changed
or cleared within the same command line. On Codex, which has no
confirmation prompt, it is denied and sent to a human. Read-only commands
(whoami,ps,logs) and the session's own identity are unaffected. - run through common wrappers such as
-
Cleanup no longer forces a slow service down after one second
(#30). A new optional
config.tomlkey sets how longgcwaits after its graceful stop request
before forcing a service:stop_timeout = "5s"
The default is
5s, liketaba stop. Explicittaba gcwaits up to that
long. The automatic cleanup insiderunandwhoamistill waits at most
1 s per service, so those commands are not slowed down. A service that
needs longer is left running and is forced only by a later cleanup, once
stop_timeouthas passed since the request. Thegc_dropevent now
records which signal stopped the service:TERM,KILL, ornullif it
had already exited.
Limitations of the hook
The hook is a best-effort check for common Bash commands, not a security
boundary.
- Commands it can't resolve: commands it can't fully parse or resolve
are not blocked. They fall back to the harness's normal permissions and
are recorded ashook_uncheckedinevents.jsonl. This covers shell
variables, scripts,eval,sh -c, and process IDs read from files or
other commands. - Native Windows commands: PowerShell stop commands such as
Stop-Processandtaskkillare not inspected.
taba v0.2.3
taba v0.2.3
A backward-compatible patch on v0.2.2: a new command, update progress and a
fix. Existing commands, flags, exit codes, JSON fields and state are
unchanged.
taba ui(#15,
design in #10), a
keyboard-driven terminal UI in the same binary, for macOS, Linux and
Windows terminals. Every scope is a collapsible tree of its services,
with your scope first and unfolded, refreshed once per second from the
same code astaba ps.↑↓move,←→andSpacefold and unfold
(view only),/filters by scope or service name,lfollows a log like
taba logs -f, andqorCtrl+Cquits; quitting never stops anything.
xstops the selected running service, every service of a selected scope,
or removes an exited service liketaba rm, after a one-key confirmation
(y). It runs the same code astaba stop/taba rmas you, never with
--force, so another scope's service or a borrowed one is refused and
the row shows the CLI's message. The header draws the taba logo in block
characters with the version and a live summary, in 24-bit or 256 colors.
Colors stay quiet and follow your terminal theme: the logo's orange only
in the logo and the(current)mark, a green, yellow or gray status dot,
dim counts and notes, and the selected row as one reverse-video bar
without colors.NO_COLORorTERM=dumbturns colors off. Watching
changes nothing: the UI never renews
your lease. Outside an interactive terminal,taba uiexits with
E_USAGEand points totaba ps --watch --json. See
Terminal UI.taba ps --watch --jsonends when its reader goes away, even while
idle. On macOS and Windows, an idle stream used to keep running after
its reader closed the pipe (for exampletaba ps --watch --json | head -n 1) until the next state change. It now notices within a fraction of a
second on every platform, without writing to the pipe, and exits 0.taba updateshows its progress
(#22). In a terminal it
prints on stderr a#bar with percent and bytes for each archive it
downloads (bytes so far when the size is unknown) and a
Verifying ... ok(orfailed) line per archive. An update downloads
two archives: the running version's, to prove the installed binary is
official, and the new one. Nothing extra is printed with--json, when
stderr is not a terminal, or withTERM=dumb; stdout, the JSON output and
--checkare unchanged. A failed download or Ctrl+C clears the bar line.
The bar is drawn by thetabadoing the update, so it first appears when
updating from v0.2.3 to a later release; updating from v0.2.2 to
v0.2.3 still looks as before.
taba v0.2.2
taba v0.2.2
A backward-compatible patch on v0.2.1. Existing commands, flags, exit codes,
JSON fields and state are unchanged; the additions below are new flags and a
new outcome of an existing status.
taba ps --watch --json(#14)
keeps running and prints thetaba ps --jsondocument as newline-delimited
JSON: one compact line at once, then a new full snapshot line only when a
service's status, port, PID, lease, borrows or claims change, or a service
is added or removed. It re-reads state every second (--interval, at
least250ms), accepts--scopeand--running, and never writes state:
unlikeps, it does not renew the caller's lease. It exits 0 on Ctrl+C
(SIGINT; on Windows also Ctrl+Break) and when its stdout is closed. An
error is printed as one{"ok": false, ...}line and ends the stream with
that error's exit status.--watchneeds--json(or
TABA_OUTPUT=json) for now; without it, taba exits withE_USAGE. It is
meant for other programs, such as editors and orchestrators, and is the
base of the comingtaba ui. See
Watching for changes.taba updateon a version with no GitHub release. A build of a
version that was never released (for examplemainafter a version bump)
used to fail withE_UPDATE_FAILED(HTTP 404) whentaba updatelooked up
its own release. It now reportsmanual_updatewith the reason "The
running version has no matching stable official release." Other failures
are stillE_UPDATE_FAILED, and the binary is never touched.
taba v0.2.1
taba v0.2.1
A backward-compatible patch on v0.2.0 that adds an explicit update command.
Existing commands, flags, exit codes, JSON fields and state are unchanged.
taba update --checkreports whether a newer stable SemVer release
exists on the officialBuchi-dev-dzn/tabaGitHub Releases. It is
read-only. Drafts and prereleases are ignored.taba updatechecks the same way. On Linux and macOS (x86_64 and
arm64) it replaces the binary only when the runningtabais
byte-identical to the official archive for its own version and passes the
ownership, permission and location checks. It verifies the new archive
against the release'sSHA256SUMSand its expected layout (ELF on Linux,
single-arch Mach-O on macOS) and swaps the file with one atomic rename. On
failure, the old binary stays in place. Running services are not
restarted; the nexttabacommand uses the new version.- macOS: the new binary loses any
com.apple.quarantineattribute, then
must answer--versionwith the new version after the swap; otherwise
(including a code-signing kill) the old file is renamed back. - Manual upgrade elsewhere. Cargo or source builds and package-manager
installs (including Homebrew) get amanual_updatereport with the release
link. On
Windows,taba updateis check-only because taba does not replace its own
running.exe. - New error code
E_UPDATE_FAILED(exit 1) is used only by
taba update.
taba never checks for updates in the background. SHA256SUMS is published
with the archives in the same release, so it detects corrupted or mismatched
downloads but is not an independent signature. See
Updating.
taba v0.2.0
taba v0.2.0
Run local dev servers, watchers and databases outside the agent's terminal,
with explicit ownership and a record of what's running and where.
- Worktree ownership:
whoamiresolves a scope;run --port auto --wait
selects a port and waits for readiness. Cross-scope stop and removal require
an audited override. Taba never stops an unmanaged listener through its CLI. - Discovery and scripting: commands support JSON;
ps --alllists visible
TCP listeners without mutating them.ps --jsonnow uses aservicesfield
in an object instead of returning a bare array. - Agent leases and sharing: renew or end leases, collect expired services,
queue a claim, borrow a service instance, or hand it off without restarting. - Optional agent hooks: Claude Code lifecycle hooks and shell checks for
Claude Code and Codex. Claude Code asks for confirmation on recognized forced
commands; Codex denies them because its hook does not supportask. Hooks
are best-effort checks, not a sandbox or an authorization boundary. - Platforms: macOS (Apple Silicon and Intel), Windows x86_64, and Linux
x86_64 and arm64. Windows uses Job Objects and reports the actual stop action
separately from the stable JSONsignalfield. Windows and WSL hold separate
process inventories and state.
Existing service records remain readable. Automation consuming the old
ps --json array must switch to .services; see the command reference.
See installation for the GitHub archives, SHA-256
verification, and the source install pinned to v0.2.0. No registry package is
part of this release. Linux builds use the GNU ABI and are built on Ubuntu
22.04 (x86_64) and 24.04 (arm64).
For candidate verification, use the taba-candidate-<commit> artifact from
Release candidate
on main. It includes all archives, SHA256SUMS, and COMMIT; verify that
COMMIT equals the intended release commit and check every archive against
SHA256SUMS. Pull request artifacts exercise packaging but are not release
assets. To rerun packaging while the candidate commit is at the tip of main:
gh workflow run candidate.yml --ref main -f expected_commit=FULL_COMMIT_SHAThe workflow can only read repository contents and upload Actions artifacts;
publication is a separate, owner-controlled step.
The automated hook tests replay tool payloads and check that services keep
running. In a disposable Windows workspace, Claude Code reported a successful
SessionStart hook, but the session exited before the whoami identity and
SessionEnd could be verified. The bounded Codex smoke attempt timed out under
its existing trust and approval settings; live dispatch is unverified.