Skip to content

Commit 4de8c09

Browse files
committed
release: cut 0.5.6-beta.1
1 parent 448e4ab commit 4de8c09

55 files changed

Lines changed: 1739 additions & 179 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
## [Unreleased]
22

3+
## [0.5.6-beta.1] - 2026-05-12
4+
5+
### 预览 / Preview
6+
7+
- 🔬 **0.5.6 首个 beta 预览发布**:基于当前 `0.5.6` 变更集合发布首个公开 beta,提前开放 Rules 管理工作台、项目级 Skill 工作区、Quick Add AI 生成、全局 Prompt 标签管理,以及备份 / 导出 / 自托管同步一致性修复,供预览通道验证
8+
- **First `0.5.6` Beta Preview**: This first public beta ships the current `0.5.6` change set early for preview-channel validation, including the Rules workspace, project-scoped Skill workspace, Quick Add AI generation, global Prompt tag management, and the backup / export / self-hosted sync consistency fixes
9+
10+
## [0.5.6] - 2026-05-12
11+
12+
### 新增 / Added
13+
14+
- 🧭 **Rules 集中管理工作台**:桌面端新增完整的 `Rules` 管理能力,统一管理全局规则与手动添加的项目规则;规则正文与历史快照现在保存在 `userData/data/rules/` 托管工作区,支持真实搜索、历史快照只读预览,以及“返回草稿 / 恢复到草稿”操作,并已进入 ZIP 导出、WebDAV、自托管同步与 Web 端导入导出链路
15+
- **Rules Management Workspace**: Desktop now ships a dedicated `Rules` management workspace for both global rules and manually added project rules. Rule content and history snapshots are stored in the managed `userData/data/rules/` workspace, with real search, read-only historical preview, draft restore actions, and inclusion in ZIP export, WebDAV, self-hosted sync, and web import/export flows
16+
- 📁 **项目级 Skill 工作区**:桌面端新增 `Projects` 一级视图,可为本地项目建立独立 Skill 工作区,自动扫描项目根目录、`.claude/skills``.agents/skills``skills``.gemini` 等常见目录,并在项目上下文内预览、导入和分发 Skill
17+
- **Project Skill Workspace v1**: Desktop now adds a top-level `Projects` view for project-scoped Skill workspaces, automatically scanning common project locations such as the repo root, `.claude/skills`, `.agents/skills`, `skills`, and `.gemini`, then letting users preview, import, and distribute Skills within that project context
18+
- 🤖 **Quick Add 支持 AI 直接生成 Prompt**`Quick Add` 现支持双模式,除了分析已有 Prompt,也可以直接根据用户目标与约束让 AI 生成结构化 Prompt 草稿,并从顶部创建菜单直接以 `AI 生成` 模式打开
19+
- **Quick Add Can Now Generate Prompts with AI**: `Quick Add` now supports two modes. In addition to analyzing an existing prompt, it can generate a structured prompt draft directly from the user's goal and constraints, and the top creation menu can open it straight into `AI Generate` mode
20+
- 🏷️ **全局 Prompt 标签管理**:侧栏标签区域新增统一管理入口,可集中搜索、重命名、合并和删除 Prompt 标签,变更会同步更新数据库与 Prompt 工作区文件
21+
- **Global Prompt Tag Management**: The sidebar tag area now exposes a centralized manager for searching, renaming, merging, and deleting Prompt tags, with changes synced to both the database and the Prompt workspace files
22+
- 🔐 **Skill 商店支持 GitHub Token 提升配额**:Skill 设置页新增 GitHub Access Token,可让商店和仓库拉取请求使用认证后的 GitHub 额度,缓解匿名限流导致的导入失败
23+
- **GitHub Token Support for the Skill Store**: Skill settings now include a GitHub Access Token option so store and repository requests can use authenticated GitHub rate limits instead of the anonymous quota, reducing rate-limit-related import failures
24+
25+
### 修复 / Fixed
26+
27+
- ✍️ **卡片详情内联编辑继续扩展**:桌面端卡片详情面板中的用户提示词和系统提示词现在都支持双击进入现有 inline edit 流程,同时保持原有阅读表面,不再强迫用户进入完整编辑弹窗
28+
- **Card Detail Inline Editing Expanded**: In the desktop card detail panel, both the user prompt and system prompt now support double-click entry into the existing inline edit flow while preserving the reading surface, so small edits no longer require opening the full edit modal
29+
- 🪟 **更新对话框闪烁与按钮不可点修复**:后台 `checking` 状态不再覆盖前台已显示的 `available` / `downloaded` 状态,修复检查更新弹窗反复闪烁、下载按钮无法稳定点击的问题
30+
- **Update Dialog Flicker and Disabled Actions Fixed**: Background `checking` events no longer override visible `available` / `downloaded` states, fixing the repeated flicker and unstable download-button behavior in the update dialog
31+
- 🚀 **开机自启最小化启动修复**:桌面端现在会正确遵守 `minimizeOnLaunch`,避免启用开机自启后仍错误弹出主窗口
32+
- **Minimize-on-Launch Auto-Start Fix**: Desktop now honors `minimizeOnLaunch` correctly during auto-start, preventing the main window from showing unexpectedly when launch-at-login is enabled
33+
- ↔️ **三栏布局拖拽与搜索交互补强**:修复 Skills 页面列宽调节、双击重置、标题换行、商店搜索和本地 Skill 搜索中的一组易用性回归,避免搜索把页面强制带进详情页或因路径/slug 规则导致搜索失真
34+
- **Three-Column Resizing and Search UX Hardened**: Fixed a group of usability regressions around resizable Skill columns, double-click reset, title wrapping, store search, and local Skill search, preventing cases where search unexpectedly jumps into a detail view or misses results because of path/slug handling
35+
- 🔁 **同步源收敛与自动同步边界修复**:桌面端现在显式区分当前自动同步来源,只允许一个活动同步源驱动启动同步、定时同步和保存后同步,同时保留其他已启用源用于手动备份/恢复,避免多源同时写入造成冲突
36+
- **Single Active Sync Source Enforcement**: Desktop now tracks a single explicit automatic sync source for startup, scheduled, and save-triggered sync, while keeping other enabled providers available for manual backup/restore, avoiding multi-provider conflicts and duplicate uploads
37+
- 💾 **备份 / 导出 / 规则工作区链路一致性修复**:Rules、Skill 附加文件和托管副本现统一进入桌面 ZIP 导出、WebDAV、自托管同步与 Web 端导入导出链路,恢复时也会正确回写托管副本与真实目标文件
38+
- **Backup / Export / Rules Workspace Consistency Fixes**: Rules, Skill extra files, and managed copies now travel consistently through desktop ZIP export, WebDAV, self-hosted sync, and web import/export flows, and restores correctly write back both managed copies and real target files
39+
- 🧠 **Prompt 创建流与 AI 测试边界修复**`CreatePromptModal` 首屏改为更聚焦的 create-only 写作流,`AiTestModal` 重新收敛文本/绘图 Prompt 的测试模式边界,并恢复多模态聊天测试的图片附件入口
40+
- **Prompt Creation and AI Test Boundary Fixes**: `CreatePromptModal` now uses a more focused create-only writing flow, `AiTestModal` tightens the mode boundary between text and image prompts, and multimodal chat prompt testing restores real image attachments
41+
- 🖼️ **Web 登录验证码改为图形验证码**:自托管 Web 的登录与初始化流程改为一次性图形验证码,修复原文本 challenge 过于脆弱的问题;登录页说明文案也已与 setup 场景分离
42+
- **Web Login Captcha Upgraded to Image Challenges**: The self-hosted web login and bootstrap flows now use one-time image captcha challenges instead of the older plain-text challenge, and the login-page explanatory copy is now separated from the setup flow
43+
44+
### 维护 / Maintenance
45+
46+
- 🧪 **桌面端全量单测回归加固**:补齐 `UpdateDialog`、Rules 工作台、Skill 文件编辑器、Skill 设置和 CLI 打包入口的回归覆盖,修复全量 unit suite 暴露的状态重置、契约漂移和测试环境 timer 污染问题
47+
- **Desktop Full-Suite Regression Hardening**: Expanded regression coverage for `UpdateDialog`, the Rules workspace, the Skill file editor, Skill settings, and the CLI packaging entry, fixing state-reset bugs, contract drift, and fake-timer leakage exposed by the full desktop unit suite
48+
- 🧾 **GitHub Issue 快照与版本标签流程补强**:仓库内部 `spec/issues/` 现在会维护 open/closed issue 快照,同时 issue form 会自动同步单个 `version: x.y.z` 标签,减少 triage 成本
49+
- **GitHub Issue Snapshots and Version Label Automation**: Internal `spec/issues/` now tracks open/closed issue snapshots, and the issue forms automatically synchronize a single `version: x.y.z` label to reduce triage overhead
50+
351
## [0.5.5] - 2026-05-05
452

553
### 新增 / Added

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![GitHub Forks](https://img.shields.io/github/forks/legeling/PromptHub?style=for-the-badge&logo=github)](https://github.com/legeling/PromptHub/network/members)
1515
[![Downloads](https://img.shields.io/github/downloads/legeling/PromptHub/total?style=for-the-badge&logo=github&color=blue)](https://github.com/legeling/PromptHub/releases)
1616

17-
[![Version](https://img.shields.io/badge/stable-v0.5.5-success?style=for-the-badge)](https://github.com/legeling/PromptHub/releases)
17+
[![Version](https://img.shields.io/badge/preview-v0.5.6--beta.1-8B5CF6?style=for-the-badge)](https://github.com/legeling/PromptHub/releases)
1818
[![License](https://img.shields.io/badge/license-AGPL--3.0-blue?style=for-the-badge)](./LICENSE)
1919
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=for-the-badge)](https://github.com/legeling/PromptHub/pulls)
2020

@@ -185,13 +185,13 @@
185185

186186
### 下载
187187

188-
[Releases](https://github.com/legeling/PromptHub/releases) 下载最新版本 `v0.5.5`
188+
[Releases](https://github.com/legeling/PromptHub/releases) 下载最新预览版本 `v0.5.6-beta.1`
189189

190190
| 平台 | 下载 |
191191
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
192-
| Windows | [![Windows x64](https://img.shields.io/badge/Windows_x64-0078D6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/legeling/PromptHub/releases/latest/download/PromptHub-Setup-0.5.5-x64.exe) [![Windows arm64](https://img.shields.io/badge/Windows_arm64-0078D6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/legeling/PromptHub/releases/latest/download/PromptHub-Setup-0.5.5-arm64.exe) |
193-
| macOS | [![macOS Apple Silicon](https://img.shields.io/badge/macOS_Apple_Silicon-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/legeling/PromptHub/releases/latest/download/PromptHub-0.5.5-arm64.dmg) [![macOS Intel](https://img.shields.io/badge/macOS_Intel-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/legeling/PromptHub/releases/latest/download/PromptHub-0.5.5-x64.dmg) |
194-
| Linux | [![Linux AppImage](https://img.shields.io/badge/Linux_AppImage-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/legeling/PromptHub/releases/latest/download/PromptHub-0.5.5-x64.AppImage) [![Linux deb](https://img.shields.io/badge/Linux_deb-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/legeling/PromptHub/releases/latest/download/prompthub_0.5.5_amd64.deb) |
192+
| Windows | [![Windows x64](https://img.shields.io/badge/Windows_x64-0078D6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/PromptHub-Setup-0.5.6-beta.1-x64.exe) [![Windows arm64](https://img.shields.io/badge/Windows_arm64-0078D6?style=for-the-badge&logo=windows&logoColor=white)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/PromptHub-Setup-0.5.6-beta.1-arm64.exe) |
193+
| macOS | [![macOS Apple Silicon](https://img.shields.io/badge/macOS_Apple_Silicon-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/PromptHub-0.5.6-beta.1-arm64.dmg) [![macOS Intel](https://img.shields.io/badge/macOS_Intel-000000?style=for-the-badge&logo=apple&logoColor=white)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/PromptHub-0.5.6-beta.1-x64.dmg) |
194+
| Linux | [![Linux AppImage](https://img.shields.io/badge/Linux_AppImage-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/PromptHub-0.5.6-beta.1-x64.AppImage) [![Linux deb](https://img.shields.io/badge/Linux_deb-FCC624?style=for-the-badge&logo=linux&logoColor=black)](https://github.com/legeling/PromptHub/releases/download/v0.5.6-beta.1/prompthub_0.5.6-beta.1_amd64.deb) |
195195
| 预览通道 | [![Preview Prereleases](https://img.shields.io/badge/Preview_Prereleases-8B5CF6?style=for-the-badge&logo=github&logoColor=white)](https://github.com/legeling/PromptHub/releases?q=prerelease%3Atrue) |
196196

197197
> 💡 **安装建议**

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prompthub/desktop",
3-
"version": "0.5.5",
3+
"version": "0.5.6-beta.1",
44
"private": true,
55
"description": "PromptHub Desktop - Electron application for AI prompt management",
66
"main": "out/main/index.js",

apps/desktop/src/main/ipc/prompt.ipc.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,23 @@ export function registerPromptIPC(db: PromptDB, folderDb: FolderDB, rawDb: Datab
6868
// Get all Prompts
6969
// 获取所有 Prompt
7070
ipcMain.handle(IPC_CHANNELS.PROMPT_GET_ALL, async () => {
71-
logger.debug('Handling PROMPT_GET_ALL');
72-
return promptDB.getAll();
71+
return db.getAll();
7372
});
7473

7574
ipcMain.handle(IPC_CHANNELS.PROMPT_GET_ALL_TAGS, async () => {
76-
logger.debug('Handling PROMPT_GET_ALL_TAGS');
77-
return promptDB.getAllTags();
75+
return db.getAllTags();
7876
});
7977

8078
ipcMain.handle(IPC_CHANNELS.PROMPT_RENAME_TAG, async (_, oldTag: string, newTag: string) => {
81-
logger.info('Handling PROMPT_RENAME_TAG', { oldTag, newTag });
82-
promptDB.renameTag(oldTag, newTag);
79+
db.renameTag(oldTag, newTag);
80+
syncWorkspace();
81+
return true;
8382
});
8483

8584
ipcMain.handle(IPC_CHANNELS.PROMPT_DELETE_TAG, async (_, tag: string) => {
86-
logger.info('Handling PROMPT_DELETE_TAG', { tag });
87-
promptDB.deleteTag(tag);
85+
db.deleteTag(tag);
86+
syncWorkspace();
87+
return true;
8888
});
8989

9090
ipcMain.handle(IPC_CHANNELS.PROMPT_UPDATE, async (_, id: string, data: UpdatePromptDTO) => {

0 commit comments

Comments
 (0)