feat: 將 hud 外掛改名為 cockpit,拆分 hud 與 companion 模組

保留 /hud 別名,指向 /cockpit hud on|off|compact。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 13:24:40 +08:00
co-authored by Claude Sonnet 5.5
parent 030c599208
commit 3db55c6c5a
12 changed files with 64 additions and 31 deletions
+9
View File
@@ -0,0 +1,9 @@
import type { Register } from 'claude-code'
import { register as companion } from './companion'
import { register as hud } from './hud'
export const register: Register = on => {
hud(on)
companion(on)
}