@pipelex/mthds-ui 0.35.0 → 0.36.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.
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  detectSystemTheme,
4
4
  useSystemTheme
5
- } from "../../chunk-F63A55IE.js";
5
+ } from "../../chunk-ILZJIORT.js";
6
6
  import {
7
7
  GRAPH_STYLES,
8
8
  GRAPH_STYLE_PIPELINES,
@@ -25,14 +25,14 @@ import {
25
25
  roundedPolylinePath,
26
26
  routeLabelCenter,
27
27
  validateGraphSpec
28
- } from "../../chunk-ABUDTHWF.js";
28
+ } from "../../chunk-AGFLCOWW.js";
29
29
  import {
30
30
  parsePipeRef
31
31
  } from "../../chunk-2N65P32H.js";
32
32
  import {
33
33
  DEFAULT_GRAPH_CONFIG,
34
34
  getPaletteForTheme
35
- } from "../../chunk-K2C5FU4W.js";
35
+ } from "../../chunk-ENRYQOCO.js";
36
36
  import {
37
37
  BINDING_STEP_TYPE,
38
38
  EDGE_TYPE,
@@ -52,14 +52,17 @@ import {
52
52
  isBindingNode,
53
53
  isBindingStepSpec,
54
54
  isDryGraphSpec,
55
+ isFailingPipeNode,
55
56
  isPluralMultiplicity,
56
57
  isStaticGraphSpec,
57
58
  multiplicitySuffix,
59
+ problemFailingPipe,
58
60
  stuffDigestFromId,
59
61
  toolbarOrientation,
60
62
  toolbarSide
61
- } from "../../chunk-TMZ2JR2J.js";
63
+ } from "../../chunk-4KLE62AN.js";
62
64
  import {
65
+ __objRest,
63
66
  __spreadProps,
64
67
  __spreadValues
65
68
  } from "../../chunk-2NMEKWO5.js";
@@ -1132,6 +1135,39 @@ function BindingStepSection({ node }) {
1132
1135
  ] });
1133
1136
  }
1134
1137
 
1138
+ // src/graph/react/detail/sections/ProblemSection.tsx
1139
+ import { jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
1140
+ function ProblemSection({
1141
+ problem,
1142
+ failedHere
1143
+ }) {
1144
+ var _a, _b;
1145
+ const failingPipe = problemFailingPipe(problem);
1146
+ const pipePath = (_b = (_a = problem.location) == null ? void 0 : _a.path) != null ? _b : [];
1147
+ return /* @__PURE__ */ jsxs17("div", { className: "detail-problem", children: [
1148
+ /* @__PURE__ */ jsxs17("div", { className: "detail-problem-header", children: [
1149
+ problem.title && /* @__PURE__ */ jsx17("span", { className: "detail-problem-title", children: problem.title }),
1150
+ /* @__PURE__ */ jsx17("code", { className: "detail-problem-code", title: "Problem code", children: problem.code })
1151
+ ] }),
1152
+ problem.detail && /* @__PURE__ */ jsx17("div", { className: "detail-problem-detail", children: problem.detail }),
1153
+ failingPipe !== void 0 && /* @__PURE__ */ jsxs17("div", { className: "detail-problem-location", children: [
1154
+ /* @__PURE__ */ jsx17(KV, { label: "Failed in", value: failedHere ? `${failingPipe} (this pipe)` : failingPipe }),
1155
+ pipePath.length > 1 && /* @__PURE__ */ jsx17(
1156
+ "div",
1157
+ {
1158
+ className: "detail-problem-path",
1159
+ title: "From the run's main pipe to the failing one",
1160
+ children: pipePath.join(" \u203A ")
1161
+ }
1162
+ )
1163
+ ] }),
1164
+ problem.next_step.detail && /* @__PURE__ */ jsxs17("div", { className: "detail-problem-next-step", children: [
1165
+ /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Next step" }),
1166
+ /* @__PURE__ */ jsx17("div", { className: "detail-problem-next-step-detail", children: problem.next_step.detail })
1167
+ ] })
1168
+ ] });
1169
+ }
1170
+
1135
1171
  // src/graph/react/detail/sections/executionData.ts
1136
1172
  var MERGED_EXECUTION_DATA_TYPES = /* @__PURE__ */ new Set([
1137
1173
  "PipeLLM",
@@ -1160,7 +1196,7 @@ function dumpableExecutionData(pipeType, executionData) {
1160
1196
  }
1161
1197
 
1162
1198
  // src/graph/react/detail/PipeDetailPanel.tsx
1163
- import { Fragment as Fragment11, jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
1199
+ import { Fragment as Fragment11, jsx as jsx18, jsxs as jsxs18 } from "react/jsx-runtime";
1164
1200
  var PIPE_TYPE_BADGES = {
1165
1201
  PipeLLM: "LLM",
1166
1202
  PipeExtract: "Extract",
@@ -1207,17 +1243,17 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1207
1243
  const inputs = (_c = (_b = node.io) == null ? void 0 : _b.inputs) != null ? _c : [];
1208
1244
  const outputs = (_e = (_d = node.io) == null ? void 0 : _d.outputs) != null ? _e : [];
1209
1245
  const description = (_f = blueprint == null ? void 0 : blueprint.description) != null ? _f : node.description;
1210
- return /* @__PURE__ */ jsxs17(Fragment11, { children: [
1211
- /* @__PURE__ */ jsxs17("div", { className: "detail-sticky-header", children: [
1212
- /* @__PURE__ */ jsxs17("div", { className: "detail-header", children: [
1213
- /* @__PURE__ */ jsx17(
1246
+ return /* @__PURE__ */ jsxs18(Fragment11, { children: [
1247
+ /* @__PURE__ */ jsxs18("div", { className: "detail-sticky-header", children: [
1248
+ /* @__PURE__ */ jsxs18("div", { className: "detail-header", children: [
1249
+ /* @__PURE__ */ jsx18(
1214
1250
  "span",
1215
1251
  {
1216
1252
  className: `detail-badge ${isController ? "detail-badge--controller" : "detail-badge--operator"}`,
1217
1253
  children: badge
1218
1254
  }
1219
1255
  ),
1220
- /* @__PURE__ */ jsx17(
1256
+ /* @__PURE__ */ jsx18(
1221
1257
  "span",
1222
1258
  {
1223
1259
  className: `detail-pipe-code ${isController ? "detail-pipe-code--controller" : ""}`,
@@ -1225,11 +1261,11 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1225
1261
  }
1226
1262
  )
1227
1263
  ] }),
1228
- !isStatic && /* @__PURE__ */ jsxs17("div", { className: "detail-status", children: [
1229
- /* @__PURE__ */ jsx17("span", { className: "detail-status-dot", style: { background: statusColor } }),
1230
- /* @__PURE__ */ jsx17("span", { className: "detail-status-label", style: { color: statusColor }, children: status }),
1231
- ((_g = node.timing) == null ? void 0 : _g.duration) != null && /* @__PURE__ */ jsx17("span", { className: "detail-duration", children: formatDuration(node.timing.duration) }),
1232
- showsGeneratedData && node.usage && /* @__PURE__ */ jsx17(
1264
+ !isStatic && /* @__PURE__ */ jsxs18("div", { className: "detail-status", children: [
1265
+ /* @__PURE__ */ jsx18("span", { className: "detail-status-dot", style: { background: statusColor } }),
1266
+ /* @__PURE__ */ jsx18("span", { className: "detail-status-label", style: { color: statusColor }, children: status }),
1267
+ ((_g = node.timing) == null ? void 0 : _g.duration) != null && /* @__PURE__ */ jsx18("span", { className: "detail-duration", children: formatDuration(node.timing.duration) }),
1268
+ showsGeneratedData && node.usage && /* @__PURE__ */ jsx18(
1233
1269
  UsageCostInline,
1234
1270
  {
1235
1271
  usage: node.usage,
@@ -1239,44 +1275,45 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1239
1275
  }
1240
1276
  )
1241
1277
  ] }),
1242
- showsGeneratedData && node.usage && usageExpanded && /* @__PURE__ */ jsx17(UsageDetails, { usage: node.usage, isController }),
1243
- description && /* @__PURE__ */ jsx17("div", { className: "detail-description", children: description }),
1244
- inputs.length > 0 && /* @__PURE__ */ jsxs17("div", { children: [
1245
- /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Inputs" }),
1246
- /* @__PURE__ */ jsx17("div", { className: "detail-io-list", children: inputs.map((input, idx) => /* @__PURE__ */ jsxs17(
1278
+ showsGeneratedData && node.usage && usageExpanded && /* @__PURE__ */ jsx18(UsageDetails, { usage: node.usage, isController }),
1279
+ description && /* @__PURE__ */ jsx18("div", { className: "detail-description", children: description }),
1280
+ inputs.length > 0 && /* @__PURE__ */ jsxs18("div", { children: [
1281
+ /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Inputs" }),
1282
+ /* @__PURE__ */ jsx18("div", { className: "detail-io-list", children: inputs.map((input, idx) => /* @__PURE__ */ jsxs18(
1247
1283
  "div",
1248
1284
  {
1249
1285
  className: "detail-io-pill",
1250
1286
  style: { cursor: input.concept && onConceptClick ? "pointer" : void 0 },
1251
1287
  onClick: () => input.concept && (onConceptClick == null ? void 0 : onConceptClick(input.concept)),
1252
1288
  children: [
1253
- /* @__PURE__ */ jsx17("span", { className: "detail-io-name", children: input.name }),
1254
- input.concept && /* @__PURE__ */ jsx17("span", { className: "detail-io-concept", children: input.concept + multiplicitySuffix(input.multiplicity) })
1289
+ /* @__PURE__ */ jsx18("span", { className: "detail-io-name", children: input.name }),
1290
+ input.concept && /* @__PURE__ */ jsx18("span", { className: "detail-io-concept", children: input.concept + multiplicitySuffix(input.multiplicity) })
1255
1291
  ]
1256
1292
  },
1257
1293
  idx
1258
1294
  )) })
1259
1295
  ] }),
1260
- outputs.length > 0 && /* @__PURE__ */ jsxs17("div", { children: [
1261
- /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Output" }),
1262
- /* @__PURE__ */ jsx17("div", { className: "detail-io-list", children: outputs.map((output, idx) => /* @__PURE__ */ jsxs17(
1296
+ outputs.length > 0 && /* @__PURE__ */ jsxs18("div", { children: [
1297
+ /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Output" }),
1298
+ /* @__PURE__ */ jsx18("div", { className: "detail-io-list", children: outputs.map((output, idx) => /* @__PURE__ */ jsxs18(
1263
1299
  "div",
1264
1300
  {
1265
1301
  className: "detail-io-pill",
1266
1302
  style: { cursor: output.concept && onConceptClick ? "pointer" : void 0 },
1267
1303
  onClick: () => output.concept && (onConceptClick == null ? void 0 : onConceptClick(output.concept)),
1268
1304
  children: [
1269
- /* @__PURE__ */ jsx17("span", { className: "detail-io-name", children: output.name }),
1270
- output.concept && /* @__PURE__ */ jsx17("span", { className: "detail-io-concept", children: output.concept + multiplicitySuffix(output.multiplicity) })
1305
+ /* @__PURE__ */ jsx18("span", { className: "detail-io-name", children: output.name }),
1306
+ output.concept && /* @__PURE__ */ jsx18("span", { className: "detail-io-concept", children: output.concept + multiplicitySuffix(output.multiplicity) })
1271
1307
  ]
1272
1308
  },
1273
1309
  idx
1274
1310
  )) })
1275
1311
  ] }),
1276
- (inputs.length > 0 || outputs.length > 0) && /* @__PURE__ */ jsx17("div", { style: { borderTop: "1px solid rgba(255,255,255,0.06)", margin: "4px 0" } })
1312
+ (inputs.length > 0 || outputs.length > 0) && /* @__PURE__ */ jsx18("div", { style: { borderTop: "1px solid rgba(255,255,255,0.06)", margin: "4px 0" } })
1277
1313
  ] }),
1278
- isBinding && /* @__PURE__ */ jsx17(BindingStepSection, { node }),
1279
- blueprint && /* @__PURE__ */ jsx17(
1314
+ node.error && /* @__PURE__ */ jsx18(ProblemSection, { problem: node.error, failedHere: isFailingPipeNode(node) }),
1315
+ isBinding && /* @__PURE__ */ jsx18(BindingStepSection, { node }),
1316
+ blueprint && /* @__PURE__ */ jsx18(
1280
1317
  BlueprintSection,
1281
1318
  {
1282
1319
  blueprint,
@@ -1285,7 +1322,7 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1285
1322
  modelHandles: node.execution_data
1286
1323
  }
1287
1324
  ),
1288
- showsGeneratedData && !isBinding && node.execution_data && Object.keys(node.execution_data).length > 0 && /* @__PURE__ */ jsx17(
1325
+ showsGeneratedData && !isBinding && node.execution_data && Object.keys(node.execution_data).length > 0 && /* @__PURE__ */ jsx18(
1289
1326
  ExecutionDataSection,
1290
1327
  {
1291
1328
  executionData: node.execution_data,
@@ -1293,14 +1330,9 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1293
1330
  hasBlueprint: !!blueprint
1294
1331
  }
1295
1332
  ),
1296
- node.error && /* @__PURE__ */ jsxs17("div", { className: "detail-error", children: [
1297
- /* @__PURE__ */ jsx17("div", { className: "detail-error-type", children: node.error.error_type }),
1298
- /* @__PURE__ */ jsx17("div", { className: "detail-error-message", children: node.error.message }),
1299
- node.error.stack && /* @__PURE__ */ jsx17("div", { className: "detail-error-stack", children: node.error.stack })
1300
- ] }),
1301
- showsGeneratedData && node.metrics && Object.keys(node.metrics).length > 0 && /* @__PURE__ */ jsxs17("div", { children: [
1302
- /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Metrics" }),
1303
- Object.entries(node.metrics).map(([key, value]) => /* @__PURE__ */ jsx17(
1333
+ showsGeneratedData && node.metrics && Object.keys(node.metrics).length > 0 && /* @__PURE__ */ jsxs18("div", { children: [
1334
+ /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Metrics" }),
1335
+ Object.entries(node.metrics).map(([key, value]) => /* @__PURE__ */ jsx18(
1304
1336
  KV,
1305
1337
  {
1306
1338
  label: key,
@@ -1309,17 +1341,17 @@ function PipeDetailPanel({ node, spec, onConceptClick }) {
1309
1341
  key
1310
1342
  ))
1311
1343
  ] }),
1312
- node.tags && Object.keys(node.tags).length > 0 && /* @__PURE__ */ jsxs17("div", { children: [
1313
- /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Tags" }),
1314
- /* @__PURE__ */ jsx17("div", { className: "detail-tags", children: Object.entries(node.tags).map(([key, value]) => /* @__PURE__ */ jsxs17("span", { className: "detail-tag", children: [
1315
- /* @__PURE__ */ jsxs17("span", { className: "detail-tag-key", children: [
1344
+ node.tags && Object.keys(node.tags).length > 0 && /* @__PURE__ */ jsxs18("div", { children: [
1345
+ /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Tags" }),
1346
+ /* @__PURE__ */ jsx18("div", { className: "detail-tags", children: Object.entries(node.tags).map(([key, value]) => /* @__PURE__ */ jsxs18("span", { className: "detail-tag", children: [
1347
+ /* @__PURE__ */ jsxs18("span", { className: "detail-tag-key", children: [
1316
1348
  key,
1317
1349
  ": "
1318
1350
  ] }),
1319
- /* @__PURE__ */ jsx17("span", { className: "detail-tag-value", children: value })
1351
+ /* @__PURE__ */ jsx18("span", { className: "detail-tag-value", children: value })
1320
1352
  ] }, key)) })
1321
1353
  ] }),
1322
- !blueprint && !isBinding && /* @__PURE__ */ jsx17("div", { className: "detail-not-available", children: "Blueprint not available" })
1354
+ !blueprint && !isBinding && /* @__PURE__ */ jsx18("div", { className: "detail-not-available", children: "Blueprint not available" })
1323
1355
  ] });
1324
1356
  }
1325
1357
  function BlueprintSection({
@@ -1330,7 +1362,7 @@ function BlueprintSection({
1330
1362
  }) {
1331
1363
  switch (blueprint.type) {
1332
1364
  case "PipeLLM":
1333
- return /* @__PURE__ */ jsx17(
1365
+ return /* @__PURE__ */ jsx18(
1334
1366
  PipeLLMSection,
1335
1367
  {
1336
1368
  blueprint,
@@ -1340,7 +1372,7 @@ function BlueprintSection({
1340
1372
  }
1341
1373
  );
1342
1374
  case "PipeImgGen":
1343
- return /* @__PURE__ */ jsx17(
1375
+ return /* @__PURE__ */ jsx18(
1344
1376
  PipeImgGenSection,
1345
1377
  {
1346
1378
  blueprint,
@@ -1350,9 +1382,9 @@ function BlueprintSection({
1350
1382
  }
1351
1383
  );
1352
1384
  case "PipeCompose":
1353
- return /* @__PURE__ */ jsx17(PipeComposeSection, { blueprint, executionData });
1385
+ return /* @__PURE__ */ jsx18(PipeComposeSection, { blueprint, executionData });
1354
1386
  case "PipeDocGen":
1355
- return /* @__PURE__ */ jsx17(
1387
+ return /* @__PURE__ */ jsx18(
1356
1388
  PipeDocGenSection,
1357
1389
  {
1358
1390
  blueprint,
@@ -1362,7 +1394,7 @@ function BlueprintSection({
1362
1394
  }
1363
1395
  );
1364
1396
  case "PipeExtract":
1365
- return /* @__PURE__ */ jsx17(
1397
+ return /* @__PURE__ */ jsx18(
1366
1398
  PipeExtractSection,
1367
1399
  {
1368
1400
  blueprint,
@@ -1371,7 +1403,7 @@ function BlueprintSection({
1371
1403
  }
1372
1404
  );
1373
1405
  case "PipeSearch":
1374
- return /* @__PURE__ */ jsx17(
1406
+ return /* @__PURE__ */ jsx18(
1375
1407
  PipeSearchSection,
1376
1408
  {
1377
1409
  blueprint,
@@ -1381,7 +1413,7 @@ function BlueprintSection({
1381
1413
  }
1382
1414
  );
1383
1415
  case "PipeStructure":
1384
- return /* @__PURE__ */ jsx17(
1416
+ return /* @__PURE__ */ jsx18(
1385
1417
  PipeStructureSection,
1386
1418
  {
1387
1419
  blueprint,
@@ -1391,19 +1423,19 @@ function BlueprintSection({
1391
1423
  }
1392
1424
  );
1393
1425
  case "PipeSequence":
1394
- return /* @__PURE__ */ jsx17(PipeSequenceSection, { blueprint, executionData });
1426
+ return /* @__PURE__ */ jsx18(PipeSequenceSection, { blueprint, executionData });
1395
1427
  case "PipeParallel":
1396
- return /* @__PURE__ */ jsx17(PipeParallelSection, { blueprint, executionData });
1428
+ return /* @__PURE__ */ jsx18(PipeParallelSection, { blueprint, executionData });
1397
1429
  case "PipeCondition":
1398
- return /* @__PURE__ */ jsx17(PipeConditionSection, { blueprint, executionData });
1430
+ return /* @__PURE__ */ jsx18(PipeConditionSection, { blueprint, executionData });
1399
1431
  case "PipeBatch":
1400
- return /* @__PURE__ */ jsx17(PipeBatchSection, { blueprint, executionData });
1432
+ return /* @__PURE__ */ jsx18(PipeBatchSection, { blueprint, executionData });
1401
1433
  case "PipeFunc":
1402
1434
  return null;
1403
1435
  case "PipeJudge":
1404
1436
  return null;
1405
1437
  case "PipeSignature":
1406
- return /* @__PURE__ */ jsx17("div", { className: "detail-not-available", children: "Signature stub \u2014 declared but not yet implemented." });
1438
+ return /* @__PURE__ */ jsx18("div", { className: "detail-not-available", children: "Signature stub \u2014 declared but not yet implemented." });
1407
1439
  default: {
1408
1440
  const _unhandled = blueprint;
1409
1441
  void _unhandled;
@@ -1417,19 +1449,19 @@ function ExecutionDataSection({
1417
1449
  hasBlueprint
1418
1450
  }) {
1419
1451
  if (!shouldDumpExecutionData(pipeType, hasBlueprint)) return null;
1420
- return /* @__PURE__ */ jsx17(GenericExecutionData, { entries: dumpableExecutionData(pipeType, executionData) });
1452
+ return /* @__PURE__ */ jsx18(GenericExecutionData, { entries: dumpableExecutionData(pipeType, executionData) });
1421
1453
  }
1422
1454
  function GenericExecutionData({ entries }) {
1423
1455
  if (entries.length === 0) return null;
1424
- return /* @__PURE__ */ jsxs17(Fragment11, { children: [
1425
- /* @__PURE__ */ jsx17("div", { className: "detail-section-label", children: "Execution" }),
1426
- entries.map(([key, value]) => /* @__PURE__ */ jsx17(KV, { label: key, value: String(value) }, key))
1456
+ return /* @__PURE__ */ jsxs18(Fragment11, { children: [
1457
+ /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Execution" }),
1458
+ entries.map(([key, value]) => /* @__PURE__ */ jsx18(KV, { label: key, value: String(value) }, key))
1427
1459
  ] });
1428
1460
  }
1429
1461
 
1430
1462
  // src/graph/react/detail/ConceptDetailPanel.tsx
1431
1463
  import React6 from "react";
1432
- import { Fragment as Fragment12, jsx as jsx18, jsxs as jsxs18 } from "react/jsx-runtime";
1464
+ import { Fragment as Fragment12, jsx as jsx19, jsxs as jsxs19 } from "react/jsx-runtime";
1433
1465
  function ConceptDetailPanel({
1434
1466
  concept,
1435
1467
  ioData,
@@ -1439,18 +1471,18 @@ function ConceptDetailPanel({
1439
1471
  }) {
1440
1472
  var _a;
1441
1473
  const multiplicity = ioData == null ? void 0 : ioData.multiplicity;
1442
- return /* @__PURE__ */ jsxs18(Fragment12, { children: [
1443
- /* @__PURE__ */ jsxs18("div", { className: "detail-header", children: [
1444
- /* @__PURE__ */ jsx18("span", { className: "detail-concept-code", children: concept.code + multiplicitySuffix(multiplicity) }),
1445
- /* @__PURE__ */ jsx18("span", { className: "detail-concept-domain", children: concept.domain_code })
1474
+ return /* @__PURE__ */ jsxs19(Fragment12, { children: [
1475
+ /* @__PURE__ */ jsxs19("div", { className: "detail-header", children: [
1476
+ /* @__PURE__ */ jsx19("span", { className: "detail-concept-code", children: concept.code + multiplicitySuffix(multiplicity) }),
1477
+ /* @__PURE__ */ jsx19("span", { className: "detail-concept-domain", children: concept.domain_code })
1446
1478
  ] }),
1447
- isPluralMultiplicity(multiplicity) && /* @__PURE__ */ jsx18("div", { className: "detail-multiplicity", children: multiplicity === true ? `A variable-length list of ${concept.code} items` : `A fixed-length list of exactly ${multiplicity} ${concept.code} items` }),
1448
- concept.description && /* @__PURE__ */ jsx18("div", { className: "detail-description", children: concept.description }),
1449
- concept.refines && /* @__PURE__ */ jsxs18("div", { className: "detail-refines", children: [
1479
+ isPluralMultiplicity(multiplicity) && /* @__PURE__ */ jsx19("div", { className: "detail-multiplicity", children: multiplicity === true ? `A variable-length list of ${concept.code} items` : `A fixed-length list of exactly ${multiplicity} ${concept.code} items` }),
1480
+ concept.description && /* @__PURE__ */ jsx19("div", { className: "detail-description", children: concept.description }),
1481
+ concept.refines && /* @__PURE__ */ jsxs19("div", { className: "detail-refines", children: [
1450
1482
  "refines ",
1451
- /* @__PURE__ */ jsx18("span", { className: "detail-refines-code", children: concept.refines })
1483
+ /* @__PURE__ */ jsx19("span", { className: "detail-refines-code", children: concept.refines })
1452
1484
  ] }),
1453
- /* @__PURE__ */ jsx18(
1485
+ /* @__PURE__ */ jsx19(
1454
1486
  ConceptBody,
1455
1487
  {
1456
1488
  concept,
@@ -1469,10 +1501,10 @@ function ConceptBody({ concept, ioData, isDryRun, renderData }) {
1469
1501
  const baseId = React6.useId();
1470
1502
  const tabId = (tab) => `${baseId}-tab-${tab}`;
1471
1503
  const panelId = (tab) => `${baseId}-tabpanel-${tab}`;
1472
- const structure = concept.json_schema ? /* @__PURE__ */ jsxs18("div", { children: [
1473
- /* @__PURE__ */ jsx18("div", { className: "detail-section-label", children: "Structure" }),
1474
- /* @__PURE__ */ jsx18(SchemaTable, { schema: concept.json_schema })
1475
- ] }) : /* @__PURE__ */ jsx18("div", { className: "detail-not-available", children: "Schema not available" });
1504
+ const structure = concept.json_schema ? /* @__PURE__ */ jsxs19("div", { children: [
1505
+ /* @__PURE__ */ jsx19("div", { className: "detail-section-label", children: "Structure" }),
1506
+ /* @__PURE__ */ jsx19(SchemaTable, { schema: concept.json_schema })
1507
+ ] }) : /* @__PURE__ */ jsx19("div", { className: "detail-not-available", children: "Schema not available" });
1476
1508
  if (!hasData) return structure;
1477
1509
  const onTabKeyDown = (event) => {
1478
1510
  var _a;
@@ -1495,7 +1527,7 @@ function ConceptBody({ concept, ioData, isDryRun, renderData }) {
1495
1527
  setActiveTab(next);
1496
1528
  (_a = document.getElementById(tabId(next))) == null ? void 0 : _a.focus();
1497
1529
  };
1498
- const renderTab = (tab, label) => /* @__PURE__ */ jsx18(
1530
+ const renderTab = (tab, label) => /* @__PURE__ */ jsx19(
1499
1531
  "button",
1500
1532
  {
1501
1533
  type: "button",
@@ -1510,12 +1542,12 @@ function ConceptBody({ concept, ioData, isDryRun, renderData }) {
1510
1542
  children: label
1511
1543
  }
1512
1544
  );
1513
- return /* @__PURE__ */ jsxs18(Fragment12, { children: [
1514
- /* @__PURE__ */ jsxs18("div", { className: "detail-tabs", role: "tablist", "aria-label": "Concept views", children: [
1545
+ return /* @__PURE__ */ jsxs19(Fragment12, { children: [
1546
+ /* @__PURE__ */ jsxs19("div", { className: "detail-tabs", role: "tablist", "aria-label": "Concept views", children: [
1515
1547
  renderTab("data", "Data"),
1516
1548
  renderTab("structure", "Structure")
1517
1549
  ] }),
1518
- /* @__PURE__ */ jsx18("div", { role: "tabpanel", id: panelId(activeTab), "aria-labelledby": tabId(activeTab), children: activeTab === "data" ? dataView : structure })
1550
+ /* @__PURE__ */ jsx19("div", { role: "tabpanel", id: panelId(activeTab), "aria-labelledby": tabId(activeTab), children: activeTab === "data" ? dataView : structure })
1519
1551
  ] });
1520
1552
  }
1521
1553
  function SchemaTable({ schema }) {
@@ -1523,23 +1555,23 @@ function SchemaTable({ schema }) {
1523
1555
  const properties = schema.properties;
1524
1556
  const required = new Set((_a = schema.required) != null ? _a : []);
1525
1557
  if (!properties || Object.keys(properties).length === 0) {
1526
- return /* @__PURE__ */ jsx18("div", { className: "detail-not-available", children: "No fields defined" });
1558
+ return /* @__PURE__ */ jsx19("div", { className: "detail-not-available", children: "No fields defined" });
1527
1559
  }
1528
1560
  const fields = Object.entries(properties);
1529
- return /* @__PURE__ */ jsxs18("table", { className: "detail-schema-table", children: [
1530
- /* @__PURE__ */ jsx18("thead", { children: /* @__PURE__ */ jsxs18("tr", { children: [
1531
- /* @__PURE__ */ jsx18("th", { children: "Field" }),
1532
- /* @__PURE__ */ jsx18("th", { children: "Type" }),
1533
- /* @__PURE__ */ jsx18("th", {}),
1534
- /* @__PURE__ */ jsx18("th", { children: "Description" })
1561
+ return /* @__PURE__ */ jsxs19("table", { className: "detail-schema-table", children: [
1562
+ /* @__PURE__ */ jsx19("thead", { children: /* @__PURE__ */ jsxs19("tr", { children: [
1563
+ /* @__PURE__ */ jsx19("th", { children: "Field" }),
1564
+ /* @__PURE__ */ jsx19("th", { children: "Type" }),
1565
+ /* @__PURE__ */ jsx19("th", {}),
1566
+ /* @__PURE__ */ jsx19("th", { children: "Description" })
1535
1567
  ] }) }),
1536
- /* @__PURE__ */ jsx18("tbody", { children: fields.map(([fieldName, fieldSchema]) => {
1568
+ /* @__PURE__ */ jsx19("tbody", { children: fields.map(([fieldName, fieldSchema]) => {
1537
1569
  var _a2;
1538
- return /* @__PURE__ */ jsxs18("tr", { children: [
1539
- /* @__PURE__ */ jsx18("td", { className: "detail-schema-field", children: fieldName }),
1540
- /* @__PURE__ */ jsx18("td", { className: "detail-schema-type", children: extractType(fieldSchema) }),
1541
- /* @__PURE__ */ jsx18("td", { children: required.has(fieldName) && /* @__PURE__ */ jsx18("span", { className: "detail-schema-required", children: "req" }) }),
1542
- /* @__PURE__ */ jsx18("td", { children: (_a2 = fieldSchema.description) != null ? _a2 : "" })
1570
+ return /* @__PURE__ */ jsxs19("tr", { children: [
1571
+ /* @__PURE__ */ jsx19("td", { className: "detail-schema-field", children: fieldName }),
1572
+ /* @__PURE__ */ jsx19("td", { className: "detail-schema-type", children: extractType(fieldSchema) }),
1573
+ /* @__PURE__ */ jsx19("td", { children: required.has(fieldName) && /* @__PURE__ */ jsx19("span", { className: "detail-schema-required", children: "req" }) }),
1574
+ /* @__PURE__ */ jsx19("td", { children: (_a2 = fieldSchema.description) != null ? _a2 : "" })
1543
1575
  ] }, fieldName);
1544
1576
  }) })
1545
1577
  ] });
@@ -1590,10 +1622,10 @@ function toAppEdges(edges) {
1590
1622
  }
1591
1623
 
1592
1624
  // src/graph/react/viewer/renderLabel.tsx
1593
- import { jsx as jsx19, jsxs as jsxs19 } from "react/jsx-runtime";
1625
+ import { jsx as jsx20, jsxs as jsxs20 } from "react/jsx-runtime";
1594
1626
  function renderLabel(desc) {
1595
1627
  if (desc.kind === "pipe") {
1596
- return /* @__PURE__ */ jsx19(
1628
+ return /* @__PURE__ */ jsx20(
1597
1629
  "div",
1598
1630
  {
1599
1631
  style: {
@@ -1607,7 +1639,7 @@ function renderLabel(desc) {
1607
1639
  minWidth: 0
1608
1640
  },
1609
1641
  title: desc.label,
1610
- children: /* @__PURE__ */ jsx19(
1642
+ children: /* @__PURE__ */ jsx20(
1611
1643
  "span",
1612
1644
  {
1613
1645
  style: {
@@ -1626,7 +1658,7 @@ function renderLabel(desc) {
1626
1658
  }
1627
1659
  );
1628
1660
  }
1629
- return /* @__PURE__ */ jsxs19(
1661
+ return /* @__PURE__ */ jsxs20(
1630
1662
  "div",
1631
1663
  {
1632
1664
  style: {
@@ -1642,7 +1674,7 @@ function renderLabel(desc) {
1642
1674
  },
1643
1675
  title: desc.concept ? `${desc.label}: ${desc.concept}` : desc.label,
1644
1676
  children: [
1645
- /* @__PURE__ */ jsx19(
1677
+ /* @__PURE__ */ jsx20(
1646
1678
  "span",
1647
1679
  {
1648
1680
  style: {
@@ -1658,7 +1690,7 @@ function renderLabel(desc) {
1658
1690
  children: desc.label
1659
1691
  }
1660
1692
  ),
1661
- desc.concept && /* @__PURE__ */ jsx19(
1693
+ desc.concept && /* @__PURE__ */ jsx20(
1662
1694
  "span",
1663
1695
  {
1664
1696
  style: {
@@ -1692,7 +1724,7 @@ import React9 from "react";
1692
1724
  import { Panel } from "@xyflow/react";
1693
1725
 
1694
1726
  // src/graph/react/viewer/ValidationPanel.tsx
1695
- import { jsx as jsx20, jsxs as jsxs20 } from "react/jsx-runtime";
1727
+ import { jsx as jsx21, jsxs as jsxs21 } from "react/jsx-runtime";
1696
1728
  function validationLabel(state, issueCount) {
1697
1729
  const issues = issueCount === 1 ? "1 issue" : `${issueCount} issues`;
1698
1730
  switch (state) {
@@ -1759,7 +1791,7 @@ function ValidationPanel({
1759
1791
  placement,
1760
1792
  id
1761
1793
  }) {
1762
- return /* @__PURE__ */ jsxs20(
1794
+ return /* @__PURE__ */ jsxs21(
1763
1795
  "div",
1764
1796
  {
1765
1797
  id,
@@ -1767,18 +1799,18 @@ function ValidationPanel({
1767
1799
  role: "region",
1768
1800
  "aria-label": "Validation issues",
1769
1801
  children: [
1770
- /* @__PURE__ */ jsx20("div", { className: "graph-validation-panel-header", children: validationLabel(state, issues.length) }),
1771
- issues.length === 0 ? /* @__PURE__ */ jsx20("div", { className: "graph-validation-empty", children: validationEmptyText(state) }) : /* @__PURE__ */ jsx20("ul", { className: "graph-validation-issues", role: "list", children: issues.map((issue, index) => {
1802
+ /* @__PURE__ */ jsx21("div", { className: "graph-validation-panel-header", children: validationLabel(state, issues.length) }),
1803
+ issues.length === 0 ? /* @__PURE__ */ jsx21("div", { className: "graph-validation-empty", children: validationEmptyText(state) }) : /* @__PURE__ */ jsx21("ul", { className: "graph-validation-issues", role: "list", children: issues.map((issue, index) => {
1772
1804
  const clickable = onIssueClick !== void 0;
1773
- const meta = (issue.context || issue.file) && /* @__PURE__ */ jsxs20("div", { className: "graph-validation-issue-meta", children: [
1774
- issue.context && /* @__PURE__ */ jsx20("span", { className: "graph-validation-issue-context", children: issue.context }),
1775
- issue.file && /* @__PURE__ */ jsx20("span", { className: "graph-validation-issue-file", children: issue.file })
1805
+ const meta = (issue.context || issue.file) && /* @__PURE__ */ jsxs21("div", { className: "graph-validation-issue-meta", children: [
1806
+ issue.context && /* @__PURE__ */ jsx21("span", { className: "graph-validation-issue-context", children: issue.context }),
1807
+ issue.file && /* @__PURE__ */ jsx21("span", { className: "graph-validation-issue-file", children: issue.file })
1776
1808
  ] });
1777
- return /* @__PURE__ */ jsx20(
1809
+ return /* @__PURE__ */ jsx21(
1778
1810
  "li",
1779
1811
  {
1780
1812
  className: `graph-validation-issue graph-validation-issue--${issue.severity}` + (clickable ? " graph-validation-issue--clickable" : ""),
1781
- children: /* @__PURE__ */ jsxs20(
1813
+ children: /* @__PURE__ */ jsxs21(
1782
1814
  "div",
1783
1815
  {
1784
1816
  className: "graph-validation-issue-body",
@@ -1793,8 +1825,8 @@ function ValidationPanel({
1793
1825
  } : void 0,
1794
1826
  children: [
1795
1827
  meta,
1796
- /* @__PURE__ */ jsx20("div", { className: "graph-validation-issue-message", children: issue.message }),
1797
- issue.suggestedFix && /* @__PURE__ */ jsx20("div", { className: "graph-validation-issue-fix", children: issue.suggestedFix })
1828
+ /* @__PURE__ */ jsx21("div", { className: "graph-validation-issue-message", children: issue.message }),
1829
+ issue.suggestedFix && /* @__PURE__ */ jsx21("div", { className: "graph-validation-issue-fix", children: issue.suggestedFix })
1798
1830
  ]
1799
1831
  }
1800
1832
  )
@@ -1836,7 +1868,7 @@ function usePopoverDismiss(open, wrapperRef, onDismiss) {
1836
1868
  }
1837
1869
 
1838
1870
  // src/graph/react/viewer/StyleMenu.tsx
1839
- import { jsx as jsx21, jsxs as jsxs21 } from "react/jsx-runtime";
1871
+ import { jsx as jsx22, jsxs as jsxs22 } from "react/jsx-runtime";
1840
1872
  var ICON_PROPS = {
1841
1873
  viewBox: "0 0 24 24",
1842
1874
  width: 14,
@@ -1849,22 +1881,22 @@ var ICON_PROPS = {
1849
1881
  };
1850
1882
  var STYLE_ICONS = {
1851
1883
  // Cards with their rows: every pipe with its slots.
1852
- [GRAPH_STYLE.DETAILED]: /* @__PURE__ */ jsxs21("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: [
1853
- /* @__PURE__ */ jsx21("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
1854
- /* @__PURE__ */ jsx21("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
1855
- /* @__PURE__ */ jsx21("line", { x1: "14", y1: "4", x2: "21", y2: "4" }),
1856
- /* @__PURE__ */ jsx21("line", { x1: "14", y1: "9", x2: "21", y2: "9" }),
1857
- /* @__PURE__ */ jsx21("line", { x1: "14", y1: "15", x2: "21", y2: "15" }),
1858
- /* @__PURE__ */ jsx21("line", { x1: "14", y1: "20", x2: "21", y2: "20" })
1884
+ [GRAPH_STYLE.DETAILED]: /* @__PURE__ */ jsxs22("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: [
1885
+ /* @__PURE__ */ jsx22("rect", { x: "3", y: "3", width: "7", height: "7", rx: "1" }),
1886
+ /* @__PURE__ */ jsx22("rect", { x: "3", y: "14", width: "7", height: "7", rx: "1" }),
1887
+ /* @__PURE__ */ jsx22("line", { x1: "14", y1: "4", x2: "21", y2: "4" }),
1888
+ /* @__PURE__ */ jsx22("line", { x1: "14", y1: "9", x2: "21", y2: "9" }),
1889
+ /* @__PURE__ */ jsx22("line", { x1: "14", y1: "15", x2: "21", y2: "15" }),
1890
+ /* @__PURE__ */ jsx22("line", { x1: "14", y1: "20", x2: "21", y2: "20" })
1859
1891
  ] })),
1860
1892
  // Two steps and the arrow between them: a flowchart.
1861
- [GRAPH_STYLE.SIMPLE]: /* @__PURE__ */ jsxs21("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: [
1862
- /* @__PURE__ */ jsx21("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2" }),
1863
- /* @__PURE__ */ jsx21("path", { d: "M7 11v4a2 2 0 0 0 2 2h4" }),
1864
- /* @__PURE__ */ jsx21("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2" })
1893
+ [GRAPH_STYLE.SIMPLE]: /* @__PURE__ */ jsxs22("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: [
1894
+ /* @__PURE__ */ jsx22("rect", { x: "3", y: "3", width: "8", height: "8", rx: "2" }),
1895
+ /* @__PURE__ */ jsx22("path", { d: "M7 11v4a2 2 0 0 0 2 2h4" }),
1896
+ /* @__PURE__ */ jsx22("rect", { x: "13", y: "13", width: "8", height: "8", rx: "2" })
1865
1897
  ] }))
1866
1898
  };
1867
- var CHECK_ICON2 = /* @__PURE__ */ jsx21("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: /* @__PURE__ */ jsx21("polyline", { points: "20 6 9 17 4 12" }) }));
1899
+ var CHECK_ICON2 = /* @__PURE__ */ jsx22("svg", __spreadProps(__spreadValues({}, ICON_PROPS), { children: /* @__PURE__ */ jsx22("polyline", { points: "20 6 9 17 4 12" }) }));
1868
1900
  function graphStyleIcon(style) {
1869
1901
  return STYLE_ICONS[style];
1870
1902
  }
@@ -1929,8 +1961,8 @@ function StyleMenu({ value, options, onChange, placement }) {
1929
1961
  if (style !== value) onChange(style);
1930
1962
  };
1931
1963
  const label = styleMenuLabel(value);
1932
- return /* @__PURE__ */ jsxs21("div", { className: "graph-toolbar-style", ref: wrapperRef, children: [
1933
- /* @__PURE__ */ jsx21(
1964
+ return /* @__PURE__ */ jsxs22("div", { className: "graph-toolbar-style", ref: wrapperRef, children: [
1965
+ /* @__PURE__ */ jsx22(
1934
1966
  "button",
1935
1967
  {
1936
1968
  ref: buttonRef,
@@ -1951,7 +1983,7 @@ function StyleMenu({ value, options, onChange, placement }) {
1951
1983
  children: graphStyleIcon(value)
1952
1984
  }
1953
1985
  ),
1954
- open && /* @__PURE__ */ jsx21(
1986
+ open && /* @__PURE__ */ jsx22(
1955
1987
  "div",
1956
1988
  {
1957
1989
  id: menuId,
@@ -1962,7 +1994,7 @@ function StyleMenu({ value, options, onChange, placement }) {
1962
1994
  children: options.map((style, index) => {
1963
1995
  const descriptor = GRAPH_STYLES[style];
1964
1996
  const checked = style === value;
1965
- return /* @__PURE__ */ jsxs21(
1997
+ return /* @__PURE__ */ jsxs22(
1966
1998
  "button",
1967
1999
  {
1968
2000
  ref: (el) => {
@@ -1975,12 +2007,12 @@ function StyleMenu({ value, options, onChange, placement }) {
1975
2007
  className: `graph-style-menu-item${checked ? " graph-style-menu-item--checked" : ""}`,
1976
2008
  onClick: () => choose(style),
1977
2009
  children: [
1978
- /* @__PURE__ */ jsx21("span", { className: "graph-style-menu-icon", "aria-hidden": "true", children: graphStyleIcon(style) }),
1979
- /* @__PURE__ */ jsxs21("span", { className: "graph-style-menu-text", children: [
1980
- /* @__PURE__ */ jsx21("span", { className: "graph-style-menu-name", children: descriptor.name }),
1981
- /* @__PURE__ */ jsx21("span", { className: "graph-style-menu-description", children: descriptor.description })
2010
+ /* @__PURE__ */ jsx22("span", { className: "graph-style-menu-icon", "aria-hidden": "true", children: graphStyleIcon(style) }),
2011
+ /* @__PURE__ */ jsxs22("span", { className: "graph-style-menu-text", children: [
2012
+ /* @__PURE__ */ jsx22("span", { className: "graph-style-menu-name", children: descriptor.name }),
2013
+ /* @__PURE__ */ jsx22("span", { className: "graph-style-menu-description", children: descriptor.description })
1982
2014
  ] }),
1983
- /* @__PURE__ */ jsx21("span", { className: "graph-style-menu-check", "aria-hidden": "true", children: checked ? CHECK_ICON2 : null })
2015
+ /* @__PURE__ */ jsx22("span", { className: "graph-style-menu-check", "aria-hidden": "true", children: checked ? CHECK_ICON2 : null })
1984
2016
  ]
1985
2017
  },
1986
2018
  style
@@ -1992,9 +2024,9 @@ function StyleMenu({ value, options, onChange, placement }) {
1992
2024
  }
1993
2025
 
1994
2026
  // src/graph/react/viewer/GraphToolbar.tsx
1995
- import { Fragment as Fragment13, jsx as jsx22, jsxs as jsxs22 } from "react/jsx-runtime";
2027
+ import { Fragment as Fragment13, jsx as jsx23, jsxs as jsxs23 } from "react/jsx-runtime";
1996
2028
  var REACTFLOW_PANEL_MARGIN = 15;
1997
- var ARROW_RIGHT_ICON = /* @__PURE__ */ jsxs22(
2029
+ var ARROW_RIGHT_ICON = /* @__PURE__ */ jsxs23(
1998
2030
  "svg",
1999
2031
  {
2000
2032
  viewBox: "0 0 24 24",
@@ -2006,12 +2038,12 @@ var ARROW_RIGHT_ICON = /* @__PURE__ */ jsxs22(
2006
2038
  strokeLinecap: "round",
2007
2039
  strokeLinejoin: "round",
2008
2040
  children: [
2009
- /* @__PURE__ */ jsx22("line", { x1: "5", y1: "12", x2: "19", y2: "12" }),
2010
- /* @__PURE__ */ jsx22("polyline", { points: "12 5 19 12 12 19" })
2041
+ /* @__PURE__ */ jsx23("line", { x1: "5", y1: "12", x2: "19", y2: "12" }),
2042
+ /* @__PURE__ */ jsx23("polyline", { points: "12 5 19 12 12 19" })
2011
2043
  ]
2012
2044
  }
2013
2045
  );
2014
- var ARROW_DOWN_ICON = /* @__PURE__ */ jsxs22(
2046
+ var ARROW_DOWN_ICON = /* @__PURE__ */ jsxs23(
2015
2047
  "svg",
2016
2048
  {
2017
2049
  viewBox: "0 0 24 24",
@@ -2023,12 +2055,12 @@ var ARROW_DOWN_ICON = /* @__PURE__ */ jsxs22(
2023
2055
  strokeLinecap: "round",
2024
2056
  strokeLinejoin: "round",
2025
2057
  children: [
2026
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
2027
- /* @__PURE__ */ jsx22("polyline", { points: "19 12 12 19 5 12" })
2058
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
2059
+ /* @__PURE__ */ jsx23("polyline", { points: "19 12 12 19 5 12" })
2028
2060
  ]
2029
2061
  }
2030
2062
  );
2031
- var MINUS_ICON = /* @__PURE__ */ jsx22(
2063
+ var MINUS_ICON = /* @__PURE__ */ jsx23(
2032
2064
  "svg",
2033
2065
  {
2034
2066
  viewBox: "0 0 24 24",
@@ -2039,10 +2071,10 @@ var MINUS_ICON = /* @__PURE__ */ jsx22(
2039
2071
  strokeWidth: "2",
2040
2072
  strokeLinecap: "round",
2041
2073
  strokeLinejoin: "round",
2042
- children: /* @__PURE__ */ jsx22("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
2074
+ children: /* @__PURE__ */ jsx23("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
2043
2075
  }
2044
2076
  );
2045
- var PLUS_ICON = /* @__PURE__ */ jsxs22(
2077
+ var PLUS_ICON = /* @__PURE__ */ jsxs23(
2046
2078
  "svg",
2047
2079
  {
2048
2080
  viewBox: "0 0 24 24",
@@ -2054,12 +2086,12 @@ var PLUS_ICON = /* @__PURE__ */ jsxs22(
2054
2086
  strokeLinecap: "round",
2055
2087
  strokeLinejoin: "round",
2056
2088
  children: [
2057
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
2058
- /* @__PURE__ */ jsx22("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
2089
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
2090
+ /* @__PURE__ */ jsx23("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
2059
2091
  ]
2060
2092
  }
2061
2093
  );
2062
- var FIT_VIEW_ICON = /* @__PURE__ */ jsxs22(
2094
+ var FIT_VIEW_ICON = /* @__PURE__ */ jsxs23(
2063
2095
  "svg",
2064
2096
  {
2065
2097
  viewBox: "0 0 24 24",
@@ -2071,14 +2103,14 @@ var FIT_VIEW_ICON = /* @__PURE__ */ jsxs22(
2071
2103
  strokeLinecap: "round",
2072
2104
  strokeLinejoin: "round",
2073
2105
  children: [
2074
- /* @__PURE__ */ jsx22("polyline", { points: "15 3 21 3 21 9" }),
2075
- /* @__PURE__ */ jsx22("polyline", { points: "9 21 3 21 3 15" }),
2076
- /* @__PURE__ */ jsx22("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
2077
- /* @__PURE__ */ jsx22("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
2106
+ /* @__PURE__ */ jsx23("polyline", { points: "15 3 21 3 21 9" }),
2107
+ /* @__PURE__ */ jsx23("polyline", { points: "9 21 3 21 3 15" }),
2108
+ /* @__PURE__ */ jsx23("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
2109
+ /* @__PURE__ */ jsx23("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
2078
2110
  ]
2079
2111
  }
2080
2112
  );
2081
- var BOXES_ICON = /* @__PURE__ */ jsxs22(
2113
+ var BOXES_ICON = /* @__PURE__ */ jsxs23(
2082
2114
  "svg",
2083
2115
  {
2084
2116
  viewBox: "0 0 24 24",
@@ -2090,22 +2122,22 @@ var BOXES_ICON = /* @__PURE__ */ jsxs22(
2090
2122
  strokeLinecap: "round",
2091
2123
  strokeLinejoin: "round",
2092
2124
  children: [
2093
- /* @__PURE__ */ jsx22("path", { d: "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z" }),
2094
- /* @__PURE__ */ jsx22("path", { d: "m7 16.5-4.74-2.85" }),
2095
- /* @__PURE__ */ jsx22("path", { d: "m7 16.5 5-3" }),
2096
- /* @__PURE__ */ jsx22("path", { d: "M7 16.5v5.17" }),
2097
- /* @__PURE__ */ jsx22("path", { d: "M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z" }),
2098
- /* @__PURE__ */ jsx22("path", { d: "m17 16.5-5-3" }),
2099
- /* @__PURE__ */ jsx22("path", { d: "m17 16.5 4.74-2.85" }),
2100
- /* @__PURE__ */ jsx22("path", { d: "M17 16.5v5.17" }),
2101
- /* @__PURE__ */ jsx22("path", { d: "M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z" }),
2102
- /* @__PURE__ */ jsx22("path", { d: "M12 8 7.26 5.15" }),
2103
- /* @__PURE__ */ jsx22("path", { d: "m12 8 4.74-2.85" }),
2104
- /* @__PURE__ */ jsx22("path", { d: "M12 13.5V8" })
2125
+ /* @__PURE__ */ jsx23("path", { d: "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z" }),
2126
+ /* @__PURE__ */ jsx23("path", { d: "m7 16.5-4.74-2.85" }),
2127
+ /* @__PURE__ */ jsx23("path", { d: "m7 16.5 5-3" }),
2128
+ /* @__PURE__ */ jsx23("path", { d: "M7 16.5v5.17" }),
2129
+ /* @__PURE__ */ jsx23("path", { d: "M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z" }),
2130
+ /* @__PURE__ */ jsx23("path", { d: "m17 16.5-5-3" }),
2131
+ /* @__PURE__ */ jsx23("path", { d: "m17 16.5 4.74-2.85" }),
2132
+ /* @__PURE__ */ jsx23("path", { d: "M17 16.5v5.17" }),
2133
+ /* @__PURE__ */ jsx23("path", { d: "M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z" }),
2134
+ /* @__PURE__ */ jsx23("path", { d: "M12 8 7.26 5.15" }),
2135
+ /* @__PURE__ */ jsx23("path", { d: "m12 8 4.74-2.85" }),
2136
+ /* @__PURE__ */ jsx23("path", { d: "M12 13.5V8" })
2105
2137
  ]
2106
2138
  }
2107
2139
  );
2108
- var FOLD_ALL_ICON = /* @__PURE__ */ jsxs22(
2140
+ var FOLD_ALL_ICON = /* @__PURE__ */ jsxs23(
2109
2141
  "svg",
2110
2142
  {
2111
2143
  viewBox: "0 0 24 24",
@@ -2117,15 +2149,15 @@ var FOLD_ALL_ICON = /* @__PURE__ */ jsxs22(
2117
2149
  strokeLinecap: "round",
2118
2150
  strokeLinejoin: "round",
2119
2151
  children: [
2120
- /* @__PURE__ */ jsx22("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2" }),
2121
- /* @__PURE__ */ jsx22("polyline", { points: "2 2 6 6 2 6" }),
2122
- /* @__PURE__ */ jsx22("polyline", { points: "22 2 18 6 22 6" }),
2123
- /* @__PURE__ */ jsx22("polyline", { points: "2 22 6 18 2 18" }),
2124
- /* @__PURE__ */ jsx22("polyline", { points: "22 22 18 18 22 18" })
2152
+ /* @__PURE__ */ jsx23("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2" }),
2153
+ /* @__PURE__ */ jsx23("polyline", { points: "2 2 6 6 2 6" }),
2154
+ /* @__PURE__ */ jsx23("polyline", { points: "22 2 18 6 22 6" }),
2155
+ /* @__PURE__ */ jsx23("polyline", { points: "2 22 6 18 2 18" }),
2156
+ /* @__PURE__ */ jsx23("polyline", { points: "22 22 18 18 22 18" })
2125
2157
  ]
2126
2158
  }
2127
2159
  );
2128
- var EXPAND_ALL_ICON = /* @__PURE__ */ jsxs22(
2160
+ var EXPAND_ALL_ICON = /* @__PURE__ */ jsxs23(
2129
2161
  "svg",
2130
2162
  {
2131
2163
  viewBox: "0 0 24 24",
@@ -2137,15 +2169,15 @@ var EXPAND_ALL_ICON = /* @__PURE__ */ jsxs22(
2137
2169
  strokeLinecap: "round",
2138
2170
  strokeLinejoin: "round",
2139
2171
  children: [
2140
- /* @__PURE__ */ jsx22("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" }),
2141
- /* @__PURE__ */ jsx22("polyline", { points: "3 3 7 7 3 7" }),
2142
- /* @__PURE__ */ jsx22("polyline", { points: "21 3 17 7 21 7" }),
2143
- /* @__PURE__ */ jsx22("polyline", { points: "3 21 7 17 3 17" }),
2144
- /* @__PURE__ */ jsx22("polyline", { points: "21 21 17 17 21 17" })
2172
+ /* @__PURE__ */ jsx23("rect", { x: "9", y: "9", width: "6", height: "6", rx: "1" }),
2173
+ /* @__PURE__ */ jsx23("polyline", { points: "3 3 7 7 3 7" }),
2174
+ /* @__PURE__ */ jsx23("polyline", { points: "21 3 17 7 21 7" }),
2175
+ /* @__PURE__ */ jsx23("polyline", { points: "3 21 7 17 3 17" }),
2176
+ /* @__PURE__ */ jsx23("polyline", { points: "21 21 17 17 21 17" })
2145
2177
  ]
2146
2178
  }
2147
2179
  );
2148
- var SUN_ICON = /* @__PURE__ */ jsxs22(
2180
+ var SUN_ICON = /* @__PURE__ */ jsxs23(
2149
2181
  "svg",
2150
2182
  {
2151
2183
  viewBox: "0 0 24 24",
@@ -2157,19 +2189,19 @@ var SUN_ICON = /* @__PURE__ */ jsxs22(
2157
2189
  strokeLinecap: "round",
2158
2190
  strokeLinejoin: "round",
2159
2191
  children: [
2160
- /* @__PURE__ */ jsx22("circle", { cx: "12", cy: "12", r: "4" }),
2161
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "2", x2: "12", y2: "4" }),
2162
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "20", x2: "12", y2: "22" }),
2163
- /* @__PURE__ */ jsx22("line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }),
2164
- /* @__PURE__ */ jsx22("line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }),
2165
- /* @__PURE__ */ jsx22("line", { x1: "2", y1: "12", x2: "4", y2: "12" }),
2166
- /* @__PURE__ */ jsx22("line", { x1: "20", y1: "12", x2: "22", y2: "12" }),
2167
- /* @__PURE__ */ jsx22("line", { x1: "4.93", y1: "19.07", x2: "6.34", y2: "17.66" }),
2168
- /* @__PURE__ */ jsx22("line", { x1: "17.66", y1: "6.34", x2: "19.07", y2: "4.93" })
2192
+ /* @__PURE__ */ jsx23("circle", { cx: "12", cy: "12", r: "4" }),
2193
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "2", x2: "12", y2: "4" }),
2194
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "20", x2: "12", y2: "22" }),
2195
+ /* @__PURE__ */ jsx23("line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }),
2196
+ /* @__PURE__ */ jsx23("line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }),
2197
+ /* @__PURE__ */ jsx23("line", { x1: "2", y1: "12", x2: "4", y2: "12" }),
2198
+ /* @__PURE__ */ jsx23("line", { x1: "20", y1: "12", x2: "22", y2: "12" }),
2199
+ /* @__PURE__ */ jsx23("line", { x1: "4.93", y1: "19.07", x2: "6.34", y2: "17.66" }),
2200
+ /* @__PURE__ */ jsx23("line", { x1: "17.66", y1: "6.34", x2: "19.07", y2: "4.93" })
2169
2201
  ]
2170
2202
  }
2171
2203
  );
2172
- var MOON_ICON = /* @__PURE__ */ jsx22(
2204
+ var MOON_ICON = /* @__PURE__ */ jsx23(
2173
2205
  "svg",
2174
2206
  {
2175
2207
  viewBox: "0 0 24 24",
@@ -2180,10 +2212,10 @@ var MOON_ICON = /* @__PURE__ */ jsx22(
2180
2212
  strokeWidth: "2",
2181
2213
  strokeLinecap: "round",
2182
2214
  strokeLinejoin: "round",
2183
- children: /* @__PURE__ */ jsx22("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" })
2215
+ children: /* @__PURE__ */ jsx23("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" })
2184
2216
  }
2185
2217
  );
2186
- var MONITOR_ICON = /* @__PURE__ */ jsxs22(
2218
+ var MONITOR_ICON = /* @__PURE__ */ jsxs23(
2187
2219
  "svg",
2188
2220
  {
2189
2221
  viewBox: "0 0 24 24",
@@ -2195,13 +2227,13 @@ var MONITOR_ICON = /* @__PURE__ */ jsxs22(
2195
2227
  strokeLinecap: "round",
2196
2228
  strokeLinejoin: "round",
2197
2229
  children: [
2198
- /* @__PURE__ */ jsx22("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2" }),
2199
- /* @__PURE__ */ jsx22("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
2200
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
2230
+ /* @__PURE__ */ jsx23("rect", { x: "2", y: "3", width: "20", height: "14", rx: "2" }),
2231
+ /* @__PURE__ */ jsx23("line", { x1: "8", y1: "21", x2: "16", y2: "21" }),
2232
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "17", x2: "12", y2: "21" })
2201
2233
  ]
2202
2234
  }
2203
2235
  );
2204
- var SPINNER_ICON = /* @__PURE__ */ jsx22(
2236
+ var SPINNER_ICON = /* @__PURE__ */ jsx23(
2205
2237
  "svg",
2206
2238
  {
2207
2239
  className: "graph-toolbar-validation-spin",
@@ -2213,10 +2245,10 @@ var SPINNER_ICON = /* @__PURE__ */ jsx22(
2213
2245
  strokeWidth: "2",
2214
2246
  strokeLinecap: "round",
2215
2247
  strokeLinejoin: "round",
2216
- children: /* @__PURE__ */ jsx22("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2248
+ children: /* @__PURE__ */ jsx23("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
2217
2249
  }
2218
2250
  );
2219
- var CHECK_ICON3 = /* @__PURE__ */ jsx22(
2251
+ var CHECK_ICON3 = /* @__PURE__ */ jsx23(
2220
2252
  "svg",
2221
2253
  {
2222
2254
  viewBox: "0 0 24 24",
@@ -2227,10 +2259,10 @@ var CHECK_ICON3 = /* @__PURE__ */ jsx22(
2227
2259
  strokeWidth: "2",
2228
2260
  strokeLinecap: "round",
2229
2261
  strokeLinejoin: "round",
2230
- children: /* @__PURE__ */ jsx22("polyline", { points: "20 6 9 17 4 12" })
2262
+ children: /* @__PURE__ */ jsx23("polyline", { points: "20 6 9 17 4 12" })
2231
2263
  }
2232
2264
  );
2233
- var X_CIRCLE_ICON = /* @__PURE__ */ jsxs22(
2265
+ var X_CIRCLE_ICON = /* @__PURE__ */ jsxs23(
2234
2266
  "svg",
2235
2267
  {
2236
2268
  viewBox: "0 0 24 24",
@@ -2242,13 +2274,13 @@ var X_CIRCLE_ICON = /* @__PURE__ */ jsxs22(
2242
2274
  strokeLinecap: "round",
2243
2275
  strokeLinejoin: "round",
2244
2276
  children: [
2245
- /* @__PURE__ */ jsx22("circle", { cx: "12", cy: "12", r: "10" }),
2246
- /* @__PURE__ */ jsx22("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
2247
- /* @__PURE__ */ jsx22("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
2277
+ /* @__PURE__ */ jsx23("circle", { cx: "12", cy: "12", r: "10" }),
2278
+ /* @__PURE__ */ jsx23("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
2279
+ /* @__PURE__ */ jsx23("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
2248
2280
  ]
2249
2281
  }
2250
2282
  );
2251
- var ALERT_TRIANGLE_ICON = /* @__PURE__ */ jsxs22(
2283
+ var ALERT_TRIANGLE_ICON = /* @__PURE__ */ jsxs23(
2252
2284
  "svg",
2253
2285
  {
2254
2286
  viewBox: "0 0 24 24",
@@ -2260,13 +2292,13 @@ var ALERT_TRIANGLE_ICON = /* @__PURE__ */ jsxs22(
2260
2292
  strokeLinecap: "round",
2261
2293
  strokeLinejoin: "round",
2262
2294
  children: [
2263
- /* @__PURE__ */ jsx22("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
2264
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
2265
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
2295
+ /* @__PURE__ */ jsx23("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
2296
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
2297
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
2266
2298
  ]
2267
2299
  }
2268
2300
  );
2269
- var INFO_CIRCLE_ICON = /* @__PURE__ */ jsxs22(
2301
+ var INFO_CIRCLE_ICON = /* @__PURE__ */ jsxs23(
2270
2302
  "svg",
2271
2303
  {
2272
2304
  viewBox: "0 0 24 24",
@@ -2278,9 +2310,9 @@ var INFO_CIRCLE_ICON = /* @__PURE__ */ jsxs22(
2278
2310
  strokeLinecap: "round",
2279
2311
  strokeLinejoin: "round",
2280
2312
  children: [
2281
- /* @__PURE__ */ jsx22("circle", { cx: "12", cy: "12", r: "10" }),
2282
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
2283
- /* @__PURE__ */ jsx22("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
2313
+ /* @__PURE__ */ jsx23("circle", { cx: "12", cy: "12", r: "10" }),
2314
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
2315
+ /* @__PURE__ */ jsx23("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
2284
2316
  ]
2285
2317
  }
2286
2318
  );
@@ -2371,16 +2403,16 @@ function GraphToolbar({
2371
2403
  const foldAllSection = onFoldAll || onExpandAll;
2372
2404
  const foldAllTitle = foldAllDisabled ? "Fold all controllers (nothing to fold)" : "Fold all controllers";
2373
2405
  const expandAllTitle = expandAllDisabled ? "Expand all controllers (nothing to expand)" : "Expand all controllers";
2374
- return /* @__PURE__ */ jsx22(
2406
+ return /* @__PURE__ */ jsx23(
2375
2407
  Panel,
2376
2408
  {
2377
2409
  position,
2378
2410
  className: `graph-toolbar-panel graph-toolbar-panel--${orientation}`,
2379
2411
  style: panelStyle,
2380
- children: /* @__PURE__ */ jsxs22("div", { className: `graph-toolbar graph-toolbar--${orientation}`, children: [
2381
- validationState !== void 0 && /* @__PURE__ */ jsxs22(Fragment13, { children: [
2382
- /* @__PURE__ */ jsxs22("div", { className: "graph-toolbar-validation", ref: validationRef, children: [
2383
- /* @__PURE__ */ jsxs22(
2412
+ children: /* @__PURE__ */ jsxs23("div", { className: `graph-toolbar graph-toolbar--${orientation}`, children: [
2413
+ validationState !== void 0 && /* @__PURE__ */ jsxs23(Fragment13, { children: [
2414
+ /* @__PURE__ */ jsxs23("div", { className: "graph-toolbar-validation", ref: validationRef, children: [
2415
+ /* @__PURE__ */ jsxs23(
2384
2416
  "button",
2385
2417
  {
2386
2418
  type: "button",
@@ -2393,11 +2425,11 @@ function GraphToolbar({
2393
2425
  "aria-controls": validationPanelId,
2394
2426
  children: [
2395
2427
  validationIcon(validationState),
2396
- validationIssues.length > 0 && /* @__PURE__ */ jsx22("span", { className: "graph-toolbar-validation-badge", children: validationIssues.length > 99 ? "99+" : validationIssues.length })
2428
+ validationIssues.length > 0 && /* @__PURE__ */ jsx23("span", { className: "graph-toolbar-validation-badge", children: validationIssues.length > 99 ? "99+" : validationIssues.length })
2397
2429
  ]
2398
2430
  }
2399
2431
  ),
2400
- validationOpen && /* @__PURE__ */ jsx22(
2432
+ validationOpen && /* @__PURE__ */ jsx23(
2401
2433
  ValidationPanel,
2402
2434
  {
2403
2435
  id: validationPanelId,
@@ -2408,10 +2440,10 @@ function GraphToolbar({
2408
2440
  }
2409
2441
  )
2410
2442
  ] }),
2411
- /* @__PURE__ */ jsx22("div", { className: "graph-toolbar-separator" })
2443
+ /* @__PURE__ */ jsx23("div", { className: "graph-toolbar-separator" })
2412
2444
  ] }),
2413
- styleMenuEnabled && /* @__PURE__ */ jsxs22(Fragment13, { children: [
2414
- /* @__PURE__ */ jsx22(
2445
+ styleMenuEnabled && /* @__PURE__ */ jsxs23(Fragment13, { children: [
2446
+ /* @__PURE__ */ jsx23(
2415
2447
  StyleMenu,
2416
2448
  {
2417
2449
  value: graphStyle,
@@ -2420,9 +2452,9 @@ function GraphToolbar({
2420
2452
  placement: validationPanelPlacement(position)
2421
2453
  }
2422
2454
  ),
2423
- /* @__PURE__ */ jsx22("div", { className: "graph-toolbar-separator" })
2455
+ /* @__PURE__ */ jsx23("div", { className: "graph-toolbar-separator" })
2424
2456
  ] }),
2425
- onFoldAll && /* @__PURE__ */ jsx22(
2457
+ onFoldAll && /* @__PURE__ */ jsx23(
2426
2458
  "button",
2427
2459
  {
2428
2460
  type: "button",
@@ -2434,7 +2466,7 @@ function GraphToolbar({
2434
2466
  children: FOLD_ALL_ICON
2435
2467
  }
2436
2468
  ),
2437
- onExpandAll && /* @__PURE__ */ jsx22(
2469
+ onExpandAll && /* @__PURE__ */ jsx23(
2438
2470
  "button",
2439
2471
  {
2440
2472
  type: "button",
@@ -2446,8 +2478,8 @@ function GraphToolbar({
2446
2478
  children: EXPAND_ALL_ICON
2447
2479
  }
2448
2480
  ),
2449
- foldAllSection && /* @__PURE__ */ jsx22("div", { className: "graph-toolbar-separator" }),
2450
- onShowControllersChange && /* @__PURE__ */ jsx22(
2481
+ foldAllSection && /* @__PURE__ */ jsx23("div", { className: "graph-toolbar-separator" }),
2482
+ onShowControllersChange && /* @__PURE__ */ jsx23(
2451
2483
  "button",
2452
2484
  {
2453
2485
  type: "button",
@@ -2458,7 +2490,7 @@ function GraphToolbar({
2458
2490
  children: BOXES_ICON
2459
2491
  }
2460
2492
  ),
2461
- /* @__PURE__ */ jsx22(
2493
+ /* @__PURE__ */ jsx23(
2462
2494
  "button",
2463
2495
  {
2464
2496
  type: "button",
@@ -2469,8 +2501,8 @@ function GraphToolbar({
2469
2501
  children: isVertical ? ARROW_RIGHT_ICON : ARROW_DOWN_ICON
2470
2502
  }
2471
2503
  ),
2472
- (onZoomOut || onZoomIn || onFitView) && /* @__PURE__ */ jsx22("div", { className: "graph-toolbar-separator" }),
2473
- onZoomOut && /* @__PURE__ */ jsx22(
2504
+ (onZoomOut || onZoomIn || onFitView) && /* @__PURE__ */ jsx23("div", { className: "graph-toolbar-separator" }),
2505
+ onZoomOut && /* @__PURE__ */ jsx23(
2474
2506
  "button",
2475
2507
  {
2476
2508
  type: "button",
@@ -2481,7 +2513,7 @@ function GraphToolbar({
2481
2513
  children: MINUS_ICON
2482
2514
  }
2483
2515
  ),
2484
- onZoomIn && /* @__PURE__ */ jsx22(
2516
+ onZoomIn && /* @__PURE__ */ jsx23(
2485
2517
  "button",
2486
2518
  {
2487
2519
  type: "button",
@@ -2492,7 +2524,7 @@ function GraphToolbar({
2492
2524
  children: PLUS_ICON
2493
2525
  }
2494
2526
  ),
2495
- onFitView && /* @__PURE__ */ jsx22(
2527
+ onFitView && /* @__PURE__ */ jsx23(
2496
2528
  "button",
2497
2529
  {
2498
2530
  type: "button",
@@ -2503,9 +2535,9 @@ function GraphToolbar({
2503
2535
  children: FIT_VIEW_ICON
2504
2536
  }
2505
2537
  ),
2506
- themeToggleEnabled && /* @__PURE__ */ jsxs22(Fragment13, { children: [
2507
- /* @__PURE__ */ jsx22("div", { className: "graph-toolbar-separator" }),
2508
- /* @__PURE__ */ jsx22(
2538
+ themeToggleEnabled && /* @__PURE__ */ jsxs23(Fragment13, { children: [
2539
+ /* @__PURE__ */ jsx23("div", { className: "graph-toolbar-separator" }),
2540
+ /* @__PURE__ */ jsx23(
2509
2541
  "button",
2510
2542
  {
2511
2543
  type: "button",
@@ -2588,7 +2620,7 @@ function StillFit({ onHeight }) {
2588
2620
  }
2589
2621
 
2590
2622
  // src/graph/react/nodes/NodeValidationBadge.tsx
2591
- import { jsx as jsx23 } from "react/jsx-runtime";
2623
+ import { jsx as jsx24 } from "react/jsx-runtime";
2592
2624
  function NodeValidationBadge({
2593
2625
  validation,
2594
2626
  onClick
@@ -2598,9 +2630,9 @@ function NodeValidationBadge({
2598
2630
  const className = `node-validation-badge node-validation-badge--${validation.severity}`;
2599
2631
  const text = validation.count > 99 ? "99+" : String(validation.count);
2600
2632
  if (!onClick) {
2601
- return /* @__PURE__ */ jsx23("span", { className, title: tooltip, "aria-label": label, children: text });
2633
+ return /* @__PURE__ */ jsx24("span", { className, title: tooltip, "aria-label": label, children: text });
2602
2634
  }
2603
- return /* @__PURE__ */ jsx23(
2635
+ return /* @__PURE__ */ jsx24(
2604
2636
  "button",
2605
2637
  {
2606
2638
  type: "button",
@@ -2620,7 +2652,7 @@ function validationRingClass(validation) {
2620
2652
  }
2621
2653
 
2622
2654
  // src/graph/react/nodes/controller/ControllerGroupNode.tsx
2623
- import { jsx as jsx24, jsxs as jsxs23 } from "react/jsx-runtime";
2655
+ import { jsx as jsx25, jsxs as jsxs24 } from "react/jsx-runtime";
2624
2656
  var CONTROLLER_CONFIG = {
2625
2657
  PipeSequence: { badge: "Sequence", icon: "\u2192" },
2626
2658
  PipeParallel: { badge: "Parallel", icon: "//" },
@@ -2642,41 +2674,48 @@ function ControllerGroupNode({ data }) {
2642
2674
  const modifier = getControllerModifier(data.pipeType);
2643
2675
  const isCollapsible = (data.pipeType === "PipeParallel" || data.pipeType === "PipeBatch") && ((_a = data.childCount) != null ? _a : 0) > MAX_VISIBLE_CONTROLLER_CHILDREN;
2644
2676
  const hiddenCount = isCollapsible ? ((_b = data.childCount) != null ? _b : 0) - MAX_VISIBLE_CONTROLLER_CHILDREN : 0;
2645
- return /* @__PURE__ */ jsxs23("div", { className: `controller-group-node ${modifier}${validationRingClass(data.validation)}`, children: [
2646
- /* @__PURE__ */ jsxs23("div", { className: "controller-group-header", children: [
2647
- /* @__PURE__ */ jsx24("span", { className: "controller-group-icon", children: config.icon }),
2648
- /* @__PURE__ */ jsx24("span", { className: "controller-group-badge", children: config.badge }),
2649
- data.label && /* @__PURE__ */ jsx24("span", { className: "controller-group-label", children: data.label }),
2650
- data.onToggleFold && /* @__PURE__ */ jsx24(
2651
- "button",
2652
- {
2653
- type: "button",
2654
- className: "controller-group-fold",
2655
- title: "Fold controller (alt/option: only this one)",
2656
- "aria-label": "Fold controller",
2657
- onClick: (e) => {
2658
- var _a2;
2659
- e.stopPropagation();
2660
- (_a2 = data.onToggleFold) == null ? void 0 : _a2.call(data, { soloMode: e.altKey });
2661
- },
2662
- children: "\u2921"
2663
- }
2664
- ),
2665
- data.validation && /* @__PURE__ */ jsx24(NodeValidationBadge, { validation: data.validation, onClick: data.onValidationBadgeClick })
2666
- ] }),
2667
- isCollapsible && /* @__PURE__ */ jsx24(
2668
- "button",
2669
- {
2670
- className: "controller-group-collapse",
2671
- onClick: (e) => {
2672
- var _a2;
2673
- e.stopPropagation();
2674
- (_a2 = data.onToggleCollapse) == null ? void 0 : _a2.call(data);
2675
- },
2676
- children: data.isCollapsed ? `+${hiddenCount} hidden` : "collapse"
2677
- }
2678
- )
2679
- ] });
2677
+ const failingClass = data.failingPipe ? " controller-group-node--failing-pipe" : "";
2678
+ return /* @__PURE__ */ jsxs24(
2679
+ "div",
2680
+ {
2681
+ className: `controller-group-node ${modifier}${failingClass}${validationRingClass(data.validation)}`,
2682
+ children: [
2683
+ /* @__PURE__ */ jsxs24("div", { className: "controller-group-header", children: [
2684
+ /* @__PURE__ */ jsx25("span", { className: "controller-group-icon", children: config.icon }),
2685
+ /* @__PURE__ */ jsx25("span", { className: "controller-group-badge", children: config.badge }),
2686
+ data.label && /* @__PURE__ */ jsx25("span", { className: "controller-group-label", children: data.label }),
2687
+ data.onToggleFold && /* @__PURE__ */ jsx25(
2688
+ "button",
2689
+ {
2690
+ type: "button",
2691
+ className: "controller-group-fold",
2692
+ title: "Fold controller (alt/option: only this one)",
2693
+ "aria-label": "Fold controller",
2694
+ onClick: (e) => {
2695
+ var _a2;
2696
+ e.stopPropagation();
2697
+ (_a2 = data.onToggleFold) == null ? void 0 : _a2.call(data, { soloMode: e.altKey });
2698
+ },
2699
+ children: "\u2921"
2700
+ }
2701
+ ),
2702
+ data.validation && /* @__PURE__ */ jsx25(NodeValidationBadge, { validation: data.validation, onClick: data.onValidationBadgeClick })
2703
+ ] }),
2704
+ isCollapsible && /* @__PURE__ */ jsx25(
2705
+ "button",
2706
+ {
2707
+ className: "controller-group-collapse",
2708
+ onClick: (e) => {
2709
+ var _a2;
2710
+ e.stopPropagation();
2711
+ (_a2 = data.onToggleCollapse) == null ? void 0 : _a2.call(data);
2712
+ },
2713
+ children: data.isCollapsed ? `+${hiddenCount} hidden` : "collapse"
2714
+ }
2715
+ )
2716
+ ]
2717
+ }
2718
+ );
2680
2719
  }
2681
2720
  var controllerNodeTypes = { controllerGroup: ControllerGroupNode };
2682
2721
 
@@ -2685,7 +2724,7 @@ import { Handle, Position } from "@xyflow/react";
2685
2724
 
2686
2725
  // src/graph/react/nodes/pipe/PipeCardBase.tsx
2687
2726
  import { useState as useState2 } from "react";
2688
- import { jsx as jsx25, jsxs as jsxs24 } from "react/jsx-runtime";
2727
+ import { jsx as jsx26, jsxs as jsxs25 } from "react/jsx-runtime";
2689
2728
  var PIPE_TYPE_BADGES2 = {
2690
2729
  PipeLLM: "LLM",
2691
2730
  PipeExtract: "Extract",
@@ -2744,24 +2783,25 @@ function PipeCardBase({ data, children }) {
2744
2783
  const signatureClass = isSignature ? " pipe-card--signature" : "";
2745
2784
  const bindingClass = isBinding ? " pipe-card--binding" : "";
2746
2785
  const staticClass = isStatic ? " pipe-card--static" : "";
2786
+ const failingClass = data.failingPipe ? " pipe-card--failing-pipe" : "";
2747
2787
  const badgeClass = isController ? "pipe-card-badge pipe-card-badge--controller" : isSignature ? "pipe-card-badge pipe-card-badge--signature" : isBinding ? "pipe-card-badge pipe-card-badge--binding" : "pipe-card-badge";
2748
2788
  const ringClass = validationRingClass(data.validation);
2749
- return /* @__PURE__ */ jsxs24(
2789
+ return /* @__PURE__ */ jsxs25(
2750
2790
  "div",
2751
2791
  {
2752
- className: `pipe-card ${dirClass}${controllerClass}${signatureClass}${bindingClass}${staticClass}${ringClass}`,
2792
+ className: `pipe-card ${dirClass}${controllerClass}${signatureClass}${bindingClass}${staticClass}${failingClass}${ringClass}`,
2753
2793
  children: [
2754
- /* @__PURE__ */ jsxs24("div", { className: "pipe-card-header", children: [
2755
- /* @__PURE__ */ jsx25("span", { className: badgeClass, children: badge }),
2756
- data.docGenFormat && /* @__PURE__ */ jsx25("span", { className: "pipe-card-format", title: `Document format: ${data.docGenFormat}`, children: data.docGenFormat.toUpperCase() }),
2757
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-code", title: data.pipeCode, children: data.pipeCode }),
2758
- !isStatic && /* @__PURE__ */ jsx25(
2794
+ /* @__PURE__ */ jsxs25("div", { className: "pipe-card-header", children: [
2795
+ /* @__PURE__ */ jsx26("span", { className: badgeClass, children: badge }),
2796
+ data.docGenFormat && /* @__PURE__ */ jsx26("span", { className: "pipe-card-format", title: `Document format: ${data.docGenFormat}`, children: data.docGenFormat.toUpperCase() }),
2797
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-code", title: data.pipeCode, children: data.pipeCode }),
2798
+ !isStatic && /* @__PURE__ */ jsx26(
2759
2799
  "span",
2760
2800
  {
2761
2801
  className: "pipe-card-status",
2762
2802
  style: { color: statusConfig.color },
2763
- title: statusConfig.label,
2764
- children: /* @__PURE__ */ jsx25(
2803
+ title: data.failingPipe ? "Failed here: the run failed in this pipe" : statusConfig.label,
2804
+ children: /* @__PURE__ */ jsx26(
2765
2805
  "span",
2766
2806
  {
2767
2807
  className: `pipe-card-status-dot ${isRunning ? "pipe-card-status-dot--pulse" : ""}`,
@@ -2770,7 +2810,7 @@ function PipeCardBase({ data, children }) {
2770
2810
  )
2771
2811
  }
2772
2812
  ),
2773
- data.onExpand && /* @__PURE__ */ jsx25(
2813
+ data.onExpand && /* @__PURE__ */ jsx26(
2774
2814
  "button",
2775
2815
  {
2776
2816
  type: "button",
@@ -2785,32 +2825,32 @@ function PipeCardBase({ data, children }) {
2785
2825
  children: "\u2922"
2786
2826
  }
2787
2827
  ),
2788
- data.validation && /* @__PURE__ */ jsx25(NodeValidationBadge, { validation: data.validation, onClick: data.onValidationBadgeClick })
2828
+ data.validation && /* @__PURE__ */ jsx26(NodeValidationBadge, { validation: data.validation, onClick: data.onValidationBadgeClick })
2789
2829
  ] }),
2790
- (outcome || batchMultiplicity) && /* @__PURE__ */ jsxs24("div", { className: "pipe-card-annotations", children: [
2791
- outcome && /* @__PURE__ */ jsxs24("span", { className: "pipe-card-annotation pipe-card-annotation--outcome", children: [
2830
+ (outcome || batchMultiplicity) && /* @__PURE__ */ jsxs25("div", { className: "pipe-card-annotations", children: [
2831
+ outcome && /* @__PURE__ */ jsxs25("span", { className: "pipe-card-annotation pipe-card-annotation--outcome", children: [
2792
2832
  "outcome: ",
2793
2833
  outcome
2794
2834
  ] }),
2795
- batchMultiplicity && /* @__PURE__ */ jsx25("span", { className: "pipe-card-annotation pipe-card-annotation--batch", children: batchMultiplicity })
2835
+ batchMultiplicity && /* @__PURE__ */ jsx26("span", { className: "pipe-card-annotation pipe-card-annotation--batch", children: batchMultiplicity })
2796
2836
  ] }),
2797
- data.description && /* @__PURE__ */ jsx25("span", { className: "pipe-card-description", title: data.description, children: data.description }),
2798
- data.inputs.length > 0 && /* @__PURE__ */ jsxs24("div", { className: "pipe-card-io", children: [
2799
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-label", children: "INPUTS" }),
2800
- /* @__PURE__ */ jsxs24("div", { className: "pipe-card-io-pills", children: [
2801
- visibleInputs.map((input) => /* @__PURE__ */ jsxs24(
2837
+ data.description && /* @__PURE__ */ jsx26("span", { className: "pipe-card-description", title: data.description, children: data.description }),
2838
+ data.inputs.length > 0 && /* @__PURE__ */ jsxs25("div", { className: "pipe-card-io", children: [
2839
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-label", children: "INPUTS" }),
2840
+ /* @__PURE__ */ jsxs25("div", { className: "pipe-card-io-pills", children: [
2841
+ visibleInputs.map((input) => /* @__PURE__ */ jsxs25(
2802
2842
  "span",
2803
2843
  {
2804
2844
  className: "pipe-card-io-pill",
2805
2845
  title: `${input.name}: ${input.concept}`,
2806
2846
  children: [
2807
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-pill-name", children: input.name }),
2808
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-pill-concept", children: input.concept })
2847
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-pill-name", children: input.name }),
2848
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-pill-concept", children: input.concept })
2809
2849
  ]
2810
2850
  },
2811
2851
  input.name
2812
2852
  )),
2813
- hasMany && /* @__PURE__ */ jsx25(
2853
+ hasMany && /* @__PURE__ */ jsx26(
2814
2854
  "button",
2815
2855
  {
2816
2856
  className: "pipe-card-io-more",
@@ -2823,16 +2863,16 @@ function PipeCardBase({ data, children }) {
2823
2863
  )
2824
2864
  ] })
2825
2865
  ] }),
2826
- data.outputs.length > 0 && /* @__PURE__ */ jsxs24("div", { className: "pipe-card-io", children: [
2827
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-label", children: "OUTPUT" }),
2828
- /* @__PURE__ */ jsx25("div", { className: "pipe-card-io-pills", children: data.outputs.map((output) => /* @__PURE__ */ jsxs24(
2866
+ data.outputs.length > 0 && /* @__PURE__ */ jsxs25("div", { className: "pipe-card-io", children: [
2867
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-label", children: "OUTPUT" }),
2868
+ /* @__PURE__ */ jsx26("div", { className: "pipe-card-io-pills", children: data.outputs.map((output) => /* @__PURE__ */ jsxs25(
2829
2869
  "span",
2830
2870
  {
2831
2871
  className: "pipe-card-io-pill",
2832
2872
  title: `${output.name}: ${output.concept}`,
2833
2873
  children: [
2834
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-pill-name", children: output.name }),
2835
- /* @__PURE__ */ jsx25("span", { className: "pipe-card-io-pill-concept", children: output.concept })
2874
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-pill-name", children: output.name }),
2875
+ /* @__PURE__ */ jsx26("span", { className: "pipe-card-io-pill-concept", children: output.concept })
2836
2876
  ]
2837
2877
  },
2838
2878
  output.name
@@ -2867,11 +2907,11 @@ function getPipeCardComponent(pipeType) {
2867
2907
  }
2868
2908
 
2869
2909
  // src/graph/react/nodes/pipe/PipeCardNode.tsx
2870
- import { Fragment as Fragment14, jsx as jsx26, jsxs as jsxs25 } from "react/jsx-runtime";
2910
+ import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs26 } from "react/jsx-runtime";
2871
2911
  function PipeCardNode({ data }) {
2872
2912
  var _a;
2873
2913
  const Card = (_a = getPipeCardComponent(data.pipeType)) != null ? _a : PipeCardBase;
2874
- return /* @__PURE__ */ jsx26(Card, { data });
2914
+ return /* @__PURE__ */ jsx27(Card, { data });
2875
2915
  }
2876
2916
  function PipeCardRFNode({
2877
2917
  data,
@@ -2880,16 +2920,16 @@ function PipeCardRFNode({
2880
2920
  }) {
2881
2921
  const payload = data.pipeCardData;
2882
2922
  if (!payload) return null;
2883
- return /* @__PURE__ */ jsxs25(Fragment14, { children: [
2884
- /* @__PURE__ */ jsx26(Handle, { type: "target", position: targetPosition }),
2885
- /* @__PURE__ */ jsx26(PipeCardNode, { data: payload }),
2886
- /* @__PURE__ */ jsx26(Handle, { type: "source", position: sourcePosition })
2923
+ return /* @__PURE__ */ jsxs26(Fragment14, { children: [
2924
+ /* @__PURE__ */ jsx27(Handle, { type: "target", position: targetPosition }),
2925
+ /* @__PURE__ */ jsx27(PipeCardNode, { data: payload }),
2926
+ /* @__PURE__ */ jsx27(Handle, { type: "source", position: sourcePosition })
2887
2927
  ] });
2888
2928
  }
2889
2929
 
2890
2930
  // src/graph/react/styles/simple/SimpleNodes.tsx
2891
2931
  import { Handle as Handle2, Position as Position2 } from "@xyflow/react";
2892
- import { Fragment as Fragment15, jsx as jsx27, jsxs as jsxs26 } from "react/jsx-runtime";
2932
+ import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs27 } from "react/jsx-runtime";
2893
2933
  var ICON_PROPS2 = {
2894
2934
  viewBox: "0 0 24 24",
2895
2935
  fill: "none",
@@ -2900,90 +2940,90 @@ var ICON_PROPS2 = {
2900
2940
  "aria-hidden": true
2901
2941
  };
2902
2942
  function Icon({ size = 13, children }) {
2903
- return /* @__PURE__ */ jsx27("svg", __spreadProps(__spreadValues({}, ICON_PROPS2), { width: size, height: size, children }));
2943
+ return /* @__PURE__ */ jsx28("svg", __spreadProps(__spreadValues({}, ICON_PROPS2), { width: size, height: size, children }));
2904
2944
  }
2905
2945
  var CATEGORY_ICONS = {
2906
- ai: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2907
- /* @__PURE__ */ jsx27("path", { d: "M9.94 15.5a2 2 0 0 0-1.44-1.44l-6.13-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0l1.58 6.14a2 2 0 0 0 1.44 1.44l6.14 1.58a.5.5 0 0 1 0 .96l-6.14 1.58a2 2 0 0 0-1.44 1.44l-1.58 6.13a.5.5 0 0 1-.96 0z" }),
2908
- /* @__PURE__ */ jsx27("path", { d: "M20 3v4" }),
2909
- /* @__PURE__ */ jsx27("path", { d: "M22 5h-4" })
2946
+ ai: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2947
+ /* @__PURE__ */ jsx28("path", { d: "M9.94 15.5a2 2 0 0 0-1.44-1.44l-6.13-1.58a.5.5 0 0 1 0-.96L8.5 9.94A2 2 0 0 0 9.94 8.5l1.58-6.14a.5.5 0 0 1 .96 0l1.58 6.14a2 2 0 0 0 1.44 1.44l6.14 1.58a.5.5 0 0 1 0 .96l-6.14 1.58a2 2 0 0 0-1.44 1.44l-1.58 6.13a.5.5 0 0 1-.96 0z" }),
2948
+ /* @__PURE__ */ jsx28("path", { d: "M20 3v4" }),
2949
+ /* @__PURE__ */ jsx28("path", { d: "M22 5h-4" })
2910
2950
  ] }),
2911
- extract: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2912
- /* @__PURE__ */ jsx27("path", { d: "M3 7V5a2 2 0 0 1 2-2h2" }),
2913
- /* @__PURE__ */ jsx27("path", { d: "M17 3h2a2 2 0 0 1 2 2v2" }),
2914
- /* @__PURE__ */ jsx27("path", { d: "M21 17v2a2 2 0 0 1-2 2h-2" }),
2915
- /* @__PURE__ */ jsx27("path", { d: "M7 21H5a2 2 0 0 1-2-2v-2" }),
2916
- /* @__PURE__ */ jsx27("path", { d: "M7 8h8" }),
2917
- /* @__PURE__ */ jsx27("path", { d: "M7 12h10" }),
2918
- /* @__PURE__ */ jsx27("path", { d: "M7 16h6" })
2951
+ extract: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2952
+ /* @__PURE__ */ jsx28("path", { d: "M3 7V5a2 2 0 0 1 2-2h2" }),
2953
+ /* @__PURE__ */ jsx28("path", { d: "M17 3h2a2 2 0 0 1 2 2v2" }),
2954
+ /* @__PURE__ */ jsx28("path", { d: "M21 17v2a2 2 0 0 1-2 2h-2" }),
2955
+ /* @__PURE__ */ jsx28("path", { d: "M7 21H5a2 2 0 0 1-2-2v-2" }),
2956
+ /* @__PURE__ */ jsx28("path", { d: "M7 8h8" }),
2957
+ /* @__PURE__ */ jsx28("path", { d: "M7 12h10" }),
2958
+ /* @__PURE__ */ jsx28("path", { d: "M7 16h6" })
2919
2959
  ] }),
2920
- image: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2921
- /* @__PURE__ */ jsx27("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
2922
- /* @__PURE__ */ jsx27("circle", { cx: "9", cy: "9", r: "2" }),
2923
- /* @__PURE__ */ jsx27("path", { d: "m21 15-3.09-3.09a2 2 0 0 0-2.82 0L6 21" })
2960
+ image: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2961
+ /* @__PURE__ */ jsx28("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
2962
+ /* @__PURE__ */ jsx28("circle", { cx: "9", cy: "9", r: "2" }),
2963
+ /* @__PURE__ */ jsx28("path", { d: "m21 15-3.09-3.09a2 2 0 0 0-2.82 0L6 21" })
2924
2964
  ] }),
2925
- search: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2926
- /* @__PURE__ */ jsx27("circle", { cx: "11", cy: "11", r: "8" }),
2927
- /* @__PURE__ */ jsx27("path", { d: "m21 21-4.3-4.3" })
2965
+ search: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2966
+ /* @__PURE__ */ jsx28("circle", { cx: "11", cy: "11", r: "8" }),
2967
+ /* @__PURE__ */ jsx28("path", { d: "m21 21-4.3-4.3" })
2928
2968
  ] }),
2929
- code: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2930
- /* @__PURE__ */ jsx27("polyline", { points: "16 18 22 12 16 6" }),
2931
- /* @__PURE__ */ jsx27("polyline", { points: "8 6 2 12 8 18" })
2969
+ code: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2970
+ /* @__PURE__ */ jsx28("polyline", { points: "16 18 22 12 16 6" }),
2971
+ /* @__PURE__ */ jsx28("polyline", { points: "8 6 2 12 8 18" })
2932
2972
  ] }),
2933
- template: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2934
- /* @__PURE__ */ jsx27("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
2935
- /* @__PURE__ */ jsx27("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }),
2936
- /* @__PURE__ */ jsx27("path", { d: "M16 13H8" }),
2937
- /* @__PURE__ */ jsx27("path", { d: "M16 17H8" })
2973
+ template: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2974
+ /* @__PURE__ */ jsx28("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
2975
+ /* @__PURE__ */ jsx28("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }),
2976
+ /* @__PURE__ */ jsx28("path", { d: "M16 13H8" }),
2977
+ /* @__PURE__ */ jsx28("path", { d: "M16 17H8" })
2938
2978
  ] }),
2939
- document: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2940
- /* @__PURE__ */ jsx27("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
2941
- /* @__PURE__ */ jsx27("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }),
2942
- /* @__PURE__ */ jsx27("path", { d: "M12 18v-6" }),
2943
- /* @__PURE__ */ jsx27("path", { d: "m9 15 3 3 3-3" })
2979
+ document: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2980
+ /* @__PURE__ */ jsx28("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
2981
+ /* @__PURE__ */ jsx28("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" }),
2982
+ /* @__PURE__ */ jsx28("path", { d: "M12 18v-6" }),
2983
+ /* @__PURE__ */ jsx28("path", { d: "m9 15 3 3 3-3" })
2944
2984
  ] }),
2945
- judge: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2946
- /* @__PURE__ */ jsx27("path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z" }),
2947
- /* @__PURE__ */ jsx27("path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z" }),
2948
- /* @__PURE__ */ jsx27("path", { d: "M7 21h10" }),
2949
- /* @__PURE__ */ jsx27("path", { d: "M12 3v18" }),
2950
- /* @__PURE__ */ jsx27("path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2" })
2985
+ judge: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2986
+ /* @__PURE__ */ jsx28("path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z" }),
2987
+ /* @__PURE__ */ jsx28("path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z" }),
2988
+ /* @__PURE__ */ jsx28("path", { d: "M7 21h10" }),
2989
+ /* @__PURE__ */ jsx28("path", { d: "M12 3v18" }),
2990
+ /* @__PURE__ */ jsx28("path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2" })
2951
2991
  ] }),
2952
- planned: /* @__PURE__ */ jsx27("circle", { cx: "12", cy: "12", r: "9", strokeDasharray: "3 3" }),
2953
- steps: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2954
- /* @__PURE__ */ jsx27("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }),
2955
- /* @__PURE__ */ jsx27("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
2956
- /* @__PURE__ */ jsx27("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
2992
+ planned: /* @__PURE__ */ jsx28("circle", { cx: "12", cy: "12", r: "9", strokeDasharray: "3 3" }),
2993
+ steps: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2994
+ /* @__PURE__ */ jsx28("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }),
2995
+ /* @__PURE__ */ jsx28("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
2996
+ /* @__PURE__ */ jsx28("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
2957
2997
  ] }),
2958
- parallel: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2959
- /* @__PURE__ */ jsx27("path", { d: "M16 3h5v5" }),
2960
- /* @__PURE__ */ jsx27("path", { d: "M8 3H3v5" }),
2961
- /* @__PURE__ */ jsx27("path", { d: "M12 22v-8.3a4 4 0 0 0-1.17-2.87L3 3" }),
2962
- /* @__PURE__ */ jsx27("path", { d: "m15 9 6-6" })
2998
+ parallel: /* @__PURE__ */ jsxs27(Fragment15, { children: [
2999
+ /* @__PURE__ */ jsx28("path", { d: "M16 3h5v5" }),
3000
+ /* @__PURE__ */ jsx28("path", { d: "M8 3H3v5" }),
3001
+ /* @__PURE__ */ jsx28("path", { d: "M12 22v-8.3a4 4 0 0 0-1.17-2.87L3 3" }),
3002
+ /* @__PURE__ */ jsx28("path", { d: "m15 9 6-6" })
2963
3003
  ] }),
2964
- decision: /* @__PURE__ */ jsx27("path", { d: "M12 2 22 12 12 22 2 12Z" }),
2965
- repeat: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2966
- /* @__PURE__ */ jsx27("path", { d: "m17 2 4 4-4 4" }),
2967
- /* @__PURE__ */ jsx27("path", { d: "M3 11v-1a4 4 0 0 1 4-4h14" }),
2968
- /* @__PURE__ */ jsx27("path", { d: "m7 22-4-4 4-4" }),
2969
- /* @__PURE__ */ jsx27("path", { d: "M21 13v1a4 4 0 0 1-4 4H3" })
3004
+ decision: /* @__PURE__ */ jsx28("path", { d: "M12 2 22 12 12 22 2 12Z" }),
3005
+ repeat: /* @__PURE__ */ jsxs27(Fragment15, { children: [
3006
+ /* @__PURE__ */ jsx28("path", { d: "m17 2 4 4-4 4" }),
3007
+ /* @__PURE__ */ jsx28("path", { d: "M3 11v-1a4 4 0 0 1 4-4h14" }),
3008
+ /* @__PURE__ */ jsx28("path", { d: "m7 22-4-4 4-4" }),
3009
+ /* @__PURE__ */ jsx28("path", { d: "M21 13v1a4 4 0 0 1-4 4H3" })
2970
3010
  ] }),
2971
- pick: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2972
- /* @__PURE__ */ jsx27("polyline", { points: "15 10 20 15 15 20" }),
2973
- /* @__PURE__ */ jsx27("path", { d: "M4 4v7a4 4 0 0 0 4 4h12" })
3011
+ pick: /* @__PURE__ */ jsxs27(Fragment15, { children: [
3012
+ /* @__PURE__ */ jsx28("polyline", { points: "15 10 20 15 15 20" }),
3013
+ /* @__PURE__ */ jsx28("path", { d: "M4 4v7a4 4 0 0 0 4 4h12" })
2974
3014
  ] })
2975
3015
  };
2976
- var EXPAND_ICON2 = /* @__PURE__ */ jsxs26(Icon, { size: 12, children: [
2977
- /* @__PURE__ */ jsx27("polyline", { points: "15 3 21 3 21 9" }),
2978
- /* @__PURE__ */ jsx27("polyline", { points: "9 21 3 21 3 15" }),
2979
- /* @__PURE__ */ jsx27("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
2980
- /* @__PURE__ */ jsx27("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
3016
+ var EXPAND_ICON2 = /* @__PURE__ */ jsxs27(Icon, { size: 12, children: [
3017
+ /* @__PURE__ */ jsx28("polyline", { points: "15 3 21 3 21 9" }),
3018
+ /* @__PURE__ */ jsx28("polyline", { points: "9 21 3 21 3 15" }),
3019
+ /* @__PURE__ */ jsx28("line", { x1: "21", y1: "3", x2: "14", y2: "10" }),
3020
+ /* @__PURE__ */ jsx28("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
2981
3021
  ] });
2982
- var COLLAPSE_ICON2 = /* @__PURE__ */ jsxs26(Icon, { size: 12, children: [
2983
- /* @__PURE__ */ jsx27("polyline", { points: "4 14 10 14 10 20" }),
2984
- /* @__PURE__ */ jsx27("polyline", { points: "20 10 14 10 14 4" }),
2985
- /* @__PURE__ */ jsx27("line", { x1: "14", y1: "10", x2: "21", y2: "3" }),
2986
- /* @__PURE__ */ jsx27("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
3022
+ var COLLAPSE_ICON2 = /* @__PURE__ */ jsxs27(Icon, { size: 12, children: [
3023
+ /* @__PURE__ */ jsx28("polyline", { points: "4 14 10 14 10 20" }),
3024
+ /* @__PURE__ */ jsx28("polyline", { points: "20 10 14 10 14 4" }),
3025
+ /* @__PURE__ */ jsx28("line", { x1: "14", y1: "10", x2: "21", y2: "3" }),
3026
+ /* @__PURE__ */ jsx28("line", { x1: "3", y1: "21", x2: "10", y2: "14" })
2987
3027
  ] });
2988
3028
  var STATUS_LABELS = {
2989
3029
  succeeded: "Done",
@@ -2994,25 +3034,25 @@ var STATUS_LABELS = {
2994
3034
  canceled: "Canceled"
2995
3035
  };
2996
3036
  var STATUS_ICONS = {
2997
- succeeded: /* @__PURE__ */ jsx27("polyline", { points: "20 6 9 17 4 12" }),
2998
- failed: /* @__PURE__ */ jsxs26(Fragment15, { children: [
2999
- /* @__PURE__ */ jsx27("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
3000
- /* @__PURE__ */ jsx27("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
3037
+ succeeded: /* @__PURE__ */ jsx28("polyline", { points: "20 6 9 17 4 12" }),
3038
+ failed: /* @__PURE__ */ jsxs27(Fragment15, { children: [
3039
+ /* @__PURE__ */ jsx28("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
3040
+ /* @__PURE__ */ jsx28("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
3001
3041
  ] }),
3002
- running: /* @__PURE__ */ jsx27("path", { d: "M21 12a9 9 0 1 1-6.22-8.56" }),
3003
- scheduled: /* @__PURE__ */ jsx27("circle", { cx: "12", cy: "12", r: "8" }),
3004
- skipped: /* @__PURE__ */ jsx27("line", { x1: "5", y1: "12", x2: "19", y2: "12" }),
3005
- canceled: /* @__PURE__ */ jsx27("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
3042
+ running: /* @__PURE__ */ jsx28("path", { d: "M21 12a9 9 0 1 1-6.22-8.56" }),
3043
+ scheduled: /* @__PURE__ */ jsx28("circle", { cx: "12", cy: "12", r: "8" }),
3044
+ skipped: /* @__PURE__ */ jsx28("line", { x1: "5", y1: "12", x2: "19", y2: "12" }),
3045
+ canceled: /* @__PURE__ */ jsx28("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
3006
3046
  };
3007
3047
  function StatusMark({ status, graphMode }) {
3008
3048
  if (graphMode === "static") return null;
3009
- return /* @__PURE__ */ jsx27(
3049
+ return /* @__PURE__ */ jsx28(
3010
3050
  "span",
3011
3051
  {
3012
3052
  className: `simple-status simple-status--${status}`,
3013
3053
  title: STATUS_LABELS[status],
3014
3054
  "aria-label": STATUS_LABELS[status],
3015
- children: /* @__PURE__ */ jsx27(Icon, { size: 11, children: STATUS_ICONS[status] })
3055
+ children: /* @__PURE__ */ jsx28(Icon, { size: 11, children: STATUS_ICONS[status] })
3016
3056
  }
3017
3057
  );
3018
3058
  }
@@ -3021,17 +3061,17 @@ function Handles({
3021
3061
  targetPosition = Position2.Left,
3022
3062
  children
3023
3063
  }) {
3024
- return /* @__PURE__ */ jsxs26(Fragment15, { children: [
3025
- /* @__PURE__ */ jsx27(Handle2, { type: "target", position: targetPosition, className: "simple-handle" }),
3064
+ return /* @__PURE__ */ jsxs27(Fragment15, { children: [
3065
+ /* @__PURE__ */ jsx28(Handle2, { type: "target", position: targetPosition, className: "simple-handle" }),
3026
3066
  children,
3027
- /* @__PURE__ */ jsx27(Handle2, { type: "source", position: sourcePosition, className: "simple-handle" })
3067
+ /* @__PURE__ */ jsx28(Handle2, { type: "source", position: sourcePosition, className: "simple-handle" })
3028
3068
  ] });
3029
3069
  }
3030
3070
  function ValidationMark({
3031
3071
  validation,
3032
3072
  onClick
3033
3073
  }) {
3034
- return validation ? /* @__PURE__ */ jsx27(NodeValidationBadge, { validation, onClick }) : null;
3074
+ return validation ? /* @__PURE__ */ jsx28(NodeValidationBadge, { validation, onClick }) : null;
3035
3075
  }
3036
3076
  function payloadOf(data, kinds) {
3037
3077
  const simple = data.simple;
@@ -3042,20 +3082,20 @@ function SimpleStepNode({ data, sourcePosition, targetPosition }) {
3042
3082
  const step = payloadOf(data, ["step"]);
3043
3083
  if (!step) return null;
3044
3084
  const statusClass = step.graphMode !== "static" ? ` simple-step--${step.status}` : "";
3045
- return /* @__PURE__ */ jsx27(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs26(
3085
+ return /* @__PURE__ */ jsx28(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs27(
3046
3086
  "div",
3047
3087
  {
3048
3088
  className: `simple-step simple-step--${step.category}${statusClass}${validationRingClass(data.validation)}`,
3049
3089
  children: [
3050
- /* @__PURE__ */ jsxs26("div", { className: "simple-step-header", children: [
3051
- /* @__PURE__ */ jsxs26("span", { className: "simple-step-category", children: [
3052
- /* @__PURE__ */ jsx27(Icon, { children: CATEGORY_ICONS[step.category] }),
3090
+ /* @__PURE__ */ jsxs27("div", { className: "simple-step-header", children: [
3091
+ /* @__PURE__ */ jsxs27("span", { className: "simple-step-category", children: [
3092
+ /* @__PURE__ */ jsx28(Icon, { children: CATEGORY_ICONS[step.category] }),
3053
3093
  STEP_CATEGORY_WORDS[step.category]
3054
3094
  ] }),
3055
- /* @__PURE__ */ jsx27(StatusMark, { status: step.status, graphMode: step.graphMode }),
3056
- /* @__PURE__ */ jsx27(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick })
3095
+ /* @__PURE__ */ jsx28(StatusMark, { status: step.status, graphMode: step.graphMode }),
3096
+ /* @__PURE__ */ jsx28(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick })
3057
3097
  ] }),
3058
- /* @__PURE__ */ jsx27(
3098
+ /* @__PURE__ */ jsx28(
3059
3099
  "div",
3060
3100
  {
3061
3101
  className: "simple-step-title",
@@ -3068,11 +3108,11 @@ function SimpleStepNode({ data, sourcePosition, targetPosition }) {
3068
3108
  children: step.title
3069
3109
  }
3070
3110
  ),
3071
- step.forEach && /* @__PURE__ */ jsxs26("span", { className: "simple-step-foreach", children: [
3072
- /* @__PURE__ */ jsx27(Icon, { size: 11, children: CATEGORY_ICONS.repeat }),
3111
+ step.forEach && /* @__PURE__ */ jsxs27("span", { className: "simple-step-foreach", children: [
3112
+ /* @__PURE__ */ jsx28(Icon, { size: 11, children: CATEGORY_ICONS.repeat }),
3073
3113
  step.forEach
3074
3114
  ] }),
3075
- step.innerStepCount !== void 0 && /* @__PURE__ */ jsxs26(
3115
+ step.innerStepCount !== void 0 && /* @__PURE__ */ jsxs27(
3076
3116
  "button",
3077
3117
  {
3078
3118
  type: "button",
@@ -3096,24 +3136,24 @@ function SimpleStepNode({ data, sourcePosition, targetPosition }) {
3096
3136
  }
3097
3137
  var DOCUMENT_PATH = "M1 1 H99 V84 C80 98 62 74 44 86 C28 96 14 96 1 88 Z";
3098
3138
  function DocumentShape({ className }) {
3099
- return /* @__PURE__ */ jsx27("svg", { className, viewBox: "0 0 100 100", preserveAspectRatio: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx27("path", { d: DOCUMENT_PATH, vectorEffect: "non-scaling-stroke" }) });
3139
+ return /* @__PURE__ */ jsx28("svg", { className, viewBox: "0 0 100 100", preserveAspectRatio: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx28("path", { d: DOCUMENT_PATH, vectorEffect: "non-scaling-stroke" }) });
3100
3140
  }
3101
3141
  function SimpleTerminalNode({ data, sourcePosition, targetPosition }) {
3102
3142
  const terminal = payloadOf(data, ["input", "output"]);
3103
3143
  if (!terminal) return null;
3104
- return /* @__PURE__ */ jsx27(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs26(
3144
+ return /* @__PURE__ */ jsx28(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs27(
3105
3145
  "div",
3106
3146
  {
3107
3147
  className: `simple-terminal simple-terminal--${terminal.kind}${terminal.isList ? " simple-terminal--list" : ""}`,
3108
3148
  children: [
3109
- terminal.isList && /* @__PURE__ */ jsxs26(Fragment15, { children: [
3110
- /* @__PURE__ */ jsx27(DocumentShape, { className: "simple-terminal-shape simple-terminal-shape--back2" }),
3111
- /* @__PURE__ */ jsx27(DocumentShape, { className: "simple-terminal-shape simple-terminal-shape--back1" })
3149
+ terminal.isList && /* @__PURE__ */ jsxs27(Fragment15, { children: [
3150
+ /* @__PURE__ */ jsx28(DocumentShape, { className: "simple-terminal-shape simple-terminal-shape--back2" }),
3151
+ /* @__PURE__ */ jsx28(DocumentShape, { className: "simple-terminal-shape simple-terminal-shape--back1" })
3112
3152
  ] }),
3113
- /* @__PURE__ */ jsx27(DocumentShape, { className: "simple-terminal-shape" }),
3114
- /* @__PURE__ */ jsxs26("div", { className: "simple-terminal-text", children: [
3115
- /* @__PURE__ */ jsx27("span", { className: "simple-terminal-title", title: terminal.title, children: terminal.title }),
3116
- terminal.subtitle && /* @__PURE__ */ jsx27("span", { className: "simple-terminal-subtitle", children: terminal.subtitle })
3153
+ /* @__PURE__ */ jsx28(DocumentShape, { className: "simple-terminal-shape" }),
3154
+ /* @__PURE__ */ jsxs27("div", { className: "simple-terminal-text", children: [
3155
+ /* @__PURE__ */ jsx28("span", { className: "simple-terminal-title", title: terminal.title, children: terminal.title }),
3156
+ terminal.subtitle && /* @__PURE__ */ jsx28("span", { className: "simple-terminal-subtitle", children: terminal.subtitle })
3117
3157
  ] })
3118
3158
  ]
3119
3159
  }
@@ -3123,35 +3163,35 @@ function SimpleDecisionNode({ data, sourcePosition, targetPosition }) {
3123
3163
  const decision = payloadOf(data, ["decision"]);
3124
3164
  if (!decision) return null;
3125
3165
  const statusClass = decision.graphMode !== "static" ? ` simple-decision--${decision.status}` : "";
3126
- return /* @__PURE__ */ jsx27(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs26("div", { className: `simple-decision${statusClass}${validationRingClass(data.validation)}`, children: [
3127
- /* @__PURE__ */ jsx27(
3166
+ return /* @__PURE__ */ jsx28(Handles, { sourcePosition, targetPosition, children: /* @__PURE__ */ jsxs27("div", { className: `simple-decision${statusClass}${validationRingClass(data.validation)}`, children: [
3167
+ /* @__PURE__ */ jsx28(
3128
3168
  "svg",
3129
3169
  {
3130
3170
  className: "simple-decision-shape",
3131
3171
  viewBox: "0 0 100 100",
3132
3172
  preserveAspectRatio: "none",
3133
3173
  "aria-hidden": "true",
3134
- children: /* @__PURE__ */ jsx27("path", { d: "M50 1 L99 50 L50 99 L1 50 Z", vectorEffect: "non-scaling-stroke" })
3174
+ children: /* @__PURE__ */ jsx28("path", { d: "M50 1 L99 50 L50 99 L1 50 Z", vectorEffect: "non-scaling-stroke" })
3135
3175
  }
3136
3176
  ),
3137
- /* @__PURE__ */ jsx27("div", { className: "simple-decision-text", title: decision.title, children: decision.title }),
3138
- /* @__PURE__ */ jsxs26("div", { className: "simple-decision-marks", children: [
3139
- /* @__PURE__ */ jsx27(StatusMark, { status: decision.status, graphMode: decision.graphMode }),
3140
- /* @__PURE__ */ jsx27(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick })
3177
+ /* @__PURE__ */ jsx28("div", { className: "simple-decision-text", title: decision.title, children: decision.title }),
3178
+ /* @__PURE__ */ jsxs27("div", { className: "simple-decision-marks", children: [
3179
+ /* @__PURE__ */ jsx28(StatusMark, { status: decision.status, graphMode: decision.graphMode }),
3180
+ /* @__PURE__ */ jsx28(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick })
3141
3181
  ] })
3142
3182
  ] }) });
3143
3183
  }
3144
3184
  function SimpleFrameNode({ data }) {
3145
3185
  const frame = payloadOf(data, ["frame"]);
3146
3186
  if (!frame) return null;
3147
- return /* @__PURE__ */ jsx27("div", { className: `simple-frame${validationRingClass(data.validation)}`, children: /* @__PURE__ */ jsxs26("div", { className: "simple-frame-header", children: [
3148
- /* @__PURE__ */ jsxs26("span", { className: "simple-frame-title", children: [
3149
- /* @__PURE__ */ jsx27(Icon, { size: 12, children: CATEGORY_ICONS.repeat }),
3187
+ return /* @__PURE__ */ jsx28("div", { className: `simple-frame${validationRingClass(data.validation)}`, children: /* @__PURE__ */ jsxs27("div", { className: "simple-frame-header", children: [
3188
+ /* @__PURE__ */ jsxs27("span", { className: "simple-frame-title", children: [
3189
+ /* @__PURE__ */ jsx28(Icon, { size: 12, children: CATEGORY_ICONS.repeat }),
3150
3190
  frame.title
3151
3191
  ] }),
3152
- /* @__PURE__ */ jsx27(StatusMark, { status: frame.status, graphMode: frame.graphMode }),
3153
- /* @__PURE__ */ jsx27(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick }),
3154
- frame.onFold && /* @__PURE__ */ jsx27(
3192
+ /* @__PURE__ */ jsx28(StatusMark, { status: frame.status, graphMode: frame.graphMode }),
3193
+ /* @__PURE__ */ jsx28(ValidationMark, { validation: data.validation, onClick: data.onValidationBadgeClick }),
3194
+ frame.onFold && /* @__PURE__ */ jsx28(
3155
3195
  "button",
3156
3196
  {
3157
3197
  type: "button",
@@ -3177,7 +3217,7 @@ var simpleNodeTypes = {
3177
3217
 
3178
3218
  // src/graph/react/edges/RoutedEdge.tsx
3179
3219
  import { BaseEdge, getSmoothStepPath } from "@xyflow/react";
3180
- import { jsx as jsx28 } from "react/jsx-runtime";
3220
+ import { jsx as jsx29 } from "react/jsx-runtime";
3181
3221
  function RoutedEdge({
3182
3222
  id,
3183
3223
  sourceX,
@@ -3217,7 +3257,7 @@ function RoutedEdge({
3217
3257
  borderRadius: 8
3218
3258
  });
3219
3259
  }
3220
- return /* @__PURE__ */ jsx28(
3260
+ return /* @__PURE__ */ jsx29(
3221
3261
  BaseEdge,
3222
3262
  {
3223
3263
  id,
@@ -3239,7 +3279,7 @@ function RoutedEdge({
3239
3279
  }
3240
3280
 
3241
3281
  // src/graph/react/viewer/GraphViewer.tsx
3242
- import { Fragment as Fragment16, jsx as jsx29, jsxs as jsxs27 } from "react/jsx-runtime";
3282
+ import { Fragment as Fragment16, jsx as jsx30, jsxs as jsxs28 } from "react/jsx-runtime";
3243
3283
  var nodeTypes = __spreadValues(__spreadProps(__spreadValues({}, controllerNodeTypes), {
3244
3284
  pipeCard: PipeCardRFNode
3245
3285
  }), simpleNodeTypes);
@@ -3274,7 +3314,7 @@ function StuffNodeDetail({
3274
3314
  const conceptInfo = stuffData.concept && graphspec ? resolveConceptRef(graphspec, stuffData.concept) : void 0;
3275
3315
  const isDryRun = graphSpecMode(graphspec) === GRAPH_SPEC_MODE.DRY;
3276
3316
  const descriptors = resultDescriptors(artifacts);
3277
- const renderData = descriptors ? () => /* @__PURE__ */ jsx29(
3317
+ const renderData = descriptors ? () => /* @__PURE__ */ jsx30(
3278
3318
  StuffResultPanel,
3279
3319
  __spreadProps(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, descriptors), {
3280
3320
  stuff: stuffData
@@ -3283,7 +3323,7 @@ function StuffNodeDetail({
3283
3323
  })
3284
3324
  ) : void 0;
3285
3325
  if (conceptInfo) {
3286
- return /* @__PURE__ */ jsx29(
3326
+ return /* @__PURE__ */ jsx30(
3287
3327
  ConceptDetailPanel,
3288
3328
  {
3289
3329
  concept: conceptInfo,
@@ -3294,8 +3334,8 @@ function StuffNodeDetail({
3294
3334
  }
3295
3335
  );
3296
3336
  }
3297
- if (isDryRun) return /* @__PURE__ */ jsx29("div", { className: "detail-not-available", children: "Dry run data hidden" });
3298
- return /* @__PURE__ */ jsx29(Fragment16, { children: (_a = renderData == null ? void 0 : renderData()) != null ? _a : /* @__PURE__ */ jsx29("div", { className: "detail-not-available", children: "No data" }) });
3337
+ if (isDryRun) return /* @__PURE__ */ jsx30("div", { className: "detail-not-available", children: "Dry run data hidden" });
3338
+ return /* @__PURE__ */ jsx30(Fragment16, { children: (_a = renderData == null ? void 0 : renderData()) != null ? _a : /* @__PURE__ */ jsx30("div", { className: "detail-not-available", children: "No data" }) });
3299
3339
  }
3300
3340
  function seedFoldedControllers(mode, controllerIds) {
3301
3341
  if (mode === FOLD_MODE.FOLDED) return new Set(controllerIds);
@@ -3342,10 +3382,19 @@ function applyStatusOverrides(nodes, statusMap) {
3342
3382
  const simple = node.data.simple;
3343
3383
  const simpleWithStatus = simple && "status" in simple ? simple : void 0;
3344
3384
  if (nodeRunStatus(node.data) === newStatus) return node;
3385
+ const keepsMark = newStatus === "failed";
3386
+ const _b = node.data, { failingPipe } = _b, data = __objRest(_b, ["failingPipe"]);
3387
+ let pipeCardData = data.pipeCardData;
3388
+ if (pipeCardData) {
3389
+ const _c = pipeCardData, { failingPipe: cardMark } = _c, card = __objRest(_c, ["failingPipe"]);
3390
+ pipeCardData = __spreadValues(__spreadProps(__spreadValues({}, card), {
3391
+ status: newStatus
3392
+ }), keepsMark && cardMark ? { failingPipe: cardMark } : {});
3393
+ }
3345
3394
  return __spreadProps(__spreadValues({}, node), {
3346
- data: __spreadProps(__spreadValues({}, node.data), {
3395
+ data: __spreadProps(__spreadValues(__spreadValues({}, data), keepsMark && failingPipe ? { failingPipe } : {}), {
3347
3396
  nodeData: node.data.nodeData ? __spreadProps(__spreadValues({}, node.data.nodeData), { status: newStatus }) : node.data.nodeData,
3348
- pipeCardData: node.data.pipeCardData ? __spreadProps(__spreadValues({}, node.data.pipeCardData), { status: newStatus }) : node.data.pipeCardData,
3397
+ pipeCardData,
3349
3398
  simple: simpleWithStatus ? __spreadProps(__spreadValues({}, simpleWithStatus), { status: newStatus }) : simple
3350
3399
  })
3351
3400
  });
@@ -4028,7 +4077,7 @@ function GraphViewer(props) {
4028
4077
  };
4029
4078
  }, [foldControlsAvailable, allControllerIds, foldedControllers, markReaderFolds]);
4030
4079
  const styleMenuOptions = React12.useMemo(() => resolveStyleMenu(styleMenu), [styleMenu]);
4031
- return /* @__PURE__ */ jsxs27(
4080
+ return /* @__PURE__ */ jsxs28(
4032
4081
  "div",
4033
4082
  {
4034
4083
  ref: containerRef,
@@ -4036,7 +4085,7 @@ function GraphViewer(props) {
4036
4085
  style: interactive ? void 0 : { height: stillHeight },
4037
4086
  inert: !interactive,
4038
4087
  children: [
4039
- /* @__PURE__ */ jsxs27(
4088
+ /* @__PURE__ */ jsxs28(
4040
4089
  ReactFlow,
4041
4090
  __spreadProps(__spreadValues({
4042
4091
  nodes,
@@ -4057,7 +4106,7 @@ function GraphViewer(props) {
4057
4106
  panActivationKeyCode: null
4058
4107
  }, interactive ? {} : STILL_FLOW_PROPS), {
4059
4108
  children: [
4060
- interactive ? /* @__PURE__ */ jsx29(
4109
+ interactive ? /* @__PURE__ */ jsx30(
4061
4110
  Background,
4062
4111
  {
4063
4112
  variant: BackgroundVariant.Dots,
@@ -4065,8 +4114,8 @@ function GraphViewer(props) {
4065
4114
  size: 1,
4066
4115
  color: "var(--color-bg-dots)"
4067
4116
  }
4068
- ) : /* @__PURE__ */ jsx29(StillFit, { onHeight: setStillHeight }),
4069
- interactive && !hideToolbar && /* @__PURE__ */ jsx29(
4117
+ ) : /* @__PURE__ */ jsx30(StillFit, { onHeight: setStillHeight }),
4118
+ interactive && !hideToolbar && /* @__PURE__ */ jsx30(
4070
4119
  GraphToolbar,
4071
4120
  {
4072
4121
  direction,
@@ -4106,7 +4155,7 @@ function GraphViewer(props) {
4106
4155
  ]
4107
4156
  })
4108
4157
  ),
4109
- interactive && /* @__PURE__ */ jsxs27(
4158
+ interactive && /* @__PURE__ */ jsxs28(
4110
4159
  DetailPanel,
4111
4160
  {
4112
4161
  isOpen: detailOpen,
@@ -4115,14 +4164,14 @@ function GraphViewer(props) {
4115
4164
  isDragging: isPanelDragging,
4116
4165
  onResizeHandleMouseDown: onResizeMouseDown,
4117
4166
  children: [
4118
- conceptOverride ? /* @__PURE__ */ jsx29(ConceptDetailPanel, { concept: conceptOverride }) : selectedSpecNode && graphspec ? /* @__PURE__ */ jsx29(
4167
+ conceptOverride ? /* @__PURE__ */ jsx30(ConceptDetailPanel, { concept: conceptOverride }) : selectedSpecNode && graphspec ? /* @__PURE__ */ jsx30(
4119
4168
  PipeDetailPanel,
4120
4169
  {
4121
4170
  node: selectedSpecNode,
4122
4171
  spec: graphspec,
4123
4172
  onConceptClick: handleConceptClick
4124
4173
  }
4125
- ) : (detailSelection == null ? void 0 : detailSelection.stuffData) ? /* @__PURE__ */ jsx29(
4174
+ ) : (detailSelection == null ? void 0 : detailSelection.stuffData) ? /* @__PURE__ */ jsx30(
4126
4175
  StuffNodeDetail,
4127
4176
  {
4128
4177
  nodeId: detailSelection.nodeId,