reviewflow 3.19.0 → 3.19.2

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/main/cli.d.ts +1 -83
  3. package/dist/main/cli.d.ts.map +1 -1
  4. package/dist/main/cli.js +24 -606
  5. package/dist/main/cli.js.map +1 -1
  6. package/dist/main/commands/discover.command.d.ts +17 -0
  7. package/dist/main/commands/discover.command.d.ts.map +1 -0
  8. package/dist/main/commands/discover.command.js +76 -0
  9. package/dist/main/commands/discover.command.js.map +1 -0
  10. package/dist/main/commands/followupImportants.command.d.ts +14 -0
  11. package/dist/main/commands/followupImportants.command.d.ts.map +1 -0
  12. package/dist/main/commands/followupImportants.command.js +31 -0
  13. package/dist/main/commands/followupImportants.command.js.map +1 -0
  14. package/dist/main/commands/init.command.d.ts +29 -0
  15. package/dist/main/commands/init.command.d.ts.map +1 -0
  16. package/dist/main/commands/init.command.js +231 -0
  17. package/dist/main/commands/init.command.js.map +1 -0
  18. package/dist/main/commands/logs.command.d.ts +10 -0
  19. package/dist/main/commands/logs.command.d.ts.map +1 -0
  20. package/dist/main/commands/logs.command.js +42 -0
  21. package/dist/main/commands/logs.command.js.map +1 -0
  22. package/dist/main/commands/start.command.d.ts +21 -0
  23. package/dist/main/commands/start.command.d.ts.map +1 -0
  24. package/dist/main/commands/start.command.js +80 -0
  25. package/dist/main/commands/start.command.js.map +1 -0
  26. package/dist/main/commands/status.command.d.ts +9 -0
  27. package/dist/main/commands/status.command.d.ts.map +1 -0
  28. package/dist/main/commands/status.command.js +26 -0
  29. package/dist/main/commands/status.command.js.map +1 -0
  30. package/dist/main/commands/stop.command.d.ts +11 -0
  31. package/dist/main/commands/stop.command.d.ts.map +1 -0
  32. package/dist/main/commands/stop.command.js +30 -0
  33. package/dist/main/commands/stop.command.js.map +1 -0
  34. package/dist/main/commands/validate.command.d.ts +11 -0
  35. package/dist/main/commands/validate.command.d.ts.map +1 -0
  36. package/dist/main/commands/validate.command.js +54 -0
  37. package/dist/main/commands/validate.command.js.map +1 -0
  38. package/dist/main/shared/cliConstants.d.ts +5 -0
  39. package/dist/main/shared/cliConstants.d.ts.map +1 -0
  40. package/dist/main/shared/cliConstants.js +86 -0
  41. package/dist/main/shared/cliConstants.js.map +1 -0
  42. package/dist/modules/claude-invocation/usecases/runClaudeReviewJob.usecase.d.ts.map +1 -1
  43. package/dist/modules/claude-invocation/usecases/runClaudeReviewJob.usecase.js +8 -0
  44. package/dist/modules/claude-invocation/usecases/runClaudeReviewJob.usecase.js.map +1 -1
  45. package/dist/shared/services/pidFileManager.d.ts +6 -0
  46. package/dist/shared/services/pidFileManager.d.ts.map +1 -1
  47. package/dist/shared/services/pidFileManager.js.map +1 -1
  48. package/dist/tests/units/main/executeDiscover.test.js +1 -1
  49. package/dist/tests/units/main/executeDiscover.test.js.map +1 -1
  50. package/dist/tests/units/main/executeFollowupImportants.test.d.ts +2 -0
  51. package/dist/tests/units/main/executeFollowupImportants.test.d.ts.map +1 -0
  52. package/dist/tests/units/main/executeFollowupImportants.test.js +48 -0
  53. package/dist/tests/units/main/executeFollowupImportants.test.js.map +1 -0
  54. package/dist/tests/units/main/executeInit.test.js +1 -1
  55. package/dist/tests/units/main/executeInit.test.js.map +1 -1
  56. package/dist/tests/units/main/executeLogs.test.js +1 -1
  57. package/dist/tests/units/main/executeLogs.test.js.map +1 -1
  58. package/dist/tests/units/main/executeStart.test.js +1 -1
  59. package/dist/tests/units/main/executeStart.test.js.map +1 -1
  60. package/dist/tests/units/main/executeStatus.test.js +1 -1
  61. package/dist/tests/units/main/executeStatus.test.js.map +1 -1
  62. package/dist/tests/units/main/executeStop.test.js +1 -1
  63. package/dist/tests/units/main/executeStop.test.js.map +1 -1
  64. package/dist/tests/units/main/executeValidate.test.d.ts +2 -0
  65. package/dist/tests/units/main/executeValidate.test.d.ts.map +1 -0
  66. package/dist/tests/units/main/executeValidate.test.js +76 -0
  67. package/dist/tests/units/main/executeValidate.test.js.map +1 -0
  68. package/dist/tests/units/modules/claude-invocation/usecases/runClaudeReviewJob.usecase.test.js +21 -1
  69. package/dist/tests/units/modules/claude-invocation/usecases/runClaudeReviewJob.usecase.test.js.map +1 -1
  70. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.19.2](https://github.com/DGouron/review-flow/compare/reviewflow-v3.19.1...reviewflow-v3.19.2) (2026-05-24)
9
+
10
+
11
+ ### Changed
12
+
13
+ * **cli:** split SPEC-92 god file into per-command modules ([#198](https://github.com/DGouron/review-flow/issues/198)) ([3d3d8e8](https://github.com/DGouron/review-flow/commit/3d3d8e86da6a7d94d315bb503dd3b9e11c28e7cd))
14
+
15
+ ## [3.19.1](https://github.com/DGouron/review-flow/compare/reviewflow-v3.19.0...reviewflow-v3.19.1) (2026-05-24)
16
+
17
+
18
+ ### Fixed
19
+
20
+ * **claude-invocation:** tolerate missing report on followup jobs ([#194](https://github.com/DGouron/review-flow/issues/194)) ([bfd1419](https://github.com/DGouron/review-flow/commit/bfd1419140bb354caa6b5271975756e7006fca6f))
21
+
8
22
  ## [3.19.0](https://github.com/DGouron/review-flow/compare/reviewflow-v3.18.0...reviewflow-v3.19.0) (2026-05-24)
9
23
 
10
24
 
@@ -1,85 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { type StartDaemonDependencies } from '../modules/cli-configuration/usecases/cli/startDaemon.usecase.js';
3
- import { type StopDaemonDependencies } from '../modules/cli-configuration/usecases/cli/stopDaemon.usecase.js';
4
- import { type QueryStatusDependencies } from '../modules/cli-configuration/usecases/cli/queryStatus.usecase.js';
5
- import { type ReadLogsDependencies } from '../modules/cli-configuration/usecases/cli/readLogs.usecase.js';
6
- import { type DiscoveredRepository, type DiscoverRepositoriesResult } from '../modules/cli-configuration/usecases/cli/discoverRepositories.usecase.js';
7
- import { type ConfigureMcpResult } from '../modules/cli-configuration/usecases/cli/configureMcp.usecase.js';
8
- import { type WriteInitConfigInput, type WriteInitConfigResult } from '../modules/cli-configuration/usecases/cli/writeInitConfig.usecase.js';
9
- import { type InitSummaryInput } from '../cli/formatters/initSummary.js';
10
- import { type PrerequisitesResult } from '../modules/cli-configuration/usecases/cli/checkInitPrerequisites.js';
11
- export interface StartDependencies {
12
- validateDependencies: () => {
13
- name: string;
14
- installUrl: string;
15
- }[];
16
- startServer: (port?: number) => Promise<unknown>;
17
- exit: (code: number) => void;
18
- error: (...args: unknown[]) => void;
19
- log: (...args: unknown[]) => void;
20
- startDaemonDeps: StartDaemonDependencies;
21
- loadStartupInfo: () => {
22
- enabledPlatforms: Array<'gitlab' | 'github'>;
23
- defaultPort: number;
24
- };
25
- openInBrowser: (url: string) => void;
26
- }
27
- export declare function executeStart(skipDependencyCheck: boolean, daemon: boolean, port: number | undefined, open: boolean, deps: StartDependencies): void;
28
- export interface StopDeps {
29
- stopDaemonDeps: StopDaemonDependencies;
30
- log: (...args: unknown[]) => void;
31
- error: (...args: unknown[]) => void;
32
- exit: (code: number) => void;
33
- }
34
- export declare function executeStop(force: boolean, deps: StopDeps): void;
35
- export interface StatusDeps {
36
- queryStatusDeps: QueryStatusDependencies;
37
- log: (...args: unknown[]) => void;
38
- exit: (code: number) => void;
39
- }
40
- export declare function executeStatus(json: boolean, deps: StatusDeps): void;
41
- export interface LogsDeps {
42
- readLogsDeps: ReadLogsDependencies;
43
- log: (...args: unknown[]) => void;
44
- error: (...args: unknown[]) => void;
45
- exit: (code: number) => void;
46
- }
47
- export declare function executeLogs(follow: boolean, lines: number, deps: LogsDeps): void;
48
- export type PlatformChoice = 'gitlab' | 'github' | 'both';
49
- export interface InitDependencies {
50
- log: (...args: unknown[]) => void;
51
- exit: (code: number) => void;
52
- getConfigDir: () => string;
53
- existsSync: (path: string) => boolean;
54
- checkPrerequisites: () => PrerequisitesResult;
55
- confirmOverwrite: (configPath: string) => Promise<boolean>;
56
- promptPlatform: () => Promise<PlatformChoice>;
57
- promptPort: () => Promise<number>;
58
- promptGitlabUsername: () => Promise<string>;
59
- promptGithubUsername: () => Promise<string>;
60
- confirmScanRepositories: () => Promise<boolean>;
61
- selectRepositories: (repos: DiscoveredRepository[]) => Promise<DiscoveredRepository[]>;
62
- generateWebhookSecret: () => string;
63
- truncateSecret: (secret: string, length: number) => string;
64
- discoverRepositories: (scanPaths: string[], maxDepth: number) => DiscoverRepositoriesResult;
65
- configureMcp: () => ConfigureMcpResult;
66
- writeConfig: (input: WriteInitConfigInput) => WriteInitConfigResult;
67
- formatSummary: (input: InitSummaryInput) => string;
68
- }
69
- export declare function executeInit(yes: boolean, skipMcp: boolean, showSecrets: boolean, scanPaths: string[], deps: InitDependencies): Promise<void>;
70
- export interface DiscoverDependencies {
71
- existsSync: (path: string) => boolean;
72
- readFileSync: (path: string, encoding: BufferEncoding) => string;
73
- writeFileSync: (path: string, content: string) => void;
74
- readdirSync: (path: string) => Array<{
75
- name: string;
76
- isDirectory: () => boolean;
77
- }>;
78
- getGitRemoteUrl: (localPath: string) => string | null;
79
- getConfigPath: () => string;
80
- log: (...args: unknown[]) => void;
81
- selectRepositories: (repositories: DiscoveredRepository[]) => Promise<DiscoveredRepository[]>;
82
- }
83
- export declare function executeDiscover(scanPaths: string[], maxDepth: number, deps: DiscoverDependencies): Promise<void>;
84
- export declare function executeValidate(fix: boolean): void;
2
+ export {};
85
3
  //# sourceMappingURL=cli.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/main/cli.ts"],"names":[],"mappings":";AAUA,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,gEAAgE,CAAC;AAChI,OAAO,EAAsB,KAAK,uBAAuB,EA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