Skip to content

Comi Pet v2.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:13

Changelog

Comi Pet v2.3.0 introduces four Christmas performances with transparent preview GIFs and resolves 20 reliability bugs across macOS, Windows/Tk, DSH, coding-agent adapters, and build tools.

Downloads

File Platform How to run
ComiPet-v2.3.0-windows-x64.zip Windows x64 Unzip and run ComiPet.exe; no Python needed
ComiPet-v2.3.0-macos-universal.zip macOS 13+, Apple Silicon / Intel Unzip and open ComiPet.app; no Python or compiler needed
SHA256SUMS.txt All SHA-256 checksums for both archives

The macOS build is ad-hoc signed and not notarized, so Gatekeeper may warn about an unidentified developer. You can also build from source following the README.

New

  1. Four Christmas performances. Unwrap a gift box with a pop-up golden star (GIFT_BOX), wear and show off a plush Santa hat (SANTA_HAT), top and light up a mini Christmas tree (MINI_TREE), and dress a little snowman with a red scarf and carrot nose in drifting snow (SNOWMAN). Each clapperboard-free sequence focuses continuously on holiday prop interaction using a shared fixed camera anchor (zero horizontal jitter) and snappy ~120–180ms transitions (~4.3–4.5s at the shared 75% playback speed).
  2. Synced across all three surfaces & previews. macOS, Windows, and DSH share the updated Actions → Holidays menu and autoplay rotation. Transparent previews (docs/previews/christmas.gif and four per-action GIFs) plus tools/make_christmas_previews.py are included, while all existing non-holiday and Halloween frames remain untouched.

Fixes

  1. macOS native reliability. Dispatch HostBridge system notifications when hidden in auto mode; fix chatInput() setting manualUntil with Unix epoch instead of systemUptime (which previously suppressed the bridge after chatting once); include "ok": true in control_api state replies; show RUN ("Quick walk") in the menu when RUN_l/RUN_r exist; localize the version menu item in English; run session GC even when the bridge dir is absent and unlink trimmed backlog files.
  2. Windows / Tk runtime reliability. Remove duplicate hardcoded Simplified Chinese lines overwriting localized startup chatter; defer switching to GRAB until dragging starts so click-to-wake from SLEEP and queued notice replay actually work; add -transparent attribute to macOS Tk speech bubbles; guard missing fall_0 with the fallback sprite; fix zh-TW → zh-Hant menu label lookup.
  3. Physics, config, control API & updates (all surfaces). Transition to LAND on the surface when THROW exceeds MAX_BOUNCES instead of triggering mid-air landing (Tk, Swift, DSH); validate request.id against path traversal and always unlink consumed control_api requests; align macOS saved position coordinate system to "bottomleft" (with "cocoa" read migration); skip update comparison when version metadata is missing instead of falling back to "0.0.0".
  4. Bridge, adapters & tools. Use .tmp extension for atomic HostBridge writes and ignore tmp- files while polling; expire OpenCode deduplication after 2s for repeatable session events without unique IDs; resolve hook summary toggles via comi_home; fix multi-row baseline offset in tools/preview_actions.py; close subprocess pipes and HTTP server sockets in adapter tests.
  5. Documentation. Clarify the difference between Codex's built-in pet and this standalone app in both READMEs, and document Electron desktop profile recovery steps in adapters/dsh/README.md.

Upgrade

  • Quit the old app, then replace ComiPet.app or ComiPet.exe. Existing configuration and data are retained; no migration is needed. The built-in update check will point to this release.
  • DSH users must also update the plugin (comi-bridge v0.2.2). Update the repository and the installed adapters/dsh/comi-bridge directory, restart DSH and refresh its page. A symlinked plugin follows the repository update; a copied installation needs the complete updated plugin directory. The desktop ZIPs do not include adapters. See the DSH setup guide.

更新日志

Comi Pet v2.3.0 正式发布四组圣诞节动作与透明演示 GIF,同时集中修复 macOS 原生端、Windows/Tk 端、DSH、编码助手适配器及构建工具中的 20 项存量问题。

下载

文件 平台 运行方式
ComiPet-v2.3.0-windows-x64.zip Windows x64 解压运行 ComiPet.exe,无需 Python
ComiPet-v2.3.0-macos-universal.zip macOS 13+(Apple Silicon / Intel) 解压打开 ComiPet.app,无需 Python 或编译器
SHA256SUMS.txt 全部 两个压缩包的 SHA-256 校验值

macOS 包为临时签名、未做 Apple 公证,首次打开可能弹出无法验证开发者提示(右键 → 打开即可)。也可以按 README 从源码构建。

新增

  1. 四组圣诞节动作:拆圣诞礼物(GIFT_BOX,跳出小金星与拥抱摇摆)、戴圣诞帽(SANTA_HAT)、点亮圣诞树(MINI_TREE,放上顶星并点亮彩灯)、堆小雪人(SNOWMAN,系红围巾与胡萝卜鼻并看雪花飘落)。取消场记板拿放套路,全程围绕节日道具连续互动;使用全段固定相机坐标系(消除人物/道具左右晃动)与约 120–180ms 紧凑节奏,按 75% 播放速度每组约 4.3–4.5 秒。
  2. 三端同步与透明演示 GIF:Mac、Windows 与 DSH「动作 → 节日」菜单和自动轮播同步接入四组圣诞动作;随仓提供 docs/previews/christmas.gif 合辑及四张单动作透明预览 GIF 与 tools/make_christmas_previews.py。原有非节日及万圣节帧保持不变。

修复

  1. macOS 原生端:修复隐藏状态 auto 模式系统通知被丢弃的问题;修复对话后 manualUntil 混用 Unix 时间戳导致宿主桥接被永久压制;control_api 的 state 回复补齐 "ok": true;修复「小跳快走(RUN)」菜单项缺失、版本菜单英文未本地化、桥接目录缺失跳过清理及超限裁剪未删文件的问题。
  2. Windows / Tk 端:移除覆盖本地化启动台词的重复简体中文硬编码;将 GRAB 状态推迟到实际拖拽时切换,使点击唤醒 SLEEP 与补播 _sleep_queue 恢复生效;补齐 macOS Tk 气泡透明属性、缺失 fall_0 启动兜底和 zh-TW → zh-Hant 键名修正。
  3. 三端物理、配置、控制接口与更新检查:甩抛超过 MAX_BOUNCES 时在反弹落地当下进入 LAND 而非半空触发落地(Tk / Swift / DSH 三端一致);control_api 校验 request.id 防路径穿越并在异常时保证删除已消费请求;统一 config.json 坐标为 "bottomleft"(兼容迁移旧 "cocoa");缺失版本元数据时跳过更新比较,不再回退 "0.0.0" 误报。
  4. 桥接、适配器与工具:HostBridge 写事件改用 .tmp 扩展名并忽略 tmp- 前缀消除竞态;comi_opencode.py 对无唯一 ID 的重复会话事件改用 2 秒去重窗口;hook_common.py 通过 comi_home 解析 summary 开关;修正 preview_actions.py 多行基线偏移;关闭测试子进程管道与 HTTP 套接字消除 ResourceWarning。
  5. 文档:中英文 README 澄清 Codex 桌面应用内置宠物与独立桌宠的区别;DSH 文档补充 Electron desktop profile 丢失 comi-bridge 时的排障步骤。

升级

  • 退出旧版后替换 ComiPet.app 或 ComiPet.exe,已有配置与数据继续沿用,无需迁移;桌宠内置更新检查会指向本版。
  • DSH 用户还需同步更新插件(comi-bridge v0.2.2):更新仓库及已安装的 adapters/dsh/comi-bridge 目录,再重启 DSH、刷新页面。符号链接安装随仓库更新,复制安装需重新复制完整插件目录。桌宠 ZIP 不包含适配器,详见 DSH 接入说明。