Skip to content

Commit 4886b39

Browse files
chore: release version 2.2.1 (#560)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 667ef7d commit 4886b39

17 files changed

Lines changed: 465 additions & 102 deletions

File tree

.changeset/new-glasses-brake.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

apps/cli/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @promptx/cli
22

3+
## 2.2.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`667ef7d`](https://github.com/Deepractice/PromptX/commit/667ef7dce149c0bada64c4934a5ed2711f2adc65)]:
8+
- @promptx/mcp-server@2.2.1
9+
- @promptx/core@2.2.1
10+
- @promptx/logger@2.2.1
11+
312
## 2.2.0
413

514
### Patch Changes

apps/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@promptx/cli",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "PromptX CLI - Command-line interface for the DPML-powered AI prompt framework",
55
"type": "module",
66
"files": [

apps/desktop/CHANGELOG.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,117 @@
11
# @promptx/$(basename $pkg)
22

3+
## 2.2.1
4+
5+
### Patch Changes
6+
7+
- [#559](https://github.com/Deepractice/PromptX/pull/559) [`667ef7d`](https://github.com/Deepractice/PromptX/commit/667ef7dce149c0bada64c4934a5ed2711f2adc65) Thanks [@dfwgj](https://github.com/dfwgj)! - # v2.2.1 版本更新
8+
9+
## 🎉 RoleX V2 完整认知循环支持
10+
11+
### 核心操作
12+
13+
- **want** - 制定产品目标(如:发布新功能、优化用户体验)
14+
- **plan** - 为目标制定执行计划(⚠️ 必须传入 id 参数)
15+
- **todo** - 创建具体任务
16+
- **finish** - 完成任务
17+
- **achieve** - 达成目标,沉淀经验
18+
- **focus** - 查看当前进行中的工作
19+
- **abandon** - 放弃目标/任务
20+
21+
### 自我沉淀(学习循环)
22+
23+
- **reflect** - 反思遇到的问题,创建经验
24+
- **realize** - 总结领悟的原则
25+
- **master** - 沉淀为标准操作流程(SOP)
26+
- **synthesize** - 向其他角色传授知识
27+
- **forget** - 遗忘过时的知识
28+
29+
## 🔧 修复与改进
30+
31+
### RoleX V2 核心修复
32+
33+
- 修复 plan 操作未传递 id 参数导致 todo 操作失败的问题
34+
- 修复 "No focused plan" 错误
35+
- 更新 RolexBridge 和 RolexActionDispatcher 正确传递所有参数
36+
- 添加关键警告:plan 操作必须传入 id 参数
37+
38+
### 大禹迁移功能修复
39+
40+
- 更新大禹迁移文档适配 RoleX 1.3.0 数据库存储模式
41+
- 移除过时的 "born → activate → synthesize" 流程
42+
- 更新为正确模式:synthesize 直接传入 targetRole 参数
43+
- 添加职位命名规范:"角色名+岗位"格式(如"产品经理岗位")
44+
- 说明 appoint 的 position 参数必须与 establish 的 name 完全一致
45+
46+
### 记忆工具优化
47+
48+
- remember/recall 工具检测到 V2 角色时提供清晰引导
49+
- 引导 V2 角色使用 action 工具的认知循环操作
50+
- 提供完整的示例代码和操作说明
51+
52+
### AgentX 用户体验
53+
54+
- 添加两个 V2 专属预设问题:
55+
- "激活大禹帮我把 v1 迁移到 v2"
56+
- "查看我现在的组织架构"
57+
- 预设问题仅在系统设置开启 V2 时显示
58+
- 优化布局:V2 关闭时 2 列,V2 开启时 3 列
59+
60+
### 通知系统
61+
62+
- 添加 v2.2.1 版本更新通知
63+
- 修复通知服务自动合并新通知的问题
64+
- 新通知现在会自动出现在通知列表中
65+
66+
## 📝 文档更新
67+
68+
### MCP 工具描述
69+
70+
- 更新 action 工具描述,添加完整的 V2 学习循环示例
71+
- 添加职位命名规范和组织操作示例
72+
- 强调 plan 操作的 id 参数要求
73+
74+
### 大禹角色文档
75+
76+
- migration-workflow.execution.md - 更新迁移工作流
77+
- rolex-api.knowledge.md - 更新 API 速查表
78+
- 添加实际迁移经验和最佳实践
79+
80+
## 🌐 国际化
81+
82+
- 添加中英文通知文本
83+
- 添加 AgentX 预设问题的中英文翻译
84+
85+
## ⚠️ 重要提示
86+
87+
### plan 操作关键要点
88+
89+
plan 操作如果不传入 id 参数,focused_plan_id 不会被设置,导致后续 todo 操作失败并报错 "No focused plan. Call plan first."
90+
91+
**错误示例:**
92+
93+
```json
94+
{ "operation": "plan", "role": "_", "source": "..." }
95+
```
96+
97+
**正确示例:**
98+
99+
```json
100+
{ "operation": "plan", "role": "_", "source": "...", "id": "my-plan" }
101+
```
102+
103+
### 职位命名规范
104+
105+
- establish 创建职位时,name 必须是"角色名+岗位"格式(如"产品经理岗位")
106+
- appoint 任命时,position 参数必须与 establish 的 name 完全一致
107+
- 验证方式:用 directory 检查 members 列表,而不是只看命令返回值
108+
109+
- Updated dependencies [[`667ef7d`](https://github.com/Deepractice/PromptX/commit/667ef7dce149c0bada64c4934a5ed2711f2adc65)]:
110+
- @promptx/mcp-server@2.2.1
111+
- @promptx/core@2.2.1
112+
- @promptx/config@2.2.1
113+
- @promptx/mcp-office@2.2.1
114+
3115
## 2.2.0
4116

5117
### Minor Changes

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": "@promptx/desktop",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "PromptX Desktop - Local AI prompt management application",
55
"author": {
66
"name": "Deepractice",

packages/config/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @promptx/config Changelog
22

3+
## 2.2.1
4+
35
## 2.2.0
46

57
## 2.1.1

packages/config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@promptx/config",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Configuration management for PromptX",
55
"type": "module",
66
"main": "./dist/index.js",

packages/core/CHANGELOG.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,115 @@
11
# @promptx/$(basename $pkg)
22

3+
## 2.2.1
4+
5+
### Patch Changes
6+
7+
- [#559](https://github.com/Deepractice/PromptX/pull/559) [`667ef7d`](https://github.com/Deepractice/PromptX/commit/667ef7dce149c0bada64c4934a5ed2711f2adc65) Thanks [@dfwgj](https://github.com/dfwgj)! - # v2.2.1 版本更新
8+
9+
## 🎉 RoleX V2 完整认知循环支持
10+
11+
### 核心操作
12+
13+
- **want** - 制定产品目标(如:发布新功能、优化用户体验)
14+
- **plan** - 为目标制定执行计划(⚠️ 必须传入 id 参数)
15+
- **todo** - 创建具体任务
16+
- **finish** - 完成任务
17+
- **achieve** - 达成目标,沉淀经验
18+
- **focus** - 查看当前进行中的工作
19+
- **abandon** - 放弃目标/任务
20+
21+
### 自我沉淀(学习循环)
22+
23+
- **reflect** - 反思遇到的问题,创建经验
24+
- **realize** - 总结领悟的原则
25+
- **master** - 沉淀为标准操作流程(SOP)
26+
- **synthesize** - 向其他角色传授知识
27+
- **forget** - 遗忘过时的知识
28+
29+
## 🔧 修复与改进
30+
31+
### RoleX V2 核心修复
32+
33+
- 修复 plan 操作未传递 id 参数导致 todo 操作失败的问题
34+
- 修复 "No focused plan" 错误
35+
- 更新 RolexBridge 和 RolexActionDispatcher 正确传递所有参数
36+
- 添加关键警告:plan 操作必须传入 id 参数
37+
38+
### 大禹迁移功能修复
39+
40+
- 更新大禹迁移文档适配 RoleX 1.3.0 数据库存储模式
41+
- 移除过时的 "born → activate → synthesize" 流程
42+
- 更新为正确模式:synthesize 直接传入 targetRole 参数
43+
- 添加职位命名规范:"角色名+岗位"格式(如"产品经理岗位")
44+
- 说明 appoint 的 position 参数必须与 establish 的 name 完全一致
45+
46+
### 记忆工具优化
47+
48+
- remember/recall 工具检测到 V2 角色时提供清晰引导
49+
- 引导 V2 角色使用 action 工具的认知循环操作
50+
- 提供完整的示例代码和操作说明
51+
52+
### AgentX 用户体验
53+
54+
- 添加两个 V2 专属预设问题:
55+
- "激活大禹帮我把 v1 迁移到 v2"
56+
- "查看我现在的组织架构"
57+
- 预设问题仅在系统设置开启 V2 时显示
58+
- 优化布局:V2 关闭时 2 列,V2 开启时 3 列
59+
60+
### 通知系统
61+
62+
- 添加 v2.2.1 版本更新通知
63+
- 修复通知服务自动合并新通知的问题
64+
- 新通知现在会自动出现在通知列表中
65+
66+
## 📝 文档更新
67+
68+
### MCP 工具描述
69+
70+
- 更新 action 工具描述,添加完整的 V2 学习循环示例
71+
- 添加职位命名规范和组织操作示例
72+
- 强调 plan 操作的 id 参数要求
73+
74+
### 大禹角色文档
75+
76+
- migration-workflow.execution.md - 更新迁移工作流
77+
- rolex-api.knowledge.md - 更新 API 速查表
78+
- 添加实际迁移经验和最佳实践
79+
80+
## 🌐 国际化
81+
82+
- 添加中英文通知文本
83+
- 添加 AgentX 预设问题的中英文翻译
84+
85+
## ⚠️ 重要提示
86+
87+
### plan 操作关键要点
88+
89+
plan 操作如果不传入 id 参数,focused_plan_id 不会被设置,导致后续 todo 操作失败并报错 "No focused plan. Call plan first."
90+
91+
**错误示例:**
92+
93+
```json
94+
{ "operation": "plan", "role": "_", "source": "..." }
95+
```
96+
97+
**正确示例:**
98+
99+
```json
100+
{ "operation": "plan", "role": "_", "source": "...", "id": "my-plan" }
101+
```
102+
103+
### 职位命名规范
104+
105+
- establish 创建职位时,name 必须是"角色名+岗位"格式(如"产品经理岗位")
106+
- appoint 任命时,position 参数必须与 establish 的 name 完全一致
107+
- 验证方式:用 directory 检查 members 列表,而不是只看命令返回值
108+
109+
- Updated dependencies [[`667ef7d`](https://github.com/Deepractice/PromptX/commit/667ef7dce149c0bada64c4934a5ed2711f2adc65)]:
110+
- @promptx/resource@2.2.1
111+
- @promptx/logger@2.2.1
112+
3113
## 2.2.0
4114

5115
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@promptx/core",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Core library for PromptX - DPML-powered AI prompt framework",
55
"main": "dist/index.js",
66
"type": "commonjs",

packages/logger/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @promptx/logger
22

3+
## 2.2.1
4+
35
## 2.2.0
46

57
## 2.1.1

0 commit comments

Comments
 (0)