cli README

README проекта с github.com/entireio/cli. Одним файлом markdown: README.md.

Entire CLI

Entire CLI

Entire is a Git forge built for agent–human collaboration. This CLI is how you and your agents use Entire from the terminal — anything you do on entire.com, you can do here:

Works with Claude Code, Codex, Cursor, Copilot CLI, OpenCode, Antigravity, Factory AI Droid, Pi, and more, and extends through plugins. Pushes through a GitHub mirror still trigger your GitHub Actions, and Trails can also show CI results from Buildkite and Depot.

Open source under the MIT license. Docs: docs.entire.com.

Contents

Install

brew install --cask entireio/tap/entire          # macOS and Linux
curl -fsSL https://entire.com/install.sh | bash  # macOS and Linux, without Homebrew
irm https://entire.com/install.ps1 | iex         # Windows PowerShell 5.1+

For the nightly channel (prerelease builds with the latest changes):

brew install --cask entireio/tap/entire@nightly
curl -fsSL https://entire.com/install.sh | bash -s -- --channel nightly
iex "& {$(irm https://entire.com/install.ps1)} -Channel nightly"

Requires Git on macOS, Linux, or Windows. Scoop, go install, and installing during a GitHub outage are covered in Installation.

Quick Start

1. Capture agent sessions — works in any Git repository, no account needed:

cd your-project
entire enable                    # pick your agents; installs their hooks and Entire's git hooks
entire status                    # current sessions and where checkpoints are uploaded

2. Put a repository on Entire — sign in, then mirror a GitHub repository into one or more clusters, or create an Entire-native one. Mirroring needs the Entire GitHub App installed for that repository.

entire login

entire repo mirror add                          # wizard: pick repos and clusters
entire repo clone /gh/<owner>/<repo> --nearest

entire project create                           # wizard: owner, name, region
entire repo create <name> --project <project>
entire repo clone /et/<project>/<name>

Then cd into the clone and run entire enable there to capture sessions in it.

3. Open a Trail — in a repository on Entire, on the branch you're working on:

git switch -c add-rate-limiting
entire trail create --title "Add rate limiting"
entire trail show

Repositories & Git Hosting

Entire hosts Git repositories on clusters in several regions, so agents can clone, fetch, and push against a copy near where they run.

Repository references name their forge: /et/<project>/<repo> for an Entire-native repository, /gh/<owner>/<repo> for a GitHub mirror, or a full entire://<cluster>/… clone URL.

entire repo create web --project acme                   # Entire-native, private by default
entire repo mirror add /gh/acme/web --cluster aws-us-east-2.entire.io,aws-eu-central-1.entire.io
entire repo clone /gh/acme/web --nearest                # time each cluster and use the fastest
entire repo remote add entire                           # add Entire to an existing checkout, beside origin

A GitHub mirror keeps GitHub as the source of truth: clones and fetches come from Entire, and pushes are forwarded to GitHub, where your GitHub permissions, branch protection, and required checks still apply. Clones use entire:// URLs through the git-remote-entire helper that ships with the packaged installs; after that, it is plain Git.

See Repositories and Mirrors in the CLI for regions, mirroring, unmirrored branches, moving a mirror off GitHub, branch protection, and access.

Trails

A Trail follows a change from intent to merge. Instead of reviewing a diff, you get a heads-up display for it — the Trail's page on entire.com, or entire trail show and entire trail watch here — with findings from evals that agents score on every push. Each Trail has a number in its project, such as #42.

entire trail create --title "Add rate limiting" --type feature   # publishes the current branch
entire trail list --project et/acme --status open
entire trail show                       # the Trail for the current branch
entire trail watch                      # stream reviews, findings, and agent run events live

entire trail finding                    # findings and each review agent's latest reading for this branch
entire trail finding apply <id>         # apply a finding's suggested fix
entire trail finding resolve <id> -m "fixed in abc123"
entire trail finding reply <id> -m "intentional: the cache is per process"

entire trail comment add -m "Should this cover the admin API too?"
entire trail ready                      # mark this branch's change ready for review (--undo: back to draft)
entire trail retarget --base release/2  # change the base branch it merges into
entire trail attachment add shot.png    # upload an image; prints the line that shows it in the description
entire trail approve
entire trail rerun-review               # review the current head again (--agent <id> for one agent)
entire trail update-branch              # merge the base into the branch on the server (Entire-native repos)
entire trail merge                      # merge this branch's change into its base
entire trail resume 42                  # continue Trail #42: restore its branch's sessions in your agent

Trail commands use the current repository's project (gh/<owner> or et/<project>); pass --project or --repo to work on another one without a checkout. entire trail list always takes --project. Other subcommands are checkout, link, unlink, update, and approvals.

Project agents are those evals: review agents such as risk, confidence, drift, security, and review, configured per project in Entire, which score each push to a Trail and raise its findings. entire project agent lists them and adds Entire's presets to your repository with add; entire project agent run lists, inspects, cancels, and retries their runs. Preset agents run on free credit; a custom agent runs once the project's billing is set up.

Agent Sessions

entire enable connects your agents and installs Entire's git hooks, keeping any hooks you already have. Use your agent and commit as usual: each commit that includes agent work gets a checkpoint — the prompts, transcript, and files touched — linked to the commit by an Entire-Checkpoint trailer. Entire never adds commits to your branch; by default, checkpoints are stored as their own Git refs (refs/entire/checkpoints/…) and pushed alongside your code.

entire checkpoint list                # checkpoints on this branch
entire checkpoint explain <id>        # the prompt, transcript, and files behind a checkpoint
entire session resume <branch>        # restore a branch's sessions and continue in your agent
entire agent add <name>               # add an agent later; entire configure for other settings
entire disable                        # turn capture off (--uninstall removes Entire from the repo)

See Sessions and Checkpoint Storage for how capture works and migrating from legacy branch storage, Settings and Git Hooks for configuration, and Checkpoint Destination for choosing the remote or a separate checkpoint repository.

Checkpoints are also the raw material for continuous memory: entire-brain, installed separately, combines them with entire-graph's code map into project memory your agents can query. From the CLI, entire search and entire checkpoint explain are the way in.

Search, Activity & the API

entire api /api/v1/clusters
entire api --to cell "/api/v1/me/recap?repo={repo_id}"
entire api /api/v1/me

Plugins

Any executable named entire-<name> on $PATH runs as entire <name>. Install plugins from the plugin index or any Git host:

entire plugin search
entire plugin install <name>
entire plugin list

Installs from a Git host are verified against the release's checksums.txt. See entire plugin.

Security & Privacy

Session transcripts are pushed to your Git remote — as checkpoint refs, not commits on your branch. If that repository is public, anyone can read them. Entire redacts detected secrets before writing a checkpoint, but redaction is best effort; entire checkpoint list --outgoing shows what your next push will upload, and entire checkpoint explain <id> shows a checkpoint's contents.

To keep transcripts out of a public repository, upload them to a separate private repository (entire configure --local --checkpoint-remote github:<owner>/<repo>) or stop uploading them (entire configure --local --skip-push-sessions). entire enable names the checkpoint destination every time it runs. See Security for redaction, scanners, deleting checkpoints, and cleaning up data from older versions.

Troubleshooting

Issue Solution
"Not a git repository" Navigate to a Git repository first
"Entire is disabled" Run entire enable
Agent hooks outdated after a CLI upgrade Run entire agent add <name>; add --force if that does not fix them
A session stuck ACTIVE, or leftover session state Run entire doctor, then entire clean --force if it persists
Anything else Run entire doctor; entire doctor bundle produces a redacted diagnostic bundle for a bug report

Set ENTIRE_LOG_LEVEL=debug for debug logs, and ACCESSIBLE=1 for screen-reader-friendly prompts. Headless servers and CI: see entire login.

Documentation

License

MIT License — see LICENSE.

cli (entireio/cli)

Ищем в базе…

5.3K ·GitHub
Что это такое?Entire — это CLI-утилита, которая подключается к вашему Git-процессу, записывает сессии ИИ-агентов для написания кода (промпты, ответы, затронутые файлы) и индексирует их вместе с вашими коммитами, создавая доступную для поиска историю того, как был написан код.
Это GUI-приложение или оно тихо работает в фоне?Это утилита командной строки, которая устанавливает Git-хуки в ваш репозиторий. Она работает в фоне, пока вы пользуетесь ИИ-агентом, а напрямую вы с ней взаимодействуете только через команды вроде entire session или entire search.
Как установить и начать пользоваться им в проекте?В macOS и Linux установите через Homebrew (brew install --cask entire) или скриптом установки; в Windows используйте установщик PowerShell (он использует Scoop, если тот доступен). Затем выполните entire enable в репозитории, чтобы установить Git-хуки и выбрать, какие интеграции с агентами добавить.
Что нужно иметь до начала работы и какие агенты поддерживаются?Нужны Git и поддерживаемый ИИ-агент, установленный и авторизованный. Упоминаются Claude Code, Codex, Gemini, Cursor, Pi и OpenCode. Сборка из исходников через go install дополнительно требует Go 1.26+.
Entire как-нибудь трогает историю коммитов, и что с CI или машинами без интерфейса?Нет — Entire никогда не создаёт коммиты в вашей текущей ветке; контрольные точки хранятся как независимые Git-ссылки вне истории веток. На машинах без графического интерфейса (CI, контейнеры, минимальные ВМ), где нет доступного браузера или связки ключей ОС, нужен вход по коду устройства (device code) или вход на основе файла/токена вместо стандартной связки ключей.
Где на самом деле хранятся данные сессий и токен входа?Записи сессий и контрольные точки хранятся в объектном хранилище Git вашего репозитория как отдельные ссылки, но никогда не в истории веток. Токены входа по умолчанию хранятся в связке ключей ОС (Keychain на macOS, Secret Service в Linux, Credential Manager в Windows), а для машин без интерфейса — в локальном файле tokens.json.
В чём разница между сессией и контрольной точкой?Сессия — это весь ход взаимодействия с ИИ-агентом от начала до конца, включая все промпты, ответы и затронутые файлы. Контрольная точка — это снимок, который делается каждый раз, когда вы или агент делаете Git-коммит, и привязывается к этому коммиту через трейлер Entire-Checkpoint.
Как продолжить предыдущую сессию ИИ?Выполните entire session resume (в интерактивном режиме или по ветке). Entire переключится на нужную ветку, восстановит метаданные последней сохранённой сессии и выведет команду, чтобы продолжить ровно с того места, где вы остановились.
Работает ли это с git worktree и несколькими одновременными сессиями агентов?Да — каждое рабочее дерево получает независимое отслеживание сессий. Если на одном коммите работает несколько сессий ИИ, Entire отслеживает их отдельно, сохраняя все их контрольные точки.
Какие каналы выпусков доступны?Entire выпускается в канале «stable», который используется по умолчанию для Homebrew, Scoop и install.sh, а также в более часто обновляемом канале «nightly» для тех, кто хочет получать последние изменения раньше.
Какие есть похожие проекты?agentplay, iFixAi, casbin-gateway, gh-aw, ruflo, overmind, golutra, destructive_command_guard
Автор
entireio
Размер
745 MB
Звёзды
5.3K
Возраст
10 мес
Коммиты · 90 дней