From d5e52175a4033ed148f4570d18f5f8a52829eb2e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Oct 2026 13:45:10 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20statusbar=20?= =?UTF-8?q?=E6=B8=AC=E8=A9=A6=E5=90=8D=E7=A8=B1=E8=88=87=20gitea-issue=20?= =?UTF-8?q?=E8=85=B3=E6=9C=AC=E8=B7=AF=E5=BE=91=EF=BC=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8D=87=E8=87=B3=20statusbar=200.0.2=E3=80=81herdr=200.0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- plugins/jsc-herdr/.claude-plugin/plugin.json | 2 +- plugins/jsc-herdr/skills/gitea-issue/SKILL.md | 2 +- plugins/jsc-statusbar/.claude-plugin/plugin.json | 2 +- plugins/jsc-statusbar/hooks/hud.test.tsx | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/jsc-herdr/.claude-plugin/plugin.json b/plugins/jsc-herdr/.claude-plugin/plugin.json index 398c3a4..fc729a3 100644 --- a/plugins/jsc-herdr/.claude-plugin/plugin.json +++ b/plugins/jsc-herdr/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-herdr", - "version": "0.0.2", + "version": "0.0.3", "description": "控制 Herdr 終端多工器(workspace、tab、pane、指令與其他 agent),並可透過 gitea-issue 技能逐一實作 Gitea 議題", "license": "MIT", "skills": "./skills", diff --git a/plugins/jsc-herdr/skills/gitea-issue/SKILL.md b/plugins/jsc-herdr/skills/gitea-issue/SKILL.md index d3840b4..361434f 100644 --- a/plugins/jsc-herdr/skills/gitea-issue/SKILL.md +++ b/plugins/jsc-herdr/skills/gitea-issue/SKILL.md @@ -5,7 +5,7 @@ description: "Run Gitea issues through Herdr: one Claude agent per issue in its # gitea-issue -把 Gitea 議題交給 Herdr 裡的 Claude agent 實作。所有確定性的工作都在 `scripts/` 裡,你只在「要做決定」的時刻出手。腳本都要在該 repo 的 clone 裡執行;`S` 代表 `~/.claude/skills/gitea-issue/scripts`。 +把 Gitea 議題交給 Herdr 裡的 Claude agent 實作。所有確定性的工作都在 `scripts/` 裡,你只在「要做決定」的時刻出手。腳本都要在該 repo 的 clone 裡執行;`S` 代表 `${CLAUDE_SKILL_DIR}/scripts`(本技能所在目錄下的 scripts)。 ## 使用者身分 diff --git a/plugins/jsc-statusbar/.claude-plugin/plugin.json b/plugins/jsc-statusbar/.claude-plugin/plugin.json index ae2a7ea..811ce7c 100644 --- a/plugins/jsc-statusbar/.claude-plugin/plugin.json +++ b/plugins/jsc-statusbar/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-statusbar", - "version": "0.0.1", + "version": "0.0.2", "description": "輸入框上方的單行狀態列:模型、目錄、分支、5h/7d 額度與重置、context、CPU/記憶體/磁碟", "license": "MIT", "types": "./types/index.d.ts", diff --git a/plugins/jsc-statusbar/hooks/hud.test.tsx b/plugins/jsc-statusbar/hooks/hud.test.tsx index 9f040f4..46f29a3 100644 --- a/plugins/jsc-statusbar/hooks/hud.test.tsx +++ b/plugins/jsc-statusbar/hooks/hud.test.tsx @@ -91,7 +91,7 @@ describe('format', () => { }) describe('band', () => { - test('draws one line above the prompt and hides with /hud off', async ($, on) => { + test('draws one line above the prompt and hides with /statusbar off', async ($, on) => { on('session.model', () => ({ value: 'claude-opus-5-5' })) on('session.cwd', () => ({ value: '/home/dev/work/luopan' })) const props = { @@ -103,12 +103,12 @@ describe('band', () => { view: {}, } for (const surface of ['terminal', 'desktop'] as const) { - const ui = await $.ui.mount({ plugin: 'hud', surface, component: 'AbovePrompt', props }) + const ui = await $.ui.mount({ plugin: 'statusbar', surface, component: 'AbovePrompt', props }) expect(await ui.find({ type: 'Text', text: /◆ Opus 5\.5/ })).toBeDefined() expect(await ui.find({ type: 'Text', text: /5h —/ })).toBeDefined() await ui.unmount() } - const ran = await $.command.run({ command: 'hud', args: 'off' } as Parameters[0]) + const ran = await $.command.run({ command: 'statusbar', args: 'off' } as Parameters[0]) expect(JSON.stringify(ran)).toContain('隱藏') }) })