slopbrick 0.11.2 → 0.17.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "slopbrick",
3
- "version": "0.11.2",
4
- "description": "Repository Coherence Scanner for AI-coded codebases — detect cross-file pattern drift, AI-induced design-token violations, and security failures that AI agents introduce disproportionately. Part of the usebrick.dev platform. Ships 8 MCP tools so Claude Code / Cursor / Copilot follow your patterns instead of reinventing them.",
3
+ "version": "0.17.0",
4
+ "description": "Discovered, modeled, and governed repository structure. SlopBrick scans source code, classifies it against 80+ rules across 13 categories, computes 4 scores (aiQuality, engineeringHygiene, security, repositoryHealth), and persists the structure for AI agents and CI.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "slopbrick": "bin/slopbrick.js"
@@ -29,8 +29,11 @@
29
29
  ],
30
30
  "scripts": {
31
31
  "dev": "tsx src/index.ts",
32
- "generate:rules": "tsx scripts/generate-rule-registry.ts",
33
- "build": "pnpm generate:rules && tsup",
32
+ "generate:rules": "tsx scripts/generate-rule-registry.ts && tsx scripts/generate-rule-catalog.ts",
33
+ "generate:rules:catalog": "tsx scripts/generate-rule-catalog.ts",
34
+ "bench:scan": "tsx scripts/bench-scan.ts",
35
+ "prebuild": "pnpm --filter @usebrick/engine build",
36
+ "build": "pnpm --filter @usebrick/engine build && pnpm generate:rules && tsup",
34
37
  "test": "pnpm generate:rules && tsup && vitest run",
35
38
  "test:watch": "vitest",
36
39
  "test:coverage": "pnpm generate:rules && vitest run --coverage",
@@ -51,9 +54,11 @@
51
54
  "minimatch": "^9.0.5",
52
55
  "pgsql-parser": "^17.9.15"
53
56
  },
57
+ "//_usebrick_note": "@usebrick/core and @usebrick/engine are private workspace packages. They are listed in devDependencies to keep pnpm-lock.yaml in sync; tsup.config.ts → noExternal bundles them into dist/; the prepack-guard.mjs allowlist includes both. Neither ends up in the published tarball's runtime deps. See https://github.com/usebrick/platform/blob/main/docs/repository-structure.md",
54
58
  "devDependencies": {
55
59
  "@types/node": "^20.14.0",
56
60
  "@usebrick/core": "workspace:*",
61
+ "@usebrick/engine": "workspace:^",
57
62
  "@vitest/coverage-v8": "^2.1.9",
58
63
  "fast-check": "^4.8.0",
59
64
  "tsup": "^8.3.5",
@@ -69,9 +74,11 @@
69
74
  "claude-code",
70
75
  "cursor",
71
76
  "copilot",
77
+ "aider",
72
78
  "mcp",
73
79
  "model-context-protocol",
74
80
  "repository-constitution",
81
+ "repository-memory",
75
82
  "drift-detection",
76
83
  "pattern-fragmentation",
77
84
  "coherence",
@@ -84,9 +91,15 @@
84
91
  "typescript",
85
92
  "python",
86
93
  "go",
94
+ "swift",
95
+ "kotlin",
96
+ "rust",
87
97
  "wcag",
88
98
  "ai-slop",
89
- "ai-debt"
99
+ "ai-debt",
100
+ "pre-commit",
101
+ "ci",
102
+ "prevention"
90
103
  ],
91
104
  "author": "usebrick.dev",
92
105
  "license": "MIT",