@sakupa/mcp 0.7.18 → 0.7.19
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 +8 -15
- package/dist/index.js +8 -15
- 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.19";
|
|
133
133
|
|
|
134
134
|
// ../core/dist/domain/errors.js
|
|
135
135
|
var HTTP_STATUS = {
|
|
@@ -2088,21 +2088,17 @@ ${res2.message}
|
|
|
2088
2088
|
` : "";
|
|
2089
2089
|
return text(
|
|
2090
2090
|
"domain_verification_started",
|
|
2091
|
-
switchNotice + `Domain binding started for ${apex} (
|
|
2091
|
+
switchNotice + `Domain binding started for ${apex} (will serve: ${res.includedHostnames.join(", ")}).
|
|
2092
2092
|
|
|
2093
|
-
|
|
2093
|
+
This is a STEP-BY-STEP setup \u2014 give the user ONE record at a time so they do not get overwhelmed and give up.
|
|
2094
2094
|
|
|
2095
|
-
|
|
2096
|
-
2) CNAME host: www value: ${res.servingTarget}
|
|
2097
|
-
3) APEX host: @ -> ${res.servingTarget}. Try a plain CNAME at host @ first (most panels accept it); if rejected use ALIAS / ANAME / CNAME-flattening; if the panel has neither, skip it \u2014 www alone works, and a URL redirect from @ to www covers bare-domain visitors.
|
|
2095
|
+
STEP 1 of 2 \u2014 prove ownership. Add ONE record:
|
|
2098
2096
|
|
|
2099
|
-
|
|
2097
|
+
TXT host: ${txtShort} value: ${res.verificationRecord.value}
|
|
2100
2098
|
|
|
2101
|
-
Ownership comes ONLY from DNS control; paying never grants it. The first verified request wins and this challenge expires after 72 hours.
|
|
2099
|
+
Host is the SHORT form: most panels append the domain automatically (the saved record must NOT show ${apex} twice in one name). Ownership comes ONLY from DNS control; paying never grants it. The first verified request wins and this challenge expires after 72 hours.
|
|
2102
2100
|
|
|
2103
|
-
STEP 2
|
|
2104
|
-
|
|
2105
|
-
Drive the whole flow with bind "status": it live-checks every record and names the exact fix for anything wrong. Re-check every 5 minutes (up to 10 times). Any later session can resume with action "status" alone; the verificationId is optional.`,
|
|
2101
|
+
When the user says the TXT is set, run bind "status". It verifies ownership and then hands back STEP 2 \u2014 a SINGLE www CNAME (there are NO certificate TXT records; HTTPS validates automatically over that CNAME). Each "status" checks the previous step and, unless something is misconfigured, advances to the next \u2014 so run it whenever the user reports a step done, NOT on a timer. Any later session can resume with action "status" alone; the verificationId is optional.`,
|
|
2106
2102
|
{
|
|
2107
2103
|
verificationId: res.verificationId,
|
|
2108
2104
|
apexDomain: apex,
|
|
@@ -2116,11 +2112,8 @@ Drive the whole flow with bind "status": it live-checks every record and names t
|
|
|
2116
2112
|
shortHost: txtShort,
|
|
2117
2113
|
name: res.verificationRecord.name,
|
|
2118
2114
|
value: res.verificationRecord.value
|
|
2119
|
-
}
|
|
2120
|
-
{ type: "CNAME", shortHost: "www", name: `www.${apex}`, value: res.servingTarget },
|
|
2121
|
-
{ type: "ALIAS", shortHost: "@", name: apex, value: res.servingTarget }
|
|
2115
|
+
}
|
|
2122
2116
|
],
|
|
2123
|
-
servingInstructions: res.servingInstructions,
|
|
2124
2117
|
retryAfterSeconds: DNS_RETRY_AFTER_SECONDS,
|
|
2125
2118
|
maxAttempts: DNS_MAX_ATTEMPTS
|
|
2126
2119
|
},
|
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.19";
|
|
128
128
|
|
|
129
129
|
// ../core/dist/domain/errors.js
|
|
130
130
|
var HTTP_STATUS = {
|
|
@@ -2154,21 +2154,17 @@ ${res2.message}
|
|
|
2154
2154
|
` : "";
|
|
2155
2155
|
return text(
|
|
2156
2156
|
"domain_verification_started",
|
|
2157
|
-
switchNotice + `Domain binding started for ${apex} (
|
|
2157
|
+
switchNotice + `Domain binding started for ${apex} (will serve: ${res.includedHostnames.join(", ")}).
|
|
2158
2158
|
|
|
2159
|
-
|
|
2159
|
+
This is a STEP-BY-STEP setup \u2014 give the user ONE record at a time so they do not get overwhelmed and give up.
|
|
2160
2160
|
|
|
2161
|
-
|
|
2162
|
-
2) CNAME host: www value: ${res.servingTarget}
|
|
2163
|
-
3) APEX host: @ -> ${res.servingTarget}. Try a plain CNAME at host @ first (most panels accept it); if rejected use ALIAS / ANAME / CNAME-flattening; if the panel has neither, skip it \u2014 www alone works, and a URL redirect from @ to www covers bare-domain visitors.
|
|
2161
|
+
STEP 1 of 2 \u2014 prove ownership. Add ONE record:
|
|
2164
2162
|
|
|
2165
|
-
|
|
2163
|
+
TXT host: ${txtShort} value: ${res.verificationRecord.value}
|
|
2166
2164
|
|
|
2167
|
-
Ownership comes ONLY from DNS control; paying never grants it. The first verified request wins and this challenge expires after 72 hours.
|
|
2165
|
+
Host is the SHORT form: most panels append the domain automatically (the saved record must NOT show ${apex} twice in one name). Ownership comes ONLY from DNS control; paying never grants it. The first verified request wins and this challenge expires after 72 hours.
|
|
2168
2166
|
|
|
2169
|
-
STEP 2
|
|
2170
|
-
|
|
2171
|
-
Drive the whole flow with bind "status": it live-checks every record and names the exact fix for anything wrong. Re-check every 5 minutes (up to 10 times). Any later session can resume with action "status" alone; the verificationId is optional.`,
|
|
2167
|
+
When the user says the TXT is set, run bind "status". It verifies ownership and then hands back STEP 2 \u2014 a SINGLE www CNAME (there are NO certificate TXT records; HTTPS validates automatically over that CNAME). Each "status" checks the previous step and, unless something is misconfigured, advances to the next \u2014 so run it whenever the user reports a step done, NOT on a timer. Any later session can resume with action "status" alone; the verificationId is optional.`,
|
|
2172
2168
|
{
|
|
2173
2169
|
verificationId: res.verificationId,
|
|
2174
2170
|
apexDomain: apex,
|
|
@@ -2182,11 +2178,8 @@ Drive the whole flow with bind "status": it live-checks every record and names t
|
|
|
2182
2178
|
shortHost: txtShort,
|
|
2183
2179
|
name: res.verificationRecord.name,
|
|
2184
2180
|
value: res.verificationRecord.value
|
|
2185
|
-
}
|
|
2186
|
-
{ type: "CNAME", shortHost: "www", name: `www.${apex}`, value: res.servingTarget },
|
|
2187
|
-
{ type: "ALIAS", shortHost: "@", name: apex, value: res.servingTarget }
|
|
2181
|
+
}
|
|
2188
2182
|
],
|
|
2189
|
-
servingInstructions: res.servingInstructions,
|
|
2190
2183
|
retryAfterSeconds: DNS_RETRY_AFTER_SECONDS,
|
|
2191
2184
|
maxAttempts: DNS_MAX_ATTEMPTS
|
|
2192
2185
|
},
|