@typeroll/mcp-server 0.45.87 → 0.45.89
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/dist/tools/deploy.js +3 -3
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/deploy.js
CHANGED
|
@@ -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
package/package.json
CHANGED