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
package/package.json
CHANGED
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 +1 @@
|
|
|
1
|
-
0.36.
|
|
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
|
]
|