@typeroll/mcp-server 0.45.113 → 0.45.115

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.
@@ -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
@@ -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.113';
11
+ export const VERSION = '0.45.115';
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.113",
4
+ "version": "0.45.115",
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": {