chore(release): update version to 0.4.0-rc.1

This commit is contained in:
Nathan Flurry 2026-03-15 20:34:01 -07:00
parent cf7e2a92c6
commit 2f9f25ae54
28 changed files with 72 additions and 40 deletions

View file

@ -1234,7 +1234,7 @@ export function buildInitialTasks(): Task[] {
updatedAtMs: minutesAgo(40),
branch: "perf/transcript-virtualizer",
pullRequest: null,
tabs: [
sessions: [
{
id: "stress-transcript-tab",
sessionId: "stress-transcript-session",

View file

@ -939,7 +939,7 @@ const TranscriptPanel = memo(function TranscriptPanel({
messageRefs={messageRefs}
historyEvents={historyEvents}
onSelectHistoryEvent={jumpToHistoryEvent}
targetMessageId={pendingHistoryTarget && activeTabId === pendingHistoryTarget.tabId ? pendingHistoryTarget.messageId : null}
targetMessageId={pendingHistoryTarget && activeSessionId === pendingHistoryTarget.sessionId ? pendingHistoryTarget.messageId : null}
onTargetMessageResolved={() => setPendingHistoryTarget(null)}
copiedMessageId={copiedMessageId}
onCopyMessage={(message) => {

View file

@ -1,4 +1,7 @@
import { AgentTranscript, type AgentTranscriptClassNames, type TranscriptEntry } from "@sandbox-agent/react";
import { AgentTranscript as AgentTranscript_, type AgentTranscriptClassNames, type TranscriptEntry } from "@sandbox-agent/react";
// Cast to work around React 18/19 type incompatibility between @sandbox-agent/react and foundry
const AgentTranscript = AgentTranscript_ as unknown as (props: Record<string, unknown>) => JSX.Element;
import { memo, useEffect, useMemo, type MutableRefObject, type RefObject } from "react";
import { useStyletron } from "baseui";
import { LabelSmall, LabelXSmall } from "baseui/typography";
@ -291,7 +294,7 @@ export const MessageList = memo(function MessageList({
scrollRef={scrollRef}
scrollToEntryId={targetMessageId}
virtualize
renderMessageText={(entry) => {
renderMessageText={(entry: TranscriptEntry) => {
if (entry.id === PENDING_MESSAGE_ID && pendingMessage) {
const pendingMsg: Message = {
id: PENDING_MESSAGE_ID,