@meistrari/tela-cli
v0.7.0
Published
Tela CLI is a one-shot terminal tool for syncing Tela repositories, running local agents, preparing pushes, and applying commit feedback with Claude.
Maintainers
Keywords
Readme
Tela CLI
Tela CLI is a one-shot terminal tool for syncing Tela repositories, running local agents, preparing pushes, and applying commit feedback with Claude.
Installation
bun install -g @meistrari/tela-cliThis installs the package globally and adds a tela alias to your ~/.zshrc. After installing, either open a new terminal or run:
source ~/.zshrcDefault command
tela
List workspace repositories that are available to sync locally.
When to use: Run this with no subcommand when you want to see which workspace repositories are available before using tela sync <repo>.
Examples:
tela— Render the available repositories in a human-readable tabletela --json— Emit the available repositories as JSON
Version
Examples:
tela --version— Print the current Tela CLI versiontela -v— Print the current Tela CLI version
Commands
setup
Configure Tela CLI, sign in with device flow, choose the workspace organization, provision Forgejo access, and verify the local environment
When to use: Run this first on a new machine, or any time your environment target, clone root, Tela session, or SSH key changes.
Examples:
tela setup— Choose production, staging, or a custom environment, complete browser-based sign-in, select the workspace organization, and provision Forgejo access with an SSH key
sync [repo]
Clone or update a Tela repository, or refresh the current checkout
When to use: Use this before coding to get a clean local checkout, or to refresh every repository under the configured clone root. SSH-backed sync automatically accepts first-seen host keys during clone and update flows.
Examples:
tela sync agent-api— Clone or update a specific repository under the clone roottela sync --current— Sync the repository for the current working directorytela sync --all— Refresh every repository directly under the clone root
run
Run the local agent repository with project-scoped Claude
When to use: Use this from inside an agent repository when you want Claude to follow the repo-local contract files, ignore user/global Claude config by default, show its progress live, and produce the expected result artifact.
Examples:
tela run— Run the current agent repository with project-scoped Claude and the live viewertela run --plain— Force project-scoped execution with scrollback-first text outputtela run --json— Emit the final project-scoped execution and artifact envelope as JSON
push
Preview, commit, and push the current repository
When to use: Use this after reviewing local changes when you want Tela to stage everything, produce a commit message, and push the branch.
Examples:
tela push— Choose the commit-message flow interactivelytela push --claude— Generate a commit message from the current worktreetela push --message "Update feedback flow"— Skip prompts and use an explicit commit message
feedback
Guided review of commit feedback with optional Claude handoff
When to use: Use this after pushing or after a feedback-producing commit when you want a guided review of the feedback, a prompt preview before launch, and an outcome summary after Claude exits.
Examples:
tela feedback --list— Open the guided review flow without launching Claudetela feedback --apply all— Preview and launch Claude against every actionable suggestiontela feedback --apply select— Choose specific actionable suggestions before launching Claude
status
Show Tela config, session state, tool availability, repo state, and Agent API reachability
When to use: Use this for a quick snapshot of whether the local environment is ready before running mutating commands.
Examples:
tela status— Render a human-readable environment summarytela status --json— Emit a machine-readable status report
doctor
Diagnose config, auth session, tools, filesystem state, repo health, and Agent API reachability
When to use: Use this when Tela fails or behaves unexpectedly and you need exact remediation steps.
Aliases: diag
Examples:
tela doctor— Run the full diagnostic suite with remediation guidancetela doctor --json— Emit structured diagnostic output for scripts
Output modes
- Human output is structured for terminal use with grouped summaries and next actions.
--jsonis available on read-heavy flows and ontela runfor the final execution envelope.
tela run scope
tela runloads project-scoped Claude settings by default and excludes user/global Claude config.- Remaining external inputs are explicit: Claude's built-in system prompt, managed enterprise settings, auth/provider credentials, minimal shell runtime environment, and the default model when
agent.config.jsondoes not set one.
First run
tela setuptela statustela sync <repo>ortela sync --currenttela runtela pushtela feedback --list
