Skip to content

sync_gate 0.1.0

Choose a tag to compare

@KAYOKG KAYOKG released this 26 Nov 18:34
· 109 commits to main since this release

sync_gate 0.1.0

First release. sync_gate is the gatekeeper of your machine: when several coding agents share one computer, their heavy commands (builds, tests, installs, docker build) wait in a queue until there is memory for them. Light commands never wait.

What is in it

  • A queue for heavy commands, reached through shortcuts on the PATH or sync_gate run -- <command>. Exit code 75 means "still queued": sync_gate wait N runs it later.
  • Shared MCP servers: a server you adopted (sync_gate mcp adopt <name>) serves all your sessions with up to 3 instances (the default) instead of one per session. You adopt servers by name; nothing is adopted for you.
  • A PostgreSQL database per command for declared projects, dropped when the command ends (docs/postgres.md).
  • Plugins for Claude Code and Codex (session hook or SessionStart context, a skill and the MCP server).
  • A proxy benchmark, with how to run it (docs/benchmark.md).

Install

Windows (PowerShell):

irm https://gate.synclabs.team/install.ps1 | iex

macOS and Linux:

curl -fsSL https://gate.synclabs.team/install.sh | sh

No administrator rights; it writes only to your own folders. The installer checks the release archive against SHA256SUMS before it changes anything; on macOS it builds the tagged source with cargo instead. Update, uninstall and recovery: docs/install.md.

Files

File System
sync_gate-0.1.0-x86_64-pc-windows-msvc.zip Windows x64
sync_gate-0.1.0-x86_64-unknown-linux-musl.tar.gz Linux x64 (static)
sync_gate-0.1.0-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (static)
install.ps1, install.sh installers
SHA256SUMS checksums of all files above

macOS has no prebuilt file in 0.1.0: install.sh builds it with cargo (it needs Rust) and says so before it starts. It has not been run on a real Mac yet. Windows ARM64 is not part of 0.1.

Limits

  • On Windows, the files of pending commands can be read by the accounts of Codex's sandbox group. A pending command stays on disk until it runs, or for up to 25 hours. A guest in elevated mode that does not enqueue stays with no time limit, and so does an orphan marker. Do not put a secret on a command line. More in SECURITY.md.
  • The cost key (program, up to two short words, folder name) appears in sync_gate status, so it enters the agent's context and reaches the provider of the agent's model.
  • Sandbox commands join the queue only after the account is in guests; before that they run directly.
  • On Windows, the shortcut does not hide a program that exists only as a .ps1 when you run sync_gate shims install. If one appears later, it exits 127 with an instruction until the next install.
  • On Windows, the machine PATH comes before the user PATH: a program installed for all users goes through the queue only in PowerShell with the profile block. cmd.exe has no shortcuts. Elsewhere, wrap the command: sync_gate run -- <command>.
  • WSL and containers without systemd --user do not start the daemon by themselves; the installer says how to start sync_gated.

License

MIT or Apache-2.0, at your option.