Skip to content
Buchi-dev-dznPublic

About

Ownership for your localhost: run, share and hand off dev servers safely across AI coding agents (macOS).

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

96 Commits

Folders and files

Repository files navigation

taba

Bundle what you start, per task.

platform: macOS | Linux | Windows license: MIT language: Rust status: prototype

taba starts, lists and stops local processes such as dev servers, grouped by the task they belong to. It gives you Docker-style run / ps / logs / stop / rm without containers. It's one binary, with no daemon; an optional local $TABA_HOME/config.toml controls lease and cleanup timing.

taba ps showing three services in two scopes, login-fix and billing

The problem

When you work with AI coding agents and several terminals, localhost ports pile up. One task alone can leave three servers running. A few hours later, nobody knows what is on :5173, which checkout it runs from, or whether it is safe to kill. taba records the owner (a scope: by default the git worktree you run it in) when a process starts, so anyone can later see what belongs to which task, and only that task can stop its processes.

Install

Download an archive and SHA256SUMS from GitHub Releases. Pick the archive for your OS and CPU:

Platform v0.2.6 archive
macOS Apple Silicon taba-v0.2.6-aarch64-apple-darwin.tar.gz
macOS Intel taba-v0.2.6-x86_64-apple-darwin.tar.gz
Windows x86_64 taba-v0.2.6-x86_64-pc-windows-msvc.zip
Linux x86_64 (GNU/glibc) taba-v0.2.6-x86_64-unknown-linux-gnu.tar.gz
Linux arm64 (GNU/glibc) taba-v0.2.6-aarch64-unknown-linux-gnu.tar.gz

Compare the archive's SHA-256 with the matching line in SHA256SUMS: use shasum -a 256 FILE on macOS, sha256sum FILE on Linux, or Get-FileHash FILE -Algorithm SHA256 in PowerShell. Extract the archive, put taba (taba.exe on Windows) somewhere on PATH, and run taba --version. Linux binaries are built on Ubuntu 22.04 (x86_64) and 24.04 (arm64); use a source build if your system has an older glibc or uses musl.

Releases follow docs/releasing.md: fixes and backward-compatible additions ship as 0.2.x patches, and only breaking changes bump the minor version.

To build the released version from Git with Rust and Cargo:

cargo install --locked --git https://github.com/Buchi-dev-dzn/taba.git --tag v0.2.6 taba

The pinned command requires the published v0.2.6 tag. To build a local checkout instead:

git clone https://github.com/Buchi-dev-dzn/taba.git
cd taba
cargo install --locked --path .

Updating

taba update --check asks the official GitHub Releases of Buchi-dev-dzn/taba whether a newer stable version exists, and changes nothing. taba update does the same and, only where it can prove the install is an official standalone archive install, replaces the binary. taba never checks for updates on its own, and both commands leave services and state alone.

When you run taba update in a terminal, it shows its progress on stderr: a bar for each archive it downloads (bytes so far when the size is unknown) and one line per verification with its result:

Downloading taba-v0.2.6-aarch64-apple-darwin.tar.gz
[##################------------]  61%  2.1/3.4 MB
Verifying taba-v0.2.6-aarch64-apple-darwin.tar.gz (SHA256SUMS, archive contents) ... ok

It also downloads and verifies the archive of the version you run, to prove the installed binary is official. With --json, when stderr is not a terminal (pipes, CI, agents) or with TERM=dumb, nothing extra is printed; stdout and the JSON output are the same either way. --check downloads nothing and shows no progress. The bar comes from the taba doing the update, so it first appears when updating from v0.2.3.

  • What counts as newer: the highest stable SemVer release strictly above the running version. Drafts, GitHub prereleases and SemVer prereleases such as v0.3.0-rc.1 are ignored.
  • Where it downloads from: the GitHub API and github.com/Buchi-dev-dzn/taba/releases/download/..., with one redirect allowed only to GitHub's release-asset hosts. Proxy settings are not used. Metadata, SHA256SUMS and archives have fixed size limits, and so does decompression.
  • What is checked: the archive for the running build's target triple (the names in the table above) must be listed exactly once in that release's SHA256SUMS and match it. It must contain exactly taba, LICENSE and README.md as regular files with plain names, and taba must be an executable for the expected OS and CPU (ELF on Linux, a single-arch Mach-O on macOS). The downloaded binary is not run before it passes these checks.
  • When it replaces the binary (Linux and macOS, x86_64 and arm64): the running taba must be byte-identical to the taba in the official archive of the running version, verified the same way. It and its directory must be owned by you (taba must not run as root). The binary must have no other hard links, neither may be group- or world-writable, and it must not live under a package manager, Cargo (~/.cargo/bin), Homebrew, MacPorts, Nix, Snap, a version manager, a macOS system or application folder (/System, /Library, /Applications) or a target/ build directory. On macOS a symlinked taba is resolved first, so the real file is checked and replaced. The new file is written next to the old one, synced, and renamed over it atomically. Until that rename succeeds the old binary is untouched, and a concurrent taba update is refused. Running services keep running; the next taba command uses the new version. If the rename succeeds, there is no copy of the old version to roll back to: download it again from GitHub Releases.
  • macOS extras: the new file is a fresh file, never an in-place overwrite, so its code signature is checked as new. Any com.apple.quarantine attribute is removed from the new, verified binary only. After the rename, taba runs the new binary with --version and requires taba <new version>. If it fails, for example because macOS kills it for an invalid code signature, the old file is renamed back and taba update fails with E_UPDATE_FAILED.
  • Everywhere else, taba update only reports the new version and points you to a manual upgrade (status manual_update). That covers Cargo and source builds (cargo install ... again), including a build of a version that has no GitHub release yet, and package-manager installs (Homebrew included). On Windows, taba update is check-only: taba does not replace its own running .exe. To upgrade on Windows, wait for running taba commands to finish, then replace taba.exe with the one from the verified archive. Running services do not use taba.exe.

SHA256SUMS comes from the same GitHub release as the archive. It detects corrupted or swapped downloads, but it is not an independent signature: anyone who can change the release can change both. taba relies on HTTPS to GitHub and on the security of the repository for authenticity.

Quick start

Start a dev server with the command you already use. run returns once the server listens, and the process keeps running after you close the terminal:

$ taba run npm run dev
started dev → http://localhost:5173
  command: npm run dev
  name "dev" (from "npm run dev"; set another with --name)
  logs: taba logs dev · stop: taba stop dev
  • The name comes from the command: npm|pnpm|yarn|bun run X and pnpm X give X, flutter run -d D gives flutter-D, and anything else gives the program's name (vite, python3). taba prints where the name came from; --name sets another one.

  • The port is the one the app chose. taba sets no port; it watches the service's processes for up to 30 seconds (--wait=SECS changes that) and reports the first port they listen on, as ps --all sees it. If none shows up in time, run still succeeds and says so: started dev, running, no port yet (see: taba logs dev).

  • Running the same command again in the same directory reuses the running server instead of starting a copy:

    $ taba run npm run dev
    already running: dev → http://localhost:5173
      command: npm run dev
      name "dev" (from "npm run dev"; set another with --name)
      logs: taba logs dev · stop: taba stop dev

    If the name is already taken in this worktree by another command or another directory (two packages that both have npm run dev), taba starts nothing, shows both commands and suggests --name.

  • taba on its own lists services, like taba ps.

  • Several services for one project? Declare them once in taba.toml and start them all with taba up (stop them with taba down); see Project services.

Writing the command

taba run npm run dev -- --host                    # 1. no taba options: all of it is the command
taba run "npm run dev -- --open" --name web       # 2. a quoted command, taba options after it...
taba run --name web "npm run dev && npm run e2e"  #    ... or before it; the shell runs it
taba run --name web -- npm run dev -- --open      # 3. taba options, then --, then the command
  1. No taba options: everything after run is the command, with its own options and its own --. Above, npm gets run dev -- --host. An option named like a taba flag still goes to the command: in taba run node server.js --port 4000 --json, node gets both.
  2. A quoted command (one argument with spaces) is a command line, run by the shell (/bin/sh -c; cmd /C on Windows), so &&, | and > work as typed. taba's options may come before or after the quotes. Anything else outside the quotes is refused with the fix: --open is not a taba option; if it is for your command, put it inside the quotes: taba run "npm run dev -- --open" --name web.
  3. taba options and an unquoted command need -- between them. After it the command is passed on untouched; any later -- is the command's.
  4. Forgetting that -- (taba run --name web npm run dev) is an error that shows the corrected command. In a terminal (without --json or TABA_AGENT), taba asks Run it? [Y/n] and runs it on Enter.

taba prints the command it understood (command: ..., with (via sh) for a quoted one) whenever it starts or finds a service. Quote only for the shell's sake: values with spaces, and &&, | or >. In fish, quote '{port}'.

Pin the port, as agents and scripts do. The explicit form names the service and asks taba for a port. It adds no defaults: it waits only with --wait, and JSON output stays the same apart from a discovered_ports field:

# Inside a git worktree, the worktree is the scope: no --scope needed.
taba run --name web --port auto --wait -- npm run dev -- --port {port} --strictPort
# started login-fix-3f9a/web → http://localhost:4100
#   ...
#   ready tcp check passed in 840 ms

# Or name the scope and the port yourself.
taba run --scope login-fix --name web --port 5173 -- npm run dev -- --port {port} --strictPort

taba run starting services in two checkouts, then re-running one

  • --port auto picks the lowest free port in 4100–4999 (--port auto:5173 starts the search at 5173). The choice is recorded before taba lets go of its lock, so parallel runs never get the same port.
  • taba hands the port to the app in two ways: it replaces every {port} in the command, and it sets PORT in the app's environment. With --port auto and no {port} in the command, taba warns that the app may ignore PORT.
  • --wait[=SECS] (default 30 s) returns only once the service is ready: its port accepts connections (--ready tcp, the default), an HTTP request answers below 500 (--ready http:/health), or a log line matches (--ready 'log:listening on'). If the process exits first, run fails with the end of its log. If the time runs out, run fails and leaves the process running, so you can read its log.

What taba run does. It wraps the command you already use, such as npm run dev. It starts it detached in its own process group, records the scope, name, directory and port, sends stdout and stderr to a log file, and gives you the prompt back. The server itself runs unchanged.

npm run dev taba run npm run dev
Terminal busy until you press Ctrl-C free again right away
Close the terminal the server stops the server keeps running
Output in that terminal only in a log file, taba logs from any terminal
Later find it with ps / lsof taba ps shows task, URL and directory

Check where you are. taba whoami prints the scope taba would use here and where it comes from (--scope, $TABA_SCOPE, or the git worktree), the branch, and the scope's services:

taba whoami          # scope login-fix-3f9a (from git), worktree, branch, agent, services

See what is running, across every scope or for a single one:

taba ps                     # SERVICE / STATUS / URL / DIRECTORY (running and exited)
taba ps --running           # running services only
taba ps --scope billing     # one scope only
taba ps --json              # every field with absolute paths, for scripts and agents
taba ps --watch --json      # keep running: one JSON snapshot per line, on every change

ps --watch --json is a stream for other programs (editors, dashboards, orchestrators): see Watching for changes.

Port conflicts are reported before anything starts. If the port is in use, taba names the owner (with its command line, for a process taba didn't start), starts nothing, and suggests --port auto. It never offers to kill the holder:

taba run refusing ports held by another taba service and by an unmanaged process

Read logs. stdout and stderr go to one log file per service:

taba logs billing/web                       # print the whole log
taba logs billing/web --tail 100 --json     # read recent lines as JSON
taba logs billing/web --tail 20 -f          # show recent lines, then follow until exit

JSON returns up to the last 16 KiB of log data, even with --tail. The byte limit can start the output mid-line. bytes_total reports the log's original size in bytes, and truncated is true whenever the line or byte limit omits earlier data. Use --tail 0 -f to follow only new output.

taba logs printing a service's log

Stop one service, or a whole task at once. Services in other scopes keep running:

taba stop web                 # in the service's worktree (or with $TABA_SCOPE)
taba stop --scope billing     # every service of scope billing

Only the owner stops a service. stop and rm refuse a service of another scope with E_NOT_OWNER, also for a person in a terminal with no scope at all. To override, give a reason; it is appended to $TABA_HOME/events.jsonl with who, where and why:

taba stop billing/web                                    # from elsewhere: refused (exit 3)
taba stop billing/web --force --reason "stuck since lunch"

taba stop --scope billing stops two services and leaves login-fix running

Clean up when the task is done. Stopped services stay in ps so you can still read their logs. rm deletes their records and logs, and refuses services that are still running:

taba rm billing/web
taba rm --scope billing

taba rm --scope billing removes the stopped billing services

The screenshots show real output from scripts/readme-screenshots.sh, which runs python3 -m http.server sample services under a throwaway TABA_HOME.

Project services (taba.toml)

A project that needs several services can declare them once in an optional taba.toml at its root, instead of typing several taba run commands:

[services.api]
cmd = ["uvicorn", "app:app", "--port", "{port}"]
port = "auto"
ready = "http:/health"

[services.web]
cmd = ["npm", "run", "dev", "--", "--port", "{port}", "--strictPort"]
port = "auto"
cwd = "frontend"                  # relative to taba.toml
env = { NODE_ENV = "development" }
wait = 60                         # seconds for the ready check (default 30)
taba up            # start every service, in file order, and wait for each
taba up web        # just web; already running services are reused
taba down          # stop this scope's services declared in the file

taba up and taba down look for taba.toml in the current directory and its parents. The scope is still yours (the git worktree, $TABA_SCOPE or --scope), so two worktrees of the same project get separate services from one file. Each service goes through taba run with --wait: port and ready take the same values as --port and --ready, service_ttl the same as --service-ttl, and interactive = true / false is -i / --no-interactive (unset: flutter run and vite are interactive). The table's key is the service name, and cmd is an array, or a plain string split on spaces; taba runs no shell (unlike a quoted taba run command). taba up stops at the first service that fails to start or become ready, leaves the ones already started running, and lists what it did. taba down leaves services the file doesn't declare alone.

taba.toml only lists what to start. There is no restart on crash, health monitoring or dependency graph; see docs/design-project-file.md.

Saving a command and passing environment variables

The explicit form also supports repeatable --env KEY=VALUE and --save:

taba run --name api --env API_MODE=synthetic --save -- python app.py

Only environment variable names and a keyed fingerprint are kept in taba's state, so re-running with another value is a conflict without storing or printing the value. --save writes the definition to the nearest taba.toml (or the worktree root); it refuses a different existing definition unless --force, and taba up api then starts it the same way. An explicit --interactive or --no-interactive is saved as interactive = true or false; omitting both leaves any existing setting unchanged. Saved env values must be written to taba.toml in plain text, so taba warns and secrets should not be saved or committed. On Unix, new files are owner-only and updates keep the existing file's permissions. Saves serialize through a persistent taba.toml.taba-lock sibling and recheck the latest definition before writing.

Services do not inherit the caller's TABA_AGENT, TABA_AGENT_PID or TABA_OUTPUT. You can deliberately set them with --env or project env; PORT, TABA_SCOPE and TABA_SERVICE remain reserved.

Terminal UI

taba ui shows every scope and its services in one live view, and lets you stop, remove, filter and follow logs from the keyboard. It re-reads the same state as taba ps once a second. It runs in macOS Terminal and iTerm2, Windows Terminal and PowerShell, and Linux terminals.

taba ui: scopes login-fix, billing and docs as a tree, with the cursor on login-fix/api

Key What it does
↑ ↓ (or k j) Move over scopes and services.
← →, Space Fold or unfold a scope. Folding only changes the view; nothing is stopped.
x On a running service: stop it. On a scope line: stop every service of that scope. On an exited service: remove it, like taba rm. It asks first: y confirms, any other key cancels.
l Follow the selected service's log, like taba logs -f. ↑ ↓ PgUp PgDn scroll, End follows again, Esc goes back.
i On an interactive service, in the list or its log: type into it. The UI steps aside for the log view in input mode; Ctrl+] comes back.
/ Filter by scope or service name. Enter keeps the filter, Esc clears it.
Esc Clear the filter and any messages.
q, Ctrl+C Quit. Services keep running.
  • Your scope comes first. It is resolved like any taba command ($TABA_SCOPE, else the git worktree you start taba ui in) and starts unfolded; other scopes start folded.
  • Same rules as the CLI. x runs the same code as taba stop SCOPE/NAME and taba rm SCOPE/NAME, as you, so leases, borrows and the audit log behave the same. Another scope's service, a borrowed or locked service, or a service that is still running when you remove it is refused, and the row shows the CLI's message. The UI never uses --force; that stays a deliberate CLI command with --reason.
  • Watching changes nothing. Unlike taba ps, the UI never renews your lease; only a confirmed x changes state.
  • The header draws the taba logo in block characters with the version and a live summary. Colors are 24-bit where the terminal says it supports them (COLORTERM=truecolor, Windows Terminal, iTerm2, WezTerm, VS Code) and 256-color elsewhere, such as macOS Terminal. Below 40 columns the header shrinks to one line.
  • Colors stay quiet. The logo's orange appears only in the logo and the (current) mark. A service's status dot uses your terminal theme's green, yellow or gray; the rest is default or dim text. The selected row is one reverse-video bar without colors, readable on dark and light themes. Set NO_COLOR (or use TERM=dumb) for no colors at all.
  • It needs an interactive terminal. Programs should read taba ps --watch --json instead.

Interactive dev servers (Flutter, Vite)

Some dev servers take keys while they run: flutter run (r hot reload, R hot restart), Vite (r + Enter restarts the server, h + Enter shows help). They only read those keys when stdin is a terminal, so taba can start a service interactive: its stdin is a pseudo-terminal, and its output still goes to the log as for any other service.

# flutter run and vite are interactive automatically:
taba run --name app --wait=300 --ready "log:Flutter run key commands" -- flutter run -d chrome
# started login-fix-3f9a/app
#   ...
#   interactive: yes (type: taba attach login-fix-3f9a/app; i in taba logs -f)

taba run --name web --port auto --wait -- npm run dev -- --port '{port}' --strictPort

# Anything else: -i / --interactive. --no-interactive turns it off.
taba run -i --name repl -- python3 -i

Typing. taba logs -f S/N on a terminal shows the log read-only. Press i to type into the service (a bar says INPUT MODE): every key goes to it, as if you ran it in that terminal. Ctrl+] stops typing, and q (or Ctrl+C) leaves the log; the service keeps running either way. taba attach S/N opens the same view already in input mode. In taba ui, i does the same. Watching is free; each write checks the ownership rules again and stays with the instance you attached to.

From scripts and agents.

Command What it does
taba reload S/N Linux only for a verified flutter run leader: SIGUSR1 (hot reload; --restart: SIGUSR2, hot restart), no stdin needed. On macOS use Flutter's r / R keys instead. Vite dev: r + Enter (restarts the server; open pages reload). Vite preview and unsupported signal targets return E_NO_RELOAD.
taba send S/N TEXT Write TEXT and a newline to its stdin (--no-newline for none).
taba send S/N --key K Write one key: a character such as r, or enter, esc, tab, space, backspace, ctrl-X.
taba signal S/N USR1|USR2|HUP Signal the service's main process (works without --interactive).

taba ps --json shows "interactive": true for such services.

Notes:

  • Flutter on macOS. reload and reload --restart return E_NO_RELOAD 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 or taba send S/N --key R.
  • Unsupported wrappers and older interactive records. A wrapper that stays as Flutter's process leader is not a supported signal target. If the service still accepts input, use Flutter's keys. If the wrapper was not detected and the service has no input, or an older interactive record fails FIFO verification, run taba stop S/N. Then rerun the original taba run --interactive ... command with its original service name, options and arguments (add --interactive before the service command, replacing --no-interactive if present), then attach or send. Restarting with --interactive enables manual input; it does not make the wrapper a supported signal target.
  • Flutter web: wait for the browser. flutter run -d chrome prints Flutter run key commands before the browser has connected; a reload in that gap only recompiles (No client connected). If a script reloads right after start, wait for --ready "log:Dart VM Service on Chrome is available" instead.
  • How it works. One small holder process per interactive service (taba __hold, exits with the service) keeps the terminal open and forwards what send and attach write to $TABA_HOME/inputs/<scope>/<name>.fifo. Echo is off, so typed keys do not show up in the log. The terminal is not the service's controlling terminal: Ctrl+C typed into it is not turned into SIGINT; use taba stop.
  • Windows is not supported yet (#79): -i fails with E_UNSUPPORTED, and flutter run / vite start as before, without input.

Use with AI agents

taba is meant for AI coding agents as much as for people:

  • Start servers with run --port auto --wait --json. The agent never invents a port, and the reply says when the server is ready and where:

    $ taba run --name web --port auto --wait --json -- npm run dev -- --port {port} --strictPort
    {
      "ok": true,
      "status": "started",
      "service": "login-fix-3f9a/web",
      "url": "http://localhost:4100",
      "port": 4100,
      "ready": { "check": "tcp", "ms": 840 },
      ...
    }

    Running the same command again returns "status": "already_running" with the same URL, so it is safe to repeat. Agents use this explicit form (--name, --, --json): its output does not depend on a name derived from the command or on which port the app happens to pick. The short taba run npm run dev is for people at a terminal.

  • Each worktree is its own scope. Agents in separate git worktrees get separate scopes without configuring anything, and successive agents in one worktree share its services. $TABA_SCOPE or --scope still override this, for orchestrators that want task-named scopes. Run taba whoami to see which scope applies.

  • Give each agent session its own identity. Set TABA_AGENT to a session-specific name (for example codex:<session-id> or orca:<session-id>) and, where available, set TABA_AGENT_PID to the long-lived agent process PID. Claude Code's optional hooks set its identity. Without TABA_AGENT, callers are all human, sharing one identity and its non-expiring default lease. Identity coordinates cooperative agents; it is not a credential.

  • Errors are machine-readable. With --json (or TABA_OUTPUT=json), every command prints one JSON document on stdout for success and failure, and nothing on stderr. A failure has error.code, error.message, error.details and error.next, a list of allowed next steps, most preferred first. next never suggests kill or --force; when only a person can resolve the error, it ends with "ask the human". See Errors.

  • Use taba ps --json to find a service that is already running before starting another, and to read its URL, directory, pid and log path:

    $ taba ps --scope login-fix --json
    {
      "ok": true,
      "services": [
      {
        "service": "login-fix/web",
        "scope": "login-fix",
        "name": "web",
        "status": "running",
        "url": "http://localhost:8001",
        "port": 8001,
        "directory": "/Users/Shared/demo/shop-login-fix",
        "command": [
          "python3",
          "-u",
          "-m",
          "http.server",
          "8001"
        ],
        "pid": 72306,
        "pgid": 72306,
        "start_time": 1795509874101287,
        "log_path": "/Users/Shared/demo/taba-home/logs/login-fix/web.log",
        "instance": "72306-1795509874101287"
      }
      ],
      "warnings": []
    }
  • Use taba ps --all to see every port you have open, whether taba started it or not, with its directory and git branch. It leaves services and their records unchanged.

  • Each started process gets TABA_SCOPE and TABA_SERVICE in its environment.

Agent skill

skills/taba/SKILL.md is a skill in the Agent Skills format. It tells an agent when and how to use taba: reuse before starting, --port auto --wait --json, reading error.next, staying inside its own scope, and what to report at hand-off. To install it, copy or symlink the skills/taba directory into a skills folder your agent reads:

# Claude Code, for all projects
mkdir -p ~/.claude/skills && ln -s "$PWD/skills/taba" ~/.claude/skills/taba

# or for one project (Claude Code: .claude/skills, other agents: .agents/skills)
mkdir -p .claude/skills && cp -R /path/to/taba/skills/taba .claude/skills/

Optional tool hooks

Add the following to Claude Code's project or user settings to set the session identity, guard common shell stop commands and mark the lease ended when the session ends:

{
  "hooks": {
    "SessionStart": [{"hooks": [{"type": "command", "command": "taba hook claude-code session-start"}]}],
    "PreToolUse": [{"matcher": "Bash", "hooks": [{"type": "command", "command": "taba hook claude-code pre-tool-use"}]}],
    "SessionEnd": [{"hooks": [{"type": "command", "command": "taba hook claude-code session-end"}]}]
  }
}

For Codex CLI, configure the Bash PreToolUse matcher with taba hook codex pre-tool-use, then review and trust it in /hooks. Set TABA_AGENT=codex:<session_id> so CLI calls and the hook use the same identity. Claude Code asks for confirmation on taba … --force for every hooked agent; it cannot distinguish a coordinator from a worker. Codex does not support that hook decision, so taba denies the forced tool call and directs the agent to a human.

These are best-effort checks for common Bash commands, not a security boundary. They do not execute the commands or intercept native PowerShell stop commands. A command the hook does not understand falls back to the harness's normal permissions and is recorded as hook_unchecked in events.jsonl. The hook looks through common wrappers such as sudo, env, timeout and VAR=value prefixes, and asks for confirmation before a taba command that acts as a different agent (--agent or TABA_AGENT=) than the session's own.

AGENTS.md / CLAUDE.md snippet

If your agent doesn't load skills, paste this into AGENTS.md or CLAUDE.md:

## Long-running processes (dev servers, watchers, databases)

- Start them with
  `taba run --name <name> --port auto --wait --json -- <cmd with {port}>`,
  never with `&` or `nohup`, and use the `url` from the reply. Never invent a
  port.
- The git worktree you work in is your scope (`taba whoami` shows it). If
  `$TABA_SCOPE` is set, it wins.
- Before starting, run `taba ps --scope <scope> --json` and reuse a service
  that is already running.
- On an error, read `error.code` and do the first item of `error.next`. Never
  answer `E_PORT_IN_USE` or `E_NOT_OWNER` with `kill`, `pkill` or `--force`.
- Read recent output with `taba logs <name> --tail 100 --json`.
- After editing a Flutter or Vite app, use `taba reload <name>` (Flutter on
  Linux or Vite dev), not a restart of the service. For Flutter on macOS,
  use `taba send <name> --key r` (hot restart: `--key R`).
- Stop only your own scope: `taba stop --scope <scope>`, then clean up with
  `taba rm --scope <scope>`. Never touch other scopes or processes taba
  didn't start.
- At hand-off, report each service's name and URL, and say whether you left
  it running or stopped it.

How taba compares

taba's peers are local process managers, not Docker. Tested 2026-11-24 on macOS. Method, sources and the full table are in docs/comparison.md.

taba pm2 overmind / foreman process-compose mprocs (now dekit)
Background process it needs none a daemon overmind + tmux with -D; foreman is foreground only a server per project a runner per project
Start one command, no config file yes yes no, needs a Procfile no, needs a YAML file yes (dekit spawn, inside a project)
Same start command twice reuses the running one a copy or an error, depending on how you start it error (overmind) reports success, then fails on its API port error
Port already in use refuses and names the holder crash-loops the process exits the process exits the process exits
Restarts, TUI, Linux TUI (taba ui, since v0.2.3) and Linux; no restarts all three overmind: restarts and Linux; foreman: Linux all three all three (restarts only for tasks in dekit.yaml)

taba is the small option: no daemon and no required config, and it is safe to run again, for dev servers spread over many tasks and checkouts on one machine. If you need restarts or dependencies, use process-compose, dekit or pm2.

When to use Docker instead

taba does not isolate processes or make environments reproducible. A service is an ordinary host process using whatever is on your PATH. Use Docker for that. Measurements against Docker are in docs/benchmarks.md.

Ownership model

  • A scope owns its processes. The owner is a task, not the terminal or agent that started the process. By default it is the git worktree folder (<folder>-<hash4>; the branch is not part of it), else $TABA_SCOPE or --scope. Ownership survives closing the terminal.
  • Only the owner stops or removes. stop and rm of another scope's service are refused with E_NOT_OWNER, for agents and people alike. --force --reason TEXT is the only override, and every use is recorded in events.jsonl.
  • One change per service at a time. A stop, and a run until its service is ready, hold a per-service operation lock. A second stop of the same service gets E_BUSY instead of signalling it again.
  • taba stops only what it started and can still verify. A service is signalled only if its identity still matches: the leader pid with its exact start time or, if the leader has exited, a surviving process group whose members all started after the recorded time. taba sends SIGTERM to the group, then SIGKILL after --timeout seconds (default 5). On Windows the group is a Job Object, and taba sends Ctrl+Break, then terminates the job.
  • Unmanaged processes are never touched. A process taba didn't start, or one it can no longer verify, is reported, never signalled.
  • Stopping never deletes files. A stopped service keeps its record and log until you run taba rm. rm deletes only stopped services' records and logs, and only inside $TABA_HOME.
  • run is idempotent. The same scope, name, command, directory and port returns the service that is already running. The same name with different settings is an error while the old service runs.

Reference

Commands

Command What it does
taba run CMD... The short form. Start CMD with a name taken from it (npm run dev → dev) and wait up to 30 s for the port it listens on. See Quick start and Writing the command.
taba run [--scope S] --name N [--port P | auto | auto:START] [--wait[=SECS]] [--ready CHECK] [-i | --no-interactive] [--json] -- CMD... Start CMD detached as service S/N, in its own process group, with output appended to its log. {port} in CMD is replaced by the port, and PORT is set. discovered_ports in the reply lists the ports its processes listen on. -i makes it interactive (default for flutter run and vite).
taba up [NAME...] [--scope S] [--ttl DURATION] [--json] Start the services declared in the nearest taba.toml (all, or NAME... in that order), each like run --wait, reusing ones already running. Stops at the first failure and leaves started ones running. See Project services.
taba down [NAME...] [--scope S] [--timeout SECS] [--json] Stop your scope's services that the nearest taba.toml declares (all, or NAME...).
taba List services, like taba ps.
taba whoami [--scope S] [--json] Show the scope taba uses here, its source (flag, env, git), worktree, branch, agent and services.
taba ps [--scope S] [--running] [--json] List services with status running, starting, stopping or exited, plus URL and directory (~ for your home; absolute in --json). --running hides exited ones.
taba ps --watch --json [--scope S] [--running] [--interval DURATION] Keep running and print the ps --json document as one line (NDJSON) at once and again whenever it changes, until interrupted. Read-only. See Watching for changes.
taba ps --all [--json] List every listening TCP port of your user, managed by taba or not: address, pid, command, directory, git worktree and branch, and the taba service if there is one. Read-only.
taba ui Browse every scope's services in a terminal UI; stop, remove, filter and follow logs with the keyboard. See Terminal UI.
taba logs S/N [--tail N] [-f] [--json] (or a bare name in your scope) Print the log, or its last N lines. Add -f to follow it until the service exits; for an interactive service on a terminal, i types into it. --json returns up to 16 KiB of log data in log and is incompatible with -f.
taba attach S/N Follow an interactive service's log in input mode; Ctrl+] stops typing, q quits. From a pipe: forward stdin until EOF.
taba send S/N TEXT | --key K [--no-newline] Write to an interactive service's stdin.
taba reload S/N [--restart] Hot reload a verified flutter run leader on Linux (SIGUSR1; --restart: SIGUSR2), or restart Vite dev (r). On macOS, send Flutter's r / R keys instead.
taba signal S/N USR1|USR2|HUP Signal a service's main process (macOS, Linux).
taba stop S/N (or N in your scope) Stop one service of your own scope.
taba stop --scope S Stop every service in scope S.
taba stop ... --timeout SECS Seconds to wait between SIGTERM and SIGKILL (Windows: Ctrl+Break and job termination; default 5).
taba stop ... --force --reason TEXT Stop a service of another scope; recorded in events.jsonl.
taba rm S/N (or N in your scope) Delete a stopped service's record and log. Refuses a running service, and another scope's service without --force --reason.
taba rm --scope S Delete the records and logs of every stopped service in scope S; running ones are kept and reported.
taba renew [--scope S] [--ttl DURATION] [--json] Renew the caller's scope lease.
taba lease end [--scope S] [--json] Mark the caller's leases expired without immediately stopping services.
taba keep [--scope S] --reason TEXT [--off] [--json] Keep a scope's services beyond lease expiry; an agent must provide a recorded reason.
taba gc [--dry-run] [--json] Preview or collect services that are past a lease or service TTL.
taba borrow S/N [--ttl DURATION] [--json] Record a shared borrow and return the service instance and URL.
taba borrow --check BORROW_ID [--json] Verify that a borrow still points to the recorded running instance.
taba borrow --mut S/N [--wait-lock SECS] [--json] -- CMD... Hold an exclusive maintenance borrow while CMD runs; it receives TABA_BORROWED_URL.
taba release BORROW_ID | S/N [--json] End the caller's borrow.
taba move [S/N] --to AGENT_OR_SCOPE [--json] Transfer a scope lease to an agent, or one service to an existing scope, without restarting it.
taba move --take [--force --reason TEXT] [--json] Take an expired scope lease explicitly; a live lease is refused unless an audited human-authorized override is used.
taba claim S/N [--cancel] [--json] Join or leave the queue for a service from another scope.
taba disown S/N | --scope S [--json] Offer a service to its first eligible claimant.
taba hook claude-code|codex EVENT Hook entry point for supported harness events; normally configured once, not run ad hoc by agents.
taba update --check [--json] Report whether a newer stable release exists on official GitHub Releases. Read-only.
taba update [--json] Check, then replace an eligible official standalone Linux or macOS install. Otherwise, report the manual upgrade path. See Updating.

--ready is tcp (default when there is a port), http:PATH or log:REGEX, and needs --wait. --agent NAME on run, stop, rm, whoami, send, attach, reload and signal overrides $TABA_AGENT; send, attach, reload and signal take --force --reason like stop. Run taba <command> --help to see all flags.

Errors

With --json or TABA_OUTPUT=json, every command prints one JSON document on stdout, {"ok": true, ..., "warnings": [...]} or {"ok": false, "error": {"code", "message", "details", "next"}, ...}, and nothing on stderr (ps --watch --json prints one document per line; see Watching for changes). ps lists its rows under services, ps --all under listeners, and stop and rm report each service under results. A stopped service's signal is TERM or KILL on every platform; platform_action says what was done (sigterm, sigkill, or on Windows ctrl_break, terminate_job_object). Without --json, the message and the next steps go to stderr. Commands in next are quoted for the shell of the platform: POSIX sh on macOS and Linux, PowerShell on Windows (in cmd.exe, use double quotes where they show single quotes). The exit status follows the code:

Code Exit Meaning
E_USAGE, E_INVALID_IDENT, E_FORCE_NEEDS_REASON 2 Bad flags or names (an argument error names the flag in details.arguments and points next at that command's --help); --force without --reason.
E_NO_SCOPE 2 No --scope, no $TABA_SCOPE, and not inside a git worktree.
E_NOT_OWNER 3 The service belongs to another scope. Use it read-only, borrow it, or coordinate with its owner.
E_SCOPE_HELD 3 Another agent identity has a live lease on the scope. Wait for the normal hand-off or ask the coordinator; do not impersonate the holder.
E_LEASE_LIVE 3 move --take found a live holder. Wait for expiry or a planned hand-off.
E_BORROWED 3 The owner tried to stop or replace a service with live borrowers. Coordinate release or disown it to a claimant.
E_LOCKED 3 Another scope has an exclusive maintenance borrow. Retry later or use --wait-lock for a legitimate maintenance operation.
E_NO_CLAIMANT 3 disown found no eligible claimant. Arrange a claim before disowning.
E_BUSY 3 Another stop or starting run of that service is in progress, or another taba process held the state lock for the whole lock timeout (details.holder_pid when recorded).
E_CONFLICT 3 Same name already running with a different command, directory, port or interactive mode.
E_NO_INPUT 3 send or attach to a service that is not interactive (or whose input holder is gone). Restart it with --interactive.
E_NO_RELOAD 3 No supported reload method for this service (including Flutter on macOS, an unverified Flutter signal target, or Vite preview). If the service accepts input, send its manual reload key; Flutter uses r (hot reload) and R (hot restart).
E_NOT_RUNNING 3 send, attach, reload or signal of a service that has exited.
E_STILL_RUNNING 3 rm of a running service.
E_PORT_IN_USE, E_PORT_CLAIMED 4 The port is held by a process, or reserved by another taba service.
E_NO_FREE_PORT 4 --port auto found no free port in its range.
E_START_FAILED 4 The process exited before it was ready; details.log_tail has its last lines.
E_NOT_READY 4 --wait timed out; the process is still running.
E_NOT_FOUND 5 No such service, scope record, or borrow. List current state and use a current target.
E_NO_PROJECT 5 taba up or taba down found no taba.toml in the current directory or its parents.
E_DANGLING 5 A borrow no longer points at its recorded live instance. Borrow again and use the new reply.
E_BORROW_COMMAND 1 The command run under borrow --mut exited unsuccessfully; inspect exit_code and its output.
E_CONFIG 1 A config.toml field, a taba.toml entry (details.source is project), TABA_TTL, or TABA_LOCK_TIMEOUT is invalid or unreadable; details identifies the source.
E_STATE 1 State is unreadable, unavailable, damaged, or out of space. Read details.path and next; listings may instead emit W_STATE_SKIPPED.
E_INPUT_BLOCKED 1 The service did not read its input for 5 s; some bytes were not written.
E_UNSUPPORTED 1 Not available on this platform yet: interactive services and signal on Windows (#79).
E_SIGNAL_FAILED 1 taba could not signal a verified service; inspect the result and ask the human rather than using raw process controls.
E_UPDATE_FAILED 1 taba update could not reach, read or verify the release. The installed binary is unchanged.

taba update --json reports status: up_to_date, update_available (with --check), updated, or manual_update with a reason.

stop --scope reports each service in results (stopped, killed, not_running, or refused with its error) and exits 3 if any was refused.

An empty or damaged service or scope record is never replaced or rewritten by taba. Listings such as ps and gc skip it and report W_STATE_SKIPPED in warnings (on stderr without --json). Commands that need it fail with E_STATE, details.reason: "unreadable" and the file's path. next names the command that removes it: taba rm S/N --force --reason TEXT for a service record (also its log; a process it started is no longer tracked), or taba rm --scope S --force --reason TEXT for the scope's unreadable records and scope record. Records are written to a temporary file, flushed to disk and then renamed, so a crash leaves the old or the new content.

Successful JSON replies can also carry non-fatal warnings; agents should record and act on them rather than treating a successful exit as proof that ownership or a borrow is unchanged. W_TOOK_OVER means the caller adopted an expired scope lease, while W_HANDED_OVER records a service transfer to a claimant or borrower. W_SAME_SCOPE_BORROW says a shared borrow is in the service's own scope and does not prevent owner stop or replacement; borrow from a different scope when you need that protection. Its JSON details identify the borrow and service. W_BORROW_BROKEN says a borrow became dangling and identifies the borrow ID, service, and a shell-quoted taba release ID cleanup command, also exposed as details.borrow, details.service, and details.release_command. Other warnings retain their existing fields; details is optional. W_BRANCH_CHANGED says the worktree branch changed; W_FORCED records an audited override; W_OWNER_GONE says a lease holder's PID ended; and W_NOTICE is another hand-off or lease notice. W_PORT_NOT_IN_COMMAND warns that the app may ignore the supplied port, W_NO_LSOF means macOS port listing is unavailable, and W_STATE_SKIPPED names unreadable state that a listing omitted.

Watching for changes

taba ps --watch --json keeps running and prints newline-delimited JSON (NDJSON): one complete document per line, never pretty-printed.

  • The first line is a full snapshot with the same fields as taba ps --json: {"ok": true, "services": [...], "warnings": []}.
  • After that, a new full snapshot is printed only when a row changed: a status, port, PID, lease, borrow, claim, or a service added or removed. Every line is a complete snapshot, not a diff, so a consumer can simply replace what it shows with the latest line.
  • State is re-read every second. --interval changes that: seconds (2, 0.5) or a number with ms or s (500ms), at least 250ms.
  • The same filters as ps: --scope S and --running. --all cannot be watched.
  • It ends with exit 0 on Ctrl+C (SIGINT; on Windows also Ctrl+Break) and when its stdout is closed, for example when the reading program exits. An idle stream notices a closed pipe within a fraction of a second, so taba ps --watch --json | head -n 1 returns at once.
  • Read-only. Unlike ps, watching never renews the caller's lease or writes any state.
  • Errors are one line too, {"ok": false, "error": {...}, "warnings": []}, after which the stream exits with the error's exit status (for example 1 for E_STATE, 2 for an invalid --scope).
  • --watch needs --json (or TABA_OUTPUT=json) for now; without it, taba exits with E_USAGE (exit 2).
$ taba ps --watch --json --scope login-fix
{"ok":true,"services":[{"service":"login-fix/web","status":"running",...}],"warnings":[]}
{"ok":true,"services":[{"service":"login-fix/web","status":"stopping",...}],"warnings":[]}
{"ok":true,"services":[{"service":"login-fix/web","status":"exited",...}],"warnings":[]}

Agent leases and cleanup

Set TABA_AGENT to a distinct session name and TABA_AGENT_PID to the long-lived agent's PID, then run taba whoami. A live holder prevents other agents from mutating the scope, even if they pass its name with --scope. If the holder exits, ends its lease, or passes its TTL, the next caller in that scope can take over without restarting services. These identifiers prevent accidents; they are not credentials.

  • taba renew [--ttl DURATION] renews the lease. The default is 4h for agents and none for humans; --ttl, TABA_TTL, and lease_ttl in $TABA_HOME/config.toml override the default in that order.
  • taba lease end marks the caller's leases expired without stopping anything.
  • taba claim S/N queues for another scope's service; --cancel withdraws the claim. taba disown S/N hands it to the first eligible claimant now.
  • taba gc --dry-run previews cleanup. taba gc hands over claimed services after claim_grace and drops unclaimed expired services after gc_grace. run and whoami also perform bounded cleanup outside the caller's scope. taba gc stops a dropped service like taba stop: a graceful request, then a forced stop after stop_timeout (default 5s). The cleanup inside run and whoami waits at most 1 s per service. It leaves a slower service running and forces it only on a later cleanup, once stop_timeout has passed.
  • run --service-ttl DURATION sets an independent service timeout. taba keep --reason TEXT pins the scope; taba keep --off clears it.

Lazy expiry

There is no resident taba daemon. A lease or --service-ttl passing is visible immediately in taba ps --json (lease, service_expires_at, and, when a service is eligible to be dropped, pending_gc); it does not stop the process at that clock time. Cleanup happens on a later taba gc, run, or whoami. An expired lease may hand a service to a claimant or live borrower instead of dropping it, and a live borrow protects an expired service TTL, so those cases are shown as expiry facts rather than a promised pending collection.

Handing services over

A successor in the same scope takes over after the old lease ends. For a planned hand-off, the holder can use taba move --to AGENT. The recipient should run taba whoami with its agent ID and PID to bind the new lease to its process. taba move --take takes an expired lease explicitly; taking one that is still live requires an audited --force --reason TEXT.

Use taba move S/N --to SCOPE to transfer just one service to an existing scope. Its process, instance and URL stay the same. The receiving scope's borrow ends, and other borrows follow the same instance to its new name.

Borrowing a service

Use taba borrow S/N to record that your scope uses another scope's service. The reply identifies the instance and its URL. taba borrow --check ID checks that same instance; taba release ID ends the borrow. A borrow ends when its own TTL or the borrower's lease ends. A live borrow from a different scope prevents the owner from stopping or replacing the service without an audited force override, which makes the borrow dangling. A shared borrow from the service's own scope does not prevent owner stop or replacement; it succeeds with W_SAME_SCOPE_BORROW in human and JSON output. Borrow from the consuming scope if you need stop protection; same-scope borrows do not change ownership or access permissions. A dangling borrow remains until released or expired; W_BORROW_BROKEN identifies each borrow and the taba release ID command to clean it up without deleting anything automatically.

Use taba borrow --mut S/N -- COMMAND for exclusive maintenance. The child gets TABA_BORROWED_URL; the lock is released when the command exits and becomes stale if its coordinating taba process dies. Use --wait-lock SECS if another exclusive borrow is active. Without a command, the lock defaults to 15 minutes or until released. An expired owner's service goes to the first eligible explicit claimant, then to a live borrower; neither transfer restarts the process.

Environment variables

Variable Meaning
TABA_SCOPE The caller's scope when --scope is not given; beats the git worktree.
TABA_AGENT Name of the acting agent, recorded with services and --force events (default human).
TABA_AGENT_PID PID of the long-lived agent process; when it exits, its lease can end early.
TABA_TTL Lease TTL such as 4h or none; used after --ttl and before config.toml.
TABA_OUTPUT json makes every command print JSON (except logs -f, which streams text).
TABA_HOME State directory (default ~/.taba).
TABA_LOCK_TIMEOUT Seconds a command waits for the state lock before E_BUSY (default 10, 0 = try once).
TABA_SCOPE, TABA_SERVICE, PORT Set inside each started process: its scope, its service name and (with --port) its port.

State and logs

$TABA_HOME (default ~/.taba)
├── config.toml                    # optional: lease_ttl, claim_grace, gc_grace, log_retention, stop_timeout
├── services/<scope>/<name>.json   # command, directory, port, pid, pgid, start time, log path, instance
├── scopes/<scope>.json             # lease holder, TTL, keep marker and notices
├── claims/<scope>/<name>.json      # queued ownership claims
├── borrows/<borrow-id>.json        # shared and exclusive borrow records
├── logs/<scope>/<name>.log        # stdout + stderr, appended across runs
├── ops/<scope>/<name>.json        # in-flight stop or start of that service (operation lock)
├── inputs/<scope>/<name>.fifo     # input of an interactive service, read by its holder (macOS, Linux)
├── events.jsonl                   # append-only created, moved, cleanup, hook and audited override events
├── version                        # state schema version (2)
├── btime/                         # Linux boot-time cache and recovery copies
├── lock                           # serialises changes to the state
└── lock.holder                    # pid of the last taba that took the lock

On macOS and Linux the state directory and every directory under it are owner-only (0700), and the files taba creates are owner-only (0600): records hold command lines and working directories, and logs often hold tokens or database URLs. An existing $TABA_HOME that others can read (one created by an older taba) is tightened to 0700 the next time taba opens it, if you own it. On Windows the state inherits the permissions of its parent folder (your user profile by default).

The state lock is held only for short steps. A command that needs it waits at most $TABA_LOCK_TIMEOUT seconds (default 10; 0 tries once), says waiting for state lock on a terminal after half a second, and then fails with E_BUSY, so a suspended or stuck taba cannot hang every agent. ps and logs never wait: when the lock is busy they skip the lease renewal.

State written by taba 0.1 is read unchanged.

config.toml is optional and local to $TABA_HOME; all values are quoted durations such as "4h" or "30m". lease_ttl controls agent leases, claim_grace delays a hand-off to a claimant, gc_grace delays collection of unclaimed expired services, log_retention controls cleanup of retained logs, and stop_timeout is the cleanup grace period. Unknown keys warn but are ignored. A malformed or unreadable file returns E_CONFIG naming the key or path.

Platforms

taba runs on macOS, Linux and Windows, and CI tests all three. Output, JSON fields and error codes are the same everywhere; how taba tracks and stops processes differs:

macOS Linux Windows
Process facts proc_pidinfo, KERN_PROCARGS2 /proc/PID/stat, cmdline GetProcessTimes, the process's command line
Listening ports lsof /proc/net/tcp{,6} GetExtendedTcpTable
A service's processes its process group (new session) its process group (new session) its Job Object
stop SIGTERM, then SIGKILL SIGTERM, then SIGKILL Ctrl+Break, then terminate the job
State lock flock flock LockFileEx

On Linux, taba saves a boot-time value by boot ID under $TABA_HOME/btime/ to keep process identities stable across wall-clock changes. Process inspection can restore either file of the pair from the other during the same boot. Keep this directory with the service records when cleaning up or moving state.

On Windows:

  • A service runs with its own hidden console, so closing the terminal that started it does not stop it. If that terminal runs its children in a job that kills them on close and forbids breakaway, the service is still part of that job and stops with it.
  • stop's graceful step is Ctrl+Break, which most runtimes (Node, Python, Go) treat as SIGBREAK and exit on. JSON keeps "signal": "TERM" / "KILL" for the two steps.
  • Programs are looked up with PATHEXT, so taba run -- npm run dev runs npm.cmd.
  • A quoted command (taba run "npm run dev && npm run e2e") runs through cmd /C, with the command line passed as typed.
  • python3 is often only the Microsoft Store stub; use python.
  • Paths print as C:\..., with ~ for %USERPROFILE%, and next commands are quoted for POSIX shells (Git Bash, WSL).

WSL and Windows

A server in WSL and one on Windows live in separate process spaces. taba inside WSL sees only WSL processes, and taba on Windows only Windows ones; neither can stop the other's servers, and each keeps its own ~/.taba.

Ports are another matter: WSL forwards localhost ports to Windows (and in mirrored networking mode, both ways). A port used by a WSL server therefore looks taken from Windows, but its process is not visible there. taba on Windows reports such a port as E_PORT_IN_USE with holder.kind: "unknown", saying it is forwarded from WSL (wslrelay.exe) or held by a process it cannot see, which may run outside this OS (WSL, a VM or a container). --port auto skips such ports. Run taba ps inside WSL to see what holds it there.

Limitations

taba is an early prototype:

  • Port detection is partial. taba checks loopback (IPv4/IPv6) connects and a wildcard bind. A server bound only to a non-loopback address may go unnoticed.
  • Exited entries are replaced on re-run. A new run with the same scope/name overwrites the record of an exited service. The log is appended.
  • Some children are not tracked. Children that move into a different process group or session (Windows: break away from the job) are not tracked, and stop won't reach them.
  • Interactive services: macOS and Linux only. No ConPTY on Windows yet (#79). Logs keep the service's output as written; taba does not strip colors or \r progress lines.
  • No log rotation. Logs grow across runs until you taba rm the service.
  • Ownership is a convention, not security. --scope, $TABA_SCOPE and $TABA_AGENT are claims, not credentials. Leases prevent accidental concurrent mutation by cooperating agents: a live holder produces E_SCOPE_HELD, and its successor takes over only after the lease ends, expires, or its recorded agent PID exits. They do not defend against a malicious local process.
  • taba ui draws with block and symbol characters (█ ▀ ▄ ▾ ▸ ●). A terminal set to show East Asian ambiguous-width characters as double width misaligns them; use the default (single width).
  • Self-update is limited. taba update replaces the binary only for official standalone Linux and macOS installs. It is check-only on Windows, and release checksums are not independent signatures; see Updating.

Roadmap

  • Real-session validation of optional agent hooks; see the release notes.
  • Log rotation
  • Better port detection (non-loopback binds)

See docs/design-v0.2.md for the current design and docs/plan.md for v0.1.

License

MIT, see LICENSE.

About

Ownership for your localhost: run, share and hand off dev servers safely across AI coding agents (macOS).

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages