Filehigh importancesource

index.ts

commands/thinkback-play/index.ts

18
Lines
608
Bytes
0
Exports
2
Imports
10
Keywords

What this is

This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.

Beginner explanation

This file lives in the command layer. It likely turns a user action into concrete program behavior.

How it is used

Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.

Expert explanation

Architecturally, this file intersects with commands, ui-flow. It contains 18 lines, 2 detected imports, and 0 detected exports.

Important relationships

Detected exports

  • No clear exports detected.

Keywords

commandcheckstatsigfeaturegate_cached_may_be_staleanimationthinkbackthinkbackplaythinkback-playcommandsservicesanalyticsgrowthbook

Detected imports

  • ../../commands.js
  • ../../services/analytics/growthbook.js

Source notes

This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.

Open parent directory

Full source

import type { Command } from '../../commands.js'
import { checkStatsigFeatureGate_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'

// Hidden command that just plays the animation
// Called by the thinkback skill after generation is complete
const thinkbackPlay = {
  type: 'local',
  name: 'thinkback-play',
  description: 'Play the thinkback animation',
  isEnabled: () =>
    checkStatsigFeatureGate_CACHED_MAY_BE_STALE('tengu_thinkback'),
  isHidden: true,
  supportsNonInteractive: false,
  load: () => import('./thinkback-play.js'),
} satisfies Command

export default thinkbackPlay