settld 0.2.6 → 0.2.7
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/package.json +1 -1
- package/scripts/setup/onboard.mjs +13 -1
package/package.json
CHANGED
|
@@ -1020,6 +1020,17 @@ async function runGuidedQuickFlow({
|
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
+
const paidToolsBaseUrl = String(actionEnv.SETTLD_PAID_TOOLS_BASE_URL ?? "").trim();
|
|
1024
|
+
if (!paidToolsBaseUrl) {
|
|
1025
|
+
summary.firstPaidCall = {
|
|
1026
|
+
ok: false,
|
|
1027
|
+
skipped: true,
|
|
1028
|
+
reason: "SETTLD_PAID_TOOLS_BASE_URL not configured"
|
|
1029
|
+
};
|
|
1030
|
+
summary.warnings.push("first paid call probe skipped (SETTLD_PAID_TOOLS_BASE_URL not configured)");
|
|
1031
|
+
return summary;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1023
1034
|
const paidProbe = runMcpPaidCallProbe({ env: actionEnv });
|
|
1024
1035
|
if (paidProbe.ok) {
|
|
1025
1036
|
summary.firstPaidCall = { ok: true };
|
|
@@ -1958,7 +1969,8 @@ export async function runOnboard({
|
|
|
1958
1969
|
if (guided.ran) {
|
|
1959
1970
|
lines.push(`- wallet fund: ${guided.walletFund?.ok ? "ok" : "not completed"}`);
|
|
1960
1971
|
lines.push(`- wallet balance watch: ${guided.walletBalanceWatch?.ok ? "ok" : "not completed"}`);
|
|
1961
|
-
|
|
1972
|
+
const firstPaidCallState = guided.firstPaidCall?.skipped ? "skipped" : guided.firstPaidCall?.ok ? "ok" : "failed";
|
|
1973
|
+
lines.push(`- first paid call: ${firstPaidCallState}`);
|
|
1962
1974
|
} else {
|
|
1963
1975
|
lines.push("- skipped");
|
|
1964
1976
|
}
|