chore: initialize recovered claude workspace
This commit is contained in:
19
src/commands/clear/index.ts
Normal file
19
src/commands/clear/index.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* 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
|
||||
Reference in New Issue
Block a user