{"full_name":"linshenkx/prompt-optimizer","owner":"linshenkx","name":"prompt-optimizer","url":"https://github.com/linshenkx/prompt-optimizer","description":"An AI prompt optimizer for writing better prompts and getting better AI results.","homepage":"https://prompt.always200.com","topics":[],"language":"TypeScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/32978552?u=fdb8f944e5c66ae1c3f75d18e52ea05a3153d34e&v=4","created_at":"2025-02-12T06:06:49Z","pushed_at":"2026-11-09T12:27:36Z","metrics":{"stars":41069,"forks":4617,"watchers":129,"issues":236,"prs":111,"releases":61,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":13},"growth":{"day":{"stars":89,"forks":2,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10"],"stars":[40980,41069],"forks":[4615,4617],"watchers":[129,129],"issues_open":[null,null],"prs_open":[null,null]},"boards":{},"same_owner":[],"issues":[{"number":78,"title":"如果能整合spo进行提示词优化就更好了","comments":4,"created_at":"2025-04-03T02:47:28Z"},{"number":254,"title":"大佬有考虑过出一个视频教程么？","comments":2,"created_at":"2026-02-13T16:02:57Z"},{"number":372,"title":"生成图片","comments":1,"created_at":"2026-11-04T07:26:50Z"},{"number":279,"title":"希望开发者可以做一个输入图片，生成图生视频的对应提示词。","comments":1,"created_at":"2026-03-19T02:04:40Z"}],"discussions":[{"number":367,"title":"prompt-optimizer is #1 in Desktop AI apps on Archestack (badge, if you want it)","comments":0,"category":"Show and tell","created_at":"2026-10-21T15:31:00Z"},{"number":323,"title":"胜算云合作邀请：想探讨一下模型接入与生态合作","comments":1,"category":"Ideas","created_at":"2026-07-16T03:55:30Z"},{"number":300,"title":"百炼模型怎么调用","comments":1,"category":"Q&A","created_at":"2026-05-19T08:09:48Z"},{"number":287,"title":"近期在进行优化的时候，高频出现报错。","comments":1,"category":"General","created_at":"2026-04-14T15:26:14Z"},{"number":285,"title":"如何自定义模型","comments":2,"category":"General","created_at":"2026-04-11T13:25:01Z"},{"number":283,"title":"关于软件卡顿问题","comments":1,"category":"General","created_at":"2026-03-24T02:14:39Z"},{"number":243,"title":"是否可以支持vscode插件版本。","comments":0,"category":"Ideas","created_at":"2026-02-03T01:49:26Z"},{"number":216,"title":"桌面版使用前也需要部署一下API嘛","comments":1,"category":"Q&A","created_at":"2025-12-11T01:31:46Z"}],"latest_release":{"name":"v2.15.1","tag":"v2.15.1","published_at":"2026-11-03T14:46:27Z","body":"## English\n\n### Summary\n\nThis 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.\n\n### Highlights\n\n- Restore readable Function Models selectors on desktop and narrow screens.\n- Expand a single HTML/SVG preview in fullscreen and surface preview execution errors.\n- Open common model-evaluation prompts from Prompt Garden directly in Arena.\n\n### Product Updates\n\n#### Desktop\n\n- Apply the shared selector layout and HTML/SVG preview improvements.\n\n#### Web\n\n- Add the evaluation-prompt entry in Arena and support imports from Prompt Garden, including selected example variables and reference images.\n- Preserve test columns and previous results when importing; imports do not automatically start model requests.\n\n#### Extension\n\n- Apply the shared selector and preview improvements, including error reporting from the packaged preview sandbox.\n\n#### Core/Infra\n\n- Reuse existing session and preview components for Garden imports and result rendering.\n\n### Fixes\n\n- Give Function Models selectors a stable layout wrapper so scoped width rules reach the intended element; keep placeholder text on one line.\n- Recognize standalone SVG and SVG code fences, and fit fixed-size SVG graphics to the preview viewport.\n- Let a single HTML/SVG artifact use the available fullscreen area.\n- Display errors reported by preview scripts, modules, resources and unhandled promises, with frame and preview-revision checks.\n\n### Breaking Changes / Upgrade Notes\n\n- No breaking changes or backup-format migration.\n- Extension ZIP version is `2.15.1`; installation remains manual, without an extension-store submission.\n- Desktop uses the stable update channel. Docker publishes `2.15.1` and promotes the verified image to `latest` in both registries.\n\n### Developer Notes\n\n- Selector validation includes 16 existing component tests, the UI bundle build, lint, and rendered checks at desktop and 390px widths.\n- Shared preview and Garden import changes passed the existing master CI before this patch release was prepared.\n- 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.\n\nInstallation 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)\n[Source release notes (EN)](https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/releases/v2.15.1.en.md)\n\n---\n\n## 中文\n\n### 概括\n\n本补丁修复功能模型选择框被挤成竖排的问题，同时收录 v2.15.0 之后已合入的共用 HTML/SVG 预览修复与 Prompt Garden 竞技场测评题集成。\n\n### 亮点\n\n- 恢复桌面与窄屏下功能模型选择框的正常宽度。\n- 单个 HTML/SVG 预览充分使用全屏空间，并显示预览执行错误。\n- 从 Prompt Garden 快速选用常见模型测评提示词，在竞技场中比较模型表现。\n\n### 产品更新\n\n#### Desktop\n\n- 应用共用模型选择框布局与 HTML/SVG 预览改进。\n\n#### Web\n\n- 在竞技场增加测评题入口，支持从 Prompt Garden 导入所选示例的变量及参考图片。\n- 导入时保留测试栏和已有结果，不自动发起模型请求。\n\n#### Extension\n\n- 应用共用选择框与预览改进，支持显示打包预览页面报告的错误。\n\n#### Core/Infra\n\n- Garden 导入与结果显示沿用已有会话和预览组件。\n\n### 修复\n\n- 为功能模型选择框提供稳定的布局容器，确保宽度样式生效，并让占位文本保持单行。\n- 识别独立 SVG 文档及 SVG 代码块，让固定尺寸图形适应预览区域。\n- 让单个 HTML/SVG 内容在全屏时使用可用空间。\n- 显示预览脚本、模块、资源及未处理 Promise 报告的错误，并校验消息来源和预览版本。\n\n### 破坏性变更 / 升级说明\n\n- 无破坏性变更，无需迁移备份格式。\n- 扩展 ZIP 版本为 `2.15.1`，继续供手动安装，本次不提交扩展商店。\n- 桌面发布进入稳定更新渠道；Docker 发布 `2.15.1`，验证后将同一镜像提升为两个仓库的 `latest`。\n\n### 开发者说明\n\n- 选择框修复已通过 16 项已有组件测试、UI 构建、代码检查，以及桌面和 390px 窄屏的实际页面检查。\n- 共用预览与 Garden 导入变更在准备本补丁版本前已通过 master 上的现有 CI。\n- 发布流程执行现有仓库与浏览器门禁，从同一标签提交构建桌面、扩展及双仓库多架构镜像，全部成功后再公开版本。\n\n安装文档：[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)\n[仓库版本说明（中文）](https://github.com/linshenkx/prompt-optimizer/blob/v2.15.1/releases/v2.15.1.zh-CN.md)\n\n---\n\nmacOS note: if macOS reports the app as damaged or cannot verif"},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}