@corbat-tech/coco 1.0.2 → 1.1.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/README.md +178 -373
- package/dist/cli/index.js +2403 -368
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +12 -4
- package/dist/index.js +10052 -8297
- package/dist/index.js.map +1 -1
- package/package.json +36 -23
package/dist/index.d.ts
CHANGED
|
@@ -2378,7 +2378,8 @@ declare class TaskIterator {
|
|
|
2378
2378
|
private generator;
|
|
2379
2379
|
private reviewer;
|
|
2380
2380
|
private config;
|
|
2381
|
-
|
|
2381
|
+
private qualityEvaluator;
|
|
2382
|
+
constructor(llm: LLMProvider, config: QualityConfig, projectPath?: string);
|
|
2382
2383
|
/**
|
|
2383
2384
|
* Execute a task with quality iteration
|
|
2384
2385
|
*/
|
|
@@ -2407,6 +2408,12 @@ declare class TaskIterator {
|
|
|
2407
2408
|
* Map QualityDimensions key to IssueCategory
|
|
2408
2409
|
*/
|
|
2409
2410
|
private mapToIssueCategory;
|
|
2411
|
+
/**
|
|
2412
|
+
* Detect improvements by comparing current and previous review issues.
|
|
2413
|
+
* An improvement is an issue from the previous review that no longer appears
|
|
2414
|
+
* in the current review (resolved).
|
|
2415
|
+
*/
|
|
2416
|
+
private detectImprovements;
|
|
2410
2417
|
/**
|
|
2411
2418
|
* Create a version snapshot
|
|
2412
2419
|
*/
|
|
@@ -2415,7 +2422,7 @@ declare class TaskIterator {
|
|
|
2415
2422
|
/**
|
|
2416
2423
|
* Create a task iterator
|
|
2417
2424
|
*/
|
|
2418
|
-
declare function createTaskIterator(llm: LLMProvider, config: QualityConfig): TaskIterator;
|
|
2425
|
+
declare function createTaskIterator(llm: LLMProvider, config: QualityConfig, projectPath?: string): TaskIterator;
|
|
2419
2426
|
|
|
2420
2427
|
/**
|
|
2421
2428
|
* COMPLETE Phase Executor
|
|
@@ -2829,6 +2836,7 @@ declare class OutputExecutor implements PhaseExecutor {
|
|
|
2829
2836
|
readonly name = "output";
|
|
2830
2837
|
readonly description = "Generate CI/CD, Docker, and documentation";
|
|
2831
2838
|
private config;
|
|
2839
|
+
private generatedArtifacts;
|
|
2832
2840
|
constructor(config?: Partial<OutputConfig>);
|
|
2833
2841
|
/**
|
|
2834
2842
|
* Deep merge configuration
|
|
@@ -2837,7 +2845,7 @@ declare class OutputExecutor implements PhaseExecutor {
|
|
|
2837
2845
|
/**
|
|
2838
2846
|
* Check if the phase can start
|
|
2839
2847
|
*/
|
|
2840
|
-
canStart(
|
|
2848
|
+
canStart(context: PhaseContext): boolean;
|
|
2841
2849
|
/**
|
|
2842
2850
|
* Execute the OUTPUT phase
|
|
2843
2851
|
*/
|
|
@@ -2853,7 +2861,7 @@ declare class OutputExecutor implements PhaseExecutor {
|
|
|
2853
2861
|
/**
|
|
2854
2862
|
* Restore from checkpoint
|
|
2855
2863
|
*/
|
|
2856
|
-
restore(
|
|
2864
|
+
restore(checkpoint: PhaseCheckpoint, _context: PhaseContext): Promise<void>;
|
|
2857
2865
|
/**
|
|
2858
2866
|
* Load project metadata from package.json
|
|
2859
2867
|
*/
|