pi-cloudflare 0.10.1 → 0.10.2
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 +17 -14
- package/package.json +1 -1
- package/plugin.json +1 -1
package/README.md
CHANGED
|
@@ -153,24 +153,27 @@ them: wrangler bearers are recognized by MCP servers but scope-rejected
|
|
|
153
153
|
(verified live), and `cf` reads `CLOUDFLARE_API_TOKEN` from the environment, so
|
|
154
154
|
use each where it wins:
|
|
155
155
|
|
|
156
|
-
| Task | Use
|
|
157
|
-
| -------------------------------------------- |
|
|
158
|
-
|
|
|
159
|
-
|
|
|
160
|
-
|
|
|
161
|
-
|
|
|
162
|
-
|
|
|
163
|
-
|
|
|
164
|
-
|
|
|
156
|
+
| Task | Use |
|
|
157
|
+
| -------------------------------------------- | ------------------------------------------ |
|
|
158
|
+
| Full API as typed commands, JSON out | `cf` CLI (`cf zones list`, `cf d1 ...`) |
|
|
159
|
+
| Finding the right API operation | `cf cli search "<intent>"` |
|
|
160
|
+
| Workers deploys (migrated projects) | `cf deploy` |
|
|
161
|
+
| `tail -f`, legacy project dev/deploys | per-project wrangler (`npx wrangler tail`) |
|
|
162
|
+
| KV/R2/D1 CLIs, scripting | `cf` |
|
|
163
|
+
| Endpoint discovery, docs search | `cf_api_search`, `cf_docs_*` |
|
|
164
|
+
| Typed CRUD on bindings with agent-shaped I/O | `cf_bindings_*` |
|
|
165
|
+
| Builds history, log exploration | `cf_builds_*`, `cf_obs_*` |
|
|
166
|
+
| Arbitrary API paths with static credentials | `cf_api_execute` + `apiToken` |
|
|
165
167
|
|
|
166
168
|
Install `cf` with `bun add -g cf` (or `npm i -g cf`); it authenticates from
|
|
167
169
|
`CLOUDFLARE_API_TOKEN`, the same token the MCP servers use. `cf` is Cloudflare's
|
|
168
170
|
agent-first successor surface — JSON output by default and intent-based command
|
|
169
|
-
discovery via `cf cli search
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
`
|
|
171
|
+
discovery via `cf cli search`. There is **no global wrangler install**: each
|
|
172
|
+
project carries wrangler as a devDependency (its dev server and deploy
|
|
173
|
+
implementation), and `cf dev`/`cf build`/`cf deploy` delegate to it — which
|
|
174
|
+
expects projects migrated to `cloudflare.config.ts` via `cf migrate`. Ad-hoc
|
|
175
|
+
wrangler in bash runs per-project via `npx wrangler ...` from the project
|
|
176
|
+
directory. See `skills/cloudflare-cf-cli/SKILL.md`.
|
|
174
177
|
|
|
175
178
|
Wrangler's months-long session comes from its first-party OAuth grant; MCP
|
|
176
179
|
servers require their own per-server grants (verified: cross-use fails
|
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "pi-cloudflare",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.2",
|
|
5
5
|
"description": "Cloudflare skills and cf_-prefixed MCP tools, with a native Pi adapter and an Agent Plugins 1.0 portable runtime.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "0xPlayerOne",
|