codev / src /commands /buddy /index.ts
chenbhao's picture
feat: /buddy
97289d7
Raw
History Blame Contribute Delete
401 Bytes
import type { Command } from '../../commands.js'
import { isBuddyLive } from '../../buddy/useBuddyNotification.js'
const buddy = {
type: 'local-jsx',
name: 'buddy',
description: 'Hatch a coding companion · pet, off',
argumentHint: '[pet|off]',
immediate: true,
get isHidden() {
return !isBuddyLive()
},
load: () => import('./buddy.js'),
} satisfies Command
export default buddy