It would be useful if olcli provided commands to programmatically accept or discard changes suggested by reviewers in an Overleaf project.
Currently, olcli can retrieve reviewer comments/changes, but workflows that process review feedback from the command line would benefit from being able to resolve the corresponding changes directly.
A possible interface could look like:
olcli changes list --status open --json <project_id>
olcli changes accept <change_id> <project_id>
olcli changes discard <change_id> <project_id>
Alternatively, if reviewer changes are represented as part of the comments/review API:
olcli comments accept-change <comment_id> <project_id>
olcli comments discard-change <comment_id> <project_id>
Ideally, the commands should:
- accept or discard a specific reviewer change using its ID;
- return a non-zero exit code if the operation fails;
- support
--json output for scripting and automation;
- expose enough information through the existing
list command to associate a reviewer comment/change with the corresponding ID.
Motivation
This would make it possible to build automated review workflows around olcli. For example, an agent could:
- Retrieve open Overleaf comments and suggested changes.
- Inspect the corresponding LaTeX source.
- Propose a fix to the user.
- Wait for explicit user approval.
- Apply the modification locally.
- Accept or discard the corresponding reviewer change/comment through
olcli.
This would allow olcli to support human-in-the-loop workflows where an automated tool assists with reviewer feedback while the user retains control over which changes are accepted.
It would be useful if
olcliprovided commands to programmatically accept or discard changes suggested by reviewers in an Overleaf project.Currently,
olclican retrieve reviewer comments/changes, but workflows that process review feedback from the command line would benefit from being able to resolve the corresponding changes directly.A possible interface could look like:
Alternatively, if reviewer changes are represented as part of the comments/review API:
Ideally, the commands should:
--jsonoutput for scripting and automation;listcommand to associate a reviewer comment/change with the corresponding ID.Motivation
This would make it possible to build automated review workflows around
olcli. For example, an agent could:olcli.This would allow
olclito support human-in-the-loop workflows where an automated tool assists with reviewer feedback while the user retains control over which changes are accepted.