@tonycasey/lisa 2.25.4 → 2.27.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/dist/lib/application/handlers/PromptSubmitHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/PromptSubmitHandler.js +2 -2
- package/dist/lib/application/handlers/PromptSubmitHandler.js.map +1 -1
- package/dist/lib/application/handlers/SessionStartHandler.d.ts +8 -24
- package/dist/lib/application/handlers/SessionStartHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/SessionStartHandler.js +43 -31
- package/dist/lib/application/handlers/SessionStartHandler.js.map +1 -1
- package/dist/lib/application/handlers/SessionStopHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/SessionStopHandler.js +2 -3
- package/dist/lib/application/handlers/SessionStopHandler.js.map +1 -1
- package/dist/lib/application/handlers/pr/PrPollHandler.d.ts +1 -2
- package/dist/lib/application/handlers/pr/PrPollHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/pr/PrPollHandler.js +3 -4
- package/dist/lib/application/handlers/pr/PrPollHandler.js.map +1 -1
- package/dist/lib/application/handlers/pr/PrRememberHandler.d.ts +1 -2
- package/dist/lib/application/handlers/pr/PrRememberHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/pr/PrRememberHandler.js +2 -3
- package/dist/lib/application/handlers/pr/PrRememberHandler.js.map +1 -1
- package/dist/lib/application/services/GitExtractorService.d.ts +22 -0
- package/dist/lib/application/services/GitExtractorService.d.ts.map +1 -0
- package/dist/lib/application/services/GitExtractorService.js +232 -0
- package/dist/lib/application/services/GitExtractorService.js.map +1 -0
- package/dist/lib/application/services/GitIndexingService.d.ts +25 -0
- package/dist/lib/application/services/GitIndexingService.d.ts.map +1 -0
- package/dist/lib/application/services/GitIndexingService.js +175 -0
- package/dist/lib/application/services/GitIndexingService.js.map +1 -0
- package/dist/lib/application/services/GitTriageService.d.ts +45 -0
- package/dist/lib/application/services/GitTriageService.d.ts.map +1 -0
- package/dist/lib/application/services/GitTriageService.js +360 -0
- package/dist/lib/application/services/GitTriageService.js.map +1 -0
- package/dist/lib/application/services/MemoryContextLoader.d.ts +7 -16
- package/dist/lib/application/services/MemoryContextLoader.d.ts.map +1 -1
- package/dist/lib/application/services/MemoryContextLoader.js +12 -75
- package/dist/lib/application/services/MemoryContextLoader.js.map +1 -1
- package/dist/lib/application/services/RepoProfileService.d.ts +37 -0
- package/dist/lib/application/services/RepoProfileService.d.ts.map +1 -0
- package/dist/lib/application/services/RepoProfileService.js +388 -0
- package/dist/lib/application/services/RepoProfileService.js.map +1 -0
- package/dist/lib/application/services/SessionContextFormatter.d.ts +11 -1
- package/dist/lib/application/services/SessionContextFormatter.d.ts.map +1 -1
- package/dist/lib/application/services/SessionContextFormatter.js +59 -3
- package/dist/lib/application/services/SessionContextFormatter.js.map +1 -1
- package/dist/lib/application/services/index.d.ts +2 -0
- package/dist/lib/application/services/index.d.ts.map +1 -1
- package/dist/lib/application/services/index.js +7 -1
- package/dist/lib/application/services/index.js.map +1 -1
- package/dist/lib/cli.d.ts +2 -2
- package/dist/lib/cli.d.ts.map +1 -1
- package/dist/lib/cli.js +4 -52
- package/dist/lib/cli.js.map +1 -1
- package/dist/lib/commands/doctor.d.ts +5 -12
- package/dist/lib/commands/doctor.d.ts.map +1 -1
- package/dist/lib/commands/doctor.js +60 -280
- package/dist/lib/commands/doctor.js.map +1 -1
- package/dist/lib/commands/index.d.ts +2 -3
- package/dist/lib/commands/index.d.ts.map +1 -1
- package/dist/lib/commands/index.js +2 -7
- package/dist/lib/commands/index.js.map +1 -1
- package/dist/lib/commands/init.d.ts +2 -8
- package/dist/lib/commands/init.d.ts.map +1 -1
- package/dist/lib/commands/init.js +13 -67
- package/dist/lib/commands/init.js.map +1 -1
- package/dist/lib/commands/knowledge.d.ts.map +1 -1
- package/dist/lib/commands/knowledge.js +1 -2
- package/dist/lib/commands/knowledge.js.map +1 -1
- package/dist/lib/commands/pr.d.ts.map +1 -1
- package/dist/lib/commands/pr.js +20 -21
- package/dist/lib/commands/pr.js.map +1 -1
- package/dist/lib/commands/shared/constants.d.ts +1 -15
- package/dist/lib/commands/shared/constants.d.ts.map +1 -1
- package/dist/lib/commands/shared/constants.js +2 -5
- package/dist/lib/commands/shared/constants.js.map +1 -1
- package/dist/lib/commands/shared/index.d.ts +1 -1
- package/dist/lib/commands/shared/index.d.ts.map +1 -1
- package/dist/lib/commands/shared/index.js +1 -3
- package/dist/lib/commands/shared/index.js.map +1 -1
- package/dist/lib/commands/skills.d.ts +1 -1
- package/dist/lib/commands/skills.js +5 -5
- package/dist/lib/commands/skills.js.map +1 -1
- package/dist/lib/domain/interfaces/ICommitEnricher.d.ts +81 -0
- package/dist/lib/domain/interfaces/ICommitEnricher.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/ICommitEnricher.js +33 -0
- package/dist/lib/domain/interfaces/ICommitEnricher.js.map +1 -0
- package/dist/lib/domain/interfaces/IConsolidationService.d.ts +3 -2
- package/dist/lib/domain/interfaces/IConsolidationService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/ICurationService.d.ts +3 -2
- package/dist/lib/domain/interfaces/ICurationService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IFileSystem.d.ts +28 -0
- package/dist/lib/domain/interfaces/IFileSystem.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IFileSystem.js +12 -0
- package/dist/lib/domain/interfaces/IFileSystem.js.map +1 -0
- package/dist/lib/domain/interfaces/IGitClient.d.ts +86 -0
- package/dist/lib/domain/interfaces/IGitClient.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IGitExtractor.d.ts +160 -0
- package/dist/lib/domain/interfaces/IGitExtractor.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IGitExtractor.js +37 -0
- package/dist/lib/domain/interfaces/IGitExtractor.js.map +1 -0
- package/dist/lib/domain/interfaces/IGitIndexingService.d.ts +69 -0
- package/dist/lib/domain/interfaces/IGitIndexingService.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IGitIndexingService.js +43 -0
- package/dist/lib/domain/interfaces/IGitIndexingService.js.map +1 -0
- package/dist/lib/domain/interfaces/IGitMemClient.d.ts +44 -0
- package/dist/lib/domain/interfaces/IGitMemClient.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IGitMemClient.js +9 -0
- package/dist/lib/domain/interfaces/IGitMemClient.js.map +1 -0
- package/dist/lib/domain/interfaces/IGitTriageService.d.ts +180 -0
- package/dist/lib/domain/interfaces/IGitTriageService.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IGitTriageService.js +12 -0
- package/dist/lib/domain/interfaces/IGitTriageService.js.map +1 -0
- package/dist/lib/domain/interfaces/ILisaServices.d.ts +0 -9
- package/dist/lib/domain/interfaces/ILisaServices.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IMemoryService.d.ts +14 -89
- package/dist/lib/domain/interfaces/IMemoryService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/INlCurationService.d.ts +4 -4
- package/dist/lib/domain/interfaces/INlCurationService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IRecursionService.d.ts +3 -2
- package/dist/lib/domain/interfaces/IRecursionService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IRepoProfileService.d.ts +132 -0
- package/dist/lib/domain/interfaces/IRepoProfileService.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IRepoProfileService.js +25 -0
- package/dist/lib/domain/interfaces/IRepoProfileService.js.map +1 -0
- package/dist/lib/domain/interfaces/ISummarizationService.d.ts +4 -3
- package/dist/lib/domain/interfaces/ISummarizationService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/ITaskService.d.ts +11 -16
- package/dist/lib/domain/interfaces/ITaskService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/dal/IMemoryRepository.d.ts +0 -1
- package/dist/lib/domain/interfaces/dal/IMemoryRepository.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/dal/IRepositoryRouter.d.ts +1 -1
- package/dist/lib/domain/interfaces/dal/IRepositoryRouter.js +2 -2
- package/dist/lib/domain/interfaces/dal/IRepositoryRouter.js.map +1 -1
- package/dist/lib/domain/interfaces/events/IMemoryEvent.d.ts +6 -4
- package/dist/lib/domain/interfaces/events/IMemoryEvent.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/events/IMemoryEvent.js +2 -4
- package/dist/lib/domain/interfaces/events/IMemoryEvent.js.map +1 -1
- package/dist/lib/domain/interfaces/index.d.ts +9 -3
- package/dist/lib/domain/interfaces/index.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/index.js +13 -1
- package/dist/lib/domain/interfaces/index.js.map +1 -1
- package/dist/lib/infrastructure/adapters/claude/session-start.d.ts +1 -0
- package/dist/lib/infrastructure/adapters/claude/session-start.d.ts.map +1 -1
- package/dist/lib/infrastructure/adapters/claude/session-start.js +18 -4
- package/dist/lib/infrastructure/adapters/claude/session-start.js.map +1 -1
- package/dist/lib/infrastructure/adapters/gitmem/GitMemAdapter.d.ts +22 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemAdapter.d.ts.map +1 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemAdapter.js +88 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemAdapter.js.map +1 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemTaskAdapter.d.ts +19 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemTaskAdapter.d.ts.map +1 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemTaskAdapter.js +109 -0
- package/dist/lib/infrastructure/adapters/gitmem/GitMemTaskAdapter.js.map +1 -0
- package/dist/lib/infrastructure/adapters/gitmem/index.d.ts +3 -0
- package/dist/lib/infrastructure/adapters/gitmem/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/adapters/gitmem/index.js +8 -0
- package/dist/lib/infrastructure/adapters/gitmem/index.js.map +1 -0
- package/dist/lib/infrastructure/dal/connections/index.d.ts +0 -4
- package/dist/lib/infrastructure/dal/connections/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/connections/index.js +2 -10
- package/dist/lib/infrastructure/dal/connections/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/index.d.ts +4 -22
- package/dist/lib/infrastructure/dal/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/index.js +3 -37
- package/dist/lib/infrastructure/dal/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/index.d.ts +1 -3
- package/dist/lib/infrastructure/dal/repositories/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/index.js +2 -12
- package/dist/lib/infrastructure/dal/repositories/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.d.ts +0 -2
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.js +2 -6
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.js.map +1 -1
- package/dist/lib/infrastructure/di/ServiceFactory.d.ts +2 -9
- package/dist/lib/infrastructure/di/ServiceFactory.d.ts.map +1 -1
- package/dist/lib/infrastructure/di/bootstrap.d.ts +3 -1
- package/dist/lib/infrastructure/di/bootstrap.d.ts.map +1 -1
- package/dist/lib/infrastructure/di/bootstrap.js +29 -131
- package/dist/lib/infrastructure/di/bootstrap.js.map +1 -1
- package/dist/lib/infrastructure/di/tokens.d.ts +0 -20
- package/dist/lib/infrastructure/di/tokens.d.ts.map +1 -1
- package/dist/lib/infrastructure/di/tokens.js +0 -11
- package/dist/lib/infrastructure/di/tokens.js.map +1 -1
- package/dist/lib/infrastructure/git/GitClient.d.ts +11 -1
- package/dist/lib/infrastructure/git/GitClient.d.ts.map +1 -1
- package/dist/lib/infrastructure/git/GitClient.js +137 -0
- package/dist/lib/infrastructure/git/GitClient.js.map +1 -1
- package/dist/lib/infrastructure/git-mem/GitMemClient.d.ts +37 -0
- package/dist/lib/infrastructure/git-mem/GitMemClient.d.ts.map +1 -0
- package/dist/lib/infrastructure/git-mem/GitMemClient.js +151 -0
- package/dist/lib/infrastructure/git-mem/GitMemClient.js.map +1 -0
- package/dist/lib/infrastructure/git-mem/GitMemFactory.d.ts +36 -0
- package/dist/lib/infrastructure/git-mem/GitMemFactory.d.ts.map +1 -0
- package/dist/lib/infrastructure/git-mem/GitMemFactory.js +56 -0
- package/dist/lib/infrastructure/git-mem/GitMemFactory.js.map +1 -0
- package/dist/lib/infrastructure/git-mem/index.d.ts +7 -0
- package/dist/lib/infrastructure/git-mem/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/git-mem/index.js +13 -0
- package/dist/lib/infrastructure/git-mem/index.js.map +1 -0
- package/dist/lib/infrastructure/git-mem/types.d.ts +90 -0
- package/dist/lib/infrastructure/git-mem/types.d.ts.map +1 -0
- package/dist/lib/infrastructure/git-mem/types.js +9 -0
- package/dist/lib/infrastructure/git-mem/types.js.map +1 -0
- package/dist/lib/infrastructure/github/GitHubDataFetcher.d.ts +21 -0
- package/dist/lib/infrastructure/github/GitHubDataFetcher.d.ts.map +1 -0
- package/dist/lib/infrastructure/github/GitHubDataFetcher.js +111 -0
- package/dist/lib/infrastructure/github/GitHubDataFetcher.js.map +1 -0
- package/dist/lib/infrastructure/index.d.ts +0 -1
- package/dist/lib/infrastructure/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/index.js +1 -3
- package/dist/lib/infrastructure/index.js.map +1 -1
- package/dist/lib/infrastructure/logging/Logger.d.ts +13 -1
- package/dist/lib/infrastructure/logging/Logger.d.ts.map +1 -1
- package/dist/lib/infrastructure/logging/Logger.js +25 -7
- package/dist/lib/infrastructure/logging/Logger.js.map +1 -1
- package/dist/lib/infrastructure/logging/factory.d.ts +5 -1
- package/dist/lib/infrastructure/logging/factory.d.ts.map +1 -1
- package/dist/lib/infrastructure/logging/factory.js +3 -0
- package/dist/lib/infrastructure/logging/factory.js.map +1 -1
- package/dist/lib/infrastructure/logging/index.d.ts +1 -1
- package/dist/lib/infrastructure/logging/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/logging/index.js.map +1 -1
- package/dist/lib/infrastructure/services/CommitEnricher.d.ts +26 -0
- package/dist/lib/infrastructure/services/CommitEnricher.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/CommitEnricher.js +214 -0
- package/dist/lib/infrastructure/services/CommitEnricher.js.map +1 -0
- package/dist/lib/infrastructure/services/CurationService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/CurationService.js +4 -4
- package/dist/lib/infrastructure/services/CurationService.js.map +1 -1
- package/dist/lib/infrastructure/services/GitMemMemoryService.d.ts +24 -0
- package/dist/lib/infrastructure/services/GitMemMemoryService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/GitMemMemoryService.js +114 -0
- package/dist/lib/infrastructure/services/GitMemMemoryService.js.map +1 -0
- package/dist/lib/infrastructure/services/GitMemTaskService.d.ts +24 -0
- package/dist/lib/infrastructure/services/GitMemTaskService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/GitMemTaskService.js +142 -0
- package/dist/lib/infrastructure/services/GitMemTaskService.js.map +1 -0
- package/dist/lib/infrastructure/services/LlmGuard.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/LlmGuard.js +44 -13
- package/dist/lib/infrastructure/services/LlmGuard.js.map +1 -1
- package/dist/lib/infrastructure/services/NlCurationService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/NlCurationService.js +12 -12
- package/dist/lib/infrastructure/services/NlCurationService.js.map +1 -1
- package/dist/lib/infrastructure/services/NodeFileSystem.d.ts +12 -0
- package/dist/lib/infrastructure/services/NodeFileSystem.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/NodeFileSystem.js +40 -0
- package/dist/lib/infrastructure/services/NodeFileSystem.js.map +1 -0
- package/dist/lib/infrastructure/services/RecursionService.d.ts +1 -1
- package/dist/lib/infrastructure/services/RecursionService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/RecursionService.js +8 -8
- package/dist/lib/infrastructure/services/RecursionService.js.map +1 -1
- package/dist/lib/infrastructure/services/SkillMemoryService.d.ts +26 -0
- package/dist/lib/infrastructure/services/SkillMemoryService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/SkillMemoryService.js +317 -0
- package/dist/lib/infrastructure/services/SkillMemoryService.js.map +1 -0
- package/dist/lib/infrastructure/services/SkillPromptService.d.ts +16 -0
- package/dist/lib/infrastructure/services/SkillPromptService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/SkillPromptService.js +53 -0
- package/dist/lib/infrastructure/services/SkillPromptService.js.map +1 -0
- package/dist/lib/infrastructure/services/SkillTaskService.d.ts +32 -0
- package/dist/lib/infrastructure/services/SkillTaskService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/SkillTaskService.js +214 -0
- package/dist/lib/infrastructure/services/SkillTaskService.js.map +1 -0
- package/dist/lib/infrastructure/services/SummarizationService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/SummarizationService.js +3 -5
- package/dist/lib/infrastructure/services/SummarizationService.js.map +1 -1
- package/dist/lib/infrastructure/services/index.d.ts +7 -4
- package/dist/lib/infrastructure/services/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/index.js +31 -13
- package/dist/lib/infrastructure/services/index.js.map +1 -1
- package/dist/lib/infrastructure/services/patterns/HeuristicPatterns.d.ts +72 -0
- package/dist/lib/infrastructure/services/patterns/HeuristicPatterns.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/patterns/HeuristicPatterns.js +261 -0
- package/dist/lib/infrastructure/services/patterns/HeuristicPatterns.js.map +1 -0
- package/dist/lib/infrastructure/services/prompts/commit-extraction.d.ts +26 -0
- package/dist/lib/infrastructure/services/prompts/commit-extraction.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/prompts/commit-extraction.js +151 -0
- package/dist/lib/infrastructure/services/prompts/commit-extraction.js.map +1 -0
- package/dist/lib/{skills/shared/services/interfaces/IMemoryService.d.ts → infrastructure/services/skill-interfaces/ISkillMemoryService.d.ts} +38 -47
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillMemoryService.d.ts.map +1 -0
- package/dist/lib/{domain/interfaces/IMcpClient.js → infrastructure/services/skill-interfaces/ISkillMemoryService.js} +1 -1
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillMemoryService.js.map +1 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillPromptService.d.ts +48 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillPromptService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillPromptService.js +10 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillPromptService.js.map +1 -0
- package/dist/lib/{skills/shared/services/interfaces/ITaskService.d.ts → infrastructure/services/skill-interfaces/ISkillTaskService.d.ts} +29 -27
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillTaskService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillTaskService.js +13 -0
- package/dist/lib/infrastructure/services/skill-interfaces/ISkillTaskService.js.map +1 -0
- package/dist/lib/infrastructure/services/skill-interfaces/index.d.ts +16 -0
- package/dist/lib/infrastructure/services/skill-interfaces/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/skill-interfaces/index.js +11 -0
- package/dist/lib/infrastructure/services/skill-interfaces/index.js.map +1 -0
- package/dist/lib/scanner/reviewer.js +2 -2
- package/dist/lib/scanner/reviewer.js.map +1 -1
- package/dist/lib/skills/github/bump-version.d.ts +14 -0
- package/dist/lib/skills/github/bump-version.d.ts.map +1 -0
- package/dist/lib/skills/{git → github}/bump-version.js +22 -1
- package/dist/lib/skills/github/bump-version.js.map +1 -0
- package/dist/lib/skills/github/github.d.ts +0 -1
- package/dist/lib/skills/github/github.d.ts.map +1 -1
- package/dist/lib/skills/github/github.js +15 -45
- package/dist/lib/skills/github/github.js.map +1 -1
- package/dist/lib/skills/memory/memory.js +5 -9
- package/dist/lib/skills/memory/memory.js.map +1 -1
- package/dist/lib/skills/prompt/prompt.d.ts +4 -1
- package/dist/lib/skills/prompt/prompt.d.ts.map +1 -1
- package/dist/lib/skills/prompt/prompt.js +10 -11
- package/dist/lib/skills/prompt/prompt.js.map +1 -1
- package/dist/lib/skills/{init-review → review}/ai-enrich.d.ts +3 -0
- package/dist/lib/skills/review/ai-enrich.d.ts.map +1 -0
- package/dist/lib/skills/{init-review → review}/ai-enrich.js +6 -6
- package/dist/lib/skills/review/ai-enrich.js.map +1 -0
- package/dist/lib/skills/review/init-review.d.ts.map +1 -0
- package/dist/lib/skills/review/init-review.js.map +1 -0
- package/dist/lib/skills/shared/clients/index.d.ts +4 -3
- package/dist/lib/skills/shared/clients/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/index.js +7 -10
- package/dist/lib/skills/shared/clients/index.js.map +1 -1
- package/dist/lib/skills/shared/clients/interfaces/index.d.ts +0 -3
- package/dist/lib/skills/shared/clients/interfaces/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/interfaces/index.js +0 -3
- package/dist/lib/skills/shared/clients/interfaces/index.js.map +1 -1
- package/dist/lib/skills/shared/index.d.ts +3 -2
- package/dist/lib/skills/shared/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/index.js +3 -2
- package/dist/lib/skills/shared/index.js.map +1 -1
- package/dist/lib/skills/shared/services/GitHubSyncService.d.ts +4 -0
- package/dist/lib/skills/shared/services/GitHubSyncService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/GitHubSyncService.js +7 -7
- package/dist/lib/skills/shared/services/GitHubSyncService.js.map +1 -1
- package/dist/lib/skills/shared/services/MemoryCliService.d.ts +0 -2
- package/dist/lib/skills/shared/services/MemoryCliService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/MemoryCliService.js +11 -17
- package/dist/lib/skills/shared/services/MemoryCliService.js.map +1 -1
- package/dist/lib/skills/shared/services/StorageService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/StorageService.js +6 -2
- package/dist/lib/skills/shared/services/StorageService.js.map +1 -1
- package/dist/lib/skills/shared/services/TaskCliService.d.ts +3 -3
- package/dist/lib/skills/shared/services/TaskCliService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/TaskCliService.js +10 -14
- package/dist/lib/skills/shared/services/TaskCliService.js.map +1 -1
- package/dist/lib/skills/shared/services/index.d.ts +8 -4
- package/dist/lib/skills/shared/services/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/index.js +15 -10
- package/dist/lib/skills/shared/services/index.js.map +1 -1
- package/dist/lib/skills/shared/services/interfaces/index.d.ts +4 -2
- package/dist/lib/skills/shared/services/interfaces/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/interfaces/index.js +4 -2
- package/dist/lib/skills/shared/services/interfaces/index.js.map +1 -1
- package/dist/lib/skills/shared/utils/index.d.ts +0 -1
- package/dist/lib/skills/shared/utils/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/utils/index.js +1 -9
- package/dist/lib/skills/shared/utils/index.js.map +1 -1
- package/dist/lib/skills/tasks/tasks.d.ts +9 -6
- package/dist/lib/skills/tasks/tasks.d.ts.map +1 -1
- package/dist/lib/skills/tasks/tasks.js +17 -17
- package/dist/lib/skills/tasks/tasks.js.map +1 -1
- package/dist/opencode/lisa.js +62391 -14984
- package/dist/package.json +5 -4
- package/dist/project/.lisa/.env.template +12 -9
- package/dist/project/.lisa/rules/shared/git-rules.md +13 -12
- package/dist/project/.lisa/skills/github/SKILL.md +121 -3
- package/dist/project/.lisa/skills/github/pr-description-template.txt +8 -0
- package/dist/project/.lisa/skills/pr/SKILL.md +1 -2
- package/dist/project/.lisa/skills/pr/pr-description-template.txt +8 -0
- package/dist/project/.lisa/skills/{init-review → review}/SKILL.md +9 -9
- package/package.json +5 -4
- package/dist/lib/commands/docker.d.ts +0 -20
- package/dist/lib/commands/docker.d.ts.map +0 -1
- package/dist/lib/commands/docker.js +0 -27
- package/dist/lib/commands/docker.js.map +0 -1
- package/dist/lib/domain/interfaces/IMcpClient.d.ts +0 -44
- package/dist/lib/domain/interfaces/IMcpClient.d.ts.map +0 -1
- package/dist/lib/domain/interfaces/IMcpClient.js.map +0 -1
- package/dist/lib/infrastructure/dal/RepositoryFactory.d.ts +0 -71
- package/dist/lib/infrastructure/dal/RepositoryFactory.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/RepositoryFactory.js +0 -134
- package/dist/lib/infrastructure/dal/RepositoryFactory.js.map +0 -1
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.d.ts +0 -56
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.js +0 -98
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.js.map +0 -1
- package/dist/lib/infrastructure/dal/connections/ZepConnectionManager.d.ts +0 -53
- package/dist/lib/infrastructure/dal/connections/ZepConnectionManager.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/connections/ZepConnectionManager.js +0 -168
- package/dist/lib/infrastructure/dal/connections/ZepConnectionManager.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpMemoryRepository.d.ts +0 -64
- package/dist/lib/infrastructure/dal/repositories/mcp/McpMemoryRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpMemoryRepository.js +0 -145
- package/dist/lib/infrastructure/dal/repositories/mcp/McpMemoryRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.d.ts +0 -60
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.js +0 -186
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/index.d.ts +0 -6
- package/dist/lib/infrastructure/dal/repositories/mcp/index.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/index.js +0 -11
- package/dist/lib/infrastructure/dal/repositories/mcp/index.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jMemoryRepository.d.ts +0 -69
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jMemoryRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jMemoryRepository.js +0 -299
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jMemoryRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.d.ts +0 -49
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.js +0 -193
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepMemoryRepository.d.ts +0 -55
- package/dist/lib/infrastructure/dal/repositories/zep/ZepMemoryRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepMemoryRepository.js +0 -165
- package/dist/lib/infrastructure/dal/repositories/zep/ZepMemoryRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.d.ts +0 -58
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.js +0 -210
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.js.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/index.d.ts +0 -6
- package/dist/lib/infrastructure/dal/repositories/zep/index.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/repositories/zep/index.js +0 -11
- package/dist/lib/infrastructure/dal/repositories/zep/index.js.map +0 -1
- package/dist/lib/infrastructure/dal/routing/RepositoryRouter.d.ts +0 -73
- package/dist/lib/infrastructure/dal/routing/RepositoryRouter.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/routing/RepositoryRouter.js +0 -170
- package/dist/lib/infrastructure/dal/routing/RepositoryRouter.js.map +0 -1
- package/dist/lib/infrastructure/dal/routing/index.d.ts +0 -5
- package/dist/lib/infrastructure/dal/routing/index.d.ts.map +0 -1
- package/dist/lib/infrastructure/dal/routing/index.js +0 -10
- package/dist/lib/infrastructure/dal/routing/index.js.map +0 -1
- package/dist/lib/infrastructure/mcp/McpClient.d.ts +0 -71
- package/dist/lib/infrastructure/mcp/McpClient.d.ts.map +0 -1
- package/dist/lib/infrastructure/mcp/McpClient.js +0 -221
- package/dist/lib/infrastructure/mcp/McpClient.js.map +0 -1
- package/dist/lib/infrastructure/mcp/index.d.ts +0 -5
- package/dist/lib/infrastructure/mcp/index.d.ts.map +0 -1
- package/dist/lib/infrastructure/mcp/index.js +0 -9
- package/dist/lib/infrastructure/mcp/index.js.map +0 -1
- package/dist/lib/infrastructure/services/ConsolidationService.d.ts +0 -21
- package/dist/lib/infrastructure/services/ConsolidationService.d.ts.map +0 -1
- package/dist/lib/infrastructure/services/ConsolidationService.js +0 -134
- package/dist/lib/infrastructure/services/ConsolidationService.js.map +0 -1
- package/dist/lib/infrastructure/services/DeduplicationService.d.ts +0 -21
- package/dist/lib/infrastructure/services/DeduplicationService.d.ts.map +0 -1
- package/dist/lib/infrastructure/services/DeduplicationService.js +0 -111
- package/dist/lib/infrastructure/services/DeduplicationService.js.map +0 -1
- package/dist/lib/infrastructure/services/MemoryService.d.ts +0 -96
- package/dist/lib/infrastructure/services/MemoryService.d.ts.map +0 -1
- package/dist/lib/infrastructure/services/MemoryService.js +0 -486
- package/dist/lib/infrastructure/services/MemoryService.js.map +0 -1
- package/dist/lib/infrastructure/services/TaskService.d.ts +0 -38
- package/dist/lib/infrastructure/services/TaskService.d.ts.map +0 -1
- package/dist/lib/infrastructure/services/TaskService.js +0 -227
- package/dist/lib/infrastructure/services/TaskService.js.map +0 -1
- package/dist/lib/skills/common/group-id.d.ts +0 -49
- package/dist/lib/skills/common/group-id.d.ts.map +0 -1
- package/dist/lib/skills/common/group-id.js +0 -194
- package/dist/lib/skills/common/group-id.js.map +0 -1
- package/dist/lib/skills/git/bump-version.d.ts +0 -9
- package/dist/lib/skills/git/bump-version.d.ts.map +0 -1
- package/dist/lib/skills/git/bump-version.js.map +0 -1
- package/dist/lib/skills/init-review/ai-enrich.d.ts.map +0 -1
- package/dist/lib/skills/init-review/ai-enrich.js.map +0 -1
- package/dist/lib/skills/init-review/init-review.d.ts.map +0 -1
- package/dist/lib/skills/init-review/init-review.js.map +0 -1
- package/dist/lib/skills/shared/clients/McpClient.d.ts +0 -26
- package/dist/lib/skills/shared/clients/McpClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/McpClient.js +0 -162
- package/dist/lib/skills/shared/clients/McpClient.js.map +0 -1
- package/dist/lib/skills/shared/clients/Neo4jClient.d.ts +0 -15
- package/dist/lib/skills/shared/clients/Neo4jClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/Neo4jClient.js +0 -139
- package/dist/lib/skills/shared/clients/Neo4jClient.js.map +0 -1
- package/dist/lib/skills/shared/clients/ZepClient.d.ts +0 -14
- package/dist/lib/skills/shared/clients/ZepClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/ZepClient.js +0 -238
- package/dist/lib/skills/shared/clients/ZepClient.js.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/IMcpClient.d.ts +0 -56
- package/dist/lib/skills/shared/clients/interfaces/IMcpClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/IMcpClient.js +0 -3
- package/dist/lib/skills/shared/clients/interfaces/IMcpClient.js.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/INeo4jClient.d.ts +0 -59
- package/dist/lib/skills/shared/clients/interfaces/INeo4jClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/INeo4jClient.js +0 -3
- package/dist/lib/skills/shared/clients/interfaces/INeo4jClient.js.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.d.ts +0 -152
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.d.ts.map +0 -1
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.js +0 -3
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.js.map +0 -1
- package/dist/lib/skills/shared/group-id.d.ts +0 -2
- package/dist/lib/skills/shared/group-id.d.ts.map +0 -1
- package/dist/lib/skills/shared/group-id.js +0 -18
- package/dist/lib/skills/shared/group-id.js.map +0 -1
- package/dist/lib/skills/shared/services/MemoryService.d.ts +0 -24
- package/dist/lib/skills/shared/services/MemoryService.d.ts.map +0 -1
- package/dist/lib/skills/shared/services/MemoryService.js +0 -574
- package/dist/lib/skills/shared/services/MemoryService.js.map +0 -1
- package/dist/lib/skills/shared/services/PromptService.d.ts +0 -28
- package/dist/lib/skills/shared/services/PromptService.d.ts.map +0 -1
- package/dist/lib/skills/shared/services/PromptService.js +0 -53
- package/dist/lib/skills/shared/services/PromptService.js.map +0 -1
- package/dist/lib/skills/shared/services/TaskService.d.ts +0 -24
- package/dist/lib/skills/shared/services/TaskService.d.ts.map +0 -1
- package/dist/lib/skills/shared/services/TaskService.js +0 -388
- package/dist/lib/skills/shared/services/TaskService.js.map +0 -1
- package/dist/lib/skills/shared/services/interfaces/IMemoryService.d.ts.map +0 -1
- package/dist/lib/skills/shared/services/interfaces/IMemoryService.js +0 -3
- package/dist/lib/skills/shared/services/interfaces/IMemoryService.js.map +0 -1
- package/dist/lib/skills/shared/services/interfaces/ITaskService.d.ts.map +0 -1
- package/dist/lib/skills/shared/services/interfaces/ITaskService.js +0 -7
- package/dist/lib/skills/shared/services/interfaces/ITaskService.js.map +0 -1
- package/dist/lib/skills/shared/utils/group-id.d.ts +0 -64
- package/dist/lib/skills/shared/utils/group-id.d.ts.map +0 -1
- package/dist/lib/skills/shared/utils/group-id.js +0 -176
- package/dist/lib/skills/shared/utils/group-id.js.map +0 -1
- package/dist/project/.lisa/docker/docker-compose.graphiti.yml +0 -45
- package/dist/project/.lisa/skills/git/SKILL.md +0 -171
- /package/dist/lib/skills/{init-review → review}/init-review.d.ts +0 -0
- /package/dist/lib/skills/{init-review → review}/init-review.js +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IGitTriageService
|
|
3
|
+
*
|
|
4
|
+
* Domain interface for git history triage.
|
|
5
|
+
* Scans local git history and scores commits for "interestingness"
|
|
6
|
+
* to identify which commits warrant API enrichment.
|
|
7
|
+
*
|
|
8
|
+
* Part of the Git-Powered Memory feature (LISA-7).
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Raw commit data extracted from git log.
|
|
12
|
+
*/
|
|
13
|
+
export interface IGitCommitData {
|
|
14
|
+
/** Full commit SHA. */
|
|
15
|
+
readonly sha: string;
|
|
16
|
+
/** Short commit SHA. */
|
|
17
|
+
readonly shortSha: string;
|
|
18
|
+
/** Commit subject (first line of message). */
|
|
19
|
+
readonly subject: string;
|
|
20
|
+
/** Commit body (rest of message after subject). */
|
|
21
|
+
readonly body: string;
|
|
22
|
+
/** Number of parent commits (1 = normal, 2+ = merge). */
|
|
23
|
+
readonly parentCount: number;
|
|
24
|
+
/** Author name. */
|
|
25
|
+
readonly author: string;
|
|
26
|
+
/** Author email. */
|
|
27
|
+
readonly authorEmail: string;
|
|
28
|
+
/** Commit timestamp. */
|
|
29
|
+
readonly timestamp: Date;
|
|
30
|
+
/** Ref names pointing to this commit (tags, branches). */
|
|
31
|
+
readonly refs: readonly string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Diff statistics for a commit.
|
|
35
|
+
*/
|
|
36
|
+
export interface IGitCommitStats {
|
|
37
|
+
/** Number of files changed. */
|
|
38
|
+
readonly filesChanged: number;
|
|
39
|
+
/** Number of lines added. */
|
|
40
|
+
readonly insertions: number;
|
|
41
|
+
/** Number of lines deleted. */
|
|
42
|
+
readonly deletions: number;
|
|
43
|
+
/** List of file paths that were added (new files). */
|
|
44
|
+
readonly filesAdded: readonly string[];
|
|
45
|
+
/** List of file paths that were deleted. */
|
|
46
|
+
readonly filesDeleted: readonly string[];
|
|
47
|
+
/** List of directories created (first appearance). */
|
|
48
|
+
readonly directoriesCreated: readonly string[];
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Interest signals detected for a commit.
|
|
52
|
+
*/
|
|
53
|
+
export interface ICommitInterestSignals {
|
|
54
|
+
/** Large diff: 10+ files changed. */
|
|
55
|
+
readonly largeDiffFiles: boolean;
|
|
56
|
+
/** Large diff: 500+ lines changed. */
|
|
57
|
+
readonly largeDiffLines: boolean;
|
|
58
|
+
/** Merge commit with PR reference. */
|
|
59
|
+
readonly mergeCommitWithPR: boolean;
|
|
60
|
+
/** Has conventional commit prefix (feat:, fix:, refactor:, etc.). */
|
|
61
|
+
readonly hasConventionalPrefix: boolean;
|
|
62
|
+
/** Conventional commit type if detected. */
|
|
63
|
+
readonly conventionalType: string | null;
|
|
64
|
+
/** Contains decision keywords (migrate, replace, rewrite, etc.). */
|
|
65
|
+
readonly hasDecisionKeywords: boolean;
|
|
66
|
+
/** Creates new top-level directory. */
|
|
67
|
+
readonly createsNewDirectory: boolean;
|
|
68
|
+
/** Within N commits of a version tag. */
|
|
69
|
+
readonly isTagAdjacent: boolean;
|
|
70
|
+
/** Has multi-line commit body. */
|
|
71
|
+
readonly hasLongMessageBody: boolean;
|
|
72
|
+
/** Extracted PR number from merge commit message. */
|
|
73
|
+
readonly prNumber: number | null;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* A scored commit ready for triage decision.
|
|
77
|
+
*/
|
|
78
|
+
export interface IScoredCommit {
|
|
79
|
+
/** The commit data. */
|
|
80
|
+
readonly commit: IGitCommitData;
|
|
81
|
+
/** Diff statistics (may be null if not fetched). */
|
|
82
|
+
readonly stats: IGitCommitStats | null;
|
|
83
|
+
/** Interest signals detected. */
|
|
84
|
+
readonly signals: ICommitInterestSignals;
|
|
85
|
+
/** Calculated interest score. */
|
|
86
|
+
readonly score: number;
|
|
87
|
+
/** Whether this commit passed the triage threshold. */
|
|
88
|
+
readonly passedTriage: boolean;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Result of a triage scan.
|
|
92
|
+
*/
|
|
93
|
+
export interface ITriageResult {
|
|
94
|
+
/** Total commits scanned. */
|
|
95
|
+
readonly totalCommits: number;
|
|
96
|
+
/** Commits below threshold (skipped). */
|
|
97
|
+
readonly belowThreshold: number;
|
|
98
|
+
/** Commits with minor interest (extracted from message only). */
|
|
99
|
+
readonly minorInterest: number;
|
|
100
|
+
/** High-interest commits queued for API enrichment. */
|
|
101
|
+
readonly highInterest: readonly IScoredCommit[];
|
|
102
|
+
/** Commits linked to PRs (subset of highInterest). */
|
|
103
|
+
readonly linkedToPRs: number;
|
|
104
|
+
/** Commits linked to tags/releases. */
|
|
105
|
+
readonly linkedToTags: number;
|
|
106
|
+
/** Hotspot files (most frequently changed). */
|
|
107
|
+
readonly hotspots: readonly IFileHotspot[];
|
|
108
|
+
/** Tags found in the scanned range. */
|
|
109
|
+
readonly tags: readonly ITagInfo[];
|
|
110
|
+
/** Scan duration in milliseconds. */
|
|
111
|
+
readonly durationMs: number;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* File hotspot information.
|
|
115
|
+
*/
|
|
116
|
+
export interface IFileHotspot {
|
|
117
|
+
/** File path. */
|
|
118
|
+
readonly path: string;
|
|
119
|
+
/** Number of commits touching this file. */
|
|
120
|
+
readonly commitCount: number;
|
|
121
|
+
/** Total lines changed across all commits. */
|
|
122
|
+
readonly totalLinesChanged: number;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Tag information.
|
|
126
|
+
*/
|
|
127
|
+
export interface ITagInfo {
|
|
128
|
+
/** Tag name. */
|
|
129
|
+
readonly name: string;
|
|
130
|
+
/** Commit SHA the tag points to. */
|
|
131
|
+
readonly sha: string;
|
|
132
|
+
/** Whether this looks like a version tag (v1.0.0, 1.0.0, etc.). */
|
|
133
|
+
readonly isVersionTag: boolean;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Options for triage scan.
|
|
137
|
+
*/
|
|
138
|
+
export interface ITriageOptions {
|
|
139
|
+
/** Start date for scan (default: 3 months ago). */
|
|
140
|
+
readonly since?: Date;
|
|
141
|
+
/** End date for scan (default: now). */
|
|
142
|
+
readonly until?: Date;
|
|
143
|
+
/** Score threshold for high interest (default: 3). */
|
|
144
|
+
readonly threshold?: number;
|
|
145
|
+
/** Maximum commits to scan (default: unlimited). */
|
|
146
|
+
readonly maxCommits?: number;
|
|
147
|
+
/** Working directory (default: current). */
|
|
148
|
+
readonly cwd?: string;
|
|
149
|
+
/** Whether to fetch stats for all commits (slower) or only high-interest. */
|
|
150
|
+
readonly fetchAllStats?: boolean;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Git triage service interface.
|
|
154
|
+
*
|
|
155
|
+
* Scans git history to identify commits worth investigating via API.
|
|
156
|
+
*/
|
|
157
|
+
export interface IGitTriageService {
|
|
158
|
+
/**
|
|
159
|
+
* Perform a triage scan of git history.
|
|
160
|
+
* @param options - Scan options.
|
|
161
|
+
* @returns Triage results with scored commits.
|
|
162
|
+
*/
|
|
163
|
+
triage(options?: ITriageOptions): Promise<ITriageResult>;
|
|
164
|
+
/**
|
|
165
|
+
* Score a single commit.
|
|
166
|
+
*
|
|
167
|
+
* Note: For tag-adjacency, the caller should pre-compute whether the commit
|
|
168
|
+
* is within N commits of a tag (using positional analysis). If `isTagAdjacent`
|
|
169
|
+
* is not provided, this method falls back to checking if the commit itself
|
|
170
|
+
* is a tagged commit (SHA in tagShas), which is a weaker signal.
|
|
171
|
+
*
|
|
172
|
+
* @param commit - Commit data.
|
|
173
|
+
* @param stats - Optional diff stats.
|
|
174
|
+
* @param tagShas - Set of SHAs that have tags (used for fallback if isTagAdjacent not provided).
|
|
175
|
+
* @param isTagAdjacent - Pre-computed tag adjacency (recommended for accurate scoring).
|
|
176
|
+
* @returns Scored commit with signals.
|
|
177
|
+
*/
|
|
178
|
+
scoreCommit(commit: IGitCommitData, stats: IGitCommitStats | null, tagShas: ReadonlySet<string>, isTagAdjacent?: boolean): IScoredCommit;
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=IGitTriageService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGitTriageService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IGitTriageService.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* IGitTriageService
|
|
4
|
+
*
|
|
5
|
+
* Domain interface for git history triage.
|
|
6
|
+
* Scans local git history and scores commits for "interestingness"
|
|
7
|
+
* to identify which commits warrant API enrichment.
|
|
8
|
+
*
|
|
9
|
+
* Part of the Git-Powered Memory feature (LISA-7).
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
//# sourceMappingURL=IGitTriageService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGitTriageService.js","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IGitTriageService.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ILisaContext } from './ILisaContext';
|
|
2
2
|
import type { IMemoryService } from './IMemoryService';
|
|
3
3
|
import type { ITaskService } from './ITaskService';
|
|
4
|
-
import type { IMcpClient } from './IMcpClient';
|
|
5
4
|
import type { ISessionCaptureService } from './ISessionCaptureService';
|
|
6
5
|
import type { IEventEmitter } from './IEventEmitter';
|
|
7
|
-
import type { IRepositoryRouter } from './dal';
|
|
8
6
|
import type { IRecursionService } from './IRecursionService';
|
|
9
7
|
import type { ILogger } from './ILogger';
|
|
10
8
|
import type { IGitHubSyncService } from '../../skills/shared/services/GitHubSyncService';
|
|
@@ -16,16 +14,9 @@ export interface ILisaServices {
|
|
|
16
14
|
readonly context: ILisaContext;
|
|
17
15
|
readonly memory: IMemoryService;
|
|
18
16
|
readonly tasks: ITaskService;
|
|
19
|
-
readonly mcp: IMcpClient;
|
|
20
17
|
readonly events: IEventEmitter;
|
|
21
18
|
readonly sessionCapture: ISessionCaptureService;
|
|
22
19
|
readonly logger: ILogger;
|
|
23
|
-
/**
|
|
24
|
-
* Repository router for DAL operations.
|
|
25
|
-
* Routes to optimal backend (Neo4j, MCP, Zep) based on operation type.
|
|
26
|
-
* Optional - may be undefined if DAL initialization fails.
|
|
27
|
-
*/
|
|
28
|
-
readonly router?: IRepositoryRouter;
|
|
29
20
|
/**
|
|
30
21
|
* Recursion service for plan mode memory search.
|
|
31
22
|
* Optional - may be undefined if not needed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILisaServices.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/ILisaServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ILisaServices.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/ILisaServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,cAAc,EAAE,sBAAsB,CAAC;IAChD,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAEvC;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { IMemoryResult, IMemoryItem } from './types';
|
|
2
2
|
import type { IMemorySaveOptions } from './dal/IMemoryRepository';
|
|
3
|
-
import type { IMemoryRelationship, MemoryRelationType } from './types/IMemoryRelationship';
|
|
4
|
-
import type { ConfidenceLevel } from './types/IMemoryQuality';
|
|
5
|
-
import type { IQueryOptions, IConflictGroup } from './dal/types';
|
|
6
3
|
/**
|
|
7
4
|
* Options for date-filtered memory queries.
|
|
8
5
|
*/
|
|
@@ -15,104 +12,65 @@ export interface IMemoryDateOptions {
|
|
|
15
12
|
/**
|
|
16
13
|
* Read operations for memory.
|
|
17
14
|
* Separated for Interface Segregation Principle.
|
|
15
|
+
*
|
|
16
|
+
* Note: Group IDs are no longer used - the git repo itself provides scoping
|
|
17
|
+
* via git-mem (git notes in refs/notes/mem).
|
|
18
18
|
*/
|
|
19
19
|
export interface IMemoryReader {
|
|
20
20
|
/**
|
|
21
|
-
* Load memory
|
|
22
|
-
* @param groupIds - Hierarchical group IDs to query
|
|
23
|
-
* @param aliases - Project aliases for tagging
|
|
24
|
-
* @param branch - Current git branch (for tagging)
|
|
21
|
+
* Load memory from the repository.
|
|
25
22
|
* @param timeoutMs - Timeout in milliseconds
|
|
26
23
|
*/
|
|
27
|
-
loadMemory(
|
|
24
|
+
loadMemory(timeoutMs?: number): Promise<IMemoryResult>;
|
|
28
25
|
/**
|
|
29
26
|
* Load facts with date ordering (newest first).
|
|
30
|
-
* Uses DAL router with Neo4j when available for optimal performance.
|
|
31
|
-
* @param groupIds - Group IDs to query
|
|
32
27
|
* @param limit - Maximum number of facts to return
|
|
33
28
|
* @param options - Optional date filtering options
|
|
34
29
|
*/
|
|
35
|
-
loadFactsDateOrdered(
|
|
30
|
+
loadFactsDateOrdered(limit?: number, options?: IMemoryDateOptions): Promise<IMemoryItem[]>;
|
|
36
31
|
/**
|
|
37
32
|
* Semantic search for facts.
|
|
38
|
-
* Uses DAL router with MCP when available.
|
|
39
|
-
* @param groupIds - Group IDs to search
|
|
40
33
|
* @param query - Search query
|
|
41
34
|
* @param limit - Maximum number of results
|
|
42
35
|
*/
|
|
43
|
-
searchFacts(
|
|
36
|
+
searchFacts(query: string, limit?: number): Promise<IMemoryItem[]>;
|
|
44
37
|
}
|
|
45
38
|
/**
|
|
46
39
|
* Write operations for memory.
|
|
47
40
|
* Separated for Interface Segregation Principle.
|
|
41
|
+
*
|
|
42
|
+
* Note: Group IDs are no longer used - the git repo itself provides scoping.
|
|
48
43
|
*/
|
|
49
44
|
export interface IMemoryWriter {
|
|
50
45
|
/**
|
|
51
46
|
* Save facts to memory.
|
|
52
|
-
* @param groupId - Group ID to save to
|
|
53
47
|
* @param facts - Facts to save
|
|
54
48
|
*/
|
|
55
|
-
saveMemory(
|
|
49
|
+
saveMemory(facts: readonly string[]): Promise<void>;
|
|
56
50
|
/**
|
|
57
51
|
* Add a single fact to memory.
|
|
58
|
-
* @param groupId - Group ID to save to
|
|
59
52
|
* @param fact - Fact to add
|
|
60
53
|
* @param tags - Optional tags for the fact
|
|
61
54
|
*/
|
|
62
|
-
addFact(
|
|
55
|
+
addFact(fact: string, tags?: readonly string[]): Promise<void>;
|
|
63
56
|
/**
|
|
64
57
|
* Add a fact with lifecycle metadata.
|
|
65
58
|
* Enriches tags with lifecycle:<tier> tag and delegates to addFact.
|
|
66
|
-
* @param groupId - Group ID to save to
|
|
67
59
|
* @param fact - Fact to add
|
|
68
60
|
* @param options - Save options including lifecycle and TTL
|
|
69
61
|
*/
|
|
70
|
-
addFactWithLifecycle(
|
|
62
|
+
addFactWithLifecycle(fact: string, options: IMemorySaveOptions): Promise<void>;
|
|
71
63
|
/**
|
|
72
64
|
* Expire a single fact by UUID.
|
|
73
|
-
* Routes to Neo4j repository for direct Cypher expiration.
|
|
74
|
-
* @param groupId - Group ID the fact belongs to
|
|
75
65
|
* @param uuid - UUID of the fact to expire
|
|
76
66
|
*/
|
|
77
|
-
expireFact(
|
|
67
|
+
expireFact(uuid: string): Promise<void>;
|
|
78
68
|
/**
|
|
79
69
|
* Clean up expired facts based on lifecycle TTL defaults.
|
|
80
70
|
* Expires session facts older than 24h and ephemeral facts older than 1h.
|
|
81
|
-
* @param groupId - Group ID to clean up
|
|
82
71
|
* @returns Number of facts expired
|
|
83
72
|
*/
|
|
84
|
-
cleanupExpired(
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Relationship operations for memory facts.
|
|
88
|
-
* Separated for Interface Segregation Principle.
|
|
89
|
-
* Optional — only available when a relationship-capable backend (e.g., Neo4j) is present.
|
|
90
|
-
*/
|
|
91
|
-
export interface IMemoryRelationshipWriter {
|
|
92
|
-
/**
|
|
93
|
-
* Create a typed relationship between two facts.
|
|
94
|
-
* @param groupId - Group ID for scoping
|
|
95
|
-
* @param sourceUuid - UUID of the source fact
|
|
96
|
-
* @param targetUuid - UUID of the target fact
|
|
97
|
-
* @param relationType - Type of relationship
|
|
98
|
-
* @param metadata - Optional annotation for the relationship
|
|
99
|
-
*/
|
|
100
|
-
linkFacts(groupId: string, sourceUuid: string, targetUuid: string, relationType: MemoryRelationType, metadata?: string): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* Remove a typed relationship between two facts.
|
|
103
|
-
* @param groupId - Group ID for scoping
|
|
104
|
-
* @param sourceUuid - UUID of the source fact
|
|
105
|
-
* @param targetUuid - UUID of the target fact
|
|
106
|
-
* @param relationType - Type of relationship to remove
|
|
107
|
-
*/
|
|
108
|
-
unlinkFacts(groupId: string, sourceUuid: string, targetUuid: string, relationType: MemoryRelationType): Promise<void>;
|
|
109
|
-
/**
|
|
110
|
-
* Get all relationships for a fact.
|
|
111
|
-
* @param groupId - Group ID for scoping
|
|
112
|
-
* @param uuid - UUID of the fact
|
|
113
|
-
* @param relationType - Optional filter by relation type
|
|
114
|
-
*/
|
|
115
|
-
getRelatedFacts(groupId: string, uuid: string, relationType?: MemoryRelationType): Promise<IMemoryRelationship[]>;
|
|
73
|
+
cleanupExpired(): Promise<number>;
|
|
116
74
|
}
|
|
117
75
|
/**
|
|
118
76
|
* Full memory service interface.
|
|
@@ -120,37 +78,4 @@ export interface IMemoryRelationshipWriter {
|
|
|
120
78
|
*/
|
|
121
79
|
export interface IMemoryService extends IMemoryReader, IMemoryWriter {
|
|
122
80
|
}
|
|
123
|
-
/**
|
|
124
|
-
* Extended memory service with relationship support.
|
|
125
|
-
* Consumers that need relationship operations can check/cast to this interface.
|
|
126
|
-
*/
|
|
127
|
-
export interface IMemoryServiceWithRelationships extends IMemoryService, IMemoryRelationshipWriter {
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Quality read operations for memory.
|
|
131
|
-
* Provides confidence filtering and conflict detection.
|
|
132
|
-
* Separated for Interface Segregation Principle.
|
|
133
|
-
*/
|
|
134
|
-
export interface IMemoryQualityReader {
|
|
135
|
-
/**
|
|
136
|
-
* Find facts at or above a minimum confidence level.
|
|
137
|
-
* @param groupIds - Group IDs to search
|
|
138
|
-
* @param minLevel - Minimum confidence level (inclusive)
|
|
139
|
-
* @param options - Additional query options
|
|
140
|
-
*/
|
|
141
|
-
findByMinConfidence(groupIds: readonly string[], minLevel: ConfidenceLevel, options?: IQueryOptions): Promise<IMemoryItem[]>;
|
|
142
|
-
/**
|
|
143
|
-
* Find groups of potentially conflicting facts.
|
|
144
|
-
* Detects facts sharing topic tags but with differing content.
|
|
145
|
-
* @param groupIds - Group IDs to search
|
|
146
|
-
* @param topic - Optional topic to filter conflicts by
|
|
147
|
-
*/
|
|
148
|
-
findConflicts(groupIds: readonly string[], topic?: string): Promise<readonly IConflictGroup[]>;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Extended memory service with quality query support.
|
|
152
|
-
* Consumers that need quality operations can check/cast to this interface.
|
|
153
|
-
*/
|
|
154
|
-
export interface IMemoryServiceWithQuality extends IMemoryService, IMemoryQualityReader {
|
|
155
|
-
}
|
|
156
81
|
//# sourceMappingURL=IMemoryService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMemoryService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IMemoryService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"IMemoryService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IMemoryService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,4CAA4C;IAC5C,KAAK,CAAC,EAAE,IAAI,CAAC;CACd;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,UAAU,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAEvD;;;;OAIG;IACH,oBAAoB,CAClB,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IAE1B;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CACpE;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,UAAU,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/E;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,aAAa,EAAE,aAAa;CAAG"}
|
|
@@ -52,6 +52,8 @@ export interface INlCurationResult {
|
|
|
52
52
|
/**
|
|
53
53
|
* Natural language curation service.
|
|
54
54
|
* Translates natural language into structured memory operations.
|
|
55
|
+
*
|
|
56
|
+
* Note: Group IDs are no longer used - the git repo provides scoping via git-mem.
|
|
55
57
|
*/
|
|
56
58
|
export interface INlCurationService {
|
|
57
59
|
/**
|
|
@@ -59,17 +61,15 @@ export interface INlCurationService {
|
|
|
59
61
|
* Does NOT execute — returns a plan for user review.
|
|
60
62
|
*
|
|
61
63
|
* @param input - Natural language command
|
|
62
|
-
* @param groupId - Memory group to operate on
|
|
63
64
|
* @throws LlmDisabledError if LLM is disabled
|
|
64
65
|
* @throws LlmFeatureDisabledError if curation feature is disabled
|
|
65
66
|
*/
|
|
66
|
-
plan(input: string
|
|
67
|
+
plan(input: string): Promise<INlCurationPlan>;
|
|
67
68
|
/**
|
|
68
69
|
* Execute a previously generated plan.
|
|
69
70
|
*
|
|
70
71
|
* @param plan - The plan to execute
|
|
71
|
-
* @param groupId - Memory group to operate on
|
|
72
72
|
*/
|
|
73
|
-
execute(plan: INlCurationPlan
|
|
73
|
+
execute(plan: INlCurationPlan): Promise<INlCurationResult>;
|
|
74
74
|
}
|
|
75
75
|
//# sourceMappingURL=INlCurationService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"INlCurationService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/INlCurationService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,aAAa,CAAC;AAEzF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,gBAAgB,EAMvD,CAAC;AAEX;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEhF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,aAAa,CAAC;IAC1E,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;CAC3B;AAED
|
|
1
|
+
{"version":3,"file":"INlCurationService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/INlCurationService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,aAAa,CAAC;AAEzF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,gBAAgB,EAMvD,CAAC;AAEX;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEhF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,aAAa,CAAC;IAC1E,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAE9C;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC5D"}
|
|
@@ -31,6 +31,8 @@ export interface IRecursionConfig {
|
|
|
31
31
|
* When a user submits a prompt, this service searches memory for
|
|
32
32
|
* relevant context: previous decisions, learnings, and tasks.
|
|
33
33
|
* The search strategy adapts based on the detected task type.
|
|
34
|
+
*
|
|
35
|
+
* Note: Group IDs are no longer used - the git repo provides scoping via git-mem.
|
|
34
36
|
*/
|
|
35
37
|
export interface IRecursionService {
|
|
36
38
|
/**
|
|
@@ -38,11 +40,10 @@ export interface IRecursionService {
|
|
|
38
40
|
* Searches for relevant decisions, learnings, and tasks.
|
|
39
41
|
*
|
|
40
42
|
* @param prompt - The user's prompt text
|
|
41
|
-
* @param groupIds - Hierarchical group IDs to search
|
|
42
43
|
* @param taskType - Optional task type to adjust search strategy
|
|
43
44
|
* @returns Recursion result with found context
|
|
44
45
|
*/
|
|
45
|
-
run(prompt: string,
|
|
46
|
+
run(prompt: string, taskType?: TaskType): Promise<IRecursionResult>;
|
|
46
47
|
/**
|
|
47
48
|
* Check if recursion should run for a given prompt.
|
|
48
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRecursionService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IRecursionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,yCAAyC;IACzC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,oCAAoC;IACpC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,oBAAoB;IACpB,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iDAAiD;IACjD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,mCAAmC;IACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,sCAAsC;IACtC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED
|
|
1
|
+
{"version":3,"file":"IRecursionService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IRecursionService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,yCAAyC;IACzC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,oCAAoC;IACpC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,oBAAoB;IACpB,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iDAAiD;IACjD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,mCAAmC;IACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,sCAAsC;IACtC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;;;OAOG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEpE;;;;;;;OAOG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CACjF"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IRepoProfileService
|
|
3
|
+
*
|
|
4
|
+
* Domain interface for generating and maintaining a living repo profile
|
|
5
|
+
* markdown document at `.lisa/data/repo-profile.md`.
|
|
6
|
+
*
|
|
7
|
+
* Consumes pipeline data from Phase 1 (triage) and Phase 3 (extraction)
|
|
8
|
+
* plus init-review codebase summary to produce a structured profile
|
|
9
|
+
* that gives every session instant understanding of the project.
|
|
10
|
+
*
|
|
11
|
+
* Part of LISA-11: Repo Profile Generation.
|
|
12
|
+
*/
|
|
13
|
+
import type { ITriageResult, IGitCommitData } from './IGitTriageService';
|
|
14
|
+
import type { IHeuristicExtractionResult } from './IGitExtractor';
|
|
15
|
+
/**
|
|
16
|
+
* Freshness state of the repo profile.
|
|
17
|
+
*
|
|
18
|
+
* - fresh: updated within 24h
|
|
19
|
+
* - stale: 1-7 days old
|
|
20
|
+
* - expired: older than 7 days
|
|
21
|
+
* - missing: file does not exist
|
|
22
|
+
*/
|
|
23
|
+
export type ProfileFreshness = 'fresh' | 'stale' | 'expired' | 'missing';
|
|
24
|
+
/**
|
|
25
|
+
* All valid profile freshness values.
|
|
26
|
+
*/
|
|
27
|
+
export declare const PROFILE_FRESHNESS_VALUES: readonly ProfileFreshness[];
|
|
28
|
+
/**
|
|
29
|
+
* Result of checking profile freshness.
|
|
30
|
+
*/
|
|
31
|
+
export interface IProfileFreshnessResult {
|
|
32
|
+
/** Current freshness state. */
|
|
33
|
+
readonly freshness: ProfileFreshness;
|
|
34
|
+
/** When the profile was last updated (null if missing). */
|
|
35
|
+
readonly lastUpdated: Date | null;
|
|
36
|
+
/** Age in hours (null if missing). */
|
|
37
|
+
readonly ageHours: number | null;
|
|
38
|
+
/** Human-readable note about freshness. */
|
|
39
|
+
readonly note: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Input data for generating a repo profile.
|
|
43
|
+
* Aggregates data from the git pipeline phases.
|
|
44
|
+
*/
|
|
45
|
+
export interface IProfileInput {
|
|
46
|
+
/** Project name (e.g. from package.json or directory name). */
|
|
47
|
+
readonly projectName: string;
|
|
48
|
+
/** Project root path. */
|
|
49
|
+
readonly projectRoot: string;
|
|
50
|
+
/** Triage result from Phase 1 (optional - may not have run). */
|
|
51
|
+
readonly triage?: ITriageResult;
|
|
52
|
+
/** Heuristic extraction result from Phase 3 (optional). */
|
|
53
|
+
readonly extraction?: IHeuristicExtractionResult;
|
|
54
|
+
/** Init-review codebase summary (optional). */
|
|
55
|
+
readonly codebaseSummary?: string;
|
|
56
|
+
/** Recent git commits for the "Recent Activity" section. */
|
|
57
|
+
readonly recentCommits?: readonly IGitCommitData[];
|
|
58
|
+
/** Timestamp when profile generation was initiated. */
|
|
59
|
+
readonly generatedAt: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Result of profile generation.
|
|
63
|
+
*/
|
|
64
|
+
export interface IProfileGenerateResult {
|
|
65
|
+
/** The generated markdown content. */
|
|
66
|
+
readonly markdown: string;
|
|
67
|
+
/** Path where the profile was written. */
|
|
68
|
+
readonly filePath: string;
|
|
69
|
+
/** Number of sections that had data populated. */
|
|
70
|
+
readonly sectionsPopulated: number;
|
|
71
|
+
/** Total number of sections in the template. */
|
|
72
|
+
readonly totalSections: number;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Result of reading an existing profile.
|
|
76
|
+
*/
|
|
77
|
+
export interface IProfileReadResult {
|
|
78
|
+
/** The markdown content (null if file is missing). */
|
|
79
|
+
readonly markdown: string | null;
|
|
80
|
+
/** Freshness information. */
|
|
81
|
+
readonly freshness: IProfileFreshnessResult;
|
|
82
|
+
/** Path where the profile would/does live. */
|
|
83
|
+
readonly filePath: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Options for profile generation.
|
|
87
|
+
*/
|
|
88
|
+
export interface IProfileGenerateOptions {
|
|
89
|
+
/** Maximum hotspots to include. Default: 10. */
|
|
90
|
+
readonly maxHotspots?: number;
|
|
91
|
+
/** Maximum facts per section (decisions, gotchas, conventions). Default: 10. */
|
|
92
|
+
readonly maxFactsPerSection?: number;
|
|
93
|
+
/** Maximum recent commits to include. Default: 10. */
|
|
94
|
+
readonly maxRecentCommits?: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Service for generating and maintaining the repo profile markdown document.
|
|
98
|
+
*/
|
|
99
|
+
export interface IRepoProfileService {
|
|
100
|
+
/**
|
|
101
|
+
* Generate a full repo profile from pipeline data.
|
|
102
|
+
* Writes the markdown file to `.lisa/data/repo-profile.md`.
|
|
103
|
+
*
|
|
104
|
+
* @param input - Aggregated pipeline data
|
|
105
|
+
* @param options - Generation options
|
|
106
|
+
* @returns Generation result with markdown content and stats
|
|
107
|
+
*/
|
|
108
|
+
generate(input: IProfileInput, options?: IProfileGenerateOptions): Promise<IProfileGenerateResult>;
|
|
109
|
+
/**
|
|
110
|
+
* Read the existing repo profile, if present.
|
|
111
|
+
* Returns content and freshness information.
|
|
112
|
+
*
|
|
113
|
+
* @param projectRoot - Project root directory
|
|
114
|
+
* @returns Read result with content and freshness
|
|
115
|
+
*/
|
|
116
|
+
read(projectRoot: string): Promise<IProfileReadResult>;
|
|
117
|
+
/**
|
|
118
|
+
* Check the freshness of the existing repo profile.
|
|
119
|
+
* Lightweight metadata check without reading full content.
|
|
120
|
+
*
|
|
121
|
+
* Freshness rules:
|
|
122
|
+
* - fresh: updated within 24h
|
|
123
|
+
* - stale: 1-7 days old
|
|
124
|
+
* - expired: older than 7 days
|
|
125
|
+
* - missing: file does not exist
|
|
126
|
+
*
|
|
127
|
+
* @param projectRoot - Project root directory
|
|
128
|
+
* @returns Freshness result
|
|
129
|
+
*/
|
|
130
|
+
checkFreshness(projectRoot: string): Promise<IProfileFreshnessResult>;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=IRepoProfileService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRepoProfileService.d.ts","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IRepoProfileService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAElE;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,SAAS,gBAAgB,EAKtD,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,+BAA+B;IAC/B,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IACrC,2DAA2D;IAC3D,QAAQ,CAAC,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAClC,sCAAsC;IACtC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,2CAA2C;IAC3C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,yBAAyB;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC;IAChC,2DAA2D;IAC3D,QAAQ,CAAC,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACjD,+CAA+C;IAC/C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,4DAA4D;IAC5D,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,cAAc,EAAE,CAAC;IACnD,uDAAuD;IACvD,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,kDAAkD;IAClD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,gDAAgD;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,sDAAsD;IACtD,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,6BAA6B;IAC7B,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,8CAA8C;IAC9C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,gFAAgF;IAChF,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,sDAAsD;IACtD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,QAAQ,CACN,KAAK,EAAE,aAAa,EACpB,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAEnC;;;;;;OAMG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAEvD;;;;;;;;;;;;OAYG;IACH,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACvE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* IRepoProfileService
|
|
4
|
+
*
|
|
5
|
+
* Domain interface for generating and maintaining a living repo profile
|
|
6
|
+
* markdown document at `.lisa/data/repo-profile.md`.
|
|
7
|
+
*
|
|
8
|
+
* Consumes pipeline data from Phase 1 (triage) and Phase 3 (extraction)
|
|
9
|
+
* plus init-review codebase summary to produce a structured profile
|
|
10
|
+
* that gives every session instant understanding of the project.
|
|
11
|
+
*
|
|
12
|
+
* Part of LISA-11: Repo Profile Generation.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.PROFILE_FRESHNESS_VALUES = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* All valid profile freshness values.
|
|
18
|
+
*/
|
|
19
|
+
exports.PROFILE_FRESHNESS_VALUES = [
|
|
20
|
+
'fresh',
|
|
21
|
+
'stale',
|
|
22
|
+
'expired',
|
|
23
|
+
'missing',
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=IRepoProfileService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRepoProfileService.js","sourceRoot":"","sources":["../../../../src/lib/domain/interfaces/IRepoProfileService.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH;;GAEG;AACU,QAAA,wBAAwB,GAAgC;IACnE,OAAO;IACP,OAAO;IACP,SAAS;IACT,SAAS;CACD,CAAC"}
|