Codex 远端通知采集器(lengmo1996)GitHub · 下载安装 / Downloads · 反馈 / Issues 中文提示语言: 通知菜单 → 语言 / Language,可自由选择中文(默认)或 English;也可设置 版本 0.2.5。配套组件 ID: 仅在 SSH 服务器或容器工作区中采集 VS Code Codex 插件会话,将回复结束、审批和提问交给 Windows 本机组件。Codex App、CLI 和无法确认来源的会话不提醒。 在目标 Remote SSH 窗口或附加容器窗口中,通过扩展面板 … → 从 VSIX 安装选择 两端升级后,等待任务空闲再重载对应窗口。新版 UI 会忽略旧采集器缺少来源标识的事件,因此远端 0.1.0 也必须升级。现有审批 hook 不必重新授权;采集出口会再次验证来源,旧 hook 写入的 App 事件也被忽略。 首次使用远端需要 Python 3.8 或更高版本和受信任的 VS Code 工作区。采集默认启用,但不会自动安装审批 hook。
重复配置不会重复添加 hook,并会保留已有无关配置和备份。扩展不会修改审批决定; 设置在该环境的 VS Code 设置中搜索
修改后可运行 Codex Notifier: 重启采集器。容器内运行 Codex 时,扩展、Python 和 Codex home 必须对应容器内同一用户的环境。 范围完成和结构化提问使用已核对的 Codex 0.153.0 日志格式识别;这是版本相关的适配,不是公开稳定 API。审批提醒使用 已发现会话每约 2 秒读取增量,新会话每约 10 秒发现一次。最多观察近 36 小时更新的 64 个会话日志,包括恢复后更新的旧会话。只向本机传递通知元数据,不转发提示词、回答正文或执行命令参数。 会话首行必须具有 扩展跟随当前 VS Code 连接运行,不另建 SSH 通道、不重配 SSH 密钥。窗口关闭或连接断开时不保证即时提醒;重连尝试回放最近 5 分钟事件,不补齐全部离线历史。 “完成”表示本轮生成结束。纯文字问题出现在最终回复时由完成事件覆盖。远端测试成功不证明 Windows 弹窗实际可见,也不证明真实审批 Trust 已完成;首次使用时请在各目标环境观察实际事件。 移除运行 Codex Notifier: 移除审批提醒 Hook 可只移除本扩展管理的 hook,随后禁用或卸载扩展。它使用独立的 MIT License。 隐私与清理默认通知缓存保留 7 天(可设置 1–30 天)。本机使用当前用户限定的管道及 TLS 双向认证;安装者之间没有公共会话同步。打开 Codex 通知:隐私与数据清理 可预览、清理并暂停;其他远端环境须分别清理。详细数据范围、账号共享边界和保留限制见 隐私说明。 远端组件改名后的升级配套组件的新 ID 为 如果目标服务器或容器仍装有旧 EnglishVersion 0.2.5 · Companion ID: Collect notification events from Codex running in VS Code over Remote SSH or inside a container. Send response-end, approval and structured-question metadata to the Windows notification extension. Codex Desktop App sessions, standalone CLI sessions and unclassified sessions are excluded. This community extension is not an official OpenAI or Microsoft product. Installation and first useStart with the main extension, Codex 会话通知 ( The remote environment requires Python 3.8+ and a trusted workspace. The extension, Python and Codex Home must belong to the user/environment actually running Codex. The companion does not start collection in local windows: local-folder collection is already included in the main extension.
Collection is enabled by default, but hook installation is not automatic. Repeated hook configuration avoids duplicates and preserves unrelated configuration and backups. The extension never approves an action; SettingsSearch for
Use Restart collector after configuration changes when needed. Sound, colors, read state, history deletion and the sidebar/editor opening preference belong to the main extension. Response-end sound is on by default there; window-wide automatic read acknowledgement is off by default in current main-extension versions. Collection scope and limitationsThe collector recognizes response-end and structured-question records using the inspected Codex 0.153.0 log format. This is a version-dependent integration, not a stable public API. Approval reminders require Known sessions are read incrementally about every 2 seconds; new sessions are discovered about every 10 seconds. Up to 64 session logs modified within 36 hours are observed, including older sessions updated on resume. Only allowlisted event metadata is forwarded, not prompts, response bodies or executed-command arguments. Logs containing conversation text are parsed locally. The first session metadata record must identify The collector runs with the VS Code connection. It does not create another SSH connection or copy/reconfigure SSH keys. Immediate delivery is not guaranteed after a window closes or the connection drops. Reconnection attempts to replay the latest 5 minutes of events, not the entire offline history. A successful test does not prove a Windows popup was visible or that a real approval hook was trusted. Privacy, cleanup and removalMetadata can include hostnames, labels, directories, Codex Home, timestamps, session IDs and turn IDs. There is no developer-operated synchronization service or telemetry upload. Users who share a remote OS account, container user or readable Codex Home can see the same events; source labels and SSH keys do not provide separate access controls. Use separate OS accounts and restricted directories when isolation is required. Notification caches default to 7 days (configurable 1–30). From the main extension, Privacy and data cleanup previews and clears managed data for the current environment and Windows, then pauses collection/reception until explicitly resumed. Original Codex conversations, login information, projects and unrelated hooks are preserved. Each remote environment must be cleaned separately. Unattributed old hook backups are retained and reported. The bilingual privacy policy describes authentication, data fields, storage and deletion limits. To remove only the managed approval hook, run Remove approval reminder hook, then disable or uninstall the companion. The managed If upgrading from Runtime popups and collector logs follow the main extension’s 语言 / Language selection ( MIT License. |