@rankcli/agent-runtime 0.0.21 → 0.0.22
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/index.js +9 -9
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18965,7 +18965,7 @@ function formatPRBody(fixes, options) {
|
|
|
18965
18965
|
body += "- [ ] Test social share previews (if OG tags changed)\n";
|
|
18966
18966
|
body += "\n";
|
|
18967
18967
|
body += "---\n";
|
|
18968
|
-
body += "\u{1F916} Generated with [
|
|
18968
|
+
body += "\u{1F916} Generated with [RankCLI](https://rankcli.dev)\n";
|
|
18969
18969
|
return body;
|
|
18970
18970
|
}
|
|
18971
18971
|
function generatePRDescription(fixes, config) {
|
|
@@ -25613,7 +25613,7 @@ function generateMarkdownReport(data) {
|
|
|
25613
25613
|
lines.push("");
|
|
25614
25614
|
lines.push("---");
|
|
25615
25615
|
lines.push("");
|
|
25616
|
-
lines.push("*Generated by [
|
|
25616
|
+
lines.push("*Generated by [RankCLI](https://rankcli.dev) \u{1F916}*");
|
|
25617
25617
|
return lines.join("\n");
|
|
25618
25618
|
}
|
|
25619
25619
|
function generateExecutiveSummary(data) {
|
|
@@ -31990,7 +31990,7 @@ function generateOGFix(context, siteName, url) {
|
|
|
31990
31990
|
skipReason: "OG tags already exist"
|
|
31991
31991
|
};
|
|
31992
31992
|
}
|
|
31993
|
-
const ogTags = `<!--
|
|
31993
|
+
const ogTags = `<!-- RankCLI: Missing OG tags -->
|
|
31994
31994
|
${missingTags.join("\n ")}`;
|
|
31995
31995
|
return {
|
|
31996
31996
|
issue: { code: "MISSING_OG_TAGS", message: "Missing Open Graph tags", severity: "warning" },
|
|
@@ -32828,8 +32828,8 @@ var Schemas = {
|
|
|
32828
32828
|
var import_child_process2 = require("child_process");
|
|
32829
32829
|
var import_util2 = require("util");
|
|
32830
32830
|
var execAsync2 = (0, import_util2.promisify)(import_child_process2.exec);
|
|
32831
|
-
var SYSTEM_NAME = process.env.SEO_SYSTEM_NAME || "
|
|
32832
|
-
var SYSTEM_EMAIL = process.env.SEO_SYSTEM_EMAIL || "bot@
|
|
32831
|
+
var SYSTEM_NAME = process.env.SEO_SYSTEM_NAME || "RankCLI";
|
|
32832
|
+
var SYSTEM_EMAIL = process.env.SEO_SYSTEM_EMAIL || "bot@rankcli.dev";
|
|
32833
32833
|
var CATEGORY_MAPPING2 = {
|
|
32834
32834
|
"crawlability": { type: "fix", scope: "seo" },
|
|
32835
32835
|
"indexability": { type: "fix", scope: "seo" },
|
|
@@ -33251,7 +33251,7 @@ function formatSlackMessage(message) {
|
|
|
33251
33251
|
elements: [
|
|
33252
33252
|
{
|
|
33253
33253
|
type: "mrkdwn",
|
|
33254
|
-
text: `\u{1F916} Sent by
|
|
33254
|
+
text: `\u{1F916} Sent by RankCLI`
|
|
33255
33255
|
}
|
|
33256
33256
|
]
|
|
33257
33257
|
}
|
|
@@ -33287,7 +33287,7 @@ function formatDiscordMessage(message) {
|
|
|
33287
33287
|
color,
|
|
33288
33288
|
url: message.url,
|
|
33289
33289
|
footer: {
|
|
33290
|
-
text: "\u{1F916} Sent by
|
|
33290
|
+
text: "\u{1F916} Sent by RankCLI"
|
|
33291
33291
|
},
|
|
33292
33292
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
33293
33293
|
}
|
|
@@ -33361,7 +33361,7 @@ async function sendAlerts(configs, type, payload) {
|
|
|
33361
33361
|
|
|
33362
33362
|
// src/reports/report-generator.ts
|
|
33363
33363
|
var DEFAULT_BRANDING = {
|
|
33364
|
-
companyName: "
|
|
33364
|
+
companyName: "RankCLI",
|
|
33365
33365
|
primaryColor: "#2563eb",
|
|
33366
33366
|
accentColor: "#10b981"
|
|
33367
33367
|
};
|
|
@@ -33829,7 +33829,7 @@ function generateHTMLReport(data, config = {}) {
|
|
|
33829
33829
|
${branding.contactEmail ? `<p>Contact: <a href="mailto:${branding.contactEmail}">${branding.contactEmail}</a></p>` : ""}
|
|
33830
33830
|
${branding.websiteUrl ? `<p><a href="${branding.websiteUrl}">${branding.websiteUrl}</a></p>` : ""}
|
|
33831
33831
|
</footer>` : `<footer>
|
|
33832
|
-
<p>Generated by <a href="https://
|
|
33832
|
+
<p>Generated by <a href="https://rankcli.dev">RankCLI</a> on ${formatDate(data.timestamp)}</p>
|
|
33833
33833
|
</footer>`;
|
|
33834
33834
|
const categoriesHtml = Object.entries(data.healthScores).filter(([key]) => key !== "overall").map(([key, value]) => `
|
|
33835
33835
|
<div class="category-card">
|
package/dist/index.mjs
CHANGED
|
@@ -15422,7 +15422,7 @@ function formatPRBody(fixes, options) {
|
|
|
15422
15422
|
body += "- [ ] Test social share previews (if OG tags changed)\n";
|
|
15423
15423
|
body += "\n";
|
|
15424
15424
|
body += "---\n";
|
|
15425
|
-
body += "\u{1F916} Generated with [
|
|
15425
|
+
body += "\u{1F916} Generated with [RankCLI](https://rankcli.dev)\n";
|
|
15426
15426
|
return body;
|
|
15427
15427
|
}
|
|
15428
15428
|
function generatePRDescription(fixes, config) {
|
|
@@ -22064,7 +22064,7 @@ function generateMarkdownReport(data) {
|
|
|
22064
22064
|
lines.push("");
|
|
22065
22065
|
lines.push("---");
|
|
22066
22066
|
lines.push("");
|
|
22067
|
-
lines.push("*Generated by [
|
|
22067
|
+
lines.push("*Generated by [RankCLI](https://rankcli.dev) \u{1F916}*");
|
|
22068
22068
|
return lines.join("\n");
|
|
22069
22069
|
}
|
|
22070
22070
|
function generateExecutiveSummary(data) {
|
|
@@ -28435,7 +28435,7 @@ function generateOGFix(context, siteName, url) {
|
|
|
28435
28435
|
skipReason: "OG tags already exist"
|
|
28436
28436
|
};
|
|
28437
28437
|
}
|
|
28438
|
-
const ogTags = `<!--
|
|
28438
|
+
const ogTags = `<!-- RankCLI: Missing OG tags -->
|
|
28439
28439
|
${missingTags.join("\n ")}`;
|
|
28440
28440
|
return {
|
|
28441
28441
|
issue: { code: "MISSING_OG_TAGS", message: "Missing Open Graph tags", severity: "warning" },
|
|
@@ -29273,8 +29273,8 @@ var Schemas = {
|
|
|
29273
29273
|
import { execSync, exec as exec2 } from "child_process";
|
|
29274
29274
|
import { promisify as promisify2 } from "util";
|
|
29275
29275
|
var execAsync2 = promisify2(exec2);
|
|
29276
|
-
var SYSTEM_NAME = process.env.SEO_SYSTEM_NAME || "
|
|
29277
|
-
var SYSTEM_EMAIL = process.env.SEO_SYSTEM_EMAIL || "bot@
|
|
29276
|
+
var SYSTEM_NAME = process.env.SEO_SYSTEM_NAME || "RankCLI";
|
|
29277
|
+
var SYSTEM_EMAIL = process.env.SEO_SYSTEM_EMAIL || "bot@rankcli.dev";
|
|
29278
29278
|
var CATEGORY_MAPPING2 = {
|
|
29279
29279
|
"crawlability": { type: "fix", scope: "seo" },
|
|
29280
29280
|
"indexability": { type: "fix", scope: "seo" },
|
|
@@ -29696,7 +29696,7 @@ function formatSlackMessage(message) {
|
|
|
29696
29696
|
elements: [
|
|
29697
29697
|
{
|
|
29698
29698
|
type: "mrkdwn",
|
|
29699
|
-
text: `\u{1F916} Sent by
|
|
29699
|
+
text: `\u{1F916} Sent by RankCLI`
|
|
29700
29700
|
}
|
|
29701
29701
|
]
|
|
29702
29702
|
}
|
|
@@ -29732,7 +29732,7 @@ function formatDiscordMessage(message) {
|
|
|
29732
29732
|
color,
|
|
29733
29733
|
url: message.url,
|
|
29734
29734
|
footer: {
|
|
29735
|
-
text: "\u{1F916} Sent by
|
|
29735
|
+
text: "\u{1F916} Sent by RankCLI"
|
|
29736
29736
|
},
|
|
29737
29737
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
29738
29738
|
}
|
|
@@ -29806,7 +29806,7 @@ async function sendAlerts(configs, type, payload) {
|
|
|
29806
29806
|
|
|
29807
29807
|
// src/reports/report-generator.ts
|
|
29808
29808
|
var DEFAULT_BRANDING = {
|
|
29809
|
-
companyName: "
|
|
29809
|
+
companyName: "RankCLI",
|
|
29810
29810
|
primaryColor: "#2563eb",
|
|
29811
29811
|
accentColor: "#10b981"
|
|
29812
29812
|
};
|
|
@@ -30274,7 +30274,7 @@ function generateHTMLReport(data, config = {}) {
|
|
|
30274
30274
|
${branding.contactEmail ? `<p>Contact: <a href="mailto:${branding.contactEmail}">${branding.contactEmail}</a></p>` : ""}
|
|
30275
30275
|
${branding.websiteUrl ? `<p><a href="${branding.websiteUrl}">${branding.websiteUrl}</a></p>` : ""}
|
|
30276
30276
|
</footer>` : `<footer>
|
|
30277
|
-
<p>Generated by <a href="https://
|
|
30277
|
+
<p>Generated by <a href="https://rankcli.dev">RankCLI</a> on ${formatDate(data.timestamp)}</p>
|
|
30278
30278
|
</footer>`;
|
|
30279
30279
|
const categoriesHtml = Object.entries(data.healthScores).filter(([key]) => key !== "overall").map(([key, value]) => `
|
|
30280
30280
|
<div class="category-card">
|