rankcontrol 0.8.2 → 0.8.3
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/src/cli.mjs +5 -0
- package/src/client.mjs +1 -0
- package/src/mcp.mjs +9 -2
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -63,6 +63,11 @@ export function runCli(argv) {
|
|
|
63
63
|
.description("Composite visibility score blending AI citation rate with Google and Bing rank share, with subscores")
|
|
64
64
|
.action(() => api.visibilityScore().then(out).catch(fail));
|
|
65
65
|
|
|
66
|
+
program
|
|
67
|
+
.command("expedition")
|
|
68
|
+
.description("First-run setup progress: five acts with per-step completion and the current act")
|
|
69
|
+
.action(() => api.expedition().then(out).catch(fail));
|
|
70
|
+
|
|
66
71
|
program
|
|
67
72
|
.command("visibility")
|
|
68
73
|
.description("Daily AI visibility score trend from the stored weekly citation checks")
|
package/src/client.mjs
CHANGED
|
@@ -103,6 +103,7 @@ export const api = {
|
|
|
103
103
|
return request("GET", `/api/v1/citations${qs ? `?${qs}` : ""}`);
|
|
104
104
|
},
|
|
105
105
|
visibilityScore: () => request("GET", "/api/v1/visibility/score"),
|
|
106
|
+
expedition: () => request("GET", "/api/v1/expedition"),
|
|
106
107
|
planningCapacity: () => request("GET", "/api/v1/content/planning-capacity"),
|
|
107
108
|
jobs: (limit = 20) => request("GET", `/api/v1/jobs?limit=${limit}`),
|
|
108
109
|
content: () => request("GET", "/api/v1/content"),
|
package/src/mcp.mjs
CHANGED
|
@@ -29,7 +29,7 @@ const plannedTitle = z.object({
|
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
export async function startMcpServer() {
|
|
32
|
-
const server = new McpServer({ name: "rankcontrol", version: "0.8.
|
|
32
|
+
const server = new McpServer({ name: "rankcontrol", version: "0.8.3" });
|
|
33
33
|
|
|
34
34
|
server.tool(
|
|
35
35
|
"get_overview_funnel",
|
|
@@ -62,6 +62,13 @@ export async function startMcpServer() {
|
|
|
62
62
|
run(() => api.visibilityScore())
|
|
63
63
|
);
|
|
64
64
|
|
|
65
|
+
server.tool(
|
|
66
|
+
"get_setup_progress",
|
|
67
|
+
"First-run setup progress for the workspace: five acts from first article live through analytics, each with per-step completion, plus the current act. Use to tell the user what remains to finish setting up.",
|
|
68
|
+
{},
|
|
69
|
+
run(() => api.expedition())
|
|
70
|
+
);
|
|
71
|
+
|
|
65
72
|
server.tool(
|
|
66
73
|
"get_citability_report",
|
|
67
74
|
"Published pages ranked by citability score (how extractable each page is for AI answers), worst first, each with its top open fixes. Use to decide which articles to improve.",
|
|
@@ -432,7 +439,7 @@ export async function startMcpServer() {
|
|
|
432
439
|
|
|
433
440
|
server.tool(
|
|
434
441
|
"get_article_settings",
|
|
435
|
-
"The workspace article policy: per-article defaults (auto-write, auto-publish, images, title-in-hero, section infographics, Related Reading, YouTube, emojis, link counts, global instructions) plus the flexible-scheduling flag.",
|
|
442
|
+
"The workspace article policy: per-article defaults (auto-write, auto-publish, images, title-in-hero, section infographics, Related Reading, YouTube, emojis, link counts, global instructions) plus the flexible-scheduling flag. News and trending articles always publish manually, regardless of auto-publish.",
|
|
436
443
|
{},
|
|
437
444
|
run(() => api.articleSettings())
|
|
438
445
|
);
|