feat: companion 狀態列與 info 輸出對齊設計稿
- 狀態列的 PAD 條改為最強的兩種情緒(不含精力) - info 短版只列名字、關係、前 3 強情緒、適應度與待辦 - info --all 補上 12 格情緒與關係長條、人格 18 參數三層值、世界與時間感,基本資訊移到這裡 - 版本號改為 0.0.4 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
b99bf4e539
commit
13d3678032
@@ -142,8 +142,8 @@ describe('/status', () => {
|
||||
const c = createCompanion({ fs, clock: fakeClock(), root: '/h/.companion', builtins: [MIKO] })
|
||||
await c.ensureActivated()
|
||||
await c.moodEvent('scold')
|
||||
const brief = (await c.command('status')).split('\n').filter(l => l.startsWith(' ') && l.includes('\x1b['))
|
||||
expect(brief).toHaveLength(3)
|
||||
const brief = (await c.command('status')).split('\n').find(l => l.startsWith('情緒 '))!
|
||||
expect(brief.slice(4).split('、')).toHaveLength(3)
|
||||
const all = (await c.command('status --all')).split('\n').filter(l => l.startsWith(' ') && l.includes('\x1b['))
|
||||
expect(all).toHaveLength(8)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user