crawlmark-mcp 0.1.1 → 0.1.2
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/setup/wizard.js +4 -1
- package/package.json +1 -1
package/dist/setup/wizard.js
CHANGED
|
@@ -650,8 +650,11 @@ export async function stepProviderPick(ctx) {
|
|
|
650
650
|
ctx.out(`SEO data providers: ${ids.map((id) => `${PROVIDER_LABELS[id]} (${(works(id, st.get(rowId(id))) ? "working" : STATE_WORD[st.get(rowId(id))?.state ?? "missing"])})`).join(", ")}`);
|
|
651
651
|
ctx.out(describeDefault(st.get("seoprovider")));
|
|
652
652
|
ctx.out("Keyword volumes, rankings, competitors and backlinks come from a paid provider. Pick the ones you have an API key for (none is required).");
|
|
653
|
+
if (ctx.ui?.fancy)
|
|
654
|
+
ctx.out("Space selects, Enter continues. To skip, press Enter with nothing selected; add one later with setup --step provider.");
|
|
653
655
|
const keyed = ids.filter((id) => hasKey(id, st.get(rowId(id))));
|
|
654
|
-
|
|
656
|
+
// Nothing is ticked for you: only providers you already have a key for start selected (a re-run).
|
|
657
|
+
const defaults = keyed;
|
|
655
658
|
const choices = ids.map((id) => ({ value: id, label: PROVIDER_LABELS[id], hint: PROVIDER_HINTS[id] }));
|
|
656
659
|
const picked = ctx.prompt.multiselect ? await ctx.prompt.multiselect("Which SEO data providers do you have?", choices, defaults) : [...defaults];
|
|
657
660
|
const selected = new Set(picked);
|
package/package.json
CHANGED