feat: SmartAssistant v2.4.0 — create_call tool + behavioral rules system

- Add create_call tool: records phone calls as Call entity (not Meeting)
- Add AssistantRule entity: persistent behavioral rules the AI follows
- Add save_rule tool: AI can save new rules when user requests them
- Add systemInstructions to webhook: call vs meeting guidance, open question tracking
- Add recentCalls to case context for AI awareness
- Add AssistantRuleContextProvider: injects active rules per mode into context

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 06:20:23 +00:00
parent ca04dd72f8
commit 0dc26f3b15
14 changed files with 391 additions and 2 deletions
+2 -2
View File
@@ -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.3.0",
"version": "2.4.0",
"acceptableVersions": [
">=8.0.0"
],
"releaseDate": "2026-04-05",
"releaseDate": "2026-04-06",
"php": [
">=8.1"
]