Skip to main content

tts-cli

CI License: MIT

Deterministic, read-only audits for Tabletop Simulator save files and the local asset cache. The JSON output is designed for AI agents, CI jobs, and scripts that need evidence without launching the game or rewriting a save.

Русская версия

Install

Python 3.12+ and uv are required. Install the released CLI from PyPI:

uv tool install tabletop-simulator-cli==0.1.1
tts --help

To run it once without a persistent installation:

uvx --from tabletop-simulator-cli==0.1.1 tts --help

For development from source:

git clone https://github.com/rusliksu/tts-cli.git
cd tts-cli
uv sync --locked

Audit a save

uv run tts assets audit <save.json> [--mods-dir <path>] [--json]

Without --mods-dir, the CLI looks for the nearest Mods directory or a Mods directory next to Saves.

Exit codes:

  • 0: audit completed with no findings;
  • 1: full report produced with not_found_in_cache or unverified assets;
  • 2: invalid input or local configuration;
  • 3: unexpected internal error.

not_found_in_cache only means that the deterministic local rules did not find a matching file. It does not mean that the remote URL is unavailable.

Safety boundaries

  • No network requests during an audit.
  • No downloads, cache deletion, URL replacement, or save-file mutation.
  • Lua source and arbitrary text are not scanned for URLs.
  • Real Workshop saves and game assets are not included in this repository.

The machine-readable contract is documented in audit-report-v1.schema.json.

Development

uv sync --locked
uv run pytest
uv run --with ruff==0.16.5 ruff check src tests
uv run --with ruff==0.16.5 ruff format --check src tests
uv build

See the pilot contract and comparison with existing tools.

Metadata

Release files for tabletop-simulator-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tabletop-simulator-cli 0.1.1
File Size Uploaded
tabletop_simulator_cli-0.1.1.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tabletop-simulator-cli 0.1.1
File Interpreter ABI Platform
tabletop_simulator_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / tabletop_simulator_cli-0.1.1.tar.gz

Download URL tabletop_simulator_cli-0.1.1.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c309112f1af0f0a904534a84d4960e4931a1b4698e2653a445c29ddb2ba61085
BLAKE2b-256 checksum
How to use checksums
98dec40cb2dfcdf025706acc4d48b88635f6317c9296bd8a296d079146c470a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 30, 2026.

Transparency log

Release files / tabletop_simulator_cli-0.1.1-py3-none-any.whl

Download URL tabletop_simulator_cli-0.1.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb4478ba8105b2c3f02b2d7aee4e97c6f4f6c362cada82861aea179d165a3b30
BLAKE2b-256 checksum
How to use checksums
155e2c2209aa2993be0144803a808abb6f0ae65a304fcba515fdeca49de391de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page