github linshenkx/prompt-optimizer v2.11.8

5 hours ago

English

Summary

  • Basic/System tests can now attach one image and use it throughout multimodal model calls, evaluation, comparison, and restored sessions.
  • Unsigned macOS builds now direct update attempts to the GitHub Releases page instead of entering an in-app download/install flow that cannot complete.
  • Focused UI cleanup fixes Markdown separators, removes ineffective styling and dead state, and makes scroll listeners passive.

Highlights

  • Multimodal users can test Basic and System prompts against text plus an image without leaving the standard test workspace.
  • macOS users receive a clear manual-download path and architecture guidance when automatic installation is unavailable.

Product Updates

Desktop

  • Added single-image test attachments to the Basic/System workspace, including Electron IPC support for image understanding and evaluation.
  • Added an explicit manual-release delivery policy for unsigned macOS builds, with release-page navigation and architecture-aware download guidance.

Web

  • Added single-image test attachments to the Basic/System workspace using the existing browser image-understanding path.
  • Preserved image-backed test input across session restoration and favorite example application while keeping stored snapshots asset-based.

Extension

  • No extension-specific user-facing changes shipped in this patch beyond version metadata synchronization.

Core/Infra

  • Extended prompt testing, evaluation, and the OpenAI-compatible adapter path to carry image attachments without changing text-only callers.
  • Added cross-runtime coverage for multimodal evaluation, Electron serialization, image persistence, updater delivery policy, and release navigation.

Fixes

  • Prevented stale Basic/System results from being saved after an image is added, replaced, or removed.
  • Preserved restored text and persisted session snapshots when runtime image storage temporarily fails.
  • Routed desktop image understanding through the Electron main process to avoid renderer CORS and proxy differences.
  • Fixed invalid Markdown divider styling, an ineffective output display class, non-passive scrolling, and unused or shadowed UI state.
  • Corrected the SSRF issue reference in the developer documentation.

Breaking Changes / Upgrade Notes

  • None.

Developer Notes

  • The release range is v2.11.7..HEAD.
  • Persisted Basic/System image input stores asset ID and MIME metadata rather than base64 payloads; runtime image data is restored from image storage.
  • Windows and Linux retain in-app update delivery. Unsigned macOS builds use manual release downloads.
  • Verification covered pnpm test:gate, node scripts/release-notes.js check v2.11.8, and git diff --check.

Installation guide: English | 中文
Source release notes (EN)


中文

概括

  • Basic/System 测试现已支持附加单张图片,并可贯穿多模态模型调用、评估、对比和会话恢复流程。
  • 未签名的 macOS 构建在检查到更新后将引导用户前往 GitHub Releases 手动下载,不再进入无法完成的应用内下载安装流程。
  • 集中清理多处 UI 问题,包括 Markdown 分隔线、无效样式与状态,以及滚动监听性能。

亮点

  • 多模态用户现在可以直接在标准 Basic/System 测试区中使用“文本 + 图片”验证提示词效果。
  • macOS 自动安装不可用时,用户会看到明确的手动下载入口和架构选择提示。

产品更新

Desktop

  • 在 Basic/System 工作区新增单图测试附件,并通过 Electron IPC 支持图片理解与评估。
  • 为未签名 macOS 构建新增明确的手动发布交付策略,包括 Releases 页面跳转和按架构选择安装包的提示。

Web

  • 在 Basic/System 工作区新增单图测试附件,并沿用浏览器侧现有图片理解链路。
  • 会话恢复和收藏示例应用可以继续恢复图片测试输入,同时持久化快照仍只引用素材。

Extension

  • 本次发布没有扩展端独有的用户可见变化,只有版本元数据同步。

Core/Infra

  • 扩展提示词测试、评估和 OpenAI 兼容适配器链路,使其可以携带图片附件,同时保持纯文本调用兼容。
  • 补充多模态评估、Electron 序列化、图片持久化、更新交付策略和 Releases 跳转的跨运行时测试。

修复

  • 图片新增、替换或删除后,阻止继续保存已经过期的 Basic/System 测试结果。
  • 运行时图片存储暂时失败时,保留已恢复的文本与原始持久化会话快照。
  • 桌面端图片理解改由 Electron 主进程代理,避免渲染进程的 CORS 与代理差异。
  • 修复 Markdown 分隔线样式错误、无效的输出区样式类、非 passive 滚动监听,以及未使用或被遮蔽的 UI 状态。
  • 修正开发文档中的 SSRF Issue 引用。

破坏性变更 / 升级说明

  • 无。

开发者说明

  • 本次发布范围是 v2.11.7..HEAD
  • Basic/System 持久化图片输入只保存素材 ID 和 MIME 元数据,不保存 base64;运行时图片数据从图片存储恢复。
  • Windows 和 Linux 保持应用内更新;未签名 macOS 构建改用手动下载 Release。
  • 验证覆盖 pnpm test:gatenode scripts/release-notes.js check v2.11.8git diff --check

安装文档:English | 中文
仓库版本说明(中文)


macOS note: if macOS reports the app as damaged or cannot verify the developer, this is usually caused by the quarantine attribute on downloaded apps. See the installation guide, or remove it after installing with xattr -rd com.apple.quarantine /Applications/PromptOptimizer.app; for a downloaded DMG, you can run the same command on ~/Downloads/PromptOptimizer-*.dmg before installing.
macOS 备注:如果 macOS 提示“已损坏”或“无法验证开发者”,通常是下载文件的隔离属性导致。请参考安装文档;也可以在安装后执行 xattr -rd com.apple.quarantine /Applications/PromptOptimizer.app,或在安装前对 ~/Downloads/PromptOptimizer-*.dmg 执行同类命令。

Don't miss a new prompt-optimizer release

NewReleases is sending notifications on new releases.