DevinZeng 9233518b11 Enable and fix /buddy command
The /buddy command was completely disabled by bun:bundle feature('BUDDY')
flag which evaluates to false at runtime. Removed all feature('BUDDY')
checks across the codebase to register the command, and added keyboard
event handling (q/Enter to dismiss) which was missing from the UI.
2026-04-03 00:30:56 +08:00

12 lines
282 B
TypeScript

import type { Command } from '../../commands.js'
const buddyCommand = {
type: 'local-jsx',
name: 'buddy',
description: 'Meet your companion',
argumentHint: '[hatch|pet|mute|unmute|info]',
load: () => import('./buddy.js'),
} satisfies Command
export default buddyCommand