rshow 0.0.2 → 0.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rshow",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Publish static artifacts to rshow",
5
5
  "license": "MIT",
6
6
  "homepage": "https://rslib.github.io/rshow",
@@ -96,7 +96,7 @@ Only the owner can share, rename or delete.
96
96
 
97
97
  On 2, fix the command and do not retry the same line.
98
98
  On a config error (`no server configured`, no token, or a config file that will not load), run `rshow doctor` and show its output to the person.
99
- On 4, or on exit 2 with `no token`, never ask for a token in chat. Tell the person to run `rshow login` in their own terminal, which saves the token in the Keychain.
99
+ On 4, or on exit 2 with `no token`, never ask for a token in chat. Tell the person to run `rshow login` in their own terminal, which saves the token where only their account can read it.
100
100
  On 5, retry once and then report the message verbatim.
101
101
  On 6, fix the page, never `--no-check` past it.
102
102
 
@@ -45,7 +45,7 @@ This file is the whole surface, both config files and the exit codes.
45
45
  | `rshow skills install [target ...]` | link or copy the three skills into `~/.claude/skills`, `~/.pi/agent/skills` or `~/.codex/skills` |
46
46
  | `rshow skills uninstall [target ...]` | remove the skill links and copies rshow made |
47
47
  | `rshow skills status [target ...]` | print `link`, `copy v<version>`, `missing` or `foreign` per target and skill |
48
- | `rshow login` | read a token from the terminal with no echo, check it and save it in the macOS Keychain. The person runs it, never the agent |
48
+ | `rshow login` | read a token from the terminal with no echo, check it and save it in the macOS Keychain, the Linux keyring or a 0600 file. The person runs it, never the agent |
49
49
  | `rshow logout` | remove the saved token |
50
50
 
51
51
  `--help` on its own prints the general usage, and `--help` after a command prints that command.
@@ -248,7 +248,9 @@ Later files win, and the environment beats both.
248
248
  `RSHOW_URL` overrides `url` and `RSHOW_ART` overrides `art`.
249
249
  `rshow init --url <admin-url> --art <viewer-url>` writes the global file with both, keeps its other fields, and prints the next step, `rshow login`.
250
250
  `rshow doctor [dir]` checks node, both config files, the token, the API, the art host, the theme and the skills, one line each, and exits 6 when a check failed. Run it on a config error and show its output to the person.
251
- The token comes from `RSHOW_TOKEN`, else from the macOS Keychain, where `rshow login` saves it. It is never read from a file or from a flag.
251
+ The token comes from `RSHOW_TOKEN`, else from the macOS Keychain, the Linux keyring or the 0600 credentials file, where `rshow login` put it. It is never read from a flag, and you never ask for one in chat: the person runs `rshow login`.
252
+ On a cluster, rshow trusts the system certificate store and any PEM file in `RSHOW_EXTRA_CA_FILE`, and `RSHOW_SYSTEM_CA=0` keeps the store out; `https_proxy` is used by the binary, and by an npm install with `NODE_USE_ENV_PROXY=1`.
253
+ `rshow login` needs no keychain on Linux: it uses the keyring, or writes `${XDG_CONFIG_HOME:-$HOME/.config}/rshow/credentials` with mode 600.
252
254
  `XDG_CONFIG_HOME` moves the global config file away from `~/.config`.
253
255
 
254
256
  ## Exit codes