Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Rename terminal-shortcuts module to keybindings
Julius Marmingeace580358186
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsxindex dd3667a60..35b99b011 100644--- a/apps/web/src/components/ChatView.tsx+++ b/apps/web/src/components/ChatView.tsx@@ -58,7 +58,7 @@ import {isTerminalToggleShortcut,resolveTerminalKeybindings,shortcutLabelForCommand,-} from "../terminal-shortcuts";+} from "../keybindings";import ChatMarkdown from "./ChatMarkdown";import ThreadTerminalDrawer from "./ThreadTerminalDrawer";import { useNativeApi } from "../hooks/useNativeApi";diff --git a/apps/web/src/components/ThreadTerminalDrawer.tsx b/apps/web/src/components/ThreadTerminalDrawer.tsxindex 3373f9136..d9e544ab9 100644--- a/apps/web/src/components/ThreadTerminalDrawer.tsx+++ b/apps/web/src/components/ThreadTerminalDrawer.tsx@@ -18,7 +18,7 @@ import {preferredTerminalEditor,resolvePathLinkTarget,} from "../terminal-links";-import { isTerminalClearShortcut } from "../terminal-shortcuts";+import { isTerminalClearShortcut } from "../keybindings";import {DEFAULT_THREAD_TERMINAL_HEIGHT,DEFAULT_THREAD_TERMINAL_ID,diff --git a/apps/web/src/terminal-shortcuts.test.ts b/apps/web/src/keybindings.test.tssimilarity index 99%rename from apps/web/src/terminal-shortcuts.test.tsrename to apps/web/src/keybindings.test.tsindex 6de3d641a..f71cb8f09 100644--- a/apps/web/src/terminal-shortcuts.test.ts+++ b/apps/web/src/keybindings.test.ts@@ -10,7 +10,7 @@ import {resolveTerminalKeybindings,shortcutLabelForCommand,type ShortcutEventLike,-} from "./terminal-shortcuts";+} from "./keybindings";function event(overrides: Partial<ShortcutEventLike> = {}): ShortcutEventLike {return {diff --git a/apps/web/src/terminal-shortcuts.ts b/apps/web/src/keybindings.tssimilarity index 100%rename from apps/web/src/terminal-shortcuts.tsrename to apps/web/src/keybindings.ts