• v2.2.0 c622c07c66

    Version 2.2.0 Stable

    wagesj45 released this 2025-08-18 20:07:41 -05:00 | 0 commits to main since this release

    v2.2.0

    • Compatibility: Add support for Thunderbird 140+ (manifest strict_max_version 140.*).
    • Debugging: New Debug tab on the Options page (enable via Advanced settings) with:
      • Payload viewer: Inspect the exact request body sent for classification.
      • Diff view: Visualize differences between current and previous payloads.
      • Live refresh: Updates as you tweak settings.
      • Layout polish for clarity and readability.
    • Optimization: Token-reduction strategies to keep payloads lean:
      • Optional HTML→Markdown conversion, URL param stripping, image alt-text replacement, whitespace collapsing, and aggressive token reduction mode.
      • Replace “context length” control with a simpler “Max tokens” cap and reduction strategies.
    • Reliability: Endpoint changes now take effect without requiring a restart.
    • Permissions: Add notifications to surface errors and persist an error indicator until cleared.
    • UI/Icons: Numerous icon updates (including SVG controls), plus improved active/hover states and light/dark mode alignment.
    • Rule Editor: Better condition toggles and visual states; minor styling and save-logic fixes.
    Downloads
  • v2.1.0 2a31b02039

    Version 2.1.0 Stable

    wagesj45 released this 2025-07-08 21:59:51 -05:00 | 65 commits to main since this release

    Version 2.1.0 introduces several quality-of-life improvements and new features focused on usability, clarity, and customization. From Markdown conversion to better theme support and rule handling, this update refines the add-on’s core functionality while laying groundwork for future enhancements.


    Markdown conversion
    Optionally convert HTML messages to Markdown before classification, using Turndown.

    HTML sanitization options
    Remove URL tracking parameters, replace images with their alt text, and collapse whitespace in processed content.

    Dynamic Light/Dark theme support
    New theme detection module adjusts toolbar and menu icons to match Thunderbird’s appearance.

    Export/Import data
    Save or restore settings, rules, and cache data through the options page.

    Improved rule management
    Rules support multiple actions and are normalized for consistent handling.

    Enhanced message processing
    Refactored message processing tracks timing statistics and provides better error handling.

    Details view updates
    Displays reasoning for the active message even when loaded via getDisplayedMessages.

    New modules and icons
    Default AI parameter module and extensive icon refresh for dark/light modes.

    Downloads
  • v2.0.0 86db83bb66

    wagesj45 released this 2025-06-30 01:56:22 -05:00 | 130 commits to main since this release

    The last tagged version of Sortana was v1.2.2. Since then the project has grown from a simple AI classifier into a much more complete Thunderbird add‑on.

    Rule management overhaul
    The options page now uses Bulma styles and includes tabs for settings, rules, and maintenance. Rules support multiple actions (tagging, moving, junking) and can be reordered with drag‑and‑drop. You can also choose to stop processing after a match.

    On‑demand classification and cache control
    Context menu items let you apply AI rules or clear cached results from both the message list and the message display action button. A new “View Reasoning” command opens a popup that shows why each rule matched a message.

    Reasoning viewer and details page
    Cached classification reasons are stored and can be inspected in a dedicated Details popup. From there you may clear cache entries for a specific message.

    Persistent caching with Message‑ID keys
    Classification results (including reasoning text) are kept on disk under the aiCache key. Cache keys use the message’s Message‑ID so results remain stable if Thunderbird restarts.

    Visual feedback through toolbar icons
    The extension icon now changes while messages are being processed, briefly indicates success or failure, and returns to idle afterward.

    Maintenance tab and timing statistics
    The options page includes a Maintenance tab showing rule counts, cache entries, queue depth, and timing information such as average and last run time.

    Improved message parsing
    Messages are now parsed in full, including attachments and embedded HTML, so the classifier works with complex message structures. Base64 blobs are replaced with placeholders to keep requests small.

    Documentation updates and packaging
    README now covers available features, configuration steps, and lists third‑party libraries. A new build-xpi.ps1 script packages the extension into an installable XPI.

    Under the hood, many modules have been refactored into ES modules and old experiment code has been removed. The add‑on now relies solely on standard WebExtension APIs, making it easier to maintain and compatible with Thunderbird 128+.

    Downloads
  • v1.2.2 d95023ce3f

    wagesj45 released this 2025-06-22 00:06:18 -05:00 | 241 commits to main since this release

    This release is mostly housekeeping, but involved changing the add-on ID and other manifest data. No functional changes, though.

    Downloads
  • v1.2 d301614eba

    wagesj45 released this 2025-06-21 03:38:39 -05:00 | 250 commits to main since this release

    Changelog

    1.2 - 2025-06-21

    Added

    • Custom logging framework with colorized output. Debug mode can be toggled from the Options page.
    • Advanced AI parameters (max tokens, temperature, etc.) are configurable in the Options page.
    • Hash-based persistent caching to reuse classification results across Thunderbird restarts.
    • Multiple icon sizes for better integration.
    • Custom system prompt field for specifying additional instructions for the AI service.

    Fixed

    • Improved logger import to avoid security errors.
    • Logging now reports only updated cache entries.
    Downloads