@paths.design/caws-cli 9.3.2 → 10.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/README.md +58 -27
- package/dist/commands/archive.js +67 -28
- package/dist/commands/burnup.js +20 -11
- package/dist/commands/diagnose.js +34 -22
- package/dist/commands/evaluate.js +27 -15
- package/dist/commands/gates.js +122 -0
- package/dist/commands/init.js +143 -15
- package/dist/commands/iterate.js +77 -4
- package/dist/commands/parallel.js +4 -0
- package/dist/commands/plan.js +9 -19
- package/dist/commands/provenance.js +53 -17
- package/dist/commands/quality-monitor.js +64 -45
- package/dist/commands/sidecar.js +71 -0
- package/dist/commands/specs.js +233 -44
- package/dist/commands/status.js +113 -9
- package/dist/commands/tutorial.js +10 -9
- package/dist/commands/validate.js +49 -6
- package/dist/commands/verify-acs.js +35 -78
- package/dist/commands/waivers.js +69 -12
- package/dist/commands/worktree.js +50 -25
- package/dist/error-handler.js +2 -13
- package/dist/gates/budget-limit.js +116 -0
- package/dist/gates/feedback.js +260 -0
- package/dist/gates/format.js +179 -0
- package/dist/gates/god-object.js +117 -0
- package/dist/gates/pipeline.js +167 -0
- package/dist/gates/scope-boundary.js +93 -0
- package/dist/gates/spec-completeness.js +102 -0
- package/dist/gates/todo-detection.js +205 -0
- package/dist/index.js +130 -151
- package/dist/parallel/parallel-manager.js +3 -3
- package/dist/policy/PolicyManager.js +42 -10
- package/dist/scaffold/claude-hooks.js +24 -1
- package/dist/scaffold/git-hooks.js +45 -102
- package/dist/scaffold/index.js +4 -3
- package/dist/session/session-manager.js +71 -14
- package/dist/sidecars/index.js +33 -0
- package/dist/sidecars/listeners.js +40 -0
- package/dist/sidecars/provenance-summary.js +238 -0
- package/dist/sidecars/quality-gaps.js +258 -0
- package/dist/sidecars/schema.js +149 -0
- package/dist/sidecars/spec-drift.js +151 -0
- package/dist/sidecars/waiver-draft.js +176 -0
- package/dist/templates/.caws/schemas/policy.schema.json +50 -0
- package/dist/templates/.caws/schemas/waivers.schema.json +30 -24
- package/dist/templates/.caws/schemas/working-spec.schema.json +51 -8
- package/dist/templates/.caws/schemas/worktrees.schema.json +3 -1
- package/dist/templates/.caws/templates/working-spec.template.yml +7 -3
- package/dist/templates/.claude/hooks/audit.sh +0 -0
- package/dist/templates/.claude/hooks/block-dangerous.sh +52 -11
- package/dist/templates/.claude/hooks/classify_command.py +592 -0
- package/dist/templates/.claude/hooks/doc-frontmatter-check.sh +173 -0
- package/dist/templates/.claude/hooks/quality-check.sh +23 -10
- package/dist/templates/.claude/hooks/scope-guard.sh +34 -32
- package/dist/templates/.claude/hooks/session-caws-status.sh +2 -2
- package/dist/templates/.claude/hooks/session-log.sh +76 -3
- package/dist/templates/.claude/hooks/stop-worktree-check.sh +1 -1
- package/dist/templates/.claude/hooks/test_classify_command.py +370 -0
- package/dist/templates/.claude/hooks/test_wrapper_smoke.sh +96 -0
- package/dist/templates/.claude/hooks/worktree-guard.sh +2 -2
- package/dist/templates/.claude/hooks/worktree-write-guard.sh +1 -1
- package/dist/templates/.claude/settings.json +26 -0
- package/dist/templates/.cursor/hooks/caws-quality-check.sh +4 -4
- package/dist/templates/.cursor/hooks/caws-scope-guard.sh +1 -1
- package/dist/templates/.cursor/hooks/session-log.sh +924 -0
- package/dist/templates/.cursor/hooks.json +25 -0
- package/dist/templates/.cursor/rules/02-quality-gates.mdc +3 -5
- package/dist/templates/.cursor/rules/10-documentation-quality-standards.mdc +6 -11
- package/dist/templates/.cursor/rules/11-scope-management-waivers.mdc +14 -18
- package/dist/templates/.cursor/rules/12-implementation-completeness.mdc +4 -4
- package/dist/templates/.cursor/rules/13-language-agnostic-standards.mdc +3 -13
- package/dist/templates/.github/copilot-instructions.md +5 -5
- package/dist/templates/.idea/runConfigurations/CAWS_Evaluate.xml +1 -1
- package/dist/templates/.junie/guidelines.md +2 -2
- package/dist/templates/.vscode/settings.json +3 -1
- package/dist/templates/.windsurf/rules/caws-quality-standards.md +2 -2
- package/dist/templates/.windsurf/workflows/caws-guided-development.md +3 -3
- package/dist/templates/CLAUDE.md +43 -8
- package/dist/templates/agents.md +29 -9
- package/dist/templates/docs/README.md +8 -7
- package/dist/templates/scripts/new_feature.sh +80 -0
- package/dist/test-analysis.js +43 -30
- package/dist/tool-loader.js +1 -1
- package/dist/utils/agent-session.js +202 -0
- package/dist/utils/detection.js +8 -2
- package/dist/utils/finalization.js +7 -6
- package/dist/utils/gitignore-updater.js +3 -0
- package/dist/utils/lifecycle-events.js +94 -0
- package/dist/utils/quality-gates-utils.js +29 -44
- package/dist/utils/schema-validator.js +42 -0
- package/dist/utils/spec-resolver.js +93 -21
- package/dist/utils/working-state.js +505 -0
- package/dist/validation/spec-validation.js +92 -22
- package/dist/waivers-manager.js +60 -6
- package/dist/worktree/worktree-manager.js +390 -93
- package/package.json +6 -6
- package/templates/.caws/schemas/policy.schema.json +50 -0
- package/templates/.caws/schemas/waivers.schema.json +30 -24
- package/templates/.caws/schemas/working-spec.schema.json +51 -8
- package/templates/.caws/schemas/worktrees.schema.json +3 -1
- package/templates/.caws/templates/working-spec.template.yml +7 -3
- package/templates/.claude/hooks/block-dangerous.sh +52 -11
- package/templates/.claude/hooks/classify_command.py +592 -0
- package/templates/.claude/hooks/doc-frontmatter-check.sh +173 -0
- package/templates/.claude/hooks/quality-check.sh +23 -10
- package/templates/.claude/hooks/scope-guard.sh +34 -32
- package/templates/.claude/hooks/session-caws-status.sh +2 -2
- package/templates/.claude/hooks/session-log.sh +76 -3
- package/templates/.claude/hooks/stop-worktree-check.sh +1 -1
- package/templates/.claude/hooks/test_classify_command.py +370 -0
- package/templates/.claude/hooks/test_wrapper_smoke.sh +96 -0
- package/templates/.claude/hooks/worktree-guard.sh +2 -2
- package/templates/.claude/hooks/worktree-write-guard.sh +1 -1
- package/templates/.claude/settings.json +26 -0
- package/templates/.cursor/hooks/caws-quality-check.sh +4 -4
- package/templates/.cursor/hooks/caws-scope-guard.sh +1 -1
- package/templates/.cursor/hooks/session-log.sh +924 -0
- package/templates/.cursor/hooks.json +25 -0
- package/templates/.cursor/rules/02-quality-gates.mdc +3 -5
- package/templates/.cursor/rules/10-documentation-quality-standards.mdc +6 -11
- package/templates/.cursor/rules/11-scope-management-waivers.mdc +14 -18
- package/templates/.cursor/rules/12-implementation-completeness.mdc +4 -4
- package/templates/.cursor/rules/13-language-agnostic-standards.mdc +3 -13
- package/templates/.github/copilot-instructions.md +5 -5
- package/templates/.idea/runConfigurations/CAWS_Evaluate.xml +1 -1
- package/templates/.junie/guidelines.md +2 -2
- package/templates/.vscode/settings.json +3 -1
- package/templates/.windsurf/rules/caws-quality-standards.md +2 -2
- package/templates/.windsurf/workflows/caws-guided-development.md +3 -3
- package/templates/CLAUDE.md +43 -8
- package/templates/{AGENTS.md → agents.md} +29 -9
- package/templates/docs/README.md +8 -7
- package/templates/scripts/new_feature.sh +80 -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 -51
- 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 -25
- package/dist/commands/mode.d.ts.map +0 -1
- package/dist/commands/parallel.d.ts +0 -7
- package/dist/commands/parallel.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 -6
- package/dist/commands/quality-gates.d.ts.map +0 -1
- package/dist/commands/quality-gates.js +0 -444
- package/dist/commands/quality-monitor.d.ts +0 -17
- package/dist/commands/quality-monitor.d.ts.map +0 -1
- package/dist/commands/session.d.ts +0 -7
- package/dist/commands/session.d.ts.map +0 -1
- package/dist/commands/specs.d.ts +0 -77
- 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/troubleshoot.js +0 -104
- 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/commands/worktree.d.ts +0 -7
- package/dist/commands/worktree.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/lite-scope.d.ts +0 -33
- package/dist/config/lite-scope.d.ts.map +0 -1
- package/dist/config/modes.d.ts +0 -264
- package/dist/config/modes.d.ts.map +0 -1
- package/dist/constants/spec-types.d.ts +0 -93
- package/dist/constants/spec-types.d.ts.map +0 -1
- package/dist/error-handler.d.ts +0 -151
- package/dist/error-handler.d.ts.map +0 -1
- package/dist/generators/jest-config-generator.d.ts +0 -32
- package/dist/generators/jest-config-generator.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/jest-config.js +0 -242
- 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/parallel/parallel-manager.d.ts +0 -67
- package/dist/parallel/parallel-manager.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/claude-hooks.d.ts +0 -28
- package/dist/scaffold/claude-hooks.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 -38
- package/dist/scaffold/git-hooks.d.ts.map +0 -1
- package/dist/scaffold/index.d.ts +0 -17
- package/dist/scaffold/index.d.ts.map +0 -1
- package/dist/session/session-manager.d.ts +0 -94
- package/dist/session/session-manager.d.ts.map +0 -1
- package/dist/spec/SpecFileManager.d.ts +0 -146
- package/dist/spec/SpecFileManager.d.ts.map +0 -1
- package/dist/templates/.cursor/hooks/caws-tool-validation.sh +0 -121
- package/dist/templates/.github/copilot/instructions.md +0 -311
- package/dist/test-analysis.d.ts +0 -231
- 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/async-utils.d.ts +0 -73
- package/dist/utils/async-utils.d.ts.map +0 -1
- package/dist/utils/command-wrapper.d.ts +0 -66
- package/dist/utils/command-wrapper.d.ts.map +0 -1
- package/dist/utils/detection.d.ts +0 -14
- package/dist/utils/detection.d.ts.map +0 -1
- package/dist/utils/error-categories.d.ts +0 -52
- package/dist/utils/error-categories.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/git-lock.d.ts +0 -13
- package/dist/utils/git-lock.d.ts.map +0 -1
- package/dist/utils/gitignore-updater.d.ts +0 -39
- package/dist/utils/gitignore-updater.d.ts.map +0 -1
- package/dist/utils/ide-detection.d.ts +0 -89
- package/dist/utils/ide-detection.d.ts.map +0 -1
- package/dist/utils/project-analysis.d.ts +0 -34
- package/dist/utils/project-analysis.d.ts.map +0 -1
- package/dist/utils/promise-utils.d.ts +0 -30
- package/dist/utils/promise-utils.d.ts.map +0 -1
- package/dist/utils/quality-gates-utils.d.ts +0 -49
- package/dist/utils/quality-gates-utils.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/quality-gates.js +0 -402
- package/dist/utils/spec-resolver.d.ts +0 -80
- package/dist/utils/spec-resolver.d.ts.map +0 -1
- package/dist/utils/typescript-detector.d.ts +0 -66
- package/dist/utils/typescript-detector.d.ts.map +0 -1
- package/dist/utils/yaml-validation.d.ts +0 -32
- package/dist/utils/yaml-validation.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/dist/worktree/worktree-manager.d.ts +0 -54
- package/dist/worktree/worktree-manager.d.ts.map +0 -1
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<any>;
|
|
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":"AAgBA;;;GAGG;AACH,wCAFa,OAAO,CAAC,UAAU,GAAC,IAAI,CAAC,CAwCpC;AAED;;;;GAIG;AACH,oCAHW,MAAM,8BAoEhB"}
|
|
@@ -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,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview CAWS CLI Troubleshoot Command
|
|
3
|
-
* Provides detailed troubleshooting guides for common CAWS issues
|
|
4
|
-
* @author @darianrosebrook
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
const chalk = require('chalk');
|
|
8
|
-
const { getTroubleshootingGuide, getAllTroubleshootingGuides } = require('../error-handler');
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Display a specific troubleshooting guide
|
|
12
|
-
* @param {string} guideKey - Key for the troubleshooting guide
|
|
13
|
-
*/
|
|
14
|
-
function displayGuide(guideKey) {
|
|
15
|
-
const guide = getTroubleshootingGuide(guideKey);
|
|
16
|
-
|
|
17
|
-
if (!guide) {
|
|
18
|
-
console.error(chalk.red(`Troubleshooting guide '${guideKey}' not found.`));
|
|
19
|
-
console.log(chalk.yellow('\nAvailable guides:'));
|
|
20
|
-
const allGuides = getAllTroubleshootingGuides();
|
|
21
|
-
Object.keys(allGuides).forEach((key) => {
|
|
22
|
-
console.log(chalk.yellow(` ${key}: ${allGuides[key].title}`));
|
|
23
|
-
});
|
|
24
|
-
console.log(chalk.yellow('\nTry: caws troubleshoot --list for all available guides'));
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
console.log(chalk.bold.blue(`${guide.title}`));
|
|
29
|
-
console.log(chalk.gray('═'.repeat(50)));
|
|
30
|
-
|
|
31
|
-
if (guide.symptoms && guide.symptoms.length > 0) {
|
|
32
|
-
console.log(chalk.yellow('\nSymptoms:'));
|
|
33
|
-
guide.symptoms.forEach((symptom) => {
|
|
34
|
-
console.log(chalk.gray(` - ${symptom}`));
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
if (guide.rootCauses && guide.rootCauses.length > 0) {
|
|
39
|
-
console.log(chalk.red('\nPossible Root Causes:'));
|
|
40
|
-
guide.rootCauses.forEach((cause) => {
|
|
41
|
-
console.log(chalk.gray(` - ${cause}`));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (guide.solutions && guide.solutions.length > 0) {
|
|
46
|
-
console.log(chalk.green('\nSolutions:'));
|
|
47
|
-
guide.solutions.forEach((solution, index) => {
|
|
48
|
-
console.log(chalk.gray(` ${index + 1}. ${solution}`));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
if (guide.commands && guide.commands.length > 0) {
|
|
53
|
-
console.log(chalk.cyan('\nTry These Commands:'));
|
|
54
|
-
guide.commands.forEach((command) => {
|
|
55
|
-
console.log(chalk.gray(` $ ${command}`));
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
console.log(chalk.gray('\n═'.repeat(50)));
|
|
60
|
-
console.log(chalk.blue('For more help: caws --help or visit the documentation'));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* List all available troubleshooting guides
|
|
65
|
-
*/
|
|
66
|
-
function listGuides() {
|
|
67
|
-
console.log(chalk.bold.blue('Available Troubleshooting Guides'));
|
|
68
|
-
console.log(chalk.gray('═'.repeat(50)));
|
|
69
|
-
|
|
70
|
-
const allGuides = getAllTroubleshootingGuides();
|
|
71
|
-
Object.entries(allGuides).forEach(([key, guide]) => {
|
|
72
|
-
console.log(chalk.cyan(`${key}:`));
|
|
73
|
-
console.log(chalk.gray(` ${guide.title}`));
|
|
74
|
-
if (guide.symptoms && guide.symptoms.length > 0) {
|
|
75
|
-
console.log(
|
|
76
|
-
chalk.gray(` Symptoms: ${guide.symptoms[0]}${guide.symptoms.length > 1 ? '...' : ''}`)
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
console.log('');
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
console.log(chalk.yellow('Usage: caws troubleshoot <guide-key>'));
|
|
83
|
-
console.log(chalk.yellow('Example: caws troubleshoot coverage-report-not-found'));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Troubleshoot command handler
|
|
88
|
-
* @param {string} guide - Guide key argument
|
|
89
|
-
* @param {Object} options - Command options
|
|
90
|
-
*/
|
|
91
|
-
function troubleshootCommand(guide, options) {
|
|
92
|
-
try {
|
|
93
|
-
if (options.list || !guide) {
|
|
94
|
-
listGuides();
|
|
95
|
-
} else {
|
|
96
|
-
displayGuide(guide);
|
|
97
|
-
}
|
|
98
|
-
} catch (error) {
|
|
99
|
-
console.error(chalk.red(`Error: ${error.message}`));
|
|
100
|
-
process.exit(1);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
module.exports = troubleshootCommand;
|
|
@@ -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":"AA0aA;;;;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,iBAsQA"}
|
|
@@ -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<any>;
|
|
8
|
-
//# sourceMappingURL=waivers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waivers.d.ts","sourceRoot":"","sources":["../../src/commands/waivers.js"],"names":[],"mappings":"AAsCA;;;;;GAKG;AACH,4CAHW,MAAM,YACN,MAAM,gBAyChB"}
|
|
@@ -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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worktree.d.ts","sourceRoot":"","sources":["../../src/commands/worktree.js"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,4CAHW,MAAM,gCAuBhB"}
|
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,CA+CvB;AAED;;;GAGG;AACH,6CAFa,MAAO,IAAI,CAwCvB;AAED;;;GAGG;AACH,0CAEC;AAED;;;GAGG;AACH,qDAEC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Load lite scope configuration from .caws/scope.json
|
|
3
|
-
* @param {string} [projectRoot] - Project root directory (defaults to cwd)
|
|
4
|
-
* @returns {Object} Scope configuration (defaults if file not found)
|
|
5
|
-
*/
|
|
6
|
-
export function loadLiteScope(projectRoot?: string): any;
|
|
7
|
-
/**
|
|
8
|
-
* Check if a file path is allowed by the scope configuration
|
|
9
|
-
* @param {string} filePath - Relative file path to check
|
|
10
|
-
* @param {Object} [scope] - Scope configuration (loads from disk if not provided)
|
|
11
|
-
* @param {string} [projectRoot] - Project root directory
|
|
12
|
-
* @returns {boolean} Whether the path is allowed
|
|
13
|
-
*/
|
|
14
|
-
export function isPathAllowed(filePath: string, scope?: any, projectRoot?: string): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Check if a filename or path matches any banned pattern
|
|
17
|
-
* @param {string} filePath - File path to check
|
|
18
|
-
* @param {Object} [scope] - Scope configuration (loads from disk if not provided)
|
|
19
|
-
* @param {string} [projectRoot] - Project root directory
|
|
20
|
-
* @returns {{ matched: boolean, pattern: string|null, category: string|null }} Match result
|
|
21
|
-
*/
|
|
22
|
-
export function matchesBannedPattern(filePath: string, scope?: any, projectRoot?: string): {
|
|
23
|
-
matched: boolean;
|
|
24
|
-
pattern: string | null;
|
|
25
|
-
category: string | null;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Default scope configuration for lite mode
|
|
29
|
-
* @returns {Object} Default scope.json contents
|
|
30
|
-
*/
|
|
31
|
-
export function getLiteScopeDefaults(): any;
|
|
32
|
-
export const SCOPE_FILE: ".caws/scope.json";
|
|
33
|
-
//# sourceMappingURL=lite-scope.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lite-scope.d.ts","sourceRoot":"","sources":["../../src/config/lite-scope.js"],"names":[],"mappings":"AA8BA;;;;GAIG;AACH,4CAHW,MAAM,OAgChB;AAED;;;;;;GAMG;AACH,wCALW,MAAM,6BAEN,MAAM,GACJ,OAAO,CAiCnB;AAED;;;;;;GAMG;AACH,+CALW,MAAM,6BAEN,MAAM,GACJ;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,GAAC,IAAI,CAAC;IAAC,QAAQ,EAAE,MAAM,GAAC,IAAI,CAAA;CAAE,CAsC7E;AAzID;;;GAGG;AACH,4CAYC;AAlBD,yBAAmB,kBAAkB,CAAC"}
|
package/dist/config/modes.d.ts
DELETED
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
export namespace COMPLEXITY_TIERS {
|
|
2
|
-
namespace lite {
|
|
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 destructiveCommandBlocking: boolean;
|
|
10
|
-
let fileSprawlDetection: boolean;
|
|
11
|
-
let scopeFence: boolean;
|
|
12
|
-
let simplificationGuard: boolean;
|
|
13
|
-
let worktreeIsolation: boolean;
|
|
14
|
-
}
|
|
15
|
-
namespace qualityRequirements {
|
|
16
|
-
let testCoverage: number;
|
|
17
|
-
let mutationScore: number;
|
|
18
|
-
let contracts: string;
|
|
19
|
-
}
|
|
20
|
-
let riskTiers: string[];
|
|
21
|
-
namespace commands {
|
|
22
|
-
let init: boolean;
|
|
23
|
-
let status: boolean;
|
|
24
|
-
let worktree: boolean;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
namespace simple {
|
|
28
|
-
let name_1: string;
|
|
29
|
-
export { name_1 as name };
|
|
30
|
-
let description_1: string;
|
|
31
|
-
export { description_1 as description };
|
|
32
|
-
let color_1: chalk.Chalk;
|
|
33
|
-
export { color_1 as color };
|
|
34
|
-
let icon_1: string;
|
|
35
|
-
export { icon_1 as icon };
|
|
36
|
-
export namespace features_1 {
|
|
37
|
-
let workingSpec_1: boolean;
|
|
38
|
-
export { workingSpec_1 as workingSpec };
|
|
39
|
-
export let basicValidation: boolean;
|
|
40
|
-
export let statusDisplay: boolean;
|
|
41
|
-
export let noQualityGates: boolean;
|
|
42
|
-
export let noProvenance: boolean;
|
|
43
|
-
export let noWaivers: boolean;
|
|
44
|
-
export let noChangeBudgets: boolean;
|
|
45
|
-
export let noMultiSpec: boolean;
|
|
46
|
-
}
|
|
47
|
-
export { features_1 as features };
|
|
48
|
-
export namespace qualityRequirements_1 {
|
|
49
|
-
let testCoverage_1: number;
|
|
50
|
-
export { testCoverage_1 as testCoverage };
|
|
51
|
-
let mutationScore_1: number;
|
|
52
|
-
export { mutationScore_1 as mutationScore };
|
|
53
|
-
let contracts_1: string;
|
|
54
|
-
export { contracts_1 as contracts };
|
|
55
|
-
}
|
|
56
|
-
export { qualityRequirements_1 as qualityRequirements };
|
|
57
|
-
let riskTiers_1: string[];
|
|
58
|
-
export { riskTiers_1 as riskTiers };
|
|
59
|
-
export namespace commands_1 {
|
|
60
|
-
let init_1: boolean;
|
|
61
|
-
export { init_1 as init };
|
|
62
|
-
export let validate: boolean;
|
|
63
|
-
let status_1: boolean;
|
|
64
|
-
export { status_1 as status };
|
|
65
|
-
export let specs: boolean;
|
|
66
|
-
}
|
|
67
|
-
export { commands_1 as commands };
|
|
68
|
-
}
|
|
69
|
-
namespace standard {
|
|
70
|
-
let name_2: string;
|
|
71
|
-
export { name_2 as name };
|
|
72
|
-
let description_2: string;
|
|
73
|
-
export { description_2 as description };
|
|
74
|
-
let color_2: chalk.Chalk;
|
|
75
|
-
export { color_2 as color };
|
|
76
|
-
let icon_2: string;
|
|
77
|
-
export { icon_2 as icon };
|
|
78
|
-
export namespace features_2 {
|
|
79
|
-
let workingSpec_2: boolean;
|
|
80
|
-
export { workingSpec_2 as workingSpec };
|
|
81
|
-
export let fullValidation: boolean;
|
|
82
|
-
let statusDisplay_1: boolean;
|
|
83
|
-
export { statusDisplay_1 as statusDisplay };
|
|
84
|
-
export let qualityGates: boolean;
|
|
85
|
-
export let provenance: boolean;
|
|
86
|
-
export let waivers: boolean;
|
|
87
|
-
export let changeBudgets: boolean;
|
|
88
|
-
export let multiSpec: boolean;
|
|
89
|
-
export let changeFolders: boolean;
|
|
90
|
-
}
|
|
91
|
-
export { features_2 as features };
|
|
92
|
-
export namespace qualityRequirements_2 {
|
|
93
|
-
let testCoverage_2: number;
|
|
94
|
-
export { testCoverage_2 as testCoverage };
|
|
95
|
-
let mutationScore_2: number;
|
|
96
|
-
export { mutationScore_2 as mutationScore };
|
|
97
|
-
let contracts_2: string;
|
|
98
|
-
export { contracts_2 as contracts };
|
|
99
|
-
}
|
|
100
|
-
export { qualityRequirements_2 as qualityRequirements };
|
|
101
|
-
let riskTiers_2: string[];
|
|
102
|
-
export { riskTiers_2 as riskTiers };
|
|
103
|
-
export namespace commands_2 {
|
|
104
|
-
let init_2: boolean;
|
|
105
|
-
export { init_2 as init };
|
|
106
|
-
let validate_1: boolean;
|
|
107
|
-
export { validate_1 as validate };
|
|
108
|
-
let status_2: boolean;
|
|
109
|
-
export { status_2 as status };
|
|
110
|
-
let specs_1: boolean;
|
|
111
|
-
export { specs_1 as specs };
|
|
112
|
-
export let diagnose: boolean;
|
|
113
|
-
export let evaluate: boolean;
|
|
114
|
-
export let iterate: boolean;
|
|
115
|
-
let provenance_1: boolean;
|
|
116
|
-
export { provenance_1 as provenance };
|
|
117
|
-
let waivers_1: boolean;
|
|
118
|
-
export { waivers_1 as waivers };
|
|
119
|
-
export let hooks: boolean;
|
|
120
|
-
export let archive: boolean;
|
|
121
|
-
}
|
|
122
|
-
export { commands_2 as commands };
|
|
123
|
-
}
|
|
124
|
-
namespace enterprise {
|
|
125
|
-
let name_3: string;
|
|
126
|
-
export { name_3 as name };
|
|
127
|
-
let description_3: string;
|
|
128
|
-
export { description_3 as description };
|
|
129
|
-
let color_3: chalk.Chalk;
|
|
130
|
-
export { color_3 as color };
|
|
131
|
-
let icon_3: string;
|
|
132
|
-
export { icon_3 as icon };
|
|
133
|
-
export namespace features_3 {
|
|
134
|
-
let workingSpec_3: boolean;
|
|
135
|
-
export { workingSpec_3 as workingSpec };
|
|
136
|
-
let fullValidation_1: boolean;
|
|
137
|
-
export { fullValidation_1 as fullValidation };
|
|
138
|
-
let statusDisplay_2: boolean;
|
|
139
|
-
export { statusDisplay_2 as statusDisplay };
|
|
140
|
-
let qualityGates_1: boolean;
|
|
141
|
-
export { qualityGates_1 as qualityGates };
|
|
142
|
-
let provenance_2: boolean;
|
|
143
|
-
export { provenance_2 as provenance };
|
|
144
|
-
let waivers_2: boolean;
|
|
145
|
-
export { waivers_2 as waivers };
|
|
146
|
-
let changeBudgets_1: boolean;
|
|
147
|
-
export { changeBudgets_1 as changeBudgets };
|
|
148
|
-
let multiSpec_1: boolean;
|
|
149
|
-
export { multiSpec_1 as multiSpec };
|
|
150
|
-
let changeFolders_1: boolean;
|
|
151
|
-
export { changeFolders_1 as changeFolders };
|
|
152
|
-
export let auditTrails: boolean;
|
|
153
|
-
export let compliance: boolean;
|
|
154
|
-
export let advancedMonitoring: boolean;
|
|
155
|
-
}
|
|
156
|
-
export { features_3 as features };
|
|
157
|
-
export namespace qualityRequirements_3 {
|
|
158
|
-
let testCoverage_3: number;
|
|
159
|
-
export { testCoverage_3 as testCoverage };
|
|
160
|
-
let mutationScore_3: number;
|
|
161
|
-
export { mutationScore_3 as mutationScore };
|
|
162
|
-
let contracts_3: string;
|
|
163
|
-
export { contracts_3 as contracts };
|
|
164
|
-
}
|
|
165
|
-
export { qualityRequirements_3 as qualityRequirements };
|
|
166
|
-
let riskTiers_3: string[];
|
|
167
|
-
export { riskTiers_3 as riskTiers };
|
|
168
|
-
export namespace commands_3 {
|
|
169
|
-
let init_3: boolean;
|
|
170
|
-
export { init_3 as init };
|
|
171
|
-
let validate_2: boolean;
|
|
172
|
-
export { validate_2 as validate };
|
|
173
|
-
let status_3: boolean;
|
|
174
|
-
export { status_3 as status };
|
|
175
|
-
let specs_2: boolean;
|
|
176
|
-
export { specs_2 as specs };
|
|
177
|
-
let diagnose_1: boolean;
|
|
178
|
-
export { diagnose_1 as diagnose };
|
|
179
|
-
let evaluate_1: boolean;
|
|
180
|
-
export { evaluate_1 as evaluate };
|
|
181
|
-
let iterate_1: boolean;
|
|
182
|
-
export { iterate_1 as iterate };
|
|
183
|
-
let provenance_3: boolean;
|
|
184
|
-
export { provenance_3 as provenance };
|
|
185
|
-
let waivers_3: boolean;
|
|
186
|
-
export { waivers_3 as waivers };
|
|
187
|
-
let hooks_1: boolean;
|
|
188
|
-
export { hooks_1 as hooks };
|
|
189
|
-
let archive_1: boolean;
|
|
190
|
-
export { archive_1 as archive };
|
|
191
|
-
export let troubleshoot: boolean;
|
|
192
|
-
export let testAnalysis: boolean;
|
|
193
|
-
export let qualityMonitor: boolean;
|
|
194
|
-
}
|
|
195
|
-
export { commands_3 as commands };
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Get tier information
|
|
200
|
-
* @param {string} tier - Tier name
|
|
201
|
-
* @returns {Object} Tier configuration
|
|
202
|
-
*/
|
|
203
|
-
export function getTier(tier: string): any;
|
|
204
|
-
/**
|
|
205
|
-
* Get available tiers
|
|
206
|
-
* @returns {string[]} Array of tier names
|
|
207
|
-
*/
|
|
208
|
-
export function getAvailableTiers(): string[];
|
|
209
|
-
/**
|
|
210
|
-
* Get current mode from configuration
|
|
211
|
-
* @returns {Promise<string>} Current mode
|
|
212
|
-
*/
|
|
213
|
-
export function getCurrentMode(): Promise<string>;
|
|
214
|
-
/**
|
|
215
|
-
* Set current mode in configuration
|
|
216
|
-
* @param {string} mode - Mode to set
|
|
217
|
-
* @returns {Promise<boolean>} Success status
|
|
218
|
-
*/
|
|
219
|
-
export function setCurrentMode(mode: string): Promise<boolean>;
|
|
220
|
-
/**
|
|
221
|
-
* Check if a command is available in the current tier
|
|
222
|
-
* @param {string} command - Command name
|
|
223
|
-
* @param {string} tier - Tier name
|
|
224
|
-
* @returns {boolean} Whether command is available
|
|
225
|
-
*/
|
|
226
|
-
export function isCommandAvailable(command: string, tier?: string): boolean;
|
|
227
|
-
/**
|
|
228
|
-
* Check if a feature is enabled in the current tier
|
|
229
|
-
* @param {string} feature - Feature name
|
|
230
|
-
* @param {string} tier - Tier name
|
|
231
|
-
* @returns {boolean} Whether feature is enabled
|
|
232
|
-
*/
|
|
233
|
-
export function isFeatureEnabled(feature: string, tier?: string): boolean;
|
|
234
|
-
/**
|
|
235
|
-
* Get quality requirements for a tier
|
|
236
|
-
* @param {string} tier - Tier name
|
|
237
|
-
* @returns {Object} Quality requirements
|
|
238
|
-
*/
|
|
239
|
-
export function getQualityRequirements(tier?: string): any;
|
|
240
|
-
/**
|
|
241
|
-
* Get supported risk tiers for a complexity tier
|
|
242
|
-
* @param {string} tier - Tier name
|
|
243
|
-
* @returns {string[]} Supported risk tiers
|
|
244
|
-
*/
|
|
245
|
-
export function getSupportedRiskTiers(tier?: string): string[];
|
|
246
|
-
/**
|
|
247
|
-
* Validate if a risk tier is supported in the current complexity tier
|
|
248
|
-
* @param {string} riskTier - Risk tier to validate
|
|
249
|
-
* @param {string} complexityTier - Complexity tier
|
|
250
|
-
* @returns {boolean} Whether risk tier is supported
|
|
251
|
-
*/
|
|
252
|
-
export function isRiskTierSupported(riskTier: string, complexityTier?: string): boolean;
|
|
253
|
-
/**
|
|
254
|
-
* Display tier comparison
|
|
255
|
-
*/
|
|
256
|
-
export function displayTierComparison(): void;
|
|
257
|
-
/**
|
|
258
|
-
* Get tier recommendation based on project characteristics
|
|
259
|
-
* @param {Object} projectInfo - Project information
|
|
260
|
-
* @returns {string} Recommended tier
|
|
261
|
-
*/
|
|
262
|
-
export function getTierRecommendation(projectInfo?: any): string;
|
|
263
|
-
import chalk = require("chalk");
|
|
264
|
-
//# sourceMappingURL=modes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modes.d.ts","sourceRoot":"","sources":["../../src/config/modes.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqJA;;;;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"}
|