diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 1f86fb4..e46dcb9 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-cli", - "version": "0.1.3", + "version": "0.1.4", "description": "CLI 偵測、模型能力標籤、子代理派工與技能庫批次部署", "skills": "./skills", "author": { diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index b8ddfe7..37819e0 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-cli", - "version": "0.1.3", + "version": "0.1.4", "description": "CLI 偵測、模型能力標籤、子代理派工與技能庫批次部署", "skills": "./skills" } diff --git a/plugin.json b/plugin.json index 16a31c7..dd3ae1e 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-cli", - "version": "0.1.3", + "version": "0.1.4", "description": "CLI 偵測、模型能力標籤、子代理派工與技能庫批次部署", "skills": "./skills/" } diff --git a/tools/scan-config.sh b/tools/scan-config.sh index dad88eb..4fb7558 100755 --- a/tools/scan-config.sh +++ b/tools/scan-config.sh @@ -121,7 +121,10 @@ online_ready() { expand() { _e="$1" case "$_e" in "~/"*) _e="$HOME/${_e#\~/}" ;; esac - ( set +u; eval "printf '%s' \"$_e\"" ) 2>/dev/null + # JSC_HOME 常常正是還沒設定的那一個,展開別列的 $JSC_HOME/... 卻要它有值; + # 只在這個子 shell 套用 JSC_HOME 規格列自己的預設值,不外流到主流程, + # 免得 JSC_HOME 那一列自己的檢查被連帶改成「已設定」。 + ( set +u; : "${JSC_HOME:=$HOME/.jsc}"; eval "printf '%s' \"$_e\"" ) 2>/dev/null } emit() { # item scope required actual expect fix verdict