保留 /hud 別名,指向 /cockpit hud on|off|compact。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
10 lines
208 B
TypeScript
10 lines
208 B
TypeScript
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)
|
|
}
|