Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
603 B · 19 lines
TypeScript
at main
1234567891011121314151617181920/** * Clear command - minimal metadata only. * Implementation is lazy-loaded from clear.ts to reduce startup time. * Utility functions: * - clearSessionCaches: import from './clear/caches.js' * - clearConversation: import from './clear/conversation.js' */import type { Command } from '../../commands.js'
const clear = { type: 'local', name: 'clear', description: 'Clear conversation history and free up context', aliases: ['reset', 'new'], supportsNonInteractive: false, // Should just create a new session load: () => import('./clear.js'),} satisfies Command
export default clear