@charisol/plexo-mcp 1.0.12 → 1.0.14

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.
@@ -680,6 +680,13 @@ class PlexoClient {
680
680
  return this.commerceFetch("POST", templateId, "/donations/adopt-monthly-donors", { campaignId });
681
681
  }
682
682
  // ── WordPress migration (/api/v1/wp-migration) ──────────────────────────────
683
+ /** Every form on a site and where its submissions go (MailDrip list, webhook). */
684
+ async getFormSettings(templateId) {
685
+ return this.apiFetch("GET", `/api/v1/templates/${encodeURIComponent(templateId)}/form-settings`, undefined, "Form settings");
686
+ }
687
+ async setFormDestinations(templateId, body) {
688
+ return this.apiFetch("PUT", `/api/v1/templates/${encodeURIComponent(templateId)}/form-settings`, body, "Form settings");
689
+ }
683
690
  async previewWordPressMigration(sourceUrl) {
684
691
  return this.apiFetch("POST", "/api/v1/wp-migration/detect", { sourceUrl }, "WordPress check");
685
692
  }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FORM_TOOL_NAMES = exports.FORM_TOOL_DEFS = void 0;
4
+ exports.handleFormToolCall = handleFormToolCall;
5
+ // Where a site's forms send submissions — same tools, same descriptions as the live
6
+ // connector in plexo-web (lib/mcp/formTools.ts), executed through plexo-web's REST API.
7
+ exports.FORM_TOOL_DEFS = [
8
+ {
9
+ name: "get_form_settings",
10
+ description: "Lists every form on a site and where its submissions go besides the Form Submissions inbox and the owner's email: a MailDrip list and/or a webhook (Zapier, Make, a CRM), plus a thank-you page and anything a migrated WordPress form did that Plexo doesn't repeat (note). Also says whether MailDrip is connected and lists the account's MailDrip lists (ids to use with set_form_destinations).",
11
+ inputSchema: {
12
+ type: "object",
13
+ properties: { templateId: { type: "string", description: "The site's home page id (see list_landing_pages)." } },
14
+ required: ["templateId"],
15
+ },
16
+ },
17
+ {
18
+ name: "set_form_destinations",
19
+ description: "Sets where one form sends each submission: maildripGroupId adds the person (email and name, taken from the submission) to that MailDrip list in the site's own MailDrip account — MailDrip must be connected first; webhookUrl POSTs every submission (https only). Pass null to stop one. Form names come from get_form_settings.",
20
+ inputSchema: {
21
+ type: "object",
22
+ properties: {
23
+ templateId: { type: "string", description: "The site's home page id." },
24
+ formName: { type: "string", description: "Exactly as get_form_settings lists it." },
25
+ maildripGroupId: { type: ["string", "null"], description: "A list id from get_form_settings' maildrip.groups, or null to stop adding to a list." },
26
+ webhookUrl: { type: ["string", "null"], description: "https address to send each submission to, or null to stop." },
27
+ },
28
+ required: ["templateId", "formName"],
29
+ },
30
+ },
31
+ ];
32
+ exports.FORM_TOOL_NAMES = new Set(exports.FORM_TOOL_DEFS.map((t) => t.name));
33
+ async function handleFormToolCall(name, args, client) {
34
+ const templateId = typeof args?.templateId === "string" ? args.templateId.trim() : "";
35
+ if (!templateId)
36
+ throw new Error("templateId is required — pass the site's home page id (see list_landing_pages).");
37
+ if (name === "get_form_settings") {
38
+ const overview = await client.getFormSettings(templateId);
39
+ return {
40
+ ...overview,
41
+ next: overview.maildrip?.connected
42
+ ? "Use set_form_destinations to add a form's sign-ups to one of these MailDrip lists, or to send its submissions to a webhook."
43
+ : "MailDrip isn't connected for this site — the owner connects it from the Form Submissions page (Connect MailDrip). Webhooks work without it.",
44
+ };
45
+ }
46
+ const { form } = await client.setFormDestinations(templateId, { formName: String(args?.formName ?? ""), maildripGroupId: args?.maildripGroupId, webhookUrl: args?.webhookUrl });
47
+ return { form, next: "New submissions to this form go there from now on. Suggest the owner sends a test submission to check it arrives." };
48
+ }
package/dist/index.js CHANGED
@@ -10,6 +10,7 @@ const commerceTools_js_1 = require("./commerceTools.js");
10
10
  const lmsTools_js_1 = require("./lmsTools.js");
11
11
  const donationTools_js_1 = require("./donationTools.js");
12
12
  const wpMigrationTools_js_1 = require("./wpMigrationTools.js");
13
+ const formTools_js_1 = require("./formTools.js");
13
14
  const server = new index_js_1.Server({
14
15
  name: "plexo-mcp",
15
16
  version: "1.0.0",
@@ -647,6 +648,7 @@ To edit a page's CONTENT (designJson), use update_template with the same templat
647
648
  ...lmsTools_js_1.LMS_TOOL_DEFS,
648
649
  ...donationTools_js_1.DONATION_TOOL_DEFS,
649
650
  ...wpMigrationTools_js_1.WP_MIGRATION_TOOL_DEFS,
651
+ ...formTools_js_1.FORM_TOOL_DEFS,
650
652
  ],
651
653
  };
652
654
  });
@@ -926,6 +928,7 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
926
928
  for (const [names, handler] of [
927
929
  [donationTools_js_1.DONATION_TOOL_NAMES, donationTools_js_1.handleDonationToolCall],
928
930
  [wpMigrationTools_js_1.WP_MIGRATION_TOOL_NAMES, wpMigrationTools_js_1.handleWpMigrationToolCall],
931
+ [formTools_js_1.FORM_TOOL_NAMES, formTools_js_1.handleFormToolCall],
929
932
  ]) {
930
933
  if (names.has(name)) {
931
934
  const result = await handler(name, args || {}, client);
@@ -4,7 +4,8 @@ exports.WP_MIGRATION_TOOL_NAMES = exports.WP_MIGRATION_TOOL_DEFS = void 0;
4
4
  exports.handleWpMigrationToolCall = handleWpMigrationToolCall;
5
5
  // WordPress → Plexo migration — same tools, same descriptions as the live connector in
6
6
  // plexo-web (lib/mcp/wpMigrationTools.ts), executed through plexo-web's REST API.
7
- // get_wordpress_migration advances the migration one step per call, like the dashboard.
7
+ // The migration runs on plexo-web's servers by itself; get_wordpress_migration reports
8
+ // progress and the estimated time left (and nudges it along, like an open dashboard).
8
9
  exports.WP_MIGRATION_TOOL_DEFS = [
9
10
  {
10
11
  name: "preview_wordpress_migration",
@@ -23,7 +24,7 @@ exports.WP_MIGRATION_TOOL_DEFS = [
23
24
 
24
25
  Requires the owner's explicit confirmation that they own the site (ownershipConfirmed: true) — ask them, never assume. If their account hasn't accepted Plexo's Acceptable Use Policy yet, the call fails with requiresAupAcceptance; ask them to read /legal/acceptable-use and retry with acceptAcceptableUsePolicy: true only if they agree.
25
26
 
26
- Returns templateId + jobId. Then call get_wordpress_migration repeatedly (each call advances the migration) until phase is COMPLETED.`,
27
+ Returns templateId + jobId. The migration then runs on Plexo's servers by itself — a small site takes minutes, a blog with thousands of posts can take hours — and the owner is emailed when it's done (or if it pauses). Tell the owner the estimated time (preview_wordpress_migration's estimatedDuration) and that they can come back later; check progress with get_wordpress_migration.`,
27
28
  inputSchema: {
28
29
  type: "object",
29
30
  properties: {
@@ -36,7 +37,7 @@ Returns templateId + jobId. Then call get_wordpress_migration repeatedly (each c
36
37
  },
37
38
  {
38
39
  name: "get_wordpress_migration",
39
- description: `Advances a WordPress migration by one step and returns its progress — call it repeatedly until phase is COMPLETED (or PAUSED_ERROR, in which case calling again retries from where it stopped). When COMPLETED, returns the report: what was copied, SEO comparison, what happened to each plugin, and a cutover checklist. Items with status "blocked" (e.g. connecting payments for a donation form) must be done before the owner points their domain at Plexo; tell the owner about them plainly. Omit jobId to get the organization's most recent migration.`,
40
+ description: `Returns a WordPress migration's progress and estimated time left (it runs on its own; each call also nudges it along). Check back occasionally rather than polling in a tight loop — the owner is emailed when it finishes. If phase is PAUSED_ERROR, calling again retries from where it stopped. When COMPLETED, returns the report: what was copied, SEO comparison, what happened to each plugin, and a cutover checklist. Items with status "blocked" (e.g. connecting payments for a donation form) must be done before the owner points their domain at Plexo; tell the owner about them plainly. Omit jobId to get the organization's most recent migration.`,
40
41
  inputSchema: {
41
42
  type: "object",
42
43
  properties: {
@@ -94,7 +95,7 @@ async function handleWpMigrationToolCall(name, args, client) {
94
95
  if (typeof args?.url !== "string" || !args.url.trim())
95
96
  throw new Error("url is required.");
96
97
  const result = await client.previewWordPressMigration(args.url);
97
- return { preview: result.preview };
98
+ return { preview: result.preview, estimatedDuration: result.estimatedDuration };
98
99
  }
99
100
  case "start_wordpress_migration": {
100
101
  const result = await client.startWordPressMigration({
@@ -109,7 +110,7 @@ async function handleWpMigrationToolCall(name, args, client) {
109
110
  templateId: result.templateId,
110
111
  jobId: result.jobId,
111
112
  dashboardUrl: `${base}/dashboard/migrate/wordpress?site=${result.templateId}&job=${result.jobId}`,
112
- next: "Call get_wordpress_migration with this templateId and jobId until phase is COMPLETED.",
113
+ next: "It now runs on Plexo's servers by itself — the owner is emailed when it's done (and if it ever pauses). Call get_wordpress_migration to check progress and the estimated time left; a big blog can take hours, so tell the owner they can come back later.",
113
114
  };
114
115
  }
115
116
  case "get_wordpress_migration": {
@@ -144,8 +145,11 @@ async function handleWpMigrationToolCall(name, args, client) {
144
145
  jobId,
145
146
  dashboardUrl,
146
147
  counts: job.counts ?? null,
148
+ estimatedTimeLeft: typeof job.estimatedSecondsLeft === "number" ? formatDuration(job.estimatedSecondsLeft) : "still reading the WordPress site to work out its size",
147
149
  lastError: job.phase === "PAUSED_ERROR" ? (job.errors ?? []).slice(-1)[0] : undefined,
148
- next: job.phase === "PAUSED_ERROR" ? "Call get_wordpress_migration again to retry from where it stopped." : "Call get_wordpress_migration again to continue.",
150
+ next: job.phase === "PAUSED_ERROR"
151
+ ? "Call get_wordpress_migration again to retry from where it stopped."
152
+ : "It keeps running by itself and the owner is emailed when it's done — check back later with get_wordpress_migration rather than polling continuously.",
149
153
  };
150
154
  }
151
155
  case "get_domain_switch_plan": {
@@ -192,3 +196,23 @@ async function handleWpMigrationToolCall(name, args, client) {
192
196
  }
193
197
  throw new Error(`Unknown tool: ${name}`);
194
198
  }
199
+ /** Same wording as plexo-web's lib/wpMigration/estimate.ts formatDuration. */
200
+ function formatDuration(seconds) {
201
+ if (seconds < 90)
202
+ return "about a minute";
203
+ const minutes = seconds / 60;
204
+ if (minutes < 10)
205
+ return `about ${Math.round(minutes)} minutes`;
206
+ if (minutes < 55)
207
+ return `about ${Math.round(minutes / 5) * 5} minutes`;
208
+ const hours = minutes / 60;
209
+ if (hours < 1.25)
210
+ return "about an hour";
211
+ if (hours < 10) {
212
+ const half = Math.round(hours * 2) / 2;
213
+ return `about ${Number.isInteger(half) ? half : `${Math.floor(half)}½`} hours`;
214
+ }
215
+ if (hours < 36)
216
+ return `about ${Math.round(hours)} hours`;
217
+ return `about ${Math.round(hours / 24)} days`;
218
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charisol/plexo-mcp",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Model Context Protocol (MCP) Server for Plexo - Landing page generation, email templates, publishing, and analytics.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -843,6 +843,15 @@ export class PlexoClient {
843
843
 
844
844
  // ── WordPress migration (/api/v1/wp-migration) ──────────────────────────────
845
845
 
846
+ /** Every form on a site and where its submissions go (MailDrip list, webhook). */
847
+ async getFormSettings(templateId: string): Promise<any> {
848
+ return this.apiFetch("GET", `/api/v1/templates/${encodeURIComponent(templateId)}/form-settings`, undefined, "Form settings");
849
+ }
850
+
851
+ async setFormDestinations(templateId: string, body: { formName: string; maildripGroupId?: string | null; webhookUrl?: string | null }): Promise<any> {
852
+ return this.apiFetch("PUT", `/api/v1/templates/${encodeURIComponent(templateId)}/form-settings`, body, "Form settings");
853
+ }
854
+
846
855
  async previewWordPressMigration(sourceUrl: string): Promise<any> {
847
856
  return this.apiFetch("POST", "/api/v1/wp-migration/detect", { sourceUrl }, "WordPress check");
848
857
  }
@@ -0,0 +1,50 @@
1
+ import { PlexoClient } from "./client/plexoClient.js";
2
+
3
+ // Where a site's forms send submissions — same tools, same descriptions as the live
4
+ // connector in plexo-web (lib/mcp/formTools.ts), executed through plexo-web's REST API.
5
+
6
+ export const FORM_TOOL_DEFS = [
7
+ {
8
+ name: "get_form_settings",
9
+ description:
10
+ "Lists every form on a site and where its submissions go besides the Form Submissions inbox and the owner's email: a MailDrip list and/or a webhook (Zapier, Make, a CRM), plus a thank-you page and anything a migrated WordPress form did that Plexo doesn't repeat (note). Also says whether MailDrip is connected and lists the account's MailDrip lists (ids to use with set_form_destinations).",
11
+ inputSchema: {
12
+ type: "object",
13
+ properties: { templateId: { type: "string", description: "The site's home page id (see list_landing_pages)." } },
14
+ required: ["templateId"],
15
+ },
16
+ },
17
+ {
18
+ name: "set_form_destinations",
19
+ description:
20
+ "Sets where one form sends each submission: maildripGroupId adds the person (email and name, taken from the submission) to that MailDrip list in the site's own MailDrip account — MailDrip must be connected first; webhookUrl POSTs every submission (https only). Pass null to stop one. Form names come from get_form_settings.",
21
+ inputSchema: {
22
+ type: "object",
23
+ properties: {
24
+ templateId: { type: "string", description: "The site's home page id." },
25
+ formName: { type: "string", description: "Exactly as get_form_settings lists it." },
26
+ maildripGroupId: { type: ["string", "null"], description: "A list id from get_form_settings' maildrip.groups, or null to stop adding to a list." },
27
+ webhookUrl: { type: ["string", "null"], description: "https address to send each submission to, or null to stop." },
28
+ },
29
+ required: ["templateId", "formName"],
30
+ },
31
+ },
32
+ ];
33
+
34
+ export const FORM_TOOL_NAMES = new Set(FORM_TOOL_DEFS.map((t) => t.name));
35
+
36
+ export async function handleFormToolCall(name: string, args: any, client: PlexoClient): Promise<any> {
37
+ const templateId = typeof args?.templateId === "string" ? args.templateId.trim() : "";
38
+ if (!templateId) throw new Error("templateId is required — pass the site's home page id (see list_landing_pages).");
39
+ if (name === "get_form_settings") {
40
+ const overview = await client.getFormSettings(templateId);
41
+ return {
42
+ ...overview,
43
+ next: overview.maildrip?.connected
44
+ ? "Use set_form_destinations to add a form's sign-ups to one of these MailDrip lists, or to send its submissions to a webhook."
45
+ : "MailDrip isn't connected for this site — the owner connects it from the Form Submissions page (Connect MailDrip). Webhooks work without it.",
46
+ };
47
+ }
48
+ const { form } = await client.setFormDestinations(templateId, { formName: String(args?.formName ?? ""), maildripGroupId: args?.maildripGroupId, webhookUrl: args?.webhookUrl });
49
+ return { form, next: "New submissions to this form go there from now on. Suggest the owner sends a test submission to check it arrives." };
50
+ }
package/src/index.ts CHANGED
@@ -12,6 +12,7 @@ import { COMMERCE_TOOL_DEFS, COMMERCE_TOOL_NAMES, handleCommerceToolCall } from
12
12
  import { LMS_TOOL_DEFS, LMS_TOOL_NAMES, handleLmsToolCall } from "./lmsTools.js";
13
13
  import { DONATION_TOOL_DEFS, DONATION_TOOL_NAMES, handleDonationToolCall } from "./donationTools.js";
14
14
  import { WP_MIGRATION_TOOL_DEFS, WP_MIGRATION_TOOL_NAMES, handleWpMigrationToolCall } from "./wpMigrationTools.js";
15
+ import { FORM_TOOL_DEFS, FORM_TOOL_NAMES, handleFormToolCall } from "./formTools.js";
15
16
 
16
17
  const server = new Server(
17
18
  {
@@ -654,6 +655,7 @@ To edit a page's CONTENT (designJson), use update_template with the same templat
654
655
  ...LMS_TOOL_DEFS,
655
656
  ...DONATION_TOOL_DEFS,
656
657
  ...WP_MIGRATION_TOOL_DEFS,
658
+ ...FORM_TOOL_DEFS,
657
659
  ],
658
660
  };
659
661
  });
@@ -962,6 +964,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
962
964
  for (const [names, handler] of [
963
965
  [DONATION_TOOL_NAMES, handleDonationToolCall],
964
966
  [WP_MIGRATION_TOOL_NAMES, handleWpMigrationToolCall],
967
+ [FORM_TOOL_NAMES, handleFormToolCall],
965
968
  ] as const) {
966
969
  if (names.has(name)) {
967
970
  const result = await handler(name, (args as any) || {}, client);
@@ -2,7 +2,8 @@ import { PlexoClient } from "./client/plexoClient.js";
2
2
 
3
3
  // WordPress → Plexo migration — same tools, same descriptions as the live connector in
4
4
  // plexo-web (lib/mcp/wpMigrationTools.ts), executed through plexo-web's REST API.
5
- // get_wordpress_migration advances the migration one step per call, like the dashboard.
5
+ // The migration runs on plexo-web's servers by itself; get_wordpress_migration reports
6
+ // progress and the estimated time left (and nudges it along, like an open dashboard).
6
7
 
7
8
  export const WP_MIGRATION_TOOL_DEFS = [
8
9
  {
@@ -22,7 +23,7 @@ export const WP_MIGRATION_TOOL_DEFS = [
22
23
 
23
24
  Requires the owner's explicit confirmation that they own the site (ownershipConfirmed: true) — ask them, never assume. If their account hasn't accepted Plexo's Acceptable Use Policy yet, the call fails with requiresAupAcceptance; ask them to read /legal/acceptable-use and retry with acceptAcceptableUsePolicy: true only if they agree.
24
25
 
25
- Returns templateId + jobId. Then call get_wordpress_migration repeatedly (each call advances the migration) until phase is COMPLETED.`,
26
+ Returns templateId + jobId. The migration then runs on Plexo's servers by itself — a small site takes minutes, a blog with thousands of posts can take hours — and the owner is emailed when it's done (or if it pauses). Tell the owner the estimated time (preview_wordpress_migration's estimatedDuration) and that they can come back later; check progress with get_wordpress_migration.`,
26
27
  inputSchema: {
27
28
  type: "object",
28
29
  properties: {
@@ -35,7 +36,7 @@ Returns templateId + jobId. Then call get_wordpress_migration repeatedly (each c
35
36
  },
36
37
  {
37
38
  name: "get_wordpress_migration",
38
- description: `Advances a WordPress migration by one step and returns its progress — call it repeatedly until phase is COMPLETED (or PAUSED_ERROR, in which case calling again retries from where it stopped). When COMPLETED, returns the report: what was copied, SEO comparison, what happened to each plugin, and a cutover checklist. Items with status "blocked" (e.g. connecting payments for a donation form) must be done before the owner points their domain at Plexo; tell the owner about them plainly. Omit jobId to get the organization's most recent migration.`,
39
+ description: `Returns a WordPress migration's progress and estimated time left (it runs on its own; each call also nudges it along). Check back occasionally rather than polling in a tight loop — the owner is emailed when it finishes. If phase is PAUSED_ERROR, calling again retries from where it stopped. When COMPLETED, returns the report: what was copied, SEO comparison, what happened to each plugin, and a cutover checklist. Items with status "blocked" (e.g. connecting payments for a donation form) must be done before the owner points their domain at Plexo; tell the owner about them plainly. Omit jobId to get the organization's most recent migration.`,
39
40
  inputSchema: {
40
41
  type: "object",
41
42
  properties: {
@@ -96,7 +97,7 @@ export async function handleWpMigrationToolCall(name: string, args: any, client:
96
97
  case "preview_wordpress_migration": {
97
98
  if (typeof args?.url !== "string" || !args.url.trim()) throw new Error("url is required.");
98
99
  const result = await client.previewWordPressMigration(args.url);
99
- return { preview: result.preview };
100
+ return { preview: result.preview, estimatedDuration: result.estimatedDuration };
100
101
  }
101
102
 
102
103
  case "start_wordpress_migration": {
@@ -111,7 +112,7 @@ export async function handleWpMigrationToolCall(name: string, args: any, client:
111
112
  templateId: result.templateId,
112
113
  jobId: result.jobId,
113
114
  dashboardUrl: `${base}/dashboard/migrate/wordpress?site=${result.templateId}&job=${result.jobId}`,
114
- next: "Call get_wordpress_migration with this templateId and jobId until phase is COMPLETED.",
115
+ next: "It now runs on Plexo's servers by itself — the owner is emailed when it's done (and if it ever pauses). Call get_wordpress_migration to check progress and the estimated time left; a big blog can take hours, so tell the owner they can come back later.",
115
116
  };
116
117
  }
117
118
 
@@ -145,8 +146,11 @@ export async function handleWpMigrationToolCall(name: string, args: any, client:
145
146
  jobId,
146
147
  dashboardUrl,
147
148
  counts: job.counts ?? null,
149
+ estimatedTimeLeft: typeof job.estimatedSecondsLeft === "number" ? formatDuration(job.estimatedSecondsLeft) : "still reading the WordPress site to work out its size",
148
150
  lastError: job.phase === "PAUSED_ERROR" ? (job.errors ?? []).slice(-1)[0] : undefined,
149
- next: job.phase === "PAUSED_ERROR" ? "Call get_wordpress_migration again to retry from where it stopped." : "Call get_wordpress_migration again to continue.",
151
+ next: job.phase === "PAUSED_ERROR"
152
+ ? "Call get_wordpress_migration again to retry from where it stopped."
153
+ : "It keeps running by itself and the owner is emailed when it's done — check back later with get_wordpress_migration rather than polling continuously.",
150
154
  };
151
155
  }
152
156
 
@@ -196,3 +200,19 @@ export async function handleWpMigrationToolCall(name: string, args: any, client:
196
200
  }
197
201
  throw new Error(`Unknown tool: ${name}`);
198
202
  }
203
+
204
+ /** Same wording as plexo-web's lib/wpMigration/estimate.ts formatDuration. */
205
+ function formatDuration(seconds: number): string {
206
+ if (seconds < 90) return "about a minute";
207
+ const minutes = seconds / 60;
208
+ if (minutes < 10) return `about ${Math.round(minutes)} minutes`;
209
+ if (minutes < 55) return `about ${Math.round(minutes / 5) * 5} minutes`;
210
+ const hours = minutes / 60;
211
+ if (hours < 1.25) return "about an hour";
212
+ if (hours < 10) {
213
+ const half = Math.round(hours * 2) / 2;
214
+ return `about ${Number.isInteger(half) ? half : `${Math.floor(half)}½`} hours`;
215
+ }
216
+ if (hours < 36) return `about ${Math.round(hours)} hours`;
217
+ return `about ${Math.round(hours / 24)} days`;
218
+ }