@typeroll/mcp-server 0.45.87 → 0.45.88

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.
@@ -27,9 +27,9 @@ export const deployTools = [
27
27
  },
28
28
  {
29
29
  name: 'retry_deploy_verification',
30
- description: 'Retry only public verification of an already-served customer publication that failed with publication_observation_timeout. Reuses the exact job, Git commit and build artifact; never builds, uploads or changes DNS. Requires completed build/candidate receipts, unchanged hosting and no newer deployment for this version. Does not publish later CMS edits. Poll get_deploy_status for the same job_id. Admin permission required.',
31
- inputSchema: { job_id: z.string(), version: versionParam },
32
- handler: withErrorBoundary(async (args, { client, siteId }) => ok(await client.post(siteId, 'deploy', { retry_verification_job_id: args.job_id }, v(args.version)))),
30
+ description: 'Retry only public verification of an already-served customer publication that failed with publication_observation_timeout or publication_cache_refresh_required/external/failed. Reuses the exact job, Git commit and build artifact; never builds, uploads or changes DNS. Requires completed build/candidate receipts, unchanged hosting and no newer deployment for this version. Does not publish later CMS edits. A cache refresh is NEVER implicit: only after explicit owner approval, provide approve_cache_zone_id from job.cache_recovery to refresh that ENTIRE Cloudflare zone (including other websites/subdomains). Requires owning-organization administrator access, the exact publication and unchanged DNS account/zone; cached bytes must still pass normal URL verification. Otherwise omit it for read-only verification. Poll get_deploy_status for the same job_id. Admin permission required.',
31
+ inputSchema: { job_id: z.string(), approve_cache_zone_id: z.string().min(1).optional().describe('Only with explicit owner approval for a zone-wide cache refresh. Copy the exact zone_id from this failed job.cache_recovery; it affects all subdomains in that zone. Requires owning-organization admin access.'), version: versionParam },
32
+ handler: withErrorBoundary(async (args, { client, siteId }) => ok(await client.post(siteId, 'deploy', { retry_verification_job_id: args.job_id, ...(args.approve_cache_zone_id !== undefined ? { approve_cache_zone_id: args.approve_cache_zone_id } : {}) }, v(args.version)))),
33
33
  },
34
34
  {
35
35
  name: 'list_deploys',
package/dist/version.js CHANGED
@@ -8,4 +8,4 @@
8
8
  //
9
9
  // Keep it in lockstep with package.json: tests/version.test.ts asserts
10
10
  // VERSION === package.json.version, so a bump that forgets this line fails CI.
11
- export const VERSION = '0.45.87';
11
+ export const VERSION = '0.45.88';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeroll/mcp-server",
3
- "version": "0.45.87",
3
+ "version": "0.45.88",
4
4
  "description": "Typeroll CMS MCP server \u2013 connect AI agents to the REST API to manage content and publish static websites.",
5
5
  "license": "MIT",
6
6
  "repository": {