@acpus/web 0.1.0-alpha.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.
Files changed (141) hide show
  1. package/LICENSE +21 -0
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/client/api.d.ts +398 -0
  4. package/dist/client/api.d.ts.map +1 -0
  5. package/dist/client/api.js +73 -0
  6. package/dist/client/api.js.map +1 -0
  7. package/dist/client/assets/index-Cn1qpJ2F.css +1 -0
  8. package/dist/client/assets/index-DVV3hISu.js +2 -0
  9. package/dist/client/assets/vendor-B7fc3-WT.js +69 -0
  10. package/dist/client/assets/vendor-icons-BQrCRas_.js +241 -0
  11. package/dist/client/assets/vendor-json-view-B9Z7D9kT.css +1 -0
  12. package/dist/client/assets/vendor-json-view-uYZpLE5K.js +1 -0
  13. package/dist/client/assets/vendor-query-Co8PPx4J.js +1 -0
  14. package/dist/client/assets/vendor-radix-C9JUg2bE.js +1 -0
  15. package/dist/client/assets/vendor-react-BRGuIgbw.js +49 -0
  16. package/dist/client/index.html +26 -0
  17. package/dist/client/lib/utils.d.ts +3 -0
  18. package/dist/client/lib/utils.d.ts.map +1 -0
  19. package/dist/client/lib/utils.js +6 -0
  20. package/dist/client/lib/utils.js.map +1 -0
  21. package/dist/client/main.d.ts +2 -0
  22. package/dist/client/main.d.ts.map +1 -0
  23. package/dist/client/main.js +18 -0
  24. package/dist/client/main.js.map +1 -0
  25. package/dist/client/static-viz.d.ts +8 -0
  26. package/dist/client/static-viz.d.ts.map +1 -0
  27. package/dist/client/static-viz.js +10 -0
  28. package/dist/client/static-viz.js.map +1 -0
  29. package/dist/client/ui/App.d.ts +40 -0
  30. package/dist/client/ui/App.d.ts.map +1 -0
  31. package/dist/client/ui/App.js +742 -0
  32. package/dist/client/ui/App.js.map +1 -0
  33. package/dist/client/ui/RunGraph.d.ts +9 -0
  34. package/dist/client/ui/RunGraph.d.ts.map +1 -0
  35. package/dist/client/ui/RunGraph.js +294 -0
  36. package/dist/client/ui/RunGraph.js.map +1 -0
  37. package/dist/client/ui/StaticGraphApp.d.ts +22 -0
  38. package/dist/client/ui/StaticGraphApp.d.ts.map +1 -0
  39. package/dist/client/ui/StaticGraphApp.js +102 -0
  40. package/dist/client/ui/StaticGraphApp.js.map +1 -0
  41. package/dist/client/ui/Toast.d.ts +16 -0
  42. package/dist/client/ui/Toast.d.ts.map +1 -0
  43. package/dist/client/ui/Toast.js +41 -0
  44. package/dist/client/ui/Toast.js.map +1 -0
  45. package/dist/client/ui/shadcn/alert.d.ts +3 -0
  46. package/dist/client/ui/shadcn/alert.d.ts.map +1 -0
  47. package/dist/client/ui/shadcn/alert.js +6 -0
  48. package/dist/client/ui/shadcn/alert.js.map +1 -0
  49. package/dist/client/ui/shadcn/badge.d.ts +10 -0
  50. package/dist/client/ui/shadcn/badge.d.ts.map +1 -0
  51. package/dist/client/ui/shadcn/badge.js +19 -0
  52. package/dist/client/ui/shadcn/badge.js.map +1 -0
  53. package/dist/client/ui/shadcn/breadcrumb.d.ts +9 -0
  54. package/dist/client/ui/shadcn/breadcrumb.d.ts.map +1 -0
  55. package/dist/client/ui/shadcn/breadcrumb.js +15 -0
  56. package/dist/client/ui/shadcn/breadcrumb.js.map +1 -0
  57. package/dist/client/ui/shadcn/button.d.ts +12 -0
  58. package/dist/client/ui/shadcn/button.d.ts.map +1 -0
  59. package/dist/client/ui/shadcn/button.js +37 -0
  60. package/dist/client/ui/shadcn/button.js.map +1 -0
  61. package/dist/client/ui/shadcn/card.d.ts +6 -0
  62. package/dist/client/ui/shadcn/card.d.ts.map +1 -0
  63. package/dist/client/ui/shadcn/card.js +10 -0
  64. package/dist/client/ui/shadcn/card.js.map +1 -0
  65. package/dist/client/ui/shadcn/dialog.d.ts +11 -0
  66. package/dist/client/ui/shadcn/dialog.d.ts.map +1 -0
  67. package/dist/client/ui/shadcn/dialog.js +15 -0
  68. package/dist/client/ui/shadcn/dialog.js.map +1 -0
  69. package/dist/client/ui/shadcn/input.d.ts +5 -0
  70. package/dist/client/ui/shadcn/input.d.ts.map +1 -0
  71. package/dist/client/ui/shadcn/input.js +6 -0
  72. package/dist/client/ui/shadcn/input.js.map +1 -0
  73. package/dist/client/ui/shadcn/list.d.ts +8 -0
  74. package/dist/client/ui/shadcn/list.d.ts.map +1 -0
  75. package/dist/client/ui/shadcn/list.js +8 -0
  76. package/dist/client/ui/shadcn/list.js.map +1 -0
  77. package/dist/client/ui/shadcn/popover.d.ts +8 -0
  78. package/dist/client/ui/shadcn/popover.d.ts.map +1 -0
  79. package/dist/client/ui/shadcn/popover.js +11 -0
  80. package/dist/client/ui/shadcn/popover.js.map +1 -0
  81. package/dist/client/ui/shadcn/select.d.ts +9 -0
  82. package/dist/client/ui/shadcn/select.d.ts.map +1 -0
  83. package/dist/client/ui/shadcn/select.js +17 -0
  84. package/dist/client/ui/shadcn/select.js.map +1 -0
  85. package/dist/client/ui/shadcn/tabs.d.ts +7 -0
  86. package/dist/client/ui/shadcn/tabs.d.ts.map +1 -0
  87. package/dist/client/ui/shadcn/tabs.js +12 -0
  88. package/dist/client/ui/shadcn/tabs.js.map +1 -0
  89. package/dist/client/ui/shadcn/textarea.d.ts +3 -0
  90. package/dist/client/ui/shadcn/textarea.d.ts.map +1 -0
  91. package/dist/client/ui/shadcn/textarea.js +6 -0
  92. package/dist/client/ui/shadcn/textarea.js.map +1 -0
  93. package/dist/graph-renderer.d.ts +114 -0
  94. package/dist/graph-renderer.d.ts.map +1 -0
  95. package/dist/graph-renderer.js +673 -0
  96. package/dist/graph-renderer.js.map +1 -0
  97. package/dist/index.d.ts +5 -0
  98. package/dist/index.d.ts.map +1 -0
  99. package/dist/index.js +5 -0
  100. package/dist/index.js.map +1 -0
  101. package/dist/runtime-status.d.ts +10 -0
  102. package/dist/runtime-status.d.ts.map +1 -0
  103. package/dist/runtime-status.js +45 -0
  104. package/dist/runtime-status.js.map +1 -0
  105. package/dist/server/app.d.ts +11 -0
  106. package/dist/server/app.d.ts.map +1 -0
  107. package/dist/server/app.js +244 -0
  108. package/dist/server/app.js.map +1 -0
  109. package/dist/server/assets.d.ts +3 -0
  110. package/dist/server/assets.d.ts.map +1 -0
  111. package/dist/server/assets.js +45 -0
  112. package/dist/server/assets.js.map +1 -0
  113. package/dist/server/errors.d.ts +14 -0
  114. package/dist/server/errors.d.ts.map +1 -0
  115. package/dist/server/errors.js +13 -0
  116. package/dist/server/errors.js.map +1 -0
  117. package/dist/server/graph.d.ts +137 -0
  118. package/dist/server/graph.d.ts.map +1 -0
  119. package/dist/server/graph.js +592 -0
  120. package/dist/server/graph.js.map +1 -0
  121. package/dist/server/launcher.d.ts +15 -0
  122. package/dist/server/launcher.d.ts.map +1 -0
  123. package/dist/server/launcher.js +30 -0
  124. package/dist/server/launcher.js.map +1 -0
  125. package/dist/server/node-inspection.d.ts +108 -0
  126. package/dist/server/node-inspection.d.ts.map +1 -0
  127. package/dist/server/node-inspection.js +435 -0
  128. package/dist/server/node-inspection.js.map +1 -0
  129. package/dist/server/security.d.ts +12 -0
  130. package/dist/server/security.d.ts.map +1 -0
  131. package/dist/server/security.js +43 -0
  132. package/dist/server/security.js.map +1 -0
  133. package/dist/server/static-viz-assets.generated.d.ts +3 -0
  134. package/dist/server/static-viz-assets.generated.d.ts.map +1 -0
  135. package/dist/server/static-viz-assets.generated.js +4 -0
  136. package/dist/server/static-viz-assets.generated.js.map +1 -0
  137. package/dist/server/workflows.d.ts +75 -0
  138. package/dist/server/workflows.d.ts.map +1 -0
  139. package/dist/server/workflows.js +205 -0
  140. package/dist/server/workflows.js.map +1 -0
  141. package/package.json +65 -0
@@ -0,0 +1,398 @@
1
+ export type RunRecord = {
2
+ id: string;
3
+ name: string;
4
+ status: string;
5
+ workflowEntry: string;
6
+ irDigest: string;
7
+ sourceGraphDigest: string;
8
+ createdAt: string;
9
+ updatedAt: string;
10
+ };
11
+ export type RunDetails = RunRecord & {
12
+ input: unknown;
13
+ output?: unknown;
14
+ eventCount: number;
15
+ nodeCount: number;
16
+ dynamic?: {
17
+ version: number;
18
+ frames: Array<{
19
+ frameKey: string;
20
+ nodeId?: string;
21
+ frameKind?: string;
22
+ status: string;
23
+ } & Record<string, unknown>>;
24
+ nodeInstances: Array<{
25
+ nodeKey: string;
26
+ nodeId: string;
27
+ status: string;
28
+ } & Record<string, unknown>>;
29
+ attempts: unknown[];
30
+ groupMembers: Array<{
31
+ groupKey?: string;
32
+ memberKey: string;
33
+ memberKind?: string;
34
+ branchId?: string;
35
+ itemKey?: string;
36
+ itemIndex?: number;
37
+ childFrameKey?: string;
38
+ status: string;
39
+ } & Record<string, unknown>>;
40
+ signalWaits: Array<{
41
+ nodeKey: string;
42
+ nodeId: string;
43
+ status: string;
44
+ renderedPrompt?: string;
45
+ }>;
46
+ executionMetadata: unknown[];
47
+ artifacts?: ArtifactReference[];
48
+ };
49
+ };
50
+ export type ArtifactReference = {
51
+ id: string;
52
+ nodeKey: string;
53
+ attempt: number;
54
+ mediaType?: string;
55
+ digest: string;
56
+ size: number;
57
+ relativePath: string;
58
+ createdAt?: string;
59
+ };
60
+ export type WebGraph = {
61
+ workflow: {
62
+ name: string;
63
+ description?: string;
64
+ runId?: string;
65
+ status?: string;
66
+ dynamicVersion?: number;
67
+ };
68
+ mode: "static" | "runtime";
69
+ version?: number;
70
+ nodes: WebGraphNode[];
71
+ containers: WebGraphContainer[];
72
+ edges: WebGraphEdge[];
73
+ selectors: WebGraphSelector[];
74
+ runtimeStates: WebGraphRuntimeState[];
75
+ groups: WebGraphGroup[];
76
+ };
77
+ export type NodeDetail = {
78
+ kind: "task";
79
+ inputs: string[];
80
+ target: "inline" | "module";
81
+ } | {
82
+ kind: "agent";
83
+ agent: string;
84
+ use?: string;
85
+ command?: string;
86
+ model?: string;
87
+ outputSchema?: string;
88
+ } | {
89
+ kind: "signal";
90
+ outputSchema?: string;
91
+ } | {
92
+ kind: "assert";
93
+ condition: string;
94
+ message?: string;
95
+ } | {
96
+ kind: "if";
97
+ condition: string;
98
+ } | {
99
+ kind: "switch";
100
+ cases: string[];
101
+ hasDefault: boolean;
102
+ } | {
103
+ kind: "parallel";
104
+ branches: string[];
105
+ strategy: "all" | "race";
106
+ } | {
107
+ kind: "fanout";
108
+ over: string;
109
+ strategy: "all" | "quorum";
110
+ count?: number;
111
+ } | {
112
+ kind: "loop";
113
+ maxIterations: string;
114
+ stopWhen: string;
115
+ };
116
+ export type WebGraphNode = {
117
+ id: string;
118
+ nodeId: string;
119
+ kind: string;
120
+ label: string;
121
+ path: string[];
122
+ parentId?: string;
123
+ parentNodeId?: string;
124
+ detail?: NodeDetail;
125
+ status: string;
126
+ dynamic: {
127
+ instances: number;
128
+ frames: number;
129
+ attempts: number;
130
+ signalWaits: number;
131
+ };
132
+ };
133
+ export type WebGraphContainer = {
134
+ id: string;
135
+ nodeId: string;
136
+ kind: "branch" | "scope";
137
+ label: string;
138
+ path: string[];
139
+ parentId: string;
140
+ status: string;
141
+ };
142
+ export type WebGraphEdge = {
143
+ id: string;
144
+ source: string;
145
+ target: string;
146
+ kind: "sequence" | "branch" | "loop";
147
+ };
148
+ export type WebGraphSelector = {
149
+ nodeId: string;
150
+ kind: "fanout" | "loop";
151
+ targetId: string;
152
+ defaultOptionId?: string;
153
+ options: WebGraphSelectorOption[];
154
+ };
155
+ export type WebGraphSelectorOption = {
156
+ id: string;
157
+ label: string;
158
+ status: string;
159
+ frameKey?: string;
160
+ itemKey?: string;
161
+ itemIndex?: number;
162
+ iteration?: number;
163
+ scopePath: string[];
164
+ parentSelections: WebGraphSelection[];
165
+ };
166
+ export type WebGraphRuntimeState = {
167
+ targetId: string;
168
+ nodeId: string;
169
+ status: string;
170
+ frameKey?: string;
171
+ nodeKey?: string;
172
+ selectors: WebGraphSelection[];
173
+ };
174
+ export type WebGraphSelection = {
175
+ nodeId: string;
176
+ kind: "fanout" | "loop";
177
+ itemKey?: string;
178
+ itemIndex?: number;
179
+ iteration?: number;
180
+ };
181
+ export type WebGraphGroup = {
182
+ nodeId: string;
183
+ groupKey: string;
184
+ kind: string;
185
+ status: string;
186
+ strategy?: string;
187
+ members: Array<{
188
+ memberKey: string;
189
+ memberKind: string;
190
+ branchId?: string;
191
+ itemKey?: string;
192
+ itemIndex?: number;
193
+ status: string;
194
+ childFrameKey?: string;
195
+ }>;
196
+ };
197
+ export type NodeInspection = {
198
+ target: {
199
+ kind: string;
200
+ id: string;
201
+ };
202
+ staticNode?: {
203
+ nodeId: string;
204
+ kind: string;
205
+ order: number;
206
+ input?: Record<string, unknown>;
207
+ outputSchema?: unknown;
208
+ };
209
+ summary: {
210
+ targetKind: string;
211
+ targetId: string;
212
+ runStatus: string;
213
+ runStartedAt?: string;
214
+ runFinishedAt?: string;
215
+ runDurationMs?: number;
216
+ nodeId?: string;
217
+ nodeKey?: string;
218
+ frameKey?: string;
219
+ nodeStatus?: string;
220
+ staticKind?: string;
221
+ staticOrder?: number;
222
+ input?: {
223
+ kind: "runtime" | "authored";
224
+ value: unknown;
225
+ };
226
+ output?: unknown;
227
+ error?: unknown;
228
+ prompt?: {
229
+ kind: "signal" | "artifact" | "authored";
230
+ text?: string;
231
+ artifactId?: string;
232
+ relativePath?: string;
233
+ mediaType?: string;
234
+ };
235
+ latestAttempt?: {
236
+ attemptId: string;
237
+ attemptNo: number;
238
+ status: string;
239
+ startedAt: string;
240
+ finishedAt?: string;
241
+ error?: unknown;
242
+ result?: unknown;
243
+ };
244
+ artifacts: ArtifactReference[];
245
+ };
246
+ instances: unknown[];
247
+ frames: unknown[];
248
+ attempts: Array<{
249
+ attemptId: string;
250
+ status: string;
251
+ startedAt: string;
252
+ finishedAt?: string;
253
+ error?: unknown;
254
+ result?: unknown;
255
+ }>;
256
+ signalWaits: Array<{
257
+ nodeKey: string;
258
+ nodeId: string;
259
+ status: string;
260
+ renderedPrompt?: string;
261
+ }>;
262
+ executionMetadata: unknown[];
263
+ artifacts: ArtifactReference[];
264
+ };
265
+ export type NodeExecutionInspection = {
266
+ target: {
267
+ kind: string;
268
+ id: string;
269
+ };
270
+ nodeId?: string;
271
+ nodeKey?: string;
272
+ attemptId?: string;
273
+ available: boolean;
274
+ reason?: string;
275
+ summary: {
276
+ status?: string;
277
+ sessionName?: string;
278
+ turnCount?: number;
279
+ message?: string;
280
+ };
281
+ lastActiveAt?: string;
282
+ contextWindow?: {
283
+ used?: number;
284
+ size?: number;
285
+ percent?: number;
286
+ updatedAt?: string;
287
+ };
288
+ tokenUsage?: {
289
+ source?: string;
290
+ inputTokens?: number;
291
+ outputTokens?: number;
292
+ totalTokens?: number;
293
+ };
294
+ output?: {
295
+ tail: string;
296
+ totalBytes: number;
297
+ truncated: boolean;
298
+ };
299
+ toolCallCount?: number;
300
+ lastToolCalls: Array<{
301
+ turn: number;
302
+ toolCallId?: string;
303
+ toolName?: string;
304
+ status?: string;
305
+ startedAt?: string;
306
+ updatedAt?: string;
307
+ completedAt?: string;
308
+ durationMs?: number;
309
+ inputPreview?: string;
310
+ outputPreview?: string;
311
+ }>;
312
+ };
313
+ export type ArtifactPreview = {
314
+ text: string;
315
+ mediaType: string;
316
+ size: number;
317
+ truncated: boolean;
318
+ };
319
+ export type ProjectWorkflowCatalogEntry = {
320
+ scope: "project";
321
+ name: string;
322
+ packagePath: string;
323
+ entryPath: string;
324
+ status: "available";
325
+ requiresScope: boolean;
326
+ };
327
+ export type WorkflowFileEntry = {
328
+ name: string;
329
+ path: string;
330
+ kind: "directory" | "workflow";
331
+ };
332
+ export type WorkflowFiles = {
333
+ cwd: string;
334
+ dir: string;
335
+ entries: WorkflowFileEntry[];
336
+ };
337
+ export type WorkflowVisualizationSource = {
338
+ kind: "catalog";
339
+ name: string;
340
+ } | {
341
+ kind: "file";
342
+ path: string;
343
+ };
344
+ export type WorkflowVisualizationResult = {
345
+ status: "ready";
346
+ graph: WebGraph;
347
+ workflow: {
348
+ name: string;
349
+ description?: string;
350
+ irVersion: number;
351
+ nodeCount: number;
352
+ };
353
+ contract: {
354
+ inputSchema?: unknown;
355
+ outputs: Record<string, unknown>;
356
+ };
357
+ diagnostics: unknown[];
358
+ irDigest: string;
359
+ sourceGraphDigest: string;
360
+ } | {
361
+ status: "failed";
362
+ phase: "check" | "compile" | "validate";
363
+ message: string;
364
+ diagnostics?: unknown[];
365
+ };
366
+ export type HealthReport = {
367
+ ok: boolean;
368
+ phase: string;
369
+ state: string;
370
+ checks: Array<{
371
+ area: string;
372
+ status: "ok" | "warn" | "fail";
373
+ message: string;
374
+ details?: Record<string, unknown>;
375
+ }>;
376
+ };
377
+ export type ServerConfig = {
378
+ cwd: string;
379
+ access: "open" | "token";
380
+ port: number | null;
381
+ };
382
+ export type RunRuntimeSnapshot = {
383
+ run: RunDetails;
384
+ graph: WebGraph;
385
+ };
386
+ export declare function getHealth(): Promise<HealthReport>;
387
+ export declare function listRuns(): Promise<RunRecord[]>;
388
+ export declare function getRun(runId: string): Promise<RunDetails>;
389
+ export declare function getRunRuntimeSnapshot(runId: string): Promise<RunRuntimeSnapshot>;
390
+ export declare function getNodeInspection(runId: string, target: string, context?: WebGraphSelection[]): Promise<NodeInspection>;
391
+ export declare function getNodeExecutionInspection(runId: string, target: string, context?: WebGraphSelection[]): Promise<NodeExecutionInspection>;
392
+ export declare function getArtifactPreview(runId: string, artifactId: string): Promise<ArtifactPreview>;
393
+ export declare function submitRunCommand(runId: string, command: Record<string, unknown>): Promise<unknown>;
394
+ export declare function listWorkflowCatalog(): Promise<ProjectWorkflowCatalogEntry[]>;
395
+ export declare function listWorkflowFiles(dir?: string): Promise<WorkflowFiles>;
396
+ export declare function visualizeWorkflow(source: WorkflowVisualizationSource): Promise<WorkflowVisualizationResult>;
397
+ export declare function getConfig(): Promise<ServerConfig>;
398
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/client/api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,M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MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,OAAO,CAAC,CAMlB;AAED,wBAAsB,mBAAmB,IAAI,OAAO,CAAC,2BAA2B,EAAE,CAAC,CAElF;AAED,wBAAsB,iBAAiB,CAAC,GAAG,SAAK,GAAG,OAAO,CAAC,aAAa,CAAC,CAIxE;AAED,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAMjH;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,YAAY,CAAC,CAEvD"}
@@ -0,0 +1,73 @@
1
+ async function unwrap(response) {
2
+ const body = await response.json();
3
+ if (!response.ok || !body.ok)
4
+ throw new Error(body.error?.message ?? `Request failed with ${response.status}.`);
5
+ return body;
6
+ }
7
+ export async function getHealth() {
8
+ return unwrap(await fetch("/api/health")).then(v => v.health);
9
+ }
10
+ export async function listRuns() {
11
+ return unwrap(await fetch("/api/runs")).then(v => v.runs);
12
+ }
13
+ export async function getRun(runId) {
14
+ return unwrap(await fetch(`/api/runs/${encodeURIComponent(runId)}`)).then(v => v.run);
15
+ }
16
+ export async function getRunRuntimeSnapshot(runId) {
17
+ return unwrap(await fetch(`/api/runs/${encodeURIComponent(runId)}/runtime-snapshot`));
18
+ }
19
+ export async function getNodeInspection(runId, target, context) {
20
+ return unwrap(await fetch(nodeInspectionUrl(runId, target, context))).then(v => v.inspection);
21
+ }
22
+ export async function getNodeExecutionInspection(runId, target, context) {
23
+ return unwrap(await fetch(nodeInspectionUrl(runId, target, context, "/execution"))).then(v => v.execution);
24
+ }
25
+ function nodeInspectionUrl(runId, target, context, suffix = "") {
26
+ const base = `/api/runs/${encodeURIComponent(runId)}/nodes/${encodeURIComponent(target)}${suffix}`;
27
+ if (!context || context.length === 0)
28
+ return base;
29
+ return `${base}?context=${encodeURIComponent(encodeContext(context))}`;
30
+ }
31
+ function encodeContext(context) {
32
+ const json = JSON.stringify(context);
33
+ const bytes = new TextEncoder().encode(json);
34
+ let binary = "";
35
+ for (const byte of bytes)
36
+ binary += String.fromCharCode(byte);
37
+ return btoa(binary).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
38
+ }
39
+ export async function getArtifactPreview(runId, artifactId) {
40
+ const response = await fetch(`/api/runs/${encodeURIComponent(runId)}/artifacts/${encodeURIComponent(artifactId)}/preview`);
41
+ if (!response.ok)
42
+ throw new Error(`Artifact preview failed with ${response.status}.`);
43
+ return {
44
+ text: await response.text(),
45
+ mediaType: response.headers.get("content-type") ?? "text/plain",
46
+ size: Number(response.headers.get("x-artifact-size") ?? "0"),
47
+ truncated: response.headers.get("x-artifact-truncated") === "true",
48
+ };
49
+ }
50
+ export async function submitRunCommand(runId, command) {
51
+ return unwrap(await fetch(`/api/runs/${encodeURIComponent(runId)}/controls`, {
52
+ method: "POST",
53
+ headers: { "content-type": "application/json" },
54
+ body: JSON.stringify(command),
55
+ }));
56
+ }
57
+ export async function listWorkflowCatalog() {
58
+ return unwrap(await fetch("/api/workflows/catalog")).then(v => v.catalog);
59
+ }
60
+ export async function listWorkflowFiles(dir = "") {
61
+ return unwrap(await fetch(`/api/workflows/files?dir=${encodeURIComponent(dir)}`)).then(v => v.files);
62
+ }
63
+ export async function visualizeWorkflow(source) {
64
+ return unwrap(await fetch("/api/workflows/visualize", {
65
+ method: "POST",
66
+ headers: { "content-type": "application/json" },
67
+ body: JSON.stringify({ source }),
68
+ })).then(v => v.result);
69
+ }
70
+ export async function getConfig() {
71
+ return unwrap(await fetch("/api/config")).then(v => v.config);
72
+ }
73
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/client/api.ts"],"names":[],"mappings":"AAuWA,KAAK,UAAU,MAAM,CAAI,QAAkB;IACzC,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAyB,CAAC;IAC1D,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,IAA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,CAAC;AACvB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAmC;IACzE,OAAO,MAAM,CAA0C,MAAM,KAAK,CAAC,0BAA0B,EAAE;QAC7F,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;QAC/C,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;KACjC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,SAAS;IAC7B,OAAO,MAAM,CAA2B,MAAM,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1F,CAAC"}
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-sera-primary:#0a0a0a;--color-sera-bg:#f7f7f5;--color-sera-tertiary:#3f3f3f;--color-sera-surface:#fff;--color-sera-surfaceMuted:#ededeb;--color-sera-outlineVariant:#0a0a0a38;--color-sera-text:#0a0a0a;--color-sera-muted:#5f5f5b;--color-sera-success:#138a3d;--color-sera-danger:#d22f27;--ui-surface:#fff;--ui-surface-raised:#fff;--ui-border:#0a0a0a38;--ui-border-strong:#0a0a0a8f;--ui-muted:#5f5f5b;--ui-focus:#0a0a0a61;--ui-success:#138a3d;--ui-danger:#d22f27;--ui-shadow-panel:0 18px 44px #0a0a0a24, 0 2px 6px #0a0a0a1a;--z-graph-edge:0;--z-graph-status:19;--z-graph-toolbar:20;--z-overlay:55;--z-toast:60}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}html,body,#root{height:100%;overflow:hidden}html{font-family:var(--font-sans);background:var(--color-sera-bg);color:var(--color-sera-text);-webkit-font-smoothing:antialiased}body{margin:0;line-height:1.6}:root{--ease-out-strong:cubic-bezier(.23, 1, .32, 1);--ease-in-out-strong:cubic-bezier(.77, 0, .175, 1)}@keyframes pulse-soft{0%,to{opacity:1}50%{opacity:.6}}@keyframes status-dialog-in{0%{opacity:0;transform:translateY(6px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes runtime-status-pulse{0%,to{opacity:.78;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}@keyframes runtime-status-spin{to{transform:rotate(360deg)}}@keyframes graph-shell-shimmer{0%{opacity:.2;transform:translate(-45%)}50%{opacity:.7}to{opacity:.2;transform:translate(145%)}}@keyframes active-edge-flow{to{stroke-dashoffset:-18px}}.app-shell{height:100vh;min-height:0;transition:grid-template-columns .22s var(--ease-out-strong);grid-template-columns:220px 1fr;display:grid;overflow:hidden}.app-shell.sidebar-collapsed{grid-template-columns:64px 1fr}.sidebar{background:var(--color-sera-surface);border-right:1px solid var(--color-sera-outlineVariant);box-sizing:border-box;flex-direction:column;gap:28px;height:100vh;min-height:0;padding:24px 16px;display:flex;overflow:hidden}.app-shell.sidebar-collapsed .sidebar{gap:22px;padding:20px 10px}.app-shell.sidebar-collapsed .sidebar-head{flex-direction:column;justify-content:flex-start}.sidebar-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.brand{align-items:center;gap:10px;min-width:0;padding:0 2px 0 8px;display:flex}.brand-mark{color:var(--color-sera-primary);flex:none;align-items:center;display:flex}.brand-copy{min-width:0;transition:opacity .14s var(--ease-out-strong),transform .18s var(--ease-out-strong)}.app-shell.sidebar-collapsed .brand-copy{opacity:0;pointer-events:none;width:0;overflow:hidden;transform:translate(-6px)}.app-shell.sidebar-collapsed .brand{gap:0;padding:0}.brand h1{font-family:var(--font-sans);color:var(--color-sera-text);margin:0;font-size:1.25rem;font-weight:800;line-height:1.2}.brand span{color:var(--color-sera-muted);font-size:.75rem;font-weight:500}.sidebar-toggle{border:1px solid var(--color-sera-outlineVariant);width:28px;height:28px;color:var(--color-sera-muted);cursor:pointer;transition:background-color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border-radius:0;flex:none;justify-content:center;align-items:center;display:inline-flex}.sidebar-toggle:active{transform:scale(.96)}.app-shell.sidebar-collapsed .sidebar-toggle{margin-left:-2px}.nav-list{flex-direction:column;flex:1;gap:2px;min-height:0;display:flex}.nav-button{color:var(--color-sera-muted);font-family:var(--font-sans);cursor:pointer;transition:background-color .12s var(--ease-out-strong),color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border:none;border-radius:0;align-items:center;gap:10px;padding:8px 12px;font-size:.875rem;font-weight:500;display:flex}.app-shell.sidebar-collapsed .nav-button{justify-content:center;width:40px;height:40px;padding:0}.app-shell.sidebar-collapsed .nav-button span{display:none}.nav-button:active{transform:scale(.97)}.nav-button.active{background:var(--color-sera-primary);color:#fff}:where(.nav-button,.sidebar-toggle,.sidebar-status,.icon-button,.confirm-secondary,.confirm-primary,.close-button,.toast-close,.primary-button,.json-copy-button,.select-trigger,.ui-textarea,.run-row,.search-input,.run-select,.workflow-list-row,.breadcrumb-button,.ui-input,.retry-target-select,.graph-selector,.graph-tool-button,.inspector-tab,.key-value,.artifact-row,.signal-box textarea):focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}.ui-button,.tabs-trigger,.ui-textarea,.ui-input,.ui-list-row,.breadcrumb-button{font:inherit}.ui-card,.ui-alert,.tabs-list,.tabs-content{box-sizing:border-box;min-width:0}@media(hover:hover)and (pointer:fine){.sidebar-status:hover{background:#0a0a0a14}}.workspace{box-sizing:border-box;width:100%;min-width:0;height:100vh;min-height:0;padding:28px 32px;overflow:hidden}.runtime-grid{grid-template-rows:auto 1fr;grid-template-columns:1fr;gap:20px;height:100%;min-height:0;display:grid;overflow:hidden}.topbar{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;display:flex}.run-titlebar{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:0;display:flex}.run-header-skeleton{flex-direction:column;gap:8px;width:min(440px,100%);display:flex}.run-header-skeleton .state-skeleton-line.title{width:min(320px,70%);height:24px}.run-header-skeleton .state-skeleton-line.meta{width:min(440px,92%);height:20px}.run-header-error{max-width:min(520px,100%);color:var(--color-sera-danger);flex-direction:column;gap:3px;display:flex}.run-header-error strong{color:var(--color-sera-danger);font-size:.95rem;font-weight:700}.run-header-error span{color:var(--color-sera-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;line-height:1.45;overflow:hidden}.topbar h2{font-family:var(--font-sans);color:var(--color-sera-text);text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1.5rem;font-weight:700;overflow:hidden}.run-meta{color:var(--color-sera-muted);font-size:.8rem;font-family:var(--font-mono);align-items:center;gap:12px;min-width:0;display:flex;overflow:hidden}.run-meta>span:not(.status-pill){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.control-strip{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.run-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.run-select-wrap{min-width:190px;color:var(--color-sera-muted);align-items:center;gap:8px;font-size:.72rem;font-weight:700;display:flex}.run-select-wrap span{flex:none}.run-select{border:1px solid var(--color-sera-outlineVariant);width:min(280px,34vw);min-width:0;height:32px;color:var(--color-sera-text);font-family:var(--font-sans);transition:border-color .12s var(--ease-out-strong),background-color .12s var(--ease-out-strong);background:#fff;border-radius:0;outline:none;padding:0 30px 0 10px;font-size:.78rem;font-weight:600}.run-select:disabled{color:var(--color-sera-muted);background:var(--color-sera-surfaceMuted)}.sidebar-status{width:100%;min-width:0;color:var(--color-sera-text);font-family:var(--font-sans);text-align:left;cursor:pointer;transition:background-color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-top:auto;padding:8px;display:inline-flex}.app-shell.sidebar-collapsed .sidebar-status{justify-content:center;width:40px;height:40px;padding:0}.app-shell.sidebar-collapsed .sidebar-status-copy{display:none}.sidebar-status:active{transform:scale(.98)}.sidebar-status-icon{width:16px;height:16px;color:var(--color-sera-muted);flex:none;justify-content:center;align-items:center;display:inline-flex}.sidebar-status-icon.ok,.sidebar-status-icon.running{color:var(--color-sera-primary)}.sidebar-status-icon.warn{color:var(--color-sera-tertiary)}.sidebar-status-icon.checking{color:var(--color-sera-tertiary);animation:1s linear infinite runtime-status-spin}.sidebar-status-icon.fail,.sidebar-status-icon.error{color:var(--color-sera-danger)}.sidebar-status-copy{flex-direction:column;gap:1px;min-width:0;display:flex}.sidebar-status-copy span,.sidebar-status-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-status-copy span{color:var(--color-sera-text);font-size:.78rem;font-weight:600}.sidebar-status-copy small{color:var(--color-sera-muted);font-size:.68rem}.popover-content{z-index:var(--z-overlay)}.status-info-popover{z-index:var(--z-overlay);border:1px solid var(--color-sera-outlineVariant);width:min(340px,100vw - 24px);max-height:min(360px,100vh - 24px);box-shadow:var(--ui-shadow-panel);transform-origin:0 0;animation:status-dialog-in .22s var(--ease-out-strong) both;background:#fff;border-radius:0;padding:14px;overflow:auto}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.dialog-head h2{font-family:var(--font-sans);margin:0;font-size:1rem}.status-info-title{align-items:center;gap:8px;min-width:0;display:flex}.status-info-rows{flex-direction:column;gap:8px;display:flex}.status-health-summary{border-top:1px solid var(--ui-border);color:var(--color-sera-muted);flex-direction:column;gap:7px;padding-top:8px;font-size:.74rem;line-height:1.42;display:flex}.status-health-summary span{align-items:flex-start;gap:6px;display:flex}.status-health-summary svg{color:var(--color-sera-danger);flex:none;margin-top:1px}.status-health-summary strong{color:var(--color-sera-text);font-weight:700}.icon-button{border:1px solid var(--color-sera-outlineVariant);background:var(--color-sera-surface);color:var(--color-sera-text);font-family:var(--font-sans);cursor:pointer;min-width:92px;transition:background-color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),opacity .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);border-radius:0;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:500;display:flex}.icon-button.pause{color:#8a6a24;background:#8a6a2414;border-color:#8a6a2447}.icon-button.resume{color:var(--ui-success);background:#0a0a0a14;border-color:#0a0a0a47}.icon-button.retry{color:#5c6fa3;background:#5c6fa317;border-color:#5c6fa34d}.icon-button.cancel{color:#8d564d;background:#8d564d14;border-color:#8d564d47}.icon-button:active:not(:disabled){transform:scale(.97)}.icon-button:disabled{opacity:.4;cursor:not-allowed;color:var(--color-sera-muted);border-color:var(--color-sera-outlineVariant);background:var(--color-sera-surface)}.retry-target-select{border:1px solid var(--color-sera-outlineVariant);min-width:150px;max-width:240px;height:32px;color:var(--color-sera-text);font-family:var(--font-mono);background:#f0f0ee;border-radius:0;outline:none;padding:0 28px 0 10px;font-size:.72rem}.retry-target-select:focus{border-color:#5c6fa3}.select-trigger{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:inline-flex}.select-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.select-trigger[data-disabled]{cursor:not-allowed;opacity:.55}.select-content{z-index:var(--z-overlay);min-width:var(--radix-select-trigger-width);max-width:min(420px,100vw - 24px);max-height:min(320px,var(--radix-select-content-available-height));border:1px solid var(--ui-border);color:var(--color-sera-text);box-shadow:var(--ui-shadow-panel);animation:status-dialog-in .14s var(--ease-out-strong) both;background:#fff;border-radius:0;overflow:hidden}.select-viewport{padding:4px}.select-item{min-width:0;min-height:28px;color:var(--color-sera-text);font-family:var(--font-sans);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:0;outline:none;align-items:center;padding:5px 9px 5px 28px;font-size:.76rem;font-weight:600;line-height:1.3;display:flex;position:relative}.select-item [data-radix-select-item-text]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.select-item[data-highlighted]{color:var(--color-sera-text);background:#0a0a0a14}.select-item[data-disabled]{opacity:.45;cursor:not-allowed}.select-item-indicator{color:var(--color-sera-primary);align-items:center;display:inline-flex;position:absolute;left:8px}.select-scroll-button{height:22px;color:var(--color-sera-muted);justify-content:center;align-items:center;display:flex}.dialog-overlay{z-index:var(--z-overlay);background:#0a0a0a1a;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;top:0;right:0;bottom:0;left:0}.dialog-content{z-index:calc(var(--z-overlay) + 1);width:min(360px,100vw - 32px);position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.confirm-dialog{box-sizing:border-box;border:1px solid var(--color-sera-outlineVariant);width:100%;box-shadow:var(--ui-shadow-panel);background:#fff;border-radius:0;flex-direction:column;gap:10px;padding:18px;display:flex}.confirm-dialog h2,.confirm-dialog h3{font-family:var(--font-sans);color:var(--color-sera-text);margin:0;font-size:1rem;font-weight:700}.confirm-dialog p{color:var(--color-sera-muted);margin:0;font-size:.82rem;line-height:1.45}.confirm-actions{justify-content:flex-end;gap:8px;margin-top:6px;display:flex}.confirm-secondary,.confirm-primary{min-width:78px;font-family:var(--font-sans);cursor:pointer;border-radius:0;padding:7px 12px;font-size:.8rem;font-weight:700}.confirm-secondary{border:1px solid var(--color-sera-outlineVariant);color:var(--color-sera-muted);background:0 0}.confirm-primary{color:#fff;border:1px solid #0000}.confirm-primary.pause{background:#8a6a24}.confirm-primary.resume{background:var(--ui-success)}.confirm-primary.retry{background:#5c6fa3}.confirm-primary.cancel{background:#8d564d}.graph-panel{background:var(--color-sera-surface);border:1px solid var(--color-sera-outlineVariant);border-radius:0;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.graph-inspection-layout{--inspector-track:minmax(340px, 428px);min-width:0;height:100%;min-height:0;transition:grid-template-columns .22s var(--ease-out-strong),grid-template-rows .22s var(--ease-out-strong),gap .22s var(--ease-out-strong);grid-template-columns:minmax(0,1fr) 0;gap:0;display:grid;overflow:hidden}.runtime-grid>.graph-inspection-layout{grid-area:2/1}.workflow-viz-grid>.graph-inspection-layout{height:100%}.static-viz-root{width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}.workflow-viz-grid>.static-viz-root{height:100%}.graph-inspection-layout.with-inspector{grid-template-columns:minmax(0,1fr) var(--inspector-track);gap:18px}.graph-inspection-layout.closing-inspector{grid-template-columns:minmax(0,1fr) 0;gap:0}.graph-flow-shell{--runtime-status-color:var(--color-sera-muted);--runtime-status-glow:#6f746c2e;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:var(--color-sera-bg);flex:1;height:100%;min-height:0;position:relative;overflow:hidden}.graph-flow-shell:before{content:"";pointer-events:none;background:linear-gradient(90deg,transparent,var(--runtime-status-color),transparent);opacity:0;height:2px;z-index:var(--z-graph-status);position:absolute;top:0;left:0;right:0;transform:translate(-45%)}.graph-flow-shell.run-status-running,.graph-flow-shell.run-status-awaiting{box-shadow:inset 0 0 0 1px var(--runtime-status-glow)}.graph-flow-shell.run-status-running:before,.graph-flow-shell.run-status-awaiting:before{animation:graph-shell-shimmer 2.4s var(--ease-in-out-strong) infinite}.graph-flow-shell.run-status-running{--runtime-status-color:#2563ebbd;--runtime-status-glow:#2563eb24}.graph-flow-shell.run-status-awaiting{--runtime-status-color:#b7791fb8;--runtime-status-glow:#b7791f24}.graph-flow-shell:active{cursor:grabbing}.status-pill{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border-radius:0;align-items:center;padding:2px 10px;font-size:.7rem;font-weight:600;display:inline-flex}.status-pill.pending,.status-pill.not_started{background:var(--color-sera-surfaceMuted);color:var(--color-sera-muted)}.status-pill.running{color:#2563eb;background:#2563eb1a}.status-pill.awaiting{color:#9a5b00;background:#b7791f1f}.status-pill.paused{color:#5a49b8;background:#6d5bd01f}.status-pill.completed{color:var(--color-sera-success);background:#138a3d1a}.status-pill.failed{color:var(--color-sera-danger);background:#a14f451f}.status-pill.canceled{background:var(--color-sera-surfaceMuted);color:var(--color-sera-muted)}.status-pill.mixed{color:var(--color-sera-tertiary);background:#0a0a0a1a}.run-status-indicator{--run-status-color:var(--color-sera-muted);--run-status-bg:var(--color-sera-surfaceMuted);--run-status-border:var(--color-sera-outlineVariant);--runtime-status-glow:#6f746c2e;border:1px solid var(--run-status-border);min-height:24px;color:var(--run-status-color);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background:0 0;border-radius:0;align-items:center;gap:7px;padding:2px 9px;font-size:.68rem;font-weight:700;display:inline-flex}.run-status-indicator.queued{--run-status-color:var(--color-sera-muted);--run-status-bg:#6269601f;--run-status-border:#6269603d}.run-status-indicator.running{--run-status-color:#2563eb;--run-status-bg:#2563eb1a;--run-status-border:#2563eb57;--runtime-status-glow:#2563eb38}.run-status-indicator.awaiting,.run-status-indicator.paused{--run-status-color:#9a5b00;--run-status-bg:#b7791f1a;--run-status-border:#b7791f52;--runtime-status-glow:#b7791f38}.run-status-indicator.completed{--run-status-color:var(--color-sera-success);--run-status-bg:#138a3d1a;--run-status-border:#138a3d47}.run-status-indicator.failed{--run-status-color:var(--color-sera-danger);--run-status-bg:#a14f451c;--run-status-border:#a14f453d}.run-status-indicator.canceled{--run-status-color:var(--color-sera-muted);--run-status-bg:#6f746c1a}.run-status-icon{width:18px;height:18px;color:var(--run-status-color);border-radius:0;justify-content:center;align-items:center;display:inline-flex}.run-status-indicator.live .run-status-icon{animation:runtime-status-pulse 1.8s var(--ease-in-out-strong) infinite}.run-status-indicator.running .run-status-icon svg{animation:1s linear infinite runtime-status-spin}.page-stack{flex-direction:column;gap:20px;height:100%;min-height:0;display:flex;overflow:auto}.page-header{align-items:baseline;gap:10px;min-width:0;margin-bottom:4px;display:flex}.page-header h2{font-family:var(--font-sans);color:var(--color-sera-text);margin:0;font-size:1.5rem;font-weight:700}.page-header-detail{min-width:0;color:var(--color-sera-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:500;overflow:hidden}.search-input{border:1px solid var(--color-sera-outlineVariant);background:var(--color-sera-surface);width:100%;color:var(--color-sera-text);font-family:var(--font-sans);box-sizing:border-box;transition:border-color .15s var(--ease-out-strong),box-shadow .15s var(--ease-out-strong);border-radius:0;outline:none;padding:10px 16px;font-size:.875rem}.search-input:focus-visible{border-color:var(--color-sera-primary);box-shadow:0 0 0 3px #0a0a0a26}.search-input::placeholder{color:var(--color-sera-muted)}.table-panel{flex-direction:column;gap:4px;display:flex}.run-row{background:var(--color-sera-surface);font-family:var(--font-sans);cursor:pointer;text-align:left;transition:background-color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);border:1px solid #0000;border-radius:0;align-items:center;gap:16px;padding:12px 16px;font-size:.85rem;display:flex}.run-row:active{transform:scale(.98)}.run-row.selected{border-color:var(--color-sera-primary);background:#0a0a0a0f}.row-main{color:var(--color-sera-text);flex:1;font-weight:600}.mono{font-family:var(--font-mono);color:var(--color-sera-muted);font-size:.75rem}.inspector-stack{flex-direction:column;flex:1;gap:14px;display:flex;overflow:visible}.inspector-card{border:1px solid var(--ui-border);background:var(--ui-surface);min-width:0;height:100%;min-height:0;box-shadow:var(--ui-shadow-panel);animation:inspector-card-in .22s var(--ease-out-strong) both;border-radius:0;flex-direction:column;display:flex;overflow:hidden}.inspector-slot{min-width:0;height:100%;min-height:0;overflow:hidden}.inspector-card.exiting{pointer-events:none;animation:inspector-card-out .18s var(--ease-out-strong) both}@keyframes inspector-card-in{0%{opacity:0;transform:translate(18px)scale(.985)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes inspector-card-out{0%{opacity:1;transform:translate(0)scale(1)}to{opacity:0;transform:translate(14px)scale(.99)}}.inspector-card-head{border-bottom:1px solid var(--color-sera-outlineVariant);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 14px;display:flex}.inspector-card-head>div{flex-direction:column;gap:4px;min-width:0;display:flex}.inspector-card-head span{letter-spacing:.04em;text-transform:uppercase;color:var(--color-sera-primary);font-size:.66rem;font-weight:700}.inspector-card-head strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:var(--font-mono);color:var(--color-sera-text);font-size:.9rem;overflow:hidden}.inspector-card-body{flex:1;min-height:0;padding:16px;overflow-y:auto}.inspector-section{border-top:1px solid var(--ui-border);padding-top:12px}.inspector-section-head{justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:3px 3px 0;display:flex}.json-copy-button{border:1px solid var(--ui-border);background:var(--color-sera-surface);height:24px;color:var(--color-sera-muted);font-family:var(--font-sans);cursor:pointer;white-space:nowrap;transition:background-color .12s var(--ease-out-strong),color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);border-radius:0;align-items:center;gap:5px;padding:0 8px;font-size:.68rem;font-weight:700;display:inline-flex}.json-copy-button.copied{color:var(--color-sera-primary);background:#0a0a0a14;border-color:#0a0a0a47}.json-copy-button.failed{color:var(--ui-danger);background:#8d564d14;border-color:#8d564d47}.inspector-section-head h3{font-family:var(--font-sans);color:var(--color-sera-text);min-width:0;margin:0;font-size:.78rem;font-weight:750}.inspector-section-body{flex-direction:column;gap:10px;padding:0 2px;display:flex}.inspector-runtime-head{border-bottom:1px solid var(--ui-border);background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:0 2px 12px;display:flex}.inspector-runtime-head>div{min-width:0;color:var(--color-sera-muted);justify-content:flex-end;align-items:center;gap:8px;font-size:.72rem;display:flex}.inspector-runtime-head strong{font-family:var(--font-mono);color:var(--color-sera-text);white-space:nowrap;font-size:.7rem;font-weight:600}.inspector-tabs{border-bottom:1px solid var(--color-sera-outlineVariant);flex-shrink:0;gap:0;padding:0 8px;display:flex;overflow-x:auto}.inspector-tab{color:var(--color-sera-muted);font-family:var(--font-sans);cursor:pointer;white-space:nowrap;transition:color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:5px;padding:8px 10px;font-size:.7rem;font-weight:500;display:flex}.inspector-tab:active{transform:scale(.97)}.inspector-tab:focus-visible{outline-offset:-2px}.inspector-tab.active,.inspector-tab[data-state=active]{color:var(--color-sera-primary);border-bottom-color:var(--color-sera-primary)}.inspector-tab-panel{flex-direction:column;gap:14px;display:flex}.inspector-tab-panel[hidden]{display:none}.tab-count{background:var(--color-sera-surfaceMuted);min-width:16px;height:16px;color:var(--color-sera-muted);border-radius:0;justify-content:center;align-items:center;padding:0 4px;font-size:.6rem;font-weight:600;display:inline-flex}.key-value{width:100%;font-family:var(--font-sans);text-align:left;transition:background-color .12s var(--ease-out-strong);background:0 0;border-radius:0;justify-content:space-between;align-items:flex-start;gap:10px;padding:3px 0;font-size:.8rem;display:flex;position:relative}.key-value:focus-visible{background:#0a0a0a1a}.key-value span{color:var(--color-sera-muted);flex:none;font-weight:500}.key-value strong{min-width:0;color:var(--color-sera-text);font-weight:600;font-family:var(--font-mono);white-space:normal;overflow-wrap:anywhere;flex:auto;font-size:.75rem}.json-viewer,.markdown-viewer{min-width:0;max-width:100%;max-height:360px;color:var(--color-sera-text);border-radius:0;overflow:auto}.json-viewer{font-family:var(--font-mono);font-size:.72rem;line-height:1.55;position:relative}.json-standalone{flex-direction:column;align-items:flex-end;gap:8px;min-width:0;max-width:100%;display:flex}.json-viewer :where(._GzYRV,._2bkNM,._1BXBN){white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}.json-viewer ._2IvMF{background:0 0}.markdown-viewer{background:#0a0a0a1a;padding:12px;font-size:.78rem;line-height:1.58}.markdown-viewer :first-child{margin-top:0}.markdown-viewer :last-child{margin-bottom:0}.markdown-viewer pre,.markdown-viewer code{font-family:var(--font-mono)}.markdown-viewer pre{background:#0a0a0a1a;border-radius:0;padding:10px;overflow-x:auto}.text-artifact-shell{min-width:0;max-width:100%}.artifact-preview-label{color:var(--color-sera-muted);margin-bottom:6px;font-size:.68rem;font-weight:700}.text-artifact-preview{box-sizing:border-box;min-width:0;max-width:100%;max-height:360px;color:var(--color-sera-text);font-family:var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;background:#0a0a0a1a;border-radius:0;margin:0;padding:14px 16px;font-size:.78rem;line-height:1.58;overflow:auto}.execution-card,.execution-metric,.tool-call-row{border:1px solid var(--ui-border);background:#fff;border-radius:0;box-shadow:0 8px 18px #0a0a0a14,0 1px 2px #0a0a0a14}.execution-card{flex-direction:column;gap:8px;padding:10px;display:flex}.execution-meter-head{justify-content:space-between;align-items:center;gap:10px;font-size:.76rem;display:flex}.execution-meter-head strong,.execution-metric strong,.tool-call-row strong{color:var(--color-sera-text);font-weight:700}.execution-meter-head span,.execution-card small,.execution-metric span,.tool-call-row span,.tool-call-summary{color:var(--color-sera-muted);font-size:.68rem}.execution-meter{background:#0a0a0a1f;border-radius:0;height:8px;overflow:hidden}.execution-meter span{background:var(--color-sera-primary);border-radius:0;height:100%;display:block}.execution-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.execution-metric{flex-direction:column;gap:4px;min-width:0;padding:9px 10px;display:flex}.execution-metric strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:var(--font-mono);font-size:.82rem;overflow:hidden}.tool-call-stack{flex-direction:column;gap:8px;display:flex}.tool-call-summary{padding:0 2px}.tool-call-row{flex-direction:column;gap:7px;padding:10px;display:flex}.tool-call-head{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.tool-call-head>div{flex-direction:column;gap:3px;min-width:0;display:flex}.tool-call-row strong,.tool-call-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.tool-call-status{border:1px solid var(--runtime-status-color);height:20px;color:var(--runtime-status-color);text-transform:uppercase;letter-spacing:.03em;background:0 0;border-radius:0;flex:none;align-items:center;gap:4px;padding:0 7px;font-size:.62rem;font-weight:700;display:inline-flex}.tool-call-status svg{width:12px;height:12px}.tool-call-status.queued,.tool-call-status.skipped{--runtime-status-color:var(--color-sera-muted)}.tool-call-status.running,.tool-call-status.completed{--runtime-status-color:var(--color-sera-success)}.tool-call-status.awaiting,.tool-call-status.paused{--runtime-status-color:#7a6027}.tool-call-status.failed,.tool-call-status.canceled{--runtime-status-color:var(--color-sera-danger)}.tool-call-row p{color:var(--color-sera-muted);font-family:var(--font-mono);overflow-wrap:anywhere;background:#0a0a0a1a;border-radius:0;margin:0;padding:7px 8px;font-size:.68rem;line-height:1.45}.artifact-stack{flex-direction:column;gap:12px;min-width:0;max-width:100%;display:flex}.artifact-list{flex-direction:column;gap:4px;min-width:0;max-width:100%;display:flex}.artifact-row{width:100%;min-width:0;color:var(--color-sera-text);cursor:pointer;font-family:var(--font-sans);text-align:left;background:0 0;border:1px solid #0000;border-radius:0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;font-size:.75rem;display:grid}.artifact-row.selected{background:#0a0a0a14;border-color:#0a0a0a3d}.artifact-row span,.artifact-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media(max-width:1120px){.graph-inspection-layout.with-inspector{grid-template-rows:minmax(320px,1fr) minmax(260px,42vh);grid-template-columns:minmax(0,1fr)}.graph-inspection-layout.closing-inspector{grid-template-rows:minmax(320px,1fr) 0;grid-template-columns:minmax(0,1fr)}.inspector-card{width:100%}}.signal-box{border:1px solid var(--color-sera-outlineVariant);background:#0a0a0a0f;border-radius:0;flex-direction:column;gap:10px;margin:16px;padding:16px;display:flex}.signal-box strong{color:var(--color-sera-tertiary);font-size:.8rem}.signal-box p{color:var(--color-sera-muted);margin:0;font-size:.8rem;font-style:italic}.signal-box .signal-error{color:var(--ui-danger);font-style:normal;font-weight:700}.signal-box textarea{border:1px solid var(--color-sera-outlineVariant);background:var(--color-sera-bg);width:100%;min-height:80px;color:var(--color-sera-text);font-family:var(--font-mono);resize:vertical;box-sizing:border-box;transition:border-color .15s var(--ease-out-strong);border-radius:0;outline:none;padding:10px;font-size:.75rem}.signal-box textarea:focus-visible{border-color:var(--color-sera-primary)}.primary-button{background:var(--color-sera-primary);color:#fff;font-family:var(--font-sans);cursor:pointer;transition:background-color .12s var(--ease-out-strong),opacity .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);border:none;border-radius:0;padding:8px 16px;font-size:.8rem;font-weight:600}.primary-button:active{transform:scale(.97)}.primary-button:disabled{opacity:.45;cursor:not-allowed;transform:none}@keyframes state-skeleton-sheen{0%{background-position:120% 0}to{background-position:-120% 0}}.state-block{border:1px solid var(--ui-border);color:var(--color-sera-muted);background:#fff;border-radius:0;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:14px;display:grid}.state-block>div{min-width:0}.state-block-icon{color:var(--color-sera-muted);justify-content:center;align-items:center;display:inline-flex}.state-block.loading .state-block-icon{color:var(--color-sera-primary)}.state-block.loading .state-block-icon svg{animation:1s linear infinite runtime-status-spin}.state-block.error{color:var(--color-sera-danger);background:#a14f4512;border-color:#a14f453d}.state-block.error .state-block-icon{color:var(--color-sera-danger)}.state-block strong{min-width:0;color:var(--color-sera-text);font-size:.82rem;font-weight:650;line-height:1.35;display:block}.state-block p{color:var(--color-sera-muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:.78rem;line-height:1.45}.state-skeleton{gap:7px;margin-top:10px;display:grid}.state-skeleton-line{background:linear-gradient(90deg,#0a0a0a14,#0a0a0a29,#0a0a0a14) 0 0/220% 100%;border-radius:0;width:min(220px,100%);height:8px;animation:1.4s ease-in-out infinite state-skeleton-sheen;display:block}.state-skeleton-line.short{width:min(142px,72%)}.empty-state{color:var(--color-sera-muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:60px 20px;display:flex}.empty-state h2{font-family:var(--font-sans);color:var(--color-sera-text);margin:0;font-size:1.1rem}.empty-state p{margin:0;font-size:.85rem}.workflow-viz-grid{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:20px;width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.workflow-source-panel{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}@media(max-width:980px){.workflow-viz-grid{grid-template-rows:minmax(180px,34vh) minmax(420px,1fr);grid-template-columns:minmax(0,1fr);gap:14px;overflow:auto}.workflow-source-panel{max-height:34vh}.workflow-viz-grid>.graph-inspection-layout,.workflow-viz-grid>.static-viz-root{min-height:420px}}.workflow-picker{flex-direction:column;flex:1;gap:12px;min-width:0;min-height:0;display:flex}.workflow-picker-tabs{flex-direction:column;flex:1;min-height:0;display:flex}.workflow-picker-tabs-list{border:1px solid var(--color-sera-outlineVariant);background:#f0f0ee;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;padding:3px;display:grid}.workflow-picker-tabs-list .tabs-trigger{min-height:30px;color:var(--color-sera-muted);border-radius:0;justify-content:center;font-size:.78rem;font-weight:750}.workflow-picker-tabs-list .tabs-trigger[data-state=active]{background:var(--color-sera-surface);color:var(--color-sera-text);box-shadow:0 6px 14px #0a0a0a14,0 1px 2px #0a0a0a14}.workflow-picker-tab-panel{flex:1;min-height:0;margin:0;overflow:hidden}.workflow-source-table,.workflow-file-selector{height:100%;min-height:0}.workflow-source-table{flex-direction:column;gap:4px;padding-right:2px;display:flex;overflow:auto}.workflow-file-selector{flex-direction:column;gap:10px;display:flex}.workflow-file-toolbar{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.workflow-breadcrumb{border:1px solid var(--color-sera-outlineVariant);background:#fff;border-radius:0;min-width:0;padding:8px 10px}.breadcrumb-list{align-items:center;gap:3px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.breadcrumb-item{align-items:center;min-width:0;display:flex}.breadcrumb-button{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:128px;color:var(--color-sera-muted);cursor:pointer;background:0 0;border:0;border-radius:0;padding:3px 5px;font-size:.76rem;font-weight:700;overflow:hidden}.breadcrumb-button[aria-current=page]{color:var(--color-sera-text)}.breadcrumb-separator{color:var(--color-sera-muted);opacity:.62;flex-shrink:0;display:flex}.workflow-filter{border:1px solid var(--color-sera-outlineVariant);background:var(--color-sera-surface);min-width:0;color:var(--color-sera-muted);border-radius:0;align-items:center;gap:8px;padding:0 10px;display:flex}.ui-input{width:100%;min-width:0;height:36px;color:var(--color-sera-text);background:0 0;border:0;outline:none;font-size:.8rem}.ui-input::placeholder{color:var(--color-sera-muted)}.ui-list-row{background:var(--color-sera-surface);cursor:pointer;text-align:left;width:100%;min-width:0;color:var(--color-sera-text);transition:background-color .12s var(--ease-out-strong),border-color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);border:1px solid #0000;border-radius:0}.ui-list-row:active{transform:scale(.99)}.workflow-list-row{grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;padding:9px 11px;display:grid}.workflow-list-row.directory{grid-template-columns:18px minmax(0,1fr) auto 14px}.workflow-list-row svg{color:var(--color-sera-muted)}.workflow-row-main{flex-direction:column;gap:3px;min-width:0;display:flex}.workflow-row-main strong,.workflow-row-main small,.workflow-selected-source strong,.workflow-selected-source small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workflow-row-main strong{color:var(--color-sera-text);font-size:.82rem;font-weight:700}.workflow-row-main small{color:var(--color-sera-muted);font-family:var(--font-mono);font-size:.68rem}.workflow-row-badge{border:1px solid var(--color-sera-outlineVariant);color:var(--color-sera-muted);background:#f0f0ee;border-radius:0;flex-shrink:0;padding:2px 7px;font-size:.68rem;font-weight:750}.workflow-row-chevron{color:var(--color-sera-muted);opacity:.72}.workflow-list-row.selected{border-color:var(--color-sera-primary);background:#0a0a0a13}.workflow-picker-footer{border-top:1px solid var(--color-sera-outlineVariant);flex-direction:column;flex-shrink:0;gap:10px;min-width:0;padding-top:12px;display:flex}.workflow-selected-source{border:1px solid var(--color-sera-outlineVariant);background:#fff;border-radius:0;flex-direction:column;gap:3px;min-width:0;padding:10px 12px;display:flex}.workflow-selected-source.selected{background:#0a0a0a0e;border-color:#0a0a0a57}.workflow-selected-source span{color:var(--color-sera-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:800}.workflow-selected-source strong{color:var(--color-sera-text);font-size:.82rem;font-weight:700}.workflow-selected-source small{color:var(--color-sera-muted);font-family:var(--font-mono);font-size:.68rem}.graph-canvas{transform-origin:0 0;will-change:transform;position:absolute;top:0;left:0}.graph-flow-shell.viewport-animating .graph-canvas{transition:transform .22s var(--ease-out-strong)}.graph-flow-shell.viewport-animating .graph-box{transition:border-color .2s var(--ease-out-strong),box-shadow .15s var(--ease-out-strong),opacity .15s var(--ease-out-strong)}.graph-toolbar{border:1px solid var(--color-sera-outlineVariant);z-index:var(--z-graph-toolbar);background:#fff;border-radius:0;gap:4px;padding:4px;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 12px 28px #0a0a0a1f,0 1px 2px #0a0a0a1a}.graph-tool-button{width:28px;height:28px;color:var(--color-sera-muted);cursor:pointer;background:0 0;border:none;border-radius:0;justify-content:center;align-items:center;display:inline-flex}.graph-tool-button.workflow-io{width:auto;color:var(--color-sera-primary);gap:6px;padding:0 9px;font-size:.68rem;font-weight:700}.graph-tool-button:focus-visible{outline-offset:1px;outline:2px solid #0a0a0a47}.graph-edges{pointer-events:none;z-index:var(--z-graph-edge);position:absolute;top:0;right:0;bottom:0;left:0;overflow:visible}.graph-edge{fill:none;stroke-linecap:butt;stroke-linejoin:round}.graph-edge.sequence{stroke:#0a0a0a57;stroke-width:1.5px}.graph-edge.branch{stroke:#0a0a0a42;stroke-width:1.2px;stroke-dasharray:4 4}.graph-edge.loop{stroke:#0a0a0a57;stroke-width:1.2px;stroke-dasharray:6 4}.graph-edge.active{stroke:var(--runtime-edge-color,#0a0a0a94);stroke-width:1.8px;stroke-dasharray:7 5;animation:.9s linear infinite active-edge-flow}.graph-edges marker path{fill:#0a0a0a57}.graph-box{--runtime-status-color:var(--color-sera-muted);--runtime-status-bg:#6f746c1a;--runtime-status-border:#6f746c47;--runtime-status-glow:#6f746c29;box-sizing:border-box;border:2px solid var(--color-sera-outlineVariant);cursor:inherit;transition:border-color .2s var(--ease-out-strong),box-shadow .15s var(--ease-out-strong),opacity .15s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border-radius:0;font-size:.7rem;position:absolute;overflow:hidden}.graph-box.selected{border-color:var(--graph-kind,var(--color-sera-primary));box-shadow:0 14px 30px #0a0a0a1f,0 1px 2px #0a0a0a1a,0 0 0 2px var(--graph-kind-shadow,#0a0a0a33)}.graph-box.runtime-dimmed{opacity:.56}.graph-box.runtime-active{box-shadow:var(--graph-box-shadow,0 12px 26px #0a0a0a1a),0 1px 2px #0a0a0a14,0 0 0 2px var(--runtime-status-glow)}.graph-box.runtime-status-running,.graph-box.runtime-status-awaiting{--runtime-edge-color:var(--runtime-status-color)}.graph-box.runtime-status-not_started{--runtime-status-color:#8a8f86;--runtime-status-bg:#8a8f861a;--runtime-status-border:#8a8f8633;--runtime-status-glow:#8a8f861f}.graph-box.runtime-status-skipped{--runtime-status-color:#8a6a24;--runtime-status-bg:#8a6a241c;--runtime-status-border:#8a6a2438;--runtime-status-glow:#8a6a2424}.graph-box.runtime-status-queued{--runtime-status-color:#6f746c;--runtime-status-bg:#6f746c1f;--runtime-status-border:#6f746c3d;--runtime-status-glow:#6f746c26}.graph-box.runtime-status-running{--runtime-status-color:#2563eb;--runtime-status-bg:#2563eb1f;--runtime-status-border:#2563eb47;--runtime-status-glow:#2563eb38}.graph-box.runtime-status-awaiting{--runtime-status-color:#b7791f;--runtime-status-bg:#b7791f1f;--runtime-status-border:#b7791f47;--runtime-status-glow:#b7791f33}.graph-box.runtime-status-paused{--runtime-status-color:#6d5bd0;--runtime-status-bg:#6d5bd01f;--runtime-status-border:#6d5bd047;--runtime-status-glow:#6d5bd033}.graph-box.runtime-status-completed{--runtime-status-color:#1f7a45;--runtime-status-bg:#1f7a451f;--runtime-status-border:#1f7a454d;--runtime-status-glow:#1f7a452e}.graph-box.runtime-status-failed{--runtime-status-color:#b42318;--runtime-status-bg:#b423181f;--runtime-status-border:#b4231857;--runtime-status-glow:#b4231838}.graph-box.runtime-status-canceled{--runtime-status-color:#71717a;--runtime-status-bg:#71717a1c;--runtime-status-border:#71717a38;--runtime-status-glow:#71717a24}.runtime-status-glyph{width:16px;height:16px;color:var(--runtime-status-color);z-index:var(--z-graph-status);flex:none;justify-content:center;align-items:center;display:inline-flex}.runtime-status-glyph svg{display:block}.runtime-status-glyph.running,.runtime-status-glyph.awaiting{animation:runtime-status-pulse 1.8s var(--ease-in-out-strong) infinite}.runtime-status-glyph.running svg{animation:1s linear infinite runtime-status-spin}.node-card{box-sizing:border-box;flex-direction:column;justify-content:center;gap:6px;min-width:0;height:100%;padding:10px 12px;display:flex}.node-card-head{color:var(--color-sera-text);align-items:center;gap:6px;min-width:0;display:flex}.node-card-head strong{color:var(--color-sera-text);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;font-weight:600;overflow:hidden}.node-card-head svg,.composite-title svg{color:var(--graph-kind,var(--color-sera-muted));flex-shrink:0}.type-badge{letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--graph-kind-pill-border,transparent);background:var(--graph-kind-pill-bg,var(--color-sera-surfaceMuted));color:var(--graph-kind-pill-text,var(--graph-kind,var(--color-sera-muted)));border-radius:0;flex-shrink:0;padding:1px 6px;font-size:.55rem;font-weight:800}.strategy-badge{letter-spacing:.06em;text-transform:uppercase;color:var(--color-sera-tertiary);background:#0a0a0a14;border:1px solid #0a0a0a29;border-radius:0;flex-shrink:0;padding:1px 6px;font-size:.55rem;font-weight:700}.node-detail{font-family:var(--font-mono);color:var(--color-sera-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;padding-left:2px;font-size:.62rem;overflow:hidden}.graph-empty{text-align:center;max-width:320px;height:100%;color:var(--color-sera-tertiary);flex-direction:column;justify-content:center;align-items:center;gap:10px;margin:0 auto;display:flex}.graph-empty svg{color:var(--color-sera-muted)}.graph-empty strong{color:var(--color-sera-text);font-size:.95rem;font-weight:700}.graph-empty p{color:var(--color-sera-muted);margin:0;font-size:.82rem;line-height:1.5}.graph-box.node{--graph-kind:#0a0a0a;--graph-kind-border:#0a0a0ac7;--graph-kind-shadow:#0a0a0a2e;--graph-kind-pill-bg:#0a0a0a14;--graph-kind-pill-border:#0a0a0a5c;--graph-kind-pill-text:#0a0a0a;--graph-kind-surface:#0a0a0a06;background:linear-gradient(0deg,var(--graph-kind-surface),var(--graph-kind-surface)),#fff;border-color:var(--graph-kind-border);box-shadow:0 10px 22px #0a0a0a1a,0 1px 2px #0a0a0a1a}.graph-box.node.task{--graph-kind:#6f8a6a;--graph-kind-border:#6f8a6ae0;--graph-kind-shadow:#6f8a6a3d;--graph-kind-pill-bg:#6f8a6a2e;--graph-kind-pill-border:#6f8a6a7a;--graph-kind-pill-text:#42583f;--graph-kind-surface:#6f8a6a0d}.graph-box.node.agent{--graph-kind:#6e82a3;--graph-kind-border:#6e82a3e0;--graph-kind-shadow:#6e82a33d;--graph-kind-pill-bg:#6e82a32e;--graph-kind-pill-border:#6e82a37a;--graph-kind-pill-text:#405372;--graph-kind-surface:#6e82a30d}.graph-box.node.signal{--graph-kind:#a8845d;--graph-kind-border:#a8845de0;--graph-kind-shadow:#a8845d3d;--graph-kind-pill-bg:#a8845d2e;--graph-kind-pill-border:#a8845d7a;--graph-kind-pill-text:#6b4f31;--graph-kind-surface:#a8845d0d}.graph-box.node.assert{--graph-kind:#8c789f;--graph-kind-border:#8c789fe0;--graph-kind-shadow:#8c789f3d;--graph-kind-pill-bg:#8c789f2e;--graph-kind-pill-border:#8c789f7a;--graph-kind-pill-text:#584765;--graph-kind-surface:#8c789f0d}.graph-box.node.if{--graph-kind:#a07862;--graph-kind-border:#a07862e0;--graph-kind-shadow:#a078623d;--graph-kind-pill-bg:#a078622e;--graph-kind-pill-border:#a0786275;--graph-kind-pill-text:#684536}.graph-box.node.switch{--graph-kind:#8a7aae;--graph-kind-border:#8a7aaee0;--graph-kind-shadow:#8a7aae3d;--graph-kind-pill-bg:#8a7aae2e;--graph-kind-pill-border:#8a7aae75;--graph-kind-pill-text:#554678}.graph-box.node.parallel{--graph-kind:#6a928a;--graph-kind-border:#6a928ae0;--graph-kind-shadow:#6a928a3d;--graph-kind-pill-bg:#6a928a2e;--graph-kind-pill-border:#6a928a75;--graph-kind-pill-text:#3f615c}.graph-box.node.fanout{--graph-kind:#6c9ba6;--graph-kind-border:#6c9ba6e0;--graph-kind-shadow:#6c9ba63d;--graph-kind-pill-bg:#6c9ba62e;--graph-kind-pill-border:#6c9ba675;--graph-kind-pill-text:#3e6570}.graph-box.node.loop{--graph-kind:#7a83a6;--graph-kind-border:#7a83a6e0;--graph-kind-shadow:#7a83a63d;--graph-kind-pill-bg:#7a83a62e;--graph-kind-pill-border:#7a83a675;--graph-kind-pill-text:#4a5374}.graph-box.node.parallel,.graph-box.node.fanout,.graph-box.node.switch,.graph-box.node.loop,.graph-box.node.if{background:#fff;overflow:visible;box-shadow:0 8px 18px #0a0a0a12,0 1px 2px #0a0a0a14}.graph-box.node.runtime-active{box-shadow:0 12px 28px #0a0a0a1f,0 1px 2px #0a0a0a1a,0 0 0 2px var(--runtime-status-glow)}.graph-box.node.parallel.runtime-active,.graph-box.node.fanout.runtime-active,.graph-box.node.switch.runtime-active,.graph-box.node.loop.runtime-active,.graph-box.node.if.runtime-active{box-shadow:0 10px 22px #0a0a0a17,0 1px 2px #0a0a0a14,0 0 0 2px var(--runtime-status-glow)}.graph-box-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:10px 12px;font-size:.7rem;display:grid;position:absolute;top:0;left:0;right:0}.composite-title{color:var(--color-sera-text);align-items:center;gap:7px;min-width:0;display:flex;overflow:hidden}.composite-title strong{color:var(--color-sera-text);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:600;overflow:hidden}.graph-box.node.loop .composite-title{min-width:110px}.graph-box.node.loop .composite-title strong{min-width:72px}.composite-descriptor{font-family:var(--font-mono);color:var(--color-sera-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.62rem;overflow:hidden}.graph-selector{border:1px solid var(--color-sera-outlineVariant);width:fit-content;min-width:128px;max-width:220px;color:var(--color-sera-text);font-family:var(--font-mono);box-sizing:border-box;background:#f0f0ee;border-radius:0;outline:none;justify-self:end;min-height:26px;padding:4px 24px 4px 8px;font-size:.66rem;line-height:1.2}.graph-selector-wrap{justify-self:end;align-items:center;gap:6px;min-width:0;display:inline-flex}.graph-selector:focus{border-color:var(--color-sera-primary)}.graph-selector.loop{width:78px;min-width:78px;max-width:78px}.graph-box.graph-container{background:#fff;border:1px dashed #0a0a0a47;overflow:visible}.graph-box.graph-container.scope{border-style:dashed;border-color:#0a0a0a33}.graph-box.graph-container.runtime-active{box-shadow:0 0 0 2px var(--runtime-status-glow)}.branch-pill{box-sizing:border-box;border:1px solid var(--color-sera-outlineVariant);font-family:var(--font-mono);color:var(--color-sera-tertiary);white-space:nowrap;text-overflow:ellipsis;background:#f0f0ee;border-radius:0;max-width:calc(100% - 24px);padding:2px 10px;font-size:.6rem;font-weight:600;position:absolute;top:-11px;left:12px;overflow:hidden}.empty-branch{color:var(--color-sera-muted);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;background:#0a0a0a0a;border-radius:0;justify-content:center;align-items:center;min-width:0;font-size:.62rem;display:flex;position:absolute;top:28px;right:12px;bottom:12px;left:12px;overflow:hidden}.close-button{color:var(--color-sera-muted);cursor:pointer;transition:background-color .12s var(--ease-out-strong),color .12s var(--ease-out-strong),transform .16s var(--ease-out-strong);background:0 0;border:none;border-radius:0;justify-content:center;align-items:center;padding:4px;display:flex}.close-button:active{transform:scale(.94)}@keyframes toast-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.toast-viewport{z-index:var(--z-toast);flex-direction:column;gap:10px;max-width:340px;display:flex;position:fixed;top:20px;right:20px}.toast{--toast-color:var(--ui-muted);--toast-border:var(--ui-border);--toast-bg:var(--ui-surface-raised);background:var(--toast-bg);border:1px solid var(--toast-border);color:var(--toast-color);box-shadow:var(--ui-shadow-panel);animation:toast-in .2s var(--ease-out-strong);border-radius:0;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.toast.success{--toast-color:var(--ui-success);--toast-border:#0a0a0a57;--toast-bg:#0a0a0a14}.toast.error{--toast-color:var(--ui-danger);--toast-border:#8d564d57;--toast-bg:#8d564d14}.toast>svg{color:var(--toast-color);flex:none;margin-top:1px}.toast-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.toast-body strong{color:var(--color-sera-text);font-size:.78rem;font-weight:600}.toast-body span{color:var(--color-sera-muted);word-break:break-word;font-size:.7rem}.toast-close{color:var(--color-sera-muted);cursor:pointer;background:0 0;border:none;border-radius:0;padding:2px;display:flex}@media(prefers-reduced-motion:reduce){.status-pill.running,.run-status-indicator.live .run-status-icon,.run-status-indicator.live .run-status-icon svg,.graph-flow-shell.run-status-running:before,.graph-flow-shell.run-status-awaiting:before,.graph-edge.active,.runtime-status-glyph,.runtime-status-glyph svg,.sidebar-status-icon.checking,.state-block.loading .state-block-icon svg,.state-skeleton-line{animation:none}.nav-button,.sidebar-toggle,.sidebar-status,.icon-button,.run-select,.run-row,.workflow-list-row,.breadcrumb-button,.ui-input,.inspector-tab,.primary-button,.artifact-row{transition:background-color .12s var(--ease-out-strong),color .12s var(--ease-out-strong),opacity .12s var(--ease-out-strong)}.graph-box{transition:border-color .2s var(--ease-out-strong),box-shadow .15s var(--ease-out-strong)}.graph-box:hover{transform:none}.search-input{transition:border-color .15s var(--ease-out-strong),box-shadow .15s var(--ease-out-strong)}.run-row{opacity:1;animation:none;transform:none}.inspector-card,.inspector-card.exiting,.select-content{animation:none;transform:none}.app-shell,.sidebar,.brand-copy,.graph-inspection-layout,.graph-flow-shell.viewport-animating .graph-canvas,.graph-flow-shell.viewport-animating .graph-box{transition:none}.toast{animation:none}.status-info-popover{animation:none;transform:none}}@media(hover:hover)and (pointer:fine){.nav-button:not(.active):hover,.sidebar-toggle:hover{background:var(--color-sera-surfaceMuted);color:var(--color-sera-text)}.run-select:hover:not(:disabled){border-color:var(--ui-border-strong)}.icon-button:hover:not(:disabled){background:var(--color-sera-surfaceMuted)}.icon-button.pause:hover:not(:disabled){background:#8a6a2424}.icon-button.resume:hover:not(:disabled){background:#0a0a0a24}.icon-button.retry:hover:not(:disabled){background:#5c6fa326}.icon-button.cancel:hover:not(:disabled){background:#8d564d24}.run-row:hover,.workflow-list-row:hover{background:var(--color-sera-surfaceMuted)}.breadcrumb-button:hover{color:var(--color-sera-text);background:#0a0a0a1a}.key-value:hover{background:#0a0a0a1a}.inspector-tab:hover{color:var(--color-sera-text)}.graph-box.node:hover{border-color:var(--graph-kind,var(--color-sera-primary));box-shadow:0 18px 34px #0a0a0a29,0 3px 8px #0a0a0a1a,0 0 0 2px var(--graph-kind-shadow,#0a0a0a33);transform:translateY(-1px)}.graph-box.node.parallel:hover,.graph-box.node.fanout:hover,.graph-box.node.switch:hover,.graph-box.node.loop:hover,.graph-box.node.if:hover{box-shadow:0 14px 28px #0a0a0a1f,0 2px 5px #0a0a0a14,0 0 0 2px var(--graph-kind-shadow,#0a0a0a2e)}.graph-box.selected:hover{box-shadow:0 18px 34px #0a0a0a29,0 3px 8px #0a0a0a1a,0 0 0 2px var(--graph-kind-shadow,#0a0a0a33)}.graph-box.node.runtime-active:hover{box-shadow:0 18px 34px #0a0a0a29,0 3px 8px #0a0a0a1a,0 0 0 2px var(--runtime-status-glow)}.graph-box.node.parallel.runtime-active:hover,.graph-box.node.fanout.runtime-active:hover,.graph-box.node.switch.runtime-active:hover,.graph-box.node.loop.runtime-active:hover,.graph-box.node.if.runtime-active:hover{box-shadow:0 14px 28px #0a0a0a1f,0 2px 5px #0a0a0a14,0 0 0 2px var(--runtime-status-glow)}.graph-tool-button:hover{background:var(--color-sera-surfaceMuted);color:var(--color-sera-text)}.primary-button:hover{opacity:.9}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}