Repository navigation
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.