pi-cloudflare 0.8.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-cloudflare",
3
- "version": "0.8.0",
3
+ "version": "0.8.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.8.0",
4
+ "version": "0.8.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",
@@ -281,10 +281,43 @@ The response carries the record to hand the user:
281
281
  <zone>. 3600 IN DS <key_tag> <algorithm> <digest_type> <digest>
282
282
  ```
283
283
 
284
- **There is no API to publish the DS.** Confirmed by searching Cloudflare's
285
- published OpenAPI spec for `dnssec`/`ds_record` in every registrar section (no
286
- matches) and by writing to the registrar endpoint, which returns `200` and
287
- ignores the field. The user finishes this in the dashboard or at their registrar.
284
+ **There is no API to publish the DS** — and this matters more than it looks,
285
+ because it splits by registrar:
286
+
287
+ - **Domain registered with Cloudflare Registrar:** the dashboard's
288
+ **Enable DNSSEC** button publishes the DS to the registry automatically
289
+ ("one-click DNSSEC"). An API enablement does **not** trigger that registrar
290
+ sync, so a zone enabled over the API can sit at `pending` for days even though
291
+ everything else is correct. The fix is a dashboard visit: toggle DNSSEC off and
292
+ back on in **DNS → Settings**, which re-runs the flow that publishes the DS.
293
+
294
+ Verified live: after the off/on cycle, the DS appeared at the registry within
295
+ minutes and the zone began validating (the `ad` flag appeared on resolver
296
+ responses). Publication lands progressively per TLD — two Google-registry TLDs
297
+ published within ~15 minutes, others queued longer. The zone reads `pending`
298
+ the whole time, so the registry, not the API, is the only source of truth.
299
+
300
+ The cycle through the browser is: **Cancel Setup** → confirm the
301
+ **Disable DNSSEC** dialog → wait for status `disabled` → **Enable DNSSEC** →
302
+ confirm → wait for `pending`. Note the confirmation dialog is role
303
+ `alertdialog`, and the disable is asynchronous — it reached `disabled` on the
304
+ first poll in every case.
305
+ - **Domain registered elsewhere:** add the DS record at that registrar. The zone
306
+ publishes CDS/CDNSKEY, so a registrar that supports RFC 8078 can pick it up
307
+ automatically.
308
+
309
+ Either way the API cannot do the last step: the new
310
+ `/accounts/:id/registrar/registrations/:domain` update endpoint documents
311
+ "currently supports updating `auto_renew` only", `?include=dnssec` is accepted
312
+ and returns nothing, and the dashboard serves a bot challenge to headless
313
+ browsers. Do not promise the user a fully automated DNSSEC rollout.
314
+
315
+ Confirm the outcome from outside rather than from the API — the zone will read
316
+ `active` or `pending` regardless, so the registry is the source of truth:
317
+
318
+ ```bash
319
+ dig +dnssec <zone> @1.1.1.1 | grep -o "ad" # ad flag = validating end to end
320
+ ```
288
321
 
289
322
  ## Turnstile
290
323