@almyty/models 1.5.2 → 1.5.4

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 +13 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -5,8 +5,9 @@ router may pick and **why not** when it may not, what a routing policy would
5
5
  choose right now, what everything costs, and where self-hosted weights run.
6
6
 
7
7
  ```sh
8
- npx @almyty/auth login
9
- npx @almyty/models list
8
+ npm i -g @almyty/cli
9
+ almyty login
10
+ almyty models list
10
11
  ```
11
12
 
12
13
  ## What makes a model usable
@@ -58,7 +59,7 @@ lists. `sync` is the same import by hand.
58
59
  same policy an `llm_call` node carries, and **calls nothing** — it plans.
59
60
 
60
61
  ```sh
61
- npx @almyty/models route --objective cheapest --tier private_cloud \
62
+ almyty models route --objective cheapest --tier private_cloud \
62
63
  --regions eu-central --needs tools --budget-headroom 500
63
64
  ```
64
65
 
@@ -112,9 +113,9 @@ run a model that already lives somewhere.
112
113
  Naming the model is configuration, so it is the positional argument:
113
114
 
114
115
  ```sh
115
- npx @almyty/models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints
116
- npx @almyty/models host fireworks://accounts/acme/models/qwen3-tuned --adapter fireworks
117
- npx @almyty/models host --model-version <id> --adapter modal --desired '{"replicas":1}'
116
+ almyty models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints
117
+ almyty models host fireworks://accounts/acme/models/qwen3-tuned --adapter fireworks
118
+ almyty models host --model-version <id> --adapter modal --desired '{"replicas":1}'
118
119
  ```
119
120
 
120
121
  An **artifact** reference points at bytes and is pinned, so the hosted model is
@@ -134,16 +135,16 @@ a secret as a flag value.
134
135
  provider account once and name the connection.
135
136
 
136
137
  ```sh
137
- npx @almyty/credentials add huggingface
138
- npx @almyty/models host hf://Qwen/Qwen3-0.6B@main \
138
+ almyty credentials add huggingface
139
+ almyty models host hf://Qwen/Qwen3-0.6B@main \
139
140
  --adapter huggingface-endpoints --credential <connectionId>
140
141
  ```
141
142
 
142
143
  Otherwise pass the object from a file or stdin:
143
144
 
144
145
  ```sh
145
- npx @almyty/models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints --config-file hf.json
146
- cat hf.json | npx @almyty/models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints --config-stdin
146
+ almyty models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints --config-file hf.json
147
+ cat hf.json | almyty models host hf://Qwen/Qwen3-0.6B@main --adapter huggingface-endpoints --config-stdin
147
148
  ```
148
149
 
149
150
  `--config` still works for the fields an adapter does **not** mark secret, and
@@ -173,7 +174,7 @@ says where a number came from: `feed:litellm`, `feed:openrouter`, `native`,
173
174
  | 0 | success |
174
175
  | 1 | unexpected error |
175
176
  | 2 | usage error (bad flags, missing argument, unknown command) |
176
- | 3 | not authenticated — run `npx @almyty/auth login` |
177
+ | 3 | not authenticated — run `almyty login` |
177
178
  | 4 | not found |
178
179
  | 5 | the operation ran and failed (a check that did not pass, a policy that resolves to nothing) |
179
180
 
@@ -188,6 +189,6 @@ turned into tools, served over MCP, A2A, UTCP and Agent Skills.
188
189
  - Design notes: `docs/models.md` in the almyty repository
189
190
  - Source: https://github.com/almyty-inc/almyty
190
191
 
191
- Run `npx @almyty/models --help` for the full surface.
192
+ Run `almyty models --help` for the full surface.
192
193
 
193
194
  Apache-2.0 © Almyty Inc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almyty/models",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
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",