Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 2.39 KB

File metadata and controls

80 lines (57 loc) · 2.39 KB

Installation

Quay is a Bun + TypeScript CLI. It can be run from source during development or compiled into a single Bun binary for deployment.

Build From Source

bun install
bun test
bun run typecheck
bun run build
./dist/quay --version

bun run build builds the Admin UI workspace, regenerates the embedded migrations, ticket schema, UI assets, and version stamp, then compiles dist/quay. Local builds report dev+<sha>; release builds set QUAY_VERSION to the release tag so quay --version reports <tag>+<sha>.

Run From Source

For development:

bun run quay -- --version
bun run quay -- task list

The extra -- separates Bun script arguments from Quay arguments.

Runtime Dependencies

The compiled binary does not require Bun on the target host, but Quay shells out to external tools depending on the workflow:

  • git: required for repo fetches, branches, and worktrees.
  • tmux: required by quay tick when spawning workers.
  • gh: required for PR/CI polling and PR cleanup paths.
  • The configured worker command: default is claude --permission-mode bypassPermissions < {prompt_file}.
  • Any command used by a repo's install_cmd.

For GitHub, Slack, Linear, worker credential, and scheduler environment setup, see External Services Setup.

quay --version short-circuits before database, config, and migration setup. quay validate-ticket skips the dispatcher's adapter wiring for fast spawns; it opens the DB lazily only when the ticket payload's repo has per-repo tag vocab configured (otherwise it degrades to no enforcement).

Data Directory

By default Quay stores data in ~/.quay. Override it at runtime with:

export QUAY_DATA_DIR=/var/lib/quay

The data directory contains:

  • quay.db
  • repos/ by default, unless repos_root is configured.
  • worktrees/ by default, unless worktree_root is configured.
  • artifacts/
  • tick.lock by default, unless tick_lock_path is configured.

First use creates Quay-owned directories and applies embedded migrations. Migrations are idempotent.

Releases

The README includes a placeholder release-download path for v0.1.0. Until a release is tagged and binaries are published, use the build-from-source path.

CLI Help

The current main command dispatcher does not provide a full quay --help surface. Use CLI Reference for the current command inventory.