@tangle-network/sandbox-ui 7.0.1 → 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.
package/dist/index.js CHANGED
@@ -15,9 +15,9 @@ 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
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-B7Ht17Nh.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
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-DBHKEnV_.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
21
  import { n as Conversation, t as AgentTree } from "./AgentTree-Dzy6lrfP.js";
22
22
  import { t as withPrompts } from "./record-Cc_WNtG8.js";
23
23
  import "./vault-tree.js";
package/dist/run/live.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as WorkspaceFilesPane } from "../workspace-files-pane-D24G7H_Z.js";
2
2
  import { t as DiffView } from "../diff-view-B9mNeTLF.js";
3
3
  import { t as CodeView } from "../code-view-BlhCS1SD.js";
4
- import { i as useEventStream, t as TraceWorkspace } from "../trace-workspace-B7Ht17Nh.js";
4
+ import { i as useEventStream, t as TraceWorkspace } from "../trace-workspace-EArXc0uP.js";
5
5
  import { useDocument } from "../hooks/use-document.js";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -1,4 +1,4 @@
1
- import "./trace-workspace-B7Ht17Nh.js";
1
+ import "./trace-workspace-EArXc0uP.js";
2
2
  import "./record-Cc_WNtG8.js";
3
3
  import { ApprovalCard, ApprovalDiffSummary, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LiveDuration, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon as RunStatusIcon$1, TaskList, ToolCallFeed, isOpen, parseToolEvent, runStatus as runStatus$1, showsTaskPriority, statusMeta as statusMeta$1, taskProgress, taskStatus } from "@tangle-network/ui/run";
4
4
  import { LatestEvents } from "@tangle-network/charts/react/agent-graph";
package/dist/run.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as VirtualList } from "./VirtualList-DcSGbEtA.js";
2
- import { a as TraceWaterfall, i as useEventStream, n as foldAgentRows, o as traceSpanMark, r as useAgentStream, t as TraceWorkspace } from "./trace-workspace-B7Ht17Nh.js";
2
+ import { a as TraceWaterfall, i as useEventStream, n as foldAgentRows, o as traceSpanMark, r as useAgentStream, t as TraceWorkspace } from "./trace-workspace-EArXc0uP.js";
3
3
  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";
4
- 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-DBHKEnV_.js";
4
+ 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";
5
5
  import { n as Conversation, t as AgentTree } from "./AgentTree-Dzy6lrfP.js";
6
6
  import { t as withPrompts } from "./record-Cc_WNtG8.js";
7
7
  export { AgentTree, ApprovalCard, ApprovalDiffSummary, Conversation, ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LatestEvents, LiveDuration, PromptMore, RunGroup, RunPhaseList, RunRowShell, RunRowStatusDot, RunStatusIcon, TaskList, ToolCallFeed, ToolStep, TraceWaterfall, TraceWorkspace, VirtualList, foldAgentRows, indexRecord, isOpen, parseToolEvent, recordFlowTrace, model_exports as recordModel, runStatus, showsTaskPriority, statusMeta, taskProgress, taskStatus, timelineItems, traceSpanMark, useAgentStream, useEventStream, withPrompts };
@@ -23,7 +23,7 @@ function traceSpanMark(span) {
23
23
  size: "sm"
24
24
  }) : void 0;
25
25
  }
26
- const provider = span.icon ?? (span.kind === "tool" ? span.detail : void 0);
26
+ const provider = span.icon;
27
27
  return provider ? /* @__PURE__ */ jsx(ProviderIcon, {
28
28
  id: provider,
29
29
  displayName: provider,
@@ -932,6 +932,7 @@ function TraceWorkspace({ trace, streamUrl, openEventSource, events, onTimeChang
932
932
  },
933
933
  graph: /* @__PURE__ */ jsxs("section", {
934
934
  className: "relative flex min-h-[320px] flex-1 flex-col",
935
+ style: typeof waterfall.maxHeight === "number" ? { height: waterfall.maxHeight } : void 0,
935
936
  "aria-label": "Agent graph",
936
937
  children: [/* @__PURE__ */ jsx(SegmentedControl, {
937
938
  "aria-label": "Graph layout",
@@ -41337,7 +41337,7 @@ function kB(e, t) {
41337
41337
  r
41338
41338
  ]);
41339
41339
  }
41340
- // dist/trace-workspace-B7Ht17Nh.js
41340
+ // dist/trace-workspace-EArXc0uP.js
41341
41341
  function AB(e) {
41342
41342
  if (e.kind === "pipeline" || e.kind === "model") {
41343
41343
  let t = e.detail ? AP(e.detail) : null;
@@ -41346,7 +41346,7 @@ function AB(e) {
41346
41346
  size: "sm"
41347
41347
  }) : void 0;
41348
41348
  }
41349
- let t = e.icon ?? (e.kind === "tool" ? e.detail : void 0);
41349
+ let t = e.icon;
41350
41350
  return t ? /* @__PURE__ */ (0, W.jsx)($P, {
41351
41351
  id: t,
41352
41352
  displayName: t,
@@ -42106,6 +42106,7 @@ function iV({ trace: e, streamUrl: t, openEventSource: n, events: r, onTimeChang
42106
42106
  },
42107
42107
  graph: /* @__PURE__ */ (0, W.jsxs)("section", {
42108
42108
  className: "relative flex min-h-[320px] flex-1 flex-col",
42109
+ style: typeof v.maxHeight == "number" ? { height: v.maxHeight } : void 0,
42109
42110
  "aria-label": "Agent graph",
42110
42111
  children: [/* @__PURE__ */ (0, W.jsx)(ca, {
42111
42112
  "aria-label": "Graph layout",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "license": "MIT",
5
5
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
6
6
  "repository": {