@tonycasey/lisa 2.2.0 → 2.11.5
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 +22 -12
- package/dist/lib/application/handlers/PromptSubmitHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/PromptSubmitHandler.js +36 -13
- package/dist/lib/application/handlers/PromptSubmitHandler.js.map +1 -1
- package/dist/lib/application/handlers/SessionStartHandler.d.ts +58 -5
- package/dist/lib/application/handlers/SessionStartHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/SessionStartHandler.js +259 -44
- package/dist/lib/application/handlers/SessionStartHandler.js.map +1 -1
- package/dist/lib/application/handlers/SessionStopHandler.d.ts +29 -5
- package/dist/lib/application/handlers/SessionStopHandler.d.ts.map +1 -1
- package/dist/lib/application/handlers/SessionStopHandler.js +83 -11
- package/dist/lib/application/handlers/SessionStopHandler.js.map +1 -1
- package/dist/lib/application/handlers/index.d.ts +1 -0
- package/dist/lib/application/handlers/index.d.ts.map +1 -1
- package/dist/lib/application/handlers/index.js +13 -1
- package/dist/lib/application/handlers/index.js.map +1 -1
- package/dist/lib/application/handlers/pr/PrAddressHandler.d.ts +103 -0
- package/dist/lib/application/handlers/pr/PrAddressHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrAddressHandler.js +354 -0
- package/dist/lib/application/handlers/pr/PrAddressHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrChecksHandler.d.ts +64 -0
- package/dist/lib/application/handlers/pr/PrChecksHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrChecksHandler.js +154 -0
- package/dist/lib/application/handlers/pr/PrChecksHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrCommentsHandler.d.ts +81 -0
- package/dist/lib/application/handlers/pr/PrCommentsHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrCommentsHandler.js +184 -0
- package/dist/lib/application/handlers/pr/PrCommentsHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrCreateHandler.d.ts +78 -0
- package/dist/lib/application/handlers/pr/PrCreateHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrCreateHandler.js +230 -0
- package/dist/lib/application/handlers/pr/PrCreateHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrLinkHandler.d.ts +75 -0
- package/dist/lib/application/handlers/pr/PrLinkHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrLinkHandler.js +151 -0
- package/dist/lib/application/handlers/pr/PrLinkHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrPollHandler.d.ts +161 -0
- package/dist/lib/application/handlers/pr/PrPollHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrPollHandler.js +674 -0
- package/dist/lib/application/handlers/pr/PrPollHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrRememberHandler.d.ts +55 -0
- package/dist/lib/application/handlers/pr/PrRememberHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrRememberHandler.js +75 -0
- package/dist/lib/application/handlers/pr/PrRememberHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrReviewHandler.d.ts +103 -0
- package/dist/lib/application/handlers/pr/PrReviewHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrReviewHandler.js +334 -0
- package/dist/lib/application/handlers/pr/PrReviewHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrStatusHandler.d.ts +150 -0
- package/dist/lib/application/handlers/pr/PrStatusHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrStatusHandler.js +389 -0
- package/dist/lib/application/handlers/pr/PrStatusHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/PrWatchHandler.d.ts +77 -0
- package/dist/lib/application/handlers/pr/PrWatchHandler.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/PrWatchHandler.js +174 -0
- package/dist/lib/application/handlers/pr/PrWatchHandler.js.map +1 -0
- package/dist/lib/application/handlers/pr/index.d.ts +25 -0
- package/dist/lib/application/handlers/pr/index.d.ts.map +1 -0
- package/dist/lib/application/handlers/pr/index.js +38 -0
- package/dist/lib/application/handlers/pr/index.js.map +1 -0
- package/dist/lib/application/interfaces/index.d.ts +1 -0
- package/dist/lib/application/interfaces/index.d.ts.map +1 -1
- package/dist/lib/application/mediator/IMediator.d.ts +73 -0
- package/dist/lib/application/mediator/IMediator.d.ts.map +1 -0
- package/dist/lib/application/mediator/IMediator.js +12 -0
- package/dist/lib/application/mediator/IMediator.js.map +1 -0
- package/dist/lib/application/mediator/Mediator.d.ts +29 -0
- package/dist/lib/application/mediator/Mediator.d.ts.map +1 -0
- package/dist/lib/application/mediator/Mediator.js +53 -0
- package/dist/lib/application/mediator/Mediator.js.map +1 -0
- package/dist/lib/application/mediator/index.d.ts +10 -0
- package/dist/lib/application/mediator/index.d.ts.map +1 -0
- package/dist/lib/application/mediator/index.js +18 -0
- package/dist/lib/application/mediator/index.js.map +1 -0
- package/dist/lib/application/mediator/requests/PromptSubmitRequest.d.ts +60 -0
- package/dist/lib/application/mediator/requests/PromptSubmitRequest.d.ts.map +1 -0
- package/dist/lib/application/mediator/requests/PromptSubmitRequest.js +35 -0
- package/dist/lib/application/mediator/requests/PromptSubmitRequest.js.map +1 -0
- package/dist/lib/application/mediator/requests/SessionStartRequest.d.ts +36 -0
- package/dist/lib/application/mediator/requests/SessionStartRequest.d.ts.map +1 -0
- package/dist/lib/application/mediator/requests/SessionStartRequest.js +32 -0
- package/dist/lib/application/mediator/requests/SessionStartRequest.js.map +1 -0
- package/dist/lib/application/mediator/requests/SessionStopRequest.d.ts +67 -0
- package/dist/lib/application/mediator/requests/SessionStopRequest.d.ts.map +1 -0
- package/dist/lib/application/mediator/requests/SessionStopRequest.js +35 -0
- package/dist/lib/application/mediator/requests/SessionStopRequest.js.map +1 -0
- package/dist/lib/application/mediator/requests/index.d.ts +9 -0
- package/dist/lib/application/mediator/requests/index.d.ts.map +1 -0
- package/dist/lib/application/mediator/requests/index.js +13 -0
- package/dist/lib/application/mediator/requests/index.js.map +1 -0
- package/dist/lib/cli.d.ts +2 -44
- package/dist/lib/cli.d.ts.map +1 -1
- package/dist/lib/cli.js +1380 -597
- package/dist/lib/cli.js.map +1 -1
- package/dist/lib/commands/docker.d.ts +20 -0
- package/dist/lib/commands/docker.d.ts.map +1 -0
- package/dist/lib/commands/docker.js +27 -0
- package/dist/lib/commands/docker.js.map +1 -0
- package/dist/lib/commands/doctor.d.ts +94 -0
- package/dist/lib/commands/doctor.d.ts.map +1 -0
- package/dist/lib/commands/doctor.js +716 -0
- package/dist/lib/commands/doctor.js.map +1 -0
- package/dist/lib/commands/index.d.ts +10 -0
- package/dist/lib/commands/index.d.ts.map +1 -0
- package/dist/lib/commands/index.js +31 -0
- package/dist/lib/commands/index.js.map +1 -0
- package/dist/lib/commands/init.d.ts +37 -0
- package/dist/lib/commands/init.d.ts.map +1 -0
- package/dist/lib/commands/init.js +589 -0
- package/dist/lib/commands/init.js.map +1 -0
- package/dist/lib/commands/shared/constants.d.ts +27 -0
- package/dist/lib/commands/shared/constants.d.ts.map +1 -0
- package/dist/lib/commands/shared/constants.js +46 -0
- package/dist/lib/commands/shared/constants.js.map +1 -0
- package/dist/lib/commands/shared/index.d.ts +5 -0
- package/dist/lib/commands/shared/index.d.ts.map +1 -0
- package/dist/lib/commands/shared/index.js +15 -0
- package/dist/lib/commands/shared/index.js.map +1 -0
- package/dist/lib/domain/index.d.ts +4 -2
- package/dist/lib/domain/index.d.ts.map +1 -1
- package/dist/lib/domain/index.js +5 -2
- package/dist/lib/domain/index.js.map +1 -1
- package/dist/lib/domain/interfaces/ICronService.d.ts +100 -0
- package/dist/lib/domain/interfaces/ICronService.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/ICronService.js +9 -0
- package/dist/lib/domain/interfaces/ICronService.js.map +1 -0
- package/dist/lib/domain/interfaces/ILabelInference.d.ts +62 -0
- package/dist/lib/domain/interfaces/ILabelInference.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/ILabelInference.js +11 -0
- package/dist/lib/domain/interfaces/ILabelInference.js.map +1 -0
- package/dist/lib/domain/interfaces/ILisaServices.d.ts +6 -0
- package/dist/lib/domain/interfaces/ILisaServices.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IMcpClient.d.ts +15 -2
- package/dist/lib/domain/interfaces/IMcpClient.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IMemoryService.d.ts +11 -1
- package/dist/lib/domain/interfaces/IMemoryService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/INotificationService.d.ts +81 -0
- package/dist/lib/domain/interfaces/INotificationService.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/INotificationService.js +9 -0
- package/dist/lib/domain/interfaces/INotificationService.js.map +1 -0
- package/dist/lib/domain/interfaces/ISessionCaptureService.d.ts +2 -1
- package/dist/lib/domain/interfaces/ISessionCaptureService.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/IStructuredLog.d.ts +162 -0
- package/dist/lib/domain/interfaces/IStructuredLog.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/IStructuredLog.js +85 -0
- package/dist/lib/domain/interfaces/IStructuredLog.js.map +1 -0
- package/dist/lib/domain/interfaces/dal/IGithubClient.d.ts +42 -0
- package/dist/lib/domain/interfaces/dal/IGithubClient.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/dal/IGithubClient.js +12 -0
- package/dist/lib/domain/interfaces/dal/IGithubClient.js.map +1 -0
- package/dist/lib/domain/interfaces/dal/IPullRequestRepository.d.ts +124 -0
- package/dist/lib/domain/interfaces/dal/IPullRequestRepository.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/dal/IPullRequestRepository.js +13 -0
- package/dist/lib/domain/interfaces/dal/IPullRequestRepository.js.map +1 -0
- package/dist/lib/domain/interfaces/dal/index.d.ts +2 -0
- package/dist/lib/domain/interfaces/dal/index.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/dal/index.js.map +1 -1
- package/dist/lib/domain/interfaces/index.d.ts +5 -1
- package/dist/lib/domain/interfaces/index.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/index.js +6 -0
- package/dist/lib/domain/interfaces/index.js.map +1 -1
- package/dist/lib/domain/interfaces/types/IPullRequest.d.ts +120 -0
- package/dist/lib/domain/interfaces/types/IPullRequest.d.ts.map +1 -0
- package/dist/lib/domain/interfaces/types/IPullRequest.js +42 -0
- package/dist/lib/domain/interfaces/types/IPullRequest.js.map +1 -0
- package/dist/lib/domain/interfaces/types/ITask.d.ts +16 -0
- package/dist/lib/domain/interfaces/types/ITask.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/types/ITask.js.map +1 -1
- package/dist/lib/domain/interfaces/types/index.d.ts +1 -0
- package/dist/lib/domain/interfaces/types/index.d.ts.map +1 -1
- package/dist/lib/domain/interfaces/types/index.js +4 -1
- package/dist/lib/domain/interfaces/types/index.js.map +1 -1
- package/dist/lib/domain/utils/cancellation.d.ts +111 -0
- package/dist/lib/domain/utils/cancellation.d.ts.map +1 -0
- package/dist/lib/domain/utils/cancellation.js +168 -0
- package/dist/lib/domain/utils/cancellation.js.map +1 -0
- package/dist/lib/domain/utils/index.d.ts +8 -0
- package/dist/lib/domain/utils/index.d.ts.map +1 -0
- package/dist/lib/domain/utils/index.js +16 -0
- package/dist/lib/domain/utils/index.js.map +1 -0
- package/dist/lib/infrastructure/adapters/claude/session-start.d.ts +1 -1
- package/dist/lib/infrastructure/adapters/claude/session-start.js +9 -11
- package/dist/lib/infrastructure/adapters/claude/session-start.js.map +1 -1
- package/dist/lib/infrastructure/adapters/claude/session-stop.d.ts +1 -5
- package/dist/lib/infrastructure/adapters/claude/session-stop.d.ts.map +1 -1
- package/dist/lib/infrastructure/adapters/claude/session-stop.js +12 -15
- package/dist/lib/infrastructure/adapters/claude/session-stop.js.map +1 -1
- package/dist/lib/infrastructure/adapters/claude/user-prompt-submit.d.ts +1 -1
- package/dist/lib/infrastructure/adapters/claude/user-prompt-submit.js +9 -11
- package/dist/lib/infrastructure/adapters/claude/user-prompt-submit.js.map +1 -1
- package/dist/lib/infrastructure/adapters/opencode/plugin.d.ts +2 -2
- package/dist/lib/infrastructure/adapters/opencode/plugin.d.ts.map +1 -1
- package/dist/lib/infrastructure/adapters/opencode/plugin.js +16 -21
- package/dist/lib/infrastructure/adapters/opencode/plugin.js.map +1 -1
- package/dist/lib/infrastructure/cli/index.d.ts +8 -0
- package/dist/lib/infrastructure/cli/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/cli/index.js +15 -0
- package/dist/lib/infrastructure/cli/index.js.map +1 -0
- package/dist/lib/infrastructure/cli/io.d.ts +91 -0
- package/dist/lib/infrastructure/cli/io.d.ts.map +1 -0
- package/dist/lib/infrastructure/cli/io.js +128 -0
- package/dist/lib/infrastructure/cli/io.js.map +1 -0
- package/dist/lib/infrastructure/cron/CronService.d.ts +87 -0
- package/dist/lib/infrastructure/cron/CronService.d.ts.map +1 -0
- package/dist/lib/infrastructure/cron/CronService.js +571 -0
- package/dist/lib/infrastructure/cron/CronService.js.map +1 -0
- package/dist/lib/infrastructure/cron/index.d.ts +5 -0
- package/dist/lib/infrastructure/cron/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/cron/index.js +10 -0
- package/dist/lib/infrastructure/cron/index.js.map +1 -0
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.js +1 -1
- package/dist/lib/infrastructure/dal/connections/McpConnectionManager.js.map +1 -1
- package/dist/lib/infrastructure/dal/index.d.ts +1 -1
- package/dist/lib/infrastructure/dal/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/index.js +2 -1
- package/dist/lib/infrastructure/dal/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/index.d.ts +1 -1
- package/dist/lib/infrastructure/dal/repositories/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/index.js +3 -2
- package/dist/lib/infrastructure/dal/repositories/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.js +6 -2
- package/dist/lib/infrastructure/dal/repositories/mcp/McpTaskRepository.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jPullRequestRepository.d.ts +54 -0
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jPullRequestRepository.d.ts.map +1 -0
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jPullRequestRepository.js +561 -0
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jPullRequestRepository.js.map +1 -0
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.d.ts +5 -2
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.js +78 -45
- package/dist/lib/infrastructure/dal/repositories/neo4j/Neo4jTaskRepository.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.d.ts +1 -0
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.js +3 -1
- package/dist/lib/infrastructure/dal/repositories/neo4j/index.js.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.d.ts.map +1 -1
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.js +6 -2
- package/dist/lib/infrastructure/dal/repositories/zep/ZepTaskRepository.js.map +1 -1
- package/dist/lib/infrastructure/di/Container.d.ts +72 -0
- package/dist/lib/infrastructure/di/Container.d.ts.map +1 -0
- package/dist/lib/infrastructure/di/Container.js +182 -0
- package/dist/lib/infrastructure/di/Container.js.map +1 -0
- package/dist/lib/infrastructure/di/IContainer.d.ts +87 -0
- package/dist/lib/infrastructure/di/IContainer.d.ts.map +1 -0
- package/dist/lib/infrastructure/di/IContainer.js +11 -0
- package/dist/lib/infrastructure/di/IContainer.js.map +1 -0
- package/dist/lib/infrastructure/di/ServiceFactory.d.ts +6 -0
- package/dist/lib/infrastructure/di/ServiceFactory.d.ts.map +1 -1
- package/dist/lib/infrastructure/di/ServiceFactory.js +66 -0
- package/dist/lib/infrastructure/di/ServiceFactory.js.map +1 -1
- package/dist/lib/infrastructure/di/bootstrap.d.ts +43 -0
- package/dist/lib/infrastructure/di/bootstrap.d.ts.map +1 -0
- package/dist/lib/infrastructure/di/bootstrap.js +272 -0
- package/dist/lib/infrastructure/di/bootstrap.js.map +1 -0
- package/dist/lib/infrastructure/di/index.d.ts +6 -0
- package/dist/lib/infrastructure/di/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/di/index.js +15 -1
- package/dist/lib/infrastructure/di/index.js.map +1 -1
- package/dist/lib/infrastructure/di/tokens.d.ts +70 -0
- package/dist/lib/infrastructure/di/tokens.d.ts.map +1 -0
- package/dist/lib/infrastructure/di/tokens.js +58 -0
- package/dist/lib/infrastructure/di/tokens.js.map +1 -0
- package/dist/lib/infrastructure/github/GithubClient.d.ts +129 -0
- package/dist/lib/infrastructure/github/GithubClient.d.ts.map +1 -0
- package/dist/lib/infrastructure/github/GithubClient.js +549 -0
- package/dist/lib/infrastructure/github/GithubClient.js.map +1 -0
- package/dist/lib/infrastructure/github/index.d.ts +8 -0
- package/dist/lib/infrastructure/github/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/github/index.js +13 -0
- package/dist/lib/infrastructure/github/index.js.map +1 -0
- package/dist/lib/infrastructure/github/types.d.ts +145 -0
- package/dist/lib/infrastructure/github/types.d.ts.map +1 -0
- package/dist/lib/infrastructure/github/types.js +25 -0
- package/dist/lib/infrastructure/github/types.js.map +1 -0
- package/dist/lib/infrastructure/index.d.ts +4 -0
- package/dist/lib/infrastructure/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/index.js +8 -0
- package/dist/lib/infrastructure/index.js.map +1 -1
- package/dist/lib/infrastructure/logging/Logger.d.ts +51 -4
- package/dist/lib/infrastructure/logging/Logger.d.ts.map +1 -1
- package/dist/lib/infrastructure/logging/Logger.js +127 -2
- package/dist/lib/infrastructure/logging/Logger.js.map +1 -1
- package/dist/lib/infrastructure/mcp/McpClient.d.ts +36 -1
- package/dist/lib/infrastructure/mcp/McpClient.d.ts.map +1 -1
- package/dist/lib/infrastructure/mcp/McpClient.js +68 -2
- package/dist/lib/infrastructure/mcp/McpClient.js.map +1 -1
- package/dist/lib/infrastructure/notifications/NotificationService.d.ts +90 -0
- package/dist/lib/infrastructure/notifications/NotificationService.d.ts.map +1 -0
- package/dist/lib/infrastructure/notifications/NotificationService.js +445 -0
- package/dist/lib/infrastructure/notifications/NotificationService.js.map +1 -0
- package/dist/lib/infrastructure/notifications/index.d.ts +7 -0
- package/dist/lib/infrastructure/notifications/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/notifications/index.js +12 -0
- package/dist/lib/infrastructure/notifications/index.js.map +1 -0
- package/dist/lib/infrastructure/services/LabelInferenceService.d.ts +33 -0
- package/dist/lib/infrastructure/services/LabelInferenceService.d.ts.map +1 -0
- package/dist/lib/infrastructure/services/LabelInferenceService.js +225 -0
- package/dist/lib/infrastructure/services/LabelInferenceService.js.map +1 -0
- package/dist/lib/infrastructure/services/MemoryService.d.ts +23 -2
- package/dist/lib/infrastructure/services/MemoryService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/MemoryService.js +150 -55
- package/dist/lib/infrastructure/services/MemoryService.js.map +1 -1
- package/dist/lib/infrastructure/services/SessionCaptureService.d.ts +74 -20
- package/dist/lib/infrastructure/services/SessionCaptureService.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/SessionCaptureService.js +331 -22
- package/dist/lib/infrastructure/services/SessionCaptureService.js.map +1 -1
- package/dist/lib/infrastructure/services/index.d.ts +1 -0
- package/dist/lib/infrastructure/services/index.d.ts.map +1 -1
- package/dist/lib/infrastructure/services/index.js +4 -1
- package/dist/lib/infrastructure/services/index.js.map +1 -1
- package/dist/lib/infrastructure/utils/index.d.ts +10 -0
- package/dist/lib/infrastructure/utils/index.d.ts.map +1 -0
- package/dist/lib/infrastructure/utils/index.js +26 -0
- package/dist/lib/infrastructure/utils/index.js.map +1 -0
- package/dist/lib/skills/common/type-mappings.d.ts.map +1 -1
- package/dist/lib/skills/common/type-mappings.js +6 -0
- package/dist/lib/skills/common/type-mappings.js.map +1 -1
- package/dist/lib/skills/github/github.d.ts +27 -0
- package/dist/lib/skills/github/github.d.ts.map +1 -0
- package/dist/lib/skills/github/github.js +408 -0
- package/dist/lib/skills/github/github.js.map +1 -0
- package/dist/lib/skills/memory/memory.js +3 -1
- package/dist/lib/skills/memory/memory.js.map +1 -1
- package/dist/lib/skills/shared/clients/GhCliClient.d.ts +17 -0
- package/dist/lib/skills/shared/clients/GhCliClient.d.ts.map +1 -0
- package/dist/lib/skills/shared/clients/GhCliClient.js +244 -0
- package/dist/lib/skills/shared/clients/GhCliClient.js.map +1 -0
- package/dist/lib/skills/shared/clients/McpClient.d.ts +12 -0
- package/dist/lib/skills/shared/clients/McpClient.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/McpClient.js +121 -76
- package/dist/lib/skills/shared/clients/McpClient.js.map +1 -1
- package/dist/lib/skills/shared/clients/Neo4jClient.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/Neo4jClient.js +12 -1
- package/dist/lib/skills/shared/clients/Neo4jClient.js.map +1 -1
- package/dist/lib/skills/shared/clients/index.d.ts +1 -0
- package/dist/lib/skills/shared/clients/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/index.js +4 -1
- package/dist/lib/skills/shared/clients/index.js.map +1 -1
- package/dist/lib/skills/shared/clients/interfaces/IGhCliClient.d.ts +56 -0
- package/dist/lib/skills/shared/clients/interfaces/IGhCliClient.d.ts.map +1 -0
- package/dist/lib/skills/shared/clients/interfaces/IGhCliClient.js +7 -0
- package/dist/lib/skills/shared/clients/interfaces/IGhCliClient.js.map +1 -0
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.d.ts +7 -1
- package/dist/lib/skills/shared/clients/interfaces/IZepClient.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/interfaces/index.d.ts +1 -0
- package/dist/lib/skills/shared/clients/interfaces/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/clients/interfaces/index.js +1 -0
- package/dist/lib/skills/shared/clients/interfaces/index.js.map +1 -1
- package/dist/lib/skills/shared/services/GitHubService.d.ts +169 -0
- package/dist/lib/skills/shared/services/GitHubService.d.ts.map +1 -0
- package/dist/lib/skills/shared/services/GitHubService.js +493 -0
- package/dist/lib/skills/shared/services/GitHubService.js.map +1 -0
- package/dist/lib/skills/shared/services/GitHubSyncService.d.ts +124 -0
- package/dist/lib/skills/shared/services/GitHubSyncService.d.ts.map +1 -0
- package/dist/lib/skills/shared/services/GitHubSyncService.js +412 -0
- package/dist/lib/skills/shared/services/GitHubSyncService.js.map +1 -0
- package/dist/lib/skills/shared/services/MemoryCliService.d.ts +2 -0
- package/dist/lib/skills/shared/services/MemoryCliService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/MemoryCliService.js +19 -2
- package/dist/lib/skills/shared/services/MemoryCliService.js.map +1 -1
- package/dist/lib/skills/shared/services/MemoryService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/MemoryService.js +26 -7
- package/dist/lib/skills/shared/services/MemoryService.js.map +1 -1
- package/dist/lib/skills/shared/services/TaskCliService.d.ts +6 -2
- package/dist/lib/skills/shared/services/TaskCliService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/TaskCliService.js +108 -7
- package/dist/lib/skills/shared/services/TaskCliService.js.map +1 -1
- package/dist/lib/skills/shared/services/TaskService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/TaskService.js +272 -42
- package/dist/lib/skills/shared/services/TaskService.js.map +1 -1
- package/dist/lib/skills/shared/services/index.d.ts +2 -0
- package/dist/lib/skills/shared/services/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/index.js +7 -1
- package/dist/lib/skills/shared/services/index.js.map +1 -1
- package/dist/lib/skills/shared/services/interfaces/IMemoryService.d.ts +9 -1
- package/dist/lib/skills/shared/services/interfaces/IMemoryService.d.ts.map +1 -1
- package/dist/lib/skills/shared/services/interfaces/ITaskService.d.ts +65 -2
- package/dist/lib/skills/shared/services/interfaces/ITaskService.d.ts.map +1 -1
- package/dist/lib/skills/shared/utils/index.d.ts +1 -0
- package/dist/lib/skills/shared/utils/index.d.ts.map +1 -1
- package/dist/lib/skills/shared/utils/index.js +9 -1
- package/dist/lib/skills/shared/utils/index.js.map +1 -1
- package/dist/lib/skills/shared/utils/issue-refs.d.ts +127 -0
- package/dist/lib/skills/shared/utils/issue-refs.d.ts.map +1 -0
- package/dist/lib/skills/shared/utils/issue-refs.js +179 -0
- package/dist/lib/skills/shared/utils/issue-refs.js.map +1 -0
- package/dist/lib/skills/tasks/tasks.d.ts +5 -2
- package/dist/lib/skills/tasks/tasks.d.ts.map +1 -1
- package/dist/lib/skills/tasks/tasks.js +10 -3
- package/dist/lib/skills/tasks/tasks.js.map +1 -1
- package/dist/lib/utils/dateParser.d.ts +50 -0
- package/dist/lib/utils/dateParser.d.ts.map +1 -0
- package/dist/lib/utils/dateParser.js +152 -0
- package/dist/lib/utils/dateParser.js.map +1 -0
- package/dist/lib/utils/index.d.ts +5 -0
- package/dist/lib/utils/index.d.ts.map +1 -0
- package/dist/lib/utils/index.js +14 -0
- package/dist/lib/utils/index.js.map +1 -0
- package/dist/opencode/lisa.js +8627 -1312
- package/dist/package.json +1 -1
- package/dist/project/.lisa/assets/lisa-toast.png +0 -0
- package/dist/project/.lisa/rules/shared/git-rules.md +160 -47
- package/dist/project/.lisa/rules/shared/memory-rules.md +125 -0
- package/dist/project/.lisa/rules/shared/task-rules.md +209 -0
- package/dist/project/.lisa/skills/github/SKILL.md +415 -0
- package/dist/project/.lisa/skills/lisa/SKILL.md +22 -0
- package/dist/project/.lisa/skills/memory/SKILL.md +3 -2
- package/dist/project/.lisa/skills/pr/SKILL.md +520 -0
- package/package.json +6 -5
- package/dist/hooks/session-start.js +0 -5763
- package/dist/hooks/session-stop.js +0 -5348
- package/dist/hooks/user-prompt-submit.js +0 -5406
- package/dist/project/.claude/config.js +0 -40
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: github
|
|
3
|
+
description: "GitHub Issues and Projects v2 management via gh CLI; triggers on 'github', 'create issue', 'list issues', 'github project', 'project board', 'sync tasks'."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Purpose
|
|
7
|
+
|
|
8
|
+
Model-neutral helper to interact with GitHub Issues and Projects v2 using the gh CLI. Supports creating, listing, viewing, closing, and managing issues, managing GitHub Projects v2 boards, and bidirectional sync between Lisa tasks and GitHub Issues.
|
|
9
|
+
|
|
10
|
+
## Triggers
|
|
11
|
+
|
|
12
|
+
Use when the user says:
|
|
13
|
+
- "create a github issue", "create issue", "new issue"
|
|
14
|
+
- "list github issues", "show issues", "open issues"
|
|
15
|
+
- "close issue", "reopen issue", "assign issue"
|
|
16
|
+
- "github project", "project board", "kanban"
|
|
17
|
+
- "add to project", "update project field", "move to column"
|
|
18
|
+
- "sync tasks with github", "import github issues", "export tasks to github"
|
|
19
|
+
|
|
20
|
+
## Configuration
|
|
21
|
+
|
|
22
|
+
Uses existing `gh` CLI authentication. Verify with:
|
|
23
|
+
```bash
|
|
24
|
+
gh auth status
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Alternatively, set `GITHUB_TOKEN` environment variable for CI/headless environments.
|
|
28
|
+
|
|
29
|
+
## How to use
|
|
30
|
+
|
|
31
|
+
### Issues
|
|
32
|
+
|
|
33
|
+
#### List Issues
|
|
34
|
+
```bash
|
|
35
|
+
# List open issues
|
|
36
|
+
lisa github issues list --repo owner/repo
|
|
37
|
+
|
|
38
|
+
# List with filters
|
|
39
|
+
lisa github issues list --repo owner/repo --state open --labels bug,urgent --assignee @me --limit 20
|
|
40
|
+
|
|
41
|
+
# List all issues (including closed)
|
|
42
|
+
lisa github issues list --repo owner/repo --state all
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Create Issue
|
|
46
|
+
```bash
|
|
47
|
+
# Basic issue
|
|
48
|
+
lisa github issues create --repo owner/repo --title "Bug: Login fails"
|
|
49
|
+
|
|
50
|
+
# With body and labels
|
|
51
|
+
lisa github issues create --repo owner/repo --title "Feature: Dark mode" --body "Add dark mode support" --labels enhancement,ui
|
|
52
|
+
|
|
53
|
+
# With assignee
|
|
54
|
+
lisa github issues create --repo owner/repo --title "Task" --assignee username
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
#### View Issue
|
|
58
|
+
```bash
|
|
59
|
+
lisa github issues view --repo owner/repo 123
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Close/Reopen Issue
|
|
63
|
+
```bash
|
|
64
|
+
# Close as completed
|
|
65
|
+
lisa github issues close --repo owner/repo 123
|
|
66
|
+
|
|
67
|
+
# Close as not planned
|
|
68
|
+
lisa github issues close --repo owner/repo 123 --reason not_planned
|
|
69
|
+
|
|
70
|
+
# Reopen
|
|
71
|
+
lisa github issues reopen --repo owner/repo 123
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Assign Issue
|
|
75
|
+
```bash
|
|
76
|
+
lisa github issues assign --repo owner/repo 123 --to username
|
|
77
|
+
lisa github issues assign --repo owner/repo 123 --to user1,user2
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
#### Label Issue
|
|
81
|
+
```bash
|
|
82
|
+
# Add labels
|
|
83
|
+
lisa github issues label --repo owner/repo 123 --add bug,priority-high
|
|
84
|
+
|
|
85
|
+
# Remove labels
|
|
86
|
+
lisa github issues label --repo owner/repo 123 --remove wontfix
|
|
87
|
+
|
|
88
|
+
# Add and remove
|
|
89
|
+
lisa github issues label --repo owner/repo 123 --add in-progress --remove backlog
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Projects v2
|
|
93
|
+
|
|
94
|
+
#### List Projects
|
|
95
|
+
```bash
|
|
96
|
+
lisa github projects list --repo owner/repo
|
|
97
|
+
lisa github projects list --repo owner/repo --limit 10
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### View Project
|
|
101
|
+
```bash
|
|
102
|
+
lisa github projects view --repo owner/repo 1
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
#### List Project Items
|
|
106
|
+
```bash
|
|
107
|
+
lisa github projects items --repo owner/repo 1
|
|
108
|
+
lisa github projects items --repo owner/repo 1 --limit 50
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### List Project Fields
|
|
112
|
+
```bash
|
|
113
|
+
# Get available fields and their options (useful for set-field)
|
|
114
|
+
lisa github projects fields --repo owner/repo 1
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
#### Add Issue to Project
|
|
118
|
+
```bash
|
|
119
|
+
# Add issue #123 to project #1
|
|
120
|
+
lisa github projects add --repo owner/repo 1 123
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
#### Update Project Field
|
|
124
|
+
```bash
|
|
125
|
+
# Set status field (e.g., move to "In Progress" column)
|
|
126
|
+
lisa github projects set-field --repo owner/repo 1 ITEM_ID --field Status --value "In Progress"
|
|
127
|
+
|
|
128
|
+
# Set priority
|
|
129
|
+
lisa github projects set-field --repo owner/repo 1 ITEM_ID --field Priority --value "High"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Note:** Use `projects fields` to get valid field names and options, and `projects items` to get item IDs.
|
|
133
|
+
|
|
134
|
+
### Sync (Bidirectional Task Sync)
|
|
135
|
+
|
|
136
|
+
Sync Lisa tasks with GitHub Issues. Supports import, export, or bidirectional sync.
|
|
137
|
+
|
|
138
|
+
#### Import GitHub Issues as Lisa Tasks
|
|
139
|
+
```bash
|
|
140
|
+
# Import all open issues from repo
|
|
141
|
+
lisa github sync --repo owner/repo --import
|
|
142
|
+
|
|
143
|
+
# Import issues with specific labels
|
|
144
|
+
lisa github sync --repo owner/repo --import --labels task,feature
|
|
145
|
+
|
|
146
|
+
# Preview import without making changes
|
|
147
|
+
lisa github sync --repo owner/repo --import --dry-run
|
|
148
|
+
|
|
149
|
+
# Specify group ID for Lisa tasks (default: owner-repo)
|
|
150
|
+
lisa github sync --repo owner/repo --import --group my-project
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
#### Export Lisa Tasks to GitHub Issues
|
|
154
|
+
```bash
|
|
155
|
+
# Export unlinked tasks as new GitHub issues
|
|
156
|
+
lisa github sync --repo owner/repo --export
|
|
157
|
+
|
|
158
|
+
# Preview export
|
|
159
|
+
lisa github sync --repo owner/repo --export --dry-run
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
#### Bidirectional Sync
|
|
163
|
+
```bash
|
|
164
|
+
# Full two-way sync (import + export + status updates)
|
|
165
|
+
lisa github sync --repo owner/repo
|
|
166
|
+
|
|
167
|
+
# Preview all changes
|
|
168
|
+
lisa github sync --repo owner/repo --dry-run
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
#### Status Mapping
|
|
172
|
+
|
|
173
|
+
| Lisa Status | GitHub State | GitHub Labels |
|
|
174
|
+
|-------------|--------------|---------------|
|
|
175
|
+
| `ready`/`todo` | open | (none) |
|
|
176
|
+
| `in-progress` | open | `in-progress` |
|
|
177
|
+
| `blocked` | open | `blocked` |
|
|
178
|
+
| `done` | closed | (none) |
|
|
179
|
+
|
|
180
|
+
**Conflict Resolution:** When both Lisa and GitHub have changes, last-write-wins based on timestamps.
|
|
181
|
+
|
|
182
|
+
## I/O Contract (examples)
|
|
183
|
+
|
|
184
|
+
### Create Issue
|
|
185
|
+
```json
|
|
186
|
+
{
|
|
187
|
+
"status": "ok",
|
|
188
|
+
"action": "create",
|
|
189
|
+
"issue": {
|
|
190
|
+
"number": 123,
|
|
191
|
+
"url": "https://github.com/owner/repo/issues/123",
|
|
192
|
+
"title": "Bug: Login fails"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### List Issues
|
|
198
|
+
```json
|
|
199
|
+
{
|
|
200
|
+
"status": "ok",
|
|
201
|
+
"action": "list",
|
|
202
|
+
"issues": [
|
|
203
|
+
{
|
|
204
|
+
"number": 123,
|
|
205
|
+
"title": "Bug: Login fails",
|
|
206
|
+
"state": "open",
|
|
207
|
+
"labels": ["bug"],
|
|
208
|
+
"assignees": ["username"],
|
|
209
|
+
"url": "https://github.com/owner/repo/issues/123",
|
|
210
|
+
"createdAt": "2026-01-22T10:00:00Z",
|
|
211
|
+
"updatedAt": "2026-01-22T10:00:00Z"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"total": 1
|
|
215
|
+
}
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### View Issue
|
|
219
|
+
```json
|
|
220
|
+
{
|
|
221
|
+
"status": "ok",
|
|
222
|
+
"action": "view",
|
|
223
|
+
"issue": {
|
|
224
|
+
"number": 123,
|
|
225
|
+
"title": "Bug: Login fails",
|
|
226
|
+
"body": "Steps to reproduce...",
|
|
227
|
+
"state": "open",
|
|
228
|
+
"labels": ["bug"],
|
|
229
|
+
"assignees": ["username"],
|
|
230
|
+
"url": "https://github.com/owner/repo/issues/123",
|
|
231
|
+
"createdAt": "2026-01-22T10:00:00Z",
|
|
232
|
+
"updatedAt": "2026-01-22T10:00:00Z",
|
|
233
|
+
"author": "reporter",
|
|
234
|
+
"milestone": "v1.0"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### List Projects
|
|
240
|
+
```json
|
|
241
|
+
{
|
|
242
|
+
"status": "ok",
|
|
243
|
+
"action": "list",
|
|
244
|
+
"projects": [
|
|
245
|
+
{
|
|
246
|
+
"id": "PVT_kwDOABC123",
|
|
247
|
+
"number": 1,
|
|
248
|
+
"title": "Sprint Board",
|
|
249
|
+
"url": "https://github.com/orgs/owner/projects/1",
|
|
250
|
+
"closed": false,
|
|
251
|
+
"shortDescription": "Current sprint tasks"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"total": 1
|
|
255
|
+
}
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Project Items
|
|
259
|
+
```json
|
|
260
|
+
{
|
|
261
|
+
"status": "ok",
|
|
262
|
+
"action": "items",
|
|
263
|
+
"items": [
|
|
264
|
+
{
|
|
265
|
+
"id": "PVTI_abc123",
|
|
266
|
+
"type": "ISSUE",
|
|
267
|
+
"content": {
|
|
268
|
+
"number": 123,
|
|
269
|
+
"title": "Bug: Login fails",
|
|
270
|
+
"url": "https://github.com/owner/repo/issues/123",
|
|
271
|
+
"state": "OPEN"
|
|
272
|
+
},
|
|
273
|
+
"fieldValues": {
|
|
274
|
+
"Status": "In Progress",
|
|
275
|
+
"Priority": "High"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"total": 1
|
|
280
|
+
}
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### Project Fields
|
|
284
|
+
```json
|
|
285
|
+
{
|
|
286
|
+
"status": "ok",
|
|
287
|
+
"action": "fields",
|
|
288
|
+
"fields": [
|
|
289
|
+
{
|
|
290
|
+
"id": "PVTF_abc123",
|
|
291
|
+
"name": "Status",
|
|
292
|
+
"dataType": "SINGLE_SELECT",
|
|
293
|
+
"options": [
|
|
294
|
+
{ "id": "opt_1", "name": "Todo" },
|
|
295
|
+
{ "id": "opt_2", "name": "In Progress" },
|
|
296
|
+
{ "id": "opt_3", "name": "Done" }
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "PVTF_def456",
|
|
301
|
+
"name": "Priority",
|
|
302
|
+
"dataType": "SINGLE_SELECT",
|
|
303
|
+
"options": [
|
|
304
|
+
{ "id": "opt_a", "name": "Low" },
|
|
305
|
+
{ "id": "opt_b", "name": "Medium" },
|
|
306
|
+
{ "id": "opt_c", "name": "High" }
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### Sync Result
|
|
314
|
+
```json
|
|
315
|
+
{
|
|
316
|
+
"status": "ok",
|
|
317
|
+
"action": "sync",
|
|
318
|
+
"direction": "bidirectional",
|
|
319
|
+
"dryRun": false,
|
|
320
|
+
"summary": {
|
|
321
|
+
"imported": 3,
|
|
322
|
+
"exported": 2,
|
|
323
|
+
"updated": 1,
|
|
324
|
+
"skipped": 5,
|
|
325
|
+
"conflicts": 1
|
|
326
|
+
},
|
|
327
|
+
"imported": [
|
|
328
|
+
{ "title": "Bug: Login fails", "issueNumber": 123, "issueUrl": "https://github.com/owner/repo/issues/123" }
|
|
329
|
+
],
|
|
330
|
+
"exported": [
|
|
331
|
+
{ "title": "Refactor auth module", "taskUuid": "abc123", "issueNumber": 456, "issueUrl": "https://github.com/owner/repo/issues/456" }
|
|
332
|
+
],
|
|
333
|
+
"updated": [
|
|
334
|
+
{ "title": "Update docs", "taskUuid": "def789", "issueNumber": 101, "issueUrl": "https://github.com/owner/repo/issues/101" }
|
|
335
|
+
],
|
|
336
|
+
"conflicts": [
|
|
337
|
+
{
|
|
338
|
+
"taskUuid": "ghi012",
|
|
339
|
+
"taskTitle": "Fix tests",
|
|
340
|
+
"issueNumber": 102,
|
|
341
|
+
"reason": "Status mismatch: Lisa=\"in-progress\", GitHub=\"closed\"",
|
|
342
|
+
"resolution": "remote",
|
|
343
|
+
"localUpdatedAt": "2026-01-22T10:00:00Z",
|
|
344
|
+
"remoteUpdatedAt": "2026-01-22T11:00:00Z"
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
### Error
|
|
351
|
+
```json
|
|
352
|
+
{
|
|
353
|
+
"status": "error",
|
|
354
|
+
"error": "Not authenticated. Run: gh auth login"
|
|
355
|
+
}
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
## Workflow Examples
|
|
359
|
+
|
|
360
|
+
### Bug Triage Workflow
|
|
361
|
+
```bash
|
|
362
|
+
# 1. Create issue
|
|
363
|
+
lisa github issues create --repo owner/repo --title "Bug: Login fails" --labels bug,triage
|
|
364
|
+
|
|
365
|
+
# 2. Add to project board
|
|
366
|
+
lisa github projects add --repo owner/repo 1 123
|
|
367
|
+
|
|
368
|
+
# 3. Set initial status
|
|
369
|
+
lisa github projects set-field --repo owner/repo 1 ITEM_ID --field Status --value "Triage"
|
|
370
|
+
|
|
371
|
+
# 4. After investigation, update priority and move to backlog
|
|
372
|
+
lisa github issues label --repo owner/repo 123 --add priority-high --remove triage
|
|
373
|
+
lisa github projects set-field --repo owner/repo 1 ITEM_ID --field Status --value "Backlog"
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
### Sprint Planning Workflow
|
|
377
|
+
```bash
|
|
378
|
+
# List items in backlog
|
|
379
|
+
lisa github projects items --repo owner/repo 1 --limit 50
|
|
380
|
+
|
|
381
|
+
# Move selected items to sprint
|
|
382
|
+
lisa github projects set-field --repo owner/repo 1 ITEM_ID --field Status --value "Todo"
|
|
383
|
+
lisa github issues assign --repo owner/repo 123 --to developer
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### Task Sync Workflow
|
|
387
|
+
```bash
|
|
388
|
+
# 1. Start of day: Import any new GitHub issues as Lisa tasks
|
|
389
|
+
lisa github sync --repo owner/repo --import
|
|
390
|
+
|
|
391
|
+
# 2. Work on tasks in Lisa (status updates tracked automatically)
|
|
392
|
+
lisa tasks update "Fix login bug" --status in-progress
|
|
393
|
+
|
|
394
|
+
# 3. End of day: Export new tasks and sync status changes
|
|
395
|
+
lisa github sync --repo owner/repo
|
|
396
|
+
|
|
397
|
+
# 4. Check what would sync before running
|
|
398
|
+
lisa github sync --repo owner/repo --dry-run
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
## Cross-model checklist
|
|
402
|
+
- Claude: Use JSON output for parsing; concise instructions
|
|
403
|
+
- Gemini: Explicit commands; minimal formatting
|
|
404
|
+
- All models: Always include --repo flag; parse JSON responses
|
|
405
|
+
|
|
406
|
+
## Notes
|
|
407
|
+
- Requires `gh` CLI v2.0+ or `GITHUB_TOKEN` environment variable
|
|
408
|
+
- Projects v2 uses GraphQL API (requires appropriate permissions)
|
|
409
|
+
- Rate limits apply per GitHub API policies
|
|
410
|
+
- `--repo` flag is always required (no auto-detection)
|
|
411
|
+
|
|
412
|
+
## See Also
|
|
413
|
+
- `/git` skill for PR creation, CI triggers, version bumping
|
|
414
|
+
- `/jira` skill for Jira integration (similar command structure)
|
|
415
|
+
- `/tasks` skill for Lisa's internal task management
|
|
@@ -112,6 +112,28 @@ When user asks for a retrospective, follow these steps:
|
|
|
112
112
|
- `👧 lisa-> ` for conversational responses
|
|
113
113
|
- For memory and task queries, include the storage mode at the end in parentheses:
|
|
114
114
|
- Example: `👧 lisa-> Tasks: (neo4j)` or `👧 lisa-> Recent Memories: (zep-cloud)`
|
|
115
|
+
|
|
116
|
+
### Task Display Rules
|
|
117
|
+
- **ALWAYS sort tasks by `created_at` descending** (newest first)
|
|
118
|
+
- Show the most recent tasks at the top of each section
|
|
119
|
+
- Include the date for each task (format: "Jan 23" or "Jan 23, 2026")
|
|
120
|
+
- Group by status (Active/In Progress, Pending/Todo, Completed/Done) but sort within each group by date
|
|
121
|
+
- Example format:
|
|
122
|
+
```
|
|
123
|
+
👧 lisa-> Tasks: (neo4j)
|
|
124
|
+
|
|
125
|
+
Active (3):
|
|
126
|
+
1. 📋 Newest task here (Jan 23)
|
|
127
|
+
2. 📋 Second newest (Jan 22)
|
|
128
|
+
3. 📋 Third newest (Jan 20)
|
|
129
|
+
|
|
130
|
+
Completed (2):
|
|
131
|
+
1. ✅ Recently completed (Jan 22)
|
|
132
|
+
2. ✅ Older completed (Jan 15)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Memory Display Rules
|
|
136
|
+
- Sort memories by `created_at` descending (newest first)
|
|
115
137
|
- Example format:
|
|
116
138
|
```
|
|
117
139
|
👧 lisa-> Recent Memories: (neo4j)
|
|
@@ -31,12 +31,13 @@ Organize facts into these categories (skip empty categories):
|
|
|
31
31
|
6. **Open Items** - Pending tasks, known issues
|
|
32
32
|
|
|
33
33
|
### How to Summarize
|
|
34
|
+
- **ALWAYS sort memories by `created_at` descending** (newest first)
|
|
34
35
|
- Group related facts together
|
|
35
36
|
- Use bullet points for clarity
|
|
36
37
|
- Include specific file names and paths when relevant
|
|
37
|
-
-
|
|
38
|
+
- Include the date for each memory (format: "Jan 23" or "Jan 23, 2026")
|
|
38
39
|
- Filter out expired or superseded facts (check `expired_at` field)
|
|
39
|
-
- Prioritize recent facts over older ones
|
|
40
|
+
- Prioritize recent facts over older ones - show newest at top of each section
|
|
40
41
|
- Extract the `fact` field from each item - that's the human-readable content
|
|
41
42
|
|
|
42
43
|
### Example Output Format
|