π File detail
constants/figures.ts
π§© .tsπ 46 linesπΎ 2,063 bytesπ text
β Back to All Filesπ― Use case
This file lives under βconstants/β, which covers static strings, built-in prompts, spinners, and style constants. On the API surface it exposes BLACK_CIRCLE, BULLET_OPERATOR, TEARDROP_ASTERISK, UP_ARROW, and DOWN_ARROW (and more) β mainly types, interfaces, or factory objects. It composes internal code from utils (relative imports).
Generated from folder role, exports, dependency roots, and inline comments β not hand-reviewed for every path.
π§ Inline summary
import { env } from '../utils/env.js' // The former is better vertically aligned, but isn't usually supported on Windows/Linux export const BLACK_CIRCLE = env.platform === 'darwin' ? 'βΊ' : 'β' export const BULLET_OPERATOR = 'β'
π€ Exports (heuristic)
BLACK_CIRCLEBULLET_OPERATORTEARDROP_ASTERISKUP_ARROWDOWN_ARROWLIGHTNING_BOLTEFFORT_LOWEFFORT_MEDIUMEFFORT_HIGHEFFORT_MAXPLAY_ICONPAUSE_ICONREFRESH_ARROWCHANNEL_ARROWINJECTED_ARROWFORK_GLYPHDIAMOND_OPENDIAMOND_FILLEDREFERENCE_MARKFLAG_ICONBLOCKQUOTE_BARHEAVY_HORIZONTALBRIDGE_SPINNER_FRAMESBRIDGE_READY_INDICATORBRIDGE_FAILED_INDICATOR
π₯οΈ Source preview
import { env } from '../utils/env.js'
// The former is better vertically aligned, but isn't usually supported on Windows/Linux
export const BLACK_CIRCLE = env.platform === 'darwin' ? 'βΊ' : 'β'
export const BULLET_OPERATOR = 'β'
export const TEARDROP_ASTERISK = 'β»'
export const UP_ARROW = '\u2191' // β - used for opus 1m merge notice
export const DOWN_ARROW = '\u2193' // β - used for scroll hint
export const LIGHTNING_BOLT = 'β―' // \u21af - used for fast mode indicator
export const EFFORT_LOW = 'β' // \u25cb - effort level: low
export const EFFORT_MEDIUM = 'β' // \u25d0 - effort level: medium
export const EFFORT_HIGH = 'β' // \u25cf - effort level: high
export const EFFORT_MAX = 'β' // \u25c9 - effort level: max (Opus 4.6 only)
// Media/trigger status indicators
export const PLAY_ICON = '\u25b6' // βΆ
export const PAUSE_ICON = '\u23f8' // βΈ
// MCP subscription indicators
export const REFRESH_ARROW = '\u21bb' // β» - used for resource update indicator
export const CHANNEL_ARROW = '\u2190' // β - inbound channel message indicator
export const INJECTED_ARROW = '\u2192' // β - cross-session injected message indicator
export const FORK_GLYPH = '\u2442' // β - fork directive indicator
// Review status indicators (ultrareview diamond states)
export const DIAMOND_OPEN = '\u25c7' // β - running
export const DIAMOND_FILLED = '\u25c6' // β - completed/failed
export const REFERENCE_MARK = '\u203b' // β» - komejirushi, away-summary recap marker
// Issue flag indicator
export const FLAG_ICON = '\u2691' // β - used for issue flag banner
// Blockquote indicator
export const BLOCKQUOTE_BAR = '\u258e' // β - left one-quarter block, used as blockquote line prefix
export const HEAVY_HORIZONTAL = '\u2501' // β - heavy box-drawing horizontal
// Bridge status indicators
export const BRIDGE_SPINNER_FRAMES = [
'\u00b7|\u00b7',
'\u00b7/\u00b7',
'\u00b7\u2014\u00b7',
'\u00b7\\\u00b7',
]
export const BRIDGE_READY_INDICATOR = '\u00b7\u2714\ufe0e\u00b7'
export const BRIDGE_FAILED_INDICATOR = '\u00d7'