The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(dev): correct mock script import path in ToolCallGallery
Steven Enamakel6ca6a3ea041a
diff --git a/app/src/pages/dev/ToolCallGallery.tsx b/app/src/pages/dev/ToolCallGallery.tsxindex d087a146e4..9d35279d31 100644--- a/app/src/pages/dev/ToolCallGallery.tsx+++ b/app/src/pages/dev/ToolCallGallery.tsx@@ -8,12 +8,14 @@*/import { useState } from 'react';+import { MessageQueue } from '../../components/assistant-ui/elements/message-queue';import { ToolTimeline } from '../../components/assistant-ui/elements/tool-timeline';import { AssistantUiToolCallCard } from '../../features/conversations/components/AssistantUiToolCall';import coreToolNames from '../../features/conversations/tools/__fixtures__/coreToolNames.json';import { ToolIcon } from '../../features/conversations/tools/ToolIcon';import { describeToolCall, toolLabel } from '../../features/conversations/tools/toolPresentation';import { useT } from '../../lib/i18n/I18nContext';+import { MOCK_MESSAGE_QUEUE } from './assistant-ui-demo/assistantUiMock/mockScript';const SEARCH_RESULT = ['Search results for: rust async traits (via Exa)',@@ -178,6 +180,22 @@ export default function ToolCallGallery() {/></section>+ <section className="flex flex-col gap-1">+ <h2 className="text-foreground/60 mb-2 text-xs font-medium uppercase">Message queue</h2>+ <MessageQueue+ data-testid="tool-gallery-message-queue"+ running={MOCK_MESSAGE_QUEUE.running}+ queued={MOCK_MESSAGE_QUEUE.queued}+ onCancel={() => {}}+ runningLabel={t('chat.messageQueue.running')}+ queuedLabel={count =>+ t('chat.messageQueue.queuedCount').replace('{count}', String(count))+ }+ pendingHint={t('chat.messageQueue.pendingHint')}+ removeLabel={text => t('chat.messageQueue.remove').replace('{text}', text)}+ />+ </section>+<section><h2 className="text-foreground/60 mb-2 text-xs font-medium uppercase">Core catalog ({(coreToolNames as string[]).length})diff --git a/app/src/pages/dev/assistant-ui-demo/assistantUiMock/mockScript.ts b/app/src/pages/dev/assistant-ui-demo/assistantUiMock/mockScript.tsindex 72380db4e3..aae2383d4b 100644--- a/app/src/pages/dev/assistant-ui-demo/assistantUiMock/mockScript.ts+++ b/app/src/pages/dev/assistant-ui-demo/assistantUiMock/mockScript.ts@@ -281,3 +281,16 @@ export function buildSeedMessages() {},];}++/**+ * A running turn with follow-ups queued behind it, for the message-queue+ * element in the dev gallery (`/dev/tools`). Shaped like the core's run queue+ * (`queue_item_queued` → `{ id, text_preview }`) projected to element props.+ */+export const MOCK_MESSAGE_QUEUE = {+ running: SEED_PROMPT,+ queued: [+ { id: 'mock-queue-1', text: 'Then compare it with the legacy composer.' },+ { id: 'mock-queue-2', text: 'And list anything that still renders a custom card.' },+ ],+} as const;