Skip to content

Releases

taba v0.2.6

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 27 Nov 02:10
3f5f3f6

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 dev derives 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 --name suggestion. A single quoted argument is run as a
    shell command line. If taba options precede an unquoted command without
    --, taba reports the corrected command. taba with no arguments lists
    services. The explicit form is unchanged, except that its JSON reply now
    includes discovered_ports.
  • Project services in taba.toml. taba up starts the services declared
    in the nearest taba.toml, in file order or the order given, and waits for
    each. It stops at the first failure and leaves started services running.
    taba down stops the declared services of your scope. There is no restart
    on crash, health monitoring or dependency graph.
  • taba run --env and --save. --env KEY=VALUE (repeatable) sets
    environment variables for a service; only names and a keyed fingerprint are
    kept in state. --save writes the definition to taba.toml so taba up
    can start it later. Saved values are plain text in taba.toml, so do not
    save secrets. Services no longer inherit the caller's TABA_AGENT,
    TABA_AGENT_PID or TABA_OUTPUT; set them with --env if a service
    needs them.
  • Interactive dev servers. taba run -i gives a service a
    pseudo-terminal held by a small holder process, while output still goes to
    the log. flutter run and vite are interactive by default
    (--no-interactive turns this off). Type into a service with i in
    taba logs -f or taba ui, or with taba attach. Scripts can use
    taba send (text or --key), taba signal (USR1, USR2, HUP) and
    taba reload (Vite dev restart, or Flutter hot reload / --restart on
    Linux). taba ps --json shows "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 reports W_SAME_SCOPE_BORROW.
    W_BORROW_BROKEN now names the borrow, the service and the
    taba release ID command that cleans it up. In JSON, warnings may carry an
    optional details object.

Platform limitations

  • macOS: no automatic Flutter reload. taba reload and
    taba reload --restart return E_NO_RELOAD for Flutter on macOS without
    sending a signal. Use taba attach S/N and press r (hot reload) or R
    (hot restart), or run taba send S/N --key r / --key R. Automatic Flutter
    signalling is available on Linux only, for a verified flutter run leader.
  • Windows: no interactive services yet. There is no ConPTY support yet
    (#79). taba run -i,
    attach, send, reload and signal return E_UNSUPPORTED, and
    flutter run / vite start 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

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 26 Nov 00:06
6e8071e

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 with W_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_TIMEOUT seconds for the global state lock (10 by default) and
    then return E_BUSY with the recorded holder PID when available. ps and
    logs continue to try only once and do not wait behind a writer.
  • Logs and expiry are easier to inspect. taba logs accepts --tail N,
    and JSON log output is capped at 16 KiB with bytes_total and truncated
    so an unexpectedly large log cannot produce unbounded output. taba ps
    now exposes a service that is eligible for lazy expiry as pending_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 in details.arguments and point next at 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

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 25 Nov 15:00
8be9d53

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. Now kill, pkill, killall, fuser -k,
    kill-port and lsof … | xargs kill get the same ownership check, and the
    same denial, in these forms:

    • run through common wrappers such as sudo, env, command, nohup
      and timeout, or after VAR=value prefixes;
    • with redirections such as 2>/dev/null;
    • with signal options;
    • with xargs options;
    • with the lsof port forms -i :PORT, tcp:PORT and -iTCP:PORT,
      comma lists, and -sTCP:LISTEN;
    • with process IDs taken from $(lsof -t …) or $(pgrep …).

    A taba command that changes services or leases and would run as a
    different agent than the session's own now asks for confirmation, as
    --force already does. That means --agent, or TABA_AGENT set, 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.

  • Cleanup no longer forces a slow service down after one second
    (#30). A new optional
    config.toml key sets how long gc waits after its graceful stop request
    before forcing a service:

    stop_timeout = "5s"

    The default is 5s, like taba stop. Explicit taba gc waits up to that
    long. The automatic cleanup inside run and whoami still 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_timeout has passed since the request. The gc_drop event now
    records which signal stopped the service: TERM, KILL, or null if 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 as hook_unchecked in events.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-Process and taskkill are not inspected.

taba v0.2.3

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 25 Nov 02:35
265d32f

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 as taba ps. ↑ ↓ move, ← → and Space fold and unfold
    (view only), / filters by scope or service name, l follows a log like
    taba logs -f, and q or Ctrl+C quits; quitting never stops anything.
    x stops the selected running service, every service of a selected scope,
    or removes an exited service like taba rm, after a one-key confirmation
    (y). It runs the same code as taba stop / taba rm as 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_COLOR or TERM=dumb turns colors off. Watching
    changes nothing: the UI never renews
    your lease. Outside an interactive terminal, taba ui exits with
    E_USAGE and points to taba ps --watch --json. See
    Terminal UI.
  • taba ps --watch --json ends 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 example taba 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 update shows 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 (or failed) 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 with TERM=dumb; stdout, the JSON output and
    --check are unchanged. A failed download or Ctrl+C clears the bar line.
    The bar is drawn by the taba doing 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

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 25 Nov 01:29
a5a7f3b

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 the taba ps --json document 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
    least 250ms), accepts --scope and --running, and never writes state:
    unlike ps, 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. --watch needs --json (or
    TABA_OUTPUT=json) for now; without it, taba exits with E_USAGE. It is
    meant for other programs, such as editors and orchestrators, and is the
    base of the coming taba ui. See
    Watching for changes.
  • taba update on a version with no GitHub release. A build of a
    version that was never released (for example main after a version bump)
    used to fail with E_UPDATE_FAILED (HTTP 404) when taba update looked up
    its own release. It now reports manual_update with the reason "The
    running version has no matching stable official release." Other failures
    are still E_UPDATE_FAILED, and the binary is never touched.

taba v0.2.1

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 24 Nov 17:48
1f412b0

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 --check reports whether a newer stable SemVer release
    exists on the official Buchi-dev-dzn/taba GitHub Releases. It is
    read-only. Drafts and prereleases are ignored.
  • taba update checks the same way. On Linux and macOS (x86_64 and
    arm64) it replaces the binary only when the running taba is
    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's SHA256SUMS and 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 next taba command uses the new version.
  • macOS: the new binary loses any com.apple.quarantine attribute, then
    must answer --version with 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 a manual_update report with the release
    link. On
    Windows, taba update is 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

Choose a tag to compare

@Buchi-dev-dzn Buchi-dev-dzn released this 24 Nov 16:01
0602a49

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: whoami resolves 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 --all lists visible
    TCP listeners without mutating them. ps --json now uses a services field
    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 support ask. 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 JSON signal field. 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_SHA

The 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.