Skip to content

fix(auth): support self-hosted Overleaf session cookies - #2

Merged
lonetis merged 1 commit into
lonetis:mainfrom
bartoszn:fix/self-hosted-session-cookies
Oct 20, 2026
Merged

lonetis merged 1 commit into
lonetis:mainfrom
bartoszn:fix/self-hosted-session-cookies

Conversation

@bartoszn

Copy link
Copy Markdown
Contributor

Summary

  • accept overleaf.sid used by current self-hosted Overleaf instances
  • retain support for Overleaf.com overleaf_session2 and legacy sharelatex.sid
  • document the session cookie variants
  • add regression tests for cached self-hosted sessions

Testing

  • npm test (75 passed, 24 skipped)
  • npm run typecheck
  • npm run build
  • manually verified login and doctor against a self-hosted Overleaf instance using overleaf.sid

@lonetis
lonetis merged commit 87afd68 into lonetis:main Oct 20, 2026
lonetis pushed a commit that referenced this pull request Oct 20, 2026
Releases 0.3.0, which ships the three contributions merged above:

- self-hosted Overleaf session cookies (#2, @bartoszn)
- review-mode track changes and comments (#1, @BerkIGuler)
- uploading images/PDFs for \includegraphics (#3, @Darrow8)

and revamps how the package is published. The Publish workflow now
releases each new version to two registries, each only when it does not
have that version yet:

- npm (`claudeleaf`) via npm trusted publishing (OIDC) instead of a
  long-lived NPM_TOKEN secret, with a provenance attestation. Runs on Node
  24, whose npm (>= 11.5.1) supports trusted publishing.
- GitHub Packages (`@lonetis/claudeleaf`), the same build under the owner
  scope GitHub Packages requires, published with GITHUB_TOKEN so the
  package and its versions show on the repo page.

package.json gains the `repository` field that provenance and the GitHub
Packages link both need, and the exported `version` constant and the MCP
server's reported version now match package.json. CLAUDE.md documents the
new publishing setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015XnPdQXFWDT6FTnQs1d1f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants