@sakupa/mcp 0.7.53 → 0.7.54
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 +13 -5
- package/dist/index.js +13 -5
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -402,7 +402,7 @@ function isFreeSiteAllowanceNetworkReference(value) {
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
// ../core/dist/domain/version.js
|
|
405
|
-
var SAKUPA_MCP_VERSION = "0.7.
|
|
405
|
+
var SAKUPA_MCP_VERSION = "0.7.54";
|
|
406
406
|
|
|
407
407
|
// ../core/dist/domain/errors.js
|
|
408
408
|
var HTTP_STATUS = {
|
|
@@ -4850,12 +4850,14 @@ Once Stripe confirms payment and Sakupa synchronizes the subscription, the curre
|
|
|
4850
4850
|
provisioning: res2.bindingStatus === "provisioning"
|
|
4851
4851
|
});
|
|
4852
4852
|
const { apexResolves, allOk } = diag;
|
|
4853
|
+
const manualProviderRecheckRequired = res2.bindingStatus === "provisioning" && res2.provisioningPhase !== "waiting_dns";
|
|
4854
|
+
const customerRecheckInstruction = `The customer cannot know whether the certificate is ready. Never use conditional readiness wording or ask the customer to decide the provider state. Tell the customer: "You do not need to judge readiness. After about one minute, reply: check domain status. I will check it once." The AI, not the customer, calls bind status exactly once. During this zero-downtime transition, the previously active domain may still serve. Once this binding becomes active, Sakupa retains only the last bound domain unit: ${apex2} and www.${apex2}.`;
|
|
4853
4855
|
return text(
|
|
4854
4856
|
res2.bindingStatus === "active" ? "domain_binding_active" : res2.bindingStatus === "provisioning" ? "domain_binding_provisioning" : "domain_verification_pending",
|
|
4855
4857
|
`Domain binding status for ${apex2}: ${res2.status}
|
|
4856
|
-
${res2.message}
|
|
4858
|
+
${res2.message}` + (manualProviderRecheckRequired ? `
|
|
4857
4859
|
|
|
4858
|
-
` + renderChecklistBlock(
|
|
4860
|
+
${customerRecheckInstruction}` : "") + "\n\n" + renderChecklistBlock(
|
|
4859
4861
|
diag,
|
|
4860
4862
|
"Fix any [MISSING]/[FIX] lines above, then re-run bind status; if still failing after the attempts below, show the user this checklist."
|
|
4861
4863
|
),
|
|
@@ -4875,8 +4877,14 @@ ${res2.message}
|
|
|
4875
4877
|
automaticRetries: 0,
|
|
4876
4878
|
manualRecheckOnly: true,
|
|
4877
4879
|
backgroundRetry: false,
|
|
4878
|
-
manualStatusCheckRequired:
|
|
4879
|
-
suggestedRecheckAfterSeconds:
|
|
4880
|
+
manualStatusCheckRequired: manualProviderRecheckRequired,
|
|
4881
|
+
suggestedRecheckAfterSeconds: manualProviderRecheckRequired ? 60 : void 0,
|
|
4882
|
+
customerReadinessJudgmentRequired: false,
|
|
4883
|
+
customerReplyIntent: manualProviderRecheckRequired ? "check_domain_status" : void 0,
|
|
4884
|
+
customerInstruction: manualProviderRecheckRequired ? customerRecheckInstruction : void 0,
|
|
4885
|
+
transitionMayServePreviousDomain: manualProviderRecheckRequired,
|
|
4886
|
+
finalActiveBindingExclusive: true,
|
|
4887
|
+
postActivationRetainedHostnames: [apex2, `www.${apex2}`],
|
|
4880
4888
|
customerLiveConfirmed: res2.bindingStatus === "active",
|
|
4881
4889
|
message: res2.message
|
|
4882
4890
|
},
|
package/dist/index.js
CHANGED
|
@@ -147,7 +147,7 @@ function isFreeSiteAllowanceNetworkReference(value) {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
// ../core/dist/domain/version.js
|
|
150
|
-
var SAKUPA_MCP_VERSION = "0.7.
|
|
150
|
+
var SAKUPA_MCP_VERSION = "0.7.54";
|
|
151
151
|
|
|
152
152
|
// ../core/dist/domain/errors.js
|
|
153
153
|
var HTTP_STATUS = {
|
|
@@ -4966,12 +4966,14 @@ Once Stripe confirms payment and Sakupa synchronizes the subscription, the curre
|
|
|
4966
4966
|
provisioning: res2.bindingStatus === "provisioning"
|
|
4967
4967
|
});
|
|
4968
4968
|
const { apexResolves, allOk } = diag;
|
|
4969
|
+
const manualProviderRecheckRequired = res2.bindingStatus === "provisioning" && res2.provisioningPhase !== "waiting_dns";
|
|
4970
|
+
const customerRecheckInstruction = `The customer cannot know whether the certificate is ready. Never use conditional readiness wording or ask the customer to decide the provider state. Tell the customer: "You do not need to judge readiness. After about one minute, reply: check domain status. I will check it once." The AI, not the customer, calls bind status exactly once. During this zero-downtime transition, the previously active domain may still serve. Once this binding becomes active, Sakupa retains only the last bound domain unit: ${apex2} and www.${apex2}.`;
|
|
4969
4971
|
return text(
|
|
4970
4972
|
res2.bindingStatus === "active" ? "domain_binding_active" : res2.bindingStatus === "provisioning" ? "domain_binding_provisioning" : "domain_verification_pending",
|
|
4971
4973
|
`Domain binding status for ${apex2}: ${res2.status}
|
|
4972
|
-
${res2.message}
|
|
4974
|
+
${res2.message}` + (manualProviderRecheckRequired ? `
|
|
4973
4975
|
|
|
4974
|
-
` + renderChecklistBlock(
|
|
4976
|
+
${customerRecheckInstruction}` : "") + "\n\n" + renderChecklistBlock(
|
|
4975
4977
|
diag,
|
|
4976
4978
|
"Fix any [MISSING]/[FIX] lines above, then re-run bind status; if still failing after the attempts below, show the user this checklist."
|
|
4977
4979
|
),
|
|
@@ -4991,8 +4993,14 @@ ${res2.message}
|
|
|
4991
4993
|
automaticRetries: 0,
|
|
4992
4994
|
manualRecheckOnly: true,
|
|
4993
4995
|
backgroundRetry: false,
|
|
4994
|
-
manualStatusCheckRequired:
|
|
4995
|
-
suggestedRecheckAfterSeconds:
|
|
4996
|
+
manualStatusCheckRequired: manualProviderRecheckRequired,
|
|
4997
|
+
suggestedRecheckAfterSeconds: manualProviderRecheckRequired ? 60 : void 0,
|
|
4998
|
+
customerReadinessJudgmentRequired: false,
|
|
4999
|
+
customerReplyIntent: manualProviderRecheckRequired ? "check_domain_status" : void 0,
|
|
5000
|
+
customerInstruction: manualProviderRecheckRequired ? customerRecheckInstruction : void 0,
|
|
5001
|
+
transitionMayServePreviousDomain: manualProviderRecheckRequired,
|
|
5002
|
+
finalActiveBindingExclusive: true,
|
|
5003
|
+
postActivationRetainedHostnames: [apex2, `www.${apex2}`],
|
|
4996
5004
|
customerLiveConfirmed: res2.bindingStatus === "active",
|
|
4997
5005
|
message: res2.message
|
|
4998
5006
|
},
|