Skip to content

Fixed quoted filename bug. Major overhaul of dashboard.

Choose a tag to compare

@Domush Domush released this 15 Nov 19:40
· 19 commits to main since this release

[1.2.0] - 2026-11-15

Fixed

  • Quoted Path Stripping in PreToolUse: Added path argument sanitization to strip enclosing quotes ("...", '...'), decode URI schemes (file:///), and trim line anchor fragments (#L...), preventing fs.existsSync failures on Windows when tool calls pass quoted file paths.
  • Interception Journaling & Telemetry: Added event journaling on all blocked read_file and run_command tool calls directly into SQLite (events table). Interceptions now immediately update tokensPreserved, keptOutBytes, reductionRate, and the Prompt Payload Comparison bar in the sidecar dashboard.
  • Dynamic Command Inspection (No Hardcoded Extension Whitelist): Refactored run_command in PreToolUse (inspectCommand) to eliminate hardcoded extension regexes completely. Commands invoking cat, type, Get-Content, or gc now dynamically extract target paths, check them against the active SQLite cutoff, and respect user-configured exemptions. Safe small files ($\le$ cutoff) and bounded commands (-Head, | Select-Object -First) are allowed, while wildcard and unpaged dumps are blocked.
  • UTF-16 & Known Text Exemption Safeguard: Added KNOWN_TEXT_EXTENSIONS check and UTF-16/UTF-8 BOM header inspection to prevent text and code files (such as .cs and .md) containing null bytes from being misidentified as binary files and bypassing size cutoffs.
  • Live Interception Feed in Dashboard: Updated the "Recent Indexed Sources & Interceptions" dashboard panel to display blocked calls (🛡️ Blocked <tool>: <path>) with exact saved token metrics alongside indexed FTS5 sources.
  • Renamed 'Sandbox Cap' to 'Preview Limit': Replaced the confusing "Sandbox Cap" label with PREVIEW LIMIT, clearly indicating the maximum preview slice of command and script output returned into the chat.
  • Clickable 'Active' / 'Paused' Toggle: Turned the status badge into an interactive toggle button. Users can click to switch Context Mode between Active (pulsing green dot) and Paused (amber dot). When paused, the PreToolUse hook allows all tool calls through without size checks or command interception, persisting the paused state across active scopes in SQLite.
  • Fixed Feed Width Truncation: Removed the hardcoded max-w-[210px] container constraint and arbitrary string slice in the dashboard feed, replacing it with responsive min-w-0 flex-1 flex sizing and clean path formatting (formatItemPath) so file and command paths scale dynamically to the full width of the dashboard panel.
  • Reformatted Metric Rows & Sidebar Layout: Redesigned the 4 performance metrics into sleek, compact horizontal key-value rows inside a single card (labels on the left, values right-aligned) with subtle hairline dividers. This replaces the tall vertical 12-line card stack in normal sidebars with an information-dense, space-efficient ~140px card that naturally scales to 2 columns on wide screens without wrapping or wasting space.
  • Unified Lifecycle Gates & System Health (Moved to Bottom): Combined Active Lifecycle Gates and Engine & Storage Health into a single cohesive reference card with an inline HEALTHY badge, streamlined gate checkmarks, and compact engine specs. Moved this card to the very bottom of the dashboard so actively changing interactive panels (metrics, exemptions, search, and the live interception feed) remain prominently visible at the top.
  • Dual-Color Single Progress Bar: Consolidated the separate raw dump and sandboxed slice progress bars into a single, compact dual-color progress bar placed directly beneath the Live Telemetry status banner. It visually depicts % of context saved in emerald green (#00e599) and prompt payload in rose (#f43f5e), with live % saved text. Removed the redundant middle comparison card and sub-labels since the metric cards directly below inform the user of all exact figures.
  • User-Friendly Dashboard Terminology: Replaced cryptic architecture jargon (such as "SQLite FTS5 Reciprocal Rank Fusion & Sandbox Execution", "Porter BM25 + Trigram RRF", and "Tokens diverted from LLM") with clear, value-focused explanations highlighting token savings, context reduction, and keeping LLMs smart, focused, and less forgetful.
  • Context-Focused Language & Removal of Log Fixation: Changed card sub-labels from confusing "prompt bloat" phrasing to "Context reduced by <size>" and "Context window preserved", clarifying that user prompts are never deleted or truncated. Removed all narrow fixations on "logs" throughout tooltips, input placeholders, and lifecycle gates to accurately represent all large files, code, and terminal outputs.