@typeroll/mcp-server 0.45.115 → 0.45.117
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 +4 -4
- package/dist/tools/workflows.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/deploy.js
CHANGED
|
@@ -12,12 +12,12 @@ export const deployTools = [
|
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
name: 'trigger_deploy',
|
|
15
|
-
description: "Enqueue a deploy (static-page build → hosting) of the currently active version. Returns a job_id immediately; poll get_deploy_status until the status leaves queued/running. NOT for previewing iterative design/content edits — that's what get_preview_link is for (it renders live from the DB with no build). Reserve trigger_deploy for publishing, a stakeholder link to the compiled site, or pre-merge validation. Publishing to the temporary address ends at cutover: once a site serves its live custom domain, the same publication serves both, so every deploy of main is a production release. Then get the owner's approval and pass confirm_live_domains: true; without it a real deploy is refused with live_domain_confirmation_required, naming the live URLs and targets. Review changes on a cut-over site with get_preview_link (include_working_copy) or dry_run:true, which need no confirmation. The result reports production, live_domains and targets (live domains first, then the temporary address). Deploys build SAVED content only — unsaved drafts (working copies) are excluded, so commit_working_copy (or save:true on your writes) before deploying, or your changes won't ship. Customer publishing freezes a consistent saved source, then resumes source/Git/build-dispatch checkpoints without recapturing later edits. GitHub or Cloudflare performs rendering and media work. With dry_run:true,
|
|
15
|
+
description: "Enqueue a deploy (static-page build → hosting) of the currently active version. Returns a job_id immediately; poll get_deploy_status until the status leaves queued/running. NOT for previewing iterative design/content edits — that's what get_preview_link is for (it renders live from the DB with no build). Reserve trigger_deploy for publishing, a stakeholder link to the compiled site, or pre-merge validation. Publishing to the temporary address ends at cutover: once a site serves its live custom domain, the same publication serves both, so every deploy of main is a production release. Then get the owner's approval and pass confirm_live_domains: true; without it a real deploy is refused with live_domain_confirmation_required, naming the live URLs and targets. Review changes on a cut-over site with get_preview_link (include_working_copy) or dry_run:true, which need no confirmation. The result reports production, live_domains and targets (live domains first, then the temporary address). Deploys build SAVED content only — unsaved drafts (working copies) are excluded, so commit_working_copy (or save:true on your writes) before deploying, or your changes won't ship. Customer publishing freezes a consistent saved source, then resumes source/Git/build-dispatch checkpoints without recapturing later edits. GitHub or Cloudflare performs rendering and media work. With dry_run:true, publishing validates frozen source without a Git push or external build; it does not prove an Astro build succeeds. Check the reported phase. A site still in the former managed mode is refused with managed_publishing_migration_required until check_managed_site_migration and migrate_managed_site_publishing move it to the organization's publishing. All sites in an organization share one build engine: publish one site at a time, starting the next only when the previous job has finished and read_organization_build_engine shows no active_jobs. A domain switch waiting for DNS approval (awaiting_approval) does not block other sites.",
|
|
16
16
|
inputSchema: {
|
|
17
17
|
environment: z.enum(['production', 'staging']).optional(),
|
|
18
18
|
confirm_live_domains: z.boolean().optional().describe('Required (true) for a real deploy of a cut-over site: acknowledges that the deploy publishes to the live domains named by get_publication_impact or the live_domain_confirmation_required error. Only after the site owner approved this production release. Not needed for dry_run or sites that are not cut over.'),
|
|
19
19
|
allow_unsaved: z.boolean().optional().describe('Explicitly publish saved content while leaving the reported unsaved Pages/partials untouched. Only after owner confirmation.'),
|
|
20
|
-
dry_run: z.boolean().optional().describe('Validate without publishing.
|
|
20
|
+
dry_run: z.boolean().optional().describe('Validate without publishing. Checks the frozen source only, including image links without an accessible name (publication_validation_failed).'),
|
|
21
21
|
version: versionParam,
|
|
22
22
|
},
|
|
23
23
|
handler: withErrorBoundary(async (args, { client, siteId }) => {
|
|
@@ -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/workflows.js
CHANGED
|
@@ -25,7 +25,7 @@ export const workflowTools = [
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
name: 'start_workflow',
|
|
28
|
-
description: 'Start a server-side workflow on this Site; it runs in the background and returns workflow_id. Poll get_workflow. Config per type (same fields as the portal form): migration { wp_url, helper_api_key? } (needs verified organization import storage); site_planning { business_description }; content_generation { topic, tone?, audience? }; content_improvement { limit? }; url_parity { target_origin?, source_origin?, check_source?, statuses? }; rebuild_deploy { environment: staging | production, confirm_live_domains? } (
|
|
28
|
+
description: 'Start a server-side workflow on this Site; it runs in the background and returns workflow_id. Poll get_workflow. Config per type (same fields as the portal form): migration { wp_url, helper_api_key? } (needs verified organization import storage); site_planning { business_description }; content_generation { topic, tone?, audience? }; content_improvement { limit? }; url_parity { target_origin?, source_origin?, check_source?, statuses? }; rebuild_deploy { environment: staging | production, confirm_live_domains? } (queues a publication like trigger_deploy; its result carries job_id for get_deploy_status. Production on a cut-over site publishes to its live domain and needs confirm_live_domains: true after owner approval); seo_audit, link_check, performance_audit and schema_markup take none. Needs write permission; rebuild_deploy publishes and needs admin. Workflows that change content write to the given version (default main) — get the user\'s agreement first. ' + AI_WORKFLOWS,
|
|
29
29
|
inputSchema: {
|
|
30
30
|
type: z.enum(WORKFLOW_TYPES),
|
|
31
31
|
config: z.record(z.string(), z.unknown()).optional(),
|
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.117",
|
|
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": {
|