本文へ移動

swiftDialog バージョン履歴

CSIRO · 管理者がシェルスクリプトからカスタマイズ可能なダイアログやメッセージを表示するための macOS コマンドラインユーティリティです。

Caskシステムツール 870
インストールコマンド
brew install --cask swiftdialog
過去 30 日間のインストール数
112
Appランキング 1006 位
過去1年間のインストール数
1413
過去365日間の合計
最新バージョン
3.1.1
ダウンロードサイズ
21MB
pkg
更新頻度
不定期
過去30日間に0回リリース
  1. 3.1.1 (5000)

    最新

    OpenNavo編集部

    互換性macOS 15 以降

    既定キー操作の無効化、画像キャプション、スライドショー表示、複数カード入力時のクラッシュを修正。日付範囲と引数別 JSON 設定を追加し、Inspect と起動・画像処理を改善。

    既定キー操作の無効化、画像キャプション、スライドショー表示、複数カード入力時のクラッシュを修正。日付範囲と引数別 JSON 設定を追加し、Inspect と起動・画像処理を改善。

    https://github.com/swiftDialog/swiftDialog/releases/tag/v3.1.1

  2. 3.1.1

    パッチ

    OpenNavo編集部 Homebrewへの登録

    既定キー操作の無効化、画像キャプション、スライドショー表示、複数カード入力時のクラッシュを修正。日付範囲と引数別 JSON 設定を追加し、Inspect と起動・画像処理を改善。

    既定キー操作の無効化、画像キャプション、スライドショー表示、複数カード入力時のクラッシュを修正。日付範囲と引数別 JSON 設定を追加し、Inspect と起動・画像処理を改善。

    https://github.com/swiftDialog/swiftDialog/releases/tag/v3.1.1

  3. 3.1.1b2

    展開

    GitHub Release

    swiftDialog 3.1.1 Beta 2

    This beta focuses on Inspect Mode enhancements and a round of stability fixes, several of which address hard-to-spot crashes and rendering glitches.

    New

    • Inspect Mode: set general window options straight from JSON - your Inspect config can now include an options block for common window settings, so you no longer need to pass them as separate command-line flags alongside your JSON. Supported keys: moveable, ontop, resizable, and windowbuttons. Command-line flags still take precedence if both are set. (#693)
    • Inspect Mode: minimise / maximise commands now work - sending minimise: or maximise: via the command file now minimises the Inspect window to the Dock and restores it, just like a standard dialog. (#689)

    Fixed

    • --hidedefaultkeyboardaction works again - Return ↵ and Esc ⎋ no longer trigger the default buttons when this option is set; activation once again requires ⌘⇧Return / ⌘⇧Esc. (#696)
    • imagecaption: command updates now display - updating an image caption via the command file now shows the caption under the image, matching what --imagecaption does at launch. (#690)
    • Inspect Mode (Preset 5): status group headers land in the right place - headers like "Completed" and "Pending Installation" no longer appear part-way down the list or get drawn twice. This was intermittent and more likely during live deployments. (#691)
    • Slideshows no longer blank out a following image - a single-image screen shown after a multi-frame slideshow now renders correctly instead of appearing empty.
    • Fixed a crash with text fields in multi-card workflows - advancing between cards containing text fields could, under the right timing, terminate the dialog with an "index out of range" error. Text field, checkbox, dropdown, and radio inputs are now hardened against this.
    • Additional stability hardening - several image and input lists were made resilient to items changing while the view is on screen, preventing a class of intermittent rendering/crash issues.

    ⸻

    Thanks to everyone who reported these issues and contributed fixes.

  4. 3.1.1b1

    展開

    GitHub Release

    v3.1.1 Beta 1

    This is a bug fix and general stability update.


    CLI Enhancements

    • --version, --licence now execute without launching the full app for faster startup.
    • Improved command-file launch-time validation and lifecycle logging.

    Inspect Mode

    • Log Monitor now correctly parses Munki's ManagedSoftwareUpdate.log format with timestamp-based filtering.
    • Added support for Installomator's "Unzipping" verb and improved verb pattern matching.
    • Inspect demo updated with complete Preset5 step-type list (12 types including cadence, brandPicker, and assistant).

    Fixes

    Stability

    • Fixed crash when --ontop is used with specific dock positions.
    • Guarded against crashes from force-unwraps on media/screen input validation.
    • Fixed crash on quoted JSON font sizes or missing notification actions.
    • Prevented multi-value option crashes when a missing value has option-shaped structure.
    • Fixed timer leak in AppInspector by properly invalidating periodic timers.

    CLI & Input

    • --alwaysreturninput now returns select/list/JSON output on all quit paths.
    • Command-file launch-time guard now works correctly with improved lifecycle logging.
    • Help text updated to restore messagefont name property documentation.

    Inspect Mode

    • Fixed Preset1/2 auto-advance timing to hold complete lists for ~2.5s before transitioning, preventing sub-second blinks.
    • Corrected Preset5 step-type list in demo configuration.

    Performance

    Rendering & Loading

    • SVG and PDF images now load once instead of re-decoding on every render.
    • Remote image fetches are now bounded and decode images once before caching.
    • Remote markdown fetch now includes an explicit timeout.

    Startup & Processing

    • Startup JSON parsing optimized to run once instead of twice.
    • Per-row render logging reduced to debug level; inspect config URL tasks now bounded.

    Timing & UI

    • Per-button 3s timer now only runs when the button actually uses it.
    • View heights now measured with onGeometryChange instead of GeometryReader for better performance.

    Under the hood

    • Replaced deprecated Process.launch()/launchPath with modern run()/executableURL.
    • Refactored updateAllItems/resetToDefaults to drive from a single keypath table.
    • Routed stray debug/error prints to writeLog instead of stdout, keeping protocol output clean.
    • Minor deduplication: native build number, hex parser, and required-field modifier.
    • Removed verified-dead code.
  5. 3.1.0

    展開

    OpenNavo編集部 Homebrewへの登録

    JSON ベースの複数ステップワークフロー、通知ヘルパーアプリ、疑似通知を追加。Inspect を幅広く更新し、バナー、タイトル、Builder のオプションを拡張しました。

    Workflow
    JSON から複数ステップのダイアログを作成し、カード間で入力を保持。カードごとの検証、分岐、任意の --onadvance スクリプトに対応。
    通知
    --notification と --style alert または banner の併用時、CLI がヘルパーを起動。Dialog.app からの直接通知は非推奨となり、stderr に警告が出ます。macOS 26.4 以降、Dialog.app のバンドルアイコンが通知アイコンとして機能しない場合があります。
    その他
    Inspect にコンプライアンス、cadence、IPC、表示の更新を追加。バナー、タイトル、Builder のオプションを拡張。複数選択タグ、ファイル/URL 読み込み、Mini 表示サイズを修正。

    swiftDialog 3.1.0 では Workflow が追加され、単一の JSON 設定から複数ステップのダイアログを作成できます。入力を保持したままカード間を前後に移動できます。必須項目の検証、入力に応じた分岐、ナビゲーションボタンの文言変更、前進時に実行され、進行を止めることもできる任意の shell スクリプトに対応します。

    --notification を --style alert または --style banner と併用すると、dialog CLI ランチャーが同梱の Dialog Alert.app または Dialog Banner.app ヘルパーアプリを起動します。Dialog.app から直接通知を送る方法は非推奨となり、stderr に警告が出力されます。macOS 26.4 以降では、通知アイコンに Dialog.app のバンドルアイコンを設定しても期待どおりに動作しない場合があります。一部の通知タイプでは疑似通知が役立つことがあります。疑似通知は macOS のシステム通知ではなく、閉じると残りません。

    Inspect では、コンプライアンスダッシュボード、監視対象属性に基づく cadence とゲーティング、管理対象環境設定、ブランディング、外観、プリセット、IPC とセッション情報、準備完了シグナル、操作イベント、レポート表示、厳格化された設定検証などが更新されました。バナーは単色とグラデーションに対応し、タイトルにはサブタイトルとフォントオフセットを指定できます。Builder は JSON とコマンドライン呼び出しをエクスポートでき、ファイルまたは URL から Markdown を読み込めます。その他、画面背景画像、aria2 の部分ファイル対応、複数選択ドロップダウンタグ、ファイル/URL 読み込み、Mini 表示の描画とサイズの修正が含まれます。スタブコマンド --inspect-schema と --schema-validate は削除されました。

    公式リリースノート

  6. 3.1.0rc1

    展開

    GitHub Release

    swiftDialog 3.1.0 RC 1

    This build represents Release Candidate 1 for swiftDialog 3.1.0

    Fixes since Beta 4

    • Fix issue where "appearance" : "dark" would not work when specified in inspect mode json

    --builder updates

    • Export now supports json and command line
    • Fixed live preview of rendering sf symbols to buttons
    • Message / infobox: markdown can be sourced from a .md file or URL
    • Add a screen background image option (--screenbackground)
    • Text fields / checkboxes / list items are now List-based with a drag handle so rows can be reordered
  7. 3.1.0b4

    展開

    GitHub Release

    swiftDialog 3.1.0 Beta 4

    New Features since Beta 3

    Regular dialog

    • Branched workflows - Workflow pages can route to different cards based on user input, with no callback script required. New per-card properties:

      • branch - pick the next card from a dropdown selection (map) or a checkbox state (ifTrue / ifFalse), with an optional default fallback.
      • nextpage - static override that jumps to a specific card id after Next.
      • finalpage - terminates the workflow at this card; Button 1 becomes "Finish" regardless of remaining cards.

      The Previous button is history-aware and unwinds whichever path the user actually took.

    • aria2 partial-file support - cacheExtensions is now a configurable array that marks an item as "downloading" while a partial file with one of these extensions exists in cachePaths. Default is ['download','pkg','dmg']; add 'aria2' for aria2c, which writes <name>.aria2 partials. Leading dot optional. (#617)

    Inspect mode

    • Gated cadence engine - DEPNotify-style POLICY_ARRAY replacement. Messages only advance when a real monitored attribute is satisfied (app / file / plist / defaults / json / managedpref), with optional IPC drive (cadence:satisfy, cadence:advance, cadence:goto) and per-entry timeout / minimum-dwell controls. New stepType: "cadence" and matching schema definitions CadenceEntry / CadenceAttribute.

    • cadenceStyle: "carousel" - DEPNotify-style horizontal icon-card row (done/active/pending) for cadence steps.

    • managedpref attribute type - Cadence and gating conditions can read /Library/Managed Preferences/<domain>.plist directly. MDM-agnostic; works with any management vendor. Supports device and user scope.

    • ManagedValueRef for per-tenant branding - Lets brand colour and claims pull from different MDM payload domains via a {domain, key, darkKey} reference. Brand colour can now come from one profile while claim text comes from another.

    • Forced appearance - New appearance config key ("dark" / "light" / "auto") forces the inspect window appearance regardless of the OS setting, in both directions. (#669)

    • Preset 3 redesign - Hero block, bottom footer, slim brand progress line, rebalanced spacing.

    • Persistent footer brand logo - Stays across step transitions, supports dark-mode variant, honours maxHeight.

    • Per-item descriptions - List items across Presets 1, 2, 3, 5, and 6 now support a description string rendered beneath the item title. (#663)

    • Unified brand-tinted info badge - Brand colour falls back to highlightColor when not set.

    Inspect IPC

    • Per-PID session discovery - New --published-sessions-dir publishes a <pid>.json file per running Dialog so external drivers (install scripts, ignitecli, MDM helpers) can discover an active session.

    • Enriched session JSON - Published session JSON now includes resultFile, readinessFile, and eventFile paths so consumers don't need to guess.

    Bug Fixes

    • Pseudo notifications no longer steal focus when delivered. (#674)

    • Preset 2 header subtitle now sourced from message. (#670)

    • Preset 2 card window auto-follows installs. (#565)

    • Preset 2 custom status + progress text now respected. (#571)

    • Distributed notifications: ignore trigger-file content written before the session is ready (test added).

    Schema & Cleanup

    • inspect-config schema (inspect-config.schema.json) reconciled against InspectConfig.swift:

      • Added: CadenceAttribute, CadenceEntry, ManagedValueRef definitions; cadence keys on StepBase; new cadence step-type branch and enum value; appearance enum.
      • Removed: duplicate camelCase button keys (button1Disabled, button1Text, button2Text, button2Visible), legacy FeatureItem / features, guidanceContent.multiline.
      • Tightened: cacheExtensions now typed as array<string> with description.
    • Scheme cleanup - Removed a stale absolute --jsonfile launch arg from the Dialog App Bundle scheme.

  8. 3.1.0b3

    展開

    GitHub Release

    swiftDialog 3.1.0 Beta 3

    Changes since v3.1.0b2

    New Features

    • Screen Background — New --screenbackground option displays an image as the screen background behind dialog windows. (#655)

    • Info Box Width — New --infoboxwidth option allows changing the info box text area width independently from icon size. (#665)

    • Workflow Navigation Button Text — New nextbuttontext and previousbuttontext options allow customising the next and previous button text in workflow (formerly "cards") mode. (#653)

    • Inspect-Mode Compliance Dashboards — Added plist-driven compliance UI for inspect-mode including:

      • ComplianceAggregatorService reads plist sources and publishes categories, pass/total counts, and configurable healthyLabel / attentionLabel labels.
      • New shared content blocks: compliance-summary (banner + stat cards) and findings-list (category-grouped list with disclosure).
      • Bento cells auto-bind to compliance items — subtitle and icon colour update from live findings with no new schema fields required.
      • Compact detail sheet for bento cells showing status, category, criticality, and plist key.

    Improvements

    • "Cards" renamed to "Workflow" — The "cards" feature in regular dialog mode has been renamed to "workflow" for clarity, so as not to be confused with inspect mode "cards" preset.

      • The cards keyword will still work for backwards compatibility with earlier betas but moving forward documentation and other references to this feature will use workflow.
    • Mini View sizing on macOS 26 — Adjusted the size of the mini view when running on macOS 26 (Tahoe) or newer. (#649)

    • Inspect-mode hardening — Several quality improvements to inspect-mode:

      • Replaced hardcoded colour hex literals with semantic colour tokens (Color.semanticSuccess / Color.semanticWarning).
      • Centralised magic numbers into InspectSizes constants.
      • InspectConfig decoder now rejects configs carrying both introSteps[] and items[] with a clear error message.
      • Presets 5 and 6 proactively clear stale persisted state on launch when resumable is not set.
      • Bento mixedContent correctly renders SF Symbols when contentType: "mixed" is set; contentType auto-detects from imagePath / sfSymbol.
      • Preset 6 guidance container widens for wide-layout blocks (bento-grid, compliance-summary, findings-list).
    • Removed stub inspect-schema CLI commands — --inspect-schema and --schema-validate have been removed as they did not work as intended. --inspect-mode and --inspect-config are unaffected.

    Bug Fixes

    • Fixed an issue when loading NSURL with a file path that doesn't exist. (#654)
  9. 3.1.0b2

    展開

    GitHub Release

    swiftDialog 3.1.0 Beta 2

    Change Notes: Beta 1 -> Beta 2

    Card Navigation & Window Sizing

    • Fixed cards with different window dimensions - switching between cards that specify different windowWidth/windowHeight values now correctly resizes the window and updates the icon size.
    • Animated window and content transitions - card transitions use a 0.25s ease-in-out resize animation instead of a jarring instant snap (it would still be recommended to not overuse window resize between cards. Limit to one dimension at a time, e.g. change of width or change of height only, if at all, for a better user experience)
    • Image & caption cleanup on card change - image properties are now cleared before processing a new card, preventing images and captions from the previous card leaking through. #647
    • Icon size synced per card - iconSize and iconAlpha are re-read from the updated arguments after each card switch.
    • Progress bar state reset between cards - progress bar value is explicitly reset to nil (indeterminate) so a completed bar from a prior card doesn't persist into a card that has no progress bar.

    Inspect Framework - Observable Migration & IPC Hardening

    • InspectDynamicState migrated from ObservableObject/@Published to @Observable - removes the Combine dependency, eliminates verbose willSet debug logging, and enables per-property SwiftUI tracking (only views reading a changed property re-render). @StateObject usage in Preset5View replaced with @State.
    • Removed updateGeneration counter - no longer needed; @Observable per-property tracking makes the manual .id() workaround obsolete.
    • Preset5 refactored for @Observable - dynamicContentUpdateCounter, lastReceivedStep, and several intermediate @State variables removed; update_guidance command routed through InspectDynamicState directly.
    • IPC / CommandRouter hardening - DispatchSource event handler, fallback timer, and DistributedNotification callback all now dispatch onto the main queue explicitly, fixing potential off-main-thread UI updates.
    • Diagnostic logging added to CommandRouter - temporary [DIAG] log lines for monitoring file path existence and byte counts during IPC.
    • Schema updated - inspect-config.schema.json significantly expanded (~1,300 net lines added).

    Code Quality, Concurrency and Memory Safety

    • General linter and xcode build warnings cleaned - all remaining Xcode and SwiftLint warnings resolved across the project (clean build with zero warnings).
    Issues, Bugs?

    ⚠️ This is a beta release with known and unknown bugs and issues

    Found a bug or problem with this release? please create an issue 🛠️

  10. 3.1.0b1

    展開

    GitHub Release

    swiftDialog 3.1.0 Beta 1

    What's New in swiftDialog 3.1.0

    Cards Workflow (Multi-Step Dialogs)

    swiftDialog 3.1.0 introduces Cards — a powerful new feature for building multi-step dialog workflows from a single JSON configuration.

    • Define an array of cards in your JSON, each with its own title, message, icon, and input fields
    • Users can navigate forward and backward between cards, with input preserved across navigation
    • Accumulated input from all cards is returned as a single JSON output on completion
    • Global configuration properties (defined outside the cards array) act as defaults, overridable per card
    • New --onadvance argument allows a shell script to run when the user advances between cards — the script receives the current card index, card ID, and user input via stdin as JSON, and can block advancement by exiting with a non-zero code
    • Required field validation is enforced per card before advancing
    • Button bar adapts automatically (Back / Next / Finish) based on card position

    More Info

    Notifications

    ⚠️ Note: From macOS 26.4 onward, setting the Dialog.app bundle icon in order to set the notification icon may not operate as expected. Pseudo Notifications may help address this issue for certain notification types

    Alert and Banner App Bundles

    Notifications are now delivered by dedicated helper apps (Dialog Alert.app and Dialog Banner.app) rather than Dialog.app itself.

    • Separate apps for Alert and Banner style notifications, ensuring the correct macOS notification presentation style
    • Helper apps are bundled inside Dialog.app/Contents/Helpers/ and are automatically invoked by the dialog CLI launcher when --style alert or --style banner is used alongside --notification
    • The "Approve Notifications" alert now persists until dismissed — it no longer auto-dismisses
    • New app icons for the notifier helper apps

    Deprecation Notice: Sending notifications via Dialog.app directly (without --style alert or --style banner) is deprecated. A warning is now printed to stderr when this legacy usage is detected. This behaviour will be removed in a future release and notifications without a specified style will be delivered as banners by default using the Dialog Banner.app helper.

    Pseudo Notifications

    Pseudo notifications are custom notification-style windows rendered by swiftDialog itself, rather than macOS system notifications. They slide in from the right edge of the screen and mimic the appearance of native notifications with a translucent material background.

    Pseudo notifications are not system notifications. They do not persist once dismissed and do not follow the standard rules for macOS system notifications.

    dialog --notification --style pseudo-alert --title "Update Available" \
        --message "macOS 26.4 is ready to install" \
        --button1text "Later" \
        --button2text "Install Now" --button2action "open 'x-apple.systempreferences:com.apple.Software-Update-Settings.extension'"
    

    More Info

    Banner Enhancements

    The --bannerimage argument now supports solid colour and gradient options in addition to image files.

    Solid colour banner:

    dialog --bannerimage "colour=accent"
    dialog --bannerimage "colour=#0066CC"
    dialog --bannerimage "colour=blue,nogradient"   # disable the default gradient overlay
    

    A subtle gradient overlay is applied by default. Append ,nogradient to disable it.

    Multi-colour gradient banner:

    dialog --bannerimage "gradient=red,orange,yellow"
    dialog --bannerimage "gradient=red,orange,yellow:angle=135"
    

    Colours are comma-separated names or hex values. The optional :angle=<degrees> suffix sets the gradient direction (0 = bottom-to-top, 90 = left-to-right, 180 = top-to-bottom; default is 90).

    The same colour= and gradient= keywords also work for --background (watermark) images.

    Title Enhancements

    Subtitle Argument (for use with --title and --bannertitle)

    --subtitle allows you to add a subtitle below the main title. This is useful for providing additional context or instructions to the user.

    dialog --title "Main Title" --subtitle "This is a subtitle"
    

    The subtitle text is styled with the same font properties as the title. When a banner image is used with --bannertext enable, the subtitle also adopts the banner text styling (white colour, shadow).

    Title Font Offset

    --titlefont now accepts an offset=<float> parameter to nudge the title text horizontally within its container. Useful when using banner images with overlaid title text but can also be used in regular dialogs to fine-tune title positioning.

    dialog --titlefont "size=36,offset=-10"
    

    Issues, Bugs?

    ⚠️ This is a beta release with known and unknown bugs and issues

    Found a bug or problem with this release? please create an issue 🛠️

  11. 3.0.1

    展開

    OpenNavo編集部 Homebrewへの登録

    ダイアログの動作と表示に関する問題を修正し、ウィンドウの最小化コマンドを追加。Inspect のレイアウト、サービス、ナビゲーション、プリセットも更新しました。

    修正
    ウィンドウのドラッグ問題と Button 1 のレイアウト回帰を修正。編集メニューを非表示にしてもコピーやペーストが使えるよう修正。インラインコードの選択、ミニモードのメッセージ、シート位置を修正。vieworder の動作とボタンバーの軽微なレイアウトを修正。動画読み込み問題への対処として埋め込み YouTube 再生を更新。
    更新
    ダイアログの最小化と復元を行う IPC コマンドを追加。Inspect Preset1、Preset2 のレイアウトとナビゲーションを改善。サムネイル生成サービスと日付書式の共通サービスを追加。plist 検証、共有コンポーネント、監視モジュールを更新。グラデーションビューを追加し、Preset4、Preset5、Preset6 を更新。

    このリリースでは、ダイアログの操作と表示に関する複数の問題を修正しました。Button 1 の操作後にダイアログウィンドウをドラッグできなくなる問題を解消し、関連する ButtonBarView の回帰も修正しています。編集メニューを非表示にしても、コピーやペーストなどの操作が無効にならなくなりました。そのほか、インラインコードの選択ハイライト、「none」を使用したミニモードでのメッセージ表示、シートを開く際の意図しない移動、vieworder の動作、ボタンバーのレイアウトを修正しました。埋め込み YouTube 再生は、動画読み込みの問題に対処するため更新されています。

    ダイアログウィンドウをプログラムから最小化・復元する IPC コマンドを2つ追加しました。Inspect では Preset1 と Preset2 のレイアウトを調整し、サイドバーナビゲーションを改善。アセットのサムネイルを生成・キャッシュする ThumbnailService と、日付書式を一元化する DateDisplayService も追加しています。plist 検証はインストール状態と同期し、resolvedCacheExtensions に対応しました。また、共有 intro コンポーネント、ブランド解決、監視モジュールを更新し、ProceduralGradientView を追加。Preset4 のトースト表示、Preset5 のベントーグリッド対応、Preset6 のローカライズ対応も更新しました。

    ソース:https://github.com/swiftDialog/swiftDialog/releases/tag/v3.0.1

  12. 3.0.1b1

    展開

    GitHub Release

    swiftDialog 3.0.1 Beta 1

    swiftDialog 3.0.1 Release Notes

    Fixes

    • Non-draggable dialog window (#561) — Fixed a race condition where activating Button 1 caused the dialog window to become non-draggable. A dispatch queue is now used to set the max window level and collection behavior correctly.
    • Button 1 regression (#520) — Fixed a regression in ButtonBarView introduced after the #561 fix that affected button layout/behaviour.
    • Edit menu disabling actions (#610) — Hiding the Edit menu (even when the menu bar is not visible) was incorrectly disabling all associated actions (e.g. copy/paste).
    • YouTube embedded playback (#611) — Updated embedded YouTube playback to hopefully resolve video loading issues.
    • Inline code formatting in Markdown (#624) — Fixed a rendering bug where the selection highlight for inline code blocks appeared beneath the UI layer causing the text to not appear selected.
    • Mini mode message display (#619) — Fixed message rendering issue in mini mode view when using 'none'.
    • Sheet opening shift — Fixed an unwanted positional shift when opening a sheet.
    • View Order (#631) — Minor string function fix that was preventing vieworder from working correctly.
    • ButtonBar fix (#607) — Minor button bar layout correction.
    • README typo (#612) — Fixed a typo in README.bm.

    Updated Features & Enhancements

    Window Management
    • Minimize / deminimize commands (#622) — Added two new IPC commands to programmatically minimize and deminimize the dialog window.

    Inspect Framework (Preset Layouts)

    • Preset1 & Preset2 — Refined layouts
    • Thumbnail service — New ThumbnailService for generating and caching asset thumbnails.
    • Date display service — New DateDisplayService centralises date formatting across Inspect views.
    • Sidebar navigation improvements — Updated SidebarNavigationModule for better navigation handling.
    • Plist validation — Synced plist validation with install state; added resolvedCacheExtensions support.
    • Shared components & branding — Updated shared intro components, branding resolver, and infrastructure.
    • Monitoring module — Minor improvements to MonitoringModule and IntroStepMonitorService.
    • Procedural gradient view — New ProceduralGradientView component for dynamic background gradients.
    • Preset4 — Overhauled toast UI with a refined layout and content rendering.
    • Preset5 — enhanced bento grid support.
    • Preset6 — improved localization support.
  13. 3.0.0-msa-prerelease

    展開

    GitHub Release

    swiftDialog MacSysAdmin Edition

    Hej from MacSysAdmin Göteborg

    New

    The is preview release contains all the content from the previous v3.0 releases

    Announcing --inspect-mode

    swiftDialog now contains a set of preset views that monitor filesystem events and present them as information rich dialogs.

    Basic docco to get you started can be found here https://github.com/swiftDialog/swiftDialog/wiki/Inspect-Mode

    Links to MSA talk, additional documentation and demonstration code to come

  14. 3.0.0

    展開

    OpenNavo編集部 Homebrewへの登録

    macOS 15以降が必要です。Inspect Mode、macOS 26のビジュアルスタイルに加え、ダイアログ、リスト、メディア、ボタン、Dockの各種オプションが追加されました。本リリースには300件を超える変更と更新が含まれます。

    要件
    macOS 15以降が必要です。macOS 14以前ではv2.5.6を使用してください。ドキュメントはswiftdialog.appで公開されるようになりました。
    機能
    ファイルシステム監視とコンプライアンス確認用のInspect Modeを追加。検索可能なドロップダウン、選択可能なリスト項目と操作を追加。アニメーションGIF、起動時サウンド、複数の画像・アイコン値に対応。ボタン記号と文字サイズ、Dockアイコン制御、文字色を追加。画面上の位置指定、文字揃えなどのダイアログ設定を追加。
    変更点
    macOS 26ではmacOS 26スタイル、macOS 15ではmacOS 15スタイルを使用。dialogコマンドはコンパイル済みdialogcliユーティリティへのリンクに変更。Dialogバイナリを直接実行する場合、引数順序に注意が必要です。

    swiftDialog 3.0.0にはmacOS 15以降が必要です。macOS 14以前を使用するデバイスではv2.5.6を使用してください。ドキュメントはswiftdialog.appに移動しました。

    本リリースではInspect Modeが追加されました。AppleのFSEvents APIを使ってファイルシステムの動きを監視し、コンプライアンス確認のためにインストール、キャッシュ、ファイル、plistの内容を調べます。また、検索可能なドロップダウン、選択可能なリスト項目、リスト項目からの限定的なURL起動、アニメーションGIF、起動時サウンド、カンマ区切りで複数の画像またはアイコンを指定する機能が追加されました。画面位置指定、ファイル選択の初期パス、ボタン記号と文字サイズ、Dockアイコンとバッジの制御、インライン文字色、文字揃えなども追加されています。

    macOS 26ではmacOS 26のスタイル、macOS 15ではmacOS 15のスタイルが適用されます。タイトルやメッセージを空欄にすると空欄のままになり、デフォルトアイコンには内蔵のAppIconリソースが使われます。dialogコマンドは、アプリバンドルの場所を自動判定してアプリを移動可能にする、コンパイル済みのdialogcliユーティリティへのリンクになりました。Dialogバイナリを直接起動する場合は引数の数と順序が重要です。パラメーターを取らないフラグはコマンドの末尾に指定してください。バイナリの直接実行は将来のリリースで削除される予定です。リリースノートでは300件を超える変更と更新が報告されていますが、すべての修正が個別に列挙されているわけではありません。

    出典:swiftDialog 3.0.0 リリース

  15. 3.0.0preview3

    展開

    GitHub Release

    swiftDialog 3.0 Preview 3

    Updates since Preview 2:

    • Update --resizable behaviour #553
      • --width x --height y --resizable now works to create a resizable window at the specified dimensions (and position if --position is used)
    • Fix inconsistent --title none behavior #550
    • Fix vertical content placement when --message is not visible
    • Fix --buttonstyle stack to fill the width of the window #554
    • dialog binary compiled for universal support #552
    • Increase spacing between checkbox label and checkbox
    • Adjust dropdown selector to fill to space, not fit to content, when running on macOS 26
    • Adjust dropdown selector width value to be consistent with other visible elements (i.e. textfield)
    • Update textfield processing
      • replace methods deprecated in the macOS 15 SDK
      • overlay on live regex checking (--textfieldlivevalidation) no longer prevents selection the field on click
      • fix an issue where textfield content was not included in stdout if 'OK' was clicked before the cursor left the textfield area (possible fix for #527)

    🚨 dialog binary changes

    In this release the dialogcli binary is now included in the app bundle. On install a symlink is created at /usr/local/bin/dialog that points to /Library/Application/Support/Dialog/Dialog.app/Contents/MacOS/dialogcli.

    % ls -la $(which dialog)
    lrwxr-xr-x  1 root  wheel  71 18 Sep 14:36 /usr/local/bin/dialog -> /Library/Application Support/Dialog/Dialog.app/Contents/MacOS/dialogcli
    

    These changes should not affect standard behaviour when installed using the provided pkg but you can now re-locate the Dialog.app bundle elsewhere and do the following:

    • run sudo /custom/path/Dialog.app/Contents/MacOS/dialogcli --link to update the /usr/local/bin/dialog symlink destination
    • call .../Dialog.app/Contents/MacOS/dialogcli directly
    • symlink the bundled dialogcli to any location or name of your choosing

    ℹ️ If your workflow currently calls .../Dialog.app/Contents/MacOS/Dialog with arguments directly, please update to call dialogcli instead following this release.

    Issues, Bugs?

    For any bugs or problems with this preview release, please create an issue 🛠️

  16. 3.0.0preview2

    展開

    GitHub Release

    swiftDialog 3.0 Preview 2

    Fixes since Preview 1

    • Handle dialog process termination (control+c, pkill etc) #545
    • Fix --position x,y where x and y coordinates were swapped #546
      • Also includes fix if provided coordinates go beyond visible screen area. Dialog windows will be bounded to the display.
    • Fix issue where list item icons didn't appear when configured using json #548
    • Fix typo in German localisation #549
    • Installer package now enforces macOS 15 minimum requirements
  17. 3.0.0preview1

    展開

    GitHub Release

    swiftDialog 3.0 Preview 1

    Image: SD v3 logo

    What's New

    This preview release was built on Xcode 26 and macOS 26 RC. Please use this initial preview to validate your workflows against macOS 26 and the updated visual style.

    🚨 Breaking Change 🚨

    swiftDialog 3.0 supports macOS 15 and macOS 26

    ⚠️ macOS 14 and earlier are no longer supported. ⚠️

    Support for macOS 26 visual style

    This release will have macOS 26 appearance when run on macOS 26 and macOS 15 appearance on macOS 15

    There is a new "squircle" icon to match the macOS 26 branding style and avoid landing in squircle gaol.

    The old "Important message" boilerplate text for title and message have been removed. Leaving title or message blank will produce blank message and title. Default icon uses the built in AppIcon resource instead of an SF symbol

    Changes to /usr/local/bin/dialog

    /usr/local/bin/dialog is now a compiled binary written in swift. Previously this was a shell script that handeled command line processing and launching of the Dialog.app app bundle.

    For this initial release this generally performs the same function as the shell script but will be expanded over time. Support for running the Dialog.app/Contents/MacOS/Dialog binary directly will be removed in a future release

    ⚠️ Important Note: In this release, when running Dialog.app/Contents/MacOS/Dialog directly, the number and order of arguments matters. For the sake of brevity, specify flags (arguments with no parameter like --ontop) at the end of your command.

    Other additions

    • Add support for specifying an exact location on the screen using --position x,y #452
    • Add support for actions in listitems. Actions are limited to URLOpen. #472
    • Add file path option to textfield fileselect to set the initial file path. Defaults to users home directory if not used. #451
    • Add support for collapsable paragraphs
    • Add iconalpha as an option to listitems #508
    • Add optional --loghistory for use with --displaylog #539
    • Added a custom indeterminate linear progress bar (this was required as macOS 26 linear progress bar does not animate correctly)
    • --image and --icon can now accept multiple values as a single comma seperated list, e.g. `--image "/path/image1.png","/path/image2.png","/path/image3.png" #536
    • [insert new feature here]

    Fixes

    • fix cmd+Q always being honoured #519
    • Enable button1 usage with stacked style and timer #520
    • Fix issue where textfield input is clipped if return is hit too quickly after entering data #530
    • Fixed an issue where the window position was not being correctly calculated on subsequent runs where window dimentions change between runs

    Issues, Bugs?

    For any bugs or problems with this preview release, please create an issue 🛠️

  18. 3.0.0beta5

    展開

    GitHub Release

    swiftDialog 3.0 Beta 5

    Getting close to release 🤞

    Changes since Beta 4:

    • Fixes to searchable select lists
    • Fixes to inspect mode preset 2 layout
    • Lots of under the hood inspect mode fixes
    • NEW - --hideotherapps option, causes all windows to hide when swiftDialog launches. un-hides on exit

    Changes to markdown support

    MarkdownUI swift package has been replaced with Textual. This gives us much better general markdown support but there may be some visual differences. Please test and report any issues that may result from this change. That said...

    • --messagefont options to change the message font, colour and size are all back to working order
    • support for changing colours on individual letters or words, e.g. --message ":red[This is red] :green[This is green] :blue[This is blue]. This works for message, title, helpmessage and infobox.
  19. 3.0.0beta4

    展開

    GitHub Release

    swiftDialog 3.0 Beta 4

    General Updates since Beta 3

    • Fix issue when using center style buttons
    • Update authkey processing to display auth lock correctly
    • Add SF Symbol transitions to IconView
      • When a SF symbol supports a transition from one symbol to another, the transition is animated. Animation varies from symbol to symbol. Best used when changing from one symbol varient to another, e.g. shield to shield.slash
    • fix --button1text none not working as expected
    • updating message when a list is visible no longer causes the list to disappear. This changes the "working as intended" behaviour of this action
    • Increased spacing between title text and radio buttons

    Inspect Mode updates

    • Added overlay icon support to brand identity and preset layouts
    • fix finalButtonText support for presets 1,2 and 3
    • add support for per-step continue button text
    • add dynamically visible and state override for guidance blocks
    • add custom filename support for inspect persistance
    • add side by side gallery layout with side content
    • add shellTimeout and batch update for shell buttons
    • make preset non-options in inspect config
    • add support for request button actions via fifo pipe
    • add support for discrete step sliders
    • add basePath support for relative path resolutions in validation
    • add auto discovery for compliance items
    • add textfield support to preset6 guidance content blocks
    • add copy-to-clipboard for config error details
      • many more under the hood improvements.
  20. 3.0.0beta3

    展開

    GitHub Release

    swiftDialog 3.0 Beta 3

    Everything from previous preview and beta releases plus the following:

    Fixes:

    • Fix Incorrect window spacing when --centericon and --buttonstyle stack are used together #578
    • Fix issue where dark mode disabled buttons look clickable #579
    • Fix show: and hide: code so if a blurscreen is present we manage it properly. #581

    Updates:

    • Updated listitem status
      • Can now specify an SF symbol with optional colour as the status. When updating the status from one SF symbol to another, the update will animate with the sf symbol content transition, e.g. going from shield.fill to shield.slash.fill the slash will animate in place. example listitem: index: 0, status: shield.fill listitem: index: 0, status: shield.slash.fill
    • Inspect-mode related changes and additions from PR #582 (thanks @headmin):
      • Add inspect-mode UI additions along with requested changes to preset 1-3
      • Refactored Preset 1-2 layouts, add UI customization along with better workflow control
      • Improved detections in plist tracking, support plist checks in presets 1-3.
      • Add initial attempt on state machine patterns functionality (WIP)
      • Applied SwiftLint formatting across inspect .swift files
      • Add complementary functionality for inspect-mode based workflows

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  21. 3.0.0beta2

    展開

    GitHub Release

    swiftDialog 3.0 Beta 2

    Everything from previous preview and beta releases plus the following:

    Fixes

    • Empty variables as parameters cause no window to be drawn #543
    • --displaylog encoding text issue #422
    • --overlayicon does not appear when using --centericon #573

    Additions

    • Allow listitem's to be selectable (one or many) #465
      • new argument --enablelistselect enables selection of listitems on click. selection status is sent to stdout as "<title>" : "<status"
    • Buttons can now have symbols and adjustable text size
      • new arguments --button1symbol --button2symbol --infobuttonsymbol. Takes one sf symbol name as a value. Optional properties: position, size, style, color. see --help button1symbol for more info.
        • example: --button1symbol sunrise.fill,multicolour,leading
      • new argument --buttontextsize accepts a number value to set the desired text size
      • button text values can now be specified as nil to disable button text

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  22. 3.0.0beta1

    展開

    GitHub Release

    swiftDialog 3.0 Beta 1

    This is the first proper beta release of swiftDialog 3.0.

    Contains all the features and fixes of the previous preview releases as well as the following:

    Fixes

    • missing --loginwindow flag for root user exec
    • --commandfile not being respected in 3.0 beta #568
    • many, many changes to the construction kit, aka --builder mode

    Additions

    • Added searchable option to drop down lists
      • example:
      dialog --selecttitle "Search Me",searchable --selectvalues "Apple,Banana,Cherry,Date,Elderberry,Fig,Grape,Honeydew,Kiwi,Lemon,Mango,Nectarine,Orange,Papaya,Quince,Raspberry,Strawberry,Tangerine,Ugli Fruit,Watermelon"
      
    • Added --sound to play a sound on launch. Accepts file or url
      • example dialog --sound /System/Library/Sounds/Glass.aiff
      • if you pass in a very long audio file, add the --showsoundcontrols option.
    • Added animated gif support (finally)

    🚚 swiftDialog documentation is moving 🚚

    You can view a preview of the updated documentation at https://beta.swiftdialog.app/

    Inspect Mode

    --inspect-mode, which was announced at the MacSysAdmin conference has some more documentation. Available at the new documentation location here https://beta.swiftdialog.app/advanced/inspect-mode/

    Builder Mode

    --builder mode has been updated with some fixes for broken functionality and updates for some of the new layouts. Documentation here

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  23. 2.5.6

    展開

    GitHub Release

    Fixes:

    • Fixed an issue where specifying an icon from json required the icon to be in an array even if there was a single icon. fixes #493
    • Notification click closes dialogs in v2.5.5 #499
    • Update dialog script version message when no user logged in by @HowardGMac in https://github.com/swiftDialog/swiftDialog/pull/510
    • Use whole path for scutil (resubmit) by @MikeRich88 in https://github.com/swiftDialog/swiftDialog/pull/515
    • Added trailing padding to helpimage
    • Adds key authorisation to sending notifications if one is required #485
    • fix missing options for --textfield in help #485

    Contributions:

    Additional options for working with notifications

    • Adds ability to set an identifier for a notification, allowing you to easily replace a notification with an updated one. Also the ability to remove a specific notification by identifier or all notifications.

    Example:

    dialog --notification --identifier "update.message" --title "Updates" --message "Please update by tonight."
    dialog --notification --identifier "update.message" --title "Updates" --message "Please update within the next hour."
    dialog --notification --identifier "update.message" --remove
    

    Thanks to @chrisgrande

    Added buttonsize as a command line and control file variable

    • Support for mini, small and large button button sizes, using the built in macOS sizes. The button size will default to the current value of regular if not specified or not valid.
    • Support for button size to the builder mode for testing and JSON generation.

    Button style is applied to button1, button2 and the info button. It is also applied in the normal and stacked button layout.

    It does not scale the help button, which is a fixed size.

    Examples:

    dialog --buttonsize large --commandfile /var/tmp/dialog.txt
    echo "buttonsize: mini" >> /var/tmp/dialog.txt
    

    Thanks to @k2graham

    Options to hide and show the dialog window from the command file

    • Added hide: and show: commands to the list of command file commands to hide and show windows. This does not prevent window updates from occurring while a window is hidden.

    Thanks to @fabienconus