Hotfix Release
修复 #144 — flavor-helper.sh 在首次运行用户(~/.pua/config.json 不存在)且 shell 运行于 set -euo pipefail 下时抛出 PUA_LANGUAGE: unbound variable 错误。
What changed
Bug fix
hooks/flavor-helper.sh(ccaa9c0): initializePUA_LANGUAGE=""unconditionally before theif [ -f "$config" ]block, so callers running underset -udon't trip when the config file is missing.
Version sync (69a0202)
All marketplace distribution channels bumped to 3.2.1:
.claude-plugin/plugin.json.claude-plugin/marketplace.json.codebuddy-plugin/plugin.json.codebuddy-plugin/marketplace.json(top + plugins[0])landing/dist/index.html— added v3.2.1 entry to zh/en/ja changelogs
Who should upgrade
All first-run users on v3.0–v3.2.0 whose shell runs with set -euo pipefail — you were hitting this bug on every UserPromptSubmit until you created ~/.pua/config.json. Upgrading to v3.2.1 makes PUA work out of the box.
How to upgrade
Via marketplace
claude plugin marketplace remove pua-skills
claude plugin marketplace add tanweai/pua
claude plugin update pua
Or directly from HEAD
claude plugin install https://github.com/tanweai/pua
E2E verification
$ bash -c 'set -euo pipefail; source hooks/flavor-helper.sh; get_flavor'
FLAVOR=alibaba LANG=[] EXIT=0
Credits
Thanks to @maj1999 for the detailed repro + root cause analysis + suggested fix in #144.
Full Changelog: v3.2.0...v3.2.1