claude-code-best/src/commands/clear/clear.ts
claude-code-best f90eee85d8 feat: build
2026-03-31 19:22:47 +08: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: '' }
}