AutoCodeBar

版本历史

Version History

AutoCodeBar 每个版本的变化。

What changed in each version of AutoCodeBar.

Version 2.0.6

Current Version

Build 7 ·

Fixes the Sources page re-wrapping its descriptions when a source's status changes.

  • Steady Sources layout: the description text no longer re-wraps when the status pill switches between Watching and Off.

Version 2.0.6

当前版本

Build 7 ·

修复来源页切换状态时说明文字换行位置跳动的问题。

  • 来源页布局稳定:状态药丸在「正在监听」与「已关闭」之间切换时,左侧说明文字不再重新换行。

Build 6 ·

Adding an ignored app now uses a pop-up list, and the Settings window's buttons, switches and fields were tuned up.

  • Pop-up app picker: "Add App" opens a "Running Applications" list with app icons; apps already on the ignore list are checked and greyed out; move with ↑↓, confirm with Return, close with Esc; "Choose from Finder…" stays at the bottom. Rows now show the app name with its bundle identifier underneath.
  • Consistent settings controls: inline buttons share one height and a hairline border, and short labels no longer shrink; buttons ease down slightly when pressed and stay still with Reduce Motion on.
  • Redrawn switches: the on side uses the brand teal with a white knob, so the state reads at a glance in Dark Mode, and toggling animates.
  • Details: secondary text is darker, field borders are clearer and thicken while focused, and panes open at the top when you switch.

Build 6 ·

忽略应用改为弹出列表选择,设置窗口的按钮、开关和输入框也统一了一遍。

  • 添加忽略应用改为弹出列表:点「添加应用」直接弹出「运行中的应用程序」列表,带应用图标;已在忽略列表里的应用打勾置灰;↑↓ 选择、回车确认、Esc 关闭;底部保留「手动从访达中选择…」。列表行改为两行,名称下方显示 Bundle ID。
  • 设置控件统一:行内按钮改为同高的描边矩形,短文案不再缩成一小块;按下时有轻微缩放反馈,开启「减弱动态效果」后保持不动。
  • 开关重画:「开」的一侧用品牌青绿配白色旋钮,深色外观下开关状态一眼可辨,切换带过渡动画。
  • 细节:次级文字加深,输入框边框更清晰、聚焦时加粗,切换页面时回到页首。

Build 5 ·

Quick Fill is here: one click types the code where you are, instead of switching back to press ⌘V.

  • Quick Fill next to the input field: for 60 seconds after a code arrives, a "Fill 482913" card floats next to the focused input field. One click types the code character by character, six-box code fields included. Off by default; turn it on under Settings › General. An optional "Press Return after filling" suits sign-in forms that submit right away.
  • Guided Accessibility access: the same drag-in guide card as Full Disk Access — System Settings opens, the card flies alongside the window, you drag AutoCodeBar from the card into the list, and the card dismisses itself once the grant takes effect.
  • Accessibility row on the Permissions page: listed next to Full Disk Access and Notifications, so the current state is visible at a glance.

Build 5 ·

新增「一键填入」:验证码到达后点一下就键入,不用再切回去 ⌘V。

  • 在输入框旁一键填入:验证码到达后 60 秒内,光标所在的输入框旁会浮出一张「填入 482913」卡片,点一下逐字键入,六格分框的验证码也适用。默认关闭,在「设置 › 通用」里打开;另有「填入后自动按回车」可选,适合输入完即提交的登录框。
  • 辅助功能授权引导:与「完整磁盘访问」同款的拖拽卡片——打开系统设置后卡片飞到窗口旁,把里面的 AutoCodeBar 拖进列表即可,授权生效后卡片自动收起。
  • 权限页新增「辅助功能」状态行:和完整磁盘访问、通知并列,一眼看到当前是否已授权。

Build 4 ·

The "ignore these apps" list for the Notification Center source is now an app picker.

  • Pick apps instead of typing bundle identifiers: the list shows app icons and names; "Add App" offers a "Running Applications" submenu and "Choose from Finder…" for any .app; each row can be removed individually, and the defaults can be restored with one click.

Build 4 ·

通知中心来源的「忽略这些应用」改为应用选择器。

  • 按应用选择,不再手填 Bundle ID:列表直接显示应用图标与名称;点「添加应用」可从「运行中的应用程序」子菜单里选,或「手动从访达中选择…」任意 .app;每行可单独移除,也可一键恢复默认。

Build 3 ·

The app identifier is now cc.zerah.AutoCodeBar, and personal information has been removed from logs and release notes.

  • New app identifier: macOS treats this as a new app. After the first launch, add AutoCodeBar again under Privacy & Security › Full Disk Access; the guide card in the panel walks you through it.
  • Upgrading from 2.0.1: the in-app updater cannot install across identifiers. Run brew upgrade --cask autocodebar or install the new DMG over the old app. Settings need to be configured once more.
  • Logging: the log subsystem and internal queue names no longer contain personal information.

Build 3 ·

应用标识改为 cc.zerah.AutoCodeBar,并去掉日志与说明里的个人信息。

  • 新的应用标识:macOS 会把它视为一个新应用,首次启动后请在「隐私与安全性 › 完整磁盘访问」重新加入 AutoCodeBar,面板里的引导卡片会带你完成。
  • 从 2.0.1 升级:应用内更新无法跨标识安装,请执行 brew upgrade --cask autocodebar,或下载新的 DMG 覆盖安装。设置需要重新配置一次。
  • 日志:日志子系统与内部队列名不再包含个人信息。

Build 2 ·

Fixes the SMS and Notification Center sources frequently missing new messages.

  • No more missed messages: macOS emits no file system events when its daemons write the Messages database or the notification database, so a watcher that relied on file events alone could wait forever. The sources now compare the modification time and size of each database and its WAL once a second and read only when something changed. Latency stays under a second at negligible cost.
  • Earlier trigger: Messages usually updates its nickname cache when a message arrives; those events now also trigger a read.
  • Clearer logging: the SMS source records rows read and skip reasons for troubleshooting.

Build 2 ·

修复短信与通知中心来源经常收不到新消息的问题。

  • 短信与通知中心不再漏消息:macOS 在系统守护进程写入「信息」数据库和通知数据库时不会产生文件系统事件,之前只依赖文件事件的监听会一直等不到新消息。现在每秒比对一次数据库与 WAL 文件的修改时间和大小,有变化才读取,延迟不超过一秒,开销可以忽略。
  • 更快的提前触发:收到新短信时「信息」通常会顺带更新昵称缓存,这类事件现在也会触发一次读取。
  • 更清楚的日志:短信来源会记录每次读取到的行数与跳过原因,方便排查。

Build 1 ·

2.0 is a complete rewrite.

  • Monitoring starts with the app: no need to open the panel first; a manual pause is no longer undone by the panel; each source starts, fails and recovers on its own.
  • Three sources: SMS and iMessage from Messages, local mail from Apple Mail, and an experimental Notification Center source (off by default) that can also cover iPhone Mirroring and other apps.
  • Scored extraction: candidates are ranked by keyword proximity, shape, line position and surrounding context, so years, amounts, order numbers and card suffixes are rejected. Keywords and the pattern are editable with a live test field.
  • Menu bar and notifications: a recognised code is copied immediately, shown in the menu bar for 15 seconds, and optionally announced by a banner. The panel keeps the last five and re-copies on hover.
  • Permission guidance: a three-step setup flow, plus a Full Disk Access card that flies to the System Settings window, follows it, and hands you a draggable copy of the app icon for the permission list.
  • Privacy: history lives in memory only, capped at 20 entries and cleared on quit; codes are written to the pasteboard with the concealed-content marker; nothing is sent anywhere except the update check.
  • Secure distribution: Developer ID signing, Apple notarization and an EdDSA-signed Sparkle update feed.

Build 1 ·

2.0 是一次全新重写。

  • 启动即监听:不再需要先点开面板;暂停不会被面板刷新撕掉;三个来源各自独立启停、独立恢复。
  • 三个数据来源:「信息」的短信与 iMessage、Apple Mail 的本地邮件,以及实验性的通知中心来源(默认关闭,可覆盖 iPhone 镜像等其他应用的通知)。
  • 打分式识别:按关键词邻近度、字形、行位置和上下文挑出验证码,年份、金额、单号、尾号都会被排除;关键词与正则可在设置里修改,并带实时测试框。
  • 菜单栏与通知:识别到验证码即复制,菜单栏显示 15 秒,可选系统通知;面板保留最近 5 条,悬停即可再次复制。
  • 权限引导:三步引导流程;「完整磁盘访问」提供一张会飞到系统设置窗口并跟随的引导卡片,把应用图标拖进权限列表即可。
  • 隐私:历史只在内存中,最多 20 条,退出即清;验证码写入剪贴板时带机密标记;除更新检查外没有任何网络请求。
  • 安全分发:Developer ID 签名、Apple 公证与 Sparkle 签名更新源。