claude-code/commands/clear/clear.ts
2026-04-01 14:57:08 +03:00

7 lines
254 B
TypeScript

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: '' }
}