@sakupa/mcp 0.7.21 → 0.7.22
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 +23 -7
- package/dist/index.js +23 -7
- package/package.json +1 -1
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.
|
|
132
|
+
var SAKUPA_MCP_VERSION = "0.7.22";
|
|
133
133
|
|
|
134
134
|
// ../core/dist/domain/errors.js
|
|
135
135
|
var HTTP_STATUS = {
|
|
@@ -2248,14 +2248,18 @@ Full status:`, res);
|
|
|
2248
2248
|
throw new SakupaError("invalid_request", "hostname is required for start");
|
|
2249
2249
|
}
|
|
2250
2250
|
const res2 = await ctx.client.recoverDomain({ hostname: args.hostname });
|
|
2251
|
+
const txtShort = shortHostFor(res2.verificationRecord.name, res2.apexDomain);
|
|
2251
2252
|
return text(
|
|
2252
2253
|
"domain_recovery_started",
|
|
2253
2254
|
`Recovery started for ${args.hostname} (apex domain: ${res2.apexDomain}).
|
|
2254
2255
|
|
|
2255
2256
|
Create this DNS record to prove apex-domain control:
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
value:
|
|
2257
|
+
type: ${res2.verificationRecord.type}
|
|
2258
|
+
host/label: ${txtShort}
|
|
2259
|
+
value: ${res2.verificationRecord.value}
|
|
2260
|
+
full name: ${res2.verificationRecord.name}
|
|
2261
|
+
|
|
2262
|
+
Enter ONLY "${txtShort}" in DNS panels whose host/name field automatically appends ".${res2.apexDomain}". The saved full record must be exactly "${res2.verificationRecord.name}" and must never contain the apex twice.
|
|
2259
2263
|
|
|
2260
2264
|
${res2.message}
|
|
2261
2265
|
|
|
@@ -2265,7 +2269,18 @@ After the DNS record resolves, re-run recover with verificationId: "${res2.verif
|
|
|
2265
2269
|
{
|
|
2266
2270
|
verificationId: res2.verificationId,
|
|
2267
2271
|
apexDomain: res2.apexDomain,
|
|
2268
|
-
verificationRecord:
|
|
2272
|
+
verificationRecord: {
|
|
2273
|
+
...res2.verificationRecord,
|
|
2274
|
+
shortHost: txtShort
|
|
2275
|
+
},
|
|
2276
|
+
requiredRecords: [
|
|
2277
|
+
{
|
|
2278
|
+
type: res2.verificationRecord.type,
|
|
2279
|
+
shortHost: txtShort,
|
|
2280
|
+
name: res2.verificationRecord.name,
|
|
2281
|
+
value: res2.verificationRecord.value
|
|
2282
|
+
}
|
|
2283
|
+
],
|
|
2269
2284
|
revokesPreviousCredentialsByDefault: true
|
|
2270
2285
|
},
|
|
2271
2286
|
"waiting_user"
|
|
@@ -2733,8 +2748,9 @@ frustrated, proactively offer report: it files the problem into Sakupa's ticket
|
|
|
2733
2748
|
alert stream, and you should attach your own factual account via agentContext.
|
|
2734
2749
|
|
|
2735
2750
|
Present every step as Sakupa's own: never attribute DNS, certificates or hosting to
|
|
2736
|
-
underlying infrastructure vendors in front of the user. Relay DNS record
|
|
2737
|
-
|
|
2751
|
+
underlying infrastructure vendors in front of the user. Relay DNS record values and full
|
|
2752
|
+
names verbatim, but use the tool's shortHost value for a DNS panel host/name field that
|
|
2753
|
+
automatically appends the apex domain. The saved FQDN must never contain the apex twice.
|
|
2738
2754
|
|
|
2739
2755
|
Safety boundaries:
|
|
2740
2756
|
- Static output only: no SSR, API routes, middleware, server actions, databases or online builds.
|
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.
|
|
127
|
+
var SAKUPA_MCP_VERSION = "0.7.22";
|
|
128
128
|
|
|
129
129
|
// ../core/dist/domain/errors.js
|
|
130
130
|
var HTTP_STATUS = {
|
|
@@ -2314,14 +2314,18 @@ Full status:`, res);
|
|
|
2314
2314
|
throw new SakupaError("invalid_request", "hostname is required for start");
|
|
2315
2315
|
}
|
|
2316
2316
|
const res2 = await ctx.client.recoverDomain({ hostname: args.hostname });
|
|
2317
|
+
const txtShort = shortHostFor(res2.verificationRecord.name, res2.apexDomain);
|
|
2317
2318
|
return text(
|
|
2318
2319
|
"domain_recovery_started",
|
|
2319
2320
|
`Recovery started for ${args.hostname} (apex domain: ${res2.apexDomain}).
|
|
2320
2321
|
|
|
2321
2322
|
Create this DNS record to prove apex-domain control:
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
value:
|
|
2323
|
+
type: ${res2.verificationRecord.type}
|
|
2324
|
+
host/label: ${txtShort}
|
|
2325
|
+
value: ${res2.verificationRecord.value}
|
|
2326
|
+
full name: ${res2.verificationRecord.name}
|
|
2327
|
+
|
|
2328
|
+
Enter ONLY "${txtShort}" in DNS panels whose host/name field automatically appends ".${res2.apexDomain}". The saved full record must be exactly "${res2.verificationRecord.name}" and must never contain the apex twice.
|
|
2325
2329
|
|
|
2326
2330
|
${res2.message}
|
|
2327
2331
|
|
|
@@ -2331,7 +2335,18 @@ After the DNS record resolves, re-run recover with verificationId: "${res2.verif
|
|
|
2331
2335
|
{
|
|
2332
2336
|
verificationId: res2.verificationId,
|
|
2333
2337
|
apexDomain: res2.apexDomain,
|
|
2334
|
-
verificationRecord:
|
|
2338
|
+
verificationRecord: {
|
|
2339
|
+
...res2.verificationRecord,
|
|
2340
|
+
shortHost: txtShort
|
|
2341
|
+
},
|
|
2342
|
+
requiredRecords: [
|
|
2343
|
+
{
|
|
2344
|
+
type: res2.verificationRecord.type,
|
|
2345
|
+
shortHost: txtShort,
|
|
2346
|
+
name: res2.verificationRecord.name,
|
|
2347
|
+
value: res2.verificationRecord.value
|
|
2348
|
+
}
|
|
2349
|
+
],
|
|
2335
2350
|
revokesPreviousCredentialsByDefault: true
|
|
2336
2351
|
},
|
|
2337
2352
|
"waiting_user"
|
|
@@ -2728,8 +2743,9 @@ frustrated, proactively offer report: it files the problem into Sakupa's ticket
|
|
|
2728
2743
|
alert stream, and you should attach your own factual account via agentContext.
|
|
2729
2744
|
|
|
2730
2745
|
Present every step as Sakupa's own: never attribute DNS, certificates or hosting to
|
|
2731
|
-
underlying infrastructure vendors in front of the user. Relay DNS record
|
|
2732
|
-
|
|
2746
|
+
underlying infrastructure vendors in front of the user. Relay DNS record values and full
|
|
2747
|
+
names verbatim, but use the tool's shortHost value for a DNS panel host/name field that
|
|
2748
|
+
automatically appends the apex domain. The saved FQDN must never contain the apex twice.
|
|
2733
2749
|
|
|
2734
2750
|
Safety boundaries:
|
|
2735
2751
|
- Static output only: no SSR, API routes, middleware, server actions, databases or online builds.
|