@typeroll/mcp-server 0.45.114 → 0.45.116
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 +2 -2
- package/dist/tools/domain.js +7 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/deploy.js
CHANGED
|
@@ -28,8 +28,8 @@ export const deployTools = [
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
name: 'retry_deploy_verification',
|
|
31
|
-
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.
|
|
32
|
-
inputSchema: { job_id: z.string(), approve_cache_zone_id: z.string().min(1).optional().describe('
|
|
31
|
+
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. Each failed check may get a bounded refresh of only that path on the site\'s own address; zone-wide refreshes are never made. A removed content-addressed file that Cloudflare still serves with exactly the bytes its name hashes, while a fresh cache key returns 404, is accepted and reported in warnings/retained_immutable. A publication_cache_refresh_failed names the stale layer in cache_recovery.layer (upstream_cache, origin or unknown).',
|
|
32
|
+
inputSchema: { job_id: z.string(), approve_cache_zone_id: z.string().min(1).optional().describe('Retired. Zone-wide cache refreshes are no longer offered and are refused with publication_cache_zone_refresh_retired; retry without it.'), version: versionParam },
|
|
33
33
|
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)))),
|
|
34
34
|
},
|
|
35
35
|
{
|
package/dist/tools/domain.js
CHANGED
|
@@ -114,7 +114,7 @@ export const domainTools = [
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
name: 'read_organization_build_engine', noSite: true,
|
|
117
|
-
description: 'Read the selected provider, saved Cloudflare and GitHub build engines, and active jobs for the organization (each with job_id, site_id, kind and status: queued, running, or publishing while a built publication uploads and verifies; image preparation jobs are media-…). A job stays listed until its deploy reaches a final status, except a domain switch that is built and verified and only waits for DNS approval: it is listed under awaiting_approval, uses no build capacity, and does not block other sites from publishing. Requires an organization API key; REST: GET /api/v1/publishing/builds. No provider credentials are returned.',
|
|
117
|
+
description: 'Read the selected provider, saved Cloudflare and GitHub build engines, and active jobs for the organization (each with job_id, site_id, kind and status: queued, running, or publishing while a built publication uploads and verifies; image preparation jobs are media-…). A job stays listed until its deploy reaches a final status, except a domain switch that is built and verified and only waits for DNS approval: it is listed under awaiting_approval, uses no build capacity, and does not block other sites from publishing. selection.auto_update says whether outdated engines are updated by the next publication (set_organization_build_auto_update); an engine with update_available runs older code than this Typeroll. Requires an organization API key; REST: GET /api/v1/publishing/builds. No provider credentials are returned.',
|
|
118
118
|
inputSchema: {},
|
|
119
119
|
handler: withErrorBoundary(async (_args, { client }) => ok(await client.rootGet('publishing/builds'))),
|
|
120
120
|
},
|
|
@@ -130,6 +130,12 @@ export const domainTools = [
|
|
|
130
130
|
inputSchema: { provider: z.enum(['cloudflare', 'github']), revision: z.string() },
|
|
131
131
|
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPost('publishing/builds', { ...args, action: 'select' }))),
|
|
132
132
|
},
|
|
133
|
+
{
|
|
134
|
+
name: 'set_organization_build_auto_update', noSite: true,
|
|
135
|
+
description: 'Turn automatic build engine updates on or off for the organization (Cloudflare and GitHub engines). When on, the next publication that finds an outdated engine updates it and runs its verification build before building the site; if verification fails the previous engine is restored and the publication continues on it. A build that fails in a way the newer engine is known to fix (for example a sandbox mount the provider stopped allowing) is updated and built once more. Each publication reports what it did in engine_update. On for organizations whose first engine was set up from Core 0.2.156; existing organizations opt in here. Requires an organization API key and selection.revision from read_organization_build_engine; REST: POST /api/v1/publishing/builds with action auto_update.',
|
|
136
|
+
inputSchema: { enabled: z.boolean(), revision: z.string() },
|
|
137
|
+
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPost('publishing/builds', { ...args, action: 'auto_update' }))),
|
|
138
|
+
},
|
|
133
139
|
{
|
|
134
140
|
name: 'cancel_organization_build', noSite: true,
|
|
135
141
|
description: 'Cancel an active GitHub build using its key from active_jobs. Requires an organization API key. Revokes the attempt before requesting provider cancellation; it cannot publish afterward. Completed builds cannot be cancelled here.',
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typeroll/mcp-server",
|
|
3
3
|
"mcpName": "io.github.Typeroll/typeroll",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.116",
|
|
5
5
|
"description": "Typeroll CMS MCP server \u2013 connect AI agents to the REST API to manage content and publish static websites.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|