@pollinations/cli 0.1.13 → 0.1.15
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 +6 -4
- package/SKILL.md +8 -6
- package/dist/index.js +291 -181
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,12 +98,12 @@ polli agents list # managed prompt agents
|
|
|
98
98
|
polli my-models list # invite-only community text, image, and transcription models
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
Manage agents with API-shaped JSON config files
|
|
102
|
-
and catalog title:
|
|
101
|
+
Manage agents with API-shaped JSON config files:
|
|
103
102
|
|
|
104
103
|
```bash
|
|
105
104
|
polli agents get <id>
|
|
106
105
|
polli agents create --config agent.json --name my-agent --title "My Agent"
|
|
106
|
+
polli agents create --config code-agent.json
|
|
107
107
|
polli agents update <id> --config agent.json
|
|
108
108
|
polli agents delete <id>
|
|
109
109
|
```
|
|
@@ -130,8 +130,9 @@ restores the backup.
|
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
132
|
polli harness --help # supported harnesses
|
|
133
|
-
polli harness
|
|
134
|
-
polli harness dsh on
|
|
133
|
+
polli harness bloom on # creates a dedicated key for Bloom CLI
|
|
134
|
+
polli harness dsh on # DeepSeek Harness → Pollinations
|
|
135
|
+
polli harness dsh on --model moonshotai/kimi-k2.6
|
|
135
136
|
polli harness dsh on --no-mcp # skip MCP tool configuration
|
|
136
137
|
polli harness opencode on # enables the Pollinations OpenCode plugin + default model
|
|
137
138
|
polli harness openclaw on # adds the Pollinations provider + Polli skill to OpenClaw
|
|
@@ -141,6 +142,7 @@ polli harness <harness> status
|
|
|
141
142
|
polli harness <harness> off
|
|
142
143
|
```
|
|
143
144
|
|
|
145
|
+
Bloom stores its dedicated key in `$BLOOM_HOME/.env` (default `~/.bloom/.env`).
|
|
144
146
|
The DSH adapter configures the Pollinations provider, hosted Pollinations MCP,
|
|
145
147
|
and Polli CLI skill globally under `$DSH_HOME` (default `~/.dsh`). OpenCode uses
|
|
146
148
|
its official plugin; OpenClaw uses `openclaw.json`, while Pi and Prime Agent use
|
package/SKILL.md
CHANGED
|
@@ -43,7 +43,7 @@ If `polli` is not installed, run `npm i -g @pollinations/cli@latest` (provides t
|
|
|
43
43
|
| List your quests + claim state | `polli quests` (filters: `--open --claimable --claimed --coming-soon`) |
|
|
44
44
|
| Manage prompt agents | `polli agents list` |
|
|
45
45
|
| Manage invite-only community models | `polli my-models list` |
|
|
46
|
-
| Connect a coding harness to Pollinations | `polli harness <dsh\|opencode\|openclaw\|pi\|prime> on` (available adapters: `polli harness --help`) |
|
|
46
|
+
| Connect a coding harness to Pollinations | `polli harness <bloom\|dsh\|opencode\|openclaw\|pi\|prime> on` (available adapters: `polli harness --help`) |
|
|
47
47
|
| Machine-readable output | append `--json` to any command |
|
|
48
48
|
|
|
49
49
|
## Setup
|
|
@@ -188,10 +188,11 @@ Prices only apply to `--visibility public` models. A private model is owner-only
|
|
|
188
188
|
polli agents list
|
|
189
189
|
polli agents get <id>
|
|
190
190
|
polli agents create --config agent.json --name my-agent --title "My Agent"
|
|
191
|
+
polli agents create --config code-agent.json
|
|
191
192
|
polli agents update <id> --config agent.json
|
|
192
193
|
polli agents delete <id>
|
|
193
194
|
```
|
|
194
|
-
|
|
195
|
+
Prompt-agent config contains `systemPrompt`, `baseModel`, and optional `mcpServers`; create also requires `--name` and `--title`. Code-agent config contains `type: "code_agent"` and a public GitHub `repository` with `agent.ts` at its root; its model ID, title, and description come from GitHub. Use server IDs from the MCP catalog. Prompt-agent updates replace the complete runtime configuration.
|
|
195
196
|
|
|
196
197
|
Creating an agent also creates its callable model listing. Managed agents are text-only and free, with no fallbacks or per-user RPM. Deleting the agent also deletes its model listing. See [Publish an Agent](https://github.com/pollinations/pollinations/blob/main/BUILD_YOUR_OWN_AGENT.md).
|
|
197
198
|
|
|
@@ -208,21 +209,22 @@ polli keys revoke <id> # id comes fr
|
|
|
208
209
|
### Connect a coding harness
|
|
209
210
|
```bash
|
|
210
211
|
polli harness --help # supported harnesses
|
|
212
|
+
polli harness bloom on # create a dedicated key for Bloom CLI
|
|
211
213
|
polli harness dsh on # login if needed, mint key "polli-harness-dsh", write provider + default model
|
|
212
|
-
polli harness dsh on --model kimi
|
|
214
|
+
polli harness dsh on --model moonshotai/kimi-k2.6 # use the model ID from `polli models`
|
|
213
215
|
polli harness dsh on --no-mcp # configure the provider and skill without MCP tools
|
|
214
216
|
polli harness dsh off # restore the config backed up before "on"
|
|
215
217
|
polli harness opencode on # enable the Pollinations OpenCode plugin
|
|
216
218
|
polli harness opencode off # remove the plugin setup and stored key
|
|
217
219
|
polli harness pi on # login if needed, mint key "polli-harness-pi", configure Pi with Pollinations
|
|
218
|
-
polli harness pi on --model kimi
|
|
220
|
+
polli harness pi on --model moonshotai/kimi-k2.6 # use the model ID from `polli models`
|
|
219
221
|
polli harness pi off # restore the Pi config backed up before "on"
|
|
220
222
|
polli harness openclaw on # login if needed, mint key "polli-harness-openclaw", add provider + Polli skill
|
|
221
223
|
polli harness openclaw off # remove the Pollinations provider, key, and skill
|
|
222
224
|
```
|
|
223
|
-
Each adapter checks that its harness can be launched before login, key creation, or configuration. DSH's official launch uses `npx`, so its adapter checks for `npx`; OpenCode, OpenClaw, and Pi require their installed commands.
|
|
225
|
+
Each adapter checks that its harness can be launched before login, key creation, or configuration. DSH's official launch uses `npx`, so its adapter checks for `npx`; Bloom, OpenCode, OpenClaw, and Pi require their installed commands.
|
|
224
226
|
|
|
225
|
-
The DSH adapter globally configures the Pollinations provider, hosted Pollinations MCP, and this skill under `$DSH_HOME` (default `~/.dsh`). OpenCode enables the existing Pollinations plugin and stores its dedicated key in the plugin config. OpenClaw adds a `pollinations` provider to `~/.openclaw/openclaw.json`, stores a dedicated key in `env.vars`, and installs this skill under `~/.openclaw/skills/polli/`. Pi writes `~/.pi/agent/models.json`, `auth.json`, and `settings.json`, and installs this skill under `~/.pi/agent/skills/polli/`. Guide: `polli docs` section "Coding Harnesses".
|
|
227
|
+
Bloom already uses Pollinations and only needs a dedicated key in `$BLOOM_HOME/.env` (default `~/.bloom/.env`). The DSH adapter globally configures the Pollinations provider, hosted Pollinations MCP, and this skill under `$DSH_HOME` (default `~/.dsh`). OpenCode enables the existing Pollinations plugin and stores its dedicated key in the plugin config. OpenClaw adds a `pollinations` provider to `~/.openclaw/openclaw.json`, stores a dedicated key in `env.vars`, and installs this skill under `~/.openclaw/skills/polli/`. Pi writes `~/.pi/agent/models.json`, `auth.json`, and `settings.json`, and installs this skill under `~/.pi/agent/skills/polli/`. Guide: `polli docs` section "Coding Harnesses".
|
|
226
228
|
|
|
227
229
|
### Read API docs
|
|
228
230
|
```bash
|