@shipstatic/mcp 1.12.0 → 1.12.2-beta.1

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.
@@ -95,11 +95,13 @@ export declare const UPLOAD_TOOL_TITLE = "Deploy Static Site";
95
95
  * to carry its own unit, and dividing by 86400 at eight sites would restate the
96
96
  * unit eight times instead of the number.
97
97
  *
98
- * The unit stays literal, and that is the one assumption here: this reads
99
- * correctly while the TTL is a whole number of days, which it has always been.
100
- * A TTL of hours would need the prose reviewed anyway — the widget's own
101
- * `formatExpires` speaks in days and hours too — so the honest failure is a
102
- * sentence someone must rewrite, not a number that silently rounds.
98
+ * Spelled by `formatDuration` since 2026-09-17, the platform's one way of
99
+ * saying a span of time, so the lifetime an agent is promised and the time a
100
+ * fresh deployment's card and CLI note say it has left are one spelling. It
101
+ * was `${TTL / 86_400} days` until then, correct only while the TTL was a
102
+ * whole number of days: a one-day lifetime would have read "1 days". The
103
+ * spelling still rounds a lifetime that is not a whole number of its unit
104
+ * (84 hours reads "4 days"), which no lifetime the platform has had needs.
103
105
  */
104
106
  export declare const PUBLIC_EXPIRY: string;
105
107
  /**
@@ -29,6 +29,7 @@
29
29
  */
30
30
  import { IDEMPOTENCY_KEY_CONSTRAINTS, LABEL_CONSTRAINTS, PASSWORD_CONSTRAINTS, } from '@shipstatic/ship';
31
31
  import { PUBLIC_DEPLOYMENT_TTL_SECONDS } from '@shipstatic/types';
32
+ import { formatDuration } from '@shipstatic/types/time';
32
33
  /**
33
34
  * Two packages, and the split is a rule rather than an accident: **read a
34
35
  * constant from whatever will act on it.**
@@ -97,13 +98,15 @@ export const UPLOAD_TOOL_TITLE = 'Deploy Static Site';
97
98
  * to carry its own unit, and dividing by 86400 at eight sites would restate the
98
99
  * unit eight times instead of the number.
99
100
  *
100
- * The unit stays literal, and that is the one assumption here: this reads
101
- * correctly while the TTL is a whole number of days, which it has always been.
102
- * A TTL of hours would need the prose reviewed anyway — the widget's own
103
- * `formatExpires` speaks in days and hours too — so the honest failure is a
104
- * sentence someone must rewrite, not a number that silently rounds.
101
+ * Spelled by `formatDuration` since 2026-09-17, the platform's one way of
102
+ * saying a span of time, so the lifetime an agent is promised and the time a
103
+ * fresh deployment's card and CLI note say it has left are one spelling. It
104
+ * was `${TTL / 86_400} days` until then, correct only while the TTL was a
105
+ * whole number of days: a one-day lifetime would have read "1 days". The
106
+ * spelling still rounds a lifetime that is not a whole number of its unit
107
+ * (84 hours reads "4 days"), which no lifetime the platform has had needs.
105
108
  */
106
- export const PUBLIC_EXPIRY = `${PUBLIC_DEPLOYMENT_TTL_SECONDS / 86_400} days`;
109
+ export const PUBLIC_EXPIRY = formatDuration(PUBLIC_DEPLOYMENT_TTL_SECONDS);
107
110
  /**
108
111
  * The MCP annotations a tool's contract implies. An agent reads them to
109
112
  * decide whether it may call speculatively (`readOnlyHint`), whether it must
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/mcp",
3
- "version": "1.12.0",
3
+ "version": "1.12.2-beta.1",
4
4
  "mcpName": "com.shipstatic/mcp",
5
5
  "description": "Deploy static websites, landing pages, and prototypes instantly from AI agents. Start with the hosted endpoint at mcp.shipstatic.com (no install, no signup, no API key), or install this package to deploy folders from your own machine. The same fifteen tools either way.",
6
6
  "type": "module",
@@ -68,8 +68,8 @@
68
68
  "license": "MIT",
69
69
  "dependencies": {
70
70
  "@modelcontextprotocol/sdk": "^1.30.0",
71
- "@shipstatic/ship": "2.9.2",
72
- "@shipstatic/types": "2.25.0",
71
+ "@shipstatic/ship": "2.9.4-beta.1",
72
+ "@shipstatic/types": "2.26.0-beta.1",
73
73
  "zod": "^4.4.3"
74
74
  },
75
75
  "devDependencies": {