@hupan56/wlkj 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hupan56/wlkj",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "AI Product R&D Workflow - PRD/Prototype/Search/Task/Report",
5
5
  "bin": {
6
6
  "wlkj": "bin/cli.js"
@@ -80,6 +80,26 @@ python .qoder/scripts/team_sync.py push
80
80
  ```
81
81
  让团队/上级看到。
82
82
 
83
+ ## 推送通知(可选,二选一)
84
+
85
+ 生成报告后,如果用户要求"发到飞书/钉钉/群里",按环境选:
86
+
87
+ ### 方式 A: QoderWork 连接器(QoderWork 桌面端,交互式)
88
+ 如果你在 **QoderWork** 里运行(有连接器):
89
+ 1. 检查用户是否装了飞书/钉钉连接器(Settings → Connectors & MCP)
90
+ 2. 用连接器把报告发到指定群/个人
91
+ 3. 这是最自然的方式(富文本卡片、@提及、审批流转都支持)
92
+ > 提示用户: "要我发到飞书吗?先在 QoderWork Settings → Connectors 装飞书连接器"
93
+
94
+ ### 方式 B: webhook(任何环境,脚本化)
95
+ 如果没有连接器,用引擎自带的 webhook 推送:
96
+ ```bash
97
+ python .qoder/scripts/report.py daily --push-feishu
98
+ python .qoder/scripts/report.py weekly --push-feishu
99
+ ```
100
+ 这会通过 config.yaml 里配的飞书 bot webhook 发卡片通知。
101
+ 两种方式不冲突,连接器更富交互,webhook 更可靠无依赖。
102
+
83
103
  ## 输出规则
84
104
 
85
105
  - 报告是中文,简洁(日报 ≤20 行,周报 ≤40 行)