Codex 会话通知 / Codex Session NotifierGitHub · 下载安装 / Downloads · 反馈 / Issues 中文提示语言: 通知菜单 → 语言 / Language,可自由选择中文(默认)或 English;也可设置 版本 0.4.1 · Windows x64 · 发布者 lengmo1996 只关注 VS Code 的 Codex 插件发起的本地文件夹、SSH 和容器会话。Codex 桌面 App、CLI 及来源无法确认的会话不提醒。这是社区扩展,并非 OpenAI 或 Microsoft 官方产品。 安装在扩展市场只需搜索并安装 Codex 会话通知,发布者 lengmo1996,扩展 ID
统一入口采用 VS Code 的 离线安装时,先在 Windows 安装 本地需要 Python 3.8 或以上及受信任的本地文件夹。SSH/容器窗口不会启动 Windows 本地采集,空窗口不采集。 两端升级后,等待任务空闲再逐个执行 Developer: Reload Window。主扩展会静默忽略旧采集器缺少来源标识的事件,因此远端 0.1.0 必须升级。同一扩展 ID 升级保留历史;如果此前安装的是 提醒与标读
同一环境同一目录有多个窗口时,选择最近使用的匹配窗口。跳转已按 Codex 26.901.22334 的侧栏 URI 和编辑器接口核对。侧栏先聚焦目标窗口,再使用 VS Code 活动窗口路由,避免数字 windowId 前缀碰撞;它依赖分发时的活动窗口,快速切换窗口仍存在竞态,检测到焦点改变会保留未读。插件或 VS Code 更新后可能需要重新验证。侧栏当前会话没有公共读取接口,因此不根据侧栏切换自动标读。 删除通知
仅删除通知历史,不删除 Codex 对话、代码或服务器文件。删除会取消尚未发出的对应提醒;已显示的 Windows 气泡按系统时限关闭。去重记录保留,重连不会立即恢复被删除条目。 设置与检查搜索设置 本地使用 Local Codex Home / Local Python Path / Local Source Label / Local Collector Enabled;SSH/容器使用远端组件设置。Codex Home 留空使用该环境的 按 Ctrl+Shift+P 搜索:
审批 hook 仍需在对应 Codex 设置的 Hooks → PermissionRequest 中核对并 Trust;扩展不代替审批。完成和提问采集默认不改 hook。 采集只传递事件、来源、目录和会话标识,不转发正文。源会话必须有 VS Code 插件专用来源标识;子代理完成不提醒。采集随 VS Code 工作区连接运行,具体扫描和离线回放上限见 Remote 说明。系统勿扰或静音可能影响弹窗和声音,历史仍可查看。 MIT License。 隐私与清理默认通知缓存保留 7 天(可设置 1–30 天)。本机使用当前用户限定的管道及 TLS 双向认证;安装者之间没有公共会话同步。打开 Codex 通知:隐私与数据清理 可预览、清理并暂停;其他远端环境须分别清理。详细数据范围、账号共享边界和保留限制见 隐私说明。 远端组件改名后的升级配套组件的新 ID 为 如果目标服务器或容器仍装有旧 EnglishVersion 0.4.1 · Windows x64 · Publisher: lengmo1996 Get sound, window indicators and unread reminders when Codex in VS Code finishes a response, asks a structured question or needs approval. Track local folders, Remote SSH servers and containers across multiple VS Code windows. Codex Desktop App sessions, standalone CLI sessions and sessions of unknown origin are excluded. This is a community extension, not an official OpenAI or Microsoft product. Install once, check each remote environmentInstall Codex 会话通知, ID
In each SSH/container window, run Codex Notifier: Check / install components for this environment from the Command Palette, or click the yellow missing-component status indicator. On the companion's extension page, choose Install in SSH / Container and enable it. Check every new environment: extension packs do not guarantee installation into all future remote connections. A locally retained copy of the companion stays inactive and can be managed independently. For offline installation, install Understand the reminders
Unread status dots in window preview titles alternate every 0.8 seconds. Marking read stops the indicator. Windows may aggregate taskbar indicators; the extension does not flash the entire thumbnail background. Do Not Disturb, muted audio and system notification policies can affect delivery. Auto Read On Window Focus is off by default. If explicitly enabled, manually returning to a window marks all its existing reminders read; switching conversation editor tabs marks that session's reminders read. Notification-initiated navigation temporarily suspends automatic acknowledgement. Updates preserve explicit preferences, so turn this setting off if you enabled it before. New events arriving while a window stays focused are not consumed automatically. Read state acknowledges a reminder; it does not approve a tool action, answer a question or confirm that a deployment succeeded. Choose where a session opensNotification menu → Choose session opening location, or set Open Location:
Disconnected windows, navigation errors and detected focus changes during sidebar routing preserve unread state. Sidebar links focus the destination first, then use VS Code's active-window routing to avoid numeric window-ID prefix collisions. Rapid window switching still introduces a race. VS Code may request confirmation when opening an extension link for the first time. Neither a returned sidebar request nor an open editor tab proves that Codex's backend has successfully resumed the conversation. No public API exposes the sidebar's current session, so sidebar selection itself is not used for automatic read tracking. Routing was inspected against Codex extension 26.901.22334; updates may require compatibility work. When multiple windows share the same environment and directory, the most recently used matching window is selected. Manage history and settingsUse Delete this notification, Clear read notifications, or Clear all notifications from the notification view. Deletion cancels queued reminders and retains bounded deduplication records so reconnecting does not immediately restore them. Already displayed system notifications expire according to Windows policy. Search VS Code settings for Local folders use Local Codex Home / Local Python Path / Local Source Label / Local Collector Enabled. Remote environments use the companion's settings. An empty Codex Home uses that environment's Useful Command Palette actions include Show connection status, Test collection in this window, Test desktop notification and sound, and Configure approval reminders for this environment. A notification test intentionally plays sound when enabled. To receive approval reminders, review and trust the managed PermissionRequest hook in that environment's Codex settings. The extension never makes approval decisions. Response and question collection does not automatically install a hook. Privacy, retention and upgradesThe extension forwards allowlisted event metadata, including environment labels, paths and session identifiers, not prompt or response bodies. The collector locally parses session logs to identify these events. History is intentionally shared among the same OS user's local VS Code windows. There is no developer-operated synchronization server or telemetry upload; installing this extension does not connect another user to the author's sessions. Shared remote OS accounts or shared Codex Home directories are not separate privacy boundaries. Notification caches default to 7 days, configurable from 1–30 days. Privacy and data cleanup previews the scope, clears managed data and pauses collection/reception. Explicit resume is required. Original Codex conversations, credentials, project files and unrelated hooks are preserved. Other remote environments must be cleaned separately. See the bilingual privacy policy for data fields, authentication, storage, backups and cleanup limits. If an environment still has Open the notification menu → 语言 / Language to choose 中文 or English, or set MIT License. |