@almyty/credentials 1.5.2 → 1.5.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.
Files changed (2) hide show
  1. package/README.md +15 -14
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,10 +6,11 @@ registries then use the credential. Model providers, deployment clouds,
6
6
  buckets, chat platforms: all of them are services in the same catalog.
7
7
 
8
8
  ```sh
9
- npx @almyty/auth login
10
- npx @almyty/credentials services --kind inference
11
- npx @almyty/credentials add openrouter --open
12
- npx @almyty/credentials list
9
+ npm i -g @almyty/cli
10
+ almyty login
11
+ almyty credentials services --kind inference
12
+ almyty credentials add openrouter --open
13
+ almyty credentials list
13
14
  ```
14
15
 
15
16
  ## What a credential is
@@ -55,14 +56,14 @@ unless `--method` names another. `services` lists them.
55
56
  **Sign-in** (OpenRouter and Slack today) is the best path: nothing to paste.
56
57
 
57
58
  ```sh
58
- npx @almyty/credentials add openrouter --open
59
+ almyty credentials add openrouter --open
59
60
  ```
60
61
 
61
62
  On a machine with no browser, ask for the headless flow and the provider shows
62
63
  a code:
63
64
 
64
65
  ```sh
65
- npx @almyty/credentials add openrouter --headless
66
+ almyty credentials add openrouter --headless
66
67
  # -> Open this URL to continue: https://…
67
68
  # The provider will show you a code. Paste it with:
68
69
  # almyty credentials complete openrouter --state st-… --code <code>
@@ -76,7 +77,7 @@ whose state the redirect has already consumed.
76
77
  the page where the key is created:
77
78
 
78
79
  ```sh
79
- npx @almyty/credentials add huggingface --owner user
80
+ almyty credentials add huggingface --owner user
80
81
  # Get a key at: https://huggingface.co/settings/tokens
81
82
  # Access token: ······
82
83
  ```
@@ -129,9 +130,9 @@ In order of preference:
129
130
  4. **`--input-stdin`** — the same object on stdin.
130
131
 
131
132
  ```sh
132
- npx @almyty/credentials add channel-telegram --input-file bot.json
133
+ almyty credentials add channel-telegram --input-file bot.json
133
134
  pass show telegram/bot | jq -Rn '{bot_token: input}' \
134
- | npx @almyty/credentials add channel-telegram --input-stdin
135
+ | almyty credentials add channel-telegram --input-stdin
135
136
  ```
136
137
 
137
138
  `--input '<json>'` still works for the fields a service does **not** mark
@@ -165,9 +166,9 @@ Every chat channel is a service like any other, so a Slack, Discord or
165
166
  Telegram token is added here instead of pasted into a gateway form:
166
167
 
167
168
  ```sh
168
- npx @almyty/credentials services --kind channel
169
- npx @almyty/credentials add channel-slack --open
170
- npx @almyty/credentials add channel-telegram
169
+ almyty credentials services --kind channel
170
+ almyty credentials add channel-slack --open
171
+ almyty credentials add channel-telegram
171
172
  ```
172
173
 
173
174
  The service key is `channel-<gateway type>` with underscores dasherized
@@ -191,7 +192,7 @@ to get it, and how it is validated.
191
192
  | 0 | success |
192
193
  | 1 | unexpected error |
193
194
  | 2 | usage error (bad flags, missing argument, unknown command, a secret on argv) |
194
- | 3 | not authenticated — run `npx @almyty/auth login` |
195
+ | 3 | not authenticated — run `almyty login` |
195
196
  | 4 | not found |
196
197
  | 5 | the operation ran and failed (a `validate` whose health is not `valid`) |
197
198
 
@@ -206,6 +207,6 @@ turned into tools, served over MCP, A2A, UTCP and Agent Skills.
206
207
  - Design notes: `docs/connections.md` in the almyty repository
207
208
  - Source: https://github.com/almyty-inc/almyty
208
209
 
209
- Run `npx @almyty/credentials --help` for the full surface.
210
+ Run `almyty credentials --help` for the full surface.
210
211
 
211
212
  Apache-2.0 © Almyty Inc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almyty/credentials",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,7 +28,7 @@
28
28
  "author": "almyty",
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@almyty/client": "^1.5.1"
31
+ "@almyty/client": "^1.5.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^25.4.0",