The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Show timestamp in Sessions, Deferred tool name visibility fix, safari form render problem fixed (#829)
Govinda Vashishthaa08c75a51e56
diff --git a/.changeset/session-timestamps-timeline-safari.md b/.changeset/session-timestamps-timeline-safari.mdnew file mode 100644index 000000000..dadab36a6--- /dev/null+++ b/.changeset/session-timestamps-timeline-safari.md@@ -0,0 +1,5 @@+---+'@truefoundry/trueforge-ui': patch+---++Show absolute session activity timestamps on hover, label deferred MCP tools in the session timeline, and fix Safari collapsing contentSized modal bodies (flex-auto).diff --git a/packages/trueforge-ui/src/atoms/MessageTimestamp.tsx b/packages/trueforge-ui/src/atoms/MessageTimestamp.tsxindex 348ae39ee..ca58c1d61 100644--- a/packages/trueforge-ui/src/atoms/MessageTimestamp.tsx+++ b/packages/trueforge-ui/src/atoms/MessageTimestamp.tsx@@ -1,6 +1,7 @@'use client';import { cn } from './lib/cn.js';+import { formatAbsoluteDateTime } from './lib/dateFormat.js';import { LightTooltip } from './primitives/Tooltip.js';function toDate(createdAt: Date | string | undefined): Date | null {@@ -20,17 +21,6 @@ function formatTime(date: Date): string {}).format(date);}-function formatFullDate(date: Date): string {- return new Intl.DateTimeFormat(undefined, {- month: 'short',- day: 'numeric',- year: 'numeric',- hour: 'numeric',- minute: '2-digit',- hour12: true,- }).format(date);-}-export type MessageTimestampProps = {createdAt?: Date | string;className?: string;@@ -44,7 +34,7 @@ export function MessageTimestamp({ createdAt, className }: MessageTimestampProps}return (- <LightTooltip title={formatFullDate(date)} size="fit" side="bottom">+ <LightTooltip title={formatAbsoluteDateTime(date)} size="fit" side="bottom"><span className={cn('text-xs font-medium cursor-pointer leading-normal shrink-0 text-text-secondary', className)}>{formatTime(date)}</span>diff --git a/packages/trueforge-ui/src/atoms/agent-details/AgentSessionListRow.tsx b/packages/trueforge-ui/src/atoms/agent-details/AgentSessionListRow.tsxindex 2e41323ee..ddf37d810 100644--- a/packages/trueforge-ui/src/atoms/agent-details/AgentSessionListRow.tsx+++ b/packages/trueforge-ui/src/atoms/agent-details/AgentSessionListRow.tsx@@ -5,6 +5,7 @@ import { useSlot } from '../../theme/SlotsProvider.js';import { formatSessionListMetrics } from '../../utils/sessionDisplayFormat.js';import { auiButtonClass } from '../lib/buttonClasses.js';import { cn } from '../lib/cn.js';+import { formatAbsoluteDateTime } from '../lib/dateFormat.js';import { formatRelativeShort } from '../lib/threadListMeta.js';import { DropdownMenu, DropdownMenuItem } from '../primitives/DropdownMenu.js';import { Tooltip } from '../primitives/Tooltip.js';@@ -22,7 +23,9 @@ export function AgentSessionListRow({canDelete = true,}: AgentSessionListRowProps) {const PermissionGuard = useSlot('PermissionGuard');- const relative = formatRelativeShort(new Date(lastActivityAt));+ const activityAt = new Date(lastActivityAt);+ const relative = formatRelativeShort(activityAt);+ const absolute = formatAbsoluteDateTime(activityAt);return (<div@@ -96,7 +99,9 @@ export function AgentSessionListRow({<span aria-hidden="true">·</span></>) : null}- <span>{relative}</span>+ <Tooltip content={absolute} side="bottom">+ <span>{relative}</span>+ </Tooltip></span><span className="shrink-0 tabular-nums">{formatSessionListMetrics(metrics)}</span></button>diff --git a/packages/trueforge-ui/src/atoms/draft/AgentModelEditorContent.tsx b/packages/trueforge-ui/src/atoms/draft/AgentModelEditorContent.tsxindex 1d96276db..3f8ed90ea 100644--- a/packages/trueforge-ui/src/atoms/draft/AgentModelEditorContent.tsx+++ b/packages/trueforge-ui/src/atoms/draft/AgentModelEditorContent.tsx@@ -111,13 +111,13 @@ export function AgentModelEditorContent({if (compact) {if (compactProvider === null) {return (- <div className="flex min-h-0 flex-1 flex-col">+ <div className="flex min-h-0 flex-auto flex-col"><div className="shrink-0 border-b border-border px-3 py-2"><p className="text-text-primary mb-2 text-base font-medium">Select provider</p>{search}</div>{error ? <p className="text-failure-bg px-3 pt-3 text-sm">{error}</p> : null}- <div className="min-h-0 flex-1 overflow-y-auto p-2">+ <div className="min-h-0 flex-auto overflow-y-auto p-2">{visibleProviders.length === 0 ? (<p className="text-text-secondary px-2 py-6 text-center text-sm" role="status">{loading ? 'Loading…' : 'No providers'}@@ -145,7 +145,7 @@ export function AgentModelEditorContent({}return (- <div className="flex min-h-0 flex-1 flex-col">+ <div className="flex min-h-0 flex-auto flex-col"><div className="shrink-0 border-b border-border px-3 py-2"><div className="mb-2 flex items-center gap-1"><buttondiff --git a/packages/trueforge-ui/src/atoms/draft/DraftModelCatalogPanel.tsx b/packages/trueforge-ui/src/atoms/draft/DraftModelCatalogPanel.tsxindex c5cb78d6c..657e9e5e8 100644--- a/packages/trueforge-ui/src/atoms/draft/DraftModelCatalogPanel.tsx+++ b/packages/trueforge-ui/src/atoms/draft/DraftModelCatalogPanel.tsx@@ -127,7 +127,7 @@ export function DraftModelCatalogPanel({id={listboxId}role="listbox"aria-label="Select model"- className="flex min-h-0 flex-1 flex-col overflow-y-auto p-1"+ className="flex min-h-0 flex-auto flex-col overflow-y-auto p-1">{filtered.length === 0 ? (<DraftCatalogEmptyStatediff --git a/packages/trueforge-ui/src/atoms/lib/dateFormat.ts b/packages/trueforge-ui/src/atoms/lib/dateFormat.tsnew file mode 100644index 000000000..af071542e--- /dev/null+++ b/packages/trueforge-ui/src/atoms/lib/dateFormat.ts@@ -0,0 +1,11 @@+/** Absolute local date+time for tooltips (e.g. "Apr 5, 2026, 2:03 PM"). */+export function formatAbsoluteDateTime(date: Date): string {+ return new Intl.DateTimeFormat(undefined, {+ month: 'short',+ day: 'numeric',+ year: 'numeric',+ hour: 'numeric',+ minute: '2-digit',+ hour12: true,+ }).format(date);+}diff --git a/packages/trueforge-ui/src/atoms/primitives/CenteredModal.tsx b/packages/trueforge-ui/src/atoms/primitives/CenteredModal.tsxindex a26550ccc..2fee462c8 100644--- a/packages/trueforge-ui/src/atoms/primitives/CenteredModal.tsx+++ b/packages/trueforge-ui/src/atoms/primitives/CenteredModal.tsx@@ -111,7 +111,8 @@ export function CenteredModal({<Icon name="xmark" /></button></header>- <div className="flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto">{children}</div>+ {/* Safari collapses flex-1 (basis 0) + overflow inside fit-content/max-height dialogs to ~0 height. */}+ <div className="flex min-h-0 flex-auto flex-col overflow-x-hidden overflow-y-auto">{children}</div>{footer ? <div className="shrink-0 border-t border-border px-5 py-3">{footer}</div> : null}</dialog>);diff --git a/packages/trueforge-ui/src/atoms/schedules/scheduleRuns.ts b/packages/trueforge-ui/src/atoms/schedules/scheduleRuns.tsindex 04dc35e97..c4a51eb4d 100644--- a/packages/trueforge-ui/src/atoms/schedules/scheduleRuns.ts+++ b/packages/trueforge-ui/src/atoms/schedules/scheduleRuns.ts@@ -1,4 +1,5 @@import type { ScheduleRun, ScheduleRunStatus } from '../../server/types.js';+import { formatAbsoluteDateTime } from '../lib/dateFormat.js';export function isManualRun(name: string): boolean {return name.startsWith('manual-');@@ -29,12 +30,5 @@ export function formatScheduleRunInstant(iso: string | null): string {if (iso == null) return '—';const date = new Date(iso);if (Number.isNaN(date.getTime())) return '—';- return new Intl.DateTimeFormat(undefined, {- month: 'short',- day: 'numeric',- year: 'numeric',- hour: 'numeric',- minute: '2-digit',- hour12: true,- }).format(date);+ return formatAbsoluteDateTime(date);}diff --git a/packages/trueforge-ui/src/containers/AgentSessionTimelineContainer.tsx b/packages/trueforge-ui/src/containers/AgentSessionTimelineContainer.tsxindex 3cfd790e0..2346de2cd 100644--- a/packages/trueforge-ui/src/containers/AgentSessionTimelineContainer.tsx+++ b/packages/trueforge-ui/src/containers/AgentSessionTimelineContainer.tsx@@ -5,6 +5,8 @@ import { convertTurnsToThreadMessages } from '@truefoundry/assistant-ui-runtime'import { Suspense, useCallback, useEffect, useMemo, useRef, useState, type ComponentType } from 'react';import { Markdown, type MarkdownProps } from '../atoms/Markdown.js';+import { MessageActionBar } from '../atoms/MessageActionBar.js';+import type { UserMessageActionBarProps } from '../atoms/UserMessageActionBar.js';import { useServer } from '../server/ServerContext.js';import type { AgentChatServer, SessionEventItem } from '../server/types.js';import type { SlotOverrides } from '../theme/SlotsProvider.js';@@ -29,9 +31,13 @@ function ReadOnlyMarkdown(props: MarkdownProps) {);}+/** Copy + timestamp only — edit/retry are not meaningful in session details. */+function ReadOnlyUserMessageActionBar({ isCopied, onCopy, createdAt, className }: UserMessageActionBarProps) {+ return <MessageActionBar isCopied={isCopied} onCopy={onCopy} createdAt={createdAt} className={className} />;+}+const READ_ONLY_SLOT_OVERRIDES: SlotOverrides = {- UserMessageActionBar: () => <></>,- MessageActionBar: () => <></>,+ UserMessageActionBar: ReadOnlyUserMessageActionBar,Markdown: ReadOnlyMarkdown,};diff --git a/packages/trueforge-ui/src/containers/SettingsBuilder/CustomModelProviderForm.tsx b/packages/trueforge-ui/src/containers/SettingsBuilder/CustomModelProviderForm.tsxindex 4b135a699..c0bedbc3e 100644--- a/packages/trueforge-ui/src/containers/SettingsBuilder/CustomModelProviderForm.tsx+++ b/packages/trueforge-ui/src/containers/SettingsBuilder/CustomModelProviderForm.tsx@@ -260,14 +260,15 @@ const CustomModelProviderForm = ({contentSized><form- className="flex min-h-0 flex-1 flex-col"+ className="flex min-h-0 flex-auto flex-col"onSubmit={event => {event.preventDefault();void handleSubmit();}}>- {/* Scrollable body — generous bottom padding keeps expanded Advanced clear of the pinned footer */}- <div className="min-h-0 flex-1 space-y-4 overflow-y-auto px-5 pt-4 pb-8">+ {/* Scrollable body — generous bottom padding keeps expanded Advanced clear of the pinned footer.+ flex-auto (not flex-1): Safari collapses basis-0 overflow scrollers in fit-content dialogs. */}+ <div className="min-h-0 flex-auto space-y-4 overflow-y-auto px-5 pt-4 pb-8"><div><label htmlFor="custom-provider-name" className="mb-1.5 block text-sm font-medium text-text-primary">Namediff --git a/packages/trueforge-ui/src/utils/sessionTimelineEvents.ts b/packages/trueforge-ui/src/utils/sessionTimelineEvents.tsindex 9b1851e63..973095f42 100644--- a/packages/trueforge-ui/src/utils/sessionTimelineEvents.ts+++ b/packages/trueforge-ui/src/utils/sessionTimelineEvents.ts@@ -1,6 +1,12 @@import { MAIN_THREAD_ID } from './sessionEventTimeline.js';import type { SessionTurnView } from './sessionTurnViews.js';-import { parseSandboxArgs, SANDBOX_TOOL_NAMES } from './toolCallParsing.js';+import {+ MCP_META_TOOLS,+ mcpDisplayName,+ parseMcpToolArgs,+ parseSandboxArgs,+ SANDBOX_TOOL_NAMES,+} from './toolCallParsing.js';export type TimelineEvent = Record<string, unknown> & { type: string };@@ -123,10 +129,15 @@ export function getSubAgentDescription(event: TimelineEvent): string {export function toolCallDescription(toolCall: Record<string, unknown>): string {const fn = isRecord(toolCall.function) ? toolCall.function : undefined;const name = typeof fn?.name === 'string' ? fn.name : '';+ const argumentsJson = typeof fn?.arguments === 'string' ? fn.arguments : undefined;if (SANDBOX_TOOL_NAMES.has(name) || name === 'code_sandbox') {- const argumentsJson = typeof fn?.arguments === 'string' ? fn.arguments : undefined;const intent = parseSandboxArgs(argumentsJson).intent?.trim();return intent != null && intent.length > 0 ? intent : name;}+ // Deferred MCP wrappers store the real tool in args; surface it like ToolCallContainer.+ if (MCP_META_TOOLS.has(name)) {+ const { mcpServer, innerToolName } = parseMcpToolArgs(argumentsJson);+ return mcpDisplayName(name, mcpServer, innerToolName);+ }return name;}diff --git a/packages/trueforge-ui/src/utils/toolCallParsing.ts b/packages/trueforge-ui/src/utils/toolCallParsing.tsindex 8cbf0f5ff..e31f49bf0 100644--- a/packages/trueforge-ui/src/utils/toolCallParsing.ts+++ b/packages/trueforge-ui/src/utils/toolCallParsing.ts@@ -17,8 +17,8 @@ export const ASK_USER_TOOL_NAME = 'ask_user_question';/** Tool names that should be rendered as a sandbox execution card. */export const SANDBOX_TOOL_NAMES = new Set(['exec', 'sandbox_exec']);-/** MCP meta-tools that wrap actual tool calls. */-export const MCP_META_TOOLS = new Set(['call_tool', 'list_tools', 'get_tool_info']);+/** MCP meta-tools that wrap actual tool calls (deferred tool loading). */+export const MCP_META_TOOLS = new Set(['call_tool', 'list_tools', 'get_tool_info', 'get_tool_output_schema']);const APPROVAL_OPTION_DEFAULT_LABELS: Record<string, string> = {'allow-once': 'Allow',@@ -268,11 +268,14 @@ export function mcpDisplayName(mcpServer: string | undefined,innerToolName: string | undefined,): string {+ if (toolName === 'list_tools' && mcpServer) {+ return `list_tools (${mcpServer})`;+ }if (toolName === 'call_tool' && innerToolName) {return mcpServer ? `call_tool: ${innerToolName} (${mcpServer})` : `call_tool: ${innerToolName}`;}- if (toolName === 'get_tool_info' && innerToolName && mcpServer) {- return `get_tool_info: ${innerToolName} (${mcpServer})`;+ if ((toolName === 'get_tool_info' || toolName === 'get_tool_output_schema') && innerToolName && mcpServer) {+ return `${toolName}: ${innerToolName} (${mcpServer})`;}return toolName;}diff --git a/packages/trueforge-ui/test/atoms/MessageTimestamp.test.tsx b/packages/trueforge-ui/test/atoms/MessageTimestamp.test.tsxindex e54d5af12..c93423117 100644--- a/packages/trueforge-ui/test/atoms/MessageTimestamp.test.tsx+++ b/packages/trueforge-ui/test/atoms/MessageTimestamp.test.tsx@@ -1,6 +1,7 @@import { fireEvent, render, screen } from '@testing-library/react';import { describe, expect, it } from 'vitest';+import { formatAbsoluteDateTime } from '@/atoms/lib/dateFormat.js';import { MessageTimestamp } from '@/atoms/MessageTimestamp.js';const createdAt = new Date('2026-04-05T14:03:02.000Z');@@ -14,17 +15,6 @@ function expectedTime(date: Date): string {}).format(date);}-function expectedFullDate(date: Date): string {- return new Intl.DateTimeFormat(undefined, {- month: 'short',- day: 'numeric',- year: 'numeric',- hour: 'numeric',- minute: '2-digit',- hour12: true,- }).format(date);-}-describe('MessageTimestamp', () => {it('renders Date and ISO string values using the local time format', () => {const { rerender } = render(<MessageTimestamp createdAt={createdAt} className="host-timestamp" />);@@ -41,7 +31,7 @@ describe('MessageTimestamp', () => {fireEvent.focus(timestamp);- expect(screen.getByRole('tooltip')).toHaveTextContent(expectedFullDate(createdAt));+ expect(screen.getByRole('tooltip')).toHaveTextContent(formatAbsoluteDateTime(createdAt));fireEvent.blur(timestamp);expect(screen.queryByRole('tooltip')).not.toBeInTheDocument();});diff --git a/packages/trueforge-ui/test/atoms/lib/dateFormat.test.ts b/packages/trueforge-ui/test/atoms/lib/dateFormat.test.tsnew file mode 100644index 000000000..ba189d590--- /dev/null+++ b/packages/trueforge-ui/test/atoms/lib/dateFormat.test.ts@@ -0,0 +1,19 @@+import { describe, expect, it } from 'vitest';++import { formatAbsoluteDateTime } from '@/atoms/lib/dateFormat.js';++describe('formatAbsoluteDateTime', () => {+ it('formats with the shared absolute date+time options', () => {+ const date = new Date('2026-04-05T14:03:02.000Z');+ expect(formatAbsoluteDateTime(date)).toBe(+ new Intl.DateTimeFormat(undefined, {+ month: 'short',+ day: 'numeric',+ year: 'numeric',+ hour: 'numeric',+ minute: '2-digit',+ hour12: true,+ }).format(date),+ );+ });+});diff --git a/packages/trueforge-ui/test/atoms/primitives/CenteredModal.test.tsx b/packages/trueforge-ui/test/atoms/primitives/CenteredModal.test.tsxindex 0a0a147a6..ed110f549 100644--- a/packages/trueforge-ui/test/atoms/primitives/CenteredModal.test.tsx+++ b/packages/trueforge-ui/test/atoms/primitives/CenteredModal.test.tsx@@ -143,6 +143,8 @@ describe('CenteredModal', () => {expect(dialog).toHaveAttribute('aria-describedby', description.id);expect(dialog).toHaveClass('custom-modal');expect(dialog).toHaveStyle({ height: 'fit-content', maxHeight: '85dvh' });+ // flex-auto (not flex-1): Safari collapses basis-0 overflow scroll bodies in fit-content dialogs.+ expect(screen.getByText('Modal content').parentElement).toHaveClass('flex-auto');expect(screen.getByTestId('header-icon')).toBeInTheDocument();expect(screen.getByText('Modal content')).toBeInTheDocument();});diff --git a/packages/trueforge-ui/test/containers/AgentSessionTimelineContainer.test.tsx b/packages/trueforge-ui/test/containers/AgentSessionTimelineContainer.test.tsxindex ad3724969..ef0fc0470 100644--- a/packages/trueforge-ui/test/containers/AgentSessionTimelineContainer.test.tsx+++ b/packages/trueforge-ui/test/containers/AgentSessionTimelineContainer.test.tsx@@ -178,6 +178,7 @@ describe('AgentSessionTimelineContainer', () => {expect(await screen.findByText('Turn 1')).toBeInTheDocument();expect(screen.getByText('Turns')).toBeInTheDocument();expect(screen.getByText('Duration')).toBeInTheDocument();+ expect(await screen.findAllByRole('button', { name: 'Copy' })).not.toHaveLength(0);fireEvent.click(screen.getByRole('button', { name: 'timeline turns=1' }));await waitFor(() => {expect(scrollIntoView).toHaveBeenCalled();diff --git a/packages/trueforge-ui/test/utils/sessionEventTimeline.test.ts b/packages/trueforge-ui/test/utils/sessionEventTimeline.test.tsindex 5bf9f003c..8bd0f4990 100644--- a/packages/trueforge-ui/test/utils/sessionEventTimeline.test.ts+++ b/packages/trueforge-ui/test/utils/sessionEventTimeline.test.ts@@ -160,7 +160,11 @@ describe('buildSessionTimelineSegments', () => {const segments = buildSessionTimelineSegments(turns);assert.equal(- segments.some(segment => segment.type === 'sub_agent' && segment.description === 'Researcher'),+ segments.some(segment => segment.type === 'tool_call' && segment.description === 'search'),+ true,+ );+ assert.equal(+ segments.some(segment => segment.type === 'tool_call' && segment.description === 'lookup'),true,);assert.equal(@@ -187,6 +191,56 @@ describe('buildSessionTimelineSegments', () => {assert.equal(groups[0]?.segments.length, 2);});+ it('labels deferred MCP meta-tool bars with the underlying tool name', () => {+ const turns = buildSessionTurnViews([+ created({ turnId: 't1', createdAt: '2026-01-01T00:00:00.000Z' }),+ {+ turnId: 't1',+ event: {+ type: 'model.message',+ id: 'model-1',+ threadId: 'main',+ content: 'calling deferred tool',+ createdAt: '2026-01-01T00:00:01.000Z',+ toolCalls: [+ {+ id: 'call-deferred',+ type: 'function',+ function: {+ name: 'call_tool',+ arguments: JSON.stringify({+ mcp_server: 'github',+ tool_name: 'search_issues',+ input: { q: 'bug' },+ }),+ },+ },+ ],+ },+ },+ {+ turnId: 't1',+ event: {+ type: 'tool.response',+ id: 'resp-deferred',+ threadId: 'main',+ toolCallId: 'call-deferred',+ content: 'ok',+ createdAt: '2026-01-01T00:00:02.000Z',+ },+ },+ done({ turnId: 't1', createdAt: '2026-01-01T00:00:03.000Z' }),+ ]);++ const segments = buildSessionTimelineSegments(turns);+ assert.equal(+ segments.some(+ segment => segment.type === 'tool_call' && segment.description === 'call_tool: search_issues (github)',+ ),+ true,+ );+ });+it('waits only for the first sub-agent in a concurrent batch', () => {const subAgentEvents: SessionEventItem[] = [{diff --git a/packages/trueforge-ui/test/utils/sessionTimelineEvents.test.ts b/packages/trueforge-ui/test/utils/sessionTimelineEvents.test.tsindex 6030385b9..a8abe0724 100644--- a/packages/trueforge-ui/test/utils/sessionTimelineEvents.test.ts+++ b/packages/trueforge-ui/test/utils/sessionTimelineEvents.test.ts@@ -23,4 +23,35 @@ describe('toolCallDescription', () => {expect(toolCallDescription({ function: { name: 'exec', arguments: '{"command":"ls"}' } })).toBe('exec');expect(toolCallDescription({ function: { name: 'search', arguments: '{"q":"x"}' } })).toBe('search');});++ it('unwraps deferred MCP meta-tool args so the real tool name is visible', () => {+ expect(+ toolCallDescription({+ function: {+ name: 'call_tool',+ arguments: JSON.stringify({+ mcp_server: 'github',+ tool_name: 'search_issues',+ input: { q: 'bug' },+ }),+ },+ }),+ ).toBe('call_tool: search_issues (github)');+ expect(+ toolCallDescription({+ function: {+ name: 'get_tool_info',+ arguments: JSON.stringify({ mcp_server: 'linear', tool_name: 'create_issue' }),+ },+ }),+ ).toBe('get_tool_info: create_issue (linear)');+ expect(+ toolCallDescription({+ function: {+ name: 'list_tools',+ arguments: JSON.stringify({ mcp_server: 'slack-workspace' }),+ },+ }),+ ).toBe('list_tools (slack-workspace)');+ });});diff --git a/packages/trueforge-ui/test/utils/toolCallParsing.test.ts b/packages/trueforge-ui/test/utils/toolCallParsing.test.tsindex 1653bd54b..40f000439 100644--- a/packages/trueforge-ui/test/utils/toolCallParsing.test.ts+++ b/packages/trueforge-ui/test/utils/toolCallParsing.test.ts@@ -79,6 +79,10 @@ describe('toolCallParsing', () => {input: { q: 'x' },});expect(mcpDisplayName('call_tool', 'github', 'search')).toBe('call_tool: search (github)');+ expect(mcpDisplayName('list_tools', 'github', undefined)).toBe('list_tools (github)');+ expect(mcpDisplayName('get_tool_output_schema', 'github', 'search')).toBe(+ 'get_tool_output_schema: search (github)',+ );});it('pretty-prints json display values', () => {