@bigstrider/transcodes-cli
v0.2.0
Published
Transcodes CLI — manage the ai-action-tracker member token (login/logout/status).
Downloads
138
Readme
@bigstrider/transcodes-cli
Token manager for the ai-action-tracker plugins (Claude Code / Codex / Cursor / Antigravity).
The plugins and their hooks authenticate to the Transcodes backend with a member MCP JWT. This CLI is the safe way to store that token: you paste it into your terminal, never into the agent chat (which would leak it into the transcript).
Install
# no install needed — opens the dashboard
npx @bigstrider/transcodes-cli
# or global
npm install -g @bigstrider/transcodes-cli
transcodesWorks the same on macOS, Linux, and Windows (Node ≥ 20).
Commands
| Command | What it does |
|---------|--------------|
| transcodes | Opens the dashboard at http://127.0.0.1:3847/ to paste, save, switch, label, or delete tokens (accepts --port N / --no-open). |
| transcodes set <token> -l <label> | Validates the JWT and saves it (label required) to ~/.transcodes/config.json (dir 0700, file 0600), making it active. |
| transcodes tokens | Lists all saved tokens; the active one is marked with *. |
| transcodes status | Shows the active token source (env vs file) and its expiry. |
| transcodes reset | Deletes all saved tokens. |
| transcodes help | Shows the full command list and usage. |
Dashboard
npx @bigstrider/transcodes-cliStarts a small localhost server (127.0.0.1 only), opens your browser, and lets you save, switch, rename, or delete tokens without pasting them on the command line. Multiple tokens are kept in ~/.transcodes/config.json under token_list, each with a label; the active one is stored as token.
Options:
--port N— bind to a specific port (default3847; increments if busy)--no-open— do not open the browser automatically
Token precedence
The plugins resolve the token in this order (see @ai-action-tracker/stepup-core resolveToken()):
TRANSCODES_TOKENenvironment variable — overrides everything (CI / power users)~/.transcodes/config.json— written by this CLI- none → the hook fail-safes (blocks danger commands, cannot start step-up)
Notes
- Windows security: the
0600mode is a POSIX concept and is largely ignored on Windows. The file still lives under your user profile (C:\Users\<you>\.transcodes\) and is user-scoped by default. A hardware-backed OS keychain is tracked indocs/prd/0005-token-auth-device-flow.md. - The token never passes through the agent chat — this CLI writes the file directly.
