argusqa-os 9.2.6 → 9.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/mcp-server.js +10 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "argusqa-os",
3
- "version": "9.2.6",
3
+ "version": "9.2.7",
4
4
  "mcpName": "io.github.ironclawdevs27/argus",
5
5
  "description": "Argus — AI-powered automated dev-testing platform using Chrome DevTools MCP and Claude Code",
6
6
  "keywords": [
package/src/mcp-server.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * Argus MCP Server (v9.2.6)
3
+ * Argus MCP Server (v9.2.7)
4
4
  *
5
5
  * Exposes Argus as an MCP server so Claude (or any MCP client) can call
6
6
  * argus_audit, argus_audit_full, argus_compare, and argus_last_report
@@ -36,36 +36,36 @@ const REPORTS_DIR = path.resolve(process.cwd(), 'reports');
36
36
  const TOOLS = [
37
37
  {
38
38
  name: 'argus_audit',
39
- description: 'Run a fast QA audit on a URL. Detects JavaScript errors, unhandled promise rejections, network failures (4xx/5xx), API frequency loops, CSS cascade issues, SEO problems, security vulnerabilities, content quality issues, and accessibility violations. Returns findings as JSON grouped by severity (critical/warning/info).',
39
+ description: 'Fast QA audit on a URL via Chrome DevTools Protocol. Runs 8 analyzers in one pass: JS errors, unhandled rejections, network failures (4xx/5xx), API frequency loops, CSS cascade issues, SEO violations, security header checks, and accessibility. Returns { findings: [{severity, type, message, url}], summary: {critical, warning, info} }. Use for CI smoke tests and pre-deploy gates. For Lighthouse scoring and memory leak detection, use argus_audit_full. Requires Chrome running with --remote-debugging-port=9222.',
40
40
  inputSchema: {
41
41
  type: 'object',
42
42
  properties: {
43
- url: { type: 'string', description: 'Full URL to audit (e.g. http://localhost:3000/checkout)' },
44
- critical: { type: 'boolean', description: 'Treat this route as critical console errors become critical severity', default: false },
43
+ url: { type: 'string', description: 'Full URL to audit, including protocol and path (e.g. http://localhost:3000/checkout). Must be reachable by the running Chrome instance.' },
44
+ critical: { type: 'boolean', description: 'When true, console.error calls are escalated to critical severity. Set true for business-critical routes (login, checkout, dashboard) where any error is a blocker.', default: false },
45
45
  },
46
46
  required: ['url'],
47
47
  },
48
48
  },
49
49
  {
50
50
  name: 'argus_audit_full',
51
- description: 'Run a deep QA pass on a URL using all analyzers — Lighthouse performance/accessibility scoring, responsive layout checks across mobile/tablet/desktop viewports, memory leak detection via heap snapshot, hover-state bug detection, and accessibility tree snapshot. Returns a full JSON report with findings grouped by severity.',
51
+ description: 'Deep QA audit extends argus_audit with Lighthouse performance/accessibility scoring, responsive layout checks across 4 viewports (320/768/1280/1920px), memory leak detection via heap snapshot, hover-state regression detection, and accessibility tree snapshot. Returns full JSON report with findings by severity, Lighthouse scores, and layout overflow details. Use when argus_audit passes clean but visual or performance regressions are suspected. Requires Chrome running with --remote-debugging-port=9222.',
52
52
  inputSchema: {
53
53
  type: 'object',
54
54
  properties: {
55
- url: { type: 'string', description: 'Full URL to audit (e.g. https://example.com/dashboard)' },
56
- critical: { type: 'boolean', description: 'Mark this route as critical — console errors are escalated to critical severity', default: false },
55
+ url: { type: 'string', description: 'Full URL to audit, including protocol and path (e.g. https://example.com/dashboard). Must be reachable by the running Chrome instance.' },
56
+ critical: { type: 'boolean', description: 'When true, console.error calls are escalated to critical severity. Set true for business-critical routes (login, checkout, dashboard) where any error is a blocker.', default: false },
57
57
  },
58
58
  required: ['url'],
59
59
  },
60
60
  },
61
61
  {
62
62
  name: 'argus_compare',
63
- description: 'Snapshot and diff two environments (dev vs staging) side-by-side. Navigates both URLs, captures screenshots, runs the full analyzer suite on each, then diffs the findings to surface regressions — things that appear in staging but not dev, or changed severity. Configure the two target URLs via TARGET_DEV_URL and TARGET_STAGING_URL environment variables before starting the server.',
63
+ description: 'Diffs dev vs staging environments side-by-side. Navigates both URLs, captures screenshots, and runs the full analyzer suite on each, then surfaces regressions — findings present in staging but not dev, or with changed severity. Returns { regressions: [{type, devSeverity, stagingSeverity}], screenshots, summary }. Run before promoting a build to staging to catch environment-specific bugs. Set TARGET_DEV_URL and TARGET_STAGING_URL env vars before starting the server; omit TARGET_STAGING_URL to run CSS-analysis-only mode.',
64
64
  inputSchema: { type: 'object', properties: {} },
65
65
  },
66
66
  {
67
67
  name: 'argus_last_report',
68
- description: 'Return the most recent Argus JSON report from the reports/ directory.',
68
+ description: 'Returns the most recent Argus JSON report from the reports/ directory. Report includes a findings array and severity summary (critical/warning/info counts). Returns { "error": "No reports found in reports/" } when no audits have been run yet. Use to retrieve prior results without re-running a scan, or to pipe findings into another analysis tool.',
69
69
  inputSchema: { type: 'object', properties: {} },
70
70
  },
71
71
  ];
@@ -129,7 +129,7 @@ async function handleLastReport() {
129
129
  // ── Server bootstrap ──────────────────────────────────────────────────────────
130
130
 
131
131
  const server = new Server(
132
- { name: 'argus', version: '9.2.6' },
132
+ { name: 'argus', version: '9.2.7' },
133
133
  { capabilities: { tools: {} } },
134
134
  );
135
135