@zackbart/connecta 0.22.0 → 0.22.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 CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this package are documented here.
4
4
 
5
+ ## 0.22.1 — 2026-08-31
6
+
7
+ This patch adds a maintained Vercel connection over the public REST API. It is
8
+ a new opt-in provider subpath: existing imports, connector declarations,
9
+ credentials, and deployment behavior do not change. Deployments that do not
10
+ import the Vercel provider can ignore this release.
11
+
12
+ ### Added
13
+
14
+ - **Maintained Vercel REST connection.** `@zackbart/connecta/providers/vercel`
15
+ ships 18 projected project, deployment, log, domain, environment-variable,
16
+ and lifecycle tools plus separate GET, JSON-mutation, and upload hatches. It
17
+ uses one operator-managed access token, defaults account calls to an optional
18
+ team, never decrypts environment values in named reads, and adds no Vercel
19
+ SDK dependency.
20
+
5
21
  ## 0.22.0 — 2026-08-31
6
22
 
7
23
  This release lets one deployment serve several authenticated people without
package/README.md CHANGED
@@ -33,7 +33,7 @@ flowchart TB
33
33
  Explicit["call_destructive_tool<br/>one visible call per write<br/>your client can ask you first"]
34
34
  end
35
35
 
36
- Integrations["The integrations you chose<br/>Linear · Stripe · Notion · your HTTP API · any MCP server"]
36
+ Integrations["The integrations you chose<br/>Linear · Stripe · Notion · Vercel · your HTTP API · any MCP server"]
37
37
 
38
38
  Client -->|"one connection"| Sandbox
39
39
  Client --> Explicit
@@ -63,8 +63,8 @@ Fifty issues in, one small object out. Your context window notices.
63
63
  - **Wrap any HTTP API by hand.** A few lines per tool. No OpenAPI conversion —
64
64
  generated tool sprawl is the problem, not the fix.
65
65
  - **Use maintained connections** for Cloudflare, Linear, Mixpanel, Notion,
66
- RevenueCat, and Stripe — known endpoints, auth defaults, and vetted read/write
67
- classifications, imported one at a time.
66
+ RevenueCat, Stripe, and Vercel — known endpoints, auth defaults, and vetted
67
+ read/write classifications, imported one at a time.
68
68
  - **Let the agent work in code.** Search, chain, filter, join, and reduce
69
69
  inside the sandbox instead of round-tripping every call through the model.
70
70
  - **Teach undeclared result shapes by using them.** Successful read-only calls
@@ -0,0 +1,25 @@
1
+ import type { Connector, ConnectorCallAdmissionPolicy } from "../types.js";
2
+ /** Vercel's public REST origin. Override only for a proxy or test double. */
3
+ export declare const VERCEL_API_BASE_URL = "https://api.vercel.com";
4
+ export interface VercelOptions {
5
+ /** Human-readable display name; defaults to "Vercel". */
6
+ title?: string;
7
+ /** Downstream auth ownership. Defaults to one shared deployment grant. */
8
+ authScope?: "shared" | "personal";
9
+ /** Which Vercel account or team this connection operates, and for whom. */
10
+ purpose: string;
11
+ /** Default team id for scoped calls. Omit to use the token's personal account. */
12
+ teamId?: string;
13
+ /** Account-specific conventions appended to the maintained provider guide. */
14
+ instructions?: string;
15
+ /** API base override for a proxy or test double. */
16
+ baseUrl?: string;
17
+ /** Default page size for list tools. Defaults to 20; Vercel's local cap is 100. */
18
+ defaultPageSize?: number;
19
+ /** Optional per-runtime downstream call-admission policy. */
20
+ callAdmission?: ConnectorCallAdmissionPolicy;
21
+ /** Connector-specific inline result limit; omit to inherit the deployment. */
22
+ maxResultBytes?: number;
23
+ }
24
+ /** A maintained Vercel connection over the public REST API. */
25
+ export declare function vercel(id: string, options: VercelOptions): Connector;