/ src / commands / thinkback-play / index.ts
index.ts
 1  import type { Command } from '../../commands.js'
 2  import { checkStatsigFeatureGate_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'
 3  
 4  // Hidden command that just plays the animation
 5  // Called by the thinkback skill after generation is complete
 6  const thinkbackPlay = {
 7    type: 'local',
 8    name: 'thinkback-play',
 9    description: 'Play the thinkback animation',
10    isEnabled: () =>
11      checkStatsigFeatureGate_CACHED_MAY_BE_STALE('tengu_thinkback'),
12    isHidden: true,
13    supportsNonInteractive: false,
14    load: () => import('./thinkback-play.js'),
15  } satisfies Command
16  
17  export default thinkbackPlay