Files
pi-map/.pi-project-map/cache/llm-cache.json
T
alex 2f198ea0d2 feat: remove heuristics, go LLM-only with mocks + restructure
BREAKING: Heuristic fallback removed — LLM client now required

Changes:
- Remove extractFileHeuristic, extractPackageHeuristic, all helpers
- extractFileLLM / extractPackageLLM now throw LLMError when client missing
- Add hybrid binary detection: extension blacklist + content sniffing
- Increase file size limit: 50KB → 500KB (text files only)
- Restructure src/ into subdirectories:
  - src/llm/ — all LLM clients, extract, batch, cache, error
  - src/ast/ — AST extraction
  - src/cli/ — CLI entry point
- Update all imports across codebase and tests
- Add tests/mock-llm.ts helper for deterministic mock clients
- Update all tests to use mock LLM clients (no heuristics dependency)
- All 52 tests passing (including 8 real LLM integration tests)
2026-06-10 17:34:37 +02:00

62 lines
2.5 KiB
JSON

{
"25c2db9d6c4c2c511bec4a736f5adf77423be6011bbedd916fb55003d059b4e3": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452802
},
"889300ab1d0afe082d820fdd9150229625c3ab69b3b84c2ca65d67479be388cc": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452841
},
"585c5da8de102beb6a9906f0e3f07a134b5392bed52fc1a0aaef989e69aa66b6": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452845
},
"a6f92e629a4c341fe1e10f92ef923c54002b8a79ec3bedb0b9079bc7aca4e2e0": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452846
},
"a6c149b54aec4ced46eb38d6faf1f20ec62fd2f9a2f2dcb6a15c4f339dfb5f1e": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452846
},
"4eda95f6452551a12d5b434e284c2e539ce57e0206d5ffa49609f4fa8354a966": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452846
},
"510456d000664badf3cbec9f70c80769a119a590e84b1971e49ac5728882a699": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452847
},
"b0f5449d50fda0b5c0cf47103188df2d4339b047e1e03cab7a15a431f2990185": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452848
},
"eebe9a750792a3d802c6868f32ac264d44ef193a6f1940c4ad5e715b6e31074a": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452848
},
"4958b5d7ec5b4c975bb1e2972519aff5fbd94cb7342be4f8dd854a5c7353bd26": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452849
},
"389a385ef4fc5d1d253253fa3c931c505c7fbcca68db4ebe6b34392b3ca32d65": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452849
},
"879d2eff31eaf101d30de95e0e2df1c1a3a305c4e3b0515a22c85969af49ff25": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452947
},
"c2f0a91350b7f5e11a95848c4d806e49d2017862acbc43afb1dd52a5e73c0b24": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452948
},
"037ecd1db38c230c248787e60fd7bfc0cb0101b187b59535b6e7483be762d350": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452950
},
"b5d546753d33709dff508a6f2c2e547f432267fbb05b68d3da74fa5f7bda9f7a": {
"result": "PURPOSE: Test file\nDEPS: none\nCONCEPTS: testing",
"ts": 1781105452953
}
}