Skip to content

olcli 0.16.0

Choose a tag to compare

@aloth aloth released this 06 Nov 21:41
· 30 commits to main since this release

olcli 0.16.0

From install to your first pull in five minutes, on the free Overleaf plan.

Added

  • Sign in through a browser window: olcli auth --browser. Opens your instance's login page in Chrome, Edge, Chromium or Brave with a new temporary profile, waits until you have signed in, and keeps only the session cookie. SSO, Google, ORCID and two-factor logins work, and olcli never sees your password. The browser is closed and the temporary profile deleted on success, error, timeout and Ctrl-C. Set OLCLI_BROWSER when your browser is not in the usual place. Needs Node 22 or newer.
  • olcli auth status shows the instance, the account, where the credential comes from and a masked cookie, and exits 1 when you are not signed in. whoami and check keep working as hidden aliases.
  • Proxy support. Every request honors HTTPS_PROXY, HTTP_PROXY, ALL_PROXY and NO_PROXY. https instances are reached through a CONNECT tunnel, so the proxy never sees the session cookie, and localhost is always reached directly (#29).
  • NO_COLOR and --no-color turn off color everywhere.

Changed

  • Errors name the cause and the next command, for example "Session expired or invalid. Run: olcli auth", in the CLI, the MCP server and the git remote helper.
  • Cookie sign-in without shell history. olcli auth --cookie without a value asks with hidden input, --cookie - reads stdin, and a cookie on the command line prints a warning. After signing in, olcli prints the next two commands.
  • Forgiving project lookup. A name matches exactly, then case-insensitively, then by a unique prefix. An ambiguous name lists the candidates and exits 1; a miss suggests close names.
  • Behavior change: local names keep letters from any script. "Masterarbeit Müller" is now pulled to Masterarbeit_Müller instead of Masterarbeit_M_ller. Directories pulled by an earlier version are reused.
  • Grouped help. olcli --help lists commands in workflow order with short descriptions and an Environment section.
  • Behavior change for scripts: piped output is plain. Without a terminal, results start with ok:, error:, warning: or info: instead of symbols, and emoji are left out.
  • Commander 14. Node 20.18.1 or newer is still required.

Fixed

  • The Nix flake builds again (#24), so nix run github:aloth/olcli works.

Documentation

  • The README is rebuilt around the first run (224 instead of 533 lines), with a latexdiff demo, one MCP setup for Claude Code, Codex and Cursor, and the deep dives moved to docs/.
  • The landing page at https://aloth.github.io/olcli/ matches the README, and CI checks every command on it against the CLI.

Full changelog: v0.15.3...v0.16.0