版本历史记录
虫子樱桃
AI提示词优化器 2.17.2
2026.11.29

English Summary Connect a ChatGPT subscription in the desktop app to optimize and test prompts with eligible text models. In the Video workspace, use Replicate to turn a reference clip into an editable creative brief. Highlights • Connect ChatGPT under Model Connections → Text in the desktop app. After you grant plan access on OpenAI's sign-in page, the app syncs the text models available to your account. Choose a model in the workspace, or edit the connection's default model and parameters. Requests count toward the connected account's plan allowance. Select Manage usage to review it. • Choose Replicate in the Video workspace and select a local clip or paste a video URL. Use the resulting prompt as your creative brief, then edit or revise it. Under Model Connections → Function Defaults, choose a Video Understanding Model that accepts video input. Product Updates • Model Connections now organizes text, image and video connections alongside function defaults. Set a connection's default model and parameters, then choose a different model for a task or comparison column as needed. • The reference image actions explain what they do. Replicate generates a prompt from the reference and replaces the current prompt. Style Learn keeps the current subject and incorporates the reference's style, composition and colors. Fixes • Reference image replication respects the selected prompt language. The reference image or clip stays selected when you add a model from its action panel. • If the selected video understanding model is disabled or removed, choose another model and continue with the same clip. The picker also accepts common video files that lack a specific media type. • Workspace recovery continues when storage initialization takes longer than expected. Desktop comparison columns now receive their complete streamed results. Breaking Changes / Upgrade Notes • On upgrade or when importing an older backup, the app clears old built-in connections that were never configured or changed and have no references in workspaces, history or other saved data. Use Add Connection to set up those providers again. • Each desktop profile can connect one ChatGPT subscription account. Switch accounts from the connection editor. When you restore a backup on a new device, authorize the account again to use its subscription models. Developer Notes The desktop development window loads UI source and reads runtime settings through the desktop process. Rebuilding the UI bundle now leaves the scripts and styles required by the running development window available. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/releases/v2.17.2.en.md) 中文 概括 桌面版可连接 ChatGPT 订阅,使用账号有权使用的文本模型优化和测试提示词。视频工作区新增「复刻」,可用参考视频生成一段可编辑的创作要求。 亮点 • 在桌面版的「模型连接 → 文本」连接 ChatGPT 账号。在 OpenAI 页面授权使用套餐后,应用会同步可用文本模型。你可以在工作区选模型,也可以编辑连接的默认模型和参数。请求使用当前账号的套餐额度,可在「管理用量」查看。 • 在视频工作区点击「复刻」,选择本地视频或粘贴视频链接,把生成的提示词填入「创作要求」,再按需编辑和迭代。「模型连接 → 功能默认」可单独设置支持视频输入的「视频理解模型」。 产品更新 • 「模型管理」改为「模型连接」,按文本、图像、视频和功能默认组织。在连接上设置默认模型和参数,也可以在工作区为当前任务或对比栏挑选其他模型。 • 参考图操作说明更明确。「复刻」根据参考图生成并替换当前提示词,「风格学习」保留原提示词的主体并融入参考图的风格、构图和色彩。 修复 • 复刻参考图时遵循所选提示词语言。在参考图或视频的操作面板里添加模型时,会保留已选择的素材。 • 已选视频理解模型停用或删除时,换模型后仍可继续使用原视频。也可选取部分未正确标注媒体类型的视频文件。 • 存储初始化较慢时仍会继续恢复工作区。桌面并排测试可完整接收流式输出。 破坏性变更 / 升级说明 • 升级或导入旧备份时,应用会清理未配置、未修改、未被工作区或历史等数据引用的旧内置连接。需要时可在「添加连接」中重新选择对应提供商。 • 每份桌面资料可连接一个 ChatGPT 订阅账号,可在连接的编辑页切换。在新设备恢复备份后,需要重新授权才能使用订阅模型。 开发者说明 桌面开发窗口直接加载 UI 源码,并通过桌面进程读取运行时配置。重建 UI 产物时,开发窗口所需的脚本和样式仍然可用。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.2/releases/v2.17.2.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.17.0
2026.11.28

English Summary Turn a brief and optional reference images into a video prompt in the new Video workspace. Edit the draft or ask for a revision. On web and desktop, you can then generate clips and compare the results side by side. Highlights • Generate video with Seedance through Volcengine Ark or BytePlus ModelArk, or with MiniMax Hailuo. Depending on the model, you can start from text, supply a first frame and an optional last frame, or use several reference images. • Compare two to four versions of a prompt or try the same prompt with different models. Adjust settings such as duration per column, then review which columns will run before you confirm generation. • The MCP preview lets an AI assistant work with your desktop data or a browser profile you authorize. Ask it to optimize a saved prompt, test it with two of your configured text models and save the results to revisit in your MCP client. Product Updates • After a refresh, the Video workspace resumes tracking active tasks and shows the latest completed result in each column. Download clips before their provider links expire. The browser extension supports writing and revising video prompts. • Drag several images into the multi-image workspace and arrange the thumbnails in the order you want. Before optimization, you can see the estimated image upload size. Large requests use resized copies and keep your original references in the workspace. Fixes • If you cancel a multi-image optimization or the request fails before new output arrives, the previous result stays available. • When older revisions are trimmed from prompt history, each retained chain keeps its first version and the remaining revisions stay linked. Breaking Changes / Upgrade Notes • On the first desktop launch after upgrading from v2.16.2 or earlier, the app automatically imports model settings, templates, history, favorites and workspace drafts into prompt-optimizer-data.sqlite. If you already ran a beta that migrated your data, the app opens that same database. • The old prompt-optimizer-data.json holds a snapshot from the time of migration. Later edits are saved in SQLite. If you previously copied the JSON file for backups, open Data Management in the toolbar to export a current backup. • Docker users can keep their existing /mcp URL and model configuration. The desktop and browser MCP preview is available separately on npm. If your client points to an executable bundled with an earlier desktop beta, change its launch command to npx -y @prompt-optimizer/mcp-server@0.2.0-beta.4 using Node.js 24, 25 or 26. MCP setup guide (in Chinese) (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/docs/user/desktop-mcp.md) Developer Notes Desktop storage imports the legacy records and marks the migration complete in one SQLite transaction. If the import is interrupted, the next launch can retry it. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/releases/v2.17.0.en.md) 中文 概括 在新的「视频」工作区写下创作要求,按需添加参考图,即可生成视频提示词。你可以直接编辑草稿,也可以提出修改意见继续迭代。在网页和桌面版,还可以生成视频,并排查看改写前后的效果。 亮点 • 支持通过火山方舟或 BytePlus ModelArk 使用 Seedance,也支持 MiniMax 海螺。根据模型能力,可以使用纯文本、指定首帧并按需添加尾帧,或提供多张参考图。 • 支持两到四栏对比。可以固定模型比较不同版本的提示词,也可以用一段提示词比较多个模型。每栏可单独调整时长等参数,提交前可核对本次要运行的各栏。 • 通过 MCP 预览版,AI 助手可以使用桌面版的数据,也可以连接你授权的浏览器。例如,你可以让助手优化一条已保存的提示词,用两个已配置的文本模型分别测试,再把结果保存下来,稍后在 MCP 客户端回看。 产品更新 • 刷新后,视频工作区会继续跟踪进行中的任务,并显示各栏最近一次完成的结果。成片可在服务商链接过期前下载。浏览器扩展支持编写和迭代视频提示词。 • 多图工作区支持一次拖入多张图片,再拖动缩略图调整顺序。优化前可以查看预计上传大小。图片较大时,应用按需缩小本次请求中的图片副本,原始参考图保留在工作区。 修复 • 多图优化在收到新输出前取消或出错时,会保留上一次的结果。 • 提示词历史达到保留上限时,仍可从保留下来的版本沿着迭代记录回看,直到这条提示词的初始版本。 破坏性变更 / 升级说明 • 从 v2.16.2 或更早版本升级后,首次启动桌面版会自动将模型配置、模板、历史记录、收藏和工作区草稿迁移到 prompt-optimizer-data.sqlite。如果已在测试版完成迁移,正式版会直接使用同一个数据库。 • 原有的 prompt-optimizer-data.json 保留着迁移时的数据,之后的更改写入 SQLite。如果你过去通过复制 JSON 文件备份数据,今后可从顶部工具栏的「数据管理」导出最新备份。 • Docker 用户可沿用现有的 /mcp 地址和模型配置。连接桌面版或浏览器的 MCP 预览版通过 npm 单独分发。如果客户端原先指向早期桌面测试版附带的可执行文件,请使用 Node.js 24、25 或 26,并将启动命令改为 npx -y @prompt-optimizer/mcp-server@0.2.0-beta.4。MCP 配置指南 (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/docs/user/desktop-mcp.md) 开发者说明 桌面端在同一个 SQLite 事务中导入旧数据并记录迁移完成状态。如果导入中断,下次启动时可以重试。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.17.0/releases/v2.17.0.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.16.2
2026.11.24

English Summary New OpenAI-compatible image model configurations use the provider's defaults for optional settings. This improves compatibility with gateways that reject fields they do not support. Highlights • GPT Image now offers PNG, JPEG and WebP as explicit output choices. Models with GIF support also offer animated GIF. Product Updates • Add image size, quality or background in Advanced Parameters when needed. If your provider requires a size, set it there before testing the connection. Fixes • Text-to-image and image editing requests no longer force a PNG output format. Requests without streaming configured leave the streaming field unset. #372 (https://github.com/linshenkx/prompt-optimizer/issues/372) Breaking Changes / Upgrade Notes • Previously saved image parameters still apply. Clear a setting to use the provider's default. Developer Notes • Regression tests cover requests that omit optional settings and requests that explicitly select an output format. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/releases/v2.16.2.en.md) 中文 概括 新建 OpenAI 兼容图像模型配置时,可选参数留空就使用服务端默认值,避免部分接口因收到不支持的参数而拒绝生图请求。 亮点 • GPT Image 可显式选择 PNG、JPEG 或 WebP,支持动图的模型还可选 GIF。 产品更新 • 可以按需在「高级参数」中添加尺寸、画质或背景。如果服务商要求填写尺寸,请先配置尺寸再测试连接。 修复 • 文生图和图生图请求不再强制指定 PNG。未设置流式输出时,请求会省略该字段。 #372 (https://github.com/linshenkx/prompt-optimizer/issues/372) 破坏性变更 / 升级说明 • 之前保存的图像参数继续生效。清空对应设置即可使用服务端默认值。 开发者说明 • 回归测试覆盖省略可选参数的请求,以及显式选择输出格式的请求。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.2/releases/v2.16.2.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.16.1
2026.11.23

English Summary Workspace drafts are saved as you edit and restored after a reload. Test results retain token usage when the provider reports it, and multiple test columns can now be saved to favorites together. Highlights • Pick up where you left off after refreshing the page or reopening the desktop app. • Review reported token usage on restored text test results and in Arena. • Use the star next to Run all on desktop-sized workspaces to save multiple results. Tests run with the same prompt can share a favorite, and the save dialog groups results run with different prompts. Product Updates Desktop • The desktop app saves open workspace drafts before closing or restarting for an update. Web • Save a column's result using the prompt and inputs recorded for that test. Results can still be saved after you edit the workspace. • Choose which results to keep when saving tests that used different prompts. Each prompt group becomes its own favorite after confirmation. #381 (https://github.com/linshenkx/prompt-optimizer/pull/381) Extension • Restore workspace drafts and reported text-test token usage across reloads in the extension. Core/Infra • Expose reported token usage from supported text providers, including non-streaming responses. #379 (https://github.com/linshenkx/prompt-optimizer/pull/379) • Add Claude model presets and recognize adaptive thinking on more compatible model IDs. #380 (https://github.com/linshenkx/prompt-optimizer/pull/380) Fixes • Persist workspace edits across refreshes and navigation, including edits made just before leaving a workspace. • Keep each favorite example tied to its own test inputs so later workspace edits do not change the saved example. Breaking Changes / Upgrade Notes • Existing model settings, sessions and favorites carry over when upgrading. • The extension ZIP contains version 2.16.1 for manual installation. Developer Notes • Regression coverage exercises parallel tests, workspace persistence, and saving results with different prompt snapshots. • The release workflow builds the desktop installers, extension ZIP, and Docker images from the same tagged source. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/releases/v2.16.1.en.md) 中文 概括 工作区会在编辑时自动保存,刷新后可以接着编辑。测试结果会保留模型报告的 token 用量,也可以把多列测试结果一次收藏。 亮点 • 刷新页面或重开桌面应用后,继续编辑上次的工作区草稿。 • 重新打开文本测试结果和竞技场时,仍可查看模型报告的 token 用量。 • 桌面宽度的测试区可点「测试全部」旁的星标批量收藏。同一提示词的结果可以存到同一个收藏,不同提示词的结果会分组保存。 产品更新 Desktop • 关闭桌面应用或安装更新前,先保存工作区中尚未写入的草稿。 Web • 单列收藏使用该次测试保存的提示词和输入。编辑工作区后,之前的测试结果仍可收藏。 • 批量收藏不同提示词的结果时,可勾选要保留的结果,确认后为各组分别新建收藏。 #381 (https://github.com/linshenkx/prompt-optimizer/pull/381) Extension • 浏览器扩展刷新后可恢复工作区草稿,以及模型返回的文本测试 token 用量。 Core/Infra • 统一读取受支持文本模型返回的 token 用量,覆盖非流式结果。 #379 (https://github.com/linshenkx/prompt-optimizer/pull/379) • 补充 Claude 模型选项,并识别更多支持自适应思考的模型 ID。 #380 (https://github.com/linshenkx/prompt-optimizer/pull/380) 修复 • 修复刷新页面、切换工作区前的最新编辑可能丢失的问题。 • 收藏测试结果时保留该列当时的输入,避免工作区后续编辑影响已保存的示例。 破坏性变更 / 升级说明 • 升级后可以继续使用已有的模型配置、工作区会话和收藏。 • 扩展 ZIP 内版本为 2.16.1,可手动安装。 开发者说明 • 回归覆盖并行测试、工作区持久化,以及保存不同提示词的测试结果。 • 桌面安装包、扩展 ZIP 和 Docker 镜像均由同一版本标签对应的源码构建。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.1/releases/v2.16.1.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.16.0
2026.11.18

English Summary Model selectors now let you adjust reasoning and other supported parameters where you use the model. You can give two tests of the same model different settings and compare their responses on the same input. This release also restores reasoning text in results and refreshes the project documentation. Highlights • Choose a model and adjust its available reasoning settings in the same menu. • Start from the saved model defaults and adjust parameters independently for each workspace or Arena column. • Read reasoning text as it streams and reopen it after the response finishes. Product Updates Desktop • Text and image model selectors show a compact parameter summary and give you access to the selected model's controls. Web • Arena columns can use the same model with different settings. Each column applies its own parameters to the shared test input. • The project homepage and README show updated product screenshots. The documentation homepage gives direct access to setup, workspace selection, and result comparison. Extension • Adjust supported switches, choices, or numeric values in the model menu and use the reset action to return to the saved defaults. Core/Infra • Apply local overrides during text and image requests while retaining compatible settings from the stored configuration. Fixes • Restore the reasoning section in supported workspaces and Arena when the model returns reasoning text. Long lines wrap during streaming and in completed results. • Render bold Markdown correctly when emphasized Chinese text ends in punctuation. Breaking Changes / Upgrade Notes • Existing model configurations continue to supply the defaults for workspaces after upgrading. • The browser extension ZIP uses version 2.16.0. Developer Notes • Parameter tests cover independent settings for the same model, inheritance and reset, and restoring saved text and image selections. • The reasoning browser regression checks the output during generation, after completion, and after reload in the user-prompt workspace and Arena. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/releases/v2.16.0.en.md) 中文 概括 选模型时就可以调整该模型支持的思考强度和其他参数。要比较同一个模型的不同设置,可以用同一道题分别运行并查看结果。本版也恢复了思考内容的显示和换行,并更新了项目文档。 亮点 • 在模型下拉框内选择模型并调整可用的思考设置。 • 各工作区和竞技场测试栏从已保存的模型默认值继承参数,也可以独立调整。 • 生成时即可阅读模型返回的思考内容,生成完成后也能展开查看。 产品更新 Desktop • 文本和图像模型下拉框显示简洁的参数摘要,展开后可调整所选模型支持的设置。 Web • 竞技场中,同一个模型可以使用多组参数测试。各测试栏用自己的设置运行同一份输入。 • 官网和 README 更新了产品截图。文档首页提供接入模型、选择工作区和对比改写效果的直接入口。 Extension • 可在模型菜单调整受支持的开关、选项或数值,也可以用重置操作恢复已保存的默认值。 Core/Infra • 文本和图像请求按当前选择应用独立参数,并继承已保存配置中兼容的参数。 修复 • 模型返回思考内容时,在支持的工作区和竞技场恢复显示。生成中和生成完成后的长行都能自动换行。 • 修复中文标点位于 Markdown 加粗片段末尾时无法正确渲染的问题。 破坏性变更 / 升级说明 • 升级后,已有的模型配置仍作为各工作区的默认值。 • 浏览器扩展 ZIP 版本为 2.16.0。 开发者说明 • 参数测试覆盖同一模型的多组独立设置、参数继承与恢复,以及已保存的文本和图像模型选择。 • 思考内容浏览器回归覆盖用户提示词工作区和竞技场,检查生成中、生成完成以及页面刷新后的显示。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.16.0/releases/v2.16.0.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.15.2
2026.11.10

English Summary This patch restores automatic wrapping and Stop controls for streaming output, updates two security-sensitive dependencies, and includes Garden browsing improvements and optional GPT Image 2.6 GIF output added since v2.15.1. Highlights • Read long streamed responses and source views without horizontal overflow. • Stop an individual text stream in ordinary workspaces and fullscreen views. • Search and browse Garden inspiration and Arena evaluation prompts in place. • Select GIF output for compatible GPT Image 2.6 endpoints while retaining PNG as the default. Product Updates Desktop • Apply the shared output, Garden browsing and image-output improvements. Web • Switch between recommended and all Garden prompts, search the catalog, load additional results and retry failed requests. • Preserve browsing position and loaded results when closing and reopening the popover in the same workspace and language. Extension • Apply the shared output and Garden browsing improvements. Core/Infra • Preserve animated GIF data through image previews, storage and downloads. Compatible endpoints can use optional frame-count and frame-delay parameters. • Pin Vue I18n to 11.4.14 and override transitive Hono Node Server to 2.1.3, including its MCP SDK dependency path. Fixes • Enable CodeMirror line wrapping for streamed and read-only source output, including long paragraphs and URLs. Fixes #374 (https://github.com/linshenkx/prompt-optimizer/issues/374). • Restore the default Stop-button policy through embedded, fullscreen and core output components. Explicitly disabled channels, including non-cancellable Arena channels, remain disabled. • Include the output architecture regressions in the daily browser gate so optimization history, independent cancellation, terminal-state persistence and concurrent rendering are checked continuously. • Improve Garden image cards, source expansion, responsive popover sizing and pagination recovery. • Update Vue I18n and Hono Node Server to the patched releases for GHSA-83rm-6c8r-g728 (https://github.com/advisories/GHSA-83rm-6c8r-g728), GHSA-8rc2-428q-7ww3 (https://github.com/advisories/GHSA-8rc2-428q-7ww3) and GHSA-rmxm-3fg6-px4f (https://github.com/advisories/GHSA-rmxm-3fg6-px4f). Breaking Changes / Upgrade Notes • No breaking changes or backup-format migration. • Garden catalog browsing requires a Garden service with the public catalog endpoint. GIF generation requires an endpoint that supports the requested format and optional animation parameters. • Extension ZIP version is 2.15.2; installation remains manual, without an extension-store submission. • The stable release workflow builds desktop, extension and Docker images from the same tagged commit. Stable Docker aliases are promoted only after the image checks succeed. Developer Notes • Browser coverage includes 1440px and 390px output layouts, streaming and completed source views, long URLs, the final line and exact source copying. • Cancellation unit coverage checks omitted and explicitly disabled settings through both output wrappers. Existing browser regressions retain optimization-history and cancellation assertions. • The release workflow runs repository, core, UI, Web and browser gates before publishing. Simulated CPU throttling and background/freeze tests do not replace acceptance on every native desktop or low-end device. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/releases/v2.15.2.en.md) 中文 概括 本补丁恢复流式输出自动换行和停止按钮,升级两项安全相关依赖,并收录 v2.15.1 之后的 Garden 浏览改进与 GPT Image 2.6 可选 GIF 输出支持。 亮点 • 长段落流式输出和原文视图按面板宽度换行,避免横向溢出。 • 普通工作区及全屏视图恢复单路文本流的停止操作。 • 就地搜索和浏览 Garden 灵感与竞技场测评题。 • 兼容的 GPT Image 2.6 接口可选 GIF 输出,默认仍使用 PNG。 产品更新 Desktop • 应用共用输出、Garden 浏览与图像输出改进。 Web • Garden 支持推荐与全部列表切换、目录搜索、追加加载和失败重试。 • 在同一工作区和语言下关闭后重开弹层,保留浏览位置及已加载内容。 Extension • 应用共用输出与 Garden 浏览改进。 Core/Infra • 在图片预览、存储和下载中保留 GIF 动画数据,兼容接口可使用可选帧数与帧间隔参数。 • 将 Vue I18n 固定为 11.4.14,并将间接依赖 Hono Node Server 统一约束为 2.1.3,覆盖 MCP SDK 的依赖路径。 修复 • 为流式输出及只读原文视图启用 CodeMirror 自动换行,覆盖长段落与长链接。修复 #374 (https://github.com/linshenkx/prompt-optimizer/issues/374)。 • 恢复嵌入、全屏和核心输出组件默认显示停止按钮的行为;显式禁用的通道,包括竞技场不可取消的通道,继续保持禁用。 • 将输出架构回归纳入日常浏览器门禁,持续检查优化历史、独立取消、终态持久化和并发渲染。 • 完善 Garden 图片卡片、原文展开、响应式弹层尺寸及翻页失败恢复。 • 将 Vue I18n 与 Hono Node Server 升级至修补版本,处理 GHSA-83rm-6c8r-g728 (https://github.com/advisories/GHSA-83rm-6c8r-g728)、GHSA-8rc2-428q-7ww3 (https://github.com/advisories/GHSA-8rc2-428q-7ww3) 和 GHSA-rmxm-3fg6-px4f (https://github.com/advisories/GHSA-rmxm-3fg6-px4f)。 破坏性变更 / 升级说明 • 无破坏性变更,无需迁移备份格式。 • Garden 目录浏览需要服务端具备公开目录接口;GIF 生成需要所用接口支持对应格式及可选动画参数。 • 扩展 ZIP 版本为 2.15.2,继续供手动安装,本次不提交扩展商店。 • 正式发布流程从同一标签提交构建桌面、扩展和 Docker 产物,镜像检查通过后才提升稳定镜像别名。 开发者说明 • 浏览器覆盖 1440px 与 390px 输出布局、流式及完成后的原文、长链接、滚动到末行和复制内容一致性。 • 取消功能的单元测试覆盖两个包装组件中未传开关与显式禁用的行为;已有浏览器回归保留优化历史和取消断言。 • 发布流程在公开版本前执行仓库、核心、UI、Web 与浏览器门禁。CPU 降速和后台冻结模拟不代替所有原生桌面及低性能设备的验收。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.2/releases/v2.15.2.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.15.1
2026.11.04

English Summary This patch fixes Function Models selectors collapsing into vertically wrapped text. It also includes the shared HTML/SVG preview fixes and Prompt Garden evaluation-prompt integration already merged after v2.15.0. Highlights • Restore readable Function Models selectors on desktop and narrow screens. • Expand a single HTML/SVG preview in fullscreen and surface preview execution errors. • Open common model-evaluation prompts from Prompt Garden directly in Arena. Product Updates Desktop • Apply the shared selector layout and HTML/SVG preview improvements. Web • Add the evaluation-prompt entry in Arena and support imports from Prompt Garden, including selected example variables and reference images. • Preserve test columns and previous results when importing; imports do not automatically start model requests. Extension • Apply the shared selector and preview improvements, including error reporting from the packaged preview sandbox. Core/Infra • Reuse existing session and preview components for Garden imports and result rendering. Fixes • Give Function Models selectors a stable layout wrapper so scoped width rules reach the intended element; keep placeholder text on one line. • Recognize standalone SVG and SVG code fences, and fit fixed-size SVG graphics to the preview viewport. • Let a single HTML/SVG artifact use the available fullscreen area. • Display errors reported by preview scripts, modules, resources and unhandled promises, with frame and preview-revision checks. Breaking Changes / Upgrade Notes • No breaking changes or backup-format migration. • Extension ZIP version is 2.15.1; installation remains manual, without an extension-store submission. • Desktop uses the stable update channel. Docker publishes 2.15.1 and promotes the verified image to latest in both registries. Developer Notes • Selector validation includes 16 existing component tests, the UI bundle build, lint, and rendered checks at desktop and 390px widths. • Shared preview and Garden import changes passed the existing master CI before this patch release was prepared. • The release workflow runs the existing repository and browser gates, then builds desktop, extension and both multi-architecture images from the same tagged commit before publication. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/releases/v2.15.1.en.md) 中文 概括 本补丁修复功能模型选择框被挤成竖排的问题,同时收录 v2.15.0 之后已合入的共用 HTML/SVG 预览修复与 Prompt Garden 竞技场测评题集成。 亮点 • 恢复桌面与窄屏下功能模型选择框的正常宽度。 • 单个 HTML/SVG 预览充分使用全屏空间,并显示预览执行错误。 • 从 Prompt Garden 快速选用常见模型测评提示词,在竞技场中比较模型表现。 产品更新 Desktop • 应用共用模型选择框布局与 HTML/SVG 预览改进。 Web • 在竞技场增加测评题入口,支持从 Prompt Garden 导入所选示例的变量及参考图片。 • 导入时保留测试栏和已有结果,不自动发起模型请求。 Extension • 应用共用选择框与预览改进,支持显示打包预览页面报告的错误。 Core/Infra • Garden 导入与结果显示沿用已有会话和预览组件。 修复 • 为功能模型选择框提供稳定的布局容器,确保宽度样式生效,并让占位文本保持单行。 • 识别独立 SVG 文档及 SVG 代码块,让固定尺寸图形适应预览区域。 • 让单个 HTML/SVG 内容在全屏时使用可用空间。 • 显示预览脚本、模块、资源及未处理 Promise 报告的错误,并校验消息来源和预览版本。 破坏性变更 / 升级说明 • 无破坏性变更,无需迁移备份格式。 • 扩展 ZIP 版本为 2.15.1,继续供手动安装,本次不提交扩展商店。 • 桌面发布进入稳定更新渠道;Docker 发布 2.15.1,验证后将同一镜像提升为两个仓库的 latest。 开发者说明 • 选择框修复已通过 16 项已有组件测试、UI 构建、代码检查,以及桌面和 390px 窄屏的实际页面检查。 • 共用预览与 Garden 导入变更在准备本补丁版本前已通过 master 上的现有 CI。 • 发布流程执行现有仓库与浏览器门禁,从同一标签提交构建桌面、扩展及双仓库多架构镜像,全部成功后再公开版本。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/releases/v2.15.1.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.15.0
2026.11.03

English Summary This release adds Arena: enter one prompt and optional reference images, then compare responses from text or image models in parallel test columns. Each column selects its own connection and model, supports individual or batch testing, and reuses existing output, session recovery and backup features. Highlights • One input, multiple models: add independent test columns for text or image generation. Run all selected columns together, or test one column individually. • Keep comparisons side by side: desktop columns share the available width, while phones retain two visible columns. Additional columns scroll horizontally, with a visible scrollbar when needed. • Familiar controls: reuse existing input, model selection and result components, including Preview, Source, Copy, reasoning display and fullscreen controls. • Recover your tests: restore inputs, model choices and previous results through existing sessions. Reference and generated images use the shared asset and backup mechanisms. Product Updates Desktop • Add the Arena entry and forward each column's selected connection and model through the existing desktop service bridge. • Capture the selected model configuration for each request without rewriting shared connection settings when switching test models. Web • Add an Arena workspace with the prompt, reference images and shared actions in a compact input area. • Support desktop columns, a two-column phone layout and horizontal scrolling for additional columns, with a direct delete action for each test column. • Continue requests across workspace navigation so results remain available when returning to Arena. Extension • Add the shared Arena entry and test columns to the extension interface. • Reuse existing Preview, Source, Copy, fullscreen and empty-state components. Core/Infra • Add request-local model selection to keep concurrent columns' model choices and outputs independent. • Integrate Arena with Session Manager, backup transfer and image asset maintenance. • Identify text and image generation models with type labels and icons while retaining the shared selector style. Fixes • Organize Arena's input, model actions and results to reduce excess whitespace and fit controls into narrow columns. • Show a scrollbar when columns overflow and bring newly added columns into view. • Unify model menus and result panels across workspaces by removing redundant scope and previous-result copy while retaining save-validity checks. • Isolate retries and late callbacks so a stopped request cannot overwrite a newer result. Breaking Changes / Upgrade Notes • Existing workspaces and backup formats are retained. Important data can be exported with the existing backup tools before upgrading. • Each test column makes its own model request, billed by the selected service. Cancellation follows the underlying service's capabilities. • The extension uses numeric version 2.15.0 without a prerelease display name. Install the ZIP manually, including when moving from the beta to this stable release; this release does not submit an extension-store update. • Docker images use the 2.15.0 tag and promote the verified image to latest in both registries. The desktop release enters the stable update channel. Developer Notes • Arena reuses existing input, model selection, output document and image asset components, with execution state managed by the session layer. • Regression coverage includes concurrent requests, model isolation, retries after cancellation, late callbacks, refresh recovery and image backups. Existing CI also runs workspace and extension browser regressions. • The complete automated gate and platform builds have been verified. Arena-specific end-to-end acceptance on native Electron, physical phones and real image providers remains unverified. • The release workflow builds desktop, extension and matching multi-architecture images for both registries from the same versioned commit, then publishes the stable release after all required tasks succeed. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/releases/v2.15.0.en.md) 中文 概括 本版本新增竞技场:输入一份提示词及可选参考图片,在多个测试栏中并排比较文本或图像模型的回答。每栏独立选择连接和模型,支持单独测试或同时测试,并沿用已有的结果展示、会话恢复和备份功能。 亮点 • 同一输入,多模型对比:自由增加测试栏,分别选择文本或图像生成模型;使用「测试全部」同时发起各栏请求,也可单独运行某一栏。 • 保留并排比较:桌面多栏共享可用宽度,手机保持双栏同屏;更多测试栏可横向滚动,溢出时显示滚动条。 • 熟悉的操作方式:输入、模型选择和结果区复用现有组件,继续使用预览、原文、复制、思考过程和全屏操作。 • 保留测试现场:输入、模型选择和历史结果接入现有会话恢复;参考图片与生成图片沿用已有资产和备份机制。 产品更新 Desktop • 增加竞技场入口,通过现有桌面服务通道传递每栏选定的连接和模型。 • 各栏使用请求发起时的模型配置,切换测试模型不会改写共享连接配置。 Web • 增加竞技场工作区,将提示词、参考图片与公共操作集中到紧凑输入区。 • 支持桌面多栏、手机双栏及更多栏的横向滚动;每栏提供直接删除测试栏的操作。 • 切换工作区后请求继续执行,返回竞技场时可以继续查看结果。 Extension • 在扩展界面中增加共享的竞技场入口和测试栏。 • 沿用现有结果预览、原文、复制、全屏和空态组件。 Core/Infra • 增加请求级模型选择,在并行请求中保持各栏模型与输出相互独立。 • 将竞技场纳入 Session Manager、备份传输和图片资产维护。 • 区分文本与图像生成模型的类型名称和图标,保持共享选择器样式一致。 修复 • 整理竞技场输入区、模型操作与结果区布局,减少多余留白,并让窄栏控件适应可用空间。 • 在有横向溢出时显示滚动条,增加测试栏后将新栏滚动到可见位置。 • 统一各工作区的模型菜单和结果区,移除重复的作用范围及旧结果说明,保留已有保存有效性检查。 • 隔离停止后重试与迟到回调,避免旧请求覆盖新一轮结果。 破坏性变更 / 升级说明 • 本正式版沿用既有工作区和备份格式,升级前可通过现有备份功能导出重要数据。 • 多栏测试会分别向所选模型发起请求,用量由各自的模型服务计费;停止能力沿用底层服务支持情况。 • 扩展数字版本为 2.15.0,正式包不再包含预发布显示名称。ZIP 供手动安装;从 beta 切换到正式版时也请手动安装,本次发布不自动提交到扩展商店。 • Docker 镜像发布 2.15.0 标签,并在验证后同步更新两个仓库的 latest;桌面发布进入稳定更新渠道。 开发者说明 • 竞技场复用现有输入、模型选择、输出文档及图片资产组件,执行状态由会话层维护。 • 回归覆盖并行请求、列间模型隔离、停止后重试、迟到回调、刷新恢复和图片备份;现有 CI 同时执行工作区与扩展浏览器回归。 • 完整自动化门禁与各端构建已验证;原生 Electron、手机实机及真实图像提供商的竞技场专项端到端验收仍未完成。 • 发布流程从同一带版本号的提交生成桌面、扩展及双仓库多架构镜像,并在全部任务成功后公开正式版。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.15.0/releases/v2.15.0.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.14.0
2026.11.02

English Summary This release adds local-service discovery and guided model setup, unifies workspace controls and model selection, and reorganizes data management and cloud backups. It also adds prompt-source hover previews and fixes configuration fields that could not be cleared reliably, category-parent clearing, and delayed hover previews covering the full-prompt dialog. Highlights • Discover local model services: the text model manager identifies supported reachable services and offers a shortcut to the existing connection editor, with provider-specific setup guidance. • Clearer workspace controls: consistent icons, compact source and model selectors, and responsive toolbars make configuration and output actions easier to find. • Inspect the prompt being tested: hover to read a source preview on desktop, or open its full content directly. Source labels and model selection stay tied to the corresponding workspace. • Organized data management: review device storage, export or restore a local file, and manage cloud backups through distinct sections with clearer connection and loading states. Product Updates Desktop • Add controlled local-service probes through the desktop bridge and guided model connection setup. • Preserve explicit field clears across desktop IPC when saving model configurations. • Apply the shared workspace, source-preview and data-management improvements, including saved cloud-backup connection credentials and read-only connection/list operations. Web • Discover supported reachable Ollama, Magpie, CLIProxyAPI, LiteLLM and llama.cpp services. Offer Chrome AI integration where the browser exposes the required capability. • Prefill connection drafts and provide service-specific connection help. Model refresh, credentials, model selection and saving remain explicit user actions. • Deduplicate already configured local addresses and keep model choices isolated between workspaces. • Present device data, local files and cloud backups in a shared responsive data-management interface. Extension • Use the updated workspace controls, model selectors and prompt-source previews in the extension interface. • Keep multiple inline HTML previews independently interactive across preview/source switching and page lifecycle changes. • Refine narrow-screen actions and the shared data-management and backup controls. Core/Infra • Add local-service identification, model-catalog normalization and the Magpie adapter. • Preserve explicit configuration clears through IPC serialization and model-update handling. • Expand regression coverage for local discovery, connection drafts, workspace model isolation, backup workflows and source-preview interactions. Fixes • Save a cleared category parent correctly so a category can be moved back to the root. • Preserve explicitly cleared model configuration fields, including API keys, through the desktop service bridge. • Ignore stale hover callbacks after a source menu closes, Escape cancels a pending preview, or the full-prompt dialog opens. The hover card no longer reopens over the dialog's controls. • Restore clear prompt-source labels, keep workspace model selections independent, and fit compact action labels within available space. • Persist cloud-backup credentials, retain existing lists after a refresh error, and ignore responses superseded by newer connection settings or authorization. • Keep cloud connection checks and directory lookup read-only; creation and restoration remain separate actions. Breaking Changes / Upgrade Notes • Export a backup of important application data before upgrading; the existing backup format and remote directories are retained. • Local discovery does not read or create API keys, automatically import models, or make inference requests. Authenticated services still require the user's own client key. Browser access remains subject to CORS and local-network access rules. • LM Studio and CC Switch do not have automatic discovery shortcuts in this release. Compatible services can still be configured manually through the model editor. • The extension uses version 2.14.0 without a prerelease version_name. Install the ZIP manually; this release does not submit an update to browser extension stores. • Docker images use the 2.14.0 tag and are promoted to latest after both registries pass verification. This release is available through the stable desktop update channel. Developer Notes • Discovery offers connection drafts through the existing model editor and persistence flow, rather than automatically registering services or importing catalogs. • Backup tests cover credential persistence, read-only connections, configuration drafts, import-code ownership and obsolete-response handling. Simulated authorization is not a real-account OAuth acceptance test. • Source-preview regressions include seven workspace modes and rapid source selection followed by opening the full prompt. Packaged-extension tests retain real pointer activation and state assertions, with the embedding frame scrolled into view and the nested button focused first. • The release workflow validates the tag, source identity, application versions and bilingual notes, runs the full test gate, and packages desktop and extension artifacts before publishing matching multi-architecture images to both registries. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/releases/v2.14.0.en.md) 中文 概括 本版本新增本机服务发现与模型连接引导,统一工作区控件和模型选择,整理数据管理及云备份流程。同步增加提示词来源悬浮预览,修复配置字段无法可靠清空、分类父级清空,以及延迟悬浮预览遮挡全文弹窗的问题。 亮点 • 发现本机模型服务:文本模型管理器识别支持且可访问的服务,通过快捷入口打开现有连接编辑器,并提供对应服务的配置引导。 • 更清晰的工作区控件:统一图标、紧凑的来源和模型选择器,以及响应式工具栏,让配置和输出操作更容易找到。 • 查看实际测试的提示词:桌面布局支持悬浮阅读来源内容,也可直接打开全文。来源标签和模型选择与对应工作区保持一致。 • 整理数据管理:通过独立区域查看本机占用、导出或恢复本地文件、管理云端备份,并明确展示连接与加载状态。 产品更新 Desktop • 通过桌面桥接执行受限制的本机服务探测,并提供模型连接引导。 • 保存模型配置时,通过桌面通信正确传递显式清空的字段。 • 接入统一的工作区、来源预览和数据管理调整,包括云备份连接凭据持久化,以及只读连接检查和列表读取。 Web • 发现支持且可访问的 Ollama、Magpie、CLIProxyAPI、LiteLLM 和 llama.cpp 服务;浏览器提供所需能力时,可使用 Chrome AI 入口。 • 预填连接草稿并提供服务配置说明。模型刷新、凭据输入、模型选择和保存仍由用户明确执行。 • 对已经配置的本机地址去重,并保持各工作区的模型选择相互独立。 • 在统一的响应式数据管理界面中展示本机数据、本地文件和云端备份。 Extension • 在扩展界面中使用更新后的工作区控件、模型选择器和提示词来源预览。 • 保持多个就地 HTML 预览在预览/原文切换及页面生命周期变化中的独立交互状态。 • 完善窄屏操作,以及共用的数据管理和备份控件。 Core/Infra • 增加本机服务识别、模型目录转换和 Magpie 适配器。 • 在 IPC 序列化和模型更新处理中保留显式清空的配置值。 • 补充本机发现、连接草稿、工作区模型隔离、备份流程和来源预览交互的回归覆盖。 修复 • 正确保存清空后的分类父级,支持将分类移回顶级。 • 通过桌面服务桥接保留明确清空的模型配置字段,包括 API Key。 • 在来源菜单关闭、Escape 取消待显示预览或打开提示词全文后,忽略过期的悬浮回调,避免预览再次弹出并遮挡弹窗控件。 • 恢复清晰的提示词来源标签,保持工作区模型选择独立,并让紧凑操作标签适应可用空间。 • 持久保存云备份凭据,刷新出错时保留已有列表,并忽略被新连接配置或授权替代的旧响应。 • 云端连接检查和目录查找保持只读,创建备份和恢复数据仍是独立操作。 破坏性变更 / 升级说明 • 升级前建议导出重要应用数据。既有备份格式和远程目录继续沿用。 • 本机发现不会读取或创建 API Key、自动导入模型或发送推理请求。需要授权的服务仍须使用用户自己的客户端密钥,浏览器访问也受跨域和本地网络访问规则约束。 • 本版本未提供 LM Studio 和 CC Switch 的自动发现入口,兼容服务仍可通过模型编辑器手动配置。 • 扩展使用版本 2.14.0,不再设置预发布的 version_name,请手动安装 ZIP;本次发布不会自动向浏览器扩展商店提交更新。 • Docker 镜像使用 2.14.0 标签,两个仓库校验一致后更新 latest。本版本进入桌面稳定更新渠道。 开发者说明 • 服务发现通过现有模型编辑器和持久化流程提供连接草稿,不会自动注册服务或导入模型目录。 • 备份测试覆盖凭据持久化、只读连接、配置草稿、导入码归属和过期响应处理;模拟授权不等于真实账号的 OAuth 授权验收。 • 来源预览回归覆盖七种工作区模式,以及快速选择来源后打开全文的场景。扩展安装包测试继续使用真实鼠标操作和状态断言,先滚动外层预览到可见位置,再聚焦内部按钮。 • 发布流程校验标签、源码身份、各端版本和中英文说明,执行完整测试门禁,在桌面与扩展产物完成后向两个仓库发布一致的多架构镜像。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.14.0/releases/v2.14.0.zh-CN.md) 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 执行同类命令。

虫子樱桃
AI提示词优化器 2.13.0
2026.10.28

English Summary This stable release brings interactive HTML inside Markdown results to Web, Desktop and the browser extension, with a redesigned output pipeline for concurrent generation and large responses. It also improves backup integrity, adds import codes for selected cloud backups, preserves model selections and saved parameters, and refines image-editing and structured-input templates. Highlights • Interactive output in place: use Preview or Source to inspect results. Explicit HTML code blocks and supported HTML content render as isolated web pages alongside the surrounding Markdown. Multiple blocks can remain interactive at the same time. • Interactive extension previews: fix the beta's extension script restriction so generated buttons, forms and canvases work inside results without opening another tab. • Bounded streaming and rendering: generation uses a dedicated output document, virtualized source views and background Markdown parsing. Oversized or expensive content falls back to source. • More reliable backups: validate data and image resources before restoration, protect existing images from eviction, and restore workspace snapshots only after preceding import steps succeed. • Cloud backup import codes: transfer a selected WebDAV, S3-compatible or Cloudflare R2 snapshot using a code, link or QR code when its size permits. Product Updates Desktop • Propagate cancellation from the interface through desktop IPC to model requests. Streaming completion now waits for asynchronous completion work. • Use the shared Preview/Source output interface, inline HTML previews and backup import-code flow. Web • Render multiple HTML examples directly in Markdown results. Switching one result to Source leaves other results' previews intact. • Keep in-progress responses in the source view; executable previews are created after generation completes. • Allow HTML previews to request external data while retaining isolation from the application. Requests remain subject to browser CORS rules and the target service's authorization requirements. Extension • Display and run multiple HTML blocks inside results, including inline scripts, event handlers, external script libraries and modules. • Allow external API requests while preventing preview pages from reading the main application, its storage or extension APIs. Keep the main extension pages' existing content security policy. • Support Preview/Source switching, content replacement and fullscreen viewing. Release preview pages when their corresponding results are removed. Core/Infra • Separate streaming text from reactive workspace snapshots and publish final or interrupted results at explicit completion boundaries. • Apply output-size, rendering and queue budgets, and cancel obsolete parsing work. • Carry cancellation signals through OpenAI-compatible, Anthropic and Gemini streaming adapters. Fixes • Resolve extension content security policy restrictions that blocked preview scripts, and reject forged content updates from preview child pages. • Preview standalone HTML controls such as buttons, and keep output-toolbar actions within narrow mobile comparison columns. • Reject invalid backup sections, conflicting image resources and insufficient image-storage capacity before publishing new references. Report partial restoration and rollback failures explicitly. • Preserve relevant settings and image references across export and import. Keep workspace restoration as the final import step. • Preserve model selections when refreshing lists, including empty responses and fallback lists. Retain saved parameters when provider definitions change while validating edited values against applicable definitions. • Clarify reference-image roles, edit scope and preservation requirements in image templates. Keep structured JSON fields, types, control values and placeholders intact. • Update Zod, body-parser, qs and the build tooling's Undici 6 dependency to patched versions for previously identified security advisories. Breaking Changes / Upgrade Notes • This upgrade changes backup restoration and output processing. Export a backup of important workspaces before upgrading. • Cloud backup import codes contain storage credentials; they are not restricted public sharing links. Give them only to trusted recipients. Google Drive backup import codes are not supported in this release. • HTML scripts run in isolated iframes. Isolation protects the main document and restricts permissions, but does not impose hard CPU or memory quotas on arbitrary generated scripts. WebGPU availability still depends on the browser and device. • Exceeding output or rendering budgets may stop generation or switch to source display. Interrupted and normally completed results remain distinct. • The extension ZIP uses numeric version 2.13.0 without the beta display name. Replace manually installed 2.13.0-beta.1 packages manually. The release workflow does not automatically submit to browser extension stores. • Stable Docker images use 2.13.0 and latest tags. The GitHub Release is published as stable and is available to the desktop stable update channel. • The build-only deepmerge dependency still has an unpatched low-severity advisory; the identified path merges trusted Rollup configuration and is not part of the application runtime. Developer Notes • The output pipeline uses bounded documents, CodeMirror source views, a shared Markdown Worker and isolated iframes. See the output architecture (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/docs/architecture/output-pipeline.md). • The extension uses a manifest-declared sandbox page as its preview host; Web and Desktop retain their existing srcdoc path. • The daily browser gate now builds the real extension, scans for sensitive configuration and loads it with an isolated browser profile. Coverage includes multiple interactive blocks, external resources, permission isolation, source fidelity, concurrent producers and CPU throttling. • CPU throttling is simulated. Extension tests use page freeze/resume and visibility events; these do not constitute complete acceptance on low-end hardware or under native background-tab throttling. • The release workflow validates tags and application versions, runs test gates and packages Desktop and the extension. It publishes the stable Release only after validating multi-architecture Docker images and latest tags in both registries. Installation guide: English (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/mkdocs/docs/zh/deployment/desktop.md) Source release notes (EN) (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/releases/v2.13.0.en.md) 中文 概括 本正式版支持在 Web、桌面和浏览器扩展的 Markdown 结果中直接交互 HTML 网页,并重构输出链路,以应对并发生成和长内容。同步增强备份完整性,新增指定云备份的导入码,修复模型选择与已保存参数的保留问题,完善图片编辑和结构化输入模板。 亮点 • 网页就地交互:统一通过“预览 / 原文”查看结果,显式 HTML 代码块及支持的 HTML 内容会在周围 Markdown 之间显示为独立网页,多个块可同时交互。 • 扩展支持交互预览:修复 beta 中扩展无法运行 HTML 脚本的问题,可直接操作生成的按钮、表单和画布,无需另外打开标签页。 • 限制输出与渲染开销:生成过程使用独立输出文档、虚拟化原文视图和后台 Markdown 解析。内容过大或渲染过重时回退到原文显示。 • 更可靠的备份恢复:恢复前校验数据和图片资源,保护已有图片不被自动淘汰,并在前置导入步骤成功后才恢复工作区快照。 • 云备份导入码:为选定的 WebDAV、S3 兼容或 Cloudflare R2 备份生成导入码、链接,并在长度允许时生成二维码。 产品更新 Desktop • 将取消生成从界面经桌面通信传递到模型请求,流式完成会等待异步收尾操作。 • 接入统一的“预览 / 原文”结果界面、就地 HTML 预览与备份导入码流程。 Web • Markdown 中的多个 HTML 示例直接显示为网页。将某一列切到原文,不会重建其他列的预览。 • 生成期间显示原文,生成完成后才创建可执行的网页预览。 • 允许预览网页请求外部数据,同时保持与主应用隔离;请求仍受浏览器跨域规则和目标接口授权要求约束。 Extension • 在结果中就地显示并运行多个 HTML 块,支持内联脚本、事件处理、外部脚本库和模块。 • 预览页面可请求外部接口,同时无法读取主应用页面、存储或扩展 API;主扩展页面继续使用原有内容安全策略。 • 支持预览与原文切换、内容替换和全屏查看,并在对应结果移除时释放预览页面。 Core/Infra • 将逐片生成的文本与响应式工作区快照解耦,在明确的完成边界统一写入完整或中断结果。 • 对输出大小、渲染量和待处理队列设置预算,并取消过时的解析任务。 • 将取消信号贯穿 OpenAI 兼容、Anthropic 和 Gemini 流式适配器。 修复 • 修复浏览器扩展的内容安全策略拦截预览脚本的问题,并拒绝来自预览子页面的伪造内容更新。 • 支持单独输出的 HTML 按钮等控件进入网页预览,并修复手机窄列对比时工具栏按钮越界的问题。 • 在写入新的业务引用前,拒绝无效备份数据、图片资源冲突和图片存储容量不足的恢复操作;明确报告部分恢复与回滚失败。 • 完善设置和图片引用的导出与恢复,工作区恢复保持为最终导入步骤。 • 刷新模型列表时保留当前选择,包括返回空列表和使用回退列表的情况;模型参数定义更新时保留已保存的参数,并按适用定义校验修改后的值。 • 图片模板更明确地区分参考图作用、编辑范围和需要保留的内容;保留结构化 JSON 的字段、类型、控制值和占位符。 • 将 Zod、body-parser、qs 及构建工具使用的 Undici 6 更新至修补版本,处理此前发现的依赖安全告警。 破坏性变更 / 升级说明 • 升级涉及备份恢复和输出处理,建议先导出重要工作区的备份。 • 云备份导入码包含存储访问凭据,不是权限受限的公开分享链接,请只交给可信的接收者。本版本不支持为 Google Drive 导出备份导入码。 • HTML 脚本在独立 iframe 中运行。隔离可以保护主应用文档并限制权限,但不会为任意生成脚本设置 CPU 或内存硬配额。WebGPU 等能力还取决于浏览器和设备。 • 超出输出或渲染预算时,可能停止生成或改用原文显示;中断结果与正常完成结果会保持区分。 • 扩展 ZIP 使用数字版本 2.13.0,移除 beta 显示名称;从 2.13.0-beta.1 手动安装包升级时,请手动替换扩展包。现有发布流程不自动上传浏览器扩展商店。 • 正式 Docker 镜像使用 2.13.0 和 latest 标签;GitHub Release 按正式版发布,桌面稳定更新渠道可获取本版本。 • 仅供构建使用的 deepmerge 仍有一项上游尚未修补的低危告警;已确认的调用路径用于合并受信任的 Rollup 配置,不进入应用运行时。 开发者说明 • 输出链路使用有容量限制的文档、CodeMirror 原文视图、共享 Markdown Worker 和独立 iframe,设计见输出链路架构 (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/docs/architecture/output-pipeline.md)。 • 扩展通过 manifest 声明的隔离页面承载预览;Web 与桌面继续使用原有 srcdoc 路径。 • 日常浏览器测试增加真实扩展构建、敏感配置扫描和独立浏览器配置下的扩展加载测试,覆盖多块交互、外部资源、权限隔离、原文一致性、并发生成和 CPU 降速。 • CPU 降速属于模拟;扩展测试使用页面冻结/恢复和可见性事件,不等同于低性能硬件或真实后台标签页限速的完整验收。 • 发布流程校验标签和各端版本,执行测试门禁,构建桌面与扩展安装包,并在两个仓库的多架构 Docker 镜像及 latest 标签校验成功后公开正式 Release。 安装文档:English (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/mkdocs/docs/en/deployment/desktop.md) | 中文 (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/mkdocs/docs/zh/deployment/desktop.md) 仓库版本说明(中文) (https://github.com/linshenkx/prompt-optimizer/blob/v2.13.0/releases/v2.13.0.zh-CN.md) 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 执行同类命令。