@litmers/cursorflow-orchestrator 0.1.14 → 0.1.15
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/CHANGELOG.md +3 -0
- package/dist/cli/logs.js +42 -29
- package/dist/cli/logs.js.map +1 -1
- package/dist/cli/run.js +7 -0
- package/dist/cli/run.js.map +1 -1
- package/dist/core/orchestrator.d.ts +3 -1
- package/dist/core/orchestrator.js +147 -8
- package/dist/core/orchestrator.js.map +1 -1
- package/dist/core/reviewer.d.ts +2 -0
- package/dist/core/reviewer.js +4 -2
- package/dist/core/reviewer.js.map +1 -1
- package/dist/core/runner.d.ts +9 -3
- package/dist/core/runner.js +160 -55
- package/dist/core/runner.js.map +1 -1
- package/dist/utils/config.js +4 -1
- package/dist/utils/config.js.map +1 -1
- package/dist/utils/enhanced-logger.d.ts +3 -2
- package/dist/utils/enhanced-logger.js +87 -20
- package/dist/utils/enhanced-logger.js.map +1 -1
- package/dist/utils/git.d.ts +6 -0
- package/dist/utils/git.js +15 -0
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/logger.d.ts +2 -0
- package/dist/utils/logger.js +4 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/types.d.ts +10 -0
- package/package.json +2 -1
- package/scripts/patches/test-cursor-agent.js +1 -1
- package/scripts/test-real-cursor-lifecycle.sh +289 -0
- package/src/cli/logs.ts +43 -28
- package/src/cli/run.ts +8 -0
- package/src/core/orchestrator.ts +164 -8
- package/src/core/reviewer.ts +18 -4
- package/src/core/runner.ts +174 -57
- package/src/utils/config.ts +5 -1
- package/src/utils/enhanced-logger.ts +90 -21
- package/src/utils/git.ts +15 -0
- package/src/utils/logger.ts +4 -1
- package/src/utils/types.ts +10 -0
package/src/utils/types.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface CursorFlowConfig {
|
|
|
25
25
|
worktreePrefix: string;
|
|
26
26
|
maxConcurrentLanes: number;
|
|
27
27
|
projectRoot: string;
|
|
28
|
+
/** Output format for cursor-agent (default: 'stream-json') */
|
|
29
|
+
agentOutputFormat: 'stream-json' | 'json' | 'plain';
|
|
28
30
|
webhooks?: WebhookConfig[];
|
|
29
31
|
/** Enhanced logging configuration */
|
|
30
32
|
enhancedLogging?: Partial<EnhancedLogConfig>;
|
|
@@ -198,6 +200,8 @@ export interface RunnerConfig {
|
|
|
198
200
|
baseBranch?: string;
|
|
199
201
|
model?: string;
|
|
200
202
|
dependencyPolicy: DependencyPolicy;
|
|
203
|
+
/** Output format for cursor-agent (default: 'stream-json') */
|
|
204
|
+
agentOutputFormat?: 'stream-json' | 'json' | 'plain';
|
|
201
205
|
reviewModel?: string;
|
|
202
206
|
maxReviewIterations?: number;
|
|
203
207
|
acceptanceCriteria?: string[];
|
|
@@ -209,6 +213,12 @@ export interface RunnerConfig {
|
|
|
209
213
|
* Default: false
|
|
210
214
|
*/
|
|
211
215
|
enableIntervention?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Disable Git operations (worktree, branch, push, commit).
|
|
218
|
+
* Useful for testing or environments without Git remote.
|
|
219
|
+
* Default: false
|
|
220
|
+
*/
|
|
221
|
+
noGit?: boolean;
|
|
212
222
|
}
|
|
213
223
|
|
|
214
224
|
export interface DependencyRequestPlan {
|