claude-pangu 2.3.2 → 2.3.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://code.claude.com/plugin-schema.json",
|
|
3
3
|
"name": "oh-my-claude",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.3",
|
|
5
5
|
"hooks": "../hooks/hooks.json",
|
|
6
6
|
"description": "基于中国传统文化的 Claude Code 智能编排插件 - A Claude Code plugin inspired by Chinese traditional culture",
|
|
7
7
|
"author": "ZDragon17",
|
package/README.md
CHANGED
|
@@ -921,6 +921,7 @@ model: sonnet
|
|
|
921
921
|
- [x] v2.3.0 - **oh-my-opencode v3.8.4 全面移植** 🚀(9 Agent 重写 + 6 新 Hook + 5 命令更新 + 4 技能升级)
|
|
922
922
|
- [x] v2.3.1 - **Hook 注册修复** 🐛(syncHooksToSettings 完善 Wave 2 Hook 注册,新增 4 测试用例)
|
|
923
923
|
- [x] v2.3.2 - **Hook 无 jq 回退修复** 🐛(4 个 Hook 的 Windows/无 jq 环境兼容性修复)
|
|
924
|
+
- [x] v2.3.3 - **Hook 逻辑修复** 🐛(json-error-recovery 模式排序 + write-existing-file-guard 路径排除修复)
|
|
924
925
|
|
|
925
926
|
### v2.2.2 核心更新
|
|
926
927
|
|
|
@@ -67,27 +67,23 @@ detect_json_parse_error() {
|
|
|
67
67
|
# 检测具体的 JSON 错误类型
|
|
68
68
|
detect_specific_error() {
|
|
69
69
|
local output="$1"
|
|
70
|
-
|
|
71
|
-
if echo "$output" | grep -qiE 'Unexpected token.*position|at (column|position)|position [0-9]'; then
|
|
72
|
-
echo "POSITION"
|
|
73
|
-
return
|
|
74
|
-
fi
|
|
75
|
-
|
|
70
|
+
# STRING 检查必须在 POSITION 之前(POSITION 的 'at (column|position)' 会误匹配 STRING 类错误)
|
|
76
71
|
if echo "$output" | grep -qiE 'Unterminated string|unclosed.*string'; then
|
|
77
72
|
echo "STRING"
|
|
78
73
|
return
|
|
79
74
|
fi
|
|
80
|
-
|
|
81
75
|
if echo "$output" | grep -qiE 'trailing comma|Expected.*}.*got.*,'; then
|
|
82
76
|
echo "TRAILING_COMMA"
|
|
83
77
|
return
|
|
84
78
|
fi
|
|
85
|
-
|
|
79
|
+
if echo "$output" | grep -qiE 'Unexpected token.*position|at (column|position)|position [0-9]'; then
|
|
80
|
+
echo "POSITION"
|
|
81
|
+
return
|
|
82
|
+
fi
|
|
86
83
|
if echo "$output" | grep -qiE 'Unexpected end|unexpected eof|incomplete'; then
|
|
87
84
|
echo "INCOMPLETE"
|
|
88
85
|
return
|
|
89
86
|
fi
|
|
90
|
-
|
|
91
87
|
echo "GENERIC"
|
|
92
88
|
}
|
|
93
89
|
|