Phase 1: extract.js — tree-sitter AST parser (TS/JS/Python/Go/Java/Bash) + config parsers (YAML/HCL) Phase 2: graph.js — in-memory directed graph store with build/query/diff CLI Phase 3: namespace.js — cross-repo namespace registry with 3-tier resolution Phase 4: semantic-diff.js — categorized diffs with impact scoring (0-100) Phase 5: pipeline.js — batch extraction, incremental diffing, benchmarking Benchmark: 4,325 files, 21,646 nodes, 133,979 edges in 67s (15ms/file) BMad SPA reviews: all phases GO
46 lines
930 B
JSON
46 lines
930 B
JSON
{
|
|
"file": "/app/src/utils/mask-api-key.ts",
|
|
"language": "typescript",
|
|
"entities": [
|
|
{
|
|
"id": "utils/mask-api-key.ts",
|
|
"type": "Module",
|
|
"name": "utils/mask-api-key.ts",
|
|
"kind": "module",
|
|
"visibility": "public",
|
|
"line_range": [
|
|
1,
|
|
14
|
|
]
|
|
},
|
|
{
|
|
"id": "utils/mask-api-key.ts:maskApiKey",
|
|
"type": "Function",
|
|
"name": "maskApiKey",
|
|
"kind": "function",
|
|
"visibility": "public",
|
|
"line_range": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"type": "CONTAINS",
|
|
"source": "utils/mask-api-key.ts",
|
|
"target": "utils/mask-api-key.ts:maskApiKey"
|
|
},
|
|
{
|
|
"type": "CALLS",
|
|
"source": "utils/mask-api-key.ts:maskApiKey",
|
|
"target": "value.trim"
|
|
},
|
|
{
|
|
"type": "CALLS",
|
|
"source": "utils/mask-api-key.ts:maskApiKey",
|
|
"target": "trimmed.slice"
|
|
}
|
|
]
|
|
}
|