Releases: sauravbhattacharya001/agenticchat
Agentic Chat v2.43.0 — Intent Aligner, Conversation Weather & Performance
What's New
✨ Features
- SmartIntentAligner — autonomous intent alignment verification engine with 7 analysis engines (topic drift, scope mismatch, constraint violation, format mismatch, depth mismatch, hallucination risk, relevance decay), composite 0-100 alignment scoring, corrective prompt generation, 4-tab panel, and floating badge. Shortcut: Ctrl+Shift+Y. 53 tests.
- SmartConversationWeather — weather-metaphor conversation health tracker with 6 atmosphere dimensions, 5 weather classifications, 6 phenomena detectors, forecast sparklines, floating weather badge, 4-tab panel, toast alerts, and MutationObserver-based real-time analysis. Shortcut: Alt+Shift+3. 45+ tests.
- Docs site on Pages — documentation site now deployed alongside app at /docs/\ via GitHub Pages workflow.
⚡ Performance
- SmartCognitiveLoad — consolidated 5 regex passes in _countFacts\ into single combined regex + exec loop; removed no-op .filter(freq >= 1)\ in _extractTopics; eliminated redundant _extractTopics\ call in \detectSignals\ by reusing cached results.
🔒 Security
- SmartConversationWeather — persistence routed through \sanitizeStorageObject\ to prevent prototype pollution.
🧹 Cleanup
- ConversationHealthCheck — removed dead _countMatches()\ and _avgSentenceLength(); extracted shared _matchWordList()\ helper to deduplicate regex-loop pattern in hallucination and hedge checks.
Full Changelog: v2.42.0...v2.43.0
Agentic Chat v2.42.0 — Goal Tracker, Pattern Automator, Cognitive Load & Adaptive Tone
✨ New Features
- SmartGoalTracker — Autonomous goal extraction and progress tracking (Alt+Shift+G)
- SmartPatternAutomator — Workflow pattern detection and automation engine (Alt+Shift+J)
- SmartCognitiveLoad — Autonomous cognitive load monitor with overwhelm detection (Alt+Shift+L)
- SmartAdaptiveTone — Communication style profiler and tone adapter (Alt+Shift+Y)
🔒 Security
- Route SmartFactMemory, SmartPatternAutomator, SmartConversationOracle, SmartGoalTracker, SmartAdaptiveTone, and SmartCognitiveLoad through SafeStorage + sanitizeStorageObject
- Prevent prototype-pollution via raw localStorage reads in SmartConversationDigest
⚡ Performance
- SmartConversationOracle: precompute token data once in analyze()
- SmartCognitiveLoad: eliminate redundant tokenization and O(n) lookups
- SmartAdaptiveTone: O(1) Set lookups + single tokenization pass
🔧 Refactoring & Cleanup
- Replace verbose SafeStorage boilerplate with trySetJSON/getJSON across 6 modules
- Deduplicate NLP stopword sets in SmartConversationDigest & Oracle
📝 Docs & Tests
- 38 tests for SmartContradictionDetector (all detection strategies, Jaccard overlap, integration)
- README updated: module count 165+, 19 missing modules added, test suite count 70/2740+
Full Changelog: v2.41.0...v2.42.0
v2.41.0 — SmartConversationOracle, SmartPromptCoach, SmartResponseAuditor & Shared Utilities
What's New
🚀 Features
- SmartConversationOracle — autonomous predictive conversation engine for anticipating discussion direction
- SmartPromptCoach — autonomous prompting pattern analyzer & coaching engine with 30 unit tests
- SmartResponseAuditor — autonomous AI response quality auditor
- SmartContextWatchdog — real-time context health monitor
- SmartFactMemory — autonomous knowledge extractor with persistent cross-session fact base
- Smart Auto-Continue — truncation detection and response continuation (Alt+Shift+U)
- Smart Session Insights Dashboard — cross-session analytics (Alt+Shift+K)
- Smart Conversation Compass — autonomous topic trajectory tracker (Alt+Shift+N)
♻️ Refactoring
- Deduplicated inline _timeAgo/_formatAge/_escHtml\ into shared utilities
- Extracted shared \TextAnalysisUtils\ from 5 duplicated _tokenize\ + 2 _jaccard\ + _tf\ + _cosineSim\
- Replaced 15 inlined blob-download patterns with shared \downloadBlob()\
- Replaced 17 raw SafeStorage try/catch + JSON.stringify patterns with \ rySetJSON/\setJSON/\getJSON\
🧪 Tests
- 30 unit tests for SmartPromptCoach module
- 34 tests for ConversationMemory — autonomous memory extraction
- 14 tests for SmartSessionPrioritizer scoring and triage
- 19 tests for Scratchpad module
📝 Documentation
- Updated README with accurate module/test counts and 14 missing modules
- Added JSDoc blocks to 9 undocumented module-level IIFEs + 10 more modules
- Added autonomous agents documentation page
- Added Productivity Suite and Smart Intelligence interactive doc pages
🏎️ Performance
- Eliminated redundant JSON.parse in SmartSessionPrioritizer + Date allocations in StreakTracker
🔧 Maintenance
- Removed 7 dead code artifacts
- Issue auto-triage workflow with content-based labeling
- Bumped aquasecurity/trivy-action
Full Changelog: v2.40.0...v2.41.0
Agentic Chat v2.40.0 — Conversation Digest, Branching & Security Hardening
What's New
✨ Smart Conversation Digest (Alt+Shift+J)
Cross-session summary panel that analyzes all saved sessions and produces structured summaries:
- Overview stats (session count, message count, sentiment)
- Top topics extracted via TF-IDF tokenization
- Action items detected from conversation patterns
- Unresolved questions with heuristic answer-matching
- Per-session breakdown with sentiment indicators
- Markdown export for offline review
- Today/7-day/30-day time windows
🌿 Conversation Branching (Alt+Shift+B)
Fork and explore alternate conversation paths:
- Fork button on every message (hover to reveal)
- Branch tree navigator panel with switch, rename, delete
- Branch indicator in toolbar showing current branch name and count
- Auto-saves branch state per session to localStorage
- Slash command /branches\ and Command Palette integration
- Visual tree with indentation showing parent-child relationships
🔒 Security Fix
- SmartConversationDigest: Routed \�llSessions()\ through SafeStorage + sanitizeStorageObject — was bypassing incognito mode and prototype-pollution guards via raw localStorage reads (CWE-1321)
Full Changelog: v2.39.0...v2.40.0
Agentic Chat v2.39.0 — Smart Planner, Token Budget, Input Predictor & Replay
What's New
Smart Conversation Planner (Alt+Shift+G)
Goal-oriented planning with milestones — set objectives for conversations and track progress through structured milestones.
Smart Token Budget Manager
Autonomous context budget intelligence — monitors and manages token usage across conversations, enabling smarter context window utilization.
Smart Input Predictor
Gmail-style autocomplete suggestions with learned phrases and ghost text — predicts what you'll type next based on conversation patterns.
Smart Conversation Replay
Presentation playback mode with typing animation — replay conversations with play/pause/stop controls for demos and reviews.
Security
- Sanitized localStorage reads in SmartInputPredictor, ConversationPlanner, and Bookmarks to prevent prototype pollution via malicious stored data.
Agentic Chat v2.38.0 — Response Critic, Conversation Brancher & Security Hardening
What's New
✨ Features
- Smart Response Critic — autonomous AI response quality evaluation with scoring and feedback
- Smart Conversation Brancher — branch tree management, drift detection, and comparison tools
🔒 Security (4 fixes)
- Fix prototype-pollution in BranchTree _loadTree\ (CWE-1321) — unsanitized JSON.parse + for-in iteration
- Fix 6 modules bypassing SafeStorage (incognito data leak + silent save failures)
- Add prototype pollution protection to 7 unsanitized \JSON.parse\ paths
- Harden CSS custom property sanitizer against bypass vectors
⚡ Performance (5 improvements)
- Allocation-free \TextAnalytics.tokenize\ via regex exec loop + single-pass termFreq
- Zero-alloc TF computation in ConversationDriftDetector
- O(1) branch tree lookups via cached parentId/childId indices
- Pre-tokenize messages in \ConversationDriftDetector.analyze()\
- Eliminate spread-into-\Math.max/min\ + deduplicate sparkline Y computation
- Debounce StickyNotesBoard saves + cache question tokens in SmartQuestionTracker
🔧 Refactor
- Use SafeStorage.getJSON/setJSON across all modules for consistent storage access
Full Changelog: v2.37.0...v2.38.0
Agentic Chat v2.37.0 — Smart Question Tracker & Follow-Up Reminders
What's New
🔔 Smart Follow-Up Reminder (Alt+Shift+R)
Autonomous action item detection that scans assistant responses for TODOs, deadlines, and follow-up tasks. Schedules timed browser notifications so nothing falls through the cracks. Supports snooze, dismiss, and auto-detection toggle.
❓ Smart Question Tracker
Automatically detects unanswered questions in your conversation — both yours and the AI's. Shows question status (answered/unanswered), confidence scores, and provides quick actions to copy or dismiss. Never lose track of what was asked.
⚡ Performance Improvements
- SmartContradictionDetector: Reduced sentiment detection from O(n²) to O(n) using pre-compiled regex, Set-based Jaccard similarity instead of array intersection, and hoisted allocations out of hot loops
- Knowledge Map: Pre-computed edge degree map for insight rendering — O(E) lookup vs O(N×E) repeated scans
Full Changelog
- feat: Smart Follow-Up Reminder with autonomous action item detection and timed notifications
- feat: Smart Question Tracker with unanswered question detection and confidence scoring
- perf: Pre-compute edge degree map in Knowledge Map renderInsights
- perf: Optimize SmartContradictionDetector — O(n²)→O(n) sentiment, Set-based Jaccard, hoisted allocations
Agentic Chat v2.36.0 — Smart Contradiction Detector & Code Quality
What's New
✨ Features
- Smart Contradiction Detector (Alt+Shift+X) — Detects contradictions in conversations in real-time
⚡ Performance
- O(1) deadline dedup via Set + single-pass word cloud frequency building
🔧 Refactoring
- Deduplicated fuzzyMatch/fuzzyScore, _truncate, and _escapeHtml into shared top-level utilities (~45 duplicate lines removed)
- Pre-compiled regex objects in SmartContradictionDetector for faster pattern matching
- Deduplicated CSS style injection across 9 modules into shared _injectCSS helper
📚 Documentation
- Enhanced CONTRIBUTING.md with conventional commits guide, troubleshooting table, and branching strategy
Full Changelog: v2.35.0...v2.36.0
Agentic Chat v2.35.0 — Smart Deadline Tracker
What's New
⏰ Smart Deadline Tracker (Alt+D)
Autonomous deadline detection that scans conversations for time-sensitive commitments and displays a live countdown dashboard. Never miss a deadline mentioned in chat again.
🔧 Performance Fix
- Replaced O(n) \Array.shift()\ rate limiter with circular index tracking for constant-time operations under high message throughput.
Full Changelog: v2.34.0...v2.35.0
Agentic Chat v2.34.0 — Smart Knowledge Map
What's New
✨ Smart Knowledge Map
Autonomous entity extraction with interactive force-directed graph visualization. The Knowledge Map automatically identifies people, concepts, tools, and topics from your conversations and renders them as an interactive network graph, revealing connections and clusters across your chat history.
Highlights:
- Automatic entity extraction from conversation context
- Interactive force-directed graph layout
- Visual clustering of related concepts
- Click-to-explore entity relationships
Full Changelog: v2.33.0...v2.34.0