New Features - Prompt Override: Added the `dimcode prompt` subcommand for script-based management of base prompts, compressed prompts, and Skills guidance—no need to enter a session. - Local Report Generation: Added the `dim-report` crate; the terminal can trigger error reports or report the current Session. - Code Mode: When running the native QuickJS plugin, subtool calls are grouped by `parentCallId` (v4 sub-batch protocol). - Scheduler Target Model: Scheduled tasks can be dispatched to a specified Session/branch; the settings page allows editing the dispatch location and disabling reason. - Reply Language: Session configuration now supports `reply language`. - Compressed Summary Lazy Loading: After compressing long contexts, only the summary is shown first—details are read in chunks on demand (new `session.history.display` RPC). Experience Fixes and Improvements - Hook Context Separation: Context attached to the prompt hook is no longer mixed into the user’s main text; both CLI and web display it on a separate line (web shows a "Hook context" count). - Thinking Block Timing Fix: `thinking` blocks now have a stable start time—duration no longer drifts after scrolling, reloading, replaying, or forking. - Queue Noise Reduction: Duplicate queue control prompts are reported only once to prevent spamming. - Help Formatting: Fixed indentation and description alignment in CLI help output. - @ Mentions: Still reference the local `--cwd` base after `resume`. - Background Tasks: The task name is displayed above Composer; the status bar adds segmented task counts; task rows are retained and marked with the exit method. - Branches: Composer shows a prompt for unread branch replies. Provider / MCP - MCP OAuth enforces `origin` and resolution address policies—servers that fail retain backoff and are no longer bombarded with retry requests. - After logging in to a Dim account, the OAuth model list is automatically synchronized; Provider disabling does not prevent explicit refreshes. - Web settings page form optimizations (authentication method naming, credential warning copy, etc.). Security - File tools deny access to paths outside the configured root directory—the access boundary has been tightened.
Web Interface - Historical pagination loading: The session loads only the most recent history (approximately 4 pages / 300 entries). The "Load Older Content" button at the top enables manual pagination; retries are available upon failure. - Session parent-child navigation: The session header displays a "Parent Session" link and a collapsible list of "Child Sessions (N)". - Reconnection recovery enhancement: After reconnection or switching devices, queued inputs, pending questions, ongoing rounds, and long-term goals are restored. Goal status is now read from the server side. - One-click installation of optional plugins: The plugin list on the Settings page directly shows an "Install" button. The timeout for optional plugins is extended to 15 minutes. CLI - New modality command family: Image/video/audio/music generation and editing, dimcode ocr (image/PDF text recognition), dimcode realtime (real-time sessions)—all support --json. - Optional plugins: `plugin install --optional NAME`, `plugin list` displays optional plugins that are not installed. - Runtime: `runtime install uv` adds the uv toolchain. - Session interaction: `/earlier` loads older history; `/goal` is more reliable. The daemon process now replaces only when idle (a prompt will appear to upgrade later if in use). Protocols and Data - Frontend and backend must be the same version: The new web interface depends on 5 new RPC methods and a new history cursor (bundled in the packaged image for release—no practical impact). - A new `eventhub/` directory has been added to the data directory (created automatically on first startup). There is a storage format upgrade path (automatic migration).
## CLI - **Sessions and Startup**: Session export dialog and queue management; lazy startup session fix; Web address display and switch menu hint fix; the first message can be passed directly at startup (no need to enter the interface and type it afterward). - **MCP Import**: Supports importing standard `mcpServers` documents; can discover and import MCP stores from other clients; import preview marks known stores. - **Model Failure and Retry**: Failure details displayed on a single line, multilingual phrasing, displays retry count, provides hints while waiting for retries; model failure details are masked. - **hooks**: Reports handlers that will not run during installation. ## Web - **Model Failure and Retry**: Failure details displayed on a single line, each retry is announced only once, cleared after the end of a round; the processing state remains perceptible. - **MCP Settings**: Imports standard `mcpServers` documents; discovers and imports MCP stores from other clients; import preview (marks target store, prompts for partial import, requires selecting the target first before choosing the file), and fixes stale import prompts. - **Scheduled Tasks**: Adds a scheduled task settings page (ScheduledSettings / SchedulePlan). - **UI Extensions**: Framework-agnostic client UI extensions; UI can read Session / extension resources via protocols. - **Settings Enhancements**: Skill settings refactored; default model scope changed to be selected by session workspace (already filtered by LCMD workspace root); lists declared sources and authorized project root directories; Modality connection settings integrated (settings-modality flow). ## General / Dependencies - Dependency upgrades: mermaid 11.16.1, vue 3.5.45.