|
1 | 1 | { |
2 | 2 | "$schema": "https://stacklit.dev/schema/v1.json", |
3 | 3 | "version": "1", |
4 | | - "generated_at": "2026-04-09T20:34:17Z", |
| 4 | + "generated_at": "2026-04-09T20:40:23Z", |
5 | 5 | "stacklit_version": "dev", |
6 | | - "merkle_hash": "df7d8eb9979144c534154a7903c74e2d933a6a4102a3812be1446b7a5401aa8b", |
| 6 | + "merkle_hash": "ab5fb49c8c730f92997abf6271d53c85983edfcfec297938fc36dd891124f4fc", |
7 | 7 | "project": { |
8 | 8 | "name": "stacklit", |
9 | 9 | "root": ".", |
|
13 | 13 | "primary_language": "go", |
14 | 14 | "languages": { |
15 | 15 | "go": { |
16 | | - "files": 46, |
17 | | - "lines": 5306 |
| 16 | + "files": 48, |
| 17 | + "lines": 5631 |
18 | 18 | }, |
19 | 19 | "java": { |
20 | 20 | "files": 1, |
|
46 | 46 | "entrypoints": [ |
47 | 47 | "cmd/stacklit/main.go" |
48 | 48 | ], |
49 | | - "total_files": 57, |
50 | | - "total_lines": 5522 |
| 49 | + "total_files": 59, |
| 50 | + "total_lines": 5847 |
51 | 51 | }, |
52 | 52 | "modules": { |
53 | 53 | "assets": { |
|
85 | 85 | "purpose": "Command-line interface", |
86 | 86 | "language": "go", |
87 | 87 | "files": 6, |
88 | | - "lines": 241, |
| 88 | + "lines": 255, |
89 | 89 | "file_list": [ |
90 | 90 | "diff.go", |
91 | 91 | "generate.go", |
|
111 | 111 | ], |
112 | 112 | "activity": "medium" |
113 | 113 | }, |
| 114 | + "internal/config": { |
| 115 | + "purpose": "Configuration management", |
| 116 | + "language": "go", |
| 117 | + "files": 2, |
| 118 | + "lines": 130, |
| 119 | + "file_list": [ |
| 120 | + "config.go", |
| 121 | + "config_test.go" |
| 122 | + ], |
| 123 | + "exports": [ |
| 124 | + "DefaultConfig() *Config", |
| 125 | + "Load(root string) *Config", |
| 126 | + "type Config", |
| 127 | + "type OutputConfig" |
| 128 | + ], |
| 129 | + "type_defs": { |
| 130 | + "Config": "Ignore []string, MaxDepth int, MaxModules int, MaxExports int, Output OutputConfig", |
| 131 | + "OutputConfig": "JSON string, Mermaid string, HTML string" |
| 132 | + }, |
| 133 | + "depended_by": [ |
| 134 | + "internal/engine" |
| 135 | + ], |
| 136 | + "activity": "low" |
| 137 | + }, |
114 | 138 | "internal/detect": { |
115 | 139 | "purpose": "Framework and tool detection", |
116 | 140 | "language": "go", |
|
134 | 158 | "purpose": "Core orchestration engine", |
135 | 159 | "language": "go", |
136 | 160 | "files": 1, |
137 | | - "lines": 438, |
| 161 | + "lines": 538, |
138 | 162 | "file_list": [ |
139 | 163 | "engine.go" |
140 | 164 | ], |
141 | 165 | "exports": [ |
142 | 166 | "Run(opts Options) (*Result, error)", |
| 167 | + "RunMulti(opts MultiOptions) (*MultiResult, error)", |
| 168 | + "type MultiOptions", |
| 169 | + "type MultiResult", |
143 | 170 | "type Options", |
144 | 171 | "type Result" |
145 | 172 | ], |
146 | 173 | "type_defs": { |
| 174 | + "MultiOptions": "ReposFile string, Quiet bool", |
| 175 | + "MultiResult": "OutputPath string, RepoCount int, Duration time.Duration", |
147 | 176 | "Options": "Root string, Workspace string, InstallHook bool, Quiet bool, Summary bool", |
148 | 177 | "Result": "JSONPath string, HTMLPath string, MermaidPath string, Index *schema.Index, Duration time.Duration" |
149 | 178 | }, |
150 | 179 | "depends_on": [ |
| 180 | + "internal/config", |
151 | 181 | "internal/detect", |
152 | 182 | "internal/git", |
153 | 183 | "internal/graph", |
|
161 | 191 | "depended_by": [ |
162 | 192 | "internal/cli" |
163 | 193 | ], |
164 | | - "activity": "medium" |
| 194 | + "activity": "high" |
165 | 195 | }, |
166 | 196 | "internal/git": { |
167 | 197 | "purpose": "Git integration", |
|
195 | 225 | "purpose": "Dependency graph", |
196 | 226 | "language": "go", |
197 | 227 | "files": 2, |
198 | | - "lines": 449, |
| 228 | + "lines": 494, |
199 | 229 | "file_list": [ |
200 | 230 | "graph.go", |
201 | 231 | "graph_test.go" |
202 | 232 | ], |
203 | 233 | "exports": [ |
204 | | - "Build(files []*parser.FileInfo) *Graph", |
| 234 | + "Build(files []*parser.FileInfo, opts BuildOptions) *Graph", |
205 | 235 | "Edges() []Edge", |
206 | 236 | "Entrypoints() []string", |
| 237 | + "Isolated() []string", |
207 | 238 | "Module(name string) *Module", |
208 | 239 | "Modules() []*Module", |
209 | 240 | "MostDepended() []string", |
| 241 | + "type BuildOptions", |
210 | 242 | "type Edge", |
211 | | - "type Graph", |
212 | | - "type Module" |
| 243 | + "type Graph" |
213 | 244 | ], |
214 | 245 | "type_defs": { |
| 246 | + "BuildOptions": "MaxDepth int, MaxModules int", |
215 | 247 | "Edge": "From string, To string, Count int", |
216 | 248 | "Module": "Name string, FileCount int, Files []string, Exports []string, TypeDefs map[string]string, DependsOn []string, DependedBy []string, Languages []string, PrimaryLanguage string, LineCount int" |
217 | 249 | }, |
|
336 | 368 | "purpose": "Data schema definitions", |
337 | 369 | "language": "go", |
338 | 370 | "files": 1, |
339 | | - "lines": 85, |
| 371 | + "lines": 104, |
340 | 372 | "file_list": [ |
341 | 373 | "schema.go" |
342 | 374 | ], |
|
349 | 381 | "type Index", |
350 | 382 | "type LangStats", |
351 | 383 | "type ModuleInfo", |
352 | | - "type Project", |
353 | | - "type Structure" |
| 384 | + "type MultiIndex", |
| 385 | + "type Project" |
354 | 386 | ], |
355 | 387 | "type_defs": { |
356 | | - "Architecture": "Pattern string, Summary string", |
357 | | - "Dependencies": "Edges [][]string, Entrypoints []string, MostDepended []string, Isolated []string", |
358 | 388 | "Hints": "AddFeature string, TestCmd string, EnvVars []string, DoNotTouch []string", |
359 | 389 | "HotFile": "Path string, Commits90d int", |
360 | 390 | "Index": "Schema string, Version string, GeneratedAt string, StacklitVersion string, MerkleHash string, Project Project, Tech Tech, Structure Structure, Modules map[string]ModuleInfo, Dependencies Dependenci...", |
361 | 391 | "LangStats": "Files int, Lines int", |
362 | 392 | "ModuleInfo": "Purpose string, Language string, Files int, Lines int, FileList []string, Exports []string, TypeDefs map[string]string, DependsOn []string, DependedBy []string, Activity string", |
| 393 | + "MultiIndex": "Schema string, Version string, Type string, GeneratedAt string, Repos []RepoSummary", |
363 | 394 | "Project": "Name string, Root string, Type string, Workspaces []string", |
| 395 | + "RepoSummary": "Name string, Path string, PrimaryLanguage string, TotalFiles int, TotalLines int, Modules int, Frameworks []string, Entrypoints []string", |
364 | 396 | "Structure": "Entrypoints []string, TotalFiles int, TotalLines int, KeyDirectories map[string]string", |
365 | 397 | "Tech": "PrimaryLanguage string, Languages map[string]LangStats, Frameworks []string" |
366 | 398 | }, |
|
396 | 428 | "purpose": "File system walker", |
397 | 429 | "language": "go", |
398 | 430 | "files": 2, |
399 | | - "lines": 274, |
| 431 | + "lines": 291, |
400 | 432 | "file_list": [ |
401 | 433 | "walker.go", |
402 | 434 | "walker_test.go" |
403 | 435 | ], |
404 | 436 | "exports": [ |
405 | | - "Walk(root string) ([]string, error)" |
| 437 | + "Walk(root string, extraIgnore []string) ([]string, error)" |
406 | 438 | ], |
407 | 439 | "depended_by": [ |
408 | 440 | "internal/cli", |
|
461 | 493 | "internal/cli", |
462 | 494 | "internal/walker" |
463 | 495 | ], |
| 496 | + [ |
| 497 | + "internal/engine", |
| 498 | + "internal/config" |
| 499 | + ], |
464 | 500 | [ |
465 | 501 | "internal/engine", |
466 | 502 | "internal/detect" |
|
529 | 565 | "internal/walker", |
530 | 566 | "assets", |
531 | 567 | "internal/cli", |
| 568 | + "internal/config", |
532 | 569 | "internal/detect", |
533 | | - "internal/engine", |
534 | | - "internal/graph" |
| 570 | + "internal/engine" |
| 571 | + ], |
| 572 | + "isolated": [ |
| 573 | + "npm", |
| 574 | + "npm/bin" |
535 | 575 | ] |
536 | 576 | }, |
537 | 577 | "git": { |
538 | 578 | "hot_files": [ |
539 | 579 | { |
540 | 580 | "path": "internal/engine/engine.go", |
541 | | - "commits_90d": 10 |
542 | | - }, |
543 | | - { |
544 | | - "path": "assets/template.html", |
545 | | - "commits_90d": 7 |
| 581 | + "commits_90d": 11 |
546 | 582 | }, |
547 | 583 | { |
548 | 584 | "path": "stacklit.json", |
549 | | - "commits_90d": 7 |
| 585 | + "commits_90d": 8 |
550 | 586 | }, |
551 | 587 | { |
552 | 588 | "path": "stacklit.mmd", |
| 589 | + "commits_90d": 8 |
| 590 | + }, |
| 591 | + { |
| 592 | + "path": "assets/template.html", |
553 | 593 | "commits_90d": 7 |
554 | 594 | }, |
555 | 595 | { |
556 | 596 | "path": "internal/graph/graph.go", |
557 | | - "commits_90d": 5 |
| 597 | + "commits_90d": 7 |
558 | 598 | }, |
559 | 599 | { |
560 | 600 | "path": "internal/schema/schema.go", |
561 | | - "commits_90d": 5 |
| 601 | + "commits_90d": 6 |
562 | 602 | }, |
563 | 603 | { |
564 | | - "path": "go.mod", |
565 | | - "commits_90d": 4 |
| 604 | + "path": "internal/cli/init.go", |
| 605 | + "commits_90d": 5 |
566 | 606 | }, |
567 | 607 | { |
568 | | - "path": "internal/cli/init.go", |
| 608 | + "path": "go.mod", |
569 | 609 | "commits_90d": 4 |
570 | 610 | }, |
571 | 611 | { |
|
584 | 624 | "path": "internal/cli/view.go", |
585 | 625 | "commits_90d": 3 |
586 | 626 | }, |
| 627 | + { |
| 628 | + "path": "internal/graph/graph_test.go", |
| 629 | + "commits_90d": 3 |
| 630 | + }, |
587 | 631 | { |
588 | 632 | "path": "internal/parser/golang.go", |
589 | 633 | "commits_90d": 3 |
|
605 | 649 | "commits_90d": 3 |
606 | 650 | }, |
607 | 651 | { |
608 | | - "path": ".gitignore", |
609 | | - "commits_90d": 2 |
610 | | - }, |
611 | | - { |
612 | | - "path": "Makefile", |
613 | | - "commits_90d": 2 |
| 652 | + "path": "internal/walker/walker_test.go", |
| 653 | + "commits_90d": 3 |
614 | 654 | }, |
615 | 655 | { |
616 | | - "path": "assets/embed.go", |
| 656 | + "path": ".gitignore", |
617 | 657 | "commits_90d": 2 |
618 | 658 | } |
619 | 659 | ], |
620 | 660 | "recent": [ |
621 | | - "stacklit.json", |
622 | | - "stacklit.mmd", |
623 | | - "internal/detect/envvars.go", |
| 661 | + "internal/graph/graph_test.go", |
| 662 | + "internal/cli/diff.go", |
| 663 | + "internal/cli/init.go", |
| 664 | + "internal/config/config.go", |
| 665 | + "internal/config/config_test.go", |
624 | 666 | "internal/engine/engine.go", |
625 | 667 | "internal/graph/graph.go", |
626 | | - "internal/parser/golang.go", |
627 | | - "internal/parser/golang_test.go", |
628 | | - "internal/parser/parser.go", |
629 | 668 | "internal/schema/schema.go", |
630 | | - "internal/parser/python.go" |
| 669 | + "internal/walker/walker.go", |
| 670 | + "internal/walker/walker_test.go" |
631 | 671 | ], |
632 | 672 | "stable": [ |
633 | 673 | ".github/workflows/ci.yml", |
|
638 | 678 | "SKILL.md", |
639 | 679 | "action/action.yml", |
640 | 680 | "assets/lang-icons.js", |
641 | | - "internal/cli/diff.go", |
642 | | - "internal/cli/serve.go" |
| 681 | + "internal/cli/serve.go", |
| 682 | + "internal/config/config.go" |
643 | 683 | ] |
644 | 684 | }, |
645 | 685 | "hints": { |
|
0 commit comments