Skip to content

Releases: Anti2077/codex-image-gen-plus-plus

v0.2.0 — credential storage, workspace guard, job cleanup

Choose a tag to compare

@Anti2077 Anti2077 released this 17 Oct 03:19

Adds optional system credential storage, workspace output protection, and job history cleanup. Existing file-based configurations remain compatible.

  • init can store the API key in macOS Keychain, Windows Credential Manager, or Linux Secret Service. MCP caches the credential; detached workers receive it through a private pipe. The OS may request authorization when a new process first accesses a locked or protected credential store.
  • init can restrict output files to an existing absolute workspace root, including checks against existing symlink/junction escapes. This is an output guard, not an OS sandbox; reference-image reads are not restricted.
  • MCP startup removes succeeded/failed job records older than 7 days. jobRetentionDays: 0 disables automatic cleanup. jobs clean --days 30 --dry-run previews manual cleanup. Generated images and active jobs are preserved.
  • Recommended Codex personalization instructions are now one sentence in Chinese and English.

Validation: TypeScript checks, builds, command smoke checks, and packaging passed on Windows/macOS/Linux with Node.js 22 and 24. Actual OS credential-store authorization behavior was not tested, and this release validation made no paid generation requests.

Upgrade:

npm install -g https://github.com/Anti2077/codex-image-gen-plus-plus/releases/latest/download/codex-image-gen-plus-plus.tgz
codex-image-gen-plus-plus init

SHA-256 of the attached package: 2de6ad8652c94d74b4b4b98ea786ee513ccfa45582f1cfeb1395026e640ab464

codex-image-gen++ v0.1.0

Choose a tag to compare

@Anti2077 Anti2077 released this 16 Oct 17:02

codex-image-gen++ 的首个版本:配置自己的 OpenAI 兼容图片接口,让 Codex 选择模型、提示词、参数及工作区保存位置。

  • Windows、macOS、Linux;中文 / English 初始化。
  • init 可导入 CC Switch 当前 Codex 提供商的 API 地址和密钥,也可手动输入;密钥隐藏,只读导入。
  • 初始化获取 /models 检查连接,不自动触发收费生图。
  • MCP 提供 list_models、generate_image、edit_image、get_job;直接保存本地图片并返回尺寸、路径、哈希。
  • 后台任务查询,不自动重试或切换模型;已有文件保护。
  • 可选注册 Codex,最后提供可复制的个性化提示词。

安装(需要 Node.js >=22.13,推荐 Node.js 24 LTS):

npm install -g https://github.com/Anti2077/codex-image-gen-plus-plus/releases/latest/download/codex-image-gen-plus-plus.tgz
codex-image-gen-plus-plus init

CC Switch 导入是一次性复制,后续切换提供商请重新 init。支持 API Key,不导入 ChatGPT OAuth 或代理占位令牌。API Key 明文保存在本机私有配置中。模型列表不代表实际生图权限;首版适配标准 Images API,其他协议需要单独适配。

验证:Windows/macOS/Linux × Node.js 22/24 六组构建、CLI 和打包检查通过;本地验证了 MCP 握手、模型列表、签名图片下载、编辑 multipart、已有文件保护、失败不重试及连接断开后后台任务完成;中英文 init 和包安装流程已验证。已使用本机 CC Switch 当前提供商完成真实 /models 连接检查;本次发布未额外发起收费生图。

English: First release of a configurable Images API MCP for Codex. Bilingual setup, optional one-time CC Switch provider import, model discovery, local image generation/editing, persistent job queries, and optional Codex registration. See the English README for configuration, privacy and API compatibility details.