entkapp 4.4.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.js CHANGED
@@ -28,7 +28,7 @@ async function bootstrap() {
28
28
  program
29
29
  .name('entkapp')
30
30
  .description(ansis.cyan('Enterprise-Grade AST Syntax Refactoring & Self-Healing Engine'))
31
- .version(packageJsonContent.version || '4.4.0');
31
+ .version(packageJsonContent.version || '4.0.0');
32
32
 
33
33
  program
34
34
  .option('-c, --cwd <path>', 'Specify the execution context root directory', process.cwd())
@@ -38,6 +38,7 @@ async function bootstrap() {
38
38
  .option('--test-command <command>', 'Integrated continuous safety test validation script execution path', 'npm test')
39
39
  .option('--workspace', 'Enable high-density workspace workspace/monorepo cluster mesh evaluation parsing', false)
40
40
  .option('--verbose', 'Toggle expanded trace telemetry for debug operational diagnostics', false)
41
+ .option('--visualize', 'Generate an interactive execution graph visualization', false)
41
42
  .option('-r, --run', 'Execute the primary operational pipeline loop', false)
42
43
  .option('-y, --yes', 'Skip confirmation prompts and execute planned structural modifications automatically', false)
43
44
  .option('--timeout <ms>', 'Set execution timeout in milliseconds', '30000');
@@ -131,7 +132,7 @@ async function bootstrap() {
131
132
  }, timeoutMs);
132
133
  timeoutTimer.unref(); // Allow process to exit if work finishes
133
134
 
134
- console.log(ansis.bold.green(`\nšŸ“¦ entkapp v${packageJsonContent.version || '4.4.0'} Engine Activation`));
135
+ console.log(ansis.bold.green(`\nšŸ“¦ entkapp v${packageJsonContent.version || '4.0.0'} Engine Activation`));
135
136
  console.log(ansis.dim('------------------------------------------------------------'));
136
137
  console.log(`${ansis.bold('Target Workspace Root :')} ${ansis.blue(targetCwd)}`);
137
138
  console.log(`${ansis.bold('Refactoring Mode :')} ${options.fix ? ansis.yellow('Active Fixing & Self-Healing Enabled') : ansis.gray('Dry-Run Reporting Only')}`);
@@ -153,6 +154,7 @@ async function bootstrap() {
153
154
  exclude: localConfig.exclude,
154
155
  rules: localConfig.rules,
155
156
  debug: options.debug,
157
+ visualize: options.visualize,
156
158
  });
157
159
 
158
160
  await engine.run();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "name": "entkapp",
4
- "version": "4.4.0",
4
+ "version": "4.5.0",
5
5
  "description": "The Ultimate Enterprise Codebase Janitor. Faster than Knip with OXC integration, type-aware analysis, and automated structural healing. Fully standalone - solving what Knip cannot.",
6
6
  "type": "module",
7
7
  "main": "index.js",
@@ -152,7 +152,14 @@ export class EngineContext {
152
152
  const isSuppressed = node.localSuppressedRules.has('*') || node.localSuppressedRules.has('unused-file');
153
153
 
154
154
  if (node.incomingEdges.size === 0 && !node.isEntry && !node.isLibraryEntry && !node.isFrameworkComponent && !isSuppressed) {
155
- report.orphanedFiles.push(path.relative(this.cwd, filePath));
155
+ const relPath = path.relative(this.cwd, filePath);
156
+ report.orphanedFiles.push(relPath);
157
+ if (this.verbose) {
158
+ console.log(`[Orphan Auditor] File marked as orphan: ${relPath}`);
159
+ console.log(` - Incoming Edges: ${node.incomingEdges.size}`);
160
+ console.log(` - isEntry: ${node.isEntry}, isLibraryEntry: ${node.isLibraryEntry}, isFrameworkComponent: ${node.isFrameworkComponent}`);
161
+ console.log(` - Suppressed: ${isSuppressed}`);
162
+ }
156
163
  }
157
164
 
158
165
  for (const [symbol, meta] of node.internalExports.entries()) {