mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 06:04:43 +00:00
chore(release): update version to 0.4.0-rc.1
This commit is contained in:
parent
cf7e2a92c6
commit
2f9f25ae54
28 changed files with 72 additions and 40 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue