@tangle-network/sandbox-ui 0.137.1 → 0.138.0
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/{WorkflowGraph-BcuJ0kgt.js → WorkflowGraph-DXmu60At.js} +4 -7
- package/dist/assets.d.ts +0 -18
- package/dist/assets.js +9 -17
- package/dist/{auth-CWe17Hly.js → auth-BDpoZ_2f.js} +1 -2
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -2
- package/dist/{chat-_aHUfqtH.js → chat-BYTVLZQW.js} +9 -15
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +1 -2
- package/dist/{connections-C5DxYxvz.js → connections-DymjzHe_.js} +1 -2
- package/dist/connections.d.ts +1 -1
- package/dist/connections.js +1 -2
- package/dist/connectors.d.ts +0 -10
- package/dist/connectors.js +5 -9
- package/dist/{dashboard-SFakZEtu.js → dashboard-ClKA3opr.js} +31 -55
- package/dist/dashboard.d.ts +3 -3
- package/dist/dashboard.js +3 -3
- package/dist/diff-view-A0O0Z_SR.js +287 -0
- package/dist/diff-view-DDHWtR6X.d.ts +21 -0
- package/dist/editor.js +1 -2
- package/dist/{embedded-app-view-CYb9hevq.js → embedded-app-view-DXsoPale.js} +5 -8
- package/dist/{embedded-app-view-B_vMTtJn.d.ts → embedded-app-view-Ta5GI4hx.d.ts} +0 -4
- package/dist/files.js +1 -2
- package/dist/globals.css +43 -0
- package/dist/hooks.d.ts +3 -7
- package/dist/hooks.js +4 -6
- package/dist/{index-DsU8ts9f.d.ts → index-BAEvGqrn.d.ts} +0 -4
- package/dist/{index-DvmZLMT1.d.ts → index-BbfWVtZq.d.ts} +0 -2
- package/dist/index-C5h5T0nb.d.ts +91 -0
- package/dist/{index-ByzdHyte.d.ts → index-CvtEhIpk.d.ts} +25 -52
- package/dist/{index-ClRHbsoX.d.ts → index-DLX35YAa.d.ts} +0 -2
- package/dist/{index-AVDzT8Jw.d.ts → index-DRDtTgb0.d.ts} +2 -54
- package/dist/{index-C61CTrhx.d.ts → index-F42BOxUM.d.ts} +15 -37
- package/dist/{index-QBCEflyf.d.ts → index-ucJHuuVZ.d.ts} +2 -8
- package/dist/{index-DGil6iqm.d.ts → index-y2OPUSoY.d.ts} +0 -4
- package/dist/index.d.ts +17 -16
- package/dist/index.js +24 -20
- package/dist/integrations.d.ts +0 -14
- package/dist/integrations.js +6 -11
- package/dist/markdown.js +1 -2
- package/dist/{model-brand-B57CV8Lg.d.ts → model-brand-ZwVS49Fq.d.ts} +0 -2
- package/dist/{model-brand-BSr9on8C.js → model-brand-bTcMjQtB.js} +34 -67
- package/dist/{motion-D4njYpys.js → motion-Bn7ESHrj.js} +1 -2
- package/dist/{node-output-fuk0NV0V.js → node-output-udnwhShN.js} +9 -16
- package/dist/openui.js +1 -2
- package/dist/{page-layout-2IRtfx51.js → page-layout-CuOpvZys.js} +5 -9
- package/dist/pages.d.ts +2 -14
- package/dist/pages.js +9 -15
- package/dist/{primitives-CLOVnjWz.js → primitives-CiwDp4-0.js} +4 -7
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +1 -2
- package/dist/{provider-logo-BGCziCbM.js → provider-logo-CPKRPHcS.js} +1 -2
- package/dist/{rolldown-runtime-BBjsoOtd.js → rolldown-runtime-782esTHO.js} +1 -2
- package/dist/run-CliTxkfw.js +397 -0
- package/dist/run.d.ts +2 -2
- package/dist/run.js +1 -2
- package/dist/sdk-hooks.d.ts +1 -1
- package/dist/sdk-hooks.js +1 -1
- package/dist/{shell-header-CTh3oV_e.js → shell-header-CwqDzC4I.js} +2 -3
- package/dist/{sidecar-DgH_vQ6m.d.ts → sidecar-CNP4zXop.d.ts} +0 -2
- package/dist/stores.d.ts +0 -2
- package/dist/stores.js +1 -2
- package/dist/styles.css +43 -0
- package/dist/{terminal-X6r5pjgv.js → terminal-nUCznZRj.js} +3 -5
- package/dist/terminal.d.ts +1 -3
- package/dist/terminal.js +1 -2
- package/dist/{tree-data-DtoCNNBJ.js → tree-data-YXtcK6Ld.js} +2 -4
- package/dist/types.d.ts +1 -1
- package/dist/{usage-chart-BjM8ShvX.d.ts → usage-chart-BFpdkqNq.d.ts} +0 -6
- package/dist/{use-pty-session-B5Q_i9RI.js → use-pty-session-BHVQlSs-.js} +1 -2
- package/dist/{use-pty-session-DbAYO5uH.d.ts → use-pty-session-DSgtQyYX.d.ts} +0 -2
- package/dist/{use-sidecar-auth-CCTJcrq7.d.ts → use-sidecar-auth-CPevSSEj.d.ts} +0 -4
- package/dist/{use-sidecar-auth-DkdcufOz.js → use-sidecar-auth-DpG0aWQ3.js} +3 -6
- package/dist/utils-BER_bdgE.js +1 -0
- package/dist/utils.js +1 -2
- package/dist/vault-tree.d.ts +1 -1
- package/dist/vault-tree.js +1 -2
- package/dist/workbench/diff.d.ts +2 -0
- package/dist/workbench/diff.js +1 -0
- package/dist/workbench/embedded-app.d.ts +1 -1
- package/dist/workbench/embedded-app.js +1 -2
- package/dist/workbench-B3JL1qbt.js +892 -0
- package/dist/workbench.d.ts +4 -3
- package/dist/workbench.js +4 -3
- package/dist/workflows.d.ts +1 -13
- package/dist/workflows.js +4 -5
- package/dist/{workspace-cjk0axyT.js → workspace-DRhi6S3o.js} +325 -141
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +2 -2
- package/package.json +36 -28
- package/dist/utils-DzWbktWG.js +0 -2
- package/dist/workbench-DPZ6LXqf.js +0 -8136
package/dist/workbench.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { C as ChangedFile, D as SandboxArtifactTerminal, E as SandboxArtifactPaneProps, S as ArtifactView, T as SandboxArtifact, _ as PillTabItem, a as PreviewViewProps, b as ChangesPane, c as FileBreadcrumb, d as GitStatusBadge, f as PanelHeader, g as computeDiffStats, h as buildUnifiedPatch, i as PreviewView, l as FileBreadcrumbProps, m as DiffStats, n as CodeSurface, o as CodeView, p as PanelHeaderProps, r as CodeSurfaceProps, s as CodeViewProps, t as CODE_THEME, u as DiffStatsBadge, v as PillTabs, w as ChangesPaneProps, x as SandboxArtifactPane, y as PillTabsProps } from "./index-CvtEhIpk.js";
|
|
2
|
+
import { n as DiffViewProps, t as DiffView } from "./diff-view-DDHWtR6X.js";
|
|
3
|
+
import { a as PreviewReadiness, i as PreviewAccess, n as EmbeddedAppView, r as EmbeddedAppViewProps, t as EmbeddedApp } from "./embedded-app-view-Ta5GI4hx.js";
|
|
4
|
+
export { type ArtifactView, CODE_THEME, type ChangedFile, ChangesPane, type ChangesPaneProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, FileBreadcrumb, type FileBreadcrumbProps, GitStatusBadge, PanelHeader, type PanelHeaderProps, type PillTabItem, PillTabs, type PillTabsProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, buildUnifiedPatch, computeDiffStats };
|
package/dist/workbench.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
1
|
+
import { a as DiffStatsBadge, c as PillTabs, i as FileBreadcrumb, n as SandboxArtifactPane, o as GitStatusBadge, r as CodeView, s as PanelHeader, t as ChangesPane } from "./workbench-B3JL1qbt.js";
|
|
2
|
+
import { a as CodeSurface, i as CODE_THEME, n as buildUnifiedPatch, r as computeDiffStats, t as DiffView } from "./diff-view-A0O0Z_SR.js";
|
|
3
|
+
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-DXsoPale.js";
|
|
4
|
+
export { CODE_THEME, ChangesPane, CodeSurface, CodeView, DiffStatsBadge, DiffView, EmbeddedAppView, FileBreadcrumb, GitStatusBadge, PanelHeader, PillTabs, PreviewView, SandboxArtifactPane, buildUnifiedPatch, computeDiffStats };
|
package/dist/workflows.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { n as ModelBrandStack, o as modelBrandFor, t as ModelBrandIdentity } from "./model-brand-
|
|
1
|
+
import { n as ModelBrandStack, o as modelBrandFor, t as ModelBrandIdentity } from "./model-brand-ZwVS49Fq.js";
|
|
2
2
|
import { StatusTone } from "@tangle-network/ui/primitives";
|
|
3
3
|
import { ReactElement } from "react";
|
|
4
4
|
import { LucideIcon } from "lucide-react";
|
|
5
5
|
import "@xyflow/react";
|
|
6
6
|
import "@xyflow/react/dist/style.css";
|
|
7
|
-
//#region src/workflows/model.d.ts
|
|
8
7
|
/**
|
|
9
8
|
* Turns a workflow YAML definition into a positioned node/edge graph for the
|
|
10
9
|
* visualizer. Pure and React-Flow-agnostic so the parsing + layout is unit
|
|
@@ -335,8 +334,6 @@ interface BuildWorkflowGraphOptions {
|
|
|
335
334
|
* picks the flow axis (default "LR"); `compact` collapses nodes to icon tiles;
|
|
336
335
|
* `edges` replaces the inferred positional spine with a declared topology. */
|
|
337
336
|
export declare function buildWorkflowGraph(yaml: string, options?: BuildWorkflowGraphOptions): WfGraph;
|
|
338
|
-
//#endregion
|
|
339
|
-
//#region src/workflows/WorkflowGraph.d.ts
|
|
340
337
|
interface WorkflowGraphProps {
|
|
341
338
|
/** Workflow YAML to render. */
|
|
342
339
|
yaml: string;
|
|
@@ -508,11 +505,7 @@ interface WorkflowGraphProps {
|
|
|
508
505
|
*/
|
|
509
506
|
problems?: readonly WfProblem[];
|
|
510
507
|
}
|
|
511
|
-
//#endregion
|
|
512
|
-
//#region src/workflows/WorkflowGraphLazy.d.ts
|
|
513
508
|
declare function WorkflowGraph(props: WorkflowGraphProps): import("react").JSX.Element;
|
|
514
|
-
//#endregion
|
|
515
|
-
//#region src/workflows/node-ui.d.ts
|
|
516
509
|
export declare const STATUS_COLOR: Record<WfNodeStatus, string>;
|
|
517
510
|
export declare const STATUS_LABEL: Record<WfNodeStatus, string>;
|
|
518
511
|
/** @deprecated `StatusPill` now renders ui's StatusPill from `STATUS_TONE`;
|
|
@@ -553,8 +546,6 @@ export declare function NodeMark({ kind, provider, model, accent, tile }: {
|
|
|
553
546
|
/** Edge length of the square the mark is centered in. */
|
|
554
547
|
tile: number;
|
|
555
548
|
}): import("react").JSX.Element;
|
|
556
|
-
//#endregion
|
|
557
|
-
//#region src/workflows/naming.d.ts
|
|
558
549
|
/**
|
|
559
550
|
* Human-facing naming for workflow nodes. A definition addresses things by
|
|
560
551
|
* machine identifier — an action kind (`agent.run`), a hub action path
|
|
@@ -611,8 +602,6 @@ export declare function parseActionPath(path: string): ActionPathParts | null;
|
|
|
611
602
|
* it is deliberately absent here. A path we can't split is shown verbatim.
|
|
612
603
|
*/
|
|
613
604
|
export declare function actionPathLabel(path: string): string;
|
|
614
|
-
//#endregion
|
|
615
|
-
//#region src/workflows/node-output.d.ts
|
|
616
605
|
/** The recovered shape of an output preview. */
|
|
617
606
|
type OutputShape = {
|
|
618
607
|
kind: "empty";
|
|
@@ -681,5 +670,4 @@ export declare function NodeOutputBody({ shape, rows, tone }: {
|
|
|
681
670
|
rows?: number | "none";
|
|
682
671
|
tone?: "default" | "error";
|
|
683
672
|
}): ReactElement | null;
|
|
684
|
-
//#endregion
|
|
685
673
|
export { type ActionPathParts, type BuildWorkflowGraphOptions, type LeadCase, type ModelBrandIdentity, ModelBrandStack, StatusPill as NodeStatusPill, type OutputShape, type WfEdge, type WfEdgeKind, type WfEdgeSpec, type WfGraph, type WfNode, type WfNodeData, type WfNodeState, type WfNodeStatus, type WfNodeTone, type WfProblem, type WfProblemSeverity, WorkflowGraph as WorkflowGraphLazy, type WorkflowGraphProps, modelBrandFor };
|
package/dist/workflows.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as modelBrandFor, t as ModelBrandStack } from "./model-brand-
|
|
2
|
-
import { A as triggerNodeIndex, D as buildWorkflowGraph, E as branchNodeId, F as parseActionPath, I as shortModel, N as actionPathLabel, P as humanizeIdentifier, T as actionNodeId, a as NodeMark, d as STATUS_LABEL, f as STATUS_PILL, h as StatusPill, i as KIND_ICON, k as triggerNodeId, n as classifyOutput, p as STATUS_TONE, r as condenseText, t as NodeOutputBody, u as STATUS_COLOR, w as TRIGGER_NODE_ID } from "./node-output-
|
|
1
|
+
import { i as modelBrandFor, t as ModelBrandStack } from "./model-brand-bTcMjQtB.js";
|
|
2
|
+
import { A as triggerNodeIndex, D as buildWorkflowGraph, E as branchNodeId, F as parseActionPath, I as shortModel, N as actionPathLabel, P as humanizeIdentifier, T as actionNodeId, a as NodeMark, d as STATUS_LABEL, f as STATUS_PILL, h as StatusPill, i as KIND_ICON, k as triggerNodeId, n as classifyOutput, p as STATUS_TONE, r as condenseText, t as NodeOutputBody, u as STATUS_COLOR, w as TRIGGER_NODE_ID } from "./node-output-udnwhShN.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Component, Suspense, lazy, useMemo, useState } from "react";
|
|
5
|
-
|
|
5
|
+
// src/workflows/WorkflowGraphLazy.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Lazy + error-isolated boundary for {@link WorkflowGraph}. React Flow (~50KB)
|
|
8
8
|
* is only needed on the workflow detail page and on workflow proposal cards, so
|
|
@@ -30,7 +30,7 @@ function retryImport(factory, retries = 2, delayMs = 350) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
function lazyWorkflowGraph() {
|
|
33
|
-
return lazy(() => retryImport(() => import("./WorkflowGraph-
|
|
33
|
+
return lazy(() => retryImport(() => import("./WorkflowGraph-DXmu60At.js").then((m) => ({ default: m.WorkflowGraph }))));
|
|
34
34
|
}
|
|
35
35
|
var GraphErrorBoundary = class extends Component {
|
|
36
36
|
state = { hasError: false };
|
|
@@ -80,5 +80,4 @@ function WorkflowGraph(props) {
|
|
|
80
80
|
})
|
|
81
81
|
}, `${props.yaml}::${attempt}`);
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { KIND_ICON, ModelBrandStack, NodeMark, NodeOutputBody, StatusPill as NodeStatusPill, STATUS_COLOR, STATUS_LABEL, STATUS_PILL, STATUS_TONE, TRIGGER_NODE_ID, WorkflowGraph as WorkflowGraphLazy, actionNodeId, actionPathLabel, branchNodeId, buildWorkflowGraph, classifyOutput, condenseText, humanizeIdentifier, modelBrandFor, parseActionPath, shortModel, triggerNodeId, triggerNodeIndex };
|