driftdetect 0.9.31 → 0.9.33
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/bin/drift.js +1 -1
- package/dist/bin/drift.js.map +1 -1
- package/dist/commands/approve.d.ts.map +1 -1
- package/dist/commands/approve.js +5 -4
- package/dist/commands/approve.js.map +1 -1
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +5 -3
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/boundaries.d.ts.map +1 -1
- package/dist/commands/boundaries.js +1 -1
- package/dist/commands/boundaries.js.map +1 -1
- package/dist/commands/callgraph.d.ts.map +1 -1
- package/dist/commands/callgraph.js +7 -4
- package/dist/commands/callgraph.js.map +1 -1
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +11 -7
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/constants.d.ts.map +1 -1
- package/dist/commands/constants.js +1 -1
- package/dist/commands/constants.js.map +1 -1
- package/dist/commands/constraints.d.ts.map +1 -1
- package/dist/commands/constraints.js +7 -4
- package/dist/commands/constraints.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/coupling.d.ts.map +1 -1
- package/dist/commands/coupling.js +25 -14
- package/dist/commands/coupling.js.map +1 -1
- package/dist/commands/cpp.d.ts.map +1 -1
- package/dist/commands/cpp.js +3 -3
- package/dist/commands/cpp.js.map +1 -1
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/decisions.d.ts.map +1 -1
- package/dist/commands/decisions.js +7 -4
- package/dist/commands/decisions.js.map +1 -1
- package/dist/commands/dna/export.d.ts.map +1 -1
- package/dist/commands/dna/export.js +1 -1
- package/dist/commands/dna/export.js.map +1 -1
- package/dist/commands/dna/gene.d.ts.map +1 -1
- package/dist/commands/dna/gene.js +1 -1
- package/dist/commands/dna/gene.js.map +1 -1
- package/dist/commands/dna/index.d.ts.map +1 -1
- package/dist/commands/dna/index.js +3 -3
- package/dist/commands/dna/index.js.map +1 -1
- package/dist/commands/dna/mutations.d.ts.map +1 -1
- package/dist/commands/dna/mutations.js +17 -9
- package/dist/commands/dna/mutations.js.map +1 -1
- package/dist/commands/dna/playbook.d.ts.map +1 -1
- package/dist/commands/dna/playbook.js +1 -1
- package/dist/commands/dna/playbook.js.map +1 -1
- package/dist/commands/dna/scan.d.ts.map +1 -1
- package/dist/commands/dna/scan.js +7 -4
- package/dist/commands/dna/scan.js.map +1 -1
- package/dist/commands/dna/status.d.ts.map +1 -1
- package/dist/commands/dna/status.js +9 -5
- package/dist/commands/dna/status.js.map +1 -1
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +1 -1
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/error-handling.d.ts.map +1 -1
- package/dist/commands/error-handling.js +13 -7
- package/dist/commands/error-handling.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +1 -1
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/files.d.ts.map +1 -1
- package/dist/commands/files.js +1 -1
- package/dist/commands/files.js.map +1 -1
- package/dist/commands/gate.d.ts.map +1 -1
- package/dist/commands/gate.js +4 -3
- package/dist/commands/gate.js.map +1 -1
- package/dist/commands/go.d.ts.map +1 -1
- package/dist/commands/go.js +1 -1
- package/dist/commands/go.js.map +1 -1
- package/dist/commands/ignore.d.ts.map +1 -1
- package/dist/commands/ignore.js +4 -3
- package/dist/commands/ignore.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +3 -3
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/java.d.ts.map +1 -1
- package/dist/commands/java.js +1 -1
- package/dist/commands/java.js.map +1 -1
- package/dist/commands/license.d.ts.map +1 -1
- package/dist/commands/license.js +3 -2
- package/dist/commands/license.js.map +1 -1
- package/dist/commands/migrate-storage.d.ts.map +1 -1
- package/dist/commands/migrate-storage.js +8 -6
- package/dist/commands/migrate-storage.js.map +1 -1
- package/dist/commands/next-steps.d.ts.map +1 -1
- package/dist/commands/next-steps.js +15 -9
- package/dist/commands/next-steps.js.map +1 -1
- package/dist/commands/parser.d.ts.map +1 -1
- package/dist/commands/parser.js +9 -5
- package/dist/commands/parser.js.map +1 -1
- package/dist/commands/php.d.ts.map +1 -1
- package/dist/commands/php.js +1 -1
- package/dist/commands/php.js.map +1 -1
- package/dist/commands/projects.d.ts.map +1 -1
- package/dist/commands/projects.js +16 -9
- package/dist/commands/projects.js.map +1 -1
- package/dist/commands/py.d.ts.map +1 -1
- package/dist/commands/py.js +1 -1
- package/dist/commands/py.js.map +1 -1
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/report.js +3 -3
- package/dist/commands/report.js.map +1 -1
- package/dist/commands/rust.d.ts.map +1 -1
- package/dist/commands/rust.js +1 -1
- package/dist/commands/rust.js.map +1 -1
- package/dist/commands/scan.d.ts.map +1 -1
- package/dist/commands/scan.js +39 -22
- package/dist/commands/scan.js.map +1 -1
- package/dist/commands/simulate.d.ts.map +1 -1
- package/dist/commands/simulate.js +1 -1
- package/dist/commands/simulate.js.map +1 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/skills.js +22 -14
- package/dist/commands/skills.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/telemetry.d.ts.map +1 -1
- package/dist/commands/telemetry.js +3 -3
- package/dist/commands/telemetry.js.map +1 -1
- package/dist/commands/test-topology.d.ts.map +1 -1
- package/dist/commands/test-topology.js +19 -10
- package/dist/commands/test-topology.js.map +1 -1
- package/dist/commands/trends.d.ts.map +1 -1
- package/dist/commands/trends.js +1 -1
- package/dist/commands/trends.js.map +1 -1
- package/dist/commands/troubleshoot.d.ts.map +1 -1
- package/dist/commands/troubleshoot.js +9 -5
- package/dist/commands/troubleshoot.js.map +1 -1
- package/dist/commands/ts.d.ts.map +1 -1
- package/dist/commands/ts.js +1 -1
- package/dist/commands/ts.js.map +1 -1
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/commands/watch.js +23 -13
- package/dist/commands/watch.js.map +1 -1
- package/dist/commands/where.d.ts.map +1 -1
- package/dist/commands/where.js +3 -2
- package/dist/commands/where.js.map +1 -1
- package/dist/commands/wpf.d.ts.map +1 -1
- package/dist/commands/wpf.js +1 -1
- package/dist/commands/wpf.js.map +1 -1
- package/dist/commands/wrappers.d.ts.map +1 -1
- package/dist/commands/wrappers.js +4 -4
- package/dist/commands/wrappers.js.map +1 -1
- package/dist/git/hooks.js +1 -1
- package/dist/git/hooks.js.map +1 -1
- package/dist/reporters/github-reporter.js +8 -4
- package/dist/reporters/github-reporter.js.map +1 -1
- package/dist/reporters/gitlab-reporter.d.ts.map +1 -1
- package/dist/reporters/gitlab-reporter.js.map +1 -1
- package/dist/reporters/text-reporter.d.ts.map +1 -1
- package/dist/reporters/text-reporter.js.map +1 -1
- package/dist/services/boundary-scanner.d.ts.map +1 -1
- package/dist/services/boundary-scanner.js +24 -12
- package/dist/services/boundary-scanner.js.map +1 -1
- package/dist/services/contract-scanner.d.ts +1 -1
- package/dist/services/contract-scanner.d.ts.map +1 -1
- package/dist/services/contract-scanner.js +3 -2
- package/dist/services/contract-scanner.js.map +1 -1
- package/dist/services/scanner-service.d.ts.map +1 -1
- package/dist/services/scanner-service.js +90 -53
- package/dist/services/scanner-service.js.map +1 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +1 -1
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/prompts.d.ts.map +1 -1
- package/dist/ui/prompts.js.map +1 -1
- package/dist/ui/spinner.js +1 -1
- package/dist/ui/spinner.js.map +1 -1
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +1 -1
- package/dist/ui/table.js.map +1 -1
- package/dist/workers/detector-worker.d.ts.map +1 -1
- package/dist/workers/detector-worker.js +12 -6
- package/dist/workers/detector-worker.js.map +1 -1
- package/package.json +1 -1
- package/dist/bin/drift.d.ts +0 -11
- package/dist/commands/approve.d.ts +0 -28
- package/dist/commands/audit.d.ts +0 -29
- package/dist/commands/boundaries.d.ts +0 -20
- package/dist/commands/callgraph.d.ts +0 -24
- package/dist/commands/check.d.ts +0 -41
- package/dist/commands/constants.d.ts +0 -35
- package/dist/commands/constraints.d.ts +0 -17
- package/dist/commands/context.d.ts +0 -19
- package/dist/commands/coupling.d.ts +0 -17
- package/dist/commands/cpp.d.ts +0 -22
- package/dist/commands/dashboard.d.ts +0 -16
- package/dist/commands/decisions.d.ts +0 -19
- package/dist/commands/dna/export.d.ts +0 -6
- package/dist/commands/dna/gene.d.ts +0 -6
- package/dist/commands/dna/index.d.ts +0 -8
- package/dist/commands/dna/mutations.d.ts +0 -6
- package/dist/commands/dna/playbook.d.ts +0 -6
- package/dist/commands/dna/scan.d.ts +0 -6
- package/dist/commands/dna/status.d.ts +0 -6
- package/dist/commands/env.d.ts +0 -23
- package/dist/commands/error-handling.d.ts +0 -15
- package/dist/commands/export.d.ts +0 -16
- package/dist/commands/files.d.ts +0 -15
- package/dist/commands/gate.d.ts +0 -33
- package/dist/commands/go.d.ts +0 -21
- package/dist/commands/ignore.d.ts +0 -20
- package/dist/commands/index.d.ts +0 -50
- package/dist/commands/index.js +0 -68
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/init.d.ts +0 -19
- package/dist/commands/java.d.ts +0 -15
- package/dist/commands/license.d.ts +0 -12
- package/dist/commands/migrate-storage.d.ts +0 -23
- package/dist/commands/next-steps.d.ts +0 -15
- package/dist/commands/parser.d.ts +0 -20
- package/dist/commands/php.d.ts +0 -15
- package/dist/commands/projects.d.ts +0 -17
- package/dist/commands/py.d.ts +0 -15
- package/dist/commands/report.d.ts +0 -22
- package/dist/commands/rust.d.ts +0 -21
- package/dist/commands/scan.d.ts +0 -45
- package/dist/commands/simulate.d.ts +0 -17
- package/dist/commands/skills.d.ts +0 -16
- package/dist/commands/status.d.ts +0 -20
- package/dist/commands/telemetry.d.ts +0 -9
- package/dist/commands/test-topology.d.ts +0 -15
- package/dist/commands/trends.d.ts +0 -12
- package/dist/commands/troubleshoot.d.ts +0 -14
- package/dist/commands/ts.d.ts +0 -21
- package/dist/commands/watch.d.ts +0 -13
- package/dist/commands/where.d.ts +0 -15
- package/dist/commands/wpf.d.ts +0 -21
- package/dist/commands/wrappers.d.ts +0 -16
- package/dist/git/hooks.d.ts +0 -108
- package/dist/git/index.d.ts +0 -6
- package/dist/git/index.d.ts.map +0 -1
- package/dist/git/index.js +0 -6
- package/dist/git/index.js.map +0 -1
- package/dist/git/staged-files.d.ts +0 -41
- package/dist/git/staged-files.d.ts.map +0 -1
- package/dist/git/staged-files.js +0 -118
- package/dist/git/staged-files.js.map +0 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.js +0 -24
- package/dist/index.js.map +0 -1
- package/dist/reporters/github-reporter.d.ts +0 -13
- package/dist/reporters/gitlab-reporter.d.ts +0 -16
- package/dist/reporters/index.d.ts +0 -9
- package/dist/reporters/index.js +0 -9
- package/dist/reporters/index.js.map +0 -1
- package/dist/reporters/json-reporter.d.ts +0 -13
- package/dist/reporters/json-reporter.js +0 -44
- package/dist/reporters/json-reporter.js.map +0 -1
- package/dist/reporters/text-reporter.d.ts +0 -13
- package/dist/reporters/types.d.ts +0 -42
- package/dist/reporters/types.js +0 -5
- package/dist/reporters/types.js.map +0 -1
- package/dist/services/boundary-scanner.d.ts +0 -22
- package/dist/services/pattern-service-factory.d.ts +0 -37
- package/dist/services/pattern-service-factory.js +0 -41
- package/dist/services/pattern-service-factory.js.map +0 -1
- package/dist/services/scanner-service.d.ts +0 -237
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -5
- package/dist/types/index.js.map +0 -1
- package/dist/ui/index.d.ts +0 -11
- package/dist/ui/index.js +0 -15
- package/dist/ui/index.js.map +0 -1
- package/dist/ui/progress.d.ts +0 -115
- package/dist/ui/prompts.d.ts +0 -91
- package/dist/ui/spinner.d.ts +0 -109
- package/dist/ui/table.d.ts +0 -118
- package/dist/workers/detector-worker.d.ts +0 -125
package/dist/commands/check.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check Command - drift check
|
|
3
|
-
*
|
|
4
|
-
* Check for violations against approved patterns.
|
|
5
|
-
*
|
|
6
|
-
* MIGRATION: Now uses IPatternService for pattern operations.
|
|
7
|
-
*
|
|
8
|
-
* @requirements 29.3
|
|
9
|
-
*/
|
|
10
|
-
import { Command } from 'commander';
|
|
11
|
-
import type { Violation } from 'driftdetect-core';
|
|
12
|
-
export interface CheckOptions {
|
|
13
|
-
/** Check only staged files */
|
|
14
|
-
staged?: boolean;
|
|
15
|
-
/** Run in CI mode */
|
|
16
|
-
ci?: boolean;
|
|
17
|
-
/** Output format */
|
|
18
|
-
format?: 'text' | 'json' | 'github' | 'gitlab';
|
|
19
|
-
/** Fail threshold (error, warning, none) */
|
|
20
|
-
failOn?: 'error' | 'warning' | 'none';
|
|
21
|
-
/** Enable verbose output */
|
|
22
|
-
verbose?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface CheckResult {
|
|
25
|
-
/** Number of violations */
|
|
26
|
-
violationCount: number;
|
|
27
|
-
/** Number of errors */
|
|
28
|
-
errorCount: number;
|
|
29
|
-
/** Number of warnings */
|
|
30
|
-
warningCount: number;
|
|
31
|
-
/** Exit code */
|
|
32
|
-
exitCode: number;
|
|
33
|
-
/** Violations found */
|
|
34
|
-
violations: Violation[];
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Determine exit code based on violations and threshold
|
|
38
|
-
*/
|
|
39
|
-
export declare function getExitCode(violations: Violation[], failOn: 'error' | 'warning' | 'none'): number;
|
|
40
|
-
export declare const checkCommand: Command;
|
|
41
|
-
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constants Command - drift constants
|
|
3
|
-
*
|
|
4
|
-
* Analyze constants, enums, and exported values across the codebase.
|
|
5
|
-
* Detects hardcoded secrets, inconsistent values, and magic numbers.
|
|
6
|
-
*
|
|
7
|
-
* @requirements Constant & Enum Extraction Feature
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from 'commander';
|
|
10
|
-
import { type ConstantCategory, type ConstantLanguage, type IssueSeverity } from 'driftdetect-core';
|
|
11
|
-
export interface ConstantsOptions {
|
|
12
|
-
/** Output format */
|
|
13
|
-
format?: 'text' | 'json' | 'csv';
|
|
14
|
-
/** Filter by category */
|
|
15
|
-
category?: ConstantCategory;
|
|
16
|
-
/** Filter by language */
|
|
17
|
-
language?: ConstantLanguage;
|
|
18
|
-
/** Filter by file path */
|
|
19
|
-
file?: string;
|
|
20
|
-
/** Search by name */
|
|
21
|
-
search?: string;
|
|
22
|
-
/** Filter by exported status */
|
|
23
|
-
exported?: boolean;
|
|
24
|
-
/** Minimum severity for secrets */
|
|
25
|
-
severity?: IssueSeverity;
|
|
26
|
-
/** Limit results */
|
|
27
|
-
limit?: number;
|
|
28
|
-
/** Enable verbose output */
|
|
29
|
-
verbose?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Create the constants command with subcommands
|
|
33
|
-
*/
|
|
34
|
-
export declare const constantsCommand: Command;
|
|
35
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constraints Command - drift constraints
|
|
3
|
-
*
|
|
4
|
-
* Manage architectural constraints learned from the codebase.
|
|
5
|
-
* Constraints are invariants that MUST be satisfied by code.
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from 'commander';
|
|
8
|
-
export interface ConstraintsOptions {
|
|
9
|
-
format?: 'text' | 'json';
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
category?: string;
|
|
12
|
-
status?: string;
|
|
13
|
-
limit?: number;
|
|
14
|
-
minConfidence?: number;
|
|
15
|
-
}
|
|
16
|
-
export declare function createConstraintsCommand(): Command;
|
|
17
|
-
//# sourceMappingURL=constraints.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context Command - Generate package-scoped AI context
|
|
3
|
-
*
|
|
4
|
-
* @license Apache-2.0
|
|
5
|
-
*
|
|
6
|
-
* Generates AI-optimized context for specific packages in a monorepo.
|
|
7
|
-
* Minimizes token usage by scoping patterns, constraints, and examples
|
|
8
|
-
* to only what's relevant for the target package.
|
|
9
|
-
*
|
|
10
|
-
* Usage:
|
|
11
|
-
* drift context @drift/core # Generate context for a package
|
|
12
|
-
* drift context packages/core # By path
|
|
13
|
-
* drift context @drift/core --format ai # AI-optimized format
|
|
14
|
-
* drift context @drift/core --snippets # Include code snippets
|
|
15
|
-
* drift context --list # List all packages
|
|
16
|
-
*/
|
|
17
|
-
import { Command } from 'commander';
|
|
18
|
-
export declare const contextCommand: Command;
|
|
19
|
-
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Module Coupling Command - drift coupling
|
|
3
|
-
*
|
|
4
|
-
* Analyze module dependencies, detect cycles, and calculate coupling metrics.
|
|
5
|
-
* Based on Robert C. Martin's coupling metrics (Ca, Ce, Instability, Abstractness, Distance).
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from 'commander';
|
|
8
|
-
export interface CouplingOptions {
|
|
9
|
-
format?: 'text' | 'json';
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
limit?: number;
|
|
12
|
-
minCoupling?: number;
|
|
13
|
-
maxCycleLength?: number;
|
|
14
|
-
minSeverity?: 'info' | 'warning' | 'critical';
|
|
15
|
-
}
|
|
16
|
-
export declare function createCouplingCommand(): Command;
|
|
17
|
-
//# sourceMappingURL=coupling.d.ts.map
|
package/dist/commands/cpp.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* C++ Command - drift cpp
|
|
3
|
-
*
|
|
4
|
-
* Analyze C++ projects: classes, memory, templates, virtual functions.
|
|
5
|
-
*
|
|
6
|
-
* @requirements C++ Language Support
|
|
7
|
-
* @license Apache-2.0
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from 'commander';
|
|
10
|
-
export interface CppOptions {
|
|
11
|
-
/** Output format */
|
|
12
|
-
format?: 'text' | 'json';
|
|
13
|
-
/** Enable verbose output */
|
|
14
|
-
verbose?: boolean;
|
|
15
|
-
/** Filter by framework */
|
|
16
|
-
framework?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Create the C++ command
|
|
20
|
-
*/
|
|
21
|
-
export declare function createCppCommand(): Command;
|
|
22
|
-
//# sourceMappingURL=cpp.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard Command - drift dashboard
|
|
3
|
-
*
|
|
4
|
-
* Launch the local web dashboard for visualizing patterns and violations.
|
|
5
|
-
*/
|
|
6
|
-
import { Command } from 'commander';
|
|
7
|
-
export interface DashboardOptions {
|
|
8
|
-
/** Port to run the server on */
|
|
9
|
-
port?: number;
|
|
10
|
-
/** Don't open browser automatically */
|
|
11
|
-
noBrowser?: boolean;
|
|
12
|
-
/** Enable verbose output */
|
|
13
|
-
verbose?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const dashboardCommand: Command;
|
|
16
|
-
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Decision Mining Command - drift decisions
|
|
3
|
-
*
|
|
4
|
-
* Mine architectural decisions from git history.
|
|
5
|
-
* Analyzes commits to discover and synthesize ADRs (Architecture Decision Records).
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from 'commander';
|
|
8
|
-
export interface DecisionsOptions {
|
|
9
|
-
format?: 'text' | 'json';
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
limit?: number;
|
|
12
|
-
since?: string;
|
|
13
|
-
until?: string;
|
|
14
|
-
minConfidence?: string;
|
|
15
|
-
category?: string;
|
|
16
|
-
status?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare function createDecisionsCommand(): Command;
|
|
19
|
-
//# sourceMappingURL=decisions.d.ts.map
|
package/dist/commands/env.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Environment Command - drift env
|
|
3
|
-
*
|
|
4
|
-
* Show environment variable access patterns across the codebase.
|
|
5
|
-
* Tracks which code accesses which environment variables/config.
|
|
6
|
-
*
|
|
7
|
-
* @requirements Environment Variable Detection Feature
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from 'commander';
|
|
10
|
-
import { type EnvSensitivity } from 'driftdetect-core';
|
|
11
|
-
export interface EnvOptions {
|
|
12
|
-
/** Output format */
|
|
13
|
-
format?: 'text' | 'json';
|
|
14
|
-
/** Enable verbose output */
|
|
15
|
-
verbose?: boolean;
|
|
16
|
-
/** Filter by sensitivity */
|
|
17
|
-
sensitivity?: EnvSensitivity;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Create the env command with subcommands
|
|
21
|
-
*/
|
|
22
|
-
export declare const envCommand: Command;
|
|
23
|
-
//# sourceMappingURL=env.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Error Handling Command - drift error-handling
|
|
3
|
-
*
|
|
4
|
-
* Analyze error handling patterns, detect gaps, and find unhandled error paths.
|
|
5
|
-
*/
|
|
6
|
-
import { Command } from 'commander';
|
|
7
|
-
import { type ErrorSeverity } from 'driftdetect-core';
|
|
8
|
-
export interface ErrorHandlingOptions {
|
|
9
|
-
format?: 'text' | 'json';
|
|
10
|
-
verbose?: boolean;
|
|
11
|
-
limit?: number;
|
|
12
|
-
minSeverity?: ErrorSeverity;
|
|
13
|
-
}
|
|
14
|
-
export declare function createErrorHandlingCommand(): Command;
|
|
15
|
-
//# sourceMappingURL=error-handling.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Export Command - Export manifest in various formats
|
|
3
|
-
*
|
|
4
|
-
* Exports the pattern manifest for AI consumption or reporting.
|
|
5
|
-
*
|
|
6
|
-
* MIGRATION: Now uses IPatternService for pattern operations.
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* drift export # Export as JSON to stdout
|
|
10
|
-
* drift export --format ai-context # Export optimized for LLMs
|
|
11
|
-
* drift export --format summary # Human-readable summary
|
|
12
|
-
* drift export -o report.md # Write to file
|
|
13
|
-
*/
|
|
14
|
-
import { Command } from 'commander';
|
|
15
|
-
export declare const exportCommand: Command;
|
|
16
|
-
//# sourceMappingURL=export.d.ts.map
|
package/dist/commands/files.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Files Command - Show patterns in a file
|
|
3
|
-
*
|
|
4
|
-
* Show what patterns are found in a specific file.
|
|
5
|
-
*
|
|
6
|
-
* MIGRATION: Now uses IPatternService for pattern operations.
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* drift files src/auth/middleware.py
|
|
10
|
-
* drift files 'src/api/*.ts'
|
|
11
|
-
* drift files --json src/api/
|
|
12
|
-
*/
|
|
13
|
-
import { Command } from 'commander';
|
|
14
|
-
export declare const filesCommand: Command;
|
|
15
|
-
//# sourceMappingURL=files.d.ts.map
|
package/dist/commands/gate.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gate Command
|
|
3
|
-
*
|
|
4
|
-
* @license Apache-2.0
|
|
5
|
-
*
|
|
6
|
-
* CLI command for running quality gates on code changes.
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* drift gate # Run with default policy
|
|
10
|
-
* drift gate --policy strict # Run with strict policy
|
|
11
|
-
* drift gate --format sarif # Output in SARIF format
|
|
12
|
-
* drift gate --ci # CI mode with JSON output
|
|
13
|
-
*/
|
|
14
|
-
import { Command } from 'commander';
|
|
15
|
-
export interface GateCommandOptions {
|
|
16
|
-
policy?: string;
|
|
17
|
-
gates?: string;
|
|
18
|
-
format?: string;
|
|
19
|
-
ci?: boolean;
|
|
20
|
-
verbose?: boolean;
|
|
21
|
-
dryRun?: boolean;
|
|
22
|
-
staged?: boolean;
|
|
23
|
-
output?: string;
|
|
24
|
-
failOn?: string;
|
|
25
|
-
files?: string[];
|
|
26
|
-
root?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Create the gate command.
|
|
30
|
-
*/
|
|
31
|
-
export declare function createGateCommand(): Command;
|
|
32
|
-
export default createGateCommand;
|
|
33
|
-
//# sourceMappingURL=gate.d.ts.map
|
package/dist/commands/go.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Go Command - drift go
|
|
3
|
-
*
|
|
4
|
-
* Analyze Go projects: routes, error handling, interfaces, data access.
|
|
5
|
-
*
|
|
6
|
-
* @requirements Go Language Support
|
|
7
|
-
*/
|
|
8
|
-
import { Command } from 'commander';
|
|
9
|
-
export interface GoOptions {
|
|
10
|
-
/** Output format */
|
|
11
|
-
format?: 'text' | 'json';
|
|
12
|
-
/** Enable verbose output */
|
|
13
|
-
verbose?: boolean;
|
|
14
|
-
/** Filter by framework */
|
|
15
|
-
framework?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Create the Go command
|
|
19
|
-
*/
|
|
20
|
-
export declare function createGoCommand(): Command;
|
|
21
|
-
//# sourceMappingURL=go.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ignore Command - drift ignore
|
|
3
|
-
*
|
|
4
|
-
* Ignore a pattern to stop tracking it.
|
|
5
|
-
*
|
|
6
|
-
* MIGRATION: Now uses IPatternService for pattern operations.
|
|
7
|
-
*
|
|
8
|
-
* @requirements 29.6
|
|
9
|
-
*/
|
|
10
|
-
import { Command } from 'commander';
|
|
11
|
-
export interface IgnoreOptions {
|
|
12
|
-
/** Reason for ignoring */
|
|
13
|
-
reason?: string;
|
|
14
|
-
/** Skip confirmation prompt */
|
|
15
|
-
yes?: boolean;
|
|
16
|
-
/** Enable verbose output */
|
|
17
|
-
verbose?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare const ignoreCommand: Command;
|
|
20
|
-
//# sourceMappingURL=ignore.d.ts.map
|
package/dist/commands/index.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commands module exports
|
|
3
|
-
*
|
|
4
|
-
* Exports all CLI commands for registration with Commander.js
|
|
5
|
-
*/
|
|
6
|
-
export { initCommand } from './init.js';
|
|
7
|
-
export { scanCommand } from './scan.js';
|
|
8
|
-
export { checkCommand } from './check.js';
|
|
9
|
-
export { statusCommand } from './status.js';
|
|
10
|
-
export { approveCommand } from './approve.js';
|
|
11
|
-
export { ignoreCommand } from './ignore.js';
|
|
12
|
-
export { reportCommand } from './report.js';
|
|
13
|
-
export { exportCommand } from './export.js';
|
|
14
|
-
export { whereCommand } from './where.js';
|
|
15
|
-
export { filesCommand } from './files.js';
|
|
16
|
-
export { watchCommandDef as watchCommand } from './watch.js';
|
|
17
|
-
export { dashboardCommand } from './dashboard.js';
|
|
18
|
-
export { trendsCommand } from './trends.js';
|
|
19
|
-
export { parserCommand } from './parser.js';
|
|
20
|
-
export { dnaCommand } from './dna/index.js';
|
|
21
|
-
export { boundariesCommand } from './boundaries.js';
|
|
22
|
-
export { callgraphCommand } from './callgraph.js';
|
|
23
|
-
export { projectsCommand } from './projects.js';
|
|
24
|
-
export { skillsCommand } from './skills.js';
|
|
25
|
-
export { migrateStorageCommand } from './migrate-storage.js';
|
|
26
|
-
export { wrappersCommand } from './wrappers.js';
|
|
27
|
-
export { createTestTopologyCommand } from './test-topology.js';
|
|
28
|
-
export { createCouplingCommand } from './coupling.js';
|
|
29
|
-
export { createErrorHandlingCommand } from './error-handling.js';
|
|
30
|
-
export { createDecisionsCommand } from './decisions.js';
|
|
31
|
-
export { createConstraintsCommand } from './constraints.js';
|
|
32
|
-
export { createSimulateCommand } from './simulate.js';
|
|
33
|
-
export { createWpfCommand } from './wpf.js';
|
|
34
|
-
export { createGoCommand } from './go.js';
|
|
35
|
-
export { createRustCommand } from './rust.js';
|
|
36
|
-
export { createCppCommand } from './cpp.js';
|
|
37
|
-
export { createTsCommand } from './ts.js';
|
|
38
|
-
export { createPyCommand } from './py.js';
|
|
39
|
-
export { createJavaCommand } from './java.js';
|
|
40
|
-
export { createPhpCommand } from './php.js';
|
|
41
|
-
export { envCommand } from './env.js';
|
|
42
|
-
export { constantsCommand } from './constants.js';
|
|
43
|
-
export { licenseCommand } from './license.js';
|
|
44
|
-
export { createGateCommand } from './gate.js';
|
|
45
|
-
export { contextCommand } from './context.js';
|
|
46
|
-
export { telemetryCommand } from './telemetry.js';
|
|
47
|
-
export { auditCommand } from './audit.js';
|
|
48
|
-
export { nextStepsCommand } from './next-steps.js';
|
|
49
|
-
export { troubleshootCommand } from './troubleshoot.js';
|
|
50
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/commands/index.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commands module exports
|
|
3
|
-
*
|
|
4
|
-
* Exports all CLI commands for registration with Commander.js
|
|
5
|
-
*/
|
|
6
|
-
export { initCommand } from './init.js';
|
|
7
|
-
export { scanCommand } from './scan.js';
|
|
8
|
-
export { checkCommand } from './check.js';
|
|
9
|
-
export { statusCommand } from './status.js';
|
|
10
|
-
export { approveCommand } from './approve.js';
|
|
11
|
-
export { ignoreCommand } from './ignore.js';
|
|
12
|
-
export { reportCommand } from './report.js';
|
|
13
|
-
export { exportCommand } from './export.js';
|
|
14
|
-
export { whereCommand } from './where.js';
|
|
15
|
-
export { filesCommand } from './files.js';
|
|
16
|
-
export { watchCommandDef as watchCommand } from './watch.js';
|
|
17
|
-
export { dashboardCommand } from './dashboard.js';
|
|
18
|
-
export { trendsCommand } from './trends.js';
|
|
19
|
-
export { parserCommand } from './parser.js';
|
|
20
|
-
export { dnaCommand } from './dna/index.js';
|
|
21
|
-
export { boundariesCommand } from './boundaries.js';
|
|
22
|
-
export { callgraphCommand } from './callgraph.js';
|
|
23
|
-
export { projectsCommand } from './projects.js';
|
|
24
|
-
export { skillsCommand } from './skills.js';
|
|
25
|
-
export { migrateStorageCommand } from './migrate-storage.js';
|
|
26
|
-
export { wrappersCommand } from './wrappers.js';
|
|
27
|
-
// Analysis commands (L5-L7 layers)
|
|
28
|
-
export { createTestTopologyCommand } from './test-topology.js';
|
|
29
|
-
export { createCouplingCommand } from './coupling.js';
|
|
30
|
-
export { createErrorHandlingCommand } from './error-handling.js';
|
|
31
|
-
export { createDecisionsCommand } from './decisions.js';
|
|
32
|
-
export { createConstraintsCommand } from './constraints.js';
|
|
33
|
-
// Speculative Execution Engine
|
|
34
|
-
export { createSimulateCommand } from './simulate.js';
|
|
35
|
-
// WPF Framework Support
|
|
36
|
-
export { createWpfCommand } from './wpf.js';
|
|
37
|
-
// Go Language Support
|
|
38
|
-
export { createGoCommand } from './go.js';
|
|
39
|
-
// Rust Language Support
|
|
40
|
-
export { createRustCommand } from './rust.js';
|
|
41
|
-
// C++ Language Support
|
|
42
|
-
export { createCppCommand } from './cpp.js';
|
|
43
|
-
// TypeScript/JavaScript Language Support
|
|
44
|
-
export { createTsCommand } from './ts.js';
|
|
45
|
-
// Python Language Support
|
|
46
|
-
export { createPyCommand } from './py.js';
|
|
47
|
-
// Java Language Support
|
|
48
|
-
export { createJavaCommand } from './java.js';
|
|
49
|
-
// PHP Language Support
|
|
50
|
-
export { createPhpCommand } from './php.js';
|
|
51
|
-
// Environment Variable Detection
|
|
52
|
-
export { envCommand } from './env.js';
|
|
53
|
-
// Constants & Enum Analysis
|
|
54
|
-
export { constantsCommand } from './constants.js';
|
|
55
|
-
// License Management
|
|
56
|
-
export { licenseCommand } from './license.js';
|
|
57
|
-
// Quality Gates (Enterprise)
|
|
58
|
-
export { createGateCommand } from './gate.js';
|
|
59
|
-
// Package Context (Monorepo AI context minimization)
|
|
60
|
-
export { contextCommand } from './context.js';
|
|
61
|
-
// Telemetry Management (Privacy-first, opt-in)
|
|
62
|
-
export { telemetryCommand } from './telemetry.js';
|
|
63
|
-
// Audit System (Pattern validation and approval workflows)
|
|
64
|
-
export { auditCommand } from './audit.js';
|
|
65
|
-
// User Guidance Commands
|
|
66
|
-
export { nextStepsCommand } from './next-steps.js';
|
|
67
|
-
export { troubleshootCommand } from './troubleshoot.js';
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"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"}
|
package/dist/commands/init.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Init Command - drift init
|
|
3
|
-
*
|
|
4
|
-
* Initialize Drift in a project by creating the .drift/ directory
|
|
5
|
-
* and running an initial scan.
|
|
6
|
-
*
|
|
7
|
-
* @requirements 29.1, 38.1
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from 'commander';
|
|
10
|
-
export interface InitOptions {
|
|
11
|
-
/** Initialize from Cheatcode2026 scaffold */
|
|
12
|
-
fromScaffold?: boolean;
|
|
13
|
-
/** Skip interactive prompts */
|
|
14
|
-
yes?: boolean;
|
|
15
|
-
/** Enable verbose output */
|
|
16
|
-
verbose?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const initCommand: Command;
|
|
19
|
-
//# sourceMappingURL=init.d.ts.map
|
package/dist/commands/java.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Java Command - drift java
|
|
3
|
-
*
|
|
4
|
-
* Analyze Java projects: routes, error handling, data access, annotations.
|
|
5
|
-
*
|
|
6
|
-
* @requirements Java Language Support
|
|
7
|
-
*/
|
|
8
|
-
import { Command } from 'commander';
|
|
9
|
-
export interface JavaOptions {
|
|
10
|
-
format?: 'text' | 'json';
|
|
11
|
-
verbose?: boolean;
|
|
12
|
-
framework?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function createJavaCommand(): Command;
|
|
15
|
-
//# sourceMappingURL=java.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* License Command - drift license
|
|
3
|
-
*
|
|
4
|
-
* Display license status and available features.
|
|
5
|
-
*/
|
|
6
|
-
import { Command } from 'commander';
|
|
7
|
-
export interface LicenseOptions {
|
|
8
|
-
/** Output format */
|
|
9
|
-
format?: 'text' | 'json';
|
|
10
|
-
}
|
|
11
|
-
export declare const licenseCommand: Command;
|
|
12
|
-
//# sourceMappingURL=license.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migrate Storage Command - drift migrate-storage
|
|
3
|
-
*
|
|
4
|
-
* Migrates pattern storage from legacy status-based format to unified
|
|
5
|
-
* category-based format (Phase 3 of Pattern System Consolidation).
|
|
6
|
-
*
|
|
7
|
-
* Legacy format:
|
|
8
|
-
* .drift/patterns/
|
|
9
|
-
* ├── discovered/
|
|
10
|
-
* │ ├── api.json
|
|
11
|
-
* │ └── security.json
|
|
12
|
-
* ├── approved/
|
|
13
|
-
* └── ignored/
|
|
14
|
-
*
|
|
15
|
-
* Unified format:
|
|
16
|
-
* .drift/patterns/
|
|
17
|
-
* ├── api.json # Contains all statuses
|
|
18
|
-
* ├── security.json
|
|
19
|
-
* └── ...
|
|
20
|
-
*/
|
|
21
|
-
import { Command } from 'commander';
|
|
22
|
-
export declare const migrateStorageCommand: Command;
|
|
23
|
-
//# sourceMappingURL=migrate-storage.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Next Steps Command - drift next-steps
|
|
3
|
-
*
|
|
4
|
-
* Analyzes the current project state and recommends the most relevant
|
|
5
|
-
* next actions based on project type, patterns found, and current status.
|
|
6
|
-
*
|
|
7
|
-
* This is the "what should I do next?" command for new users.
|
|
8
|
-
*/
|
|
9
|
-
import { Command } from 'commander';
|
|
10
|
-
export interface NextStepsOptions {
|
|
11
|
-
format?: 'text' | 'json';
|
|
12
|
-
verbose?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const nextStepsCommand: Command;
|
|
15
|
-
//# sourceMappingURL=next-steps.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Parser Command - drift parser
|
|
3
|
-
*
|
|
4
|
-
* Show parser information and diagnostics for drift's language parsers.
|
|
5
|
-
* Displays which parsers are available, their capabilities, and allows
|
|
6
|
-
* testing parsing on specific files.
|
|
7
|
-
*
|
|
8
|
-
* @requirements Phase 4 - CLI Integration
|
|
9
|
-
*/
|
|
10
|
-
import { Command } from 'commander';
|
|
11
|
-
export interface ParserOptions {
|
|
12
|
-
/** Test parsing a specific file */
|
|
13
|
-
test?: string;
|
|
14
|
-
/** Output format */
|
|
15
|
-
format?: 'text' | 'json';
|
|
16
|
-
/** Show verbose output */
|
|
17
|
-
verbose?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare const parserCommand: Command;
|
|
20
|
-
//# sourceMappingURL=parser.d.ts.map
|
package/dist/commands/php.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PHP Command - drift php
|
|
3
|
-
*
|
|
4
|
-
* Analyze PHP projects: routes, error handling, data access, traits.
|
|
5
|
-
*
|
|
6
|
-
* @requirements PHP Language Support
|
|
7
|
-
*/
|
|
8
|
-
import { Command } from 'commander';
|
|
9
|
-
export interface PhpOptions {
|
|
10
|
-
format?: 'text' | 'json';
|
|
11
|
-
verbose?: boolean;
|
|
12
|
-
framework?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function createPhpCommand(): Command;
|
|
15
|
-
//# sourceMappingURL=php.d.ts.map
|