Repository navigation
v1.0.0
The first stable release. Failures are easier to read and act on: a refused project join says
why instead of asking for a new login, and reads that fail for a passing reason are retried a few
times before ending in the new TRANSIENT_FAILURE, while writes are still never sent twice.
doctor checks an install against its Overleaf without changing anything, and capabilities
reports what the backend can do in a project. The server still registers 34 tools.
Added
TRANSIENT_FAILUREerror code,retryable: true, for a read that kept failing for a reason
that passes, and for a project join Overleaf refused withretry, as while restarting. The
failed read changed nothing. A tool that writes can return it after its change was sent, when
reading the result back failed; then it is not retryable, anddetails.createdor
details.appliedsays what changed where the tool knows. The command line exits 7 for it from
a read-only operation and 5 from one that writes, or 4 withdetails.createdor
details.applied.- Bounded retry for reads only. A read, a
GETor the project list'sPOST /api/project,
that failed on the network, was cut off, or answered HTTP 5xx, and a project join that failed
before Overleaf answered it for a passing reason (aretryrefusal, real-time's own failure, a
socket that closed or failed, a handshake network failure or HTTP 5xx, or a Socket.IO error
packet advising a reconnect), are tried again after a short randomized exponential backoff, up
toOVERLEAF_READ_ATTEMPTSattempts in all (default 3, at most 3; 1 turns retries off).
Exhausted, the call fails withTRANSIENT_FAILURE,details.attempts,details.lastCode, and,
when known,details.status,details.reason,details.path, anddetails.event: "joinProject". No request that changes something is ever sent twice, and no read that timed
out, was rate-limited, or was refused is retried. AppConfiggains two optional fields,readAttemptsandminRequestIntervalMs, which
readConfigfills in from the two new variables; a configuration built without them gets the
same defaults.overleaf-web-mcp doctor [projectId], a command line check of an install, read-only:
the configuration and access policy, the saved session, the bootstrap page and its CSRF token
and user, the project list, and with aprojectIdthe Socket.IO handshake,joinProjectand
its protocol version, and a join and leave of the root document. It prints
{ version, checks: [{ id, status, code? }] }withstatusok,failed,unsupported, or
skipped, names no project, file, or person, sends no update, and exits 1 when any check failed
or was unsupported, its report still on stdout. An environment variable it cannot read exits 2
with the usual error line. It is not an MCP tool.backendin thecapabilitiesreport:{ kind: "web-session", liveRevisions, trackedWrites, review: { list, decide }, comments, compile, history }. With aprojectId,
review.decidesays whether this account can accept or reject tracked changes there; without
one, or for one the access policy refuses, it is"unknown".capabilities <projectId>now joins the project's socket to find out.OVERLEAF_MIN_REQUEST_INTERVAL_MS(default 0, at most 60000) spaces the starts of REST
requests from one process.- A network failure of a REST request, or an answer cut off before it was read, is
REMOTE_ERROR
withdetails.kind: "network"; before, a cut-off answer surfaced as an untypedREMOTE_ERROR.
A Socket.IO handshake answered with an HTTP error carriesdetails.status,retryablefor 5xx. - Socket.IO error packets are decoded:
7:::1+0isclient not handshaken
(details.reason: "not_handshaken") with the advice to reconnect,retryable: true.
Changed
- Socket rejections are classified. A project join Overleaf refuses is no longer
AUTH_EXPIREDfor every reason but the rate limit.invalid sessionstaysAUTH_EXPIRED;
retryisTRANSIENT_FAILURE;not authorizedisPERMISSION_DENIED;project not foundis
NOT_FOUND; a bad project id isINVALID_ARGUMENT;too many requestsjoins the join limiter
asRATE_LIMITED; real-time's own failures are retryableREMOTE_ERROR
(details.reason: "connection_error"or"realtime_error"); and anything else is
REMOTE_ERRORwith the identifier its message maps to, ordetails.reason: "unrecognized". An agent is no longer told to sign in again
for a failure a new login would not fix. The command line's exit code follows the new code.
not authorizedcan also mean a session that is no longer signed in, as Overleaf's own editor
reads it, so its message says to checkauth_status. - A signed-in project page without a CSRF token, or with an empty one, is
PROTOCOL_UNSUPPORTEDwithdetails.kind: "response_shape"anddetails.endpoint: "GET /project", notAUTH_EXPIRED. A page with no signed-in user, or a redirect to/login, is
stillAUTH_EXPIRED. - Project joins that failed without an answer. A Socket.IO handshake that failed on the
network is retryableREMOTE_ERROR(details.kind: "network"), notTIMEOUT; only a handshake
that timed out isTIMEOUT. A transport error during the join, such as an upgrade refused with
HTTP 502, is retryableREMOTE_ERRORwithdetails.reason: "disconnected", as a socket that
closed is. AjoinProjectResponsewithout the fields this release reads is
PROTOCOL_UNSUPPORTEDwithdetails.kind: "response_shape"anddetails.event: "joinProject",
and every failed join closes its socket; before, such an answer could leave the socket open. update_project_settingswhose settings were all stored but whose read-back failed says so:
the error keeps its code, is not retryable, and carriesdetails.applied, so the command line
exits 4.- The tool output schemas that list error codes include
TRANSIENT_FAILURE. - The Agent Skills and the command line guide pin
npx --yes overleaf-web-mcp@1.0.
Removed
ROADMAP.mdand the documentation site's Roadmap page. The plan they described ran to this
release; earlier changelog entries link to the roadmap as it stood at
v0.9.0. Planned work is
tracked in GitHub issues.
Documentation
- The README describes the security model (the saved session's permissions, stdout framing, what
errors never carry, retries, and the limits of the access policy), the Terms-of-Service
posture, what happens when Overleaf changes its private endpoints, and what Semantic Versioning
covers from 1.0.0. - With the roadmap gone,
AGENTS.mdand the development guide say how work is planned and
released: planned work lives in GitHub issues with mechanically checkable acceptance criteria;
the conventions for new tools, error codes, variables, and commands, and the files each one
touches; how to choose a major, minor, or patch version; what to check before starting a
release; and the release checklist, from the changelog through live tests to checking the
published package. A tightened safety default is now announced in a minor release and enforced
in the next major one, as Semantic Versioning requires from 1.0.0; before 1.0.0 it was enforced
one minor later. - The installation guide gains a compatibility section and points at
doctorfor
troubleshooting; the command line guide documentsdoctorand thebackendreport; the
configuration guide documents retries and pacing; the private API catalogue lists every
connectionRejectedpayload and the code it maps to.
Internal
- The stdio tests drive the real server over piped streams with a 2025-11-25 client and a
2026-07-28 client, and check that each receives the instructions and that stdout carries only
JSON-RPC. scripts/check-pack.tschecks the packed file list for the entry points, the skills, and the
license, and refuses sources, tests, and session files. CI and the publish workflow run it.