From 37a8b67b958afb3a4a3f093aedce65a06d8d9582 Mon Sep 17 00:00:00 2001 From: Chaim Date: Thu, 14 May 2026 13:17:15 +0000 Subject: [PATCH] feat(2.9.0): free-form document creation + sandboxed case folder management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - FreeDocumentGenerator: build RTL Hebrew DOCX from lightweight markdown, attach to case, copy to network folder. - CaseFolderManager: writeFile / createFolder / renameItem / moveItem, all sandboxed to the case's own root. Physical delete is never exposed; markForDeletion moves the file to "/מסמכים למחיקה/" with a "למחיקה - " prefix. - 6 new controller actions: createDocument, writeToFolder, createFolder, renameItem, moveItem, markForDeletion. - AlertCalculator: silence "X days without activity" alerts for cases legitimately waiting on the court (PendingDecision always; PendingHearing when cNextHearing is in the future). - CaseContextBuilder: fix DocumentTemplate query — was filtering on the wrong column (entityType vs targetEntityType), which is why Shira's TEMPLATES section was always empty. Now respects isActive and surfaces category/description. - Document entity: new markedForDeletionAt + markedForDeletionBy audit fields. Pairs with shira-hermes 0.4+ which exposes the 9 matching tools to Shira. Refs Task Master #4 Co-Authored-By: Claude Opus 4.7 (1M context) --- manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 1c48b62..503adeb 100644 --- a/manifest.json +++ b/manifest.json @@ -3,11 +3,11 @@ "module": "SmartAssistant", "description": "Unified AI Assistant for Legal CRM — floating chat with case memory, office alerts, and AI Gateway integration", "author": "klear", - "version": "2.8.2", + "version": "2.9.0", "acceptableVersions": [ ">=8.0.0" ], - "releaseDate": "2026-05-13", + "releaseDate": "2026-05-14", "php": [ ">=8.1" ]