AISOURCEOFTRUTH · EVIDENCE ROOMS

The rooms command line

The @aisourceoftruth/rooms package holds a client library and the rooms command. It needs Node 22 and has no dependencies. It signs in by the device flow, makes an Ed25519 upload key on your machine, signs each upload there, and checks exports offline with the same verifier every export carries.

Not on npm yet. @aisourceoftruth/rooms is not published, so npx cannot fetch it today. Until it is, reach Rooms from your coding assistant through the MCP server (setup) or the REST routes in /llms.txt. This page describes the command as it will ship.

Quickstart

Commands

CommandWhat it does
rooms loginDevice flow sign-in; saves the token
rooms case new <title>A case in your first organization, or --org
rooms add --case <id> <files>Hash, sign and upload; --amends <version> --reason <text> for a new version
rooms invite --case <id> <email>An invite with --role and --days
rooms export --case <id>Saves the tar and checks its SHA-256 against the one Rooms logged
rooms verify <tar or folder>Checks an export offline, with no network
rooms preserve <paths> --title <title>Sign-in, key, case and uploads in one step
rooms preserve <paths> --title <title> --no-accountThe same with no account: an agent case and a claim link
rooms key rotate, rooms key revokeReplace the upload key, or revoke it

Every command takes --json and --origin. Errors print Rooms' error code and what to do. Exit codes: 0 done, 1 refused or failed, 2 bad usage.

With no account

rooms preserve <paths> --title <title> --no-account signs in to nothing. It opens an agent case, registers one key for it, uploads the files and prints the claim link with the notice for the person. Give both to the person the case is for. The case token and its key are kept in their own folder, so they never replace a saved sign-in. The agent case limits are on the agent cases page.

Keys and tokens