108 Commits

Author SHA1 Message Date
linshen
b8de75b46c build(release): prepare v2.10.3 2026-05-06 23:39:49 +08:00
linshen
d2d48fb328 build(release): prepare v2.10.2 2026-05-05 21:35:00 +08:00
linshen
13c903df45 build(release): bump version to 2.10.1 2026-05-04 21:29:45 +08:00
linshen
e40fc249ff build(release): prepare v2.10.0 2026-05-03 14:42:38 +08:00
linshen
61f4fe4af2 fix(desktop): register preference IPC handlers
Register the desktop preference IPC bridge, add coverage for preload/main handler parity, and keep the favorite preview extension host props aligned.
2026-05-03 13:15:19 +08:00
linshen
2e30e6d3eb build(release): bump version to 2.9.6 2026-04-27 22:08:37 +08:00
linshen
d1afce54bf build(release): bump version to 2.9.5 2026-04-24 23:30:56 +08:00
linshen
5141066e31 build(release): bump version to 2.9.4 2026-04-20 22:46:13 +08:00
linshen
4ea07d629d build: prepare v2.9.3 release 2026-04-09 23:16:42 +08:00
linshen
54fbd76685 fix(i18n): restore locale defaults and localized feedback
- restore locale bootstrap defaults across UI and MCP startup paths
- localize template, context editor, favorites, Prompt Garden, and history feedback toasts
- isolate UI consumer typechecks needed by the localization rollout
- add regression tests covering english-first runtime behavior and localized fallbacks
2026-04-09 22:17:34 +08:00
linshen
bb7af28d3d fix(repo): harden english-first checks and MCP packaging
- strengthen locale parity checks and related regression coverage
- stabilize repo-level english-first test expectations
- harden MCP packaging, install entrypoints, and supporting script validation
- tighten related config and model checks used by the rollout
2026-04-09 20:31:52 +08:00
linshen
c75afa89e9 feat(i18n): establish english-first locale baseline
- split UI locale packs into en-US, zh-CN, and zh-TW modules
- switch runtime defaults, docs, and repository guidance toward an English-first baseline
- update core, MCP, and UI runtime copy to remove hardcoded Chinese fallbacks
- add locale parity and no-hardcoded-runtime guardrails across the repo
2026-04-08 20:18:27 +08:00
linshen
1dffb2d2d5 build(release): prepare v2.9.2 2026-04-06 23:28:19 +08:00
linshen
5d1f65a7a9 build(release): prepare v2.9.1 2026-04-06 23:12:19 +08:00
linshen
6a2813c4b6 build(release): prepare v2.9.0 2026-04-06 19:42:51 +08:00
linshen
8cf43a3e3d test(e2e): streamline gated suites and replay stability 2026-04-06 14:13:29 +08:00
linshen
bd546ebe0f build(release): add repo-driven bilingual release notes 2026-04-05 08:24:26 +08:00
linshen
e380e1ce9b chore(release): bump version to 2.8.0 2026-04-02 23:58:35 +08:00
linshen
520ae2be99 build(deps): align toolchain peers and replace npm-run-all
- align TypeScript with the current eslint peer range across packages
- replace npm-run-all with a local run-many script and test coverage
- tighten remaining mcp-server typing so the package lint stays clean
- update the lockfile after removing redundant root-level tooling deps
2026-03-27 22:18:57 +08:00
linshen
37d6fa564c build(deps): prune redundant deps and fix ui type outputs
- remove redundant direct dependencies that are no longer used
- restore UI library type build outputs after the dependency cleanup
- keep Tailwind/PostCSS-related package config aligned with actual usage
2026-03-27 21:26:43 +08:00
linshen
e69086f075 build(deps): refresh workspace dependency baselines
- refresh direct dependency baselines across workspace packages
- require Node 22 consistently in docs, Docker, and package engines
- update lint/build tooling configs to match the new workspace baseline
- keep package manifests and lockfile aligned after the dependency refresh
2026-03-27 20:41:18 +08:00
linshen
1a307fa0c7 chore(repo): remove bmad and local ai tool artifacts 2026-03-26 20:47:18 +08:00
linshen
0be61fe9e2 chore(release): bump version to 2.7.0 2026-03-25 23:08:57 +08:00
linshen
414ec28d7e feat(evaluation): migrate compare rewrite protocol and add calibration artifacts 2026-03-22 14:28:53 +08:00
linshen
4b0e4c4a8d fix(release): stop desktop builds from auto-publishing releases 2026-03-22 17:14:27 +08:00
linshen
31b847d24c chore(version): bump release to 2.6.3 2026-03-22 15:28:33 +08:00
linshen
d47f399c5d chore(version): bump release to 2.6.2 2026-03-18 09:35:44 +08:00
linshen
df7b7e7287 build(version): bump version to 2.6.1 2026-03-12 22:51:09 +08:00
linshen
0dd179293f chore(release): v2.6.0 2026-03-09 21:47:00 +08:00
linshen
6cee00c0a8 chore(release): bump version to 2.5.5 2026-03-01 21:58:06 +08:00
linshen
aef1f1425b chore(release): bump version to 2.5.4 2026-02-10 18:08:48 +08:00
linshen
290e99f910 chore(release): bump version to 2.5.3 2026-02-04 22:12:48 +08:00
linshen
0b094a07f3 chore(release): 更新版本号到 2.5.2 2026-02-01 11:58:30 +08:00
linshen
138ed49672 chore(release): 更新版本号到 2.5.1
- 更新主包版本号从 2.5.0 到 2.5.1
- 更新桌面应用包版本号从 2.5.0 到 2.5.1
- 更新浏览器扩展版本号从 2.5.0 到 2.5.1
2026-01-31 17:54:43 +08:00
linshen
4575ee1712 fix(test): build core before ui gate tests
Ensure @prompt-optimizer/core dist exists so Vitest/Vite can resolve workspace imports in a fresh CI checkout.
2026-01-21 23:57:19 +08:00
linshen
50ba9ab011 chore: bump version to 2.5.0
Sync version across root package, desktop app, and browser extension manifest.
2026-01-21 23:29:08 +08:00
linshen
90f23b6e0a test(e2e): 补全文生图/图生图对比生成并稳定回放
- 增加 SiliconFlow 文生图与图生图用例并启用对比生成\n- 完善 VCR 回放(含非 SSE 响应)并修复输出选择器\n- 图生图跳过易抖动模板下拉、等待上传弹窗关闭;e2e 脚本改用 cross-env 兼容 Windows
2026-01-15 22:43:00 +08:00
linshen
8467b96263 feat(test): 实现智能测试系统并改进测试策略
- 实现智能测试系统,统一测试入口
- 完成 Pro 路由重构和 Image 模式评估测试
- 为 Image 模式添加 data-testid 支持
- 完善 E2E 测试并修复选择器策略
- 优化 Seedream、OpenAI 和 SiliconFlow 适配器
- 移除调试日志,保留错误和警告日志
- 重命名 Pro 模式子模式(system/user → multi/variable)
- 清理测试代码并改进稳定性
2026-01-10 11:23:00 +08:00
linshen
63ab9e66cd feat(test): 建立完整的测试基础设施和集成测试
- 建立 VCR 测试基础设施,支持 LLM API 回放
- 添加错误门禁和冒烟测试
- 添加 LLM 服务集成测试(P0)
- 记录测试进展并更新任务计划
2026-01-03 21:08:00 +08:00
linshen
3f7e097d7c release: bump version to 2.4.0
- 更新 desktop 包版本号
- 更新 extension 包版本号
- 更新根包版本号
2025-12-29 21:23:00 +08:00
linshen
e8da12bd09 chore: 更新项目版本号至2.3.1
- 将主包版本从2.3.0更新到2.3.1
- 更新desktop包版本从2.3.0到2.3.1
- 更新extension包版本从2.3.0到2.3.1
2025-12-19 11:30:14 +08:00
linshen
1eb2c78400 chore(release): 发布版本 2.3.0
- 更新桌面应用程序版本号至 2.3.0
- 更新浏览器扩展版本号至 2.3.0
- 更新根项目版本号至 2.3.0
2025-12-07 16:07:12 +08:00
linshen
fe961eb4f5 fix(deps): 修复多个安全漏洞
升级直接依赖:
- @google/genai: 1.19.0 → 1.32.0 (修复 jws HMAC 签名验证漏洞)
- vite: 6.x → 7.2.7 (修复 3 个安全漏洞)
- electron: 37.1.0 → 39.2.6 (修复 ASAR 完整性绕过)
- electron-builder: 24.13.3 → 26.0.12
- electron-builder-squirrel-windows: 新增 26.0.12
- electron-updater: 6.3.9 → 6.6.2
- vue-i18n: 10.0.6 → 11.2.2 (修复 XSS 漏洞)
- @modelcontextprotocol/sdk: 1.16.0 → 1.24.3 (修复 DNS 重绑定)
- element-plus: 2.10.2 → 2.12.0 (修复 el-link href 验证)
- @typescript-eslint/*: 6.21.0 → 8.49.0 (支持 TypeScript 5.8.3)

自动修复的传递依赖:
- jws: 4.0.1, form-data: 4.0.5, tmp: 0.2.5
- body-parser: 2.2.1, @eslint/plugin-kit: 0.3.5

其他:
- 修复 lint 错误 (未使用的 catch 变量添加 _ 前缀)
2025-12-07 15:59:24 +08:00
linshen
af11ed2456 chore: 更新项目版本号至2.2.2
- 将主包版本从2.2.1更新到2.2.2
- 更新桌面应用包版本从2.2.1到2.2.2
- 更新浏览器扩展包版本从2.2.1到2.2.2
2025-11-23 20:57:02 +08:00
linshen
b8cf182154 chore(dev): 添加开发进程自动清理脚本
- 新增 kill:dev 脚本用于清理占用 18181 端口的进程
- 在 dev:fresh 和 dev:desktop:fresh 前自动执行清理
- 支持跨平台(Windows/Linux/macOS)
- 双轮清理策略确保进程完全退出
2025-11-16 13:25:09 +08:00
linshen
17cbb7dd95 chore: 更新项目版本号至2.2.1
- 将主项目 package.json 版本从2.2.0 更新至2.2.1
- 将桌面应用 package.json 版本从 2.2.0 更新至 2.2.1
- manifest 将浏览器扩展.json 版本从 2.2.0 更新至 2.2.1
2025-10-31 22:53:45 +08:00
linshen
ef8d77690c chore: 升级项目版本至2.2.0
- 更新主包版本号从2.1.0到2.2.0
- 更新桌面应用包版本号从2.1.0到2.2.0
- 更新浏览器扩展包版本号从2.1.0到2.2.0
2025-10-30 23:10:34 +08:00
linshen
68540b244d feat: 将项目协议从 MIT/ISC 迁移到 AGPL-3.0
- 替换 LICENSE 文件为 AGPL-3.0 完整协议文本
- 更新所有 package.json 的 license 字段为 AGPL-3.0-only
- 更新 README 文件协议说明,采用简洁易懂的描述方式
- 为关键入口文件添加 AGPL-3.0 标准协议头部注释
- 明确说明 AGPL-3.0 允许商业使用但要求网络服务开源

BREAKING CHANGE: 协议从宽松的 MIT/ISC 变更为强 Copyleft 的 AGPL-3.0
2025-10-30 22:41:45 +08:00
linshen
e8982602d4 chore(release): 发布新版本2.1.0
- 更新桌面应用程序版本号
- 更新浏览器扩展版本号- 更新根项目版本号
2025-10-19 14:55:26 +08:00
linshen
a3dc3285d0 feat: 完成收藏管理重构
- 🏗️ 实现三层分类体系:functionMode、optimizationMode、category
- 🏷️ 构建独立标签库系统,支持标签全生命周期管理
- 📁 增强分类管理,支持排序、使用统计、删除保护
- 🎨 重构UI组件:SaveFavoriteDialog、TagManager、CategoryManager
- 🔄 实现向后兼容的数据迁移机制
- 🧪 添加全面测试覆盖:754+测试,100%通过
- 📝 完善文档:CHANGELOG + 用户指南

Breaking Changes:
- 移除 isPublic 字段
- FavoritePrompt 接口变更(functionMode必填,metadata重组)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 14:50:56 +08:00