- Fixed computer_agent_script_executor.py missing main entry point
- Script was just a class definition, would import and exit immediately
- No actual execution, no browser launch, completed in ~3s
- Added proper argparse, environment variable handling, and script execution
- Improved Python script output visibility (stdout/stderr now at info level)
The computer_agent_script_executor.py was created as a class-only file without
a `if __name__ == "__main__":` section. When Rust called it as a script, Python
would:
1. Parse the file
2. Define the ComputerAgentScriptExecutor class
3. Exit immediately with code 0
4. No output, no browser, no actual work done
- Added complete main entry point to computer_agent_script_executor.py:
- Argument parsing (--script, --aws-profile, --s3-bucket, etc.)
- Environment variable reading (OPENAI_MODEL, ENABLE_REPLANNING, MAX_REPLANS)
- Script file loading and JSON parsing
- ComputerAgentScriptExecutor instantiation
- Script execution and result output
- Proper error handling and exit codes
- Changed script_executor.rs to log stdout/stderr at info level (not debug)
- Python syntax validated
- Ready for Windows/macOS/Linux production testing
- Both Nova Act and OpenAI Computer Agent should now work correctly
This combines the fixes from v0.3.3 (logging) with the critical missing main entry point.