Skip to content

Conversation

@shivasurya
Copy link
Owner

@shivasurya shivasurya commented Sep 30, 2025

This pull request introduces several improvements and refinements to the SecureFlow CLI, focusing on usability, clarity of output, and robustness in plugin extraction. The most significant changes include enhanced handling of plugin directory structures during extraction, improved output formatting for token statistics, and minor adjustments to logging for a cleaner user experience.

Plugin extraction improvements

  • Refactored the plugin extraction process in analyze-plugins.sh to handle typical WordPress plugin directory structures, ensuring plugin contents are moved correctly and hidden files are preserved. Added cleanup of temporary extraction directories for robustness.
  • Updated error handling to ensure temporary extraction directories are cleaned up properly on extraction failure.

CLI output enhancements

  • Improved the formatting of token statistics in token-display.js for greater clarity, using more descriptive labels such as Input, Output, Context Usage, etc.
  • Added a newline before starting the loader in animated-loader.js to improve visual spacing in CLI output.

Logging adjustments

  • Removed or commented out some analysis start and iteration logging in ai-security-analyzer.js to reduce console clutter during iterative security analysis. [1] [2]

@shivasurya shivasurya self-assigned this Sep 30, 2025
@shivasurya shivasurya merged commit 30f04d7 into main Sep 30, 2025
@shivasurya shivasurya deleted the shiva/ux-improvements branch September 30, 2025 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants