# Changelog · 1.3

> Every Deck release and what changed in it.

42 releases

1.3.0 – 1.3.9 · 10 releases

## v1.3.9 artum (2026-04-02)

### TL;DR
-   Deck now automatically compacts older conversation context when an AI chat approaches the context limit, allowing long sessions to continue without manually starting over.

-   While compaction is running, `Compacting...` appears beside the AI dot; once complete, the transcript shows a minimal divider that marks where earlier context was compacted.

-   Deck AI now carries forward the current task direction, key outcomes, and essential tool context after compaction, reducing long-session context breaks.

-   In the expanded AI chat panel, Deck now shows a restrained context usage indicator with a small ring and percentage so you can quickly gauge how close the current session is to the context limit.

-   Deck now batches independent read-only AI lookups within the same turn to reduce waiting time.

-   Clipboard search, plugin listing/reading, skill detail lookup, and web search/fetch can now work together so the AI can gather context faster.

-   Write, delete, plugin-edit, and other approval-sensitive actions remain sequential, so this optimization does not loosen the approval flow.

-   Deck AI is now more reliable during multi-step tasks: it diagnoses issues before changing strategy, reports tool outcomes more accurately, and applies better judgment about action risk levels.

-   When the AI creates or modifies a JavaScript script plugin, Deck now runs a native JSON/JavaScript preflight before showing approval, catching manifest errors, syntax issues, and common runtime incompatibilities earlier.

-   You can now ask Deck AI to generate Smart Rules directly. The AI structures the conditions, actions, and enabled state into a real rule, then saves it through the existing approval flow.

-   When Deck AI is searching the clipboard, reading a plugin, saving memory, or handling other tool steps, the left-side status area now shows the current action more clearly, making waits feel more transparent and polished.

-   Streaming AI replies now render in the final message slot from the start, so finishing a reply no longer causes downward flashes, rebound snaps, or sudden upward jumps of the whole text block.

-   Reduced repeated focus grabs in the AI chat composer, lowering noisy system input-method warnings during window activation or Chinese IME switching and making text entry feel more stable.

-   The AI composer now hides its placeholder promptly during Chinese IME composition and fixes cases where confirming a candidate could insert a number instead, making Chinese text entry cleaner and more stable.

-   The send button aligns to the bottom when the composer grows with multiple lines; it stays vertically centered with the single-line field when empty, keeping the default look consistent.

-   Onboarding and Settings → Storage can import CliperX history read-only (including common UsePasteAgain layouts) alongside other sources; rows use bundled brand artwork with continuous corner masking so each source is easy to recognize.

### Added
-   When an AI conversation approaches the context limit, Deck automatically condenses earlier context into a summary so long-running chats can continue.

-   Deck AI now includes a `generate_smart_rule` tool, allowing automation intents to be turned directly into Smart Rules instead of only generating Script Plugins.

-   While compaction is in progress, Deck shows `Compacting...`, then inserts a minimal “Conversation context compressed” divider into the transcript once the process completes.

-   Deck adds a lightweight context usage display for AI chat, using a small ring and percentage in the expanded panel to show the session's approximate context pressure.

-   Adds read-only scan/import for CliperX (including common UsePasteAgain `History.sqlite` + `Payloads` layouts), using the same authentication and batched write path as other migration adapters.

### Improvements
-   Compacted context now preserves the current task direction, key outcomes, and essential tool hints, reducing the feeling that the AI has lost the thread in longer chats.

-   Deck only shows the context usage indicator after you send a message or expand the chat panel, keeping the information useful without cluttering the default compact popup state.

-   When the composer grows with line breaks, the send button stays pinned to the bottom of the input area instead of floating in the middle; when the field is empty, it remains vertically centered with the single-line composer for a consistent default layout.

-   Deck AI now handles tool-heavy lookup flows more efficiently, especially when a request needs clipboard, plugin, and web context together.

-   While the AI is performing tool calls, the chat panel now makes the current step more visible on the left side — such as searching, reading a plugin, reading a skill, or saving memory — so the flow is easier to follow.

-   Independent read-only tool calls can now be issued together in the same turn, reducing unnecessary back-and-forth.

-   Legacy template-library migration and repair flows have been consolidated, making maintenance more direct and reducing the chance of drift in historical data recovery.

-   When a tool call fails or search results come back empty, the AI now analyzes the cause before adjusting its approach, rather than retrying blindly or giving up immediately.

-   The AI now has clearer risk-tiered awareness across its tools — acting more decisively on read-only operations and more cautiously on irreversible ones.

-   The AI no longer fabricates success when a tool fails, nor hedges unnecessarily when things go well — reporting is now more faithful to actual outcomes.

-   `generate_script_plugin` and `modify_script_plugin` now run native preflight checks on drafts or temporary patched copies first; when something fails, Deck returns structured file, severity, code, message, and line/column diagnostics so the model can repair and retry automatically.

-   The AI approval bubble in chat now recognizes Smart Rule creation requests and shows a minimal preview of the rule name, trigger logic, and short summary while preserving the original visual style.

-   Welcome “migrate clipboard” and Settings → Storage migration rows now use bundled brand PNGs under `MigrationSourceIcons`, masked with macOS continuous corners, instead of generic SF Symbols alone; loose PNGs ship in the app resource bundle and load via `Bundle` file URLs to avoid “missing in asset catalog” warnings; minor listing tweaks are omitted here. The repo also includes `scripts/normalize_migration_source_icons.py` to normalize icon canvases when updating artwork.

### Changes
-   Compaction only affects the runtime context sent to the AI; local conversation history remains fully preserved, and older messages do not disappear from the transcript.

-   This behavior triggers silently as the context approaches its limit, with no manual button or extra cleanup step required.

-   CliperX and related migrations are offered from onboarding and Settings → Storage only, not from JSON export/import flows, so the entry point stays consistent.

### Fixes
-   Local save paths for LAN pairing secrets, AI Memory keys, and shared keys have been tightened; when a relevant secret already exists, Deck now tries to update it in place first, reducing the risk of losing existing values during rare write failures.

-   If compaction cannot complete, Deck retries quietly once and then continues with the current request normally, avoiding hard interruptions when compaction fails.

-   Fixed the layout handoff between streaming and finalized AI messages; in short replies, compact windows, and bottom-pinned reading, finishing a reply no longer pushes the whole content upward at the last moment.

-   Fixed repeated first-responder requests in the AI chat composer when the window becomes active again. This reduces system-level warning noise during composed-input flows such as Chinese IMEs and keeps input focus behavior more stable.

-   Fixed issues where the AI composer placeholder could briefly overlap IME composition text and, in some cases, confirming a Chinese IME candidate could insert a number instead; sending or clearing the composer now also handles in-progress composition more reliably.

-   Fixed an issue where the context usage indicator could keep showing stale values after switching chats or starting a new conversation. Empty chats, different sessions, and restored chat states now recalculate and refresh correctly.

-   Fixed an issue where overly long Smart Rule approval content could inflate the AI chat panel to an extreme height and even trigger a constraints update loop; approval summaries are now kept restrained.

-   Fixed `modify_script_plugin` preflight creating a temporary directory before `copyItem`; `FileManager.copyItem` requires the destination not to exist, so the copy step always failed and surfaced as a misleading directory-creation error (often under `/var/folders/...`). The staging path is now created only as part of the copy into a unique temp URL.

### Compatibility & Behavior Notes
-   Deck prefers to keep the most recent turns verbatim and fold earlier context into a summary, so compacted sessions stay anchored in the latest exchange.

-   This applies only to independent read-only tool calls in the same turn; anything that writes data, requires approval, or depends on a prior result still runs sequentially.

-   Batching happens when the AI determines that multiple lookups are independent; tasks that require step-by-step reasoning or confirmation may still remain serial.

-   This check has no separate button or settings surface. It runs automatically inside the AI plugin generation pipeline, and Deck only proceeds to plugin add/modify approval once preflight passes.

### Upgrade Notes
-   Upgrade to v1.3.9 if you often keep Deck AI on longer tasks, follow up repeatedly, or continue pushing the same goal across many turns.

-   Upgrade to v1.3.9 if you often ask Deck AI to inspect clipboard history, script plugins, skill details, and web content in the same request.

-   If you used CliperX or similar tools and want history brought into Deck, start a read-only migration from onboarding or Settings → Storage after upgrading.

---

## v1.3.8 lūcidulus (2026-03-30)

### TL;DR
-   The main panel (⌘P) now slides its content inside a fixed window frame; fullscreen dismiss no longer hitches at the edge, pop-in stays closer to the target size with less end-of-animation micro-jitter.
-   The history panel now animates as a complete floating surface instead of being hard-clipped by its final rectangular bounds during show and hide.
-   The macOS 26 dark-mode liquid-glass edge has been softened to reduce the double-outline look created by a bright outer rim plus the darkest outer edge.
-   Slash search can include or exclude items received via Deck LAN sharing.
-   Upgrades backfill LAN-received history where paths can be detected reliably.
-   Fixes LAN-received markers being cleared when the same content is captured again.
-   Refines top search bar main-thread scheduling to reduce QoS priority-inversion diagnostics and potential micro-stutters.
-   The AI chat composer now uses a macOS-native input component better suited for large text editing, significantly reducing lag with very large pasted text and Chinese IMEs.
-   Resolves [Issue #85](https://github.com/yuzeguitarist/Deck/issues/85): once you scroll up during an active AI reply, Deck stops auto-jumping back to the bottom for the rest of that reply.
-   Fixes incorrect shrink behavior in the compact AI window after multi-line input, preventing the top controls from being pushed toward the middle.
-   List thumbnails, LAN-received directory cleanup, and the Share submenu compile cleaner under Swift 6 concurrency checks, reducing related Xcode warnings.
-   Refines the AI assistant system prompts for more consistent replies and clearer behavioral boundaries.
-   Strengthens autonomous decision-making so the AI chooses tools and follow-ups more proactively with fewer unnecessary confirmation loops.
-   Improves end-to-end search performance with a faster query and indexing path.
-   Resolves [Issue #89](https://github.com/yuzeguitarist/Deck/issues/89): in terminals and other text-entry contexts, Cursor Assistant now prefers the insertion point so your eyes do not need to bounce between the mouse and the typing position.
-   Resolves [Issue #82](https://github.com/yuzeguitarist/Deck/issues/82): vertical layout now shows 1–9 quick-paste hints while the quick-paste modifier is held (⌘ by default).
-   Resolves [Issue #78](https://github.com/yuzeguitarist/Deck/issues/78): after long idle periods, reopening the history panel surfaces recent clips sooner and uses a lighter localized text-only loading hint.
-   Script plugins support **Upload to Store**: opens the Deck publish page in your browser with the current plugin pre-filled (no auto-submit).
-   Installed script plugins no longer show `v1.0.0`-style version badges; manifest examples in the guide and upload/publish error strings are fully localized (zh-Hans, zh-Hant, en, de, fr, ja, ko).

### Added
-   Use `type:lan` to show only items received on this Mac via Deck LAN sharing, and `-type:lan` to exclude them; combine with other `type:` values using `+`.
-   Search rule help and hints now document the `lan` type across zh-Hans, zh-Hant, en, de, fr, ja, and ko.
-   In vertical history, holding the quick-paste modifier shows `• #n` in the row subtitle (11pt bold)—same layout as vertical queue mode—with adaptive neutral gray, distinct from the orange queue `#` labels.
-   **Upload to Store** under Settings → Script Plugins encodes the manifest and UTF-8 text files into the URL fragment, opens `apps.deckclip.app/publish/#data=…` in your browser with the form pre-filled; nothing is auto-submitted—you finish publishing on the web.

### Improvements
-   Show/hide slides panel content inside a fixed window frame, avoiding fullscreen edge clipping/snap when animating the whole window off-screen; pop-in matches the target size with less micro-jitter at the end.
-   The history panel now separates its outer contour from the glass material, and show/hide transitions move the panel as one floating surface to reduce the rectangular clipped look and keep rounded edges more coherent.
-   Removes redundant User-interactive QoS on deferred main-queue work, passes tag-focus transition state from SwiftUI instead of re-reading global state inside `NSViewRepresentable` updates—reducing “User-interactive waiting on Default QoS” priority-inversion warnings and related hitch risk.
-   The AI chat composer now uses a native macOS multiline text component and reduces main-thread pressure during typing and pre-send processing, keeping the window more responsive when pasting very large text, using Chinese IMEs, and sending long prompts.
-   List-row thumbnails use a dedicated background blob read path; LAN-received expiry cleanup logs are marshaled to the main actor asynchronously to avoid default MainActor isolation conflicts.
-   Rewrites and tightens assistant-facing system prompts—role, capability bounds, output shape, and safety-related constraints are clearer, reducing vague-instruction drift and redundant back-and-forth.
-   Biases toward autonomous tool use (e.g. search, context reads) and task closure where appropriate, pausing mainly for material ambiguity or higher-risk actions.
-   Optimizes index updates and query execution to cut latency and main-thread work for common filters and full-text lookups.
-   In terminals and other text-entry contexts, Cursor Assistant now prefers the active text caret to reduce eye travel between the mouse and the typing position, while still falling back gracefully when an app does not expose reliable caret information.
-   Script plugin settings follow the standard Deck settings layout and components; the installed list omits per-plugin version badges to avoid confusion with store versioning; upload actions and help text match the current publish flow.
-   Upload-to-store, publish-page errors, link-generation failures, and validation messages are localized across zh-Hans, zh-Hant, en, de, fr, ja, and ko.

### Changes
-   The creation guide’s manifest sample and field list no longer include a `version` key (aligned with hiding local semver in the list); **Upload to Store** bundles only the manifest and UTF-8 text files, with per-file size limits—oversized or non-text files surface localized errors in the app.

### Fixes
-   Tunes the macOS 26 history panel edge rendering in dark mode to reduce the double-outline look caused by a bright outer rim plus a darker outer edge, while preserving the cleaner appearance already seen in light mode.
-   Re-capturing the same clipboard payload no longer clears the LAN-received flag when upserting by `unique_id`.
-   In the compact AI window, the first four line breaks now expand downward as intended, the fifth and later lines scroll inside the composer, and removing line breaks shrinks the outer window back cleanly without leaving extra empty space or pushing the top controls into the middle.
-   While an AI reply is still streaming, scrolling up to read earlier content now immediately disables auto-follow for the rest of that reply, so the view no longer keeps snapping back to the bottom; normal auto-follow resumes on the next reply.
-   Keeps the in-menu secondary sharing service list and existing share flow while avoiding direct calls to deprecated system listing APIs, removing related deprecation warnings.
-   Reopening the history panel after long idle periods now surfaces recent clips sooner; while fresh content is still being prepared, Deck shows a lighter localized text-only hint to reduce the blank-then-pop-in feel.

### Compatibility & Behavior Notes
-   Migration flags unencrypted rows whose stored text/data contains the LAN receive folder path; older plain or inline LAN items without that cue may remain unflagged.
-   Export may include `receivedFromLAN`; older export files without it import as false.

### Upgrade Notes
-   Upgrade as usual; for full historical coverage of LAN filtering, re-receive from peers where needed or verify edge cases manually.

---

## v1.3.7 fastidious (2026-03-23)

### TL;DR
- **Homebrew Cask**  
  `brew tap yuzeguitarist/deck && brew install --cask deckclip` — two commands to install, versions auto-sync from GitHub Releases.  
- **⌃A / ⌃E**  
  History supports Emacs-style shortcuts to jump to the true newest or oldest page from the database.  
-   Tail jumps use one targeted fetch instead of paging through the middle; search tail jumps cap candidates on very large libraries.  
-   Fixes ⌃E stopping on repeat use and ⌃A after ⌃E leaving you stuck on the tail until reopening the panel.  
-   Paused recording no longer ingests clipboard changes that happened during pause when you resume.  
-   The feedback destination sheet opened from Settings › About works for Cancel and both options, matching the keyboard shortcut entry.  
-   About adds a Support section: the Deck icon opens the pricing page at Support Development, plus GitHub; the website locale follows app language (Chinese vs English site).  
-   Stricter DB init semantics; template items stored on disk with legacy migration/repair; iCloud sync improvements for encryption, file URLs, metadata, and crash recovery; Smart Rule no longer auto-authorizes networked script plugins; tighter permissions and safer Keychain updates for AI auth.  
-   Web fetch/search assembles large bodies more efficiently; removing a LAN manual peer clears outbound scheduling state for that IP so stale map entries do not accumulate.  

### Added
-   Deck is now available via Homebrew: `brew tap yuzeguitarist/deck` then `brew install --cask deckclip`. Future releases auto-sync from GitHub Releases.  
-   Card context menu adds a "System Share" submenu listing AirDrop, Messages, Mail, and all macOS sharing services — no need to drag to Finder first. Supported in both horizontal and vertical layout modes.  
-   With history focus, ⌃A reloads the newest page from the database and selects the chronologically newest item; ⌃E fetches the oldest page in one query and selects the chronologically oldest item, independent of context-aware visual order.  
-   Settings › About adds Support the Author: one row with the app icon opens the pricing page at the Support Development section; another opens the GitHub repository. Chinese app language uses the Chinese site; otherwise the English site.  

### Improvements
-   Jumping to the list end reads the oldest slice directly by sort order instead of paging forward from the middle.  
-   When the library is very large, tail jumps in search mode use a tighter one-shot candidate cap to avoid excessive work.  
-   Support-section icons share consistent sizing and alignment, with a clearer, smoother GitHub mark.  
-   Template payloads live under Application Support with metadata indices in UserDefaults; security mode encrypts template files; remove/move operations update indices only instead of rewriting every payload.  
-   `lastSyncDate` updates whenever a fetch attempt finishes (including early error exits), decoupled from whether the server change token advanced.  
-   Async response bytes are buffered in chunks before appending to `Data`, reducing CPU and allocation work for multi-megabyte bodies while keeping the 5 MB cap and overflow behavior.  

### Fixes
-   Subsequent ⌃E presses are no longer blocked by the shared loading flag used for “load more”; pagination marks loading only inside its async work.  
-   After ⌃E, ⌃A previously selected the first item of the in-memory tail slice, not the global newest, and newer items seemed missing until reopening; it now reloads the true head page symmetrically to ⌃E.  
-   Clipboard captures made while recording is paused are no longer saved the moment you resume; only copies after resuming are recorded.  
-   Feedback destination dialog is presented on the next main-loop turn so AppKit modal sessions started from Settings SwiftUI actions receive clicks in the content area, not only the title-bar close control.  
-   `isInitialized` flips true only after integrity, custom SQL functions, table creation, and migrations succeed; failed integrity recovery no longer leaves a false “ready” flag.  
-   Storage version advances only after a successful legacy decode and payload write; decode failures keep legacy data for retry. Orphan legacy blobs are repaired when indices are empty but old JSON remains.  
-   When a file-URL image is materialized to bytes for the template library, the stored pasteboard type matches the image payload.  
-   fileURL items upload only when local resolution yields real content (not just the path string); images use concrete image types; unresolvable items are skipped with logging.  
-   With iCloud encryption, app path/name follow the same rules as other fields: encrypt-or-omit with warnings, no silent plaintext; `encryptAppMeta` matches receiver decryption.  
-   Persisted in-flight upload names are cleared only for succeeded or cancelled records; failed records pending re-queue stay listed until the next successful completion path.  
- **iCloud：Server change token**  
  Corrupt server change token data in UserDefaults is removed after a decode failure.  
-   Smart Rule no longer auto-authorizes script plugins that require network access; users must approve in plugin settings.  
-   Tighter POSIX permissions on `auth.json` (700/600); API keys prefer `SecItemUpdate` over delete-then-add to avoid losing the previous secret on add failure.  
-   Removing a manual peer drops the outbound-connect epoch entry for that IP instead of retaining the key with an incremented counter, trimming stale entries when peers are added and removed over time.  

### Compatibility & Behavior Notes
-   Shortcuts use the Control modifier on macOS; the history list must have focus (not while typing in search, etc.).  
-   After ⌃E, the visible list is that tail page until ⌃A reloads the newest page or another action reloads the head (e.g. reopening the panel).  
-   On first launch after upgrade, template items migrate from the legacy UserDefaults blob to `~/Library/Application Support/Deck/TemplateItems/`; a repair pass may recover from a partially migrated state.

## v1.3.6 recherché (2026-03-20)

### TL;DR
-   The AI assistant gains web search and page-fetch tools, plus a quick path to configure OpenCode Zen free models.  
-   Hide or show the menu bar icon instantly from Settings without restarting; use Cmd+F in the main panel to focus the search field.  
-   Global shortcuts, Typing Paste, and cursor-assistant triggers share conflict checks; failed saves roll back with a clear alert.  
-   Nearby sync and discovery are more stable around sleep/wake and reconnects; UI string gaps and the OAuth completion flow are improved.  

### Added
-   Adds `web_search` and `web_fetch` for the AI assistant: search via the Exa endpoint, fetch pages, and convert HTML to Markdown or plain text with safe size limits; Smart Rule automation does not include these web tools.  
-   Adds a Zen entry and model picker in the OpenAI API section to auto-fill base URL, API key placeholder, and model name for free-tier models.  

### Improvements
-   A “Show menu bar icon” toggle under General › Startup updates the existing preference and applies immediately; when shown again, pause state stays in sync.  
-   Cmd+F in the main panel focuses the search field, dismissing the rules popover if needed and working alongside brief focus suppression and Vim mode; typing to search still works as before.  
-   The OAuth completion button now reads “Open Deck” and launches the app via its URL scheme instead of only closing the page.  
-   Removes the Beta pill next to the AI Assistant title for a cleaner settings screen.  
-   The Zen banner reuses existing config-row styling and matches maintenance-style sheets; new strings are localized across supported languages.  
-   Adds unified conflict validation for global shortcuts, Typing Paste record/reset, and cursor-assistant triggers, including reserving ⌘⇧V for queue sequential paste.  
-   Observes display sleep/wake, delays discovery after wake, debounces remembered-peer reconnects, avoids duplicate invites and stale callbacks, and cancels tasks plus clears delegates on refresh/stop.  
-   Localizes new settings strings and fills gaps for empty clipboard, queue hints, search placeholders, import rules, previews, and AI errors across supported languages.  

### Changes
-   If shortcut registration fails, the UI rolls back to the last saved combination and shows an explanation instead of appearing updated while inactive.  
-   Updates the system prompt tool count and documentation to include web search and fetch, including usage expectations such as no per-call approval.  

### Fixes
-   Preserves not-connected cooldowns where appropriate so `lostPeer` does not clear them incorrectly; it cancels pending auto-reconnect and cleans discovery UI state.  
-   Fixes runtime Chinese fallbacks and missing keys in empty states, queue UI, HUD, and search-related copy.  

### Upgrade Notes
-   If you use custom AI endpoints, review Zen quick setup against your privacy and compliance needs before enabling.  

---

## v1.3.5 Apologies (2026-03-15)

### TL;DR

-   When a downloaded package fails size or hash validation, Deck now attempts recovery and reconfirmation before surfacing a fatal error.

-   If the available update changes during installation, the update prompt now refreshes to the latest info instead of continuing with a stale snapshot.

-   Deck now refreshes metadata, adds cache-busting to retry downloads, and automatically retries once when stale cache or edge-node lag is suspected.

### Improvements

-   After a validation mismatch, Deck re-fetches the latest metadata and chooses the next step based on the current update state for a more resilient upgrade flow.

-   Download validation failures now show clearer, scenario-specific messaging instead of only a generic "size mismatch" style error.

### Changes

-   If recovery detects that the remote version has changed, Deck updates the local record and asks you to confirm installation again against the latest version.

-   If the version stays the same but the underlying asset changes, Deck refreshes to the new package information and requires reconfirmation before continuing.

### Fixes

-   When metadata is unchanged, Deck now treats the mismatch as likely edge propagation delay and automatically waits briefly before retrying the download once.

-   Retry downloads now use cache-busting URLs to avoid stale caches and reduce repeated failures caused by outdated packages.

-   If the available update changes mid-install, the current update prompt now switches to the new update info instead of holding onto the old snapshot.

### Upgrade Notes

-   This release mainly improves the reliability of the update download and confirmation flow, especially for failures caused by cache staleness or propagation lag.

---

## v1.3.4 Responsive (2026-03-14)

### TL;DR
- **Resizable horizontal panel**  
  Horizontal Deck can now be resized from the top edge, and it remembers your last panel height.
- **Cards scale with the panel**  
  Horizontal cards now scale with panel height, giving images, links, text, and code more room to breathe.
- **Navigation feels more natural across views**  
  Keyboard navigation now feels more consistent across horizontal/vertical Deck and Cursor Assistant, without stealing editing keys while typing.
- **Preview stays in sync with selection**  
  Open previews now stay synced with the current selection when you switch tabs or move focus.
- **Preview reading is cleaner and less cramped**  
  Plain text, Markdown, code, and single-image previews now use a cleaner edge-to-edge layout with lighter, more consistent scrollbars.

### Added
- **Panel height adjustment for horizontal Deck**  
  Added a top resize handle for horizontal Deck so you can drag upward to expand the panel height and keep your preferred size.
- **Modifier-based quick number hints**  
  Added modifier-triggered quick number hints for the first 9 reachable horizontal cards to make fast targeting easier.

### Improvements
- **Adaptive horizontal card layout**  
  Horizontal cards now adapt their size, content density, and truncation rules to panel height so extra space improves readability instead of just scaling the frame.
- **Richer image and link presentation**  
  Image cards now use clearer metadata layout and a checkerboard transparency background, while link cards scale their media area and icons more naturally.
- **Cleaner preview surfaces**  
  Plain text, Markdown, code, and single-image previews now feel more immersive with edge-to-edge presentation and slimmer, lighter scrollbars.
- **Smaller and tidier card number badges**  
  The quick number badges in the lower-right corner of horizontal cards are now smaller and better placed, making them less distracting.

### Changes
- **Direction-first keyboard semantics**  
  Horizontal Deck shortcuts now prioritize directional semantics: Ctrl+N / Ctrl+P move to next / previous, Ctrl+F / Ctrl+B move right / left, and Vim mode keeps h / l fixed to left / right while j / k remain as compatible navigation keys.
- **Vertical navigation stays intentionally simpler**  
  Vertical Deck keeps a simpler navigation model with arrow keys and Ctrl+N / Ctrl+P for up/down movement, plus j / k in Vim mode without adding Ctrl+F / Ctrl+B.
- **Cursor Assistant follows the same input rules**  
  Cursor Assistant now supports Ctrl+N / Ctrl+P and j / k in Vim mode, following the same input-state protection rules as the main panel.

### Fixes
- **Preview sync after selection changes**  
  Fixed a preview sync bug where updates only reliably followed certain keyboard moves and could fall out of sync after tab switches or other external selection changes.
- **Long-press preview throttling no longer overrides fresh focus**  
  Fixed an issue where delayed preview updates during long key presses could override newer focus changes, making preview following more reliable.
- **No more extra code warning block in preview**  
  Removed the extra warning block shown under very long code previews, so the main content no longer gets squeezed or visually cut off.

### Notes
- **Large code still protects performance**  
  Very large code previews still keep their performance safeguards, such as disabling highlighting, but no longer show an intrusive extra notice in the UI.

### Compatibility & Behavior Notes
- **Resize applies to horizontal Deck only**  
  The new panel resize behavior applies only to horizontal Deck; overall height behavior for the vertical list remains unchanged.
- **Editing contexts still keep priority**  
  Search fields and editing contexts still preserve normal text input shortcuts, so the new navigation mappings do not hijack editing behavior.

### Upgrade Notes
- **Recommended for users who rely on horizontal Deck or preview workflows**  
  If you mainly use horizontal Deck, rely on keyboard navigation, or spend a lot of time browsing previews in the panel, this update is well worth installing.

---

## v1.3.3 Winsome (2026-03-11)

### TL;DR
- **AI Chat feels much steadier**  
  AI chat now feels much steadier, with smarter auto-follow, smoother streaming updates, and tail-only rendering that no longer yanks you away from message history.
- **Heavy AI work backs off the main thread**  
  More AI persistence and refresh work now stays off the main thread, reducing send-time freezes, UI stalls, and memory churn.
- **Search panel state is more reliable**  
  Search panel state is now more reliable, with fixes for expansion drift, focus sync, and leftover IME composition when reopening the panel.
- **Queue mode is more customizable**  
  Queue mode now lets you choose where number-key mapping starts, either from the leftmost card or from the currently focused item.
- **Feedback and AI text are more polished**  
  Feedback now offers email or web reporting, and more AI-facing default labels and prompts are properly localized.

### Added
- **Queue quick-select anchor setting**  
  Added a new “Number Mapping Start Point” setting so queue mode can map number keys from either the leftmost card or the currently focused card.
- **Web feedback entry**  
  Added a web-based feedback flow that automatically attaches device, system, app version, locale, and time zone details.

### Improvements
- **Smarter chat auto-follow**  
  Chat now stays pinned only when you just sent a message, AI is actively replying, and you were already near the bottom; if you scroll up intentionally, normal streaming output no longer forces you back down.
- **Smoother streaming output**  
  Streaming refresh and scroll triggering have been softened and layered more carefully, reducing jitter, blank flashes, and jumpiness during long responses.
- **Tail-only rendering for active responses**  
  Active AI responses now update through a more focused tail-rendering path, so stable history no longer gets broadly recomputed on each stream tick.
- **Lighter conversation persistence**  
  AI conversation persistence and index updates are now merged and scheduled more intelligently, reducing unnecessary disk activity during bursts of activity.
- **More stable message layout**  
  Message text now uses a steadier vertical layout, making long streaming content less prone to layout instability.

### Changes
- **Priority-based scroll behavior**  
  Chat scrolling now uses event priorities: normal AI output avoids interrupting reading, while permission requests and interaction prompts are prioritized for visibility.
- **Queue mode status messaging**  
  Queue mode now shows the current number-mapping rule in its status area, making the active selection behavior easier to remember.
- **Feedback flow selection**  
  Triggering feedback now lets you choose between email and web reporting first, and the web path follows the current app language.

### Fixes
- **Chat view redraw pressure**  
  Fixed excessive full-view redraw pressure during streaming replies, which significantly reduces send-time freezes and dropped frames while scrolling.
- **Search bar expansion drift**  
  Fixed an issue where the search bar could reopen in an expanded-looking but not truly active search state.
- **IME composition residue on close**  
  Fixed issues where closing the panel during unfinished IME composition could leave stray Latin text, swallow key events, or break focus on reopen.
- **AI conversation logging calls**  
  Fixed several missing async waits in AIConversationStore logging calls to avoid instability around save and query flows.
- **AI-facing fallback text consistency**  
  Fixed inconsistent localization across some AI default titles, tool prompts, and error messages.

### Notes
- **Localization coverage expanded**  
  This release expands localization coverage for more AI defaults, tool result prompts, plugin generation errors, and new conversation titles.

### Compatibility & Behavior Notes
- **Existing queue users keep the old default**  
  Existing queue users keep the original default behavior, with number mapping still starting from the leftmost card unless changed manually.
- **Search opens in a cleaner default state**  
  Each time the panel reopens, the search bar now returns to a cleaner collapsed default state and expands only when truly entering search mode.

### Upgrade Notes
- **Recommended for all users who rely on AI chat or search**  
  If you frequently use AI chat, read long responses, rely on the search panel, or use queue-mode shortcuts, upgrading to v1.3.3 is recommended.

---

## v1.3.2 Lucent (2026-03-07)

https://github.com/user-attachments/assets/a969e1f3-02c2-43ae-b25d-64b1f396db10

### TL;DR
- **AI Memory**  
  Deck now turns the preferences, habits, and context you share in chat into a growing local memory system, encrypted and stored on your device.  

- **Script Plugins for AI**  
  AI can now run existing script plugins directly and delete them after your approval; network-enabled plugins ask for permission before running.  

- **AI CLI Bridge**  
  Deck adds `/ai/run`, `/ai/search`, and `/ai/transform` so AI workflows are easier to drive from the CLI and automation.  

- **AI Smart Rules**  
  Smart Rules now support AI actions, with automatic guardrails that keep each run scoped to the single triggering item.  

- **Faster AI Chat**  
  AI chat is now lighter and smoother, with leaner streaming updates, conversation indexing, and memory usage.  

- **Stability and Polish**  
  Custom storage, import transactions, paste fallbacks, hotkey persistence, image preview, and window layering all received a solid reliability pass.  

### Added
- **AI Memory That Stays Local**  
  Deck AI Memory quietly captures important details from conversations, learns your habits over time, and keeps everything local, encrypted, and private.  

- **Run and Delete Script Plugins with AI**  
  AI can now run existing script plugins and delete them after confirmation, with clearer risk warnings and plugin info shown before removal.  

- **AI Actions in Smart Rules**  
  Smart Rules gain a new AI action that requires a prompt before creation or save, along with clear warnings for high-privilege automation.  

- **Zoomable Image Preview**  
  Image preview now supports zoom buttons, double-click to zoom/reset, gesture zooming, and a larger default scale for image previews.  

- **Always-on-Top Toggle**  
  Settings now include an “always on top” toggle, so tools like Yoink can appear above Deck when you turn it off.  

### Deck × Orbit
- **Three New AI CLI Endpoints**  
  The CLI Bridge now adds dedicated AI routes for run, search, and transform, with examples and failure cases documented directly in Settings.  

- **Search Results, Plugin Chaining, and Auto-Save**  
  `/ai/search` can return search results, `/ai/transform` can run a script plugin before AI post-processing, and both `/ai/run` and `/ai/transform` support auto-save.  

### Improvements
- **Smoother Streaming Replies**  
  Streaming reply updates, auto-scroll behavior, and text rendering were trimmed down so long AI replies feel steadier and less heavy.  

- **On-Demand Skill Loading**  
  AI now starts with a lighter skills directory and loads each `SKILL.md` only when needed, keeping context cleaner and tool choice more precise.  

- **Sharper AI Guidance and Safety Tone**  
  The AI system prompt, personality framing, and safety rules were reworked to make responses more consistent, grounded, and stable.  

- **Settings Visual Polish**  
  Storage, self-check, migration, security mode, AI provider, and accessibility permission areas in Settings were visually unified and made easier to use.  

- **Broader Localization Coverage**  
  This release adds localization coverage for the new AI, Smart Rules, CLI guide, approval dialogs, and window option strings across the supported languages.  

### Changes
- **Plugin Authorization Rules Are Now Explicit**  
  Local-only plugins run immediately, network-enabled plugins ask for permission first, and deleting a script plugin always requires your approval.  

- **Smart Rule AI Runs in a Narrow Automation Context**  
  When a Smart Rule triggers AI, it skips the confirmation dialog but stays limited to the current triggering item and cannot create, edit, or delete script plugins.  

- **Prompt Is Now Required for AI Bridge Requests**  
  `/ai/run`, `/ai/search`, and `/ai/transform` now require a non-empty `prompt`, and return `400` immediately when it is missing.  

- **Larger and Safer JSON Responses**  
  The AI Bridge now supports richer JSON responses and adds response-size protection to reduce the chance of oversized payload failures.  

### Fixes
- **Custom Storage No Longer Fails Silently**  
  Custom storage now writes settings only after a successful migration, rolls the UI back on failure, and no longer silently falls back to the default location.  

- **Imports Are Now Atomic**  
  Imports now fully parse first and then write in a single transaction, so failures roll the whole batch back instead of leaving partial data behind.  

- **Paste and Activity Fallbacks Are Safer**  
  Incorrect session activity wiring, risky CGEvent tap fallback behavior, and the “swallow shortcut before finding no text” issue have all been tightened up.  

- **Hotkey Reset Now Sticks**  
  Cleared hotkeys no longer quietly come back as defaults after the app restarts.  

### Upgrade Notes
- **Review Any CLI Integrations**  
  If you use the CLI Bridge, make sure every AI request includes a `prompt` and that your integration handles `400` responses correctly.  

- **Revisit Smart Rules That Use AI**  
  If AI is part of your automation flow, revisit those rules and confirm the new “triggering item only” scope matches what you expect.  

- **Explore the New AI Workflow Features**  
  After upgrading, it is worth trying AI Memory, script plugin execution, the new CLI AI endpoints, and the updated image preview and window layering controls.  

---

## v1.3.1 Adamantine (2026-03-04)

https://github.com/user-attachments/assets/9ad6fe8a-3427-4c23-bb97-34273820d436

### TL;DR
-   Added a dedicated AI Assistant settings page with support for ChatGPT Subscription, OpenAI API, Anthropic API, and Ollama.
-   Update flow now verifies version and SHA-256 before and after download to block mismatched or tampered packages.
-   Global hotkeys and related global triggers are now paused during shortcut recording to prevent conflicts.
-   Streaming AI responses now auto-retry on transient failures and avoid duplicate text after reconnect.
-   One-click maintenance now includes binary slimming scan/cleanup with results shown in the maintenance report.

### Added
-   Added an "AI Assistant" tab in Settings with provider selection, endpoint/token/model configuration, shortcut reference, and safety notes.
-   Added binary slimming support to scan removable architectures in the background at startup and clean them during one-click maintenance.
-   New local update records now store version, size, and SHA metadata and can restore pending update prompts on app startup.

### Improvements
-   Cursor assistant popup now positions by the actual target screen and falls back to mouse position when caret coordinates are unreliable.
-   Added a short protection window after showing the main panel to reduce accidental instant close from focus jitter.
-   Horizontal queue bar height is adjusted to 33 to avoid compressing card bottoms, while vertical layout keeps previous height.
-   Added backoff retries for transient errors (timeouts, 429, 5xx) while preserving conversation context and tool flow across retries.

### Changes
-   `1-9` shortcuts are no longer hardcoded to Command and can now use Command / Option / Control.
-   During shortcut recording, global hotkeys and Option double-click listening are paused, and simulated-input-related events are passed through.
-   Update and log-upload backend URLs were updated; updates now use Worker-only source with code signature enforcement enabled by default.
-   Move-to-top now also syncs recent cache so main panel and cursor assistant share the same ordering.
-   Clipboard search snippets now apply length limits and masking to reduce sensitive data exposure risk.

### Fixes
-   Fixed runtime crash caused by duplicate OAuth query keys by switching to stable overwrite behavior.
-   Fixed potential data loss during overwrite install by adding safe replacement and rollback behavior.
-   Fixed hanging approval requests after conversation switches by unifying cancellation handling.
-   Fixed premature stream close being treated as completion; missing completion state now triggers retry.
-   Fixed Swift 6 MainActor isolation errors and maintenance report argument mismatch issues.
-   Fixed fallback recovery path after failed updates to restore previous app version.

### Notes
-   All 16 newly added strings were completed in 7 languages and validated for structure integrity.

### Compatibility & Behavior Notes
-   This is intentional to prevent accidental triggers; all related global actions auto-resume after recording ends.
-   Updates are now stricter: same version with different SHA is rejected, and newly detected versions require a fresh confirmation.
-   Admin permission is requested only when cleanup actions require elevated system access.

### Upgrade Notes
-   After upgrading, review shortcut modifier settings in "Settings > Shortcuts" and binary slimming toggles in "Settings > Storage" to match your preference.

---

## v1.3.0 Palimpsestic (2026-03-01)

## Release Notes v1.3.0

  ### TL;DR

  -     Smart Rules received a major upgrade, with action types moved to menus and new "Transform" and "Script Plugin" submenus, while save/execute now fully support both new and legacy values.
    Vertical mode is now fully available, including left/right docking and coordinated behavior across search rule popup, card preview, bottom area, and overall interactions.
    The plugin system is now faster and more stable, with hot reload, debounced refresh, caching improvements, and optimized watchers to reduce flicker and repeated reloads.
    Export and data safety are now more reliable through "staging write + atomic replace" and fixes for multiple high-risk paths such as migration, encryption, handshake, and task cleanup.
    Preview and smart calculation are significantly improved with async preview, faster and more accurate computation, and better cache consistency to reduce lag and stale results.
    UI interaction details were polished end-to-end, including multi-image display, tag menus, focus behavior, settings-page animation, contrast, and spacing.


  -     Added a new "Transform" submenu under action type so users can hover to expand and click specific transforms directly.
    SmartRulesView.swift:889
    Transform actions are now persisted with stable codes, preventing breakage after language switches while still supporting legacy values.
    SmartRulesView.swift:971, SmartRuleService.swift:155, DeckDataStore.swift:1151
    Added a "Script Plugin" submenu in action menu, allowing installed plugins to be selected directly with full model encode/decode and execution integration.
    SmartRulesView.swift:814, SmartRuleService.swift:136, DeckDataStore.swift:1136, ScriptPluginService.swift:658
    Added an ASCII animation bar with six scenes, character-level transitions, 60fps timeline driving, and dynamic-width rendering.
    ASCIIArtBarView.swift
    Added a "Usage Guide" block in SmartRules with workflow explanation, condition/action references, and practical tips for easier onboarding.
    SmartRulesView.swift, Localizable.xcstrings
    Added an "Immediate Restore" capability with a settings button and confirmation dialog, allowing manual restore when required conditions are met.
    DeckSQLManager.swift:2196, SettingsView.swift:2089, SettingsView.swift:2327, SettingsView.swift:2333, SettingsView.swift:2559, SettingsView.swift:2566
    Added vertical dock-side settings (left/right), with rule popup and preview window automatically placed on the outer side accordingly.
    SettingsView.swift, MainWindowController.swift, MainViewController.swift, SearchRulePickerPanelController.swift, PreviewWindowController.swift, UserDefaultsManager.swift,
    Constants.swift, DeckViewModel.swift
    Script plugin hot reload is now live: plugin directories are auto-watched on startup, changes auto-refresh, and manual refresh is still available.
    ScriptPluginService.swift:141, ScriptPluginService.swift:241, ScriptPluginService.swift:555, ScriptPluginService.swift:607, ScriptPluginService.swift:693

  ### Deck × Orbit

  -     `CLI /clip` now uses Smart Rules by default, while still allowing parameter-based fallback to legacy direct-save behavior.
    CLIBridgeService.swift:608, CLIBridgeService.swift:629, CLIBridgeService.swift:672
    CLI Bridge examples and alias docs were expanded with tag name/id writing, empty-result status checks, and clearer `health / last / write` alias usage.
    CLIBridgeSettingsView.swift:109, CLIBridgeSettingsView.swift:119, CLIBridgeSettingsView.swift:124, CLIBridgeSettingsView.swift:132, CLIBridgeSettingsView.swift:167
    The script-plugin "creation steps" guide is now more complete, with richer manifest/script examples plus a real-test step and recommendations.
    ScriptPluginsSettingsView.swift:17, ScriptPluginsSettingsView.swift:28, ScriptPluginsSettingsView.swift:220, ScriptPluginsSettingsView.swift:224
    The Cloudflare update-proxy backend was optimized for better performance, stability, real-time behavior, speed, and concurrency.


  -     Export now uses "staging write + atomic replace" to prevent partial JSON leftovers, and failures only clean temporary files instead of deleting existing user backups.
    DataExportService.swift:108, DataExportService.swift:123, DataExportService.swift:163
    Large-data export performance was improved via buffered batch writes (1MB threshold), and batch size was reduced from 500 to 200 to lower memory pressure.
    DataExportService.swift:180, DataExportService.swift:201
    Reduced duplicate I/O in the export pipeline by avoiding repeated blob reads when full data is already loaded.
    DataExportService.swift:220
    LS/PS sanitization hot path was accelerated by reusing static U+2028/U+2029 constants and adding a fast pre-check so replacement runs only when needed.
    DataExportService.swift:123, DataExportService.swift:165
    Script-plugin execution performance was improved with plugin indexing, script-text caching, and network-permission caching; execution now prefers cache, and script hash is computed only when required.
    ScriptPluginService.swift:136, ScriptPluginService.swift:247, ScriptPluginService.swift:730, ScriptPluginService.swift:755, ScriptPluginService.swift:836, ScriptPluginService.swift:937,
    ScriptPluginService.swift:1231, ScriptPluginService.swift:1236, ScriptPluginService.swift:1452
    Preview and instant-calculation performance improved by replacing synchronous hotspots with async flow, reducing main-thread pressure and fixing behavior accuracy when instant calc is disabled.
    PreviewOverlayView.swift:16, PreviewOverlayView.swift:103, PreviewWindowController.swift:330, PreviewWindowController.swift:382, PreviewWindowController.swift:461,
    ClipItemCardView.swift:1738, SmartContentCache.swift:276
    Math recognition and calculation were upgraded with faster pre-checks, support for left-side equation evaluation, multiple/nested `sqrt`, and improved number-formatting performance.
    SmartTextService.swift:1846, SmartTextService.swift:1882, SmartTextService.swift:1928, SmartTextService.swift:1999, SmartTextService.swift:2032
    Smart-cache consistency was improved by proactively invalidating cache on OCR/text updates and settings toggles, and by binding card/row tasks to text and switch changes.
    DeckDataStore.swift:1414, SettingsView.swift:1211, ClipItemCardView.swift:42, ClipItemCardView.swift:558, ClipItemRowView.swift:21, ClipItemRowView.swift:104
    Vertical-mode image display was refined by strictly constraining images to a square area with separate handling for near-square, wide, and tall images.
    ClipItemRowView.swift:117, ClipItemRowView.swift:173
    Multi-image display was improved by showing only the first image, adding count badges and an "N more images" hint, and fixing premature preload skipping.
    ClipItemCardView.swift, Localizable.xcstrings
    In vertical mode, "Total X images" is now shown only for multi-image items and placed in the middle of the right info area.
    ClipItemRowView.swift:290
    Settings-page interactions and transitions were refined by removing the content offset hack and disabling full-page animation on tab switching (click/keyboard).
    SettingsView.swift:184, SettingsView.swift:232, SettingsView.swift:270
    Visual details were polished with a Tonal migration button style, improved `textTertiary` contrast, and auto-expanding tag editor input fields.
    NewTagChipView.swift, EditingTagChipView.swift
    Reopen scrolling experience was improved by forcing selection back to the first item on reactivation while reusing existing smooth-scroll logic.
    HistoryListView.swift:135


  -     Vertical-mode top/bottom interaction logic was reworked: top controls (settings/pause/close/feedback) were removed, and the bottom area now toggles between queue bar and button bar.
    TopBarView.swift:1155, HistoryListView.swift:110, TopBarView.swift:958
    Vertical search layout was adjusted so the right tag area auto-collapses when search is focused, has input, or rule panel is open, preventing horizontal stretch.
    TopBarView.swift:18
    Vertical bottom heights were unified: button area and queue area now share the same height, with offset hacks removed for consistent alignment.
    HistoryListView.swift:86, HistoryListView.swift:255, HistoryListView.swift:266
    Expanded search width in vertical mode now nearly fills available space, while horizontal-mode behavior remains unchanged.
    TopBarView.swift:123
    Search-rule popup positioning was adjusted for vertical mode to render outside the main panel with boundary protection, avoiding overlap with input and list.
    SearchRulePickerPanelController.swift:95, SearchRulePickerPanelController.swift:102
    Tag right-click menu was migrated to `NSMenu`, keeping edit/share-group/delete and adding color-dot selection with state feedback and immediate persistence.
    TopBarView.swift:1568
    Initial selection after opening panel was adjusted to prioritize the first item, and skip redundant resets when already on first item to avoid secondary flicker.
    HistoryListView.swift:1271
    Automatic update checks were changed to three runs per day in Beijing time: 04:00, 12:00, and 20:00.
    UpdateCoordinator.swift:18, UpdateCoordinator.swift:80
    Plugin watcher strategy now uses separate masks for directories/files: `.attrib` is kept for directories, removed for files, and high-frequency watcher logs are disabled.
    ScriptPluginService.swift:155, ScriptPluginService.swift:159, ScriptPluginService.swift:634, ScriptPluginService.swift:643
    Watch scope now includes all first-level script directories via new candidate-directory collection logic, preventing missed refresh for newly created plugin folders.
    ScriptPluginService.swift:681, ScriptPluginService.swift:695


  -     Removed unused fields/constants in Welcome page, including `tint`, `icon/iconColor`, and redundant struct fields.
    WelcomeView.swift:22, WelcomeView.swift:49, WelcomeView.swift:102, WelcomeView.swift:514, WelcomeView.swift:606
    Fixed six errors caused by missing `await` in async logging calls, restoring compile and runtime stability.
    DeckDataStore.swift:1148, DeckDataStore.swift:1176
    Fixed numeric key mapping in rule popup by replacing subtraction-based inference with fixed mapping, resolving 5/6 mismatch and no-response on 7/8/9/0.
    Fixed search box focus stealing by skipping delayed `makeFirstResponder(nil)` when focus moves to `.newTag`/`.editTag`.
    Fixed default selection behavior for new tags by ensuring focus is obtained first, then auto-selecting the "新标签" text.
    Fixed accidental swallowing of the next real copy after paste by limiting skip behavior to the exact just-written `changeCount`.
    ClipboardService.swift:25, ClipboardService.swift:261, ClipboardService.swift:1645
    Reduced clipboard-loss risk on paste failure by expanding snapshot restore budget/type coverage and returning explicit success/failure with error logs.
    ClipboardService.swift:1469, ClipboardService.swift:1514, ClipboardService.swift:1654
    Fixed false-positive success in encryption migration by enforcing strict validation for blob migration and `blob_path` update, failing as a whole on any step error.
    DeckSQLManager.swift:5403, DeckSQLManager.swift:5425, BlobStorage.swift:178
    Fixed incorrect plaintext state marking after decrypt failure: decryption branch now strictly checks and fails directly without writing fake `is_encrypted=false`.
    DeckSQLManager.swift:5245, DeckSQLManager.swift:5299
    Fixed DirectConnect `authSuccess` phase bypass by adding `pendingAuthSuccess` state validation and accepting success handshake only in legal phases.
    DirectConnectService.swift:333, DirectConnectService.swift:980, DirectConnectService.swift:1025
    Fixed Multipeer `verify_success` bypass by requiring an active verification context before accepting success.
    MultipeerService.swift:1541
    Fixed unintended key regeneration on temporary Keychain errors: only `errSecItemNotFound` creates a new key, all other errors are returned directly.
    SecurityService.swift:111, SecurityService.swift:145, SecurityService.swift:177
    Fixed stale task write-backs after data clearing by adding a unified in-flight task cancellation entry for `clearAllData/clearAll`.
    DeckDataStore.swift:1441, DeckDataStore.swift:1518, DeckDataStore.swift:1721
    Fixed `stop()` not clearing `streamStore` by adding `streamStore.clearAll()`.
    DirectConnectService.swift:275, DirectConnectService.swift:544
    Fixed incomplete `deleteItemById` path by adding blob cleanup and `totalCount` refresh.
    DeckDataStore.swift:1764
    Fixed blob-path collection deletion risk by switching pagination from offset to cursor and adding stable sorting (`ts desc, id desc`).
    DeckDataStore.swift:1809, DeckSQLManager.swift:4378
    Fixed compile error from placing `await` inside `??` expression by splitting into two-step assignment.
    DeckDataStore.swift:1764
    Fixed Cmd+Q prompt wording by replacing "Cursor Assistant feature" with "Queue Mode feature" consistently across languages.
    Localizable.xcstrings:25502
    Fixed multiple potential crashes (force unwraps, abnormal elements, empty screen) by adding type checks and `guard` fallbacks, and removing risky `fatalError` paths.
    IDEAnchorService.swift:401, OrbitWindow.swift:74, OrbitWindow.swift:102, OrbitWindow.swift:149, OrbitWindow.swift:156, DeckDataStore.swift:1420, MainWindowController.swift:69,
    SettingsWindowController.swift:57, UpdatePromptWindowController.swift:34
    Fixed potential process-pipe deadlocks by continuously reading stdout/stderr during execution and correctly closing write ends before waiting.
    LANFileArchiver.swift:324, IDEAnchorService.swift:575, OrbitInstaller.swift:192
    Fixed row-view compile/API integration issues, including `item.colorValue`, thumbnail generation, smart analysis assignment, script-plugin calls, and steganography API usage.
    ClipItemRowView.swift


  -     Localization coverage was completed for new/updated strings across de/en/fr/ja/ko/zh-Hans/zh-Hant.
    Localizable.xcstrings:19297, Localizable.xcstrings:22815, Localizable.xcstrings:2944, Localizable.xcstrings:50219, Localizable.xcstrings:55241, Localizable.xcstrings:45788,
    Localizable.xcstrings:45835, Localizable.xcstrings:45882, Localizable.xcstrings:44852, Localizable.xcstrings:44899
    Some language content was rewritten with native phrasing (de/fr/ja/ko), and long script-settings text now uses `NSLocalizedString`.
    Localizable.xcstrings, ScriptPluginsSettingsView.swift
    This draft is path-sanitized: all references keep only `filename:line` without any absolute path information.


  -     Transform rules are compatible with both new stable codes and legacy values in both display and execution paths.
    `CLI /clip` keeps dual behavior compatibility: rules by default, force direct-save with `raw=1` or `rules=0`, and explicit enable via `rules=1`.
    Plugin refresh supports both automatic and manual modes: directory watching remains active, and manual "Refresh Plugin List" is still available.
    "Immediate Restore" uses dual safeguards and can run only when auto-maintenance restore backup is enabled and a restore backup file exists.


  -     After upgrading, prioritize validation of Smart Rules, especially how "Transform" and "Script Plugin" actions display and execute in your current rule set.
    If external CLI workflows depend on legacy direct-save behavior, explicitly pass `raw=1` or `rules=0` to avoid automation regressions.
    After upgrading, verify vertical layout preference (left/right dock) and confirm search popup and preview window positions match expectations.

---

## Releases by version

- [1.4.x](https://deckclip.app/changelog.md)
- [1.3.x](https://deckclip.app/changelog/1.3.md) ←
- [1.2.x](https://deckclip.app/changelog/1.2.md)
- [1.1.x](https://deckclip.app/changelog/1.1.md)
- [1.0.x](https://deckclip.app/changelog/1.0.md)

- Watch on GitHub: https://github.com/yuzeguitarist/Deck
- Release feed: https://github.com/yuzeguitarist/Deck/releases.atom

---

- HTML: https://deckclip.app/changelog/1.3
- 中文: https://deckclip.app/zh-cn/changelog/1.3.md

© 2026 Yuze Pan
