@pollinations/cli 0.1.11 → 0.1.12
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/SKILL.md +9 -2
- package/dist/index.js +432 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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 on` (available adapters: `polli harness --help`) |
|
|
46
|
+
| Connect a coding harness to Pollinations | `polli harness <dsh\|opencode\|pi> on` (available adapters: `polli harness --help`) |
|
|
47
47
|
| Machine-readable output | append `--json` to any command |
|
|
48
48
|
|
|
49
49
|
## Setup
|
|
@@ -211,8 +211,15 @@ polli harness dsh on # login if needed, mint key "polli-harness-d
|
|
|
211
211
|
polli harness dsh on --model kimi # any tool-calling text model from `polli models`
|
|
212
212
|
polli harness dsh on --no-mcp # configure the provider and skill without MCP tools
|
|
213
213
|
polli harness dsh off # restore the config backed up before "on"
|
|
214
|
+
polli harness opencode on # enable the Pollinations OpenCode plugin
|
|
215
|
+
polli harness opencode off # remove the plugin setup and stored key
|
|
216
|
+
polli harness pi on # login if needed, mint key "polli-harness-pi", configure Pi with Pollinations
|
|
217
|
+
polli harness pi on --model kimi # any tool-calling text model from `polli models`
|
|
218
|
+
polli harness pi off # restore the Pi config backed up before "on"
|
|
214
219
|
```
|
|
215
|
-
|
|
220
|
+
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 and Pi require their installed commands.
|
|
221
|
+
|
|
222
|
+
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. 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".
|
|
216
223
|
|
|
217
224
|
### Read API docs
|
|
218
225
|
```bash
|