reviso-cli
Command line client for Reviso, a content collaboration system where agents publish Markdown and HTML drafts and a human team reviews them.
This is the client half of Reviso. It talks to a Reviso server over HTTP and
contains no server code. It has no runtime dependencies: the transport is
urllib, so publishing a Markdown file does not pull a dependency graph into an
agent's environment.
Install
pip install reviso-cli
# or run it without installing
uvx --from reviso-cli reviso --help
Installs the reviso command. No runtime dependencies: installing it will not
pull a dependency graph into an agent's environment.
Quick start
reviso auth login --server https://reviso.work
# opens a browser for consent; use --no-browser to open the URL yourself
reviso doctor --json
reviso publish draft.md --title "Q3 launch plan" --json
# Save document_id as DOCUMENT_ID and share the returned review_url.
reviso packet "$DOCUMENT_ID" --format json
# Open the printed file. Save base_version_id as BASE_VERSION_ID in your shell
# and edit a copy of document_content in revised.md.
reviso update "$DOCUMENT_ID" revised.md \
--description "Address reviewer feedback" \
--base-version-id "$BASE_VERSION_ID"
Browser login
When an agent is already connected, the CLI can still need its own login. Run
reviso auth login --server https://reviso.work, approve Reviso CLI in the
browser, then run reviso workspaces --json. For another server, use the exact
command printed by reviso auth status. To authorize the CLI to use an existing
DSH connection, run the printed --from-dsh command. The CLI then reads the
token and workspace for that server from DSH on each use, until you log out.
Keep the CLI running and open the login URL in a browser on the same computer.
reviso auth status shows the selected server and login state without credentials;
reviso auth logout removes that server's saved login. Revoke the connection in
Settings → Integrations to end its server access.
Credentials live in an owner-only file at ~/.config/reviso/credentials.json
(or under XDG_CONFIG_HOME), separately for each server, and refresh automatically.
An existing REVISO_AUTOMATION_KEY or --key still supports headless use.
The credential lock currently supports macOS and Linux.
The rule that matters
update and rollback require --base-version-id.
The base is the version you actually read. Without it, a write could silently
discard a human's concurrent edit, so the CLI fails before contacting the server.
Open the file printed by packet, save its base_version_id, and edit a copy
of its document_content. Keep them together through submission.
reviso packet "$DOCUMENT_ID" --format json
reviso update "$DOCUMENT_ID" revised.md --description "Address feedback" --base-version-id "$BASE_VERSION_ID"
# For a rollback, first review the current body and save its base_version_id.
reviso rollback "$DOCUMENT_ID" "$TARGET_VERSION_ID" \
--description "Restore the reviewed draft" --base-version-id "$BASE_VERSION_ID"
If a write is rejected as a conflict, re-read and re-apply your change on top of
the human's edit. --force-latest is the explicit last-writer-wins opt-in: it
performs one fresh read and uses that version as the base. It cannot be combined
with --base-version-id.
Command groups
| Group | Commands |
|---|---|
| Connection | auth, doctor, health, ready, version |
| Documents | publish, open, status, documents, search, packet, document archive, document restore |
| Presentations | deck validate |
| Revisions | versions, diff, update, rollback |
| Reviewers | invite, guest, comment, reply, resolve |
| Data | export, import, workspaces |
Deliberately not in this client
These are boundaries, not gaps to be filled later:
- No server commands. Starting a Reviso server is not part of the client.
- No share-link creation. A share link carries a bearer token in its URL, and creating one is a browser action where the person handing it out can see who it is going to. Invites by email are here instead.
- No owner or operator surfaces. Metrics, debug replay, and internal replay endpoints are not exposed.
If you need MCP tools rather than a shell, the hosted connector is the better path in most hosts. See reviso-agent for the agent skill.
Provenance
Publishing from an agent runtime binds provenance automatically when the runtime
exposes DSH_SESSION_ID. You can pass an explicit pair instead:
reviso publish draft.md --source-kind dsh --source-session-id "$DSH_SESSION_ID"
--source-kind and --source-session-id must be supplied together. Use
--no-source-binding for an intentional no-source publish; it cannot be combined
with either provenance flag.
License
MIT. See LICENSE.
The Reviso product itself is not open source. This repository covers the client only; it grants no rights to the service or its server software. See VISIBILITY.md for the boundary this repository holds, and CONTRIBUTING.md before opening a pull request.
HTML presentations
The CLI recognizes a div with the hr-deck class at the root. Check the original HTML and images against the target workspace's limits, then publish the same file.
reviso deck validate presentation.html --workspace-id "$REVISO_WORKSPACE_ID"
reviso publish presentation.html --workspace-id "$REVISO_WORKSPACE_ID"
Publish checks embedded images before creating the draft and uploads each distinct image once. To revise the same link, use the document ID and the version you reviewed. The CLI reuses matching images already in that document.
reviso deck validate presentation.html --document-id "$DOCUMENT_ID"
reviso update "$DOCUMENT_ID" presentation.html --description "Revise charts" --base-version-id "$BASE_VERSION_ID"
Use --no-upload-images on validate, publish, and update to keep original images inline. Standalone validation creates no document or assets. Add --json to see the measurements and per-slide diagnostics.
Ordinary HTML and Markdown publish as documents. You can also set the kind explicitly with --kind html_deck or --kind document.
Metadata
Release files for reviso-cli 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reviso_cli-0.3.1.tar.gz | 67.4 kB | With provenance | Details for reviso_cli-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reviso_cli-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for reviso_cli-0.3.1-py3-none-any.whl |
Total release size: 122.9 kB
Release files / reviso_cli-0.3.1.tar.gz
| Download URL | reviso_cli-0.3.1.tar.gz |
|---|---|
| Size | 67.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e93bce9df019b5081c5b33c49f1ce283c22c5be94b7eb14dff7cda295b0313af
|
|
BLAKE2b-256 checksum How to use checksums |
09dda0ac0d375e88e9effe6ef362c89bc1261c1eac080b0d2988936da3b58320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / reviso_cli-0.3.1-py3-none-any.whl
| Download URL | reviso_cli-0.3.1-py3-none-any.whl |
|---|---|
| Size | 55.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c41c0acc50e5f7131060ae357f7156caba8976e93344150376a250ea2cd88a1
|
|
BLAKE2b-256 checksum How to use checksums |
c4a341e59a3adae220807fe72384c2dd70dc17766945846ccff6170950f7098a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for reviso-cli 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for reviso_cli-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.