intertools-cli
v1.0.15
Published
๐ ๏ธ InterTools CLI - License Manager & Activation Tool. Activate 7-day free trial (no payment). Manage PRO subscriptions ($30/month). AI analysis, performance monitoring, real-time IDE sync.
Downloads
6
Maintainers
Readme
IterAgent CLI ๐
Iterative testing agent for Cursor IDE - Automatically runs your app, captures logs, runs tests, and feeds insights back to Cursor for seamless development.
โจ What is IterAgent?
IterAgent creates a seamless development loop inside Cursor IDE:
- ๐ Starts your dev server (npm run dev, etc.)
- ๐ Captures and analyzes logs in real-time
- ๐ Provides terminal feedback with intelligent suggestions
- ๐งช Runs Playwright smoke tests against your app
- ๐ Generates intelligent summaries of issues and recommendations
- ๐ฎ Provides interactive TUI to send fix requests to Cursor
- ๐ Continues the loop for iterative development
๐ฏ Key Features
- Zero Configuration: Works out of the box with most projects
- Smart Log Analysis: De-noises logs, classifies errors, extracts metadata
- Terminal Feedback System: Real-time console log analysis and intelligent suggestions
- Smart Suggestion Management: Allowlist/blocklist for suggestion filtering
- Automatic Code Execution: Execute suggested commands and inject code
- Comprehensive Testing: Playwright-based smoke tests with accessibility checks
- Cursor Integration: Seamlessly feeds fix requests to Cursor's AI
- Interactive TUI: Beautiful terminal interface for monitoring and control
- Flexible Configuration: Customize ports, routes, timeouts, and more
- Multiple Project Types: Supports Node.js, Python, Rust, Go, and more
๐ Quick Start
Installation
npm install -g iteragent-cliInitialize in Your Project
cd your-project
iteragent initThis creates a .iteragentrc.json configuration file and .cursor/inbox/ directory.
Run the Iterative Loop
iteragent run๐ Terminal Feedback System
IterAgent provides intelligent terminal feedback that analyzes console logs and sends suggestions directly to Cursor:
Real-time Analysis
- Live Log Monitoring - Monitors stdout/stderr in real-time
- Pattern Recognition - Detects errors, warnings, and performance issues
- Smart Filtering - Reduces noise and focuses on relevant issues
- Context Awareness - Understands project type and development patterns
Intelligent Suggestions
- Error Detection - Identifies and categorizes errors by severity
- Fix Commands - Provides specific terminal commands to resolve issues
- Code Suggestions - Injects TypeScript/JavaScript code improvements
- Performance Optimization - Detects memory leaks and slow operations
Interactive Control
# Manage terminal feedback
iteragent feedback --enable
iteragent feedback --disable
iteragent feedback --status
# Manage suggestion filters
iteragent allowlist add "error"
iteragent allowlist add "performance"
iteragent blocklist add "deprecated"
# View and manage suggestions
iteragent suggestions
iteragent suggestions --clear
iteragent suggestions --type error
# Execute suggestions
iteragent execute suggestion_id๐ Trading Bot Features
IterAgent includes specialized features for trading bot and financial application development:
Automatic Detection
- Detects trading bot projects automatically
- Configures specialized settings for financial applications
- Monitors trading-specific endpoints and data flows
Financial Data Validation
- Real-time price and volume data validation
- Data freshness monitoring and alerts
- API endpoint performance tracking
- Trading strategy backtesting validation
Trading-Specific Testing
- Backtest endpoint testing (
/api/backtest) - Strategy execution validation (
/api/strategies) - Financial data endpoint monitoring (
/api/tickers,/api/btc,/api/tesla) - Performance metrics validation (Sharpe ratio, drawdown, win rate)
Quick Start for Trading Bots
# Initialize for trading bot development
iteragent init-trading
# Run with trading-specific analysis
iteragent run๐ฑ Mobile Development Features
IterAgent supports mobile development with platform-specific optimizations:
Platform Support
- React Native - Metro bundler, Jest testing, Detox E2E
- Flutter - Hot reload, Flutter Test, Flutter Driver
- Expo - Expo CLI, Expo Test, EAS Build
- Ionic - Ionic CLI, Capacitor, Cordova
- iOS - Xcodebuild, iOS Simulator, XCTest
- Android - Gradle, Android Emulator, Espresso
Mobile Testing
- Unit Tests - Jest, Flutter Test, Jasmine
- Integration Tests - React Native Testing Library, Flutter Integration Tests
- E2E Tests - Detox, Flutter Driver, Appium
- Performance Tests - Startup time, memory usage, CPU usage, battery impact
Mobile Performance Monitoring
- Bundle Size Analysis - Monitor app size and optimization opportunities
- Startup Time Tracking - Measure app launch performance
- Memory Usage Monitoring - Track memory leaks and optimization
- CPU Usage Tracking - Monitor performance bottlenecks
- Battery Impact Analysis - Optimize for battery efficiency
Quick Start for Mobile Development
# Initialize for mobile development
iteragent init-mobile --platform react-native
iteragent init-mobile --platform flutter
iteragent init-mobile --platform expo
iteragent init-mobile --platform ionic
# Run with mobile-specific testing
iteragent run๐ Cursor Integration
IterAgent integrates seamlessly with Cursor IDE:
- Creates
.cursor/inbox/directory for fix requests - Generates timestamped fix request files with detailed issue analysis
- Provides ready-to-use prompts for Cursor's AI
- Maintains conversation context across iterations
- Sends terminal feedback directly to Cursor's inbox
Example Fix Request
# Fix Request - 2024-01-15T10:30:00.000Z
## ๐จ Critical Issues
- Server failed to start: Port 3000 already in use
## โ Server Errors (2)
- **2024-01-15T10:29:45.123Z**: EADDRINUSE: address already in use :::3000
- **2024-01-15T10:29:46.456Z**: Server startup failed
## ๐ก Suggested Fixes
1. Kill existing process on port 3000
2. Use different port in configuration
3. Check for zombie processes
## ๐งช Test Results
- **Accessibility**: โ
Passed
- **Performance**: โ ๏ธ Slow loading detected
- **Functionality**: โ Server not respondingโ๏ธ Configuration
Basic Configuration (.iteragentrc.json)
{
"port": 3000,
"startCommand": "npm run dev",
"routes": ["/", "/api/health"],
"logCaptureDuration": 5000,
"testTimeout": 30000,
"cursorInboxPath": ".cursor/inbox",
"terminalFeedback": {
"enableSuggestions": true,
"suggestionThreshold": 0.7,
"autoExecute": false,
"maxSuggestions": 10,
"enableCodeExecution": true
}
}Advanced Configuration
{
"port": 3000,
"startCommand": "npm run dev",
"routes": [
"/",
"/api/health",
"/api/users",
"/api/products"
],
"logCaptureDuration": 10000,
"testTimeout": 60000,
"cursorInboxPath": ".cursor/inbox",
"terminalFeedback": {
"enableSuggestions": true,
"suggestionThreshold": 0.8,
"autoExecute": false,
"maxSuggestions": 15,
"allowlistFile": ".iteragent/allowlist.json",
"blocklistFile": ".iteragent/blocklist.json",
"logAnalysisDepth": 100,
"enableCodeExecution": true,
"executionTimeout": 30000
},
"cursorAgent": {
"enableAutoExecution": false,
"maxMessages": 50,
"enableCodeInjection": true,
"enableTerminalControl": true,
"feedbackInterval": 10000
}
}๐ ๏ธ Commands
Basic Commands
# Initialize IterAgent in your project
iteragent init
# Start the iterative testing loop
iteragent run
# Show help
iteragent --helpSpecialized Initialization
# Initialize for trading bot development
iteragent init-trading
# Initialize for mobile development
iteragent init-mobile --platform react-native
iteragent init-mobile --platform flutter
iteragent init-mobile --platform expo
iteragent init-mobile --platform ionicTerminal Feedback Management
# Manage terminal feedback
iteragent feedback --enable
iteragent feedback --disable
iteragent feedback --status
# Manage suggestion filters
iteragent allowlist add "error"
iteragent allowlist add "performance"
iteragent allowlist remove "deprecated"
iteragent blocklist add "deprecated"
iteragent blocklist add "info"
iteragent blocklist remove "deprecated"
# View and manage suggestions
iteragent suggestions
iteragent suggestions --clear
iteragent suggestions --type error
# Execute suggestions
iteragent execute suggestion_idConfiguration Management
# Update configuration settings
iteragent config suggestionThreshold 0.8
iteragent config autoExecute true
iteragent config maxSuggestions 15๐ฎ Interactive TUI
IterAgent provides a beautiful terminal interface for monitoring and control:
- Real-time Status - Live updates on server status, tests, and suggestions
- Interactive Controls - Start/stop monitoring, execute suggestions
- Suggestion Management - View, filter, and manage suggestions
- Configuration Updates - Modify settings on the fly
- Log Streaming - Real-time log output with intelligent highlighting
๐ Supported Project Types
Web Applications
- React - Create React App, Next.js, Vite
- Vue - Vue CLI, Nuxt.js, Vite
- Angular - Angular CLI
- Svelte - SvelteKit, Vite
- Node.js - Express, Fastify, Koa
- Python - Flask, Django, FastAPI
- Rust - Actix, Warp, Axum
- Go - Gin, Echo, Fiber
Trading Bots
- Python - FastAPI, Flask, Django
- Node.js - Express, NestJS
- Financial APIs - Binance, Coinbase, Alpha Vantage
- Data Sources - Yahoo Finance, IEX Cloud, Polygon
Mobile Applications
- React Native - Metro bundler, Jest, Detox
- Flutter - Hot reload, Flutter Test, Flutter Driver
- Expo - Expo CLI, Expo Test, EAS Build
- Ionic - Ionic CLI, Capacitor, Cordova
- iOS - Xcodebuild, iOS Simulator, XCTest
- Android - Gradle, Android Emulator, Espresso
๐ง Requirements
- Node.js >= 16.0.0
- npm >= 8.0.0
- Playwright (installed automatically)
- Cursor IDE (for full integration)
๐ Documentation
- TERMINAL_FEEDBACK.md - Complete terminal feedback system guide
- TRADING_FEATURES.md - Trading bot specific features
- MOBILE_FEATURES.md - Mobile development features
- ENHANCEMENT_SUMMARY.md - Feature overview and enhancements
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
# Clone the repository
git clone https://github.com/luvs2spluj/iteragent.git
cd iteragent
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Run in development mode
npm run dev๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Cursor IDE - For providing an amazing AI-powered development environment
- Playwright - For comprehensive testing capabilities
- Commander.js - For building the CLI interface
- Chalk - For beautiful terminal colors
- Inquirer - For interactive prompts
๐ Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: GitHub Wiki
Made with โค๏ธ for the Cursor community
Transform your development workflow with IterAgent - the intelligent testing agent that brings your terminal logs to life! ๐
