projscan 2.1.0 → 2.2.0

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "projscan",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "mcpProtocolVersion": "2025-03-26",
5
- "generatedAt": "2026-05-18T14:30:33.343Z",
5
+ "generatedAt": "2026-05-22T09:05:01.116Z",
6
6
  "toolCount": 29,
7
7
  "tools": [
8
8
  {
package/dist/types.d.ts CHANGED
@@ -212,7 +212,7 @@ export interface HealthScore {
212
212
  }
213
213
  export type PreflightMode = 'before_edit' | 'before_commit' | 'before_merge';
214
214
  export type PreflightVerdict = 'proceed' | 'caution' | 'block';
215
- export type PreflightReasonSource = 'doctor' | 'review' | 'taint' | 'session' | 'plugin' | 'memory' | 'changed-files' | 'hotspots' | 'git' | 'format';
215
+ export type PreflightReasonSource = 'doctor' | 'review' | 'taint' | 'session' | 'plugin' | 'supply-chain' | 'memory' | 'changed-files' | 'hotspots' | 'git' | 'format';
216
216
  export interface PreflightReason {
217
217
  severity: IssueSeverity;
218
218
  source: PreflightReasonSource;
@@ -270,6 +270,10 @@ export interface PreflightEvidence {
270
270
  errorIssues: number;
271
271
  warningIssues: number;
272
272
  };
273
+ supplyChain?: {
274
+ errorIssues: number;
275
+ warningIssues: number;
276
+ };
273
277
  }
274
278
  export interface PreflightReport {
275
279
  schemaVersion: 1;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "projscan",
3
3
  "mcpName": "io.github.abhiyoheswaran1/projscan",
4
- "version": "2.1.0",
5
- "description": "Agent-first code intelligence. MCP server (2025-03-26) with AST parsing for JavaScript, TypeScript, Python, Go, Java, Ruby, Rust, PHP, C#, Kotlin, Swift, and C++; code graph, file + per-function AST cyclomatic complexity, per-function fan-in + fan-out, coupling + cycle detection, structural PR diff with HTML reporter, coverage report with HTML reporter, intent-grounded one-call PR review (projscan_review with optional `intent` arg) and long-running PR-watch mode with structured per-bucket deltas (projscan_review_watch), rule-driven fix suggestions + mechanical apply layer with rollback (projscan_apply_fix, projscan_fix_suggest, projscan_explain_issue), source-to-sink taint analysis (projscan_taint) with truncation reporting, transitive blast-radius analysis with cross-repo mode (projscan_impact for files and symbols), cross-repo workspace registration + intelligence (projscan_workspace_graph), per-function semantic search chunks (sub-file embeddings), per-rule confidence + severity drift + cost-summary analytics with live streaming (projscan_cost_summary), stable local analyzer + reporter plugin API (projscan_plugin, CLI --reporter, opt-in via PROJSCAN_PLUGINS_PREVIEW=1), monorepo workspace awareness with cross-package import policy + per-package dependencies / outdated / audit, BM25 + optional semantic search, cursor pagination, progress notifications, context-budgeted output, and a stable-surface CI guard. CLI on the side.",
4
+ "version": "2.2.0",
5
+ "description": "Agent-first code intelligence. MCP server (2025-03-26) with AST parsing for JavaScript, TypeScript, Python, Go, Java, Ruby, Rust, PHP, C#, Kotlin, Swift, and C++; code graph, file + per-function AST cyclomatic complexity, per-function fan-in + fan-out, coupling + cycle detection, structural PR diff with HTML reporter, coverage report with HTML reporter, intent-grounded one-call PR review (projscan_review with optional `intent` arg) and long-running PR-watch mode with structured per-bucket deltas (projscan_review_watch), agent preflight with supply-chain IOC evidence, rule-driven fix suggestions + mechanical apply layer with rollback (projscan_apply_fix, projscan_fix_suggest, projscan_explain_issue), source-to-sink taint analysis (projscan_taint) with truncation reporting, transitive blast-radius analysis with cross-repo mode (projscan_impact for files and symbols), cross-repo workspace registration + intelligence (projscan_workspace_graph), per-function semantic search chunks (sub-file embeddings), per-rule confidence + severity drift + cost-summary analytics with live streaming (projscan_cost_summary), stable local analyzer + reporter plugin API (projscan_plugin, CLI --reporter, opt-in via PROJSCAN_PLUGINS_PREVIEW=1), monorepo workspace awareness with cross-package import policy + per-package dependencies / outdated / audit, BM25 + optional semantic search, cursor pagination, progress notifications, context-budgeted output, and a stable-surface CI guard. CLI on the side.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -20,14 +20,17 @@
20
20
  "scripts": {
21
21
  "build": "tsc && node scripts/copy-wasm.mjs && node scripts/generate-tool-manifest.mjs",
22
22
  "dev": "tsc --watch",
23
- "test": "vitest run",
24
- "test:watch": "vitest",
23
+ "test": "vitest run --test-timeout 15000 --hook-timeout 15000",
24
+ "test:watch": "vitest --test-timeout 15000 --hook-timeout 15000",
25
25
  "lint": "eslint src/",
26
26
  "format": "prettier --write .",
27
27
  "bench": "node scripts/bench.mjs",
28
28
  "bench:references": "node scripts/bench-references.mjs",
29
29
  "smoke:packed-install": "node scripts/packed-install-smoke.mjs",
30
30
  "check:stability": "node scripts/check-stability.mjs",
31
+ "release:check": "node scripts/release-check.mjs",
32
+ "security:release-gate": "node scripts/release-gate.mjs",
33
+ "sbom:generate": "node scripts/generate-sbom.mjs",
31
34
  "prepare": "npm run build"
32
35
  },
33
36
  "keywords": [
@@ -99,9 +102,9 @@
99
102
  "vitest": "^3.2.4"
100
103
  },
101
104
  "overrides": {
102
- "protobufjs": "^7.5.5",
105
+ "protobufjs": "^7.5.9",
103
106
  "picomatch": ">=2.3.2 <3 || >=4.0.4",
104
- "brace-expansion": ">=2.0.2 <3 || >=5.0.5",
107
+ "brace-expansion": ">=2.0.2 <3 || >=5.0.6",
105
108
  "flatted": "^3.4.2",
106
109
  "postcss": "^8.5.10"
107
110
  }