Commit 651c822
authored
feat: SigMap v2.0.0 — v2 pipeline, new extractors, docs alignment (#2)
* feat: add FastAPI router, Zustand store, and API object extraction
- python.js: detect @router.METHOD decorators → produce GET/POST/... → fn() sigs
- typescript.js: detect create<State>() stores with field listing
- typescript.js: detect xxxApi = { method: async => } objects
- Both: raise sigs slice limit (python 25→30, ts 25→35)
- gen-context.js: sync bundle with same changes
* feat: SigMap v2.0.0 — v2 pipeline, new extractors, docs alignment
Major release featuring:
Pipeline:
- New v2 context sections: TODOs, Recent changes, Coverage gaps, PR diff
- Dependency extractors for Python (import/from) and TypeScript (import/require)
Extractor fixes:
- Python: BaseModel field bleed across classes
- TypeScript: union type truncation (slice 35)
- TypeScript: function-style hook shape detection
Docs & release prep:
- All version surfaces bumped to 2.0.0
- README: v2 What's New section, updated project structure, 262 test badge
- CHANGELOG: consolidated beta entries into single 2.0.0 entry
- All 6 HTML docs pages updated (footers, meta, badges)
- Roadmap: added v2.0 timeline entry
- Branding: ContextForge → SigMap across .npmignore, config example, CI guide
- Removed 8 stale files (TIMELINE.md, standalone bundle, scripts, examples)
Tests: 21/21 extractors + 17/17 integration suites (262 total)
* fix: address all 9 Copilot review comments
- Fix bundled BaseModel field bleed (add foundFirst boundary logic)
- Fix bundled TS interface property slice(0,20) → slice(0,35)
- Fix command injection in --diff: validate baseRef, use execFileSync
- Add buildReverseDepMap to bundled deps.js exports
- Tighten coverage heuristic: min token length, exact match only
- Remove unused enrichSignatures/schemaFields from defaults + config example
- Fix README: v2 features are default-on, not opt-in
- Fix roadmap.html og:description: 17 versions, 262 tests
- Regenerate copilot-instructions.md with v2.0.0 header1 parent 8904c97 commit 651c822
69 files changed
Lines changed: 1944 additions & 2491 deletions
File tree
- .github
- docs
- examples
- scripts
- src
- config
- extractors
- mcp
- test
- expected
- fixtures
- integration
- vscode-extension
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
9 | 42 | | |
10 | 43 | | |
11 | 44 | | |
| |||
32 | 65 | | |
33 | 66 | | |
34 | 67 | | |
35 | | - | |
36 | 68 | | |
37 | 69 | | |
38 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
85 | 102 | | |
86 | 103 | | |
87 | 104 | | |
| |||
147 | 164 | | |
148 | 165 | | |
149 | 166 | | |
150 | | - | |
| 167 | + | |
151 | 168 | | |
152 | 169 | | |
153 | 170 | | |
| |||
380 | 397 | | |
381 | 398 | | |
382 | 399 | | |
383 | | - | |
| 400 | + | |
384 | 401 | | |
385 | 402 | | |
386 | 403 | | |
| |||
426 | 443 | | |
427 | 444 | | |
428 | 445 | | |
429 | | - | |
430 | | - | |
| 446 | + | |
| 447 | + | |
431 | 448 | | |
432 | 449 | | |
433 | 450 | | |
| |||
478 | 495 | | |
479 | 496 | | |
480 | 497 | | |
481 | | - | |
| 498 | + | |
482 | 499 | | |
483 | 500 | | |
484 | 501 | | |
| |||
490 | 507 | | |
491 | 508 | | |
492 | 509 | | |
493 | | - | |
| 510 | + | |
494 | 511 | | |
495 | 512 | | |
496 | 513 | | |
497 | | - | |
| 514 | + | |
| 515 | + | |
498 | 516 | | |
499 | 517 | | |
500 | 518 | | |
| |||
0 commit comments