@bigstrider/transcodes-cli 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -5
  2. package/dist/index.js +1154 -5921
  3. package/package.json +3 -4
package/README.md CHANGED
@@ -24,9 +24,11 @@ Works the same on macOS, Linux, and Windows (Node ≥ 20).
24
24
  | `transcodes` | Opens the local dashboard (URL printed in the terminal; default port 3847, increments if busy) to paste, save, switch, label, or delete tokens (accepts `--port N` / `--no-open`). |
25
25
  | `transcodes set <token> -l <label>` | Validates the JWT and saves it (label required) to `~/.transcodes/config.json` (dir `0700`, file `0600`), making it active. |
26
26
  | `transcodes tokens` | Lists all saved tokens; the active one is marked with `*`. |
27
- | `transcodes status` | Shows the active token source (env vs file) and its expiry. |
27
+ | `transcodes status` | Shows the active token source and its expiry. |
28
+ | `transcodes console` | Opens auth settings (passkeys, TOTP) for the active token in your browser. |
28
29
  | `transcodes reset` | Deletes all saved tokens. |
29
30
  | `transcodes policy refresh` | Force-refreshes the org policy bundle cache (same as MCP `refresh_rules`). |
31
+ | `transcodes version` | Prints the installed `@bigstrider/transcodes-cli` npm version (also `--version`, `-V`). |
30
32
  | `transcodes help` | Shows the full command list and usage. |
31
33
 
32
34
  Command descriptions are defined once in `cli/src/commands.ts` (SSOT) and shared with the dashboard CLI tab.
@@ -46,11 +48,10 @@ Options:
46
48
 
47
49
  ## Token precedence
48
50
 
49
- The plugins resolve the token in this order (see `@transcodes-guard/stepup-core` `resolveToken()`):
51
+ The plugins resolve the token from a single source (see `@transcodes-guard/core/stepup` `resolveToken()`):
50
52
 
51
- 1. `TRANSCODES_TOKEN` environment variable overrides everything (CI / power users)
52
- 2. `~/.transcodes/config.json` written by this CLI
53
- 3. none → the hook fail-safes (blocks danger commands, cannot start step-up)
53
+ 1. `~/.transcodes/config.json` written by this CLI, the only source of truth
54
+ 2. none the hook fail-safes (blocks danger commands, cannot start step-up)
54
55
 
55
56
  ## Notes
56
57