Newer
Older
cortex-hub / CaudeCodeSourceCode / cc-recovered-main / src / commands / clear / clear.ts
import type { LocalCommandCall } from '../../types/command.js'
import { clearConversation } from './conversation.js'

export const call: LocalCommandCall = async (_, context) => {
  await clearConversation(context)
  return { type: 'text', value: '' }
}