Skip to content

Commit 30ce275

Browse files
committed
Packages updated (mcp-ui, react, ink), undid Ink rollback hacks (reinstated "background").
1 parent e26582b commit 30ce275

19 files changed

Lines changed: 574 additions & 933 deletions

clients/tui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"pino": "^9.6.0",
3030
"commander": "^13.1.0",
3131
"@modelcontextprotocol/sdk": "^1.25.2",
32-
"ink": "^5.2.1",
32+
"ink": "^6.0.0",
3333
"ink-form": "^2.0.1",
3434
"ink-scroll-view": "^0.3.6",
3535
"open": "^10.2.0",
36-
"react": "^18.3.1"
36+
"react": "^19.0.0"
3737
},
3838
"devDependencies": {
3939
"@types/node": "^25.0.3",
40-
"@types/react": "^18.3.23",
40+
"@types/react": "^19.0.0",
4141
"tsx": "^4.21.0",
4242
"typescript": "^5.9.3",
4343
"vitest": "^4.0.17"

clients/tui/src/App.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,12 @@ function App({
14281428
</Box>
14291429

14301430
{/* Fixed footer */}
1431-
<Box flexShrink={0} height={1} justifyContent="center">
1431+
<Box
1432+
flexShrink={0}
1433+
height={1}
1434+
justifyContent="center"
1435+
backgroundColor="gray"
1436+
>
14321437
<Text bold color="white">
14331438
ESC to exit
14341439
</Text>

clients/tui/src/components/AuthTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,12 @@ export function AuthTab({
371371
</Box>
372372

373373
{focused && (
374-
<Box flexShrink={0} height={1} justifyContent="center">
374+
<Box
375+
flexShrink={0}
376+
height={1}
377+
justifyContent="center"
378+
backgroundColor="gray"
379+
>
375380
<Text bold color="white">
376381
←/→ select, G/Q/S or Enter run, ↑/↓ scroll
377382
</Text>

clients/tui/src/components/DetailsModal.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useRef } from "react";
22
import { Box, Text, useInput, type Key } from "ink";
33
import { ScrollView, type ScrollViewRef } from "ink-scroll-view";
4-
import { ModalBackdrop } from "./ModalBackdrop.js";
54

65
interface DetailsModalProps {
76
title: string;
@@ -73,10 +72,6 @@ export function DetailsModal({
7372
justifyContent="center"
7473
alignItems="center"
7574
>
76-
<ModalBackdrop
77-
width={terminalDimensions.width}
78-
height={terminalDimensions.height}
79-
/>
8075
{/* Modal Content */}
8176
<Box
8277
width={modalWidth}
@@ -86,6 +81,7 @@ export function DetailsModal({
8681
flexDirection="column"
8782
paddingX={1}
8883
paddingY={1}
84+
backgroundColor="black"
8985
>
9086
{/* Header */}
9187
<Box flexShrink={0} marginBottom={1}>

clients/tui/src/components/HistoryTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,12 @@ export function HistoryTab({
303303

304304
{/* Fixed footer - only show when details pane is focused */}
305305
{focusedPane === "details" && (
306-
<Box flexShrink={0} height={1} justifyContent="center">
306+
<Box
307+
flexShrink={0}
308+
height={1}
309+
justifyContent="center"
310+
backgroundColor="gray"
311+
>
307312
<Text bold color="white">
308313
↑/↓ to scroll, + to zoom
309314
</Text>

clients/tui/src/components/InfoTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,12 @@ export function InfoTab({
208208

209209
{/* Fixed keyboard help footer at bottom - only show when focused */}
210210
{focused && (
211-
<Box flexShrink={0} height={1} justifyContent="center">
211+
<Box
212+
flexShrink={0}
213+
height={1}
214+
justifyContent="center"
215+
backgroundColor="gray"
216+
>
212217
<Text bold color="white">
213218
↑/↓ to scroll, + to zoom
214219
</Text>

clients/tui/src/components/ModalBackdrop.tsx

Lines changed: 0 additions & 32 deletions
This file was deleted.

clients/tui/src/components/PromptTestModal.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import type {
88
} from "@modelcontextprotocol/sdk/types.js";
99
import { promptArgsToForm } from "../utils/promptArgsToForm.js";
1010
import { ScrollView, type ScrollViewRef } from "ink-scroll-view";
11-
import { ModalBackdrop } from "./ModalBackdrop.js";
1211

1312
// Helper to extract error message from various error types
1413
function getErrorMessage(error: unknown): string {
@@ -186,10 +185,6 @@ export function PromptTestModal({
186185
justifyContent="center"
187186
alignItems="center"
188187
>
189-
<ModalBackdrop
190-
width={terminalDimensions.width}
191-
height={terminalDimensions.height}
192-
/>
193188
{/* Modal Content */}
194189
<Box
195190
width={modalWidth}
@@ -199,6 +194,7 @@ export function PromptTestModal({
199194
flexDirection="column"
200195
paddingX={1}
201196
paddingY={1}
197+
backgroundColor="black"
202198
>
203199
{/* Header */}
204200
<Box flexShrink={0} marginBottom={1}>

clients/tui/src/components/PromptsTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,12 @@ export function PromptsTab({
253253

254254
{/* Fixed footer - only show when details pane is focused */}
255255
{focusedPane === "details" && (
256-
<Box flexShrink={0} height={1} justifyContent="center">
256+
<Box
257+
flexShrink={0}
258+
height={1}
259+
justifyContent="center"
260+
backgroundColor="gray"
261+
>
257262
<Text bold color="white">
258263
↑/↓ to scroll, + to zoom
259264
</Text>

clients/tui/src/components/RequestsTab.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,12 @@ export function RequestsTab({
347347

348348
{/* Fixed footer - only show when details pane is focused */}
349349
{focusedPane === "details" && (
350-
<Box flexShrink={0} height={1} justifyContent="center">
350+
<Box
351+
flexShrink={0}
352+
height={1}
353+
justifyContent="center"
354+
backgroundColor="gray"
355+
>
351356
<Text bold color="white">
352357
↑/↓ to scroll, + to zoom
353358
</Text>

0 commit comments

Comments
 (0)