@tangle-network/sandbox-ui 7.0.0 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import { AgentTimeline as AgentTimeline$1, AgentTimelineArtifactItem, AgentTimelineColumn, AgentTimelineCustomItem, AgentTimelineFoldItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineStep, AgentTimelineStepKind, AgentTimelineStepProps, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatAuthor, ChatContainer as ChatContainer$1, ChatContainerProps as ChatContainerProps$1, ChatMessage as ChatMessage$1, ChatMessageProps, MessageAuthor, MessageAuthorProps, MessageList, MessageListProps, MessageRole, MessageRole as MessageRole$1, Speaker, SpeakerHeader, SpeakerHeaderProps, SpeakerPart, SpeakerSection, SpeakerState, TRANSCRIPT_TEXT, ThinkingIndicator, ThinkingIndicatorProps, UserMessage, UserMessageProps, agentTimelineStepKind, foldSummary, isViewerMessage, partitionBySpeaker } from "@tangle-network/ui/chat";
2
+ import { AgentTimeline as AgentTimeline$1, AgentTimelineArtifactItem, AgentTimelineColumn as AgentTimelineColumn$1, AgentTimelineCustomItem, AgentTimelineFoldItem, AgentTimelineItem, AgentTimelineMessageItem, AgentTimelineProps, AgentTimelineStatusItem, AgentTimelineStep, AgentTimelineStepKind, AgentTimelineStepProps, AgentTimelineTone, AgentTimelineToolGroupItem, AgentTimelineToolItem, ChatAuthor, ChatContainer as ChatContainer$1, ChatContainerProps as ChatContainerProps$1, ChatMessage as ChatMessage$1, ChatMessageProps, MessageAuthor, MessageAuthorProps, MessageList, MessageListProps, MessageRole, MessageRole as MessageRole$1, Speaker, SpeakerHeader, SpeakerHeaderProps, SpeakerPart, SpeakerSection, SpeakerState, TRANSCRIPT_TEXT, ThinkingIndicator, ThinkingIndicatorProps, UserMessage, UserMessageProps, agentTimelineStepKind, foldSummary, isViewerMessage, partitionBySpeaker } from "@tangle-network/ui/chat";
3
3
  import { HarnessType, ReasoningEffort, modelProvider, snapHarnessToModel } from "@tangle-network/agent-interface";
4
4
  import * as DropdownMenu from "@radix-ui/react-dropdown-menu";
5
5
  /**
@@ -210,4 +210,4 @@ interface ArtifactAgentDockProps {
210
210
  * consumer's job on whatever button toggles `open`.
211
211
  */
212
212
  declare function ArtifactAgentDock({ scope, open, onOpenChange, transport, defaultPrompt, onError, className }: ArtifactAgentDockProps): React$1.JSX.Element | null;
213
- export { AgentProfilePicker as $, SpeakerSection as A, partitionBySpeaker as B, MessageList as C, SpeakerHeader as D, Speaker as E, UserMessage as F, ArtifactDockStreamEvent as G, ArtifactAgentDockProps as H, UserMessageProps as I, modelProvider as J, ArtifactKind as K, agentTimelineStepKind as L, TRANSCRIPT_TEXT as M, ThinkingIndicator as N, SpeakerHeaderProps as O, ThinkingIndicatorProps as P, AgentProfileOption as Q, foldSummary as R, MessageAuthorProps as S, MessageRole$1 as T, ArtifactAgentDockTransport as U, ArtifactAgentDock as V, ArtifactDockMessage as W, AgentProfileCapability as X, snapHarnessToModel as Y, AgentProfileDraft as Z, ChatContainer$1 as _, AgentTimelineFoldItem as a, ReasoningLevelPicker as at, ChatMessageProps as b, AgentTimelineProps as c, AgentTimelineStepKind as d, AgentProfilePickerProps as et, AgentTimelineStepProps as f, ChatAuthor as g, AgentTimelineToolItem as h, AgentTimelineCustomItem as i, ReasoningLevelOption as it, SpeakerState as j, SpeakerPart as k, AgentTimelineStatusItem as l, AgentTimelineToolGroupItem as m, AgentTimelineArtifactItem as n, HARNESS_REASONING_OPTIONS as nt, AgentTimelineItem as o, ReasoningLevelPickerProps as ot, AgentTimelineTone as p, ArtifactScope as q, AgentTimelineColumn as r, ReasoningLevel as rt, AgentTimelineMessageItem as s, AgentTimeline$1 as t, DEFAULT_REASONING_LEVEL_OPTIONS as tt, AgentTimelineStep as u, ChatContainerProps$1 as v, MessageListProps as w, MessageAuthor as x, ChatMessage$1 as y, isViewerMessage as z };
213
+ export { AgentProfilePicker as $, SpeakerSection as A, partitionBySpeaker as B, MessageList as C, SpeakerHeader as D, Speaker as E, UserMessage as F, ArtifactDockStreamEvent as G, ArtifactAgentDockProps as H, UserMessageProps as I, modelProvider as J, ArtifactKind as K, agentTimelineStepKind as L, TRANSCRIPT_TEXT as M, ThinkingIndicator as N, SpeakerHeaderProps as O, ThinkingIndicatorProps as P, AgentProfileOption as Q, foldSummary as R, MessageAuthorProps as S, MessageRole$1 as T, ArtifactAgentDockTransport as U, ArtifactAgentDock as V, ArtifactDockMessage as W, AgentProfileCapability as X, snapHarnessToModel as Y, AgentProfileDraft as Z, ChatContainer$1 as _, AgentTimelineFoldItem as a, ReasoningLevelPicker as at, ChatMessageProps as b, AgentTimelineProps as c, AgentTimelineStepKind as d, AgentProfilePickerProps as et, AgentTimelineStepProps as f, ChatAuthor as g, AgentTimelineToolItem as h, AgentTimelineCustomItem as i, ReasoningLevelOption as it, SpeakerState as j, SpeakerPart as k, AgentTimelineStatusItem as l, AgentTimelineToolGroupItem as m, AgentTimelineArtifactItem as n, HARNESS_REASONING_OPTIONS as nt, AgentTimelineItem as o, ReasoningLevelPickerProps as ot, AgentTimelineTone as p, ArtifactScope as q, AgentTimelineColumn$1 as r, ReasoningLevel as rt, AgentTimelineMessageItem as s, AgentTimeline$1 as t, DEFAULT_REASONING_LEVEL_OPTIONS as tt, AgentTimelineStep as u, ChatContainerProps$1 as v, MessageListProps as w, MessageAuthor as x, ChatMessage$1 as y, isViewerMessage as z };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as LoginLayout, c as UserMenu, d as TangleLoginButtonProps, i as GitHubLoginButtonProps, l as UserMenuProps, n as AuthHeaderProps, o as LoginLayoutProps, r as GitHubLoginButton, s as SessionUser, t as AuthHeader, u as TangleLoginButton } from "./index-BbfWVtZq.js";
2
- import { $ as AgentProfilePicker, A as SpeakerSection, B as partitionBySpeaker, C as MessageList, D as SpeakerHeader, E as Speaker, F as UserMessage, G as ArtifactDockStreamEvent, H as ArtifactAgentDockProps, I as UserMessageProps, J as modelProvider, K as ArtifactKind, L as agentTimelineStepKind, M as TRANSCRIPT_TEXT, N as ThinkingIndicator, O as SpeakerHeaderProps, P as ThinkingIndicatorProps, Q as AgentProfileOption, R as foldSummary, S as MessageAuthorProps, T as MessageRole, U as ArtifactAgentDockTransport, V as ArtifactAgentDock, W as ArtifactDockMessage, X as AgentProfileCapability, Y as snapHarnessToModel, Z as AgentProfileDraft, _ as ChatContainer, a as AgentTimelineFoldItem, at as ReasoningLevelPicker, b as ChatMessageProps, c as AgentTimelineProps, d as AgentTimelineStepKind, et as AgentProfilePickerProps, f as AgentTimelineStepProps, g as ChatAuthor, h as AgentTimelineToolItem, i as AgentTimelineCustomItem, it as ReasoningLevelOption, j as SpeakerState, k as SpeakerPart, l as AgentTimelineStatusItem, m as AgentTimelineToolGroupItem, n as AgentTimelineArtifactItem, nt as HARNESS_REASONING_OPTIONS, o as AgentTimelineItem, ot as ReasoningLevelPickerProps, p as AgentTimelineTone, q as ArtifactScope, r as AgentTimelineColumn, rt as ReasoningLevel, s as AgentTimelineMessageItem, t as AgentTimeline, tt as DEFAULT_REASONING_LEVEL_OPTIONS, u as AgentTimelineStep, v as ChatContainerProps, w as MessageListProps, x as MessageAuthor, y as ChatMessage, z as isViewerMessage } from "./index-5zOVKgDT.js";
2
+ import { $ as AgentProfilePicker, A as SpeakerSection, B as partitionBySpeaker, C as MessageList, D as SpeakerHeader, E as Speaker, F as UserMessage, G as ArtifactDockStreamEvent, H as ArtifactAgentDockProps, I as UserMessageProps, J as modelProvider, K as ArtifactKind, L as agentTimelineStepKind, M as TRANSCRIPT_TEXT, N as ThinkingIndicator, O as SpeakerHeaderProps, P as ThinkingIndicatorProps, Q as AgentProfileOption, R as foldSummary, S as MessageAuthorProps, T as MessageRole, U as ArtifactAgentDockTransport, V as ArtifactAgentDock, W as ArtifactDockMessage, X as AgentProfileCapability, Y as snapHarnessToModel, Z as AgentProfileDraft, _ as ChatContainer, a as AgentTimelineFoldItem, at as ReasoningLevelPicker, b as ChatMessageProps, c as AgentTimelineProps, d as AgentTimelineStepKind, et as AgentProfilePickerProps, f as AgentTimelineStepProps, g as ChatAuthor, h as AgentTimelineToolItem, i as AgentTimelineCustomItem, it as ReasoningLevelOption, j as SpeakerState, k as SpeakerPart, l as AgentTimelineStatusItem, m as AgentTimelineToolGroupItem, n as AgentTimelineArtifactItem, nt as HARNESS_REASONING_OPTIONS, o as AgentTimelineItem, ot as ReasoningLevelPickerProps, p as AgentTimelineTone, q as ArtifactScope, r as AgentTimelineColumn, rt as ReasoningLevel, s as AgentTimelineMessageItem, t as AgentTimeline, tt as DEFAULT_REASONING_LEVEL_OPTIONS, u as AgentTimelineStep, v as ChatContainerProps, w as MessageListProps, x as MessageAuthor, y as ChatMessage, z as isViewerMessage } from "./index-1Q4Jtlic.js";
3
3
  import { $ as SandboxTable, $t as Sidebar, A as MetricChartPoint, At as SIDEBAR_TOTAL_WIDTH, B as ProductVariant, Bt as RailButton, C as UsageSummary, Ct as OutOfCreditsModal, D as SystemLogsViewerProps, Dt as SIDEBAR_PANEL_WIDTH, E as SystemLogsViewer, Et as SIDEBAR_MOBILE_WIDTH, F as SidebarLayoutProps, Ft as RailTooltipProps, G as HARNESS_OPTIONS, Gt as RailFlyout, H as HarnessBrand, Ht as RailExpandable, I as DashboardLayout, It as McpServer, J as HarnessType, Jt as RailHeaderProps, K as HarnessPicker, Kt as RailFlyoutProps, L as DashboardLayoutProps, Lt as AppearanceController, M as SidebarLayout, Mt as SidebarProviderProps, N as SidebarLayoutFlyoutItem, Nt as useSidebar, O as MetricAreaChart, Ot as SIDEBAR_RAIL_LABELED_WIDTH, P as SidebarLayoutNavItem, Pt as RailTooltip, Q as BackendSelectorProps, Qt as RailSeparatorProps, R as DashboardUser, Rt as ProfileAvatar, S as GitStatusData, St as InsufficientBalance, T as UsageSummaryProps, Tt as parseInsufficientBalance, U as HarnessLogo, Ut as RailExpandableProps, V as HARNESS_BRAND, Vt as RailButtonProps, W as HarnessLogoProps, Wt as RailExpandableSubItem, X as Backend, Xt as RailModeButtonProps, Y as chatCapableHarnesses, Yt as RailModeButton, Z as BackendSelector, Zt as RailSeparator, _ as PortsList, _t as ResourceSnapshotItem, a as PromoBanner, an as SidebarPanelHeader, at as NewSandboxCard, b as GitPanel, bt as ResourceMeterProps, c as SnapshotList, cn as SidebarProps, ct as SandboxCardData, d as ProcessList, dn as SidebarRailFooterProps, dt as TeamRole, en as SidebarContent, et as SandboxTableProps, f as ProcessListProps, fn as SidebarRailNav, ft as canAdminSandbox, g as ExposedPort, gn as ThemeMode, gt as ResourceSnapshot, h as TemplateCardProps, hn as SidebarUser, ht as ActivityItem, i as SandboxPageShellProps, in as SidebarPanelContentProps, it as sandboxStatus, j as MetricChartTone, jt as SidebarProvider, k as MetricAreaChartProps, kt as SIDEBAR_RAIL_WIDTH, l as SnapshotListProps, ln as SidebarRail, lt as SandboxCardProps, m as TemplateCardData, mn as SidebarRailProps, mt as ActivityFeedProps, n as DashboardPageHeaderProps, nn as SidebarPanel, nt as SandboxStatusPill, o as PromoBannerProps, on as SidebarPanelHeaderProps, ot as NewSandboxCardProps, p as TemplateCard, pn as SidebarRailNavProps, pt as ActivityFeed, q as HarnessPickerProps, qt as RailHeader, r as SandboxPageShell, rn as SidebarPanelContent, rt as SandboxStatusPillProps, s as SnapshotInfo, sn as SidebarPanelProps, st as SandboxCard, t as DashboardPageHeader, tn as SidebarContentProps, tt as SANDBOX_STATUS, u as ProcessInfo, un as SidebarRailFooter, ut as SandboxStatus, v as PortsListProps, vt as ResourceSnapshotProps, w as UsageSummaryData, wt as OutOfCreditsModalProps, x as GitPanelProps, xt as INSUFFICIENT_BALANCE_CODE, y as GitCommitData, yt as ResourceMeter, z as NavItem, zt as ProfileAvatarProps } from "./index-CZGOlm0p.js";
4
4
  import { a as canonicalModelId, i as ProviderMark, n as ModelBrandStack, o as modelBrandFor, r as ModelInfo, t as ModelBrandIdentity } from "./model-brand-ZwVS49Fq.js";
5
5
  import { a as PricingPageProps, c as BillingBalance, d as BillingSubscription, f as BillingUsage, i as PricingPage, l as BillingDashboard, n as UsageChartProps, o as PricingTier, r as UsageDataPoint, s as formatPrice, t as UsageChart, u as BillingDashboardProps } from "./usage-chart-BFpdkqNq.js";
package/dist/index.js CHANGED
@@ -14,12 +14,12 @@ import { a as CodeSurface, i as CODE_THEME, n as buildUnifiedPatch, r as compute
14
14
  import { n as FileBreadcrumb, t as CodeView } from "./code-view-BlhCS1SD.js";
15
15
  import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-DXsoPale.js";
16
16
  import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui.js";
17
- import { S as ReasoningLevelPicker, _ as modelProvider, a as ChatMessage, b as DEFAULT_REASONING_LEVEL_OPTIONS, c as SpeakerHeader, d as UserMessage, f as agentTimelineStepKind, g as ArtifactAgentDock, h as partitionBySpeaker, i as ChatContainer, l as TRANSCRIPT_TEXT, m as isViewerMessage, n as AgentTimelineColumn, o as MessageAuthor, p as foldSummary, r as AgentTimelineStep, s as MessageList, t as AgentTimeline, u as ThinkingIndicator, v as snapHarnessToModel, x as HARNESS_REASONING_OPTIONS, y as AgentProfilePicker } from "./chat-BrlLa4rg.js";
18
- import { a as useEventStream, i as useAgentStream, n as LatestEvents, o as TraceWaterfall, r as foldAgentRows, s as traceSpanMark, t as TraceWorkspace } from "./trace-workspace-WJTjp2Id.js";
19
- import { S as model_exports, i as ToolStep, r as PromptMore, s as timelineItems, w as recordFlowTrace, y as indexRecord } from "./use-follow-tail-Di1zlndg.js";
20
- import { n as Conversation, t as AgentTree } from "./AgentTree-abRugBMr.js";
21
- import { t as withPrompts } from "./record-hTSz-cf1.js";
22
- import { ApprovalCard, ApprovalDiffSummary, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LiveDuration, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon, TaskList, ToolCallFeed, isOpen, parseToolEvent, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus } from "./run.js";
17
+ import { S as ReasoningLevelPicker, _ as modelProvider, a as ChatMessage, b as DEFAULT_REASONING_LEVEL_OPTIONS, c as SpeakerHeader, d as UserMessage, f as agentTimelineStepKind, g as ArtifactAgentDock, h as partitionBySpeaker, i as ChatContainer, l as TRANSCRIPT_TEXT, m as isViewerMessage, n as AgentTimelineColumn, o as MessageAuthor, p as foldSummary, r as AgentTimelineStep, s as MessageList, t as AgentTimeline, u as ThinkingIndicator, v as snapHarnessToModel, x as HARNESS_REASONING_OPTIONS, y as AgentProfilePicker } from "./chat-B_5Lwevm.js";
18
+ import { a as TraceWaterfall, i as useEventStream, n as foldAgentRows, o as traceSpanMark, r as useAgentStream, t as TraceWorkspace } from "./trace-workspace-EArXc0uP.js";
19
+ import { S as model_exports, i as ToolStep, r as PromptMore, s as timelineItems, w as recordFlowTrace, y as indexRecord } from "./use-follow-tail-Df965WQi.js";
20
+ import { _ as showsTaskPriority, a as InlineToolItem, b as taskStatus, c as RunPhaseList, d as RunStatusIcon, f as TaskList, g as runStatus, h as parseToolEvent, i as InlineThinkingItem, l as RunRowShell, m as isOpen, n as ApprovalDiffSummary, o as LiveDuration, p as ToolCallFeed, r as ExpandedToolDetail, s as RunGroup, t as ApprovalCard, u as RunRowStatusDot, v as statusMeta, x as LatestEvents, y as taskProgress } from "./run-CpJ_COuz.js";
21
+ import { n as Conversation, t as AgentTree } from "./AgentTree-Dzy6lrfP.js";
22
+ import { t as withPrompts } from "./record-Cc_WNtG8.js";
23
23
  import "./vault-tree.js";
24
24
  import { a as TangleLoginButton, i as UserMenu, n as GitHubLoginButton, r as LoginLayout, t as AuthHeader } from "./auth-BDpoZ_2f.js";
25
25
  import { i as useSessionStream, t as useSidecarAuth } from "./use-sidecar-auth-D9BrWCg1.js";
@@ -1 +1 @@
1
- export { t as ResearchReport } from "../ResearchReport-BPOmsUFI.js";
1
+ export { t as ResearchReport } from "../ResearchReport-DKWDmzdK.js";
@@ -1,6 +1,6 @@
1
1
  import "./VirtualList-DcSGbEtA.js";
2
- import "./use-follow-tail-Di1zlndg.js";
3
- import "./AgentTree-abRugBMr.js";
2
+ import "./use-follow-tail-Df965WQi.js";
3
+ import "./AgentTree-Dzy6lrfP.js";
4
4
  // src/run/record/prompts.ts
5
5
  /** The conversation needs an opening prompt even when the provider did not retain its first user turn. */
6
6
  function withPrompts(record) {
package/dist/record.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as AgentRecord, t as ResearchReport } from "./ResearchReport-BPOmsUFI.js";
1
+ import { n as AgentRecord, t as ResearchReport } from "./ResearchReport-DKWDmzdK.js";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useMemo, useRef, useState } from "react";
4
4
  import { useColorMode } from "@tangle-network/charts/react/agent-graph/presentation";