create-dwy 0.30.0 → 0.31.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # create-dwy
2
2
 
3
+ ## [0.31.0] - 2026-11-09
4
+
5
+ ### Added
6
+
7
+ - Codex 中由 dwy 同步的 Hook 执行时显示带 `dwy` 前缀的功能说明,便于识别来源。模板详情见 ai-tools 0.36.1。
8
+
9
+ ---
10
+
3
11
  ## [0.30.0] - 2026-11-08
4
12
 
5
13
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-dwy",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "项目脚手架与多平台 AI 配置同步工具",
5
5
  "type": "module",
6
6
  "bin": {
package/src/sync-codex.js CHANGED
@@ -282,6 +282,7 @@ export function buildCodexHooksJson(manifests, selectedHookNames, global, config
282
282
  command: global
283
283
  ? globalHookCommand(configDir, manifest.name)
284
284
  : `bash "$(git rev-parse --show-toplevel)/.codex/hooks/${manifest.name}"`,
285
+ ...(manifest.statusMessage ? { statusMessage: manifest.statusMessage } : {}),
285
286
  ...(manifest.timeout ? { timeout: manifest.timeout } : {}),
286
287
  })
287
288
  grouped.set(key, hooks)
@@ -1,5 +1,11 @@
1
1
  # ai-tools 内部版本
2
2
 
3
+ ## 0.36.1 - 2026-11-09
4
+
5
+ ### Changed
6
+
7
+ - `hook-manifests/hooks.json` 为三个 Codex Hook 添加带 dwy 前缀的执行状态说明。
8
+
3
9
  ## 0.36.0 - 2026-11-08
4
10
 
5
11
  ### Changed
@@ -1 +1 @@
1
- 0.36.0
1
+ 0.36.1
@@ -4,6 +4,7 @@
4
4
  "event": "PreToolUse",
5
5
  "matcher": "Bash",
6
6
  "platforms": ["claude", "codex"],
7
+ "statusMessage": "dwy:检查提交中的敏感信息",
7
8
  "timeout": 30
8
9
  },
9
10
  {
@@ -11,6 +12,7 @@
11
12
  "event": "PreToolUse",
12
13
  "matcher": "Bash",
13
14
  "platforms": ["claude", "codex"],
15
+ "statusMessage": "dwy:检查提交命令中的反引号",
14
16
  "timeout": 30
15
17
  },
16
18
  {
@@ -18,6 +20,7 @@
18
20
  "event": "PreToolUse",
19
21
  "matcher": "Bash",
20
22
  "platforms": ["claude", "codex"],
23
+ "statusMessage": "dwy:检查提交信息中的 AI 签名",
21
24
  "timeout": 30
22
25
  }
23
26
  ]