Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 6.48 KB

File metadata and controls

44 lines (38 loc) · 6.48 KB

目录说明:src/components/PromptInput

目录定位

该目录是 src/components 下的子模块,围绕 PromptInput 这一主题组织实现文件。

目录快照

  • 相对路径:src/components/PromptInput
  • 直接文件数:21
  • 直接子目录数:0
  • 递归文件数:21
  • 主要文件类型:.tsx x 14、.ts x 7

依赖关系观察

  • 该目录最常引用的仓库内目录:src/utils (61)、src/hooks (26)、src/components (25)、src (16)、utils (10)、src/types (8)、src/keybindings (7)
  • 最常引用该目录的仓库内目录:src/hooks (6)、src/screens (4)、src/components (3)、src/utils/suggestions (2)、src/components/permissions/rules (1)、src/components/HelpV2 (1)、src/context (1)

直接文件说明

文件 行数 导出/关键符号 说明
HistorySearchInput.tsx 51 未显式导出或以默认导出为主 界面组件或交互视图;文件名指向 History / Search / Input 这一职责,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
IssueFlagBanner.tsx 12 IssueFlagBanner 界面组件或交互视图;导出符号以 IssueFlagBanner 为主,顶部注释说明:ANT-ONLY: Banner shown in the transcript that prompts users to report issues via /issue. Appears when friction is det...
Notifications.tsx 332 FOOTER_TEMPORARY_STATUS_TIMEOUT, Notifications 界面组件或交互视图;导出符号以 FOOTER_TEMPORARY_STATUS_TIMEOUT, Notifications 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
PromptInput.tsx 2339 未显式导出或以默认导出为主 提示词/提示模板定义;文件名指向 Prompt / Input 这一职责,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
PromptInputFooter.tsx 191 未显式导出或以默认导出为主 提示词/提示模板定义;文件名指向 Prompt / Input / Footer 这一职责,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
PromptInputFooterLeftSide.tsx 517 PromptInputFooterLeftSide 提示词/提示模板定义;导出符号以 PromptInputFooterLeftSide 为主,顶部注释说明:biome-ignore-all assist/source/organizeImports: ANT-ONLY import markers must not be reordered
PromptInputFooterSuggestions.tsx 293 SuggestionItem, SuggestionType, OVERLAY_MAX_ITEMS, PromptInputFooterSuggestions 提示词/提示模板定义;导出符号以 SuggestionItem, SuggestionType, OVERLAY_MAX_ITEMS, PromptInputFooterSuggestions 为主,顶部注释说明:Get the icon for a suggestion based on its type Icons: + for files, ◇ for MCP resources, * for agents
PromptInputHelpMenu.tsx 358 PromptInputHelpMenu 提示词/提示模板定义;导出符号以 PromptInputHelpMenu 为主,顶部注释说明:Format a shortcut for display in the help menu (e.g., "ctrl+o" → "ctrl + o")
PromptInputModeIndicator.tsx 93 PromptInputModeIndicator 提示词/提示模板定义;导出符号以 PromptInputModeIndicator 为主,顶部注释说明:Gets the theme color key for the teammate's assigned color. Returns undefined if not a teammate or if the color is in...
PromptInputQueuedCommands.tsx 117 PromptInputQueuedCommands 提示词/提示模板定义;导出符号以 PromptInputQueuedCommands 为主,顶部注释说明:Check if a command value is an idle notification that should be hidden. Idle notifications are processed silently wit...
PromptInputStashNotice.tsx 25 PromptInputStashNotice 提示词/提示模板定义;导出符号以 PromptInputStashNotice 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
SandboxPromptFooterHint.tsx 64 SandboxPromptFooterHint 提示词/提示模板定义;导出符号以 SandboxPromptFooterHint 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
ShimmeredInput.tsx 143 HighlightedInput 界面组件或交互视图;导出符号以 HighlightedInput 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
VoiceIndicator.tsx 137 VoiceIndicator, VoiceWarmupHint 界面组件或交互视图;导出符号以 VoiceIndicator, VoiceWarmupHint 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
inputModes.ts 33 prependModeCharacterToInput, getModeFromInput, getValueFromInput, isInputModeCharacter 界面组件或交互视图;导出符号以 prependModeCharacterToInput, getModeFromInput, getValueFromInput, isInputModeCharacter 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
inputPaste.ts 90 maybeTruncateMessageForInput, maybeTruncateInput 界面组件或交互视图;导出符号以 maybeTruncateMessageForInput, maybeTruncateInput 为主,顶部注释说明:Determines whether the input text should be truncated. If so, it adds a truncated text placeholder and neturns @param...
useMaybeTruncateInput.ts 58 useMaybeTruncateInput 界面组件或交互视图;导出符号以 useMaybeTruncateInput 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
usePromptInputPlaceholder.ts 76 usePromptInputPlaceholder 提示词/提示模板定义;导出符号以 usePromptInputPlaceholder 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
useShowFastIconHint.ts 31 useShowFastIconHint 界面组件或交互视图;导出符号以 useShowFastIconHint 为主,顶部注释说明:Hook to manage the /fast hint display next to the fast icon. Shows the hint for 5 seconds once per session.
useSwarmBanner.ts 155 useSwarmBanner 界面组件或交互视图;导出符号以 useSwarmBanner 为主,结合所在目录可判断其服务于 src/components/PromptInput 这条功能线。
utils.ts 60 isVimModeEnabled, getNewlineInstructions, isNonSpacePrintable 通用辅助逻辑;导出符号以 isVimModeEnabled, getNewlineInstructions, isNonSpacePrintable 为主,顶部注释说明:Helper function to check if vim mode is currently enabled @returns boolean indicating if vim mode is active

直接子目录说明

该目录没有直接子目录。