fallow 3.13.0 → 3.15.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/capabilities.json +29 -4
- package/package.json +10 -10
- package/schema.json +173 -16
- package/scripts/run-binary.js +10 -3
- package/scripts/run-binary.test.js +33 -0
- package/skills/fallow/SKILL.md +3 -3
- package/skills/fallow/references/cli-reference.md +26 -17
- package/skills/fallow/references/mcp.md +3 -3
- package/types/output-contract.d.ts +1431 -57
package/capabilities.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fallow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"manifest_version": "1",
|
|
5
5
|
"description": "Codebase analyzer for TypeScript/JavaScript: unused code, circular dependencies, code duplication, complexity hotspots, and architecture boundary violations",
|
|
6
6
|
"global_flags": [
|
|
@@ -367,6 +367,16 @@
|
|
|
367
367
|
"semantic"
|
|
368
368
|
]
|
|
369
369
|
},
|
|
370
|
+
{
|
|
371
|
+
"name": "--dupes-near",
|
|
372
|
+
"type": "bool",
|
|
373
|
+
"required": false,
|
|
374
|
+
"description": "Enable function-scoped near-miss clone detection in combined mode",
|
|
375
|
+
"possible_values": [
|
|
376
|
+
"true",
|
|
377
|
+
"false"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
370
380
|
{
|
|
371
381
|
"name": "--dupes-threshold",
|
|
372
382
|
"type": "string",
|
|
@@ -1205,6 +1215,16 @@
|
|
|
1205
1215
|
"semantic"
|
|
1206
1216
|
]
|
|
1207
1217
|
},
|
|
1218
|
+
{
|
|
1219
|
+
"name": "--near",
|
|
1220
|
+
"type": "bool",
|
|
1221
|
+
"required": false,
|
|
1222
|
+
"description": "Enable function-scoped near-miss clone detection",
|
|
1223
|
+
"possible_values": [
|
|
1224
|
+
"true",
|
|
1225
|
+
"false"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1208
1228
|
{
|
|
1209
1229
|
"name": "--min-tokens",
|
|
1210
1230
|
"type": "string",
|
|
@@ -1273,7 +1293,7 @@
|
|
|
1273
1293
|
"name": "--top",
|
|
1274
1294
|
"type": "string",
|
|
1275
1295
|
"required": false,
|
|
1276
|
-
"description": "Show only the N
|
|
1296
|
+
"description": "Show only the N highest-ranked clone groups. Ranking combines clone size, occurrence count, and capped directory or line spread"
|
|
1277
1297
|
},
|
|
1278
1298
|
{
|
|
1279
1299
|
"name": "--trace",
|
|
@@ -5917,7 +5937,7 @@
|
|
|
5917
5937
|
"2": "Error (invalid config, invalid input, etc.). When --format json is active, errors are emitted as structured JSON on stdout: {\"error\": true, \"message\": \"...\", \"exit_code\": 2}"
|
|
5918
5938
|
},
|
|
5919
5939
|
"environment_variables": {
|
|
5920
|
-
"FALLOW_FORMAT": "Default output format (json/human/sarif/compact/markdown/codeclimate/gitlab-codequality/pr-comment-github/pr-comment-gitlab/review-github/review-gitlab/badge). CLI --format flag overrides this.",
|
|
5940
|
+
"FALLOW_FORMAT": "Default output format (json/human/sarif/compact/markdown/codeclimate/gitlab-codequality/pr-comment-github/pr-comment-gitlab/review-github/review-gitlab/badge/github-annotations/github-summary). CLI --format flag overrides this.",
|
|
5921
5941
|
"FALLOW_QUIET": "Set to \"1\" or \"true\" to suppress progress output. CLI --quiet flag overrides this.",
|
|
5922
5942
|
"FALLOW_PRODUCTION": "Set to true/false to override production mode for all analyses.",
|
|
5923
5943
|
"FALLOW_PRODUCTION_DEAD_CODE": "Set to true/false to override production mode for dead-code analysis.",
|
|
@@ -5936,8 +5956,10 @@
|
|
|
5936
5956
|
"FALLOW_CACHE_MAX_SIZE": "Extraction cache size cap in megabytes (default 256). Wins over the cache.maxSizeMb config field.",
|
|
5937
5957
|
"FALLOW_EXTENDS_TIMEOUT_SECS": "Timeout in seconds for fetching https:// configs referenced via the extends field (default 5).",
|
|
5938
5958
|
"FALLOW_COVERAGE": "Path to Istanbul coverage data (coverage-final.json) for accurate per-function CRAP scores. CLI --coverage flag overrides this.",
|
|
5959
|
+
"FALLOW_COVERAGE_ROOT": "Absolute coverage-data path prefix for rebasing Istanbul paths in CI or containers. CLI --coverage-root flag overrides this.",
|
|
5939
5960
|
"FALLOW_MAX_FILE_SIZE": "Per-file size ceiling in megabytes for source discovery (default 5; 0 = no limit). CLI --max-file-size flag overrides this.",
|
|
5940
5961
|
"FALLOW_TYPE_AWARE": "Enable or disable TypeScript semantic (type-aware) analysis for the run (true/false/1/0/yes/no/on/off). Precedence: --type-aware/--no-type-aware CLI flags, then FALLOW_TYPE_AWARE, then the audit.typeAware config field, then typeAware.enabled.",
|
|
5962
|
+
"FALLOW_TYPE_AWARE_BIN": "Trusted executable override for the TypeScript semantic refinement sidecar used by dead-code --type-aware. Relative paths resolve from the caller's working directory before --root is applied; project node_modules and PATH are intentionally not searched. Default: sibling of the active Fallow executable.",
|
|
5941
5963
|
"FALLOW_AUDIT_BASE": "Pins the fallow audit comparison base ref when no --base/--changed-since is passed (e.g. upstream/main).",
|
|
5942
5964
|
"FALLOW_AUDIT_CACHE_MAX_AGE_DAYS": "GC threshold in days for reusable audit base-snapshot caches (default 30; 0 disables the sweep).",
|
|
5943
5965
|
"FALLOW_IMPACT_STORE_MAX_AGE_DAYS": "GC threshold in days for per-project fallow impact stores; a recorded run reclaims stores older than this (unset/0 keeps every store forever).",
|
|
@@ -6534,6 +6556,7 @@
|
|
|
6534
6556
|
"cli_command": "fallow dupes --format json --quiet",
|
|
6535
6557
|
"key_params": [
|
|
6536
6558
|
"mode",
|
|
6559
|
+
"near",
|
|
6537
6560
|
"min_tokens",
|
|
6538
6561
|
"min_occurrences",
|
|
6539
6562
|
"top",
|
|
@@ -6887,7 +6910,9 @@
|
|
|
6887
6910
|
"key_params": [
|
|
6888
6911
|
"file",
|
|
6889
6912
|
"line",
|
|
6890
|
-
"fingerprint"
|
|
6913
|
+
"fingerprint",
|
|
6914
|
+
"near",
|
|
6915
|
+
"min_occurrences"
|
|
6891
6916
|
],
|
|
6892
6917
|
"license": "free",
|
|
6893
6918
|
"license_note": null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fallow",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.0",
|
|
4
4
|
"description": "Codebase intelligence for TypeScript and JavaScript. Free static analysis of code and styles, optional paid runtime intelligence (Fallow Runtime). Quality, risk, architecture, dependencies, duplication, and design-system drift for humans, CI, and the agents writing your code. Zero-config framework support.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
"@tanstack/intent": "0.3.6"
|
|
88
88
|
},
|
|
89
89
|
"optionalDependencies": {
|
|
90
|
-
"@fallow-cli/darwin-arm64": "3.
|
|
91
|
-
"@fallow-cli/darwin-x64": "3.
|
|
92
|
-
"@fallow-cli/linux-x64-gnu": "3.
|
|
93
|
-
"@fallow-cli/linux-arm64-gnu": "3.
|
|
94
|
-
"@fallow-cli/linux-x64-musl": "3.
|
|
95
|
-
"@fallow-cli/linux-arm64-musl": "3.
|
|
96
|
-
"@fallow-cli/win32-arm64-msvc": "3.
|
|
97
|
-
"@fallow-cli/win32-x64-msvc": "3.
|
|
98
|
-
"fallow-type-aware": "3.
|
|
90
|
+
"@fallow-cli/darwin-arm64": "3.15.0",
|
|
91
|
+
"@fallow-cli/darwin-x64": "3.15.0",
|
|
92
|
+
"@fallow-cli/linux-x64-gnu": "3.15.0",
|
|
93
|
+
"@fallow-cli/linux-arm64-gnu": "3.15.0",
|
|
94
|
+
"@fallow-cli/linux-x64-musl": "3.15.0",
|
|
95
|
+
"@fallow-cli/linux-arm64-musl": "3.15.0",
|
|
96
|
+
"@fallow-cli/win32-arm64-msvc": "3.15.0",
|
|
97
|
+
"@fallow-cli/win32-x64-msvc": "3.15.0",
|
|
98
|
+
"fallow-type-aware": "3.15.0"
|
|
99
99
|
}
|
|
100
100
|
}
|