@paths.design/caws-cli 4.1.0 → 5.0.1
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/commands/waivers.js +101 -26
- package/dist/waivers-manager.js +49 -4
- package/package.json +1 -1
- package/dist/budget-derivation.d.ts +0 -74
- package/dist/budget-derivation.d.ts.map +0 -1
- package/dist/cicd-optimizer.d.ts +0 -142
- package/dist/cicd-optimizer.d.ts.map +0 -1
- package/dist/commands/archive.d.ts +0 -50
- package/dist/commands/archive.d.ts.map +0 -1
- package/dist/commands/burnup.d.ts +0 -6
- package/dist/commands/burnup.d.ts.map +0 -1
- package/dist/commands/diagnose.d.ts +0 -52
- package/dist/commands/diagnose.d.ts.map +0 -1
- package/dist/commands/evaluate.d.ts +0 -8
- package/dist/commands/evaluate.d.ts.map +0 -1
- package/dist/commands/init.d.ts +0 -5
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/iterate.d.ts +0 -8
- package/dist/commands/iterate.d.ts.map +0 -1
- package/dist/commands/mode.d.ts +0 -24
- package/dist/commands/mode.d.ts.map +0 -1
- package/dist/commands/plan.d.ts +0 -49
- package/dist/commands/plan.d.ts.map +0 -1
- package/dist/commands/provenance.d.ts +0 -32
- package/dist/commands/provenance.d.ts.map +0 -1
- package/dist/commands/quality-gates.d.ts +0 -52
- package/dist/commands/quality-gates.d.ts.map +0 -1
- package/dist/commands/quality-monitor.d.ts +0 -17
- package/dist/commands/quality-monitor.d.ts.map +0 -1
- package/dist/commands/specs.d.ts +0 -71
- package/dist/commands/specs.d.ts.map +0 -1
- package/dist/commands/status.d.ts +0 -44
- package/dist/commands/status.d.ts.map +0 -1
- package/dist/commands/templates.d.ts +0 -74
- package/dist/commands/templates.d.ts.map +0 -1
- package/dist/commands/tool.d.ts +0 -13
- package/dist/commands/tool.d.ts.map +0 -1
- package/dist/commands/troubleshoot.d.ts +0 -8
- package/dist/commands/troubleshoot.d.ts.map +0 -1
- package/dist/commands/tutorial.d.ts +0 -55
- package/dist/commands/tutorial.d.ts.map +0 -1
- package/dist/commands/validate.d.ts +0 -15
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/waivers.d.ts +0 -8
- package/dist/commands/waivers.d.ts.map +0 -1
- package/dist/commands/workflow.d.ts +0 -85
- package/dist/commands/workflow.d.ts.map +0 -1
- package/dist/config/index.d.ts +0 -29
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/modes.d.ts +0 -225
- package/dist/config/modes.d.ts.map +0 -1
- package/dist/constants/spec-types.d.ts +0 -41
- package/dist/constants/spec-types.d.ts.map +0 -1
- package/dist/error-handler.d.ts +0 -164
- package/dist/error-handler.d.ts.map +0 -1
- package/dist/generators/jest-config.d.ts +0 -32
- package/dist/generators/jest-config.d.ts.map +0 -1
- package/dist/generators/working-spec.d.ts +0 -13
- package/dist/generators/working-spec.d.ts.map +0 -1
- package/dist/index-new.d.ts +0 -5
- package/dist/index-new.d.ts.map +0 -1
- package/dist/index-new.js +0 -317
- package/dist/index.d.ts +0 -5
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.backup +0 -4711
- package/dist/minimal-cli.d.ts +0 -3
- package/dist/minimal-cli.d.ts.map +0 -1
- package/dist/policy/PolicyManager.d.ts +0 -104
- package/dist/policy/PolicyManager.d.ts.map +0 -1
- package/dist/scaffold/cursor-hooks.d.ts +0 -7
- package/dist/scaffold/cursor-hooks.d.ts.map +0 -1
- package/dist/scaffold/git-hooks.d.ts +0 -20
- package/dist/scaffold/git-hooks.d.ts.map +0 -1
- package/dist/scaffold/index.d.ts +0 -20
- package/dist/scaffold/index.d.ts.map +0 -1
- package/dist/spec/SpecFileManager.d.ts +0 -146
- package/dist/spec/SpecFileManager.d.ts.map +0 -1
- package/dist/test-analysis.d.ts +0 -182
- package/dist/test-analysis.d.ts.map +0 -1
- package/dist/tool-interface.d.ts +0 -236
- package/dist/tool-interface.d.ts.map +0 -1
- package/dist/tool-loader.d.ts +0 -77
- package/dist/tool-loader.d.ts.map +0 -1
- package/dist/tool-validator.d.ts +0 -72
- package/dist/tool-validator.d.ts.map +0 -1
- package/dist/utils/detection.d.ts +0 -7
- package/dist/utils/detection.d.ts.map +0 -1
- package/dist/utils/finalization.d.ts +0 -17
- package/dist/utils/finalization.d.ts.map +0 -1
- package/dist/utils/project-analysis.d.ts +0 -14
- package/dist/utils/project-analysis.d.ts.map +0 -1
- package/dist/utils/quality-gates.d.ts +0 -49
- package/dist/utils/quality-gates.d.ts.map +0 -1
- package/dist/utils/spec-resolver.d.ts +0 -88
- package/dist/utils/spec-resolver.d.ts.map +0 -1
- package/dist/utils/typescript-detector.d.ts +0 -63
- package/dist/utils/typescript-detector.d.ts.map +0 -1
- package/dist/validation/spec-validation.d.ts +0 -43
- package/dist/validation/spec-validation.d.ts.map +0 -1
- package/dist/waivers-manager.d.ts +0 -167
- package/dist/waivers-manager.d.ts.map +0 -1
- package/templates/apps/tools/caws/prompt-lint.js.backup +0 -274
- package/templates/apps/tools/caws/provenance.js.backup +0 -73
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluate.d.ts","sourceRoot":"","sources":["../../src/commands/evaluate.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AACH,2CAHW,MAAM,YACN,MAAM,iBA0QhB"}
|
package/dist/commands/init.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.js"],"names":[],"mappings":"AAoBA;;GAEG;AACH,2EAseC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Iterate command handler
|
|
3
|
-
*
|
|
4
|
-
* @param {string} specFile - Path to working spec file
|
|
5
|
-
* @param {object} options - Command options
|
|
6
|
-
*/
|
|
7
|
-
export function iterateCommand(specFile?: string, options?: object): Promise<void>;
|
|
8
|
-
//# sourceMappingURL=iterate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iterate.d.ts","sourceRoot":"","sources":["../../src/commands/iterate.js"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,0CAHW,MAAM,YACN,MAAM,iBAgLhB"}
|
package/dist/commands/mode.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mode command handler
|
|
3
|
-
* @param {string} action - Action to perform (current, set, compare, recommend)
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function modeCommand(action: string, options?: any): Promise<any>;
|
|
7
|
-
import { getCurrentMode } from "../config/modes";
|
|
8
|
-
import { setCurrentMode } from "../config/modes";
|
|
9
|
-
/**
|
|
10
|
-
* Display current mode status
|
|
11
|
-
*/
|
|
12
|
-
export function displayCurrentMode(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Display mode details
|
|
15
|
-
* @param {string} mode - Mode to display
|
|
16
|
-
*/
|
|
17
|
-
export function displayModeDetails(mode: string): void;
|
|
18
|
-
/**
|
|
19
|
-
* Interactive mode selection
|
|
20
|
-
* @returns {Promise<string>} Selected mode
|
|
21
|
-
*/
|
|
22
|
-
export function interactiveModeSelection(): Promise<string>;
|
|
23
|
-
export { getCurrentMode, setCurrentMode };
|
|
24
|
-
//# sourceMappingURL=mode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../src/commands/mode.js"],"names":[],"mappings":"AAuHA;;;;GAIG;AACH,oCAHW,MAAM,+BAgIhB;;;AAvOD;;GAEG;AACH,2CAOC;AAED;;;GAGG;AACH,yCAFW,MAAM,QA+ChB;AAED;;;GAGG;AACH,4CAFa,OAAO,CAAC,MAAM,CAAC,CAkC3B"}
|
package/dist/commands/plan.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plan command handler
|
|
3
|
-
* @param {string} action - Action to perform (generate)
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function planCommand(action: string, options?: any): Promise<any>;
|
|
7
|
-
/**
|
|
8
|
-
* Generate implementation plan from spec
|
|
9
|
-
* @param {Object} spec - Spec data
|
|
10
|
-
* @returns {Object} Generated plan
|
|
11
|
-
*/
|
|
12
|
-
export function generateImplementationPlan(spec: any): any;
|
|
13
|
-
/**
|
|
14
|
-
* Write plan to file
|
|
15
|
-
* @param {Object} plan - Plan data
|
|
16
|
-
* @param {string} outputPath - Output file path
|
|
17
|
-
* @returns {Promise<void>}
|
|
18
|
-
*/
|
|
19
|
-
export function writePlanToFile(plan: any, outputPath: string): Promise<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Generate markdown content from plan
|
|
22
|
-
* @param {Object} plan - Plan data
|
|
23
|
-
* @returns {string} Markdown content
|
|
24
|
-
*/
|
|
25
|
-
export function generatePlanMarkdown(plan: any): string;
|
|
26
|
-
/**
|
|
27
|
-
* Display generated plan
|
|
28
|
-
* @param {Object} plan - Plan data
|
|
29
|
-
*/
|
|
30
|
-
export function displayGeneratedPlan(plan: any): void;
|
|
31
|
-
export namespace PLAN_TEMPLATES {
|
|
32
|
-
namespace feature {
|
|
33
|
-
let sections: string[];
|
|
34
|
-
let defaultTasks: string[];
|
|
35
|
-
}
|
|
36
|
-
namespace fix {
|
|
37
|
-
let sections_1: string[];
|
|
38
|
-
export { sections_1 as sections };
|
|
39
|
-
let defaultTasks_1: string[];
|
|
40
|
-
export { defaultTasks_1 as defaultTasks };
|
|
41
|
-
}
|
|
42
|
-
namespace refactor {
|
|
43
|
-
let sections_2: string[];
|
|
44
|
-
export { sections_2 as sections };
|
|
45
|
-
let defaultTasks_2: string[];
|
|
46
|
-
export { defaultTasks_2 as defaultTasks };
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=plan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../src/commands/plan.js"],"names":[],"mappings":"AA6XA;;;;GAIG;AACH,oCAHW,MAAM,+BAuDhB;AA1OD;;;;GAIG;AACH,2DA8CC;AAED;;;;;GAKG;AACH,uDAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAQzB;AAED;;;;GAIG;AACH,iDAFa,MAAM,CAiElB;AAED;;;GAGG;AACH,sDAkCC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Provenance command handler
|
|
3
|
-
* @param {string} subcommand - The subcommand to execute
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function provenanceCommand(subcommand: string, options: any): Promise<void>;
|
|
7
|
-
/**
|
|
8
|
-
* Update provenance with new commit information
|
|
9
|
-
* @param {Object} options - Command options
|
|
10
|
-
*/
|
|
11
|
-
export function updateProvenance(options: any): Promise<void>;
|
|
12
|
-
/**
|
|
13
|
-
* Show current provenance information
|
|
14
|
-
* @param {Object} options - Command options
|
|
15
|
-
*/
|
|
16
|
-
export function showProvenance(options: any): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Verify provenance chain integrity
|
|
19
|
-
* @param {Object} options - Command options
|
|
20
|
-
*/
|
|
21
|
-
export function verifyProvenance(options: any): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Initialize provenance tracking for the project
|
|
24
|
-
* @param {Object} options - Command options
|
|
25
|
-
*/
|
|
26
|
-
export function initProvenance(options: any): Promise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* Install git hooks for automatic provenance updates
|
|
29
|
-
* @param {Object} options - Command options
|
|
30
|
-
*/
|
|
31
|
-
export function installHooks(options: any): Promise<void>;
|
|
32
|
-
//# sourceMappingURL=provenance.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provenance.d.ts","sourceRoot":"","sources":["../../src/commands/provenance.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,8CAHW,MAAM,+BA2BhB;AAED;;;GAGG;AACH,8DA4EC;AAED;;;GAGG;AACH,4DAyEC;AAED;;;GAGG;AACH,8DA8CC;AA6iBD;;;GAGG;AACH,4DAmEC;AAzcD;;;GAGG;AACH,0DAwEC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Quality Gates Configuration
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Update provenance with quality gates results
|
|
6
|
-
* @param {Object} results - Quality gates results
|
|
7
|
-
* @param {boolean} crisisMode - Whether in crisis mode
|
|
8
|
-
* @param {string[]} stagedFiles - Array of staged files
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Detect agent type for provenance tracking
|
|
12
|
-
* @returns {string} Agent type identifier
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a waiver applies to the given gate
|
|
16
|
-
* @param {string} gate - Gate name to check
|
|
17
|
-
* @returns {Object} Waiver check result
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Detect if project is in crisis response mode
|
|
21
|
-
* @returns {boolean} True if in crisis mode
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* Get staged files from git
|
|
25
|
-
* @returns {string[]} Array of staged file paths
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Check for god objects in staged Rust files with waiver and crisis mode support
|
|
29
|
-
* @param {string[]} stagedFiles - Array of staged file paths
|
|
30
|
-
* @param {boolean} crisisMode - Whether in crisis response mode
|
|
31
|
-
* @returns {Object} God object analysis results
|
|
32
|
-
*/
|
|
33
|
-
/**
|
|
34
|
-
* Check for hidden TODOs in staged files with waiver and crisis mode support
|
|
35
|
-
* @param {string[]} stagedFiles - Array of staged file paths
|
|
36
|
-
* @param {boolean} crisisMode - Whether in crisis response mode
|
|
37
|
-
* @returns {Object} TODO analysis results
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Check for human override in working spec
|
|
41
|
-
* @returns {Object} Human override check result
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* Get CAWS tier from working spec
|
|
45
|
-
* @returns {number|null} CAWS tier (1, 2, or 3) or null if not found
|
|
46
|
-
*/
|
|
47
|
-
/**
|
|
48
|
-
* Run comprehensive quality gates on staged files
|
|
49
|
-
* @param {Object} options - Command options
|
|
50
|
-
*/
|
|
51
|
-
export function qualityGatesCommand(options?: any): Promise<any>;
|
|
52
|
-
//# sourceMappingURL=quality-gates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quality-gates.d.ts","sourceRoot":"","sources":["../../src/commands/quality-gates.js"],"names":[],"mappings":"AAqBA;;GAEG;AAkBH;;;;;GAKG;AAGH;;;GAGG;AA6BH;;;;GAIG;AAiCH;;;GAGG;AAoCH;;;GAGG;AAeH;;;;;GAKG;AAmFH;;;;;GAKG;AAqEH;;;GAGG;AA0BH;;;GAGG;AAaH;;;GAGG;AACH,iEAmGC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Quality monitor command handler
|
|
3
|
-
*
|
|
4
|
-
* @param {string} action - Type of action to monitor
|
|
5
|
-
* @param {object} options - Command options
|
|
6
|
-
*/
|
|
7
|
-
export function qualityMonitorCommand(action: string, options?: object): Promise<void>;
|
|
8
|
-
/**
|
|
9
|
-
* Analyze quality impact of an action
|
|
10
|
-
*
|
|
11
|
-
* @param {string} action - Type of action (file_saved, code_edited, test_run)
|
|
12
|
-
* @param {array} files - Files affected by the action
|
|
13
|
-
* @param {object} context - Additional context information
|
|
14
|
-
* @returns {object} Quality analysis
|
|
15
|
-
*/
|
|
16
|
-
export function analyzeQualityImpact(action: string, files?: any[], context?: object): object;
|
|
17
|
-
//# sourceMappingURL=quality-monitor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quality-monitor.d.ts","sourceRoot":"","sources":["../../src/commands/quality-monitor.js"],"names":[],"mappings":"AAoIA;;;;;GAKG;AACH,8CAHW,MAAM,YACN,MAAM,iBA2HhB;AArPD;;;;;;;GAOG;AACH,6CALW,MAAM,2BAEN,MAAM,GACJ,MAAM,CA8GlB"}
|
package/dist/commands/specs.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specs command handler
|
|
3
|
-
* @param {string} action - Action to perform (list, create, show, update, delete, conflicts, migrate)
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function specsCommand(action: string, options?: any): Promise<any>;
|
|
7
|
-
/**
|
|
8
|
-
* Load specs registry
|
|
9
|
-
* @returns {Promise<Object>} Registry data
|
|
10
|
-
*/
|
|
11
|
-
export function loadSpecsRegistry(): Promise<any>;
|
|
12
|
-
/**
|
|
13
|
-
* Save specs registry
|
|
14
|
-
* @param {Object} registry - Registry data
|
|
15
|
-
* @returns {Promise<void>}
|
|
16
|
-
*/
|
|
17
|
-
export function saveSpecsRegistry(registry: any): Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* List all spec files in the specs directory
|
|
20
|
-
* @returns {Promise<Array>} Array of spec file info
|
|
21
|
-
*/
|
|
22
|
-
export function listSpecFiles(): Promise<any[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Create a new spec file
|
|
25
|
-
* @param {string} id - Spec identifier
|
|
26
|
-
* @param {Object} options - Creation options
|
|
27
|
-
* @returns {Promise<Object>} Created spec info
|
|
28
|
-
*/
|
|
29
|
-
export function createSpec(id: string, options?: any): Promise<any>;
|
|
30
|
-
/**
|
|
31
|
-
* Load a specific spec file
|
|
32
|
-
* @param {string} id - Spec identifier
|
|
33
|
-
* @returns {Promise<Object|null>} Spec data or null
|
|
34
|
-
*/
|
|
35
|
-
export function loadSpec(id: string): Promise<any | null>;
|
|
36
|
-
/**
|
|
37
|
-
* Update a spec file
|
|
38
|
-
* @param {string} id - Spec identifier
|
|
39
|
-
* @param {Object} updates - Updates to apply
|
|
40
|
-
* @returns {Promise<boolean>} Success status
|
|
41
|
-
*/
|
|
42
|
-
export function updateSpec(id: string, updates?: any): Promise<boolean>;
|
|
43
|
-
/**
|
|
44
|
-
* Delete a spec file
|
|
45
|
-
* @param {string} id - Spec identifier
|
|
46
|
-
* @returns {Promise<boolean>} Success status
|
|
47
|
-
*/
|
|
48
|
-
export function deleteSpec(id: string): Promise<boolean>;
|
|
49
|
-
/**
|
|
50
|
-
* Display specs in a formatted table
|
|
51
|
-
* @param {Array} specs - Array of spec objects
|
|
52
|
-
*/
|
|
53
|
-
export function displaySpecsTable(specs: any[]): void;
|
|
54
|
-
/**
|
|
55
|
-
* Display detailed spec information
|
|
56
|
-
* @param {Object} spec - Spec object
|
|
57
|
-
*/
|
|
58
|
-
export function displaySpecDetails(spec: any): void;
|
|
59
|
-
/**
|
|
60
|
-
* Ask user how to resolve spec creation conflicts
|
|
61
|
-
* @returns {Promise<string>} User's choice: 'cancel', 'rename', 'merge', 'override'
|
|
62
|
-
*/
|
|
63
|
-
export function askConflictResolution(): Promise<string>;
|
|
64
|
-
/**
|
|
65
|
-
* Specs directory structure
|
|
66
|
-
*/
|
|
67
|
-
export const SPECS_DIR: ".caws/specs";
|
|
68
|
-
export const SPECS_REGISTRY: ".caws/specs/registry.json";
|
|
69
|
-
import { SPEC_TYPES } from "../constants/spec-types";
|
|
70
|
-
export { SPEC_TYPES };
|
|
71
|
-
//# sourceMappingURL=specs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"specs.d.ts","sourceRoot":"","sources":["../../src/commands/specs.js"],"names":[],"mappings":"AAghBA;;;;GAIG;AACH,qCAHW,MAAM,+BA2LhB;AAvrBD;;;GAGG;AACH,qCAFa,OAAO,KAAQ,CAqB3B;AAED;;;;GAIG;AACH,kDAFa,OAAO,CAAC,IAAI,CAAC,CAMzB;AAED;;;GAGG;AACH,iCAFa,OAAO,OAAO,CAmC1B;AAED;;;;;GAKG;AACH,+BAJW,MAAM,kBAEJ,OAAO,KAAQ,CA8H3B;AAED;;;;GAIG;AACH,6BAHW,MAAM,GACJ,OAAO,CAAC,MAAO,IAAI,CAAC,CAiBhC;AAED;;;;;GAKG;AACH,+BAJW,MAAM,kBAEJ,OAAO,CAAC,OAAO,CAAC,CA6B5B;AAED;;;;GAIG;AACH,+BAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAmB5B;AAED;;;GAGG;AACH,sDA2CC;AAED;;;GAGG;AACH,oDAoCC;AAsFD;;;GAGG;AACH,yCAFa,OAAO,CAAC,MAAM,CAAC,CAuC3B;AA9fD;;GAEG;AACH,wBAAkB,aAAa,CAAC;AAChC,6BAAuB,2BAA2B,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Status command handler
|
|
3
|
-
* @param {Object} options - Command options
|
|
4
|
-
*/
|
|
5
|
-
export function statusCommand(options?: any): Promise<any>;
|
|
6
|
-
/**
|
|
7
|
-
* Load working specification (legacy single file approach)
|
|
8
|
-
* @param {string} specPath - Path to working spec
|
|
9
|
-
* @returns {Promise<Object|null>} Parsed spec or null
|
|
10
|
-
*/
|
|
11
|
-
export function loadWorkingSpec(specPath?: string): Promise<any | null>;
|
|
12
|
-
/**
|
|
13
|
-
* Check Git hooks status
|
|
14
|
-
* @returns {Promise<Object>} Hooks status
|
|
15
|
-
*/
|
|
16
|
-
export function checkGitHooks(): Promise<any>;
|
|
17
|
-
/**
|
|
18
|
-
* Load provenance chain
|
|
19
|
-
* @returns {Promise<Object>} Provenance status
|
|
20
|
-
*/
|
|
21
|
-
export function loadProvenanceChain(): Promise<any>;
|
|
22
|
-
/**
|
|
23
|
-
* Load waiver status
|
|
24
|
-
* @returns {Promise<Object>} Waiver status
|
|
25
|
-
*/
|
|
26
|
-
export function loadWaiverStatus(): Promise<any>;
|
|
27
|
-
/**
|
|
28
|
-
* Check quality gates status (simplified)
|
|
29
|
-
* @returns {Promise<Object>} Quality gates status
|
|
30
|
-
*/
|
|
31
|
-
export function checkQualityGates(): Promise<any>;
|
|
32
|
-
/**
|
|
33
|
-
* Display project status
|
|
34
|
-
* @param {Object} data - Status data
|
|
35
|
-
*/
|
|
36
|
-
export function displayStatus(data: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* Generate actionable suggestions based on status and mode
|
|
39
|
-
* @param {Object} data - Status data
|
|
40
|
-
* @param {string} currentMode - Current CAWS mode
|
|
41
|
-
* @returns {string[]} Array of suggestions
|
|
42
|
-
*/
|
|
43
|
-
export function generateSuggestions(data: any, currentMode: string): string[];
|
|
44
|
-
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/commands/status.js"],"names":[],"mappings":"AA6uBA;;;GAGG;AACH,2DA6IC;AAl3BD;;;;GAIG;AACH,2CAHW,MAAM,GACJ,OAAO,CAAC,MAAO,IAAI,CAAC,CAahC;AAgBD;;;GAGG;AACH,iCAFa,OAAO,KAAQ,CAgC3B;AAED;;;GAGG;AACH,uCAFa,OAAO,KAAQ,CA+B3B;AAED;;;GAGG;AACH,oCAFa,OAAO,KAAQ,CA0D3B;AAED;;;GAGG;AACH,qCAFa,OAAO,KAAQ,CAS3B;AAwBD;;;GAGG;AACH,+CAgGC;AAED;;;;;GAKG;AACH,4DAHW,MAAM,GACJ,MAAM,EAAE,CAoCpB"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Templates command handler
|
|
3
|
-
* @param {string} subcommand - Subcommand (list, info)
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function templatesCommand(subcommand?: string, options?: any): Promise<void>;
|
|
7
|
-
/**
|
|
8
|
-
* List all available templates
|
|
9
|
-
*/
|
|
10
|
-
export function listTemplates(): void;
|
|
11
|
-
/**
|
|
12
|
-
* Show detailed template information
|
|
13
|
-
* @param {string} templateId - Template ID
|
|
14
|
-
*/
|
|
15
|
-
export function showTemplateInfo(templateId: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* Check which templates actually exist
|
|
18
|
-
* @returns {Object} Available templates
|
|
19
|
-
*/
|
|
20
|
-
export function getAvailableTemplates(): any;
|
|
21
|
-
/**
|
|
22
|
-
* Built-in template definitions
|
|
23
|
-
*/
|
|
24
|
-
export const BUILTIN_TEMPLATES: {
|
|
25
|
-
'typescript-library': {
|
|
26
|
-
name: string;
|
|
27
|
-
description: string;
|
|
28
|
-
category: string;
|
|
29
|
-
tier: number;
|
|
30
|
-
features: string[];
|
|
31
|
-
path: string;
|
|
32
|
-
};
|
|
33
|
-
'typescript-api': {
|
|
34
|
-
name: string;
|
|
35
|
-
description: string;
|
|
36
|
-
category: string;
|
|
37
|
-
tier: number;
|
|
38
|
-
features: string[];
|
|
39
|
-
path: string;
|
|
40
|
-
};
|
|
41
|
-
'typescript-monorepo': {
|
|
42
|
-
name: string;
|
|
43
|
-
description: string;
|
|
44
|
-
category: string;
|
|
45
|
-
tier: number;
|
|
46
|
-
features: string[];
|
|
47
|
-
path: string;
|
|
48
|
-
};
|
|
49
|
-
'javascript-package': {
|
|
50
|
-
name: string;
|
|
51
|
-
description: string;
|
|
52
|
-
category: string;
|
|
53
|
-
tier: number;
|
|
54
|
-
features: string[];
|
|
55
|
-
path: string;
|
|
56
|
-
};
|
|
57
|
-
'react-component-lib': {
|
|
58
|
-
name: string;
|
|
59
|
-
description: string;
|
|
60
|
-
category: string;
|
|
61
|
-
tier: number;
|
|
62
|
-
features: string[];
|
|
63
|
-
path: string;
|
|
64
|
-
};
|
|
65
|
-
'vscode-extension': {
|
|
66
|
-
name: string;
|
|
67
|
-
description: string;
|
|
68
|
-
category: string;
|
|
69
|
-
tier: number;
|
|
70
|
-
features: string[];
|
|
71
|
-
path: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/commands/templates.js"],"names":[],"mappings":"AAoMA;;;;GAIG;AACH,8CAHW,MAAM,gCA4BhB;AAvHD;;GAEG;AACH,sCAuCC;AAED;;;GAGG;AACH,6CAFW,MAAM,QAyChB;AA9GD;;;GAGG;AACH,6CAiBC;AA/FD;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDE"}
|
package/dist/commands/tool.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Initialize tool system
|
|
3
|
-
* @returns {Promise<ToolLoader|null>} Initialized tool loader or null if failed
|
|
4
|
-
*/
|
|
5
|
-
export function initializeToolSystem(): Promise<ToolLoader | null>;
|
|
6
|
-
/**
|
|
7
|
-
* Execute tool command handler
|
|
8
|
-
* @param {string} toolId - ID of the tool to execute
|
|
9
|
-
* @param {Object} options - Command options
|
|
10
|
-
*/
|
|
11
|
-
export function executeTool(toolId: string, options: any): Promise<void>;
|
|
12
|
-
import ToolLoader = require("../tool-loader");
|
|
13
|
-
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/commands/tool.js"],"names":[],"mappings":"AAiBA;;;GAGG;AACH,wCAFa,OAAO,CAAC,UAAU,GAAC,IAAI,CAAC,CAoCpC;AAED;;;;GAIG;AACH,oCAHW,MAAM,+BAyEhB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export = troubleshootCommand;
|
|
2
|
-
/**
|
|
3
|
-
* Troubleshoot command handler
|
|
4
|
-
* @param {string} guide - Guide key argument
|
|
5
|
-
* @param {Object} options - Command options
|
|
6
|
-
*/
|
|
7
|
-
declare function troubleshootCommand(guide: string, options: any): void;
|
|
8
|
-
//# sourceMappingURL=troubleshoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"troubleshoot.d.ts","sourceRoot":"","sources":["../../src/commands/troubleshoot.js"],"names":[],"mappings":";AAqFA;;;;GAIG;AACH,4CAHW,MAAM,sBAchB"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tutorial command handler
|
|
3
|
-
* @param {string} tutorialType - Type of tutorial to run
|
|
4
|
-
* @param {Object} options - Command options
|
|
5
|
-
*/
|
|
6
|
-
export function tutorialCommand(tutorialType: string, _options?: {}): Promise<any>;
|
|
7
|
-
export namespace TUTORIALS {
|
|
8
|
-
namespace agent {
|
|
9
|
-
let name: string;
|
|
10
|
-
let description: string;
|
|
11
|
-
let icon: string;
|
|
12
|
-
let steps: ({
|
|
13
|
-
id: string;
|
|
14
|
-
title: string;
|
|
15
|
-
content: string;
|
|
16
|
-
action: string;
|
|
17
|
-
verify?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
content: string;
|
|
22
|
-
action: string;
|
|
23
|
-
verify: string;
|
|
24
|
-
})[];
|
|
25
|
-
}
|
|
26
|
-
namespace developer {
|
|
27
|
-
let name_1: string;
|
|
28
|
-
export { name_1 as name };
|
|
29
|
-
let description_1: string;
|
|
30
|
-
export { description_1 as description };
|
|
31
|
-
let icon_1: string;
|
|
32
|
-
export { icon_1 as icon };
|
|
33
|
-
let steps_1: ({
|
|
34
|
-
id: string;
|
|
35
|
-
title: string;
|
|
36
|
-
content: string;
|
|
37
|
-
action: string;
|
|
38
|
-
verify?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
id: string;
|
|
41
|
-
title: string;
|
|
42
|
-
content: string;
|
|
43
|
-
action: string;
|
|
44
|
-
verify: string;
|
|
45
|
-
})[];
|
|
46
|
-
export { steps_1 as steps };
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Interactive tutorial session
|
|
51
|
-
* @param {string} tutorialType - Type of tutorial (agent, developer)
|
|
52
|
-
* @returns {Promise<void>}
|
|
53
|
-
*/
|
|
54
|
-
export function runInteractiveTutorial(tutorialType: string): Promise<void>;
|
|
55
|
-
//# sourceMappingURL=tutorial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tutorial.d.ts","sourceRoot":"","sources":["../../src/commands/tutorial.js"],"names":[],"mappings":"AA4aA;;;;GAIG;AACH,8CAHW,MAAM,+BA4ChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/FD;;;;GAIG;AACH,qDAHW,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CA4CzB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validate command handler
|
|
3
|
-
* Enhanced with multi-spec support and JSON output format
|
|
4
|
-
* @param {string} specFile - Path to spec file (optional, uses spec resolution)
|
|
5
|
-
* @param {Object} options - Command options
|
|
6
|
-
* @param {string} [options.specId] - Feature-specific spec ID
|
|
7
|
-
* @param {boolean} [options.interactive] - Use interactive spec selection
|
|
8
|
-
* @param {boolean} [options.format] - Output format (json)
|
|
9
|
-
*/
|
|
10
|
-
export function validateCommand(specFile: string, options?: {
|
|
11
|
-
specId?: string;
|
|
12
|
-
interactive?: boolean;
|
|
13
|
-
format?: boolean;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
//# sourceMappingURL=validate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/commands/validate.js"],"names":[],"mappings":"AAkBA;;;;;;;;GAQG;AACH,0CANW,MAAM,YAEd;IAAyB,MAAM,GAAvB,MAAM;IACY,WAAW,GAA7B,OAAO;IACW,MAAM,GAAxB,OAAO;CACjB,iBAiNA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Waivers command handler
|
|
3
|
-
*
|
|
4
|
-
* @param {string} subcommand - create, list, show, revoke
|
|
5
|
-
* @param {object} options - Command options
|
|
6
|
-
*/
|
|
7
|
-
export function waiversCommand(subcommand?: string, options?: object): Promise<void>;
|
|
8
|
-
//# sourceMappingURL=waivers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waivers.d.ts","sourceRoot":"","sources":["../../src/commands/waivers.js"],"names":[],"mappings":"AAkBA;;;;;GAKG;AACH,4CAHW,MAAM,YACN,MAAM,iBA2ChB"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Workflow command handler
|
|
3
|
-
*
|
|
4
|
-
* @param {string} workflowType - Type of workflow
|
|
5
|
-
* @param {object} options - Command options
|
|
6
|
-
*/
|
|
7
|
-
export function workflowCommand(workflowType: string, options?: object): Promise<void>;
|
|
8
|
-
/**
|
|
9
|
-
* Generate workflow guidance
|
|
10
|
-
*
|
|
11
|
-
* @param {string} workflowType - Type of workflow (tdd, refactor, feature)
|
|
12
|
-
* @param {number} currentStep - Current step number (1-based)
|
|
13
|
-
* @param {object} context - Optional context information
|
|
14
|
-
* @returns {object} Workflow guidance
|
|
15
|
-
*/
|
|
16
|
-
export function generateWorkflowGuidance(workflowType: string, currentStep: number, context?: object): object;
|
|
17
|
-
export namespace WORKFLOW_TEMPLATES {
|
|
18
|
-
namespace tdd {
|
|
19
|
-
let name: string;
|
|
20
|
-
let steps: string[];
|
|
21
|
-
let guidance: {
|
|
22
|
-
1: string;
|
|
23
|
-
2: string;
|
|
24
|
-
3: string;
|
|
25
|
-
4: string;
|
|
26
|
-
5: string;
|
|
27
|
-
6: string;
|
|
28
|
-
};
|
|
29
|
-
let recommendations: {
|
|
30
|
-
1: string[];
|
|
31
|
-
2: string[];
|
|
32
|
-
3: string[];
|
|
33
|
-
4: string[];
|
|
34
|
-
5: string[];
|
|
35
|
-
6: string[];
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
namespace refactor {
|
|
39
|
-
let name_1: string;
|
|
40
|
-
export { name_1 as name };
|
|
41
|
-
let steps_1: string[];
|
|
42
|
-
export { steps_1 as steps };
|
|
43
|
-
let guidance_1: {
|
|
44
|
-
1: string;
|
|
45
|
-
2: string;
|
|
46
|
-
3: string;
|
|
47
|
-
4: string;
|
|
48
|
-
5: string;
|
|
49
|
-
};
|
|
50
|
-
export { guidance_1 as guidance };
|
|
51
|
-
let recommendations_1: {
|
|
52
|
-
1: string[];
|
|
53
|
-
2: string[];
|
|
54
|
-
3: string[];
|
|
55
|
-
4: string[];
|
|
56
|
-
5: string[];
|
|
57
|
-
};
|
|
58
|
-
export { recommendations_1 as recommendations };
|
|
59
|
-
}
|
|
60
|
-
namespace feature {
|
|
61
|
-
let name_2: string;
|
|
62
|
-
export { name_2 as name };
|
|
63
|
-
let steps_2: string[];
|
|
64
|
-
export { steps_2 as steps };
|
|
65
|
-
let guidance_2: {
|
|
66
|
-
1: string;
|
|
67
|
-
2: string;
|
|
68
|
-
3: string;
|
|
69
|
-
4: string;
|
|
70
|
-
5: string;
|
|
71
|
-
6: string;
|
|
72
|
-
};
|
|
73
|
-
export { guidance_2 as guidance };
|
|
74
|
-
let recommendations_2: {
|
|
75
|
-
1: string[];
|
|
76
|
-
2: string[];
|
|
77
|
-
3: string[];
|
|
78
|
-
4: string[];
|
|
79
|
-
5: string[];
|
|
80
|
-
6: string[];
|
|
81
|
-
};
|
|
82
|
-
export { recommendations_2 as recommendations };
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=workflow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/commands/workflow.js"],"names":[],"mappings":"AA2IA;;;;;GAKG;AACH,8CAHW,MAAM,YACN,MAAM,iBA6FhB;AA7ID;;;;;;;GAOG;AACH,uDALW,MAAM,eACN,MAAM,YACN,MAAM,GACJ,MAAM,CAoClB"}
|