v1.8.1
Release Notes - Mint Agent v1.8.1
We are excited to release Mint Agent v1.8.1! This release introduces powerful local workspace file management features, real-time AI-generated workflow suggestions in the user's active language, mobile layout optimization, and general UI/UX polish.
🚀 Key Features & Enhancements
📂 1. Native Workspace File Explorer Operations
You can now manage your workspace directory directly from the sidebar without switching to an external editor or using the terminal:
- New File & New Folder Buttons: Replaced the legacy "Use Agent" action button with dedicated creation triggers. Inputting a name will immediately create the empty file/folder on disk.
- Right-Click Deletion: Right-clicking on any file or directory in the tree view prompts a safety confirmation modal. Upon approval, the item is securely removed from your filesystem.
- Workspace Auto-Sync: The file list stays up-to-date automatically using two smart mechanisms:
- Window Focus Reloading: Whenever you switch back to the Mint Desktop window (e.g., after editing code in VS Code), it refreshes the file list immediately.
- Periodic Polling: Auto-polls the directory structure every 15 seconds.
💬 2. Drag-and-Drop Mentions with Accent Color Highlight
Referencing files in your conversations is now smoother and visually richer:
- Trailing Spacing: Dragging files from the sidebar into the chat input automatically appends spacing (e.g.
@index.html), allowing you to keep typing immediately. - Accent Theme Highlight: In your chat history, any
@filenamemention is parsed and rendered inside an outline pill container styled dynamically with your selected Accent Color theme.
🌐 3. Dynamic Language AI Suggestions
- Process monitor triggers (such as opening terminal processes) now format real-time queries to your active AI provider.
- Suggestions are dynamically translated and rewritten to match your configured user language (
config.language), replacing the Thai-only hardcoded templates. - Features a safe fallback to static trigger defaults if the AI request times out or encounters network errors.
📱 4. Mobile Layout & Navigation Optimizations (Web View)
- Image Studio Mobile Fit: Fixed position clashing media queries resetting Image Studio
.img-studiooffsets to fit smaller screen sizes correctly. - Hamburger Menu Visibility: Rendered the sidebar drawer button (☰) inside the Image Studio header on mobile viewports so users can navigate back.
- Header Overlaps Resolved: Added a solid opaque background overlay, glass blur, and borders to the mobile chat header, preventing scrolled messages from clashing with header typography.
- Mobile Sidebar Drawer Fix: Prevented the sidebar from collapsing into desktop icon-only configurations on screen widths under 760px, resolving layout drawer compression bugs.
💅 5. General UX Polish
- Widescreen Chat Layout: Expanded the chat conversation box max-width to
1100pxwhen the assistant avatar model is hidden, optimizing readability on widescreen displays. - Global Text Selection: Unlocked full text selection and copying across the entire application interface (sidebars, panels, buttons, headers) by overriding restricted user-select rules.
🖥️ 6. CLI Agent Interface Polish & Terminal Line Wrapping Fix
Improved CLI status rendering aesthetics, interactive pacing, and terminal output reliability:
- Consistent Terminal Padding: Indented status blocks (Plan, Tasks, Activity, Explored) and confirmation prompt headers by 2 spaces to align with the standard prompt margin and prevent text from sticking to the left edge of the terminal window.
- Dynamic Breathing Circle System: Consolidated status symbols into a unified, colored circle layout (
● plan,● tasks,● activity,● explored) which pulses dynamically between solid and hollow (●⇄○) while the AI is thinking to signify active processing. - Wrapping & Thai Combining Characters Fix: Solved the duplicate/orphaned terminal lines issue caused by text wrapping on narrow screens. It now strips ANSI sequences, filters out Thai combining characters/tone marks that stack vertically, and counts true physical display lines to correctly clear stdout between updates.
💬 7. AskUser Text Input Modal in Desktop & Web App
Brought parity to the interactive questioning feature between the CLI and GUI versions:
- Dynamic Input Field: When the agent runs the
ask_usertool (asking questions like requesting answers or inputs), a sleek text input textarea is displayed inside the Desktop and Web application's approval card. - Answer Submission Backend: Updated the Tauri backend to handle
ApprovalOutcome::Intercepted(answer)channels, sending user-typed answers back to the orchestration layer. - Activity Log Integration: Once submitted, the user's typed answer is appended directly to the tool's execution target within the expandable "Working through task" drawer (e.g.
คุณภีมชอบสีอะไรคะ? (Answered: "สีเขียวมิ้นต์")), maintaining a clear visual history of interactions.
🐙 8. GitKraken MCP Auto-Detection
Enabled a seamless developer onboarding experience by auto-discovering GitKraken on the host machine:
- Automatic Discovery: Scans the user's local PATH during configuration load to check if
gk(GitKraken CLI) is available on the system. - Auto-Config Injection: If detected, automatically configures and adds the GitKraken MCP server (
gk mcp) to the user'smint-config.jsonfile. - Github Release Integration: Updated the CI/CD
.github/workflows/release.ymlfile to parse and useRelease_Note.mddirectly for the body description of GitHub Releases.
🏷️ 9. File-System Based AI Skills & Source Badges
Upgraded the AI skills loading pipeline and settings interface:
- Dual Workspace Scanning: Automatically discovers and loads
.md/.txtskills from both.agents/skills/andskills/folders in the active workspace. - Location Color Badges: Displays tags indicating whether skills come from Workspace (🟢 green), Global (🔵 blue), or Taught database (🟣 purple) in settings UI and CLI list output (
mint learn --listand/learn). - Clean List UI: Hides the lengthy file content preview block under each skill, rendering a much cleaner and concise layout.
🛠️ 10. Unified MCP Servers & Toggle Management
- Consolidated List: Merged all system-discovered tools (Docker, Git, GitHub, Node) into the unified MCP Servers list.
- Individual Toggle Switches: Enables/disables or installs MCP servers dynamically with instant toggle state styling.
- Red Trash Can Buttons: Added a red trash icon button to easily remove custom/manually configured MCP servers.
🛠️ Codebase Changes
Tauri Backend (src-tauri & crates/mint-core)
- Register Tauri commands:
create_workspace_file,create_workspace_folder, anddelete_workspace_iteminsrc-tauri/src/lib.rs. - Add
locationfield toLearnedSkillDtoand populate it based on workspace, global config, or database sources insrc-tauri/src/lib.rs. - Update
workspace_rootpath resolver insrc-tauri/src/lib.rsto stripsrc-taurifrom the active directory during dev mode. - Standardize process suggestion monitor logic to run AI prompt translations in the background thread inside
src-tauri/src/workflows.rs. - Change
submit_tool_approvalsignature andApprovalsStatepending channel type to supportApprovalOutcomeinsrc-tauri/src/lib.rs. - Add executable search helper
whichand GitKraken auto-detection hooks toload_config_fromincrates/mint-core/src/config.rs. - Support multiple source directory scanning and deduplication of learned skills in
crates/mint-core/src/skills.rs.
Desktop/Web Frontend (src/renderer)
- Integrate creation/deletion actions and focus/polling lifecycle listeners inside
WorkspacePanel.tsx. - Redesign actions bar grid layouts inside
styles.css. - Update inline markdown parser inside
ChatPanel.tsxto wrap@mentions, and style.chat-mentioninindex.css. - Update
submitToolApprovalAPI and component state handlers (MintDashboard.tsx,ChatPanel.tsx) in both desktop and web directories to render and submit custom answers. - Update
activitiesFromandAgentActivitystructure to parse and append the user's answer into the activeask_usertool target block uponToolEnd. - Update
LearnedSkillTypeScript interface insrc/renderer/src/tauri.tsto include optionallocation. - Render colored location badges, strip lengthy content text boxes, and unify MCP toggles/delete controls in
src/renderer/src/components/Settings/PluginsTab.tsxandsrc/renderer/src-web/components/Settings/PluginsTab.tsx.
CLI Agent (crates/mint-cli)
- Redefine live status print lines (
plan_lines,tasks_lines,activities_lines,explored_lines) to accept progress tick state and apply theget_bullethelper. - Update
render_live_statusincrates/mint-cli/src/agent.rsto compute true physical lines of terminal wrapped text, using a newis_thai_combiningfilter. - Modify
confirmincrates/mint-cli/src/main.rsto indent confirmation prompts. - Format
mint learn --listand/learnCLI output into a bullet-point summary showing active skill locations and source paths.
Github CI/CD Workflows
- Modify
Publish GitHub releasestep in.github/workflows/release.ymlto usebody_path: Release_Note.md.