a497fccd06
Follow-up to #717. Replaces all remaining hardcoded keybinding hints with configurable ones. - Add pasteImage to AppAction so it can be configured in keybindings.json - Create keybinding-hints.ts with reusable helper functions: - editorKey(action) / appKey(keybindings, action) - get key display string - keyHint(action, desc) / appKeyHint(kb, action, desc) / rawKeyHint(key, desc) - styled hints - Export helpers from components/index.ts for extensions - Update all components to use configured keybindings - Remove now-unused getDisplayString() from KeybindingsManager and EditorKeybindingsManager - Use keybindings.matches() instead of matchesKey() for pasteImage in custom-editor.ts
31 lines
2.0 KiB
TypeScript
31 lines
2.0 KiB
TypeScript
// UI Components for extensions
|
|
export { ArminComponent } from "./armin.js";
|
|
export { AssistantMessageComponent } from "./assistant-message.js";
|
|
export { BashExecutionComponent } from "./bash-execution.js";
|
|
export { BorderedLoader } from "./bordered-loader.js";
|
|
export { BranchSummaryMessageComponent } from "./branch-summary-message.js";
|
|
export { CompactionSummaryMessageComponent } from "./compaction-summary-message.js";
|
|
export { CustomEditor } from "./custom-editor.js";
|
|
export { CustomMessageComponent } from "./custom-message.js";
|
|
export { type RenderDiffOptions, renderDiff } from "./diff.js";
|
|
export { DynamicBorder } from "./dynamic-border.js";
|
|
export { ExtensionEditorComponent } from "./extension-editor.js";
|
|
export { ExtensionInputComponent } from "./extension-input.js";
|
|
export { ExtensionSelectorComponent } from "./extension-selector.js";
|
|
export { FooterComponent } from "./footer.js";
|
|
export { appKey, appKeyHint, editorKey, keyHint, rawKeyHint } from "./keybinding-hints.js";
|
|
export { LoginDialogComponent } from "./login-dialog.js";
|
|
export { ModelSelectorComponent } from "./model-selector.js";
|
|
export { OAuthSelectorComponent } from "./oauth-selector.js";
|
|
export { type ModelsCallbacks, type ModelsConfig, ScopedModelsSelectorComponent } from "./scoped-models-selector.js";
|
|
export { SessionSelectorComponent } from "./session-selector.js";
|
|
export { type SettingsCallbacks, type SettingsConfig, SettingsSelectorComponent } from "./settings-selector.js";
|
|
export { ShowImagesSelectorComponent } from "./show-images-selector.js";
|
|
export { ThemeSelectorComponent } from "./theme-selector.js";
|
|
export { ThinkingSelectorComponent } from "./thinking-selector.js";
|
|
export { ToolExecutionComponent, type ToolExecutionOptions } from "./tool-execution.js";
|
|
export { TreeSelectorComponent } from "./tree-selector.js";
|
|
export { UserMessageComponent } from "./user-message.js";
|
|
export { UserMessageSelectorComponent } from "./user-message-selector.js";
|
|
export { truncateToVisualLines, type VisualTruncateResult } from "./visual-truncate.js";
|