Skip to content

2.18.0

Latest

Choose a tag to compare

@ZekerTop ZekerTop released this 23 Oct 14:57

What's New in 2.18.0

  • 新增 WSL CLI 与 Hook 调用 Windows 桌面通知:复用现有 Windows PowerShell toast/balloon 链路,无需外网、MCP 或额外常驻服务;纯 Linux 行为保持不变。
  • 支持 Issue #41 提出的 Codex 原生 hooks:「Hooks / 插件集成」新增 Codex 卡片,CLI 支持安装、卸载、状态和预览。定义写入 CODEX_HOME/hooks.json(默认 ~/.codex/hooks.json),保留其他 Hook。
  • UserPromptSubmit 记录开始时间,Stop 检查配置的耗时阈值;计时按 session 与 turn 隔离。阈值为 0 时每轮完成均可提醒,正数阈值需要有效的耗时记录。
  • Codex Hook 与 Watch 共用 session / turn 完成去重;根据 transcript 元数据过滤明确的 subagent 会话,以及 goal 为 active 或 paused 时的中间完成事件。
  • 已配置不等于实际执行:安装或更新后,需在 Codex /hooks 中 review / trust 新定义并确认 hooks 已开启。混合模式保留 Watch 兜底;未支持或未启用原生 hooks 的客户端继续使用 Watch。「仅 Watch」模式也会屏蔽 Codex hooks。
  • Codex Hook / Watch 并发候选使用原子占位,对同一 session / turn 去重;首次发送的全部通道失败时,后续候选可接棒,避免失败记录挡住 Watch 补发。
  • 异步 Stop 在 transcript 提供明确的 task_complete 时间时,用实际完成时间计算耗时阈值,避免处理延迟把短任务当成长任务。
  • 修复 macOS DMG 打包的 LC_ALL 环境兼容问题,保留应用拖入 Applications 的标准安装布局。
English changelog
  • Added Windows desktop notifications for WSL CLI and Hook runs by reusing the existing Windows PowerShell toast/balloon path. No external network, MCP, or background service is required; pure Linux remains unchanged.
  • Added native Codex hooks for Issue #41, with a Codex card in Hooks / Plugin Integration and CLI install, uninstall, status and preview commands. Definitions are written to CODEX_HOME/hooks.json (default ~/.codex/hooks.json) while preserving other hooks.
  • UserPromptSubmit records the start time and Stop checks the configured duration threshold. Timing is isolated by session and turn; 0 allows each completed turn to notify, while a positive threshold requires a recorded duration.
  • Codex Hook and Watch completion events share session/turn deduplication. Transcript metadata filters explicit subagent sessions and intermediate completions while a goal is active or paused.
  • Configured does not mean executing: after installing or updating, review / trust the definitions in Codex /hooks and ensure hooks are enabled. Hybrid mode keeps Watch as a fallback; clients without native hook support or with hooks disabled can continue using Watch. Watch-only mode also suppresses Codex hooks.
  • Concurrent Codex Hook/Watch candidates use an atomic claim for the same session/turn. If the first attempt fails on every channel, a later candidate can take over, so a failed attempt does not block Watch fallback.
  • When the transcript provides an explicit task_complete timestamp, asynchronous Stop handling uses that completion time for the duration threshold, rather than counting processing delay as task runtime.
  • Fixed macOS DMG packaging compatibility with LC_ALL, retaining the standard drag-to-Applications installation layout.

下载 / Download

平台 / Platform 文件 / File
Windows x64(便携版 / Portable ZIP) ai-cli-complete-notify-2.18.0-portable-win-x64.zip
macOS Apple Silicon(M 系列) ai-cli-complete-notify_2.18.0_aarch64.dmg
macOS Intel ai-cli-complete-notify_2.18.0_x86_64.dmg
  • Windows:解压 ZIP 后运行 ai-cli-complete-notify.exe。 / Windows: extract the ZIP and run ai-cli-complete-notify.exe.
  • 需要 macOS 13.5+;两个包分别对应各自架构,非 Universal 通用包,均内置 Node.js。 / Requires macOS 13.5+; architecture-specific packages with bundled Node.js.
  • 打开 DMG,将应用拖入 Applications 安装;采用 ad hoc 签名,未通过 Apple 公证。 / Open the DMG and drag the app into Applications; ad hoc signed, not Apple-notarized.
  • 本次提供 Windows x64 便携 ZIP、Apple Silicon 和 Intel 两个 macOS DMG。 / This release includes a Windows x64 portable ZIP and Apple Silicon and Intel macOS DMGs.

完整变更 / Full Changelog: v2.17.0...v2.18.0

校验和与构建验证 / Checksums & validation
370fb82d7132a4de81207d6ea4058af8e9b8063cda0b44c2bb66edac76580f64  ai-cli-complete-notify-2.18.0-portable-win-x64.zip
12f97db5558cb88136ddce645f188d9542553b25f0c627bc568debf3bbfa699a  ai-cli-complete-notify_2.18.0_aarch64.dmg
34100c38fca72ca63df25797065d59be1b5d10b2eb1be5f188f5a4ec6701b9c5  ai-cli-complete-notify_2.18.0_x86_64.dmg
  • Apple Silicon 与 Intel 均通过 217 项自动化测试、TypeScript 检查与 UI 生产构建。 / Both Apple Silicon and Intel passed all 217 automated tests, TypeScript checks and the production UI build.
  • Intel 原生构建另通过 22 项包内测试。构建记录 / Native build。 / The native Intel build also passed 22 bundled-code tests.
  • 两个 macOS DMG 均已通过镜像完整性、应用版本、各自架构、签名与拖拽安装布局检查;包内 32 个源码及配置文件与本次提交一致。 / Both macOS DMGs passed integrity, app-version, architecture, signature and drag-to-Applications layout checks; 32 bundled source and configuration files match the release commit.
  • 发布提交 / Release commit:7089cc1d60f2242586552cd7b421f5cb84b2783a。
  • Codex Hook 已由本地用户确认生效;多项目真实外部通知的完整验收尚未完成。 / A local user confirmed that Codex hooks work; full live-delivery acceptance across multiple projects remains unverified.