feat: Implement revenue data organization workflow with JSON output
methunraj
8b21729
- Added a new revenue data organization task in `data_arrangement_1.txt` to structure extracted financial data for Excel reporting.
- Introduced `RestrictedPythonTools` for self-healing Python execution with directory constraints and package management.
- Created `RestrictedShellTools` to execute shell commands within a specified base directory, enhancing security and preventing directory traversal.
- Developed `FinancialDocumentWorkflow` to manage the entire financial document analysis process, including data extraction, arrangement, and Excel report generation.
- Integrated session management for handling input/output directories and caching extraction results.
- Enhanced error handling and logging throughout the workflow for better traceability and debugging.