@sakupa/mcp 0.7.23 → 0.7.24

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/bin.js CHANGED
@@ -129,7 +129,7 @@ var FORBIDDEN_PATH_SEGMENTS = [
129
129
  var ALLOWED_HIDDEN_PATHS = [".well-known/"];
130
130
 
131
131
  // ../core/dist/domain/version.js
132
- var SAKUPA_MCP_VERSION = "0.7.23";
132
+ var SAKUPA_MCP_VERSION = "0.7.24";
133
133
 
134
134
  // ../core/dist/domain/errors.js
135
135
  var HTTP_STATUS = {
@@ -3025,10 +3025,15 @@ No DNS verification was started or repeated.`,
3025
3025
  if (!args.hostname) {
3026
3026
  throw new SakupaError("invalid_request", "hostname is required for start");
3027
3027
  }
3028
- const res2 = await ctx.client.recoverDomain({ hostname: args.hostname });
3028
+ const credential = generateCredential();
3029
+ const credentialFingerprint = await sha256Hex(new TextEncoder().encode(credential));
3030
+ const res2 = await ctx.client.recoverDomain({
3031
+ hostname: args.hostname,
3032
+ credentialFingerprint
3033
+ });
3029
3034
  writeRecoveryFile(ctx.projectDir, {
3030
3035
  verificationId: res2.verificationId,
3031
- credential: generateCredential(),
3036
+ credential,
3032
3037
  createdAt: (/* @__PURE__ */ new Date()).toISOString()
3033
3038
  });
3034
3039
  const txtShort = shortHostFor(res2.verificationRecord.name, res2.apexDomain);
package/dist/index.js CHANGED
@@ -124,7 +124,7 @@ var FORBIDDEN_PATH_SEGMENTS = [
124
124
  var ALLOWED_HIDDEN_PATHS = [".well-known/"];
125
125
 
126
126
  // ../core/dist/domain/version.js
127
- var SAKUPA_MCP_VERSION = "0.7.23";
127
+ var SAKUPA_MCP_VERSION = "0.7.24";
128
128
 
129
129
  // ../core/dist/domain/errors.js
130
130
  var HTTP_STATUS = {
@@ -3114,10 +3114,15 @@ No DNS verification was started or repeated.`,
3114
3114
  if (!args.hostname) {
3115
3115
  throw new SakupaError("invalid_request", "hostname is required for start");
3116
3116
  }
3117
- const res2 = await ctx.client.recoverDomain({ hostname: args.hostname });
3117
+ const credential = generateCredential();
3118
+ const credentialFingerprint = await sha256Hex(new TextEncoder().encode(credential));
3119
+ const res2 = await ctx.client.recoverDomain({
3120
+ hostname: args.hostname,
3121
+ credentialFingerprint
3122
+ });
3118
3123
  writeRecoveryFile(ctx.projectDir, {
3119
3124
  verificationId: res2.verificationId,
3120
- credential: generateCredential(),
3125
+ credential,
3121
3126
  createdAt: (/* @__PURE__ */ new Date()).toISOString()
3122
3127
  });
3123
3128
  const txtShort = shortHostFor(res2.verificationRecord.name, res2.apexDomain);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sakupa/mcp",
3
- "version": "0.7.23",
3
+ "version": "0.7.24",
4
4
  "description": "Sakupa MCP server: publish AI-made static sites from your AI tool. AI-made pages, live in seconds.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",