github tanweai/pua v3.2.1

7 hours ago

Hotfix Release

修复 #144flavor-helper.sh 在首次运行用户(~/.pua/config.json 不存在)且 shell 运行于 set -euo pipefail 下时抛出 PUA_LANGUAGE: unbound variable 错误。

What changed

Bug fix

  • hooks/flavor-helper.sh (ccaa9c0): initialize PUA_LANGUAGE="" unconditionally before the if [ -f "$config" ] block, so callers running under set -u don'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

Don't miss a new pua release

NewReleases is sending notifications on new releases.