@zackbart/connecta 0.14.0 → 0.14.1
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/CHANGELOG.md +38 -0
- package/dist/providers/cloudflare.d.ts +2 -1
- package/dist/providers/cloudflare.d.ts.map +1 -1
- package/dist/providers/cloudflare.js +1915 -90
- package/dist/providers/cloudflare.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/documentation/cloudflare.md +98 -53
- package/ethos.md +1 -0
- package/package.json +1 -1
- package/src/providers/cloudflare.ts +2322 -215
- package/src/version.ts +1 -1
- package/templates/node/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.14.1 — 2026-08-06
|
|
6
|
+
|
|
7
|
+
The Cloudflare connection is now an operations surface rather than a narrow
|
|
8
|
+
inventory sample. Common zone, Worker, KV, R2, and Pages workflows have named,
|
|
9
|
+
closed schemas and lean results; three guarded v4 escape hatches cover Images,
|
|
10
|
+
Stream, Email Routing, D1, Queues, and future Cloudflare products without
|
|
11
|
+
turning the catalog into an OpenAPI dump. GET remains the only raw path admitted
|
|
12
|
+
to programs. JSON mutations and raw or multipart uploads always cross the
|
|
13
|
+
destructive boundary, while the configured Cloudflare token remains the final
|
|
14
|
+
provider-side capability limit.
|
|
15
|
+
|
|
16
|
+
Nothing breaks for existing deployments. The original fourteen tool names and
|
|
17
|
+
their behavior are unchanged, and deployments can keep their current read-only
|
|
18
|
+
token if they only use those reads. Operators who use the new writes must add
|
|
19
|
+
the corresponding narrowly scoped Cloudflare permissions. The new raw tools
|
|
20
|
+
return provider shapes by design, so programs should project their results just
|
|
21
|
+
as they would any other large downstream response.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Named Cloudflare administration across five product areas.** Zone settings
|
|
26
|
+
and rulesets, Worker settings and deployments, KV namespaces/keys/bulk
|
|
27
|
+
values, R2 buckets/objects/metrics/CORS, and Pages projects/deployments/domains
|
|
28
|
+
now have maintained operations with explicit schemas, pagination, projections,
|
|
29
|
+
and safety annotations.
|
|
30
|
+
- **Guarded access to the rest of Cloudflare v4.** `cloudflare_api_get` handles
|
|
31
|
+
JSON, text, and base64 reads; `cloudflare_api_mutate` handles JSON POST, PUT,
|
|
32
|
+
PATCH, and DELETE; `cloudflare_api_upload` handles explicit text, base64, and
|
|
33
|
+
multipart bodies. Raw paths cannot be absolute, traverse with `..`, hide a
|
|
34
|
+
query string, or choose their own host.
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- **Cloudflare credential guidance now covers operational permissions.** The
|
|
39
|
+
guide distinguishes product Read and Write scopes, explains the three raw
|
|
40
|
+
routes, names common media, email, database, and queue paths, and records the
|
|
41
|
+
cursor behavior of R2 object and KV key listings.
|
|
42
|
+
|
|
5
43
|
## 0.14.0 — 2026-08-03
|
|
6
44
|
|
|
7
45
|
Connecta went from one maintained prebuilt connection to five. Stripe, Linear,
|
|
@@ -17,7 +17,8 @@ export declare const CLOUDFLARE_DNS_RECORD_TYPES: readonly ["A", "AAAA", "CAA",
|
|
|
17
17
|
* free-form `data` passthrough — exactly the untyped `{}` this connection
|
|
18
18
|
* exists to avoid — or thirteen more hand-written schemas for record types
|
|
19
19
|
* that are rare in the day-to-day work this surface is for. They remain fully
|
|
20
|
-
* readable and filterable; only
|
|
20
|
+
* readable and filterable; only the named create/update tools omit them. The
|
|
21
|
+
* guarded raw mutation tool remains available for their documented bodies.
|
|
21
22
|
*/
|
|
22
23
|
export declare const CLOUDFLARE_CONTENT_DNS_RECORD_TYPES: readonly ["A", "AAAA", "CNAME", "MX", "NS", "OPENPGPKEY", "PTR", "TXT"];
|
|
23
24
|
export interface CloudflareOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudflare.d.ts","sourceRoot":"","sources":["../../src/providers/cloudflare.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,SAAS,EAGT,yBAAyB,EAE1B,MAAM,aAAa,CAAC;AAErB,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,kLAsB9B,CAAC;AAEX
|
|
1
|
+
{"version":3,"file":"cloudflare.d.ts","sourceRoot":"","sources":["../../src/providers/cloudflare.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,SAAS,EAGT,yBAAyB,EAE1B,MAAM,aAAa,CAAC;AAErB,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,kLAsB9B,CAAC;AAEX;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mCAAmC,yEAStC,CAAC;AAEX,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA0jHD,mDAAmD;AACnD,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,SAAS,CAiD5E"}
|