v.0.0.8

Jan 7, 25

ALGA PSA v0.0.8 RELEASE NOTES

New Features

AI-Driven Browser Automation and LLM Integration:

We introduced a powerful AI-driven browser automation tool leveraging Puppeteer and a Next.js frontend. This comprehensive update includes:

Core Features

  • Multi-Provider LLM Support: Modular client architecture supporting Anthropic, OpenAI, and custom OpenAI providers with error handling, response streaming, and timeout safety.

  • Data-Automation-ID System: Consistent UI state and DOM automation IDs for testing and LLM interactions, implemented across core UI components and documented in ui_automation_ids.md.

  • UI Reflection System: Real-time JSON description of UI state for automated testing and LLM-driven interactions, including WebSocket-based broadcasting, component metadata tracking, and stable component ID guidelines.

  • Tools for Enhanced Interaction:

    • get_ui_state: Efficient page analysis.

    • execute_puppeteer_script: Direct browser interaction.

    • Increased HTTP header size for larger payloads.

  • Chat Interface: Implemented a real-time chat interface using SSE, a live browser feed with WebSocket support, and enhanced log displays with structured entries and timestamps to streamline troubleshooting.

Code and Deployment

  • Dockerized AI automation service replacing Postgres container.

  • Improved error handling, string formatting, and type safety in chat services.

  • Enhanced startup and shutdown logging for detailed server status.

Scheduling System:

  • Added ability to schedule multiple agents:

    •  Updated technician assignment logic to use assigned_user_ids instead of user_id.

    • Removed unnecessary useEffect cleanup in TechnicianDispatchDashboard.

    • Added console logs for debugging recurrence pattern generation.

Tickets Management:

  • Implemented ticket deletion functionalilty:

    • Added deleteTicket action to ticketActions.

    • Implemented dropdown menu with delete option in TicketingDashboard.

    • Enabled ticket deletion directly from the dashboard with an audit trail, tracked via the TICKET_DELETED event, ensuring accountability.

    • Added a confirmation dialog for ticket deletion.

    • Removed contact requirement from QuickAddTicket

Improvements

Billing System:

  • Enhanced UI and service management with new features:

    • Added plan type selection options, including Fixed, Hourly, Usage-based, and Bucket-based billing structures.

    • Improved end date handling for ongoing or fixed-duration plans.

    • Added confirmation dialogs for deletion operations.

    • Consistent error propagation and validation.

    • Improved error handling in billing plan actions.

  • Technical updates for better maintainability and user experience.

Client Management:

  • Implemented automatic application of default tax settings for newly created companies, ensuring compliance and streamlining setup processes.

Bug Fixes

  • Resolved Puppeteer issues on macOS.

  • Refactored CompanyPicker component for better dropdown positioning and event handling.

  • Fixed issues with the first item selection in various interfaces.

  • Fixed schedule migrations and entry assignee logic.

  • Addressed portaling issue in CompanyPicker where clicks went through the dropdown.

  • Added stability improvements and streamlined CSS selector usage in AI automation tools.

  • Corrected redis state resets on password changes.

Documentation:

  • Updated and reorganized setup guides for clarity and usability:

    • Detailed instructions for both Community and Enterprise Editions.

    • New sections for getting started, configuration, and deployment.

    • Documentation links standardized for consistency.

    • Documented usage and best practices for automation IDs in ui_automation_ids.md.