@pollinations/cli 0.1.22 → 0.1.24
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/README.md +15 -2
- package/SKILL.md +4 -2
- package/dist/index.js +595 -517
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ polli usage # pollen balance
|
|
|
113
113
|
polli usage --history # recent requests
|
|
114
114
|
polli usage --daily # daily spend
|
|
115
115
|
polli usage --daily --key polli-harness-claude --days 1 # what one harness key cost in the last day
|
|
116
|
-
polli earnings # developer earnings (default 30 days, --days
|
|
116
|
+
polli earnings # developer earnings (default 30 days, --days <n>)
|
|
117
117
|
polli quests --claimable # only rewards ready to claim
|
|
118
118
|
polli agents list # managed prompt agents
|
|
119
119
|
polli my-models list # invite-only community text, image, and transcription models
|
|
@@ -141,7 +141,7 @@ polli agents delete <id>
|
|
|
141
141
|
|
|
142
142
|
Creating an agent also creates its callable model listing. See [Publish an Agent](https://github.com/pollinations/pollinations/blob/main/BUILD_YOUR_OWN_AGENT.md) for visibility, billing, and lifecycle details.
|
|
143
143
|
|
|
144
|
-
`polli auth login` creates a key with all account permissions Polli needs: `profile`, `usage`, and `
|
|
144
|
+
`polli auth login` creates a key with all account permissions Polli needs: `profile`, `usage`, `keys`, and `machines`. Use `account:usage` for narrow read-only account state like usage and quests. Use `account:keys` to manage keys and, where invite-only My Models access is enabled, my-models. Quest claiming remains in the dashboard.
|
|
145
145
|
|
|
146
146
|
## Coding harnesses
|
|
147
147
|
|
|
@@ -184,6 +184,19 @@ Model setup remains compatible with older Pi versions.
|
|
|
184
184
|
|
|
185
185
|
See [Coding Harnesses](https://github.com/pollinations/pollinations/blob/main/CODING_HARNESSES.md) for what each profile changes and how to add one.
|
|
186
186
|
|
|
187
|
+
## Sandboxes
|
|
188
|
+
|
|
189
|
+
Linux VMs from E2B, paid from your wallet (alpha).
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
polli sandbox create # prints the id and sets up ssh
|
|
193
|
+
ssh <id>.polli # scp and rsync work too
|
|
194
|
+
polli sandbox timeout <id> 14400 # keep it running 4 hours without ssh
|
|
195
|
+
polli sandbox kill <id>
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
The default template comes logged in with the coding harnesses installed; the first interactive `ssh` connects them. See [Sandboxes](https://gen.pollinations.ai/docs#tag/sandboxes) for cost, limits, and using E2B's own CLI and SDKs.
|
|
199
|
+
|
|
187
200
|
## Links
|
|
188
201
|
|
|
189
202
|
- [gen.pollinations.ai](https://gen.pollinations.ai) — API
|
package/SKILL.md
CHANGED
|
@@ -44,12 +44,14 @@ If `polli` is not installed, run `npm i -g @pollinations/cli@latest` (provides t
|
|
|
44
44
|
| Filter models by type | `polli models --type image` (text, image, audio, video, 3d, embedding) |
|
|
45
45
|
| Model health + latency | `polli models --stats` (default 60m, `--window <min>`) |
|
|
46
46
|
| Check balance | `polli usage` |
|
|
47
|
-
| Developer earnings | `polli earnings` (`--days <n
|
|
47
|
+
| Developer earnings | `polli earnings` (`--days <n>`) |
|
|
48
48
|
| List your quests + claim state | `polli quests` (filters: `--open --claimable --claimed --coming-soon`) |
|
|
49
49
|
| Manage prompt agents | `polli agents list` |
|
|
50
50
|
| Manage invite-only community models | `polli my-models list` |
|
|
51
51
|
| Update the CLI | `polli update` (global installs only; npx/local get instructions) |
|
|
52
52
|
| Connect a coding harness to Pollinations | `polli harness <bloom\|dsh\|hermes\|opencode\|openclaw\|pi\|prime\|tgpt> on` (available adapters: `polli harness --help`) |
|
|
53
|
+
| Start a Linux sandbox (alpha) | `polli sandbox create` (then `list`, `logs <id>`, `timeout <id> <seconds>`, `kill <id>`); the default template comes logged in, with the coding harnesses |
|
|
54
|
+
| ssh / scp / rsync into a sandbox | `ssh <sandbox-id>.polli` |
|
|
53
55
|
| Machine-readable output | append `--json` to any command |
|
|
54
56
|
|
|
55
57
|
## Setup
|
|
@@ -185,7 +187,7 @@ polli usage --history # recent individual requests
|
|
|
185
187
|
polli usage --daily # daily cost summary
|
|
186
188
|
polli usage --daily --key polli-harness-claude --days 1 # cost of one harness key for the last day (`--model`, `--csv` filter/export both views; `--key` is repeatable)
|
|
187
189
|
polli earnings # developer earnings total + per-entity breakdown (default 30d)
|
|
188
|
-
polli earnings --days 7 # rolling window
|
|
190
|
+
polli earnings --days 7 # rolling window
|
|
189
191
|
polli quests # your quests + claim state (open/claimable/claimed/coming)
|
|
190
192
|
polli quests --claimable # only rewards ready to claim
|
|
191
193
|
```
|