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.
Files changed (3) hide show
  1. package/README.md +17 -14
  2. package/package.json +1 -1
  3. 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
- | Deploys, `tail -f`, KV/R2/D1 CLIs, scripting | `wrangler` in bash (durable months-long login) |
159
- | Full API as typed commands, JSON out | `cf` CLI (`cf zones list`, `cf d1 ...`) |
160
- | Finding the right API operation | `cf cli search "<intent>"` |
161
- | Endpoint discovery, docs search | `cf_api_search`, `cf_docs_*` |
162
- | Typed CRUD on bindings with agent-shaped I/O | `cf_bindings_*` |
163
- | Builds history, log exploration | `cf_builds_*`, `cf_obs_*` |
164
- | Arbitrary API paths with static credentials | `cf_api_execute` + `apiToken` |
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` — but it does not replace wrangler: `cf dev`,
170
- `cf build`, and `cf deploy` delegate to the dev-server each project declares
171
- (wrangler for legacy Worker projects, `@cloudflare/vite-plugin` for Vite), and
172
- that delegation expects projects migrated to `cloudflare.config.ts` via
173
- `cf migrate`. See `skills/cloudflare-cf-cli/SKILL.md`.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-cloudflare",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Cloudflare Agent Plugin and native Pi extension providing official skills and cf_-prefixed MCP tools.",
5
5
  "keywords": [
6
6
  "agent-plugin",
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.1",
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",