@paths.design/caws-cli 7.0.3 → 8.0.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/dist/commands/quality-gates.js +147 -9
- package/dist/commands/specs.js +108 -13
- package/dist/commands/tool.js +0 -1
- package/dist/scaffold/git-hooks.js +159 -58
- package/dist/scaffold/index.js +1 -1
- package/dist/templates/.caws/tools/README.md +1 -0
- package/dist/utils/git-lock.js +1 -0
- package/dist/utils/project-analysis.js +176 -16
- package/dist/utils/quality-gates.js +7 -6
- package/dist/utils/spec-resolver.js +4 -0
- package/dist/utils/yaml-validation.js +1 -0
- package/package.json +1 -1
- package/templates/.caws/tools/README.md +1 -0
- 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
|
@@ -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":"AAmBA;;;;;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"}
|
package/dist/config/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import CLI_VERSION_1 = require("../../package.json");
|
|
2
|
-
import CLI_VERSION = CLI_VERSION_1.version;
|
|
3
|
-
/**
|
|
4
|
-
* Initialize global setup detection
|
|
5
|
-
* @returns {Object} Setup configuration
|
|
6
|
-
*/
|
|
7
|
-
export function initializeGlobalSetup(): any;
|
|
8
|
-
/**
|
|
9
|
-
* Load provenance tools dynamically
|
|
10
|
-
* @returns {Object|null} Provenance tools or null if not available
|
|
11
|
-
*/
|
|
12
|
-
export function loadProvenanceTools(): any | null;
|
|
13
|
-
/**
|
|
14
|
-
* Initialize language support tools
|
|
15
|
-
* @returns {Object|null} Language support tools or null if not available
|
|
16
|
-
*/
|
|
17
|
-
export function initializeLanguageSupport(): any | null;
|
|
18
|
-
/**
|
|
19
|
-
* Get global CAWS setup
|
|
20
|
-
* @returns {Object} CAWS setup configuration
|
|
21
|
-
*/
|
|
22
|
-
export function getGlobalCAWSSetup(): any;
|
|
23
|
-
/**
|
|
24
|
-
* Set global CAWS setup (for testing or override)
|
|
25
|
-
* @param {Object} setup - Setup configuration
|
|
26
|
-
*/
|
|
27
|
-
export function setGlobalCAWSSetup(setup: any): void;
|
|
28
|
-
export { CLI_VERSION };
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.js"],"names":[],"mappings":";mCAakD,OAAO;AAOzD;;;GAGG;AACH,6CAkBC;AAED;;;GAGG;AACH,uCAFa,MAAO,IAAI,CA2CvB;AAED;;;GAGG;AACH,6CAFa,MAAO,IAAI,CAmCvB;AAED;;;GAGG;AACH,0CAEC;AAED;;;GAGG;AACH,qDAEC"}
|
package/dist/config/modes.d.ts
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
export namespace COMPLEXITY_TIERS {
|
|
2
|
-
namespace simple {
|
|
3
|
-
let name: string;
|
|
4
|
-
let description: string;
|
|
5
|
-
let color: chalk.Chalk;
|
|
6
|
-
let icon: string;
|
|
7
|
-
namespace features {
|
|
8
|
-
let workingSpec: boolean;
|
|
9
|
-
let basicValidation: boolean;
|
|
10
|
-
let statusDisplay: boolean;
|
|
11
|
-
let noQualityGates: boolean;
|
|
12
|
-
let noProvenance: boolean;
|
|
13
|
-
let noWaivers: boolean;
|
|
14
|
-
let noChangeBudgets: boolean;
|
|
15
|
-
let noMultiSpec: boolean;
|
|
16
|
-
}
|
|
17
|
-
namespace qualityRequirements {
|
|
18
|
-
let testCoverage: number;
|
|
19
|
-
let mutationScore: number;
|
|
20
|
-
let contracts: string;
|
|
21
|
-
}
|
|
22
|
-
let riskTiers: string[];
|
|
23
|
-
namespace commands {
|
|
24
|
-
let init: boolean;
|
|
25
|
-
let validate: boolean;
|
|
26
|
-
let status: boolean;
|
|
27
|
-
let specs: boolean;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
namespace standard {
|
|
31
|
-
let name_1: string;
|
|
32
|
-
export { name_1 as name };
|
|
33
|
-
let description_1: string;
|
|
34
|
-
export { description_1 as description };
|
|
35
|
-
let color_1: chalk.Chalk;
|
|
36
|
-
export { color_1 as color };
|
|
37
|
-
let icon_1: string;
|
|
38
|
-
export { icon_1 as icon };
|
|
39
|
-
export namespace features_1 {
|
|
40
|
-
let workingSpec_1: boolean;
|
|
41
|
-
export { workingSpec_1 as workingSpec };
|
|
42
|
-
export let fullValidation: boolean;
|
|
43
|
-
let statusDisplay_1: boolean;
|
|
44
|
-
export { statusDisplay_1 as statusDisplay };
|
|
45
|
-
export let qualityGates: boolean;
|
|
46
|
-
export let provenance: boolean;
|
|
47
|
-
export let waivers: boolean;
|
|
48
|
-
export let changeBudgets: boolean;
|
|
49
|
-
export let multiSpec: boolean;
|
|
50
|
-
export let changeFolders: boolean;
|
|
51
|
-
}
|
|
52
|
-
export { features_1 as features };
|
|
53
|
-
export namespace qualityRequirements_1 {
|
|
54
|
-
let testCoverage_1: number;
|
|
55
|
-
export { testCoverage_1 as testCoverage };
|
|
56
|
-
let mutationScore_1: number;
|
|
57
|
-
export { mutationScore_1 as mutationScore };
|
|
58
|
-
let contracts_1: string;
|
|
59
|
-
export { contracts_1 as contracts };
|
|
60
|
-
}
|
|
61
|
-
export { qualityRequirements_1 as qualityRequirements };
|
|
62
|
-
let riskTiers_1: string[];
|
|
63
|
-
export { riskTiers_1 as riskTiers };
|
|
64
|
-
export namespace commands_1 {
|
|
65
|
-
let init_1: boolean;
|
|
66
|
-
export { init_1 as init };
|
|
67
|
-
let validate_1: boolean;
|
|
68
|
-
export { validate_1 as validate };
|
|
69
|
-
let status_1: boolean;
|
|
70
|
-
export { status_1 as status };
|
|
71
|
-
let specs_1: boolean;
|
|
72
|
-
export { specs_1 as specs };
|
|
73
|
-
export let diagnose: boolean;
|
|
74
|
-
export let evaluate: boolean;
|
|
75
|
-
export let iterate: boolean;
|
|
76
|
-
let provenance_1: boolean;
|
|
77
|
-
export { provenance_1 as provenance };
|
|
78
|
-
let waivers_1: boolean;
|
|
79
|
-
export { waivers_1 as waivers };
|
|
80
|
-
export let hooks: boolean;
|
|
81
|
-
export let archive: boolean;
|
|
82
|
-
}
|
|
83
|
-
export { commands_1 as commands };
|
|
84
|
-
}
|
|
85
|
-
namespace enterprise {
|
|
86
|
-
let name_2: string;
|
|
87
|
-
export { name_2 as name };
|
|
88
|
-
let description_2: string;
|
|
89
|
-
export { description_2 as description };
|
|
90
|
-
let color_2: chalk.Chalk;
|
|
91
|
-
export { color_2 as color };
|
|
92
|
-
let icon_2: string;
|
|
93
|
-
export { icon_2 as icon };
|
|
94
|
-
export namespace features_2 {
|
|
95
|
-
let workingSpec_2: boolean;
|
|
96
|
-
export { workingSpec_2 as workingSpec };
|
|
97
|
-
let fullValidation_1: boolean;
|
|
98
|
-
export { fullValidation_1 as fullValidation };
|
|
99
|
-
let statusDisplay_2: boolean;
|
|
100
|
-
export { statusDisplay_2 as statusDisplay };
|
|
101
|
-
let qualityGates_1: boolean;
|
|
102
|
-
export { qualityGates_1 as qualityGates };
|
|
103
|
-
let provenance_2: boolean;
|
|
104
|
-
export { provenance_2 as provenance };
|
|
105
|
-
let waivers_2: boolean;
|
|
106
|
-
export { waivers_2 as waivers };
|
|
107
|
-
let changeBudgets_1: boolean;
|
|
108
|
-
export { changeBudgets_1 as changeBudgets };
|
|
109
|
-
let multiSpec_1: boolean;
|
|
110
|
-
export { multiSpec_1 as multiSpec };
|
|
111
|
-
let changeFolders_1: boolean;
|
|
112
|
-
export { changeFolders_1 as changeFolders };
|
|
113
|
-
export let auditTrails: boolean;
|
|
114
|
-
export let compliance: boolean;
|
|
115
|
-
export let advancedMonitoring: boolean;
|
|
116
|
-
}
|
|
117
|
-
export { features_2 as features };
|
|
118
|
-
export namespace qualityRequirements_2 {
|
|
119
|
-
let testCoverage_2: number;
|
|
120
|
-
export { testCoverage_2 as testCoverage };
|
|
121
|
-
let mutationScore_2: number;
|
|
122
|
-
export { mutationScore_2 as mutationScore };
|
|
123
|
-
let contracts_2: string;
|
|
124
|
-
export { contracts_2 as contracts };
|
|
125
|
-
}
|
|
126
|
-
export { qualityRequirements_2 as qualityRequirements };
|
|
127
|
-
let riskTiers_2: string[];
|
|
128
|
-
export { riskTiers_2 as riskTiers };
|
|
129
|
-
export namespace commands_2 {
|
|
130
|
-
let init_2: boolean;
|
|
131
|
-
export { init_2 as init };
|
|
132
|
-
let validate_2: boolean;
|
|
133
|
-
export { validate_2 as validate };
|
|
134
|
-
let status_2: boolean;
|
|
135
|
-
export { status_2 as status };
|
|
136
|
-
let specs_2: boolean;
|
|
137
|
-
export { specs_2 as specs };
|
|
138
|
-
let diagnose_1: boolean;
|
|
139
|
-
export { diagnose_1 as diagnose };
|
|
140
|
-
let evaluate_1: boolean;
|
|
141
|
-
export { evaluate_1 as evaluate };
|
|
142
|
-
let iterate_1: boolean;
|
|
143
|
-
export { iterate_1 as iterate };
|
|
144
|
-
let provenance_3: boolean;
|
|
145
|
-
export { provenance_3 as provenance };
|
|
146
|
-
let waivers_3: boolean;
|
|
147
|
-
export { waivers_3 as waivers };
|
|
148
|
-
let hooks_1: boolean;
|
|
149
|
-
export { hooks_1 as hooks };
|
|
150
|
-
let archive_1: boolean;
|
|
151
|
-
export { archive_1 as archive };
|
|
152
|
-
export let troubleshoot: boolean;
|
|
153
|
-
export let testAnalysis: boolean;
|
|
154
|
-
export let qualityMonitor: boolean;
|
|
155
|
-
}
|
|
156
|
-
export { commands_2 as commands };
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Get tier information
|
|
161
|
-
* @param {string} tier - Tier name
|
|
162
|
-
* @returns {Object} Tier configuration
|
|
163
|
-
*/
|
|
164
|
-
export function getTier(tier: string): any;
|
|
165
|
-
/**
|
|
166
|
-
* Get available tiers
|
|
167
|
-
* @returns {string[]} Array of tier names
|
|
168
|
-
*/
|
|
169
|
-
export function getAvailableTiers(): string[];
|
|
170
|
-
/**
|
|
171
|
-
* Get current mode from configuration
|
|
172
|
-
* @returns {Promise<string>} Current mode
|
|
173
|
-
*/
|
|
174
|
-
export function getCurrentMode(): Promise<string>;
|
|
175
|
-
/**
|
|
176
|
-
* Set current mode in configuration
|
|
177
|
-
* @param {string} mode - Mode to set
|
|
178
|
-
* @returns {Promise<boolean>} Success status
|
|
179
|
-
*/
|
|
180
|
-
export function setCurrentMode(mode: string): Promise<boolean>;
|
|
181
|
-
/**
|
|
182
|
-
* Check if a command is available in the current tier
|
|
183
|
-
* @param {string} command - Command name
|
|
184
|
-
* @param {string} tier - Tier name
|
|
185
|
-
* @returns {boolean} Whether command is available
|
|
186
|
-
*/
|
|
187
|
-
export function isCommandAvailable(command: string, tier?: string): boolean;
|
|
188
|
-
/**
|
|
189
|
-
* Check if a feature is enabled in the current tier
|
|
190
|
-
* @param {string} feature - Feature name
|
|
191
|
-
* @param {string} tier - Tier name
|
|
192
|
-
* @returns {boolean} Whether feature is enabled
|
|
193
|
-
*/
|
|
194
|
-
export function isFeatureEnabled(feature: string, tier?: string): boolean;
|
|
195
|
-
/**
|
|
196
|
-
* Get quality requirements for a tier
|
|
197
|
-
* @param {string} tier - Tier name
|
|
198
|
-
* @returns {Object} Quality requirements
|
|
199
|
-
*/
|
|
200
|
-
export function getQualityRequirements(tier?: string): any;
|
|
201
|
-
/**
|
|
202
|
-
* Get supported risk tiers for a complexity tier
|
|
203
|
-
* @param {string} tier - Tier name
|
|
204
|
-
* @returns {string[]} Supported risk tiers
|
|
205
|
-
*/
|
|
206
|
-
export function getSupportedRiskTiers(tier?: string): string[];
|
|
207
|
-
/**
|
|
208
|
-
* Validate if a risk tier is supported in the current complexity tier
|
|
209
|
-
* @param {string} riskTier - Risk tier to validate
|
|
210
|
-
* @param {string} complexityTier - Complexity tier
|
|
211
|
-
* @returns {boolean} Whether risk tier is supported
|
|
212
|
-
*/
|
|
213
|
-
export function isRiskTierSupported(riskTier: string, complexityTier?: string): boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Display tier comparison
|
|
216
|
-
*/
|
|
217
|
-
export function displayTierComparison(): void;
|
|
218
|
-
/**
|
|
219
|
-
* Get tier recommendation based on project characteristics
|
|
220
|
-
* @param {Object} projectInfo - Project information
|
|
221
|
-
* @returns {string} Recommended tier
|
|
222
|
-
*/
|
|
223
|
-
export function getTierRecommendation(projectInfo?: any): string;
|
|
224
|
-
import chalk = require("chalk");
|
|
225
|
-
//# sourceMappingURL=modes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modes.d.ts","sourceRoot":"","sources":["../../src/config/modes.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2HA;;;;GAIG;AACH,8BAHW,MAAM,OAKhB;AAED;;;GAGG;AACH,qCAFa,MAAM,EAAE,CAIpB;AA8FD;;;GAGG;AACH,kCAFa,OAAO,CAAC,MAAM,CAAC,CAgB3B;AAED;;;;GAIG;AACH,qCAHW,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAuB5B;AA1ID;;;;;GAKG;AACH,4CAJW,MAAM,SACN,MAAM,GACJ,OAAO,CAKnB;AAED;;;;;GAKG;AACH,0CAJW,MAAM,SACN,MAAM,GACJ,OAAO,CAKnB;AAED;;;;GAIG;AACH,8CAHW,MAAM,OAMhB;AAED;;;;GAIG;AACH,6CAHW,MAAM,GACJ,MAAM,EAAE,CAKpB;AAED;;;;;GAKG;AACH,8CAJW,MAAM,mBACN,MAAM,GACJ,OAAO,CAKnB;AAED;;GAEG;AACH,8CAkCC;AAkDD;;;;GAIG;AACH,0DAFa,MAAM,CAsBlB"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export namespace SPEC_TYPES {
|
|
2
|
-
namespace feature {
|
|
3
|
-
let color: chalk.Chalk;
|
|
4
|
-
let icon: string;
|
|
5
|
-
let description: string;
|
|
6
|
-
}
|
|
7
|
-
namespace fix {
|
|
8
|
-
let color_1: chalk.Chalk;
|
|
9
|
-
export { color_1 as color };
|
|
10
|
-
let icon_1: string;
|
|
11
|
-
export { icon_1 as icon };
|
|
12
|
-
let description_1: string;
|
|
13
|
-
export { description_1 as description };
|
|
14
|
-
}
|
|
15
|
-
namespace refactor {
|
|
16
|
-
let color_2: chalk.Chalk;
|
|
17
|
-
export { color_2 as color };
|
|
18
|
-
let icon_2: string;
|
|
19
|
-
export { icon_2 as icon };
|
|
20
|
-
let description_2: string;
|
|
21
|
-
export { description_2 as description };
|
|
22
|
-
}
|
|
23
|
-
namespace chore {
|
|
24
|
-
let color_3: chalk.Chalk;
|
|
25
|
-
export { color_3 as color };
|
|
26
|
-
let icon_3: string;
|
|
27
|
-
export { icon_3 as icon };
|
|
28
|
-
let description_3: string;
|
|
29
|
-
export { description_3 as description };
|
|
30
|
-
}
|
|
31
|
-
namespace docs {
|
|
32
|
-
let color_4: chalk.Chalk;
|
|
33
|
-
export { color_4 as color };
|
|
34
|
-
let icon_4: string;
|
|
35
|
-
export { icon_4 as icon };
|
|
36
|
-
let description_4: string;
|
|
37
|
-
export { description_4 as description };
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
import chalk = require("chalk");
|
|
41
|
-
//# sourceMappingURL=spec-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec-types.d.ts","sourceRoot":"","sources":["../../src/constants/spec-types.js"],"names":[],"mappings":""}
|