From 7077d657662f4e0ba673e19f3f01189bc9747294 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 26 Aug 2026 12:25:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(cli):=20=E5=B1=95=E9=96=8B=20$JSC=5FHOM?= =?UTF-8?q?E=20=E6=99=82=E8=A3=9C=E4=B8=8A=E6=96=87=E4=BB=B6=E8=A8=98?= =?UTF-8?q?=E8=BC=89=E7=9A=84=E9=A0=90=E8=A8=AD=E5=80=BC=20~/.jsc=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=20$JSC=5FHOME/*=20=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E5=88=97=E5=9C=A8=E6=9C=AA=E8=A8=AD=E7=92=B0=E5=A2=83=E8=AE=8A?= =?UTF-8?q?=E6=95=B8=E6=99=82=E8=A2=AB=E8=AA=A4=E5=88=A4=E7=82=BA=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E6=88=96=E6=9C=AA=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/scan-config.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.53.0 From a2f1f65ff8b665488fb84e13bc0a26e3199de0b2 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Wed, 26 Aug 2026 12:25:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(cli):=20=E5=9B=A0=E6=87=89=20scan-con?= =?UTF-8?q?fig.sh=20=E4=BF=AE=E6=AD=A3=EF=BC=8C=E5=B0=87=E5=A4=96=E6=8E=9B?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E7=B4=9A=E8=87=B3=200.1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- plugin.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/" } -- 2.53.0