@@ -47,7 +47,7 @@ export function createHandoffCommand(): Command {
4747 . option ( '-m, --message <message>' , 'Custom commit message' )
4848 . option ( '--no-commit' , 'Skip git commit' )
4949 . option ( '--copy' , 'Copy the handoff prompt to clipboard' )
50- . option ( '--enhanced ' , 'Use high-efficacy handoff format (2-3K tokens) ' )
50+ . option ( '--basic ' , 'Use basic handoff format instead of enhanced ' )
5151 . action ( async ( options ) => {
5252 try {
5353 const projectRoot = process . cwd ( ) ;
@@ -231,14 +231,7 @@ export function createHandoffCommand(): Command {
231231 // 6. Generate the handoff prompt
232232 let handoffPrompt : string ;
233233
234- if ( options . enhanced ) {
235- // Use high-efficacy enhanced handoff generator
236- console . log ( 'Generating enhanced handoff (high-efficacy mode)...' ) ;
237- const enhancedGenerator = new EnhancedHandoffGenerator ( projectRoot ) ;
238- const enhancedHandoff = await enhancedGenerator . generate ( ) ;
239- handoffPrompt = enhancedGenerator . toMarkdown ( enhancedHandoff ) ;
240- console . log ( `Estimated tokens: ~${ enhancedHandoff . estimatedTokens } ` ) ;
241- } else {
234+ if ( options . basic ) {
242235 // Use basic handoff format
243236 const timestamp = new Date ( ) . toISOString ( ) ;
244237 handoffPrompt = `# Session Handoff - ${ timestamp }
@@ -267,6 +260,12 @@ ${notes}
267260---
268261Generated by stackmemory handoff at ${ timestamp }
269262` ;
263+ } else {
264+ // Use high-efficacy enhanced handoff generator (default)
265+ const enhancedGenerator = new EnhancedHandoffGenerator ( projectRoot ) ;
266+ const enhancedHandoff = await enhancedGenerator . generate ( ) ;
267+ handoffPrompt = enhancedGenerator . toMarkdown ( enhancedHandoff ) ;
268+ console . log ( `Estimated tokens: ~${ enhancedHandoff . estimatedTokens } ` ) ;
270269 }
271270
272271 // 7. Save handoff prompt
0 commit comments