diff --git a/packages/tui/src/app.tsx b/packages/tui/src/app.tsx index 57f372ef709a..3f1da522bb06 100644 --- a/packages/tui/src/app.tsx +++ b/packages/tui/src/app.tsx @@ -465,7 +465,7 @@ function App(props: { onSnapshot?: () => Promise; pluginHost: TuiPlugi return } - const title = session.title.length > 40 ? session.title.slice(0, 37) + "..." : session.title + const title = session.title.length > 40 ? session.title.slice(0, 37) + "…" : session.title renderer.setTerminalTitle(`OC | ${title}`) return } @@ -1051,7 +1051,7 @@ function App(props: { onSnapshot?: () => Promise; pluginHost: TuiPlugi toast.show({ variant: "info", - message: `Updating to v${version}...`, + message: `Updating to v${version}…`, duration: 30000, }) diff --git a/packages/tui/src/component/dialog-console-org.tsx b/packages/tui/src/component/dialog-console-org.tsx index 1305a965cbf2..1f6ef5c746fb 100644 --- a/packages/tui/src/component/dialog-console-org.tsx +++ b/packages/tui/src/component/dialog-console-org.tsx @@ -51,7 +51,7 @@ export function DialogConsoleOrg() { if (listed === undefined) { return [ { - title: "Loading orgs...", + title: "Loading orgs…", value: "loading", onSelect: () => {}, }, diff --git a/packages/tui/src/component/dialog-move-session.tsx b/packages/tui/src/component/dialog-move-session.tsx index e0d5508736b9..21912b273316 100644 --- a/packages/tui/src/component/dialog-move-session.tsx +++ b/packages/tui/src/component/dialog-move-session.tsx @@ -113,7 +113,7 @@ export function DialogMoveSession(props: DialogMoveSessionProps) { if (showError()) return [] const data = directoryData() const current = currentRoot()?.directory - if (directories.loading && !data && !current) return [{ title: "Loading project directories...", value: undefined }] + if (directories.loading && !data && !current) return [{ title: "Loading project directories…", value: undefined }] const roots = [...(data ?? [])] if (current && !roots.some((item) => item.directory === current)) roots.unshift({ directory: current }) roots.sort((a, b) => { diff --git a/packages/tui/src/component/dialog-provider.tsx b/packages/tui/src/component/dialog-provider.tsx index 0fd51e3c1c71..6b86a32e3482 100644 --- a/packages/tui/src/component/dialog-provider.tsx +++ b/packages/tui/src/component/dialog-provider.tsx @@ -297,7 +297,7 @@ function AutoMethod(props: AutoMethodProps) { {props.authorization.instructions} - Waiting for authorization... + Waiting for authorization… c copy diff --git a/packages/tui/src/component/dialog-skill.tsx b/packages/tui/src/component/dialog-skill.tsx index e962a6e7c3e0..1143890baca0 100644 --- a/packages/tui/src/component/dialog-skill.tsx +++ b/packages/tui/src/component/dialog-skill.tsx @@ -51,7 +51,7 @@ export function DialogSkill(props: DialogSkillProps) { return ( url.searchParams.set("description", head + "```\n" + body + "\n```") diff --git a/packages/tui/src/component/prompt/index.tsx b/packages/tui/src/component/prompt/index.tsx index fe7f4a22f75f..b95e52e72712 100644 --- a/packages/tui/src/component/prompt/index.tsx +++ b/packages/tui/src/component/prompt/index.tsx @@ -1313,10 +1313,10 @@ export function Prompt(props: PromptProps) { if (store.mode === "shell") { if (!shell().length) return undefined const example = shell()[store.placeholder % shell().length] - return `Run a command... "${example}"` + return `Run a command… "${example}"` } if (!list().length) return undefined - return `Ask anything... "${list()[store.placeholder % list().length]}"` + return `Ask anything… "${list()[store.placeholder % list().length]}"` }) const spinnerDef = createMemo(() => { @@ -1537,7 +1537,7 @@ export function Prompt(props: PromptProps) { if (!r) return if (r.message.includes("exceeded your current quota") && r.message.includes("gemini")) return "gemini is way too hot right now" - if (r.message.length > 80) return r.message.slice(0, 80) + "..." + if (r.message.length > 80) return r.message.slice(0, 80) + "…" return r.message }) const isTruncated = createMemo(() => { diff --git a/packages/tui/src/component/startup-loading.tsx b/packages/tui/src/component/startup-loading.tsx index 6665c0c2e8c4..4742c9cfaac3 100644 --- a/packages/tui/src/component/startup-loading.tsx +++ b/packages/tui/src/component/startup-loading.tsx @@ -5,7 +5,7 @@ import { Spinner } from "./spinner" export function StartupLoading(props: { ready: () => boolean }) { const theme = useTheme().theme const [show, setShow] = createSignal(false) - const text = createMemo(() => (props.ready() ? "Finishing startup..." : "Loading plugins...")) + const text = createMemo(() => (props.ready() ? "Finishing startup…" : "Loading plugins…")) let wait: NodeJS.Timeout | undefined let hold: NodeJS.Timeout | undefined let stamp = 0 diff --git a/packages/tui/src/feature-plugins/system/diff-viewer.tsx b/packages/tui/src/feature-plugins/system/diff-viewer.tsx index ed88a1107f9d..c4c6aed646e5 100644 --- a/packages/tui/src/feature-plugins/system/diff-viewer.tsx +++ b/packages/tui/src/feature-plugins/system/diff-viewer.tsx @@ -766,7 +766,7 @@ function DiffViewer(props: { api: TuiPluginApi }) { - Loading diff... + Loading diff… diff --git a/packages/tui/src/feature-plugins/system/plugins.tsx b/packages/tui/src/feature-plugins/system/plugins.tsx index 78611e034b77..dd074786b046 100644 --- a/packages/tui/src/feature-plugins/system/plugins.tsx +++ b/packages/tui/src/feature-plugins/system/plugins.tsx @@ -49,7 +49,7 @@ function Install(props: { api: TuiPluginApi }) { title="Install plugin" placeholder="npm package name" busy={busy()} - busyText="Installing plugin..." + busyText="Installing plugin…" description={() => ( scope: diff --git a/packages/tui/src/routes/session/index.tsx b/packages/tui/src/routes/session/index.tsx index cbdaf0cfa0c7..d3adb013e952 100644 --- a/packages/tui/src/routes/session/index.tsx +++ b/packages/tui/src/routes/session/index.tsx @@ -1813,7 +1813,7 @@ function GenericTool(props: ToolProps) { + {props.tool} {input(props.input)} } @@ -2095,7 +2095,7 @@ function Shell(props: ToolProps) { - + {stringValue(props.input.command)} @@ -2129,7 +2129,7 @@ function Write(props: ToolProps) { @@ -2143,7 +2143,7 @@ function Write(props: ToolProps) { function Glob(props: ToolProps) { const pathFormatter = usePathFormatter() return ( - + Glob "{stringValue(props.input.pattern)}"{" "} in {pathFormatter.format(stringValue(props.input.path))} @@ -2168,7 +2168,7 @@ function Read(props: ToolProps) { <> + Grep "{stringValue(props.input.pattern)}"{" "} in {pathFormatter.format(stringValue(props.input.path))} @@ -2203,7 +2203,7 @@ function Grep(props: ToolProps) { function WebFetch(props: ToolProps) { return ( - + WebFetch {stringValue(props.input.url)} ) @@ -2211,7 +2211,7 @@ function WebFetch(props: ToolProps) { function WebSearch(props: ToolProps) { return ( - + {webSearchProviderLabel(props.metadata.provider)} "{stringValue(props.input.query)}"{" "} ({numberValue(props.metadata.numResults)} results) @@ -2301,7 +2301,7 @@ function Task(props: ToolProps) { color={retry() ? theme.error : undefined} spinner={isRunning()} complete={stringValue(props.input.description)} - pending="Delegating..." + pending="Delegating…" part={props.part} onClick={() => { if (sessionID()) { @@ -2438,7 +2438,7 @@ function Edit(props: ToolProps) { - + Edit {pathFormatter.format(stringValue(props.input.filePath))} {input({ replaceAll: props.input.replaceAll })} @@ -2514,7 +2514,7 @@ function ApplyPatch(props: ToolProps) { - + Patch @@ -2536,12 +2536,12 @@ function TodoWrite(props: ToolProps) { - Updating todos... + Updating todos… @@ -2576,7 +2576,7 @@ function Question(props: ToolProps) { - + Asked {count()} question{count() !== 1 ? "s" : ""} @@ -2586,7 +2586,7 @@ function Question(props: ToolProps) { function Skill(props: ToolProps) { return ( - + Skill "{stringValue(props.input.name)}" ) diff --git a/packages/tui/src/ui/dialog-prompt.tsx b/packages/tui/src/ui/dialog-prompt.tsx index 892b2b0481d1..899a338697d0 100644 --- a/packages/tui/src/ui/dialog-prompt.tsx +++ b/packages/tui/src/ui/dialog-prompt.tsx @@ -99,11 +99,11 @@ export function DialogPrompt(props: DialogPromptProps) { cursorStyle={tuiConfig.cursor} /> - {props.busyText ?? "Working..."} + {props.busyText ?? "Working…"} - processing...}> + processing…}> {submitShortcut()} submit diff --git a/packages/tui/test/cli/tui/diff-viewer-file-tree.test.tsx b/packages/tui/test/cli/tui/diff-viewer-file-tree.test.tsx index 2a5a172f9c53..720436a0b3cf 100644 --- a/packages/tui/test/cli/tui/diff-viewer-file-tree.test.tsx +++ b/packages/tui/test/cli/tui/diff-viewer-file-tree.test.tsx @@ -77,7 +77,7 @@ describe("DiffViewerFileTree", () => { )) - expect(loading).not.toContain("Loading diff...") + expect(loading).not.toContain("Loading diff…") expect(loading).not.toContain("No files") expect(failed).not.toContain("Failed to load diff") expect(failed).not.toContain("No files") diff --git a/packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx b/packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx index 8ba730906ae0..6da90633ca42 100644 --- a/packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx +++ b/packages/tui/test/cli/tui/inline-tool-wrap-snapshot.test.tsx @@ -195,7 +195,7 @@ function StickyScrollFixture(props: { separated: boolean; scroll: (scroll: Scrol function FailedPendingToolFixture() { return ( - + Patch ) @@ -203,7 +203,7 @@ function FailedPendingToolFixture() { function FailedCompleteToolFixture() { return ( - + Read src/index.ts )