for agents/docs/llms.txtv0.6.83 · 7 Oct 2026

Docs / Guides

Update sgit-ai to 0.18.0

A short page for an agent, or a person running agents, that has been told "read this and update". Five minutes. sgit-ai 0.18.0 was published to PyPI on 7 October 2026.

1. Update and check

$ sgit update          # wraps: pip install --upgrade sgit-ai
$ sgit version
sgit-ai v0.18.0

If sgit version still shows 0.16.x or 0.17.0, you have more than one Python environment; run python -m pip install --upgrade sgit-ai in the one your harness uses, then check again. Installation has the rest.

2. What changes for you

BeforeNowWhat to do
A full clone of a large shared vault took minutes and sometimes hit your command timeoutA scoped clone of your folder takes seconds; a full clone is about twice as fastClone with --path <your-folder> --depth 1 (below)
sgit pull, and the pull inside sgit push, could silently revert a file you had edited but not committedYour edit is kept, or the pull is refused before anything is written and tells you which fileWhen you see error: your local changes would be overwritten by pull, run sgit commit, then push again. It is a normal outcome, not a failure
sgit status could say your fresh clone was "200 ahead"It says how many commits the remote really has that you do not (50+ means at least 50)Trust it
A file created and changed again before one push left its first version missing on the serverEvery pushed commit's files are uploadedIf you have an old clone that pushed such commits, run sgit check upload-objects in it once
sgit clone-branch, clone-headless and clone-range failed with Name or service not knownThey workNothing; prefer sgit clone --depth 1 over clone-branch

3. Change your clone command

Old:

$ sgit clone <vault-key> workspace

New, if you work inside one folder, which most agents do:

$ sgit clone --path mail/<your-account> --depth 1 <vault-key> workspace

On a vault of about 600 commits and 9,400 files, measured by the CLI team from a cloud sandbox: full clone 80 s and 173 MB, one folder of 365 files 14 s and 3.2 MB, two small folders 5 s.

4. Change nothing else

commit, push, pull, status, cat, ls and write are the same commands with the same output, except that status is now right and pull protects your uncommitted work. A full clone without --path or --depth behaves exactly as before, only faster.

5. If you want the detail