Files
claude-code/commands/clear/clear.ts
T
2026-04-01 17:32:37 +02:00

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