Skip to content

Releases: Cang-yan/texleaf-sync

v0.1.4

Choose a tag to compare

@Cang-yan Cang-yan released this 10 Oct 03:05

Add From Chrome to texleaf auth login to discover Chrome profiles, validate saved cookies, and import sessions for cstcloud and overleaf.

Automatic Chrome profile discovery and cookie import are available only on macOS. Windows and Linux users should enter cookies manually with texleaf auth login. Both READMEs now state this limitation prominently.

  • If both platforms have valid sessions, save them and finish automatically.
  • If neither session can be imported, show a manual-login hint and return to the login menu.
  • If only some sessions can be imported, save those sessions, list the remaining platforms, and offer manual login or Finish.
  • Support --from-chrome and --chrome-profile for direct imports, with at most one Keychain request per batch.
  • Validate each session before saving it with owner-only file permissions. Failed imports preserve existing saved sessions.

Install or upgrade

npm install -g https://github.com/Cang-yan/texleaf-sync/releases/download/v0.1.4/texleaf-sync-0.1.4.tgz
texleaf --version
texleaf auth login

On macOS, choose 4. From Chrome to check all supported platforms. macOS may prompt for access to the Chrome Safe Storage Keychain item.

Validation

  • npm test: 35 tests passed.
  • Release tarball installed in a separate directory; CLI version, login options, packaged files, and both README platform notices verified.

v0.1.3

Choose a tag to compare

@Cang-yan Cang-yan released this 13 Aug 12:47

Bug Fixes

  • Fix push deadlock in the freshness check: it now compares the remote branch against the merge base instead of comparing the two trees directly, so unpushed local commits no longer trigger an endless pull/push loop.
  • Exclude gitignored tracked files (e.g. .DS_Store) from verification and the push plan, fixing "Remote verification failed".
  • Clean up temporary snapshot directories: snapshots are removed after use, and stale ones are pruned before each download.
  • Add a "Please log in again" hint when the Overleaf cookie session is invalid.

Install

npm install -g https://github.com/Cang-yan/texleaf-sync/releases/download/v0.1.3/texleaf-sync-0.1.3.tgz

texleaf-sync v0.1.2

Choose a tag to compare

@Cang-yan Cang-yan released this 05 Aug 08:48

Adds cloning directly from Overleaf project URLs, including CAS Cloud, official Overleaf, and cn.overleaf.com URLs. The CLI now parses host, platform, and project id from the clone argument while preserving raw project-id workflows.

texleaf-sync v0.1.1

Choose a tag to compare

@Cang-yan Cang-yan released this 05 Aug 08:23

Adds self-hosted Overleaf CE password login, keeps cookie login interactive-only, documents the streamlined login flow, and includes tests in the repository.

texleaf-sync v0.1.0

Choose a tag to compare

@Cang-yan Cang-yan released this 05 Aug 07:03

Initial public release of the TypeScript texleaf CLI. Includes cookie authentication, project clone, pull, status, verify, dry-run push, and verified push workflows.