Files
Claude_Code/src/commands/clear/clear.ts
T
2026-03-31 17:51:43 +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: '' }
}