fix: 修正 statusbar 測試名稱與 gitea-issue 腳本路徑,版本升至 statusbar 0.0.2、herdr 0.0.3

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
root
2026-10-13 13:45:10 +00:00
co-authored by Claude Sonnet 5.5
parent 58e2b2d26a
commit d5e52175a4
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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",
@@ -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)。
## 使用者身分
@@ -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",
+3 -3
View File
@@ -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<typeof $.command.run>[0])
const ran = await $.command.run({ command: 'statusbar', args: 'off' } as Parameters<typeof $.command.run>[0])
expect(JSON.stringify(ran)).toContain('隱藏')
})
})