Files
openclaude/src/commands/clear/clear.ts

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