@galaxy-tool-util/gxwf-web 0.0.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 (55) hide show
  1. package/LICENSE +21 -0
  2. package/dist/app.d.ts +27 -0
  3. package/dist/app.d.ts.map +1 -0
  4. package/dist/app.js +37 -0
  5. package/dist/app.js.map +1 -0
  6. package/dist/bin/gxwf-web.d.ts +3 -0
  7. package/dist/bin/gxwf-web.d.ts.map +1 -0
  8. package/dist/bin/gxwf-web.js +93 -0
  9. package/dist/bin/gxwf-web.js.map +1 -0
  10. package/dist/contents.d.ts +29 -0
  11. package/dist/contents.d.ts.map +1 -0
  12. package/dist/contents.js +408 -0
  13. package/dist/contents.js.map +1 -0
  14. package/dist/generated/api-types.d.ts +1512 -0
  15. package/dist/generated/api-types.d.ts.map +1 -0
  16. package/dist/generated/api-types.js +6 -0
  17. package/dist/generated/api-types.js.map +1 -0
  18. package/dist/index.d.ts +24 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +20 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/models.d.ts +26 -0
  23. package/dist/models.d.ts.map +1 -0
  24. package/dist/models.js +3 -0
  25. package/dist/models.js.map +1 -0
  26. package/dist/router.d.ts +20 -0
  27. package/dist/router.d.ts.map +1 -0
  28. package/dist/router.js +398 -0
  29. package/dist/router.js.map +1 -0
  30. package/dist/workflows.d.ts +126 -0
  31. package/dist/workflows.d.ts.map +1 -0
  32. package/dist/workflows.js +462 -0
  33. package/dist/workflows.js.map +1 -0
  34. package/openapi.json +2575 -0
  35. package/package.json +54 -0
  36. package/public/assets/atkinson-hyperlegible-latin-400-italic-D-qjh7ci.woff2 +0 -0
  37. package/public/assets/atkinson-hyperlegible-latin-400-italic-OoEIrRJc.woff +0 -0
  38. package/public/assets/atkinson-hyperlegible-latin-400-normal-BbWidj28.woff +0 -0
  39. package/public/assets/atkinson-hyperlegible-latin-400-normal-BrHNak5F.woff2 +0 -0
  40. package/public/assets/atkinson-hyperlegible-latin-700-normal-BK6Glc0m.woff +0 -0
  41. package/public/assets/atkinson-hyperlegible-latin-700-normal-GZI4o3u0.woff2 +0 -0
  42. package/public/assets/atkinson-hyperlegible-latin-ext-400-italic-3fJ3SmOv.woff2 +0 -0
  43. package/public/assets/atkinson-hyperlegible-latin-ext-400-italic-B-Yabllp.woff +0 -0
  44. package/public/assets/atkinson-hyperlegible-latin-ext-400-normal-Bbz-b3yf.woff +0 -0
  45. package/public/assets/atkinson-hyperlegible-latin-ext-400-normal-DRk46D-x.woff2 +0 -0
  46. package/public/assets/atkinson-hyperlegible-latin-ext-700-normal-BoVPHkS0.woff2 +0 -0
  47. package/public/assets/atkinson-hyperlegible-latin-ext-700-normal-CKkU2Dpt.woff +0 -0
  48. package/public/assets/index-DgcQmTAM.css +1 -0
  49. package/public/assets/index-DsYOTNI9.js +3595 -0
  50. package/public/assets/primeicons-C6QP2o4f.woff2 +0 -0
  51. package/public/assets/primeicons-DMOk5skT.eot +0 -0
  52. package/public/assets/primeicons-Dr5RGzOO.svg +345 -0
  53. package/public/assets/primeicons-MpK4pl85.ttf +0 -0
  54. package/public/assets/primeicons-WjwUDZjB.woff +0 -0
  55. package/public/index.html +13 -0
@@ -0,0 +1,1512 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/workflows": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /**
14
+ * List Workflows
15
+ * @description List all discovered workflows in the configured directory.
16
+ */
17
+ get: operations["list_workflows_workflows_get"];
18
+ put?: never;
19
+ post?: never;
20
+ delete?: never;
21
+ options?: never;
22
+ head?: never;
23
+ patch?: never;
24
+ trace?: never;
25
+ };
26
+ "/workflows/refresh": {
27
+ parameters: {
28
+ query?: never;
29
+ header?: never;
30
+ path?: never;
31
+ cookie?: never;
32
+ };
33
+ get?: never;
34
+ put?: never;
35
+ /**
36
+ * Refresh Workflows
37
+ * @description Re-discover workflows from the configured directory.
38
+ */
39
+ post: operations["refresh_workflows_workflows_refresh_post"];
40
+ delete?: never;
41
+ options?: never;
42
+ head?: never;
43
+ patch?: never;
44
+ trace?: never;
45
+ };
46
+ "/workflows/{workflow_path}/validate": {
47
+ parameters: {
48
+ query?: never;
49
+ header?: never;
50
+ path?: never;
51
+ cookie?: never;
52
+ };
53
+ get?: never;
54
+ put?: never;
55
+ /**
56
+ * Validate Workflow
57
+ * @description Validate a workflow's tool state against tool definitions.
58
+ */
59
+ post: operations["validate_workflow_workflows__workflow_path__validate_post"];
60
+ delete?: never;
61
+ options?: never;
62
+ head?: never;
63
+ patch?: never;
64
+ trace?: never;
65
+ };
66
+ "/workflows/{workflow_path}/clean": {
67
+ parameters: {
68
+ query?: never;
69
+ header?: never;
70
+ path?: never;
71
+ cookie?: never;
72
+ };
73
+ get?: never;
74
+ put?: never;
75
+ /**
76
+ * Clean Workflow
77
+ * @description Clean stale tool state keys in a workflow. Writes back by default; use dry_run=true to preview.
78
+ */
79
+ post: operations["clean_workflow_workflows__workflow_path__clean_post"];
80
+ delete?: never;
81
+ options?: never;
82
+ head?: never;
83
+ patch?: never;
84
+ trace?: never;
85
+ };
86
+ "/workflows/{workflow_path}/export": {
87
+ parameters: {
88
+ query?: never;
89
+ header?: never;
90
+ path?: never;
91
+ cookie?: never;
92
+ };
93
+ get?: never;
94
+ put?: never;
95
+ /**
96
+ * Export Workflow
97
+ * @description Convert a workflow to the other format, writing the result alongside the original.
98
+ */
99
+ post: operations["export_workflow_workflows__workflow_path__export_post"];
100
+ delete?: never;
101
+ options?: never;
102
+ head?: never;
103
+ patch?: never;
104
+ trace?: never;
105
+ };
106
+ "/workflows/{workflow_path}/convert": {
107
+ parameters: {
108
+ query?: never;
109
+ header?: never;
110
+ path?: never;
111
+ cookie?: never;
112
+ };
113
+ get?: never;
114
+ put?: never;
115
+ /**
116
+ * Convert Workflow
117
+ * @description Convert a workflow to the other format, removing the original.
118
+ */
119
+ post: operations["convert_workflow_workflows__workflow_path__convert_post"];
120
+ delete?: never;
121
+ options?: never;
122
+ head?: never;
123
+ patch?: never;
124
+ trace?: never;
125
+ };
126
+ "/workflows/{workflow_path}/roundtrip": {
127
+ parameters: {
128
+ query?: never;
129
+ header?: never;
130
+ path?: never;
131
+ cookie?: never;
132
+ };
133
+ get?: never;
134
+ put?: never;
135
+ /**
136
+ * Roundtrip Workflow
137
+ * @description Run round-trip validation (native -> format2 -> native).
138
+ */
139
+ post: operations["roundtrip_workflow_workflows__workflow_path__roundtrip_post"];
140
+ delete?: never;
141
+ options?: never;
142
+ head?: never;
143
+ patch?: never;
144
+ trace?: never;
145
+ };
146
+ "/api/contents": {
147
+ parameters: {
148
+ query?: never;
149
+ header?: never;
150
+ path?: never;
151
+ cookie?: never;
152
+ };
153
+ /**
154
+ * Read Root Contents
155
+ * @description Read configured directory root (Jupyter Contents API).
156
+ */
157
+ get: operations["read_root_contents_api_contents_get"];
158
+ put?: never;
159
+ /**
160
+ * Create Root Untitled
161
+ * @description Create an untitled file or directory in the configured root.
162
+ */
163
+ post: operations["create_root_untitled_api_contents_post"];
164
+ delete?: never;
165
+ options?: never;
166
+ head?: never;
167
+ patch?: never;
168
+ trace?: never;
169
+ };
170
+ "/api/contents/{path}/checkpoints": {
171
+ parameters: {
172
+ query?: never;
173
+ header?: never;
174
+ path?: never;
175
+ cookie?: never;
176
+ };
177
+ /**
178
+ * List File Checkpoints
179
+ * @description List checkpoints for a file (Jupyter Contents API).
180
+ */
181
+ get: operations["list_file_checkpoints_api_contents__path__checkpoints_get"];
182
+ put?: never;
183
+ /**
184
+ * Create File Checkpoint
185
+ * @description Create a checkpoint snapshot of a file.
186
+ */
187
+ post: operations["create_file_checkpoint_api_contents__path__checkpoints_post"];
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
+ "/api/contents/{path}/checkpoints/{checkpoint_id}": {
195
+ parameters: {
196
+ query?: never;
197
+ header?: never;
198
+ path?: never;
199
+ cookie?: never;
200
+ };
201
+ get?: never;
202
+ put?: never;
203
+ /**
204
+ * Restore File Checkpoint
205
+ * @description Restore a file from a stored checkpoint.
206
+ */
207
+ post: operations["restore_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__post"];
208
+ /**
209
+ * Delete File Checkpoint
210
+ * @description Delete a stored checkpoint.
211
+ */
212
+ delete: operations["delete_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__delete"];
213
+ options?: never;
214
+ head?: never;
215
+ patch?: never;
216
+ trace?: never;
217
+ };
218
+ "/api/contents/{path}": {
219
+ parameters: {
220
+ query?: never;
221
+ header?: never;
222
+ path?: never;
223
+ cookie?: never;
224
+ };
225
+ /**
226
+ * Read Path Contents
227
+ * @description Read a file or directory by relative path.
228
+ */
229
+ get: operations["read_path_contents_api_contents__path__get"];
230
+ /**
231
+ * Write Path Contents
232
+ * @description Save (create-or-replace) a file or create a directory.
233
+ *
234
+ * Optional ``If-Unmodified-Since`` header (RFC 7232, HTTP-date) enables conflict
235
+ * detection: if the file's on-disk mtime is newer than the supplied date, the
236
+ * server returns 409 instead of overwriting.
237
+ */
238
+ put: operations["write_path_contents_api_contents__path__put"];
239
+ /**
240
+ * Create Path Untitled
241
+ * @description Create an untitled file or directory inside {path}.
242
+ */
243
+ post: operations["create_path_untitled_api_contents__path__post"];
244
+ /**
245
+ * Delete Path Contents
246
+ * @description Delete a file or directory (recursive).
247
+ */
248
+ delete: operations["delete_path_contents_api_contents__path__delete"];
249
+ options?: never;
250
+ head?: never;
251
+ /**
252
+ * Rename Path Contents
253
+ * @description Rename/move a file or directory.
254
+ */
255
+ patch: operations["rename_path_contents_api_contents__path__patch"];
256
+ trace?: never;
257
+ };
258
+ "/workflows/{workflow_path}/lint": {
259
+ parameters: {
260
+ query?: never;
261
+ header?: never;
262
+ path?: never;
263
+ cookie?: never;
264
+ };
265
+ get?: never;
266
+ put?: never;
267
+ /**
268
+ * Lint Workflow
269
+ * @description Lint a workflow (structural + tool state validation).
270
+ */
271
+ post: operations["lint_workflow_workflows__workflow_path__lint_post"];
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
278
+ }
279
+ export type webhooks = Record<string, never>;
280
+ export interface components {
281
+ schemas: {
282
+ /** BenignArtifact */
283
+ BenignArtifact: {
284
+ /** Reason */
285
+ reason: string;
286
+ /** Proven By */
287
+ proven_by?: string[];
288
+ };
289
+ /**
290
+ * CheckpointModel
291
+ * @description Checkpoint metadata (Jupyter Contents API shape).
292
+ */
293
+ CheckpointModel: {
294
+ /** Id */
295
+ id: string;
296
+ /**
297
+ * Last Modified
298
+ * Format: date-time
299
+ */
300
+ last_modified: string;
301
+ };
302
+ /** CleanStepResult */
303
+ CleanStepResult: {
304
+ /** Step */
305
+ step: string;
306
+ /** Tool Id */
307
+ tool_id?: string | null;
308
+ /** Version */
309
+ version?: string | null;
310
+ /**
311
+ * Removed State Keys
312
+ * @default []
313
+ */
314
+ removed_state_keys: string[];
315
+ /**
316
+ * Removed Step Keys
317
+ * @default []
318
+ */
319
+ removed_step_keys: string[];
320
+ /**
321
+ * Skipped
322
+ * @default false
323
+ */
324
+ skipped: boolean;
325
+ /**
326
+ * Skip Reason
327
+ * @default
328
+ */
329
+ skip_reason: string;
330
+ /** Display Label */
331
+ readonly display_label: string;
332
+ };
333
+ /**
334
+ * ConnectionResult
335
+ * @description Single connection between two steps.
336
+ *
337
+ * status and mapping are orthogonal:
338
+ * - status: whether the connection is valid (ok/invalid/skip)
339
+ * - mapping: what collection type is being mapped over (None = direct match)
340
+ */
341
+ ConnectionResult: {
342
+ /** Source Step */
343
+ source_step: string;
344
+ /** Source Output */
345
+ source_output: string;
346
+ /** Target Step */
347
+ target_step: string;
348
+ /** Target Input */
349
+ target_input: string;
350
+ /**
351
+ * Status
352
+ * @enum {string}
353
+ */
354
+ status: "ok" | "invalid" | "skip";
355
+ /** Mapping */
356
+ mapping?: string | null;
357
+ /**
358
+ * Errors
359
+ * @default []
360
+ */
361
+ errors: string[];
362
+ };
363
+ /**
364
+ * ConnectionStepResult
365
+ * @description Connection validation result for one step.
366
+ */
367
+ ConnectionStepResult: {
368
+ /** Step */
369
+ step: string;
370
+ /** Tool Id */
371
+ tool_id?: string | null;
372
+ /** Version */
373
+ version?: string | null;
374
+ /**
375
+ * Step Type
376
+ * @default tool
377
+ */
378
+ step_type: string;
379
+ /** Map Over */
380
+ map_over?: string | null;
381
+ /**
382
+ * Connections
383
+ * @default []
384
+ */
385
+ connections: components["schemas"]["ConnectionResult"][];
386
+ /**
387
+ * Resolved Outputs
388
+ * @default []
389
+ */
390
+ resolved_outputs: components["schemas"]["ResolvedOutputType"][];
391
+ /**
392
+ * Errors
393
+ * @default []
394
+ */
395
+ errors: string[];
396
+ };
397
+ /**
398
+ * ConnectionValidationReport
399
+ * @description Connection validation results for one workflow.
400
+ */
401
+ ConnectionValidationReport: {
402
+ /** Valid */
403
+ valid: boolean;
404
+ /**
405
+ * Step Results
406
+ * @default []
407
+ */
408
+ step_results: components["schemas"]["ConnectionStepResult"][];
409
+ /**
410
+ * Summary
411
+ * @default {}
412
+ */
413
+ summary: {
414
+ [key: string]: number;
415
+ };
416
+ /**
417
+ * Has Details
418
+ * @description True iff any step has connection data or step-level errors.
419
+ *
420
+ * Precomputed here so templates don't need a mutable accumulator loop
421
+ * (Jinja2 namespaces aren't in the Jinja2/Nunjucks shared subset).
422
+ */
423
+ readonly has_details: boolean;
424
+ };
425
+ /**
426
+ * ContentsModel
427
+ * @description Jupyter Contents API-shaped model for files and directories.
428
+ */
429
+ "ContentsModel-Input": {
430
+ /** Name */
431
+ name: string;
432
+ /** Path */
433
+ path: string;
434
+ /**
435
+ * Type
436
+ * @enum {string}
437
+ */
438
+ type: "file" | "directory";
439
+ /** Writable */
440
+ writable: boolean;
441
+ /**
442
+ * Created
443
+ * Format: date-time
444
+ */
445
+ created: string;
446
+ /**
447
+ * Last Modified
448
+ * Format: date-time
449
+ */
450
+ last_modified: string;
451
+ /** Size */
452
+ size?: number | null;
453
+ /** Mimetype */
454
+ mimetype?: string | null;
455
+ /** Format */
456
+ format?: ("text" | "base64") | null;
457
+ /** Content */
458
+ content?: string | components["schemas"]["ContentsModel-Input"][] | null;
459
+ };
460
+ /**
461
+ * ContentsModel
462
+ * @description Jupyter Contents API-shaped model for files and directories.
463
+ */
464
+ "ContentsModel-Output": {
465
+ /** Name */
466
+ name: string;
467
+ /** Path */
468
+ path: string;
469
+ /**
470
+ * Type
471
+ * @enum {string}
472
+ */
473
+ type: "file" | "directory";
474
+ /** Writable */
475
+ writable: boolean;
476
+ /**
477
+ * Created
478
+ * Format: date-time
479
+ */
480
+ created: string;
481
+ /**
482
+ * Last Modified
483
+ * Format: date-time
484
+ */
485
+ last_modified: string;
486
+ /** Size */
487
+ size?: number | null;
488
+ /** Mimetype */
489
+ mimetype?: string | null;
490
+ /** Format */
491
+ format?: ("text" | "base64") | null;
492
+ /** Content */
493
+ content?: string | components["schemas"]["ContentsModel-Output"][] | null;
494
+ };
495
+ /**
496
+ * ConvertResult
497
+ * @description Result of a convert operation (export + remove original).
498
+ */
499
+ ConvertResult: {
500
+ /** Source Path */
501
+ source_path: string;
502
+ /** Output Path */
503
+ output_path: string;
504
+ /** Removed Path */
505
+ removed_path: string;
506
+ /** Source Format */
507
+ source_format: string;
508
+ /** Target Format */
509
+ target_format: string;
510
+ /** Report */
511
+ report: components["schemas"]["SingleExportReport"] | components["schemas"]["ToNativeResult"];
512
+ /** Dry Run */
513
+ dry_run: boolean;
514
+ /** Content */
515
+ content?: string | null;
516
+ };
517
+ /**
518
+ * CreateRequest
519
+ * @description Body for POST /api/contents/{path} — create untitled file or directory under {path}.
520
+ */
521
+ CreateRequest: {
522
+ /**
523
+ * Type
524
+ * @default file
525
+ * @enum {string}
526
+ */
527
+ type: "file" | "directory";
528
+ /** Ext */
529
+ ext?: string | null;
530
+ };
531
+ /**
532
+ * DiffSeverity
533
+ * @enum {string}
534
+ */
535
+ DiffSeverity: "error" | "benign";
536
+ /**
537
+ * DiffType
538
+ * @enum {string}
539
+ */
540
+ DiffType: "value_mismatch" | "missing_in_roundtrip" | "missing_in_original" | "connection_mismatch" | "position_mismatch" | "label_mismatch" | "annotation_mismatch" | "comment_mismatch" | "step_missing";
541
+ /**
542
+ * ExportResult
543
+ * @description Result of an export (format conversion) operation.
544
+ */
545
+ ExportResult: {
546
+ /** Source Path */
547
+ source_path: string;
548
+ /** Output Path */
549
+ output_path: string;
550
+ /** Source Format */
551
+ source_format: string;
552
+ /** Target Format */
553
+ target_format: string;
554
+ /** Report */
555
+ report: components["schemas"]["SingleExportReport"] | components["schemas"]["ToNativeResult"];
556
+ /** Dry Run */
557
+ dry_run: boolean;
558
+ /** Content */
559
+ content?: string | null;
560
+ };
561
+ /**
562
+ * FailureClass
563
+ * @enum {string}
564
+ */
565
+ FailureClass: "tool_not_found" | "native_validation" | "conversion_error" | "type_not_handled" | "format2_validation" | "reimport_error" | "roundtrip_mismatch" | "subworkflow" | "parse_error" | "other";
566
+ /** HTTPValidationError */
567
+ HTTPValidationError: {
568
+ /** Detail */
569
+ detail?: components["schemas"]["ValidationError"][];
570
+ };
571
+ /**
572
+ * RenameRequest
573
+ * @description Body for PATCH /api/contents/{path} — rename/move.
574
+ */
575
+ RenameRequest: {
576
+ /** Path */
577
+ path: string;
578
+ };
579
+ /**
580
+ * ResolvedOutputType
581
+ * @description Resolved collection type for a step output.
582
+ */
583
+ ResolvedOutputType: {
584
+ /** Name */
585
+ name: string;
586
+ /** Collection Type */
587
+ collection_type?: string | null;
588
+ };
589
+ /** RoundTripResult */
590
+ RoundTripResult: {
591
+ /** Workflow Name */
592
+ workflow_name: string;
593
+ /** Direction */
594
+ direction: string;
595
+ /** Step Results */
596
+ step_results?: components["schemas"]["StepResult"][];
597
+ };
598
+ /**
599
+ * RoundTripValidationResult
600
+ * @description Result of validating a workflow's native→format2→native round-trip.
601
+ */
602
+ RoundTripValidationResult: {
603
+ /** Workflow Path */
604
+ workflow_path: string;
605
+ /**
606
+ * Category
607
+ * @default
608
+ */
609
+ category: string;
610
+ conversion_result?: components["schemas"]["RoundTripResult"] | null;
611
+ /** Diffs */
612
+ diffs?: components["schemas"]["StepDiff"][] | null;
613
+ step_id_mapping?: components["schemas"]["StepIdMappingResult"] | null;
614
+ /** Stale Clean Results */
615
+ stale_clean_results?: components["schemas"]["CleanStepResult"][] | null;
616
+ /** Error */
617
+ error?: string | null;
618
+ skipped_reason?: components["schemas"]["SkipWorkflowReason"] | null;
619
+ /** Structure Errors */
620
+ structure_errors?: string[];
621
+ /** Encoding Errors */
622
+ encoding_errors?: string[];
623
+ /** Error Diffs */
624
+ readonly error_diffs: components["schemas"]["StepDiff"][];
625
+ /** Benign Diffs */
626
+ readonly benign_diffs: components["schemas"]["StepDiff"][];
627
+ /** Ok */
628
+ readonly ok: boolean;
629
+ /** Status */
630
+ readonly status: string;
631
+ /**
632
+ * Conversion Failure Lines
633
+ * @description Pre-formatted per-step conversion failures.
634
+ *
635
+ * Kept identical to the strings ``_format_conversion_failures`` emits so
636
+ * templates stay inside the Jinja2/Nunjucks shared subset (no method calls).
637
+ */
638
+ readonly conversion_failure_lines: string[];
639
+ /** Summary Line */
640
+ readonly summary_line: string;
641
+ };
642
+ /**
643
+ * SingleCleanReport
644
+ * @description JSON shape for single-file cleaning.
645
+ */
646
+ SingleCleanReport: {
647
+ /** Workflow */
648
+ workflow: string;
649
+ /** Results */
650
+ results: components["schemas"]["CleanStepResult"][];
651
+ /** Before Content */
652
+ before_content?: string | null;
653
+ /** After Content */
654
+ after_content?: string | null;
655
+ /** Total Removed */
656
+ readonly total_removed: number;
657
+ /** Steps With Removals */
658
+ readonly steps_with_removals: number;
659
+ };
660
+ /**
661
+ * SingleExportReport
662
+ * @description JSON shape for single-file export.
663
+ */
664
+ SingleExportReport: {
665
+ /** Workflow */
666
+ workflow: string;
667
+ /**
668
+ * Ok
669
+ * @default false
670
+ */
671
+ ok: boolean;
672
+ /**
673
+ * Steps Converted
674
+ * @default 0
675
+ */
676
+ steps_converted: number;
677
+ /**
678
+ * Steps Fallback
679
+ * @default 0
680
+ */
681
+ steps_fallback: number;
682
+ /** Summary */
683
+ readonly summary: {
684
+ [key: string]: number;
685
+ };
686
+ };
687
+ /**
688
+ * SingleLintReport
689
+ * @description JSON shape for single-file lint.
690
+ */
691
+ SingleLintReport: {
692
+ /** Workflow */
693
+ workflow: string;
694
+ /**
695
+ * Lint Errors
696
+ * @default 0
697
+ */
698
+ lint_errors: number;
699
+ /**
700
+ * Lint Warnings
701
+ * @default 0
702
+ */
703
+ lint_warnings: number;
704
+ /**
705
+ * Results
706
+ * @default []
707
+ */
708
+ results: components["schemas"]["ValidationStepResult"][];
709
+ /** Structure Errors */
710
+ structure_errors?: string[];
711
+ /** Encoding Errors */
712
+ encoding_errors?: string[];
713
+ /** Summary */
714
+ readonly summary: {
715
+ [key: string]: number;
716
+ };
717
+ };
718
+ /**
719
+ * SingleRoundTripReport
720
+ * @description JSON shape for single-file roundtrip validation.
721
+ */
722
+ SingleRoundTripReport: {
723
+ /** Workflow */
724
+ workflow: string;
725
+ result: components["schemas"]["RoundTripValidationResult"];
726
+ /** Before Content */
727
+ before_content?: string | null;
728
+ /** After Content */
729
+ after_content?: string | null;
730
+ };
731
+ /**
732
+ * SingleValidationReport
733
+ * @description JSON shape for single-file validation.
734
+ */
735
+ SingleValidationReport: {
736
+ /** Workflow */
737
+ workflow: string;
738
+ /** Results */
739
+ results: components["schemas"]["ValidationStepResult"][];
740
+ connection_report?: components["schemas"]["ConnectionValidationReport"] | null;
741
+ /** Skipped Reason */
742
+ skipped_reason?: string | null;
743
+ /** Structure Errors */
744
+ structure_errors?: string[];
745
+ /** Encoding Errors */
746
+ encoding_errors?: string[];
747
+ clean_report?: components["schemas"]["SingleCleanReport"] | null;
748
+ /** Summary */
749
+ readonly summary: {
750
+ [key: string]: number;
751
+ };
752
+ };
753
+ /**
754
+ * SkipWorkflowReason
755
+ * @enum {string}
756
+ */
757
+ SkipWorkflowReason: "legacy_encoding";
758
+ /** StepDiff */
759
+ StepDiff: {
760
+ /** Step Path */
761
+ step_path: string;
762
+ /** Key Path */
763
+ key_path: string;
764
+ diff_type: components["schemas"]["DiffType"];
765
+ severity: components["schemas"]["DiffSeverity"];
766
+ /** Description */
767
+ description: string;
768
+ /** Original Value */
769
+ original_value?: unknown | null;
770
+ /** Roundtrip Value */
771
+ roundtrip_value?: unknown | null;
772
+ benign_artifact?: components["schemas"]["BenignArtifact"] | null;
773
+ };
774
+ /** StepEncodeStatus */
775
+ StepEncodeStatus: {
776
+ /** Step Id */
777
+ step_id: string;
778
+ /** Step Label */
779
+ step_label?: string | null;
780
+ /** Tool Id */
781
+ tool_id?: string | null;
782
+ /**
783
+ * Encoded
784
+ * @default false
785
+ */
786
+ encoded: boolean;
787
+ /** Error */
788
+ error?: string | null;
789
+ };
790
+ /**
791
+ * StepIdMappingResult
792
+ * @description Result of step ID matching between original and roundtripped workflows.
793
+ */
794
+ StepIdMappingResult: {
795
+ /** Mapping */
796
+ mapping?: {
797
+ [key: string]: string | null;
798
+ };
799
+ /** Match Methods */
800
+ match_methods?: {
801
+ [key: string]: string;
802
+ };
803
+ };
804
+ /** StepResult */
805
+ StepResult: {
806
+ /** Step Id */
807
+ step_id: string;
808
+ /** Tool Id */
809
+ tool_id?: string | null;
810
+ /** Success */
811
+ success: boolean;
812
+ failure_class?: components["schemas"]["FailureClass"] | null;
813
+ /** Error */
814
+ error?: string | null;
815
+ /** Diffs */
816
+ diffs?: components["schemas"]["StepDiff"][];
817
+ /** Format2 State */
818
+ format2_state?: {
819
+ [key: string]: unknown;
820
+ } | null;
821
+ /** Format2 Connections */
822
+ format2_connections?: {
823
+ [key: string]: unknown;
824
+ } | null;
825
+ };
826
+ /** ToNativeResult */
827
+ ToNativeResult: {
828
+ /** Native Dict */
829
+ native_dict: {
830
+ [key: string]: unknown;
831
+ };
832
+ /** Steps */
833
+ steps?: components["schemas"]["StepEncodeStatus"][];
834
+ /** All Encoded */
835
+ readonly all_encoded: boolean;
836
+ /** Summary */
837
+ readonly summary: string;
838
+ };
839
+ /** ValidationError */
840
+ ValidationError: {
841
+ /** Location */
842
+ loc: (string | number)[];
843
+ /** Message */
844
+ msg: string;
845
+ /** Error Type */
846
+ type: string;
847
+ /** Input */
848
+ input?: unknown;
849
+ /** Context */
850
+ ctx?: Record<string, never>;
851
+ };
852
+ /** ValidationStepResult */
853
+ ValidationStepResult: {
854
+ /** Step */
855
+ step: string;
856
+ /** Tool Id */
857
+ tool_id?: string | null;
858
+ /** Version */
859
+ version?: string | null;
860
+ /**
861
+ * Status
862
+ * @enum {string}
863
+ */
864
+ status: "ok" | "fail" | "skip_tool_not_found" | "skip_replacement_params";
865
+ /**
866
+ * Errors
867
+ * @default []
868
+ */
869
+ errors: string[];
870
+ };
871
+ /**
872
+ * WorkflowEntry
873
+ * @description A discovered workflow file.
874
+ */
875
+ WorkflowEntry: {
876
+ /** Relative Path */
877
+ relative_path: string;
878
+ /** Format */
879
+ format: string;
880
+ /** Category */
881
+ category: string;
882
+ };
883
+ /**
884
+ * WorkflowIndex
885
+ * @description Index of all workflows in the target directory.
886
+ */
887
+ WorkflowIndex: {
888
+ /** Directory */
889
+ directory: string;
890
+ /** Workflows */
891
+ workflows: components["schemas"]["WorkflowEntry"][];
892
+ };
893
+ };
894
+ responses: never;
895
+ parameters: never;
896
+ requestBodies: never;
897
+ headers: never;
898
+ pathItems: never;
899
+ }
900
+ export type $defs = Record<string, never>;
901
+ export interface operations {
902
+ list_workflows_workflows_get: {
903
+ parameters: {
904
+ query?: never;
905
+ header?: never;
906
+ path?: never;
907
+ cookie?: never;
908
+ };
909
+ requestBody?: never;
910
+ responses: {
911
+ /** @description Successful Response */
912
+ 200: {
913
+ headers: {
914
+ [name: string]: unknown;
915
+ };
916
+ content: {
917
+ "application/json": components["schemas"]["WorkflowIndex"];
918
+ };
919
+ };
920
+ };
921
+ };
922
+ refresh_workflows_workflows_refresh_post: {
923
+ parameters: {
924
+ query?: never;
925
+ header?: never;
926
+ path?: never;
927
+ cookie?: never;
928
+ };
929
+ requestBody?: never;
930
+ responses: {
931
+ /** @description Successful Response */
932
+ 200: {
933
+ headers: {
934
+ [name: string]: unknown;
935
+ };
936
+ content: {
937
+ "application/json": components["schemas"]["WorkflowIndex"];
938
+ };
939
+ };
940
+ };
941
+ };
942
+ validate_workflow_workflows__workflow_path__validate_post: {
943
+ parameters: {
944
+ query?: {
945
+ strict_structure?: boolean;
946
+ strict_encoding?: boolean;
947
+ connections?: boolean;
948
+ mode?: string;
949
+ clean_first?: boolean;
950
+ allow?: string[];
951
+ deny?: string[];
952
+ };
953
+ header?: never;
954
+ path: {
955
+ workflow_path: string;
956
+ };
957
+ cookie?: never;
958
+ };
959
+ requestBody?: never;
960
+ responses: {
961
+ /** @description Successful Response */
962
+ 200: {
963
+ headers: {
964
+ [name: string]: unknown;
965
+ };
966
+ content: {
967
+ "application/json": components["schemas"]["SingleValidationReport"];
968
+ };
969
+ };
970
+ /** @description Validation Error */
971
+ 422: {
972
+ headers: {
973
+ [name: string]: unknown;
974
+ };
975
+ content: {
976
+ "application/json": components["schemas"]["HTTPValidationError"];
977
+ };
978
+ };
979
+ };
980
+ };
981
+ clean_workflow_workflows__workflow_path__clean_post: {
982
+ parameters: {
983
+ query?: {
984
+ preserve?: string[];
985
+ strip?: string[];
986
+ dry_run?: boolean;
987
+ };
988
+ header?: never;
989
+ path: {
990
+ workflow_path: string;
991
+ };
992
+ cookie?: never;
993
+ };
994
+ requestBody?: never;
995
+ responses: {
996
+ /** @description Successful Response */
997
+ 200: {
998
+ headers: {
999
+ [name: string]: unknown;
1000
+ };
1001
+ content: {
1002
+ "application/json": components["schemas"]["SingleCleanReport"];
1003
+ };
1004
+ };
1005
+ /** @description Validation Error */
1006
+ 422: {
1007
+ headers: {
1008
+ [name: string]: unknown;
1009
+ };
1010
+ content: {
1011
+ "application/json": components["schemas"]["HTTPValidationError"];
1012
+ };
1013
+ };
1014
+ };
1015
+ };
1016
+ export_workflow_workflows__workflow_path__export_post: {
1017
+ parameters: {
1018
+ query?: {
1019
+ dry_run?: boolean;
1020
+ };
1021
+ header?: never;
1022
+ path: {
1023
+ workflow_path: string;
1024
+ };
1025
+ cookie?: never;
1026
+ };
1027
+ requestBody?: never;
1028
+ responses: {
1029
+ /** @description Successful Response */
1030
+ 200: {
1031
+ headers: {
1032
+ [name: string]: unknown;
1033
+ };
1034
+ content: {
1035
+ "application/json": components["schemas"]["ExportResult"];
1036
+ };
1037
+ };
1038
+ /** @description Validation Error */
1039
+ 422: {
1040
+ headers: {
1041
+ [name: string]: unknown;
1042
+ };
1043
+ content: {
1044
+ "application/json": components["schemas"]["HTTPValidationError"];
1045
+ };
1046
+ };
1047
+ };
1048
+ };
1049
+ convert_workflow_workflows__workflow_path__convert_post: {
1050
+ parameters: {
1051
+ query?: {
1052
+ dry_run?: boolean;
1053
+ };
1054
+ header?: never;
1055
+ path: {
1056
+ workflow_path: string;
1057
+ };
1058
+ cookie?: never;
1059
+ };
1060
+ requestBody?: never;
1061
+ responses: {
1062
+ /** @description Successful Response */
1063
+ 200: {
1064
+ headers: {
1065
+ [name: string]: unknown;
1066
+ };
1067
+ content: {
1068
+ "application/json": components["schemas"]["ConvertResult"];
1069
+ };
1070
+ };
1071
+ /** @description Validation Error */
1072
+ 422: {
1073
+ headers: {
1074
+ [name: string]: unknown;
1075
+ };
1076
+ content: {
1077
+ "application/json": components["schemas"]["HTTPValidationError"];
1078
+ };
1079
+ };
1080
+ };
1081
+ };
1082
+ roundtrip_workflow_workflows__workflow_path__roundtrip_post: {
1083
+ parameters: {
1084
+ query?: {
1085
+ strict_structure?: boolean;
1086
+ strict_encoding?: boolean;
1087
+ strict_state?: boolean;
1088
+ include_content?: boolean;
1089
+ };
1090
+ header?: never;
1091
+ path: {
1092
+ workflow_path: string;
1093
+ };
1094
+ cookie?: never;
1095
+ };
1096
+ requestBody?: never;
1097
+ responses: {
1098
+ /** @description Successful Response */
1099
+ 200: {
1100
+ headers: {
1101
+ [name: string]: unknown;
1102
+ };
1103
+ content: {
1104
+ "application/json": components["schemas"]["SingleRoundTripReport"];
1105
+ };
1106
+ };
1107
+ /** @description Validation Error */
1108
+ 422: {
1109
+ headers: {
1110
+ [name: string]: unknown;
1111
+ };
1112
+ content: {
1113
+ "application/json": components["schemas"]["HTTPValidationError"];
1114
+ };
1115
+ };
1116
+ };
1117
+ };
1118
+ read_root_contents_api_contents_get: {
1119
+ parameters: {
1120
+ query?: {
1121
+ content?: number;
1122
+ format?: string | null;
1123
+ };
1124
+ header?: never;
1125
+ path?: never;
1126
+ cookie?: never;
1127
+ };
1128
+ requestBody?: never;
1129
+ responses: {
1130
+ /** @description Successful Response */
1131
+ 200: {
1132
+ headers: {
1133
+ [name: string]: unknown;
1134
+ };
1135
+ content: {
1136
+ "application/json": components["schemas"]["ContentsModel-Output"];
1137
+ };
1138
+ };
1139
+ /** @description Validation Error */
1140
+ 422: {
1141
+ headers: {
1142
+ [name: string]: unknown;
1143
+ };
1144
+ content: {
1145
+ "application/json": components["schemas"]["HTTPValidationError"];
1146
+ };
1147
+ };
1148
+ };
1149
+ };
1150
+ create_root_untitled_api_contents_post: {
1151
+ parameters: {
1152
+ query?: never;
1153
+ header?: never;
1154
+ path?: never;
1155
+ cookie?: never;
1156
+ };
1157
+ requestBody: {
1158
+ content: {
1159
+ "application/json": components["schemas"]["CreateRequest"];
1160
+ };
1161
+ };
1162
+ responses: {
1163
+ /** @description Successful Response */
1164
+ 200: {
1165
+ headers: {
1166
+ [name: string]: unknown;
1167
+ };
1168
+ content: {
1169
+ "application/json": components["schemas"]["ContentsModel-Output"];
1170
+ };
1171
+ };
1172
+ /** @description Validation Error */
1173
+ 422: {
1174
+ headers: {
1175
+ [name: string]: unknown;
1176
+ };
1177
+ content: {
1178
+ "application/json": components["schemas"]["HTTPValidationError"];
1179
+ };
1180
+ };
1181
+ };
1182
+ };
1183
+ list_file_checkpoints_api_contents__path__checkpoints_get: {
1184
+ parameters: {
1185
+ query?: never;
1186
+ header?: never;
1187
+ path: {
1188
+ path: string;
1189
+ };
1190
+ cookie?: never;
1191
+ };
1192
+ requestBody?: never;
1193
+ responses: {
1194
+ /** @description Successful Response */
1195
+ 200: {
1196
+ headers: {
1197
+ [name: string]: unknown;
1198
+ };
1199
+ content: {
1200
+ "application/json": components["schemas"]["CheckpointModel"][];
1201
+ };
1202
+ };
1203
+ /** @description Validation Error */
1204
+ 422: {
1205
+ headers: {
1206
+ [name: string]: unknown;
1207
+ };
1208
+ content: {
1209
+ "application/json": components["schemas"]["HTTPValidationError"];
1210
+ };
1211
+ };
1212
+ };
1213
+ };
1214
+ create_file_checkpoint_api_contents__path__checkpoints_post: {
1215
+ parameters: {
1216
+ query?: never;
1217
+ header?: never;
1218
+ path: {
1219
+ path: string;
1220
+ };
1221
+ cookie?: never;
1222
+ };
1223
+ requestBody?: never;
1224
+ responses: {
1225
+ /** @description Successful Response */
1226
+ 201: {
1227
+ headers: {
1228
+ [name: string]: unknown;
1229
+ };
1230
+ content: {
1231
+ "application/json": components["schemas"]["CheckpointModel"];
1232
+ };
1233
+ };
1234
+ /** @description Validation Error */
1235
+ 422: {
1236
+ headers: {
1237
+ [name: string]: unknown;
1238
+ };
1239
+ content: {
1240
+ "application/json": components["schemas"]["HTTPValidationError"];
1241
+ };
1242
+ };
1243
+ };
1244
+ };
1245
+ restore_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__post: {
1246
+ parameters: {
1247
+ query?: never;
1248
+ header?: never;
1249
+ path: {
1250
+ path: string;
1251
+ checkpoint_id: string;
1252
+ };
1253
+ cookie?: never;
1254
+ };
1255
+ requestBody?: never;
1256
+ responses: {
1257
+ /** @description Successful Response */
1258
+ 204: {
1259
+ headers: {
1260
+ [name: string]: unknown;
1261
+ };
1262
+ content?: never;
1263
+ };
1264
+ /** @description Validation Error */
1265
+ 422: {
1266
+ headers: {
1267
+ [name: string]: unknown;
1268
+ };
1269
+ content: {
1270
+ "application/json": components["schemas"]["HTTPValidationError"];
1271
+ };
1272
+ };
1273
+ };
1274
+ };
1275
+ delete_file_checkpoint_api_contents__path__checkpoints__checkpoint_id__delete: {
1276
+ parameters: {
1277
+ query?: never;
1278
+ header?: never;
1279
+ path: {
1280
+ path: string;
1281
+ checkpoint_id: string;
1282
+ };
1283
+ cookie?: never;
1284
+ };
1285
+ requestBody?: never;
1286
+ responses: {
1287
+ /** @description Successful Response */
1288
+ 204: {
1289
+ headers: {
1290
+ [name: string]: unknown;
1291
+ };
1292
+ content?: never;
1293
+ };
1294
+ /** @description Validation Error */
1295
+ 422: {
1296
+ headers: {
1297
+ [name: string]: unknown;
1298
+ };
1299
+ content: {
1300
+ "application/json": components["schemas"]["HTTPValidationError"];
1301
+ };
1302
+ };
1303
+ };
1304
+ };
1305
+ read_path_contents_api_contents__path__get: {
1306
+ parameters: {
1307
+ query?: {
1308
+ content?: number;
1309
+ format?: string | null;
1310
+ };
1311
+ header?: never;
1312
+ path: {
1313
+ path: string;
1314
+ };
1315
+ cookie?: never;
1316
+ };
1317
+ requestBody?: never;
1318
+ responses: {
1319
+ /** @description Successful Response */
1320
+ 200: {
1321
+ headers: {
1322
+ [name: string]: unknown;
1323
+ };
1324
+ content: {
1325
+ "application/json": components["schemas"]["ContentsModel-Output"];
1326
+ };
1327
+ };
1328
+ /** @description Validation Error */
1329
+ 422: {
1330
+ headers: {
1331
+ [name: string]: unknown;
1332
+ };
1333
+ content: {
1334
+ "application/json": components["schemas"]["HTTPValidationError"];
1335
+ };
1336
+ };
1337
+ };
1338
+ };
1339
+ write_path_contents_api_contents__path__put: {
1340
+ parameters: {
1341
+ query?: never;
1342
+ header?: {
1343
+ "If-Unmodified-Since"?: string | null;
1344
+ };
1345
+ path: {
1346
+ path: string;
1347
+ };
1348
+ cookie?: never;
1349
+ };
1350
+ requestBody: {
1351
+ content: {
1352
+ "application/json": components["schemas"]["ContentsModel-Input"];
1353
+ };
1354
+ };
1355
+ responses: {
1356
+ /** @description Successful Response */
1357
+ 200: {
1358
+ headers: {
1359
+ [name: string]: unknown;
1360
+ };
1361
+ content: {
1362
+ "application/json": components["schemas"]["ContentsModel-Output"];
1363
+ };
1364
+ };
1365
+ /** @description Validation Error */
1366
+ 422: {
1367
+ headers: {
1368
+ [name: string]: unknown;
1369
+ };
1370
+ content: {
1371
+ "application/json": components["schemas"]["HTTPValidationError"];
1372
+ };
1373
+ };
1374
+ };
1375
+ };
1376
+ create_path_untitled_api_contents__path__post: {
1377
+ parameters: {
1378
+ query?: never;
1379
+ header?: never;
1380
+ path: {
1381
+ path: string;
1382
+ };
1383
+ cookie?: never;
1384
+ };
1385
+ requestBody: {
1386
+ content: {
1387
+ "application/json": components["schemas"]["CreateRequest"];
1388
+ };
1389
+ };
1390
+ responses: {
1391
+ /** @description Successful Response */
1392
+ 200: {
1393
+ headers: {
1394
+ [name: string]: unknown;
1395
+ };
1396
+ content: {
1397
+ "application/json": components["schemas"]["ContentsModel-Output"];
1398
+ };
1399
+ };
1400
+ /** @description Validation Error */
1401
+ 422: {
1402
+ headers: {
1403
+ [name: string]: unknown;
1404
+ };
1405
+ content: {
1406
+ "application/json": components["schemas"]["HTTPValidationError"];
1407
+ };
1408
+ };
1409
+ };
1410
+ };
1411
+ delete_path_contents_api_contents__path__delete: {
1412
+ parameters: {
1413
+ query?: never;
1414
+ header?: never;
1415
+ path: {
1416
+ path: string;
1417
+ };
1418
+ cookie?: never;
1419
+ };
1420
+ requestBody?: never;
1421
+ responses: {
1422
+ /** @description Successful Response */
1423
+ 204: {
1424
+ headers: {
1425
+ [name: string]: unknown;
1426
+ };
1427
+ content?: never;
1428
+ };
1429
+ /** @description Validation Error */
1430
+ 422: {
1431
+ headers: {
1432
+ [name: string]: unknown;
1433
+ };
1434
+ content: {
1435
+ "application/json": components["schemas"]["HTTPValidationError"];
1436
+ };
1437
+ };
1438
+ };
1439
+ };
1440
+ rename_path_contents_api_contents__path__patch: {
1441
+ parameters: {
1442
+ query?: never;
1443
+ header?: never;
1444
+ path: {
1445
+ path: string;
1446
+ };
1447
+ cookie?: never;
1448
+ };
1449
+ requestBody: {
1450
+ content: {
1451
+ "application/json": components["schemas"]["RenameRequest"];
1452
+ };
1453
+ };
1454
+ responses: {
1455
+ /** @description Successful Response */
1456
+ 200: {
1457
+ headers: {
1458
+ [name: string]: unknown;
1459
+ };
1460
+ content: {
1461
+ "application/json": components["schemas"]["ContentsModel-Output"];
1462
+ };
1463
+ };
1464
+ /** @description Validation Error */
1465
+ 422: {
1466
+ headers: {
1467
+ [name: string]: unknown;
1468
+ };
1469
+ content: {
1470
+ "application/json": components["schemas"]["HTTPValidationError"];
1471
+ };
1472
+ };
1473
+ };
1474
+ };
1475
+ lint_workflow_workflows__workflow_path__lint_post: {
1476
+ parameters: {
1477
+ query?: {
1478
+ strict_structure?: boolean;
1479
+ strict_encoding?: boolean;
1480
+ allow?: string[];
1481
+ deny?: string[];
1482
+ };
1483
+ header?: never;
1484
+ path: {
1485
+ workflow_path: string;
1486
+ };
1487
+ cookie?: never;
1488
+ };
1489
+ requestBody?: never;
1490
+ responses: {
1491
+ /** @description Successful Response */
1492
+ 200: {
1493
+ headers: {
1494
+ [name: string]: unknown;
1495
+ };
1496
+ content: {
1497
+ "application/json": components["schemas"]["SingleLintReport"];
1498
+ };
1499
+ };
1500
+ /** @description Validation Error */
1501
+ 422: {
1502
+ headers: {
1503
+ [name: string]: unknown;
1504
+ };
1505
+ content: {
1506
+ "application/json": components["schemas"]["HTTPValidationError"];
1507
+ };
1508
+ };
1509
+ };
1510
+ };
1511
+ }
1512
+ //# sourceMappingURL=api-types.d.ts.map