skill
adom-cli
Public Made by Adomby adom
Adom CLI — platform binary for containers, repos, workspaces, orgs, SSH keys, Hydrogen settings, and more
← Commit history
Publish 4.1.2
4 files changed
+16−6
adom-cli⋯ 1 unchanged line ⋯
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-cli",- "version": "4.1.1",+ "version": "4.1.2", "type": "app", "org": "adom", "description": "Adom CLI \u2014 platform binary for containers, repos, workspaces, orgs, SSH keys, Hydrogen settings, and more",
page.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-cli",- "version": "4.1.1",+ "version": "4.1.2", "type": "app", "org": "adom", "description": "Adom CLI — platform binary for containers, repos, workspaces, orgs, SSH keys, Hydrogen settings, and more",
skills/adom-cli/setup/SKILL.md+14−4@@ -20,7 +20,12 @@ adom-cli carbon containers images ## Outside Adom containers -If running the CLI outside an Adom container, set auth manually:+On any machine already signed in to Adom (Adom Bridge on a desktop, an ah+workspace), **no setup is needed either**: the CLI falls back to the platform+sign-in at `~/.adom/session.json`, read fresh on every call, so a rotated+session never strands it.++Otherwise, set auth manually: ```bash adom-cli config set-url https://carbon.adom.inc@@ -36,9 +41,14 @@ export ADOM_API_TOKEN=<your-token> ## Token resolution order -1. Config file (`~/.config/adom-cli/config.json`)-2. Environment variable (`ADOM_API_TOKEN`)-3. Container token file (`/var/run/adom/api-key`) — **this is the default in Adom containers**+First match wins:++1. `ADOM_API_TOKEN` env (absolute precedence: the recovery escape hatch; `ADOM_API_KEY` is accepted as an alias)+2. Stored config token (`~/.config/adom-cli/config.json`, via `config set-token`)+3. Container token file (`/var/run/adom/api-key`): **the default in Adom containers**+4. `~/.adom/session.json` `session_token`: the platform sign-in (Adom Bridge desktops, ah workspaces)++`adom-cli config show` prints `token_source`, naming which link is active. ## Verify