driftdetect 0.9.34 → 0.9.37

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.
Files changed (96) hide show
  1. package/dist/bin/drift.d.ts +11 -0
  2. package/dist/commands/approve.d.ts +28 -0
  3. package/dist/commands/audit.d.ts +29 -0
  4. package/dist/commands/boundaries.d.ts +20 -0
  5. package/dist/commands/callgraph.d.ts +24 -0
  6. package/dist/commands/check.d.ts +41 -0
  7. package/dist/commands/constants.d.ts +35 -0
  8. package/dist/commands/constraints.d.ts +17 -0
  9. package/dist/commands/context.d.ts +19 -0
  10. package/dist/commands/coupling.d.ts +17 -0
  11. package/dist/commands/cpp.d.ts +22 -0
  12. package/dist/commands/dashboard.d.ts +16 -0
  13. package/dist/commands/decisions.d.ts +19 -0
  14. package/dist/commands/dna/export.d.ts +6 -0
  15. package/dist/commands/dna/gene.d.ts +6 -0
  16. package/dist/commands/dna/index.d.ts +8 -0
  17. package/dist/commands/dna/mutations.d.ts +6 -0
  18. package/dist/commands/dna/playbook.d.ts +6 -0
  19. package/dist/commands/dna/scan.d.ts +6 -0
  20. package/dist/commands/dna/status.d.ts +6 -0
  21. package/dist/commands/env.d.ts +23 -0
  22. package/dist/commands/error-handling.d.ts +15 -0
  23. package/dist/commands/export.d.ts +16 -0
  24. package/dist/commands/files.d.ts +15 -0
  25. package/dist/commands/gate.d.ts +33 -0
  26. package/dist/commands/go.d.ts +21 -0
  27. package/dist/commands/ignore.d.ts +20 -0
  28. package/dist/commands/index.d.ts +50 -0
  29. package/dist/commands/index.js +68 -0
  30. package/dist/commands/index.js.map +1 -0
  31. package/dist/commands/init.d.ts +19 -0
  32. package/dist/commands/java.d.ts +15 -0
  33. package/dist/commands/license.d.ts +12 -0
  34. package/dist/commands/migrate-storage.d.ts +23 -0
  35. package/dist/commands/next-steps.d.ts +15 -0
  36. package/dist/commands/parser.d.ts +20 -0
  37. package/dist/commands/php.d.ts +15 -0
  38. package/dist/commands/projects.d.ts +17 -0
  39. package/dist/commands/py.d.ts +15 -0
  40. package/dist/commands/report.d.ts +22 -0
  41. package/dist/commands/rust.d.ts +21 -0
  42. package/dist/commands/scan.d.ts +45 -0
  43. package/dist/commands/simulate.d.ts +17 -0
  44. package/dist/commands/skills.d.ts +16 -0
  45. package/dist/commands/status.d.ts +20 -0
  46. package/dist/commands/telemetry.d.ts +9 -0
  47. package/dist/commands/test-topology.d.ts +15 -0
  48. package/dist/commands/trends.d.ts +12 -0
  49. package/dist/commands/troubleshoot.d.ts +14 -0
  50. package/dist/commands/ts.d.ts +21 -0
  51. package/dist/commands/watch.d.ts +13 -0
  52. package/dist/commands/where.d.ts +15 -0
  53. package/dist/commands/wpf.d.ts +21 -0
  54. package/dist/commands/wrappers.d.ts +16 -0
  55. package/dist/git/hooks.d.ts +108 -0
  56. package/dist/git/index.d.ts +6 -0
  57. package/dist/git/index.d.ts.map +1 -0
  58. package/dist/git/index.js +6 -0
  59. package/dist/git/index.js.map +1 -0
  60. package/dist/git/staged-files.d.ts +41 -0
  61. package/dist/git/staged-files.d.ts.map +1 -0
  62. package/dist/git/staged-files.js +118 -0
  63. package/dist/git/staged-files.js.map +1 -0
  64. package/dist/index.d.ts +17 -0
  65. package/dist/index.js +24 -0
  66. package/dist/index.js.map +1 -0
  67. package/dist/reporters/github-reporter.d.ts +13 -0
  68. package/dist/reporters/gitlab-reporter.d.ts +16 -0
  69. package/dist/reporters/index.d.ts +9 -0
  70. package/dist/reporters/index.js +9 -0
  71. package/dist/reporters/index.js.map +1 -0
  72. package/dist/reporters/json-reporter.d.ts +13 -0
  73. package/dist/reporters/json-reporter.js +44 -0
  74. package/dist/reporters/json-reporter.js.map +1 -0
  75. package/dist/reporters/text-reporter.d.ts +13 -0
  76. package/dist/reporters/types.d.ts +42 -0
  77. package/dist/reporters/types.js +5 -0
  78. package/dist/reporters/types.js.map +1 -0
  79. package/dist/services/boundary-scanner.d.ts +22 -0
  80. package/dist/services/pattern-service-factory.d.ts +37 -0
  81. package/dist/services/pattern-service-factory.js +41 -0
  82. package/dist/services/pattern-service-factory.js.map +1 -0
  83. package/dist/services/scanner-service.d.ts +237 -0
  84. package/dist/types/index.d.ts +24 -0
  85. package/dist/types/index.d.ts.map +1 -0
  86. package/dist/types/index.js +5 -0
  87. package/dist/types/index.js.map +1 -0
  88. package/dist/ui/index.d.ts +11 -0
  89. package/dist/ui/index.js +15 -0
  90. package/dist/ui/index.js.map +1 -0
  91. package/dist/ui/progress.d.ts +115 -0
  92. package/dist/ui/prompts.d.ts +91 -0
  93. package/dist/ui/spinner.d.ts +109 -0
  94. package/dist/ui/table.d.ts +118 -0
  95. package/dist/workers/detector-worker.d.ts +125 -0
  96. package/package.json +3 -3
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Drift CLI Entry Point
4
+ *
5
+ * Main entry point for the Drift command-line interface.
6
+ * Sets up Commander.js with all available commands.
7
+ *
8
+ * @requirements 29.1
9
+ */
10
+ export {};
11
+ //# sourceMappingURL=drift.d.ts.map
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Approve Command - drift approve
3
+ *
4
+ * Approve a discovered pattern to enforce it.
5
+ *
6
+ * MIGRATION: Now uses IPatternService for pattern operations.
7
+ *
8
+ * @requirements 29.5
9
+ */
10
+ import { Command } from 'commander';
11
+ export interface ApproveOptions {
12
+ /** Approve all patterns matching a category */
13
+ category?: string;
14
+ /** Skip confirmation prompt */
15
+ yes?: boolean;
16
+ /** Enable verbose output */
17
+ verbose?: boolean;
18
+ /** Project root directory */
19
+ root?: string;
20
+ /** Auto-approve patterns with ≥90% confidence */
21
+ auto?: boolean;
22
+ /** Custom confidence threshold for auto-approve (default: 0.90) */
23
+ threshold?: number;
24
+ /** Dry run - show what would be approved */
25
+ dryRun?: boolean;
26
+ }
27
+ export declare const approveCommand: Command;
28
+ //# sourceMappingURL=approve.d.ts.map
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Audit Command - drift audit
3
+ *
4
+ * Run pattern audit to detect duplicates, validate cross-references,
5
+ * and generate approval recommendations.
6
+ *
7
+ * @requirements AUDIT-SYSTEM.md
8
+ */
9
+ import { Command } from 'commander';
10
+ export interface AuditCommandOptions {
11
+ /** Generate review report (for agent or human) */
12
+ review?: boolean;
13
+ /** Compare to previous audit */
14
+ compare?: string;
15
+ /** CI mode - exit 1 if health below threshold */
16
+ ci?: boolean;
17
+ /** Health score threshold for CI (default: 85) */
18
+ threshold?: number;
19
+ /** Output format */
20
+ format?: 'text' | 'json' | 'markdown';
21
+ /** Export audit to file */
22
+ export?: string;
23
+ /** Enable verbose output */
24
+ verbose?: boolean;
25
+ /** Project root directory */
26
+ root?: string;
27
+ }
28
+ export declare const auditCommand: Command;
29
+ //# sourceMappingURL=audit.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Boundaries Command - drift boundaries
3
+ *
4
+ * Show data access boundaries and check for violations.
5
+ * Tracks which code accesses which database tables/fields.
6
+ *
7
+ * @requirements Data Boundaries Feature
8
+ */
9
+ import { Command } from 'commander';
10
+ export interface BoundariesOptions {
11
+ /** Output format */
12
+ format?: 'text' | 'json';
13
+ /** Enable verbose output */
14
+ verbose?: boolean;
15
+ }
16
+ /**
17
+ * Create the boundaries command with subcommands
18
+ */
19
+ export declare const boundariesCommand: Command;
20
+ //# sourceMappingURL=boundaries.d.ts.map
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Call Graph Command - drift callgraph
3
+ *
4
+ * Build and query call graphs to understand code reachability.
5
+ * Answers: "What data can this code access?" and "Who can reach this data?"
6
+ *
7
+ * @requirements Call Graph Feature
8
+ */
9
+ import { Command } from 'commander';
10
+ export interface CallGraphOptions {
11
+ /** Output format */
12
+ format?: 'text' | 'json';
13
+ /** Enable verbose output */
14
+ verbose?: boolean;
15
+ /** Maximum depth for reachability queries */
16
+ maxDepth?: number;
17
+ /** Show security-prioritized view */
18
+ security?: boolean;
19
+ }
20
+ /**
21
+ * Create the callgraph command with subcommands
22
+ */
23
+ export declare const callgraphCommand: Command;
24
+ //# sourceMappingURL=callgraph.d.ts.map
@@ -0,0 +1,41 @@
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
@@ -0,0 +1,35 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,22 @@
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
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Export Command - drift dna export
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaExportCommand: Command;
6
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Gene Command - drift dna gene <id>
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaGeneCommand: Command;
6
+ //# sourceMappingURL=gene.d.ts.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * DNA Command - drift dna
3
+ *
4
+ * Styling DNA analysis and management commands.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare const dnaCommand: Command;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Mutations Command - drift dna mutations
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaMutationsCommand: Command;
6
+ //# sourceMappingURL=mutations.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Playbook Command - drift dna playbook
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaPlaybookCommand: Command;
6
+ //# sourceMappingURL=playbook.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Scan Command - drift dna scan
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaScanCommand: Command;
6
+ //# sourceMappingURL=scan.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * DNA Status Command - drift dna status
3
+ */
4
+ import { Command } from 'commander';
5
+ export declare const dnaStatusCommand: Command;
6
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1,23 @@
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
@@ -0,0 +1,15 @@
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
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,15 @@
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
@@ -0,0 +1,33 @@
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
@@ -0,0 +1,21 @@
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
@@ -0,0 +1,20 @@
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
@@ -0,0 +1,50 @@
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
@@ -0,0 +1,68 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"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"}