seo-gravity-mcp 1.3.4 → 1.3.5

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/README.md CHANGED
@@ -1,8 +1,9 @@
1
- # šŸš€ SEO Gravity (v1.3.4)
1
+ # šŸš€ SEO Gravity (v1.3.5)
2
2
 
3
3
  <div align="center">
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/seo-gravity-mcp?style=for-the-badge&logo=npm&color=CB3837)](https://www.npmjs.com/package/seo-gravity-mcp)
6
+ [![CI](https://github.com/thedevnaamnei/seo-gravity-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/thedevnaamnei/seo-gravity-mcp/actions/workflows/ci.yml)
6
7
  [![npm downloads](https://img.shields.io/npm/dm/seo-gravity-mcp?style=for-the-badge&logo=npm&color=CB3837)](https://www.npmjs.com/package/seo-gravity-mcp)
7
8
  ![MCP Protocol](https://img.shields.io/badge/MCP-Protocol-blue?style=for-the-badge&logo=anthropic)
8
9
  ![SARIF Ready](https://img.shields.io/badge/SARIF-GitHub_Code_Scanning-success?style=for-the-badge)
@@ -1,3 +1,4 @@
1
+ import { VERSION } from '../version.js';
1
2
  export const BENCHMARK_FIXTURES = [
2
3
  {
3
4
  frameworkId: 'nextjs-app-router',
@@ -179,7 +180,7 @@ export function generateBenchmarkMethodologyReport() {
179
180
  }
180
181
  return {
181
182
  title: 'SEO Gravity Multi-Framework Correlation & Invariant Benchmark Methodology',
182
- version: '1.3.4',
183
+ version: VERSION,
183
184
  evaluatedAt: new Date().toISOString(),
184
185
  definitionOfCorrelation: 'A correlation is defined as a verified mapping connecting an observed URL or Route Pattern to its exact physical source file, template, route configuration, and AST symbol coordinate range.',
185
186
  totalFrameworksTested: BENCHMARK_FIXTURES.length,
package/dist/cli.js CHANGED
@@ -17,6 +17,31 @@ export const EXIT_CODES = {
17
17
  async function runCli() {
18
18
  const args = process.argv.slice(2);
19
19
  const command = args[0] || 'audit';
20
+ if (args.includes('--version') || args.includes('-v') || command === 'version') {
21
+ console.log(`seo-gravity v${VERSION}`);
22
+ process.exit(EXIT_CODES.PASS);
23
+ }
24
+ if (args.includes('--help') || args.includes('-h') || command === 'help') {
25
+ console.log(`\nšŸš€ SEO Gravity CLI (v${VERSION}) — SEO Engineering Infrastructure for AI Agents & CI/CD\n`);
26
+ console.log(`Usage: seo-gravity <command> [options]\n`);
27
+ console.log(`Commands:`);
28
+ console.log(` audit Audit a project repository or live site`);
29
+ console.log(` snapshot Create an invariant baseline snapshot of the project`);
30
+ console.log(` check Evaluate project invariants against baseline snapshot for regressions`);
31
+ console.log(` diff Analyze git changes for semantic SEO regression risks`);
32
+ console.log(` review Generate GitHub PR comment markdown\n`);
33
+ console.log(`Options:`);
34
+ console.log(` -p, --project <dir> Project root directory (default: '.')`);
35
+ console.log(` -u, --base-url <url> Base URL for live crawling`);
36
+ console.log(` -b, --baseline <path> Path to baseline snapshot JSON`);
37
+ console.log(` -f, --format <format> Output format: pretty, json, sarif (default: pretty)`);
38
+ console.log(` -o, --output <path> Output file path`);
39
+ console.log(` --policy <path> Path to custom .seo-gravity.yml policy`);
40
+ console.log(` --base-ref <ref> Base Git reference for diffing (default: 'HEAD~1')`);
41
+ console.log(` -v, --version Print version`);
42
+ console.log(` -h, --help Show help\n`);
43
+ process.exit(EXIT_CODES.PASS);
44
+ }
20
45
  const getArg = (flag, alias) => {
21
46
  let idx = args.indexOf(flag);
22
47
  if (idx === -1 && alias)
@@ -58,6 +58,6 @@ export function formatPrCommentMarkdown(report, policy, gitRef) {
58
58
  md += `\n`;
59
59
  }
60
60
  md += `---\n`;
61
- md += `*Generated automatically by [SEO Gravity MCP](https://github.com/thedevbob005/seo-gravity-mcp) • The SEO Engineering Infrastructure Layer for AI Coding Agents & CI/CD Pipelines.*`;
61
+ md += `*Generated automatically by [SEO Gravity MCP](https://github.com/thedevnaamnei/seo-gravity-mcp) • The SEO Engineering Infrastructure Layer for AI Coding Agents & CI/CD Pipelines.*`;
62
62
  return md;
63
63
  }
@@ -70,7 +70,7 @@ export function exportFindingsToSarif(findings, projectRootDir = '.', toolVersio
70
70
  driver: {
71
71
  name: 'SEO Gravity',
72
72
  version: toolVersion,
73
- informationUri: 'https://github.com/thedevbob005/seo-gravity-mcp',
73
+ informationUri: 'https://github.com/thedevnaamnei/seo-gravity-mcp',
74
74
  rules: Array.from(ruleMap.values())
75
75
  }
76
76
  },
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.3.4";
1
+ export declare const VERSION = "1.3.5";
2
2
  export declare const PACKAGE_NAME = "seo-gravity-mcp";
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.3.4';
1
+ export const VERSION = '1.3.5';
2
2
  export const PACKAGE_NAME = 'seo-gravity-mcp';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seo-gravity-mcp",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "SEO Engineering Infrastructure Layer for AI Coding Agents and CI/CD Pipelines",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -53,10 +53,10 @@
53
53
  ],
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "git+https://github.com/thedevbob005/seo-gravity-mcp.git"
56
+ "url": "git+https://github.com/thedevnaamnei/seo-gravity-mcp.git"
57
57
  },
58
58
  "bugs": {
59
- "url": "https://github.com/thedevbob005/seo-gravity-mcp/issues"
59
+ "url": "https://github.com/thedevnaamnei/seo-gravity-mcp/issues"
60
60
  },
61
- "homepage": "https://github.com/thedevbob005/seo-gravity-mcp#readme"
61
+ "homepage": "https://github.com/thedevnaamnei/seo-gravity-mcp#readme"
62
62
  }