@elaraai/e3-types 0.0.2-beta.5 → 0.0.2-beta.50

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 (59) hide show
  1. package/README.md +7 -4
  2. package/dist/src/api.d.ts +1111 -0
  3. package/dist/src/api.d.ts.map +1 -0
  4. package/dist/src/api.js +650 -0
  5. package/dist/src/api.js.map +1 -0
  6. package/dist/src/constants.d.ts +12 -0
  7. package/dist/src/constants.d.ts.map +1 -0
  8. package/dist/src/constants.js +12 -0
  9. package/dist/src/constants.js.map +1 -0
  10. package/dist/src/dataflow.d.ts +574 -0
  11. package/dist/src/dataflow.d.ts.map +1 -0
  12. package/dist/src/dataflow.js +366 -0
  13. package/dist/src/dataflow.js.map +1 -0
  14. package/dist/src/dataset-ref.d.ts +86 -0
  15. package/dist/src/dataset-ref.d.ts.map +1 -0
  16. package/dist/src/dataset-ref.js +82 -0
  17. package/dist/src/dataset-ref.js.map +1 -0
  18. package/dist/src/dataset.d.ts +4 -4
  19. package/dist/src/execution.d.ts +29 -21
  20. package/dist/src/execution.d.ts.map +1 -1
  21. package/dist/src/execution.js +8 -0
  22. package/dist/src/execution.js.map +1 -1
  23. package/dist/src/index.d.ts +7 -1
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/index.js +39 -1
  26. package/dist/src/index.js.map +1 -1
  27. package/dist/src/lock.d.ts +85 -0
  28. package/dist/src/lock.d.ts.map +1 -0
  29. package/dist/src/lock.js +71 -0
  30. package/dist/src/lock.js.map +1 -0
  31. package/dist/src/package.d.ts +235 -134
  32. package/dist/src/package.d.ts.map +1 -1
  33. package/dist/src/package.js +53 -23
  34. package/dist/src/package.js.map +1 -1
  35. package/dist/src/structure.d.ts +87 -73
  36. package/dist/src/structure.d.ts.map +1 -1
  37. package/dist/src/structure.js +8 -3
  38. package/dist/src/structure.js.map +1 -1
  39. package/dist/src/task.d.ts +5 -5
  40. package/dist/src/transfer.d.ts +52 -0
  41. package/dist/src/transfer.d.ts.map +1 -0
  42. package/dist/src/transfer.js +49 -0
  43. package/dist/src/transfer.js.map +1 -0
  44. package/dist/src/workspace.d.ts +7 -9
  45. package/dist/src/workspace.d.ts.map +1 -1
  46. package/dist/src/workspace.js +3 -5
  47. package/dist/src/workspace.js.map +1 -1
  48. package/package.json +2 -2
  49. package/src/api.ts +760 -0
  50. package/src/constants.ts +12 -0
  51. package/src/dataflow.ts +427 -0
  52. package/src/dataset-ref.ts +91 -0
  53. package/src/execution.ts +8 -0
  54. package/src/index.ts +183 -0
  55. package/src/lock.ts +90 -0
  56. package/src/package.ts +72 -23
  57. package/src/structure.ts +8 -3
  58. package/src/transfer.ts +56 -0
  59. package/src/workspace.ts +3 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EAER,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAQvB,eAAO,MAAM,0BAA0B;;EAAwC,CAAC;AAChF,eAAO,MAAM,6BAA6B;;EAAwC,CAAC;AACnF,eAAO,MAAM,wBAAwB;;EAAwC,CAAC;AAC9E,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;EAGnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;;EAGnC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;EAA+D,CAAC;AACnG,eAAO,MAAM,uBAAuB;;EAAqC,CAAC;AAC1E,eAAO,MAAM,wBAAwB;;;EAA0D,CAAC;AAChG,eAAO,MAAM,qBAAqB;;EAAmC,CAAC;AACtE,eAAO,MAAM,0BAA0B;;EAAmC,CAAC;AAC3E,eAAO,MAA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M,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,650 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ /**
6
+ * API wire types for e3.
7
+ *
8
+ * These East types define the request/response schemas used by the e3 REST API.
9
+ * They are shared between e3-api-client and e3-api-server.
10
+ *
11
+ * Types that also serve as domain types (PackageImportResultType, DataflowGraphType,
12
+ * DataflowGraphTaskType) are defined in their respective modules and re-exported here.
13
+ *
14
+ * Two types are prefixed with "Api" to avoid name conflicts with domain types
15
+ * that have the same name but different structure:
16
+ * - ApiExecutionStatusType (vs ExecutionStatusType in execution.ts — on-disk task status)
17
+ * - ApiDataflowExecutionStateType (vs DataflowExecutionStateType in dataflow.ts — persistent state)
18
+ */
19
+ import { VariantType, StructType, ArrayType, OptionType, StringType, IntegerType, FloatType, BooleanType, NullType, EastTypeType, } from '@elaraai/east';
20
+ import { StructureType, TreePathType } from './structure.js';
21
+ // =============================================================================
22
+ // Error Types
23
+ // =============================================================================
24
+ export const WorkspaceNotFoundErrorType = StructType({ workspace: StringType });
25
+ export const WorkspaceNotDeployedErrorType = StructType({ workspace: StringType });
26
+ export const WorkspaceExistsErrorType = StructType({ workspace: StringType });
27
+ export const LockHolderType = StructType({
28
+ pid: IntegerType,
29
+ acquiredAt: StringType,
30
+ bootId: OptionType(StringType),
31
+ command: OptionType(StringType),
32
+ });
33
+ export const WorkspaceLockedErrorType = StructType({
34
+ workspace: StringType,
35
+ holder: VariantType({ unknown: NullType, known: LockHolderType }),
36
+ });
37
+ export const PackageNotFoundErrorType = StructType({
38
+ packageName: StringType,
39
+ version: OptionType(StringType),
40
+ });
41
+ export const PackageExistsErrorType = StructType({ packageName: StringType, version: StringType });
42
+ export const PackageInvalidErrorType = StructType({ reason: StringType });
43
+ export const DatasetNotFoundErrorType = StructType({ workspace: StringType, path: StringType });
44
+ export const TaskNotFoundErrorType = StructType({ task: StringType });
45
+ export const ExecutionNotFoundErrorType = StructType({ task: StringType });
46
+ export const ObjectNotFoundErrorType = StructType({ hash: StringType });
47
+ export const DataflowErrorType = StructType({ message: StringType });
48
+ export const PermissionDeniedErrorType = StructType({ path: StringType });
49
+ export const InternalErrorType = StructType({ message: StringType });
50
+ export const RepositoryNotFoundErrorType = StructType({ repo: StringType });
51
+ export const ErrorType = VariantType({
52
+ repository_not_found: RepositoryNotFoundErrorType,
53
+ workspace_not_found: WorkspaceNotFoundErrorType,
54
+ workspace_not_deployed: WorkspaceNotDeployedErrorType,
55
+ workspace_exists: WorkspaceExistsErrorType,
56
+ workspace_locked: WorkspaceLockedErrorType,
57
+ package_not_found: PackageNotFoundErrorType,
58
+ package_exists: PackageExistsErrorType,
59
+ package_invalid: PackageInvalidErrorType,
60
+ dataset_not_found: DatasetNotFoundErrorType,
61
+ task_not_found: TaskNotFoundErrorType,
62
+ execution_not_found: ExecutionNotFoundErrorType,
63
+ object_not_found: ObjectNotFoundErrorType,
64
+ dataflow_error: DataflowErrorType,
65
+ dataflow_aborted: NullType,
66
+ permission_denied: PermissionDeniedErrorType,
67
+ internal: InternalErrorType,
68
+ });
69
+ // =============================================================================
70
+ // Response Wrapper
71
+ // =============================================================================
72
+ export const ResponseType = (successType) => VariantType({
73
+ success: successType,
74
+ error: ErrorType,
75
+ });
76
+ // =============================================================================
77
+ // Repository Types
78
+ // =============================================================================
79
+ /**
80
+ * Repository status information.
81
+ *
82
+ * @property path - Absolute path to the e3 repository directory
83
+ * @property objectCount - Number of content-addressed objects stored
84
+ * @property packageCount - Number of imported packages
85
+ * @property workspaceCount - Number of workspaces
86
+ */
87
+ export const RepositoryStatusType = StructType({
88
+ path: StringType,
89
+ objectCount: IntegerType,
90
+ packageCount: IntegerType,
91
+ workspaceCount: IntegerType,
92
+ });
93
+ /**
94
+ * Garbage collection request options.
95
+ *
96
+ * @property dryRun - If true, report what would be deleted without deleting
97
+ * @property minAge - Minimum age in milliseconds for objects to be considered for deletion
98
+ */
99
+ export const GcRequestType = StructType({
100
+ dryRun: BooleanType,
101
+ minAge: OptionType(IntegerType),
102
+ });
103
+ /**
104
+ * Garbage collection result.
105
+ *
106
+ * @property deletedObjects - Number of unreferenced objects deleted
107
+ * @property deletedPartials - Number of incomplete uploads deleted
108
+ * @property retainedObjects - Number of objects still referenced
109
+ * @property skippedYoung - Number of objects skipped due to minAge
110
+ * @property bytesFreed - Total bytes freed by deletion
111
+ */
112
+ export const GcResultType = StructType({
113
+ deletedObjects: IntegerType,
114
+ deletedPartials: IntegerType,
115
+ retainedObjects: IntegerType,
116
+ skippedYoung: IntegerType,
117
+ bytesFreed: IntegerType,
118
+ });
119
+ // =============================================================================
120
+ // Async Operation Types
121
+ // =============================================================================
122
+ /**
123
+ * Status of an async operation.
124
+ *
125
+ * - `running`: Operation is in progress
126
+ * - `succeeded`: Operation completed successfully
127
+ * - `failed`: Operation failed with an error
128
+ */
129
+ export const AsyncOperationStatusType = VariantType({
130
+ running: NullType,
131
+ succeeded: NullType,
132
+ failed: NullType,
133
+ });
134
+ /**
135
+ * Result of starting an async GC operation.
136
+ *
137
+ * @property executionId - Unique identifier for this GC execution (UUID locally, Step Function ARN in cloud)
138
+ */
139
+ export const GcStartResultType = StructType({
140
+ executionId: StringType,
141
+ });
142
+ /**
143
+ * Status of an async GC operation.
144
+ *
145
+ * @property status - Current execution status
146
+ * @property stats - GC statistics (available when succeeded)
147
+ * @property error - Error message (available when failed)
148
+ */
149
+ export const GcStatusResultType = StructType({
150
+ status: AsyncOperationStatusType,
151
+ stats: OptionType(GcResultType),
152
+ error: OptionType(StringType),
153
+ });
154
+ // =============================================================================
155
+ // Package Types
156
+ // =============================================================================
157
+ /**
158
+ * Package list item (summary info).
159
+ *
160
+ * @property name - Package name
161
+ * @property version - Semantic version string
162
+ */
163
+ export const PackageListItemType = StructType({
164
+ name: StringType,
165
+ version: StringType,
166
+ });
167
+ /**
168
+ * Basic package info.
169
+ *
170
+ * @property name - Package name
171
+ * @property version - Semantic version string
172
+ * @property hash - SHA256 content hash
173
+ */
174
+ export const PackageInfoType = StructType({
175
+ name: StringType,
176
+ version: StringType,
177
+ hash: StringType,
178
+ });
179
+ /**
180
+ * Detailed package information including structure.
181
+ *
182
+ * @property name - Package name
183
+ * @property version - Semantic version string
184
+ * @property hash - SHA256 content hash
185
+ * @property tasks - List of task names defined in the package
186
+ * @property dataStructure - East structure type describing the package's data schema
187
+ */
188
+ export const PackageDetailsType = StructType({
189
+ name: StringType,
190
+ version: StringType,
191
+ hash: StringType,
192
+ tasks: ArrayType(StringType),
193
+ dataStructure: StructureType,
194
+ });
195
+ // =============================================================================
196
+ // Workspace Types
197
+ // =============================================================================
198
+ /**
199
+ * Request to create a new workspace.
200
+ *
201
+ * @property name - Unique workspace name
202
+ */
203
+ export const WorkspaceCreateRequestType = StructType({
204
+ name: StringType,
205
+ });
206
+ /**
207
+ * Workspace summary information.
208
+ *
209
+ * @property name - Workspace name
210
+ * @property deployed - Whether a package is deployed to this workspace
211
+ * @property packageName - Name of deployed package (if deployed)
212
+ * @property packageVersion - Version of deployed package (if deployed)
213
+ */
214
+ export const WorkspaceInfoType = StructType({
215
+ name: StringType,
216
+ deployed: BooleanType,
217
+ packageName: OptionType(StringType),
218
+ packageVersion: OptionType(StringType),
219
+ });
220
+ /**
221
+ * Request to deploy a package to a workspace.
222
+ *
223
+ * @property packageRef - Package reference in format "name" or "name@version"
224
+ */
225
+ export const WorkspaceDeployRequestType = StructType({
226
+ packageRef: StringType,
227
+ });
228
+ /**
229
+ * Workspace export request body.
230
+ *
231
+ * @property name - Optional custom package name
232
+ * @property version - Optional custom version
233
+ */
234
+ export const WorkspaceExportRequestType = StructType({
235
+ name: OptionType(StringType),
236
+ version: OptionType(StringType),
237
+ });
238
+ // =============================================================================
239
+ // Workspace Status Types
240
+ // =============================================================================
241
+ /**
242
+ * Dataset status variant.
243
+ *
244
+ * - `unset`: No value assigned to this dataset
245
+ * - `stale`: Value exists but is outdated (upstream changed)
246
+ * - `up-to-date`: Value is current
247
+ */
248
+ export const DatasetStatusType = VariantType({
249
+ unset: NullType,
250
+ stale: NullType,
251
+ 'up-to-date': NullType,
252
+ });
253
+ /** Task completed successfully. @property cached - True if result was from cache */
254
+ export const TaskStatusUpToDateType = StructType({ cached: BooleanType });
255
+ /** Task waiting on dependencies. @property reason - Human-readable wait reason */
256
+ export const TaskStatusWaitingType = StructType({ reason: StringType });
257
+ /** Task currently executing. */
258
+ export const TaskStatusInProgressType = StructType({
259
+ /** Process ID of the running task */
260
+ pid: OptionType(IntegerType),
261
+ /** ISO timestamp when execution started */
262
+ startedAt: OptionType(StringType),
263
+ });
264
+ /** Task exited with non-zero code. */
265
+ export const TaskStatusFailedType = StructType({
266
+ /** Process exit code */
267
+ exitCode: IntegerType,
268
+ /** ISO timestamp when task completed */
269
+ completedAt: OptionType(StringType),
270
+ });
271
+ /** Task encountered an internal error. */
272
+ export const TaskStatusErrorType = StructType({
273
+ /** Error message */
274
+ message: StringType,
275
+ /** ISO timestamp when error occurred */
276
+ completedAt: OptionType(StringType),
277
+ });
278
+ /** Task was running but process is no longer alive. */
279
+ export const TaskStatusStaleRunningType = StructType({
280
+ /** Last known process ID */
281
+ pid: OptionType(IntegerType),
282
+ /** ISO timestamp when execution started */
283
+ startedAt: OptionType(StringType),
284
+ });
285
+ /**
286
+ * Task execution status variant.
287
+ *
288
+ * - `up-to-date`: Task completed successfully (cached indicates if from cache)
289
+ * - `ready`: Task is ready to run (all inputs available)
290
+ * - `waiting`: Task waiting on upstream dependencies
291
+ * - `in-progress`: Task currently executing
292
+ * - `failed`: Task exited with non-zero exit code
293
+ * - `error`: Internal error during task execution
294
+ * - `stale-running`: Task was marked running but process died
295
+ */
296
+ export const TaskStatusType = VariantType({
297
+ 'up-to-date': TaskStatusUpToDateType,
298
+ ready: NullType,
299
+ waiting: TaskStatusWaitingType,
300
+ 'in-progress': TaskStatusInProgressType,
301
+ failed: TaskStatusFailedType,
302
+ error: TaskStatusErrorType,
303
+ 'stale-running': TaskStatusStaleRunningType,
304
+ });
305
+ /**
306
+ * Status information for a single dataset.
307
+ *
308
+ * @property path - Dataset path (e.g., ".inputs.config" or ".tasks.foo.output")
309
+ * @property status - Current status (unset, stale, or up-to-date)
310
+ * @property hash - SHA256 hash of current value (if set)
311
+ * @property isTaskOutput - True if this dataset is produced by a task
312
+ * @property producedBy - Name of task that produces this dataset (if isTaskOutput)
313
+ */
314
+ export const DatasetStatusInfoType = StructType({
315
+ path: StringType,
316
+ status: DatasetStatusType,
317
+ hash: OptionType(StringType),
318
+ isTaskOutput: BooleanType,
319
+ producedBy: OptionType(StringType),
320
+ });
321
+ /**
322
+ * Status information for a single task.
323
+ *
324
+ * @property name - Task name
325
+ * @property hash - Task definition hash (changes when task code changes)
326
+ * @property status - Current execution status
327
+ * @property inputs - Dataset paths this task reads from
328
+ * @property output - Dataset path this task writes to
329
+ * @property dependsOn - Names of tasks that must complete before this one
330
+ */
331
+ export const TaskStatusInfoType = StructType({
332
+ name: StringType,
333
+ hash: StringType,
334
+ status: TaskStatusType,
335
+ inputs: ArrayType(StringType),
336
+ output: StringType,
337
+ dependsOn: ArrayType(StringType),
338
+ });
339
+ /**
340
+ * Summary counts for workspace status.
341
+ */
342
+ export const WorkspaceStatusSummaryType = StructType({
343
+ /** Dataset status counts */
344
+ datasets: StructType({
345
+ total: IntegerType,
346
+ unset: IntegerType,
347
+ stale: IntegerType,
348
+ upToDate: IntegerType,
349
+ }),
350
+ /** Task status counts */
351
+ tasks: StructType({
352
+ total: IntegerType,
353
+ upToDate: IntegerType,
354
+ ready: IntegerType,
355
+ waiting: IntegerType,
356
+ inProgress: IntegerType,
357
+ failed: IntegerType,
358
+ error: IntegerType,
359
+ staleRunning: IntegerType,
360
+ }),
361
+ });
362
+ /**
363
+ * Complete workspace status including all datasets, tasks, and summary.
364
+ *
365
+ * @property workspace - Workspace name
366
+ * @property lock - Information about current lock holder (if locked)
367
+ * @property datasets - Status of all datasets in the workspace
368
+ * @property tasks - Status of all tasks in the workspace
369
+ * @property summary - Aggregated counts by status
370
+ */
371
+ export const WorkspaceStatusResultType = StructType({
372
+ workspace: StringType,
373
+ lock: OptionType(LockHolderType),
374
+ datasets: ArrayType(DatasetStatusInfoType),
375
+ tasks: ArrayType(TaskStatusInfoType),
376
+ summary: WorkspaceStatusSummaryType,
377
+ });
378
+ // =============================================================================
379
+ // Task Types
380
+ // =============================================================================
381
+ /**
382
+ * Task list item (summary info).
383
+ *
384
+ * @property name - Task name
385
+ * @property hash - Task definition hash
386
+ */
387
+ export const TaskListItemType = StructType({
388
+ name: StringType,
389
+ hash: StringType,
390
+ });
391
+ /**
392
+ * Detailed task information.
393
+ *
394
+ * @property name - Task name
395
+ * @property hash - Task definition hash
396
+ * @property commandIr - East IR for the task's command
397
+ * @property inputs - Tree paths for task inputs
398
+ * @property output - Tree path for task output
399
+ */
400
+ export const TaskDetailsType = StructType({
401
+ name: StringType,
402
+ hash: StringType,
403
+ commandIr: StringType,
404
+ inputs: ArrayType(TreePathType),
405
+ output: TreePathType,
406
+ });
407
+ // =============================================================================
408
+ // Execution Types
409
+ // =============================================================================
410
+ /**
411
+ * Request to start dataflow execution.
412
+ *
413
+ * @property concurrency - Maximum parallel tasks (default: 4)
414
+ * @property force - Force re-execution of all tasks
415
+ * @property filter - Filter to specific task names (glob pattern)
416
+ */
417
+ export const DataflowRequestType = StructType({
418
+ concurrency: OptionType(IntegerType),
419
+ force: BooleanType,
420
+ filter: OptionType(StringType),
421
+ });
422
+ /**
423
+ * Chunk of log data from task execution.
424
+ *
425
+ * @property data - Log content (UTF-8 text)
426
+ * @property offset - Byte offset from start of log
427
+ * @property size - Size of this chunk in bytes
428
+ * @property totalSize - Total size of the log file
429
+ * @property complete - True if this chunk reaches end of file
430
+ */
431
+ export const LogChunkType = StructType({
432
+ data: StringType,
433
+ offset: IntegerType,
434
+ size: IntegerType,
435
+ totalSize: IntegerType,
436
+ complete: BooleanType,
437
+ });
438
+ /**
439
+ * Result of executing a single task.
440
+ *
441
+ * @property name - Task name
442
+ * @property cached - True if result was retrieved from cache
443
+ * @property state - Execution outcome (success, failed, error, skipped)
444
+ * @property duration - Execution time in seconds
445
+ */
446
+ export const TaskExecutionResultType = StructType({
447
+ name: StringType,
448
+ cached: BooleanType,
449
+ state: VariantType({
450
+ success: NullType,
451
+ failed: StructType({ exitCode: IntegerType }),
452
+ error: StructType({ message: StringType }),
453
+ skipped: NullType,
454
+ }),
455
+ duration: FloatType,
456
+ });
457
+ /**
458
+ * Result of dataflow execution.
459
+ *
460
+ * @property success - True if all tasks completed successfully
461
+ * @property executed - Number of tasks that were executed
462
+ * @property cached - Number of tasks that used cached results
463
+ * @property failed - Number of tasks that failed
464
+ * @property skipped - Number of tasks that were skipped
465
+ * @property tasks - Per-task execution results
466
+ * @property duration - Total execution time in seconds
467
+ */
468
+ export const DataflowResultType = StructType({
469
+ success: BooleanType,
470
+ executed: IntegerType,
471
+ cached: IntegerType,
472
+ failed: IntegerType,
473
+ skipped: IntegerType,
474
+ tasks: ArrayType(TaskExecutionResultType),
475
+ duration: FloatType,
476
+ });
477
+ // =============================================================================
478
+ // Dataflow Execution State Types (for API polling)
479
+ // =============================================================================
480
+ /**
481
+ * Dataflow event types for API polling.
482
+ *
483
+ * - `start`: Task started executing
484
+ * - `complete`: Task executed and succeeded
485
+ * - `cached`: Task result retrieved from cache (no execution)
486
+ * - `failed`: Task exited with non-zero code
487
+ * - `error`: Internal error during task execution
488
+ * - `input_unavailable`: Task couldn't run because inputs not available
489
+ */
490
+ export const DataflowEventType = VariantType({
491
+ start: StructType({
492
+ task: StringType,
493
+ timestamp: StringType,
494
+ }),
495
+ complete: StructType({
496
+ task: StringType,
497
+ timestamp: StringType,
498
+ duration: FloatType,
499
+ }),
500
+ cached: StructType({
501
+ task: StringType,
502
+ timestamp: StringType,
503
+ }),
504
+ failed: StructType({
505
+ task: StringType,
506
+ timestamp: StringType,
507
+ duration: FloatType,
508
+ exitCode: IntegerType,
509
+ }),
510
+ error: StructType({
511
+ task: StringType,
512
+ timestamp: StringType,
513
+ message: StringType,
514
+ }),
515
+ input_unavailable: StructType({
516
+ task: StringType,
517
+ timestamp: StringType,
518
+ reason: StringType,
519
+ }),
520
+ });
521
+ /**
522
+ * Execution status for API polling responses.
523
+ *
524
+ * - `running`: Execution is in progress
525
+ * - `completed`: Execution finished successfully
526
+ * - `failed`: Execution finished with failures
527
+ * - `aborted`: Execution was cancelled
528
+ *
529
+ * Note: Named "Api*" to distinguish from the on-disk ExecutionStatusType
530
+ * in execution.ts which tracks individual task execution states.
531
+ */
532
+ export const ApiExecutionStatusType = VariantType({
533
+ running: NullType,
534
+ completed: NullType,
535
+ failed: NullType,
536
+ aborted: NullType,
537
+ });
538
+ /**
539
+ * Summary of dataflow execution results.
540
+ */
541
+ export const DataflowExecutionSummaryType = StructType({
542
+ executed: IntegerType,
543
+ cached: IntegerType,
544
+ failed: IntegerType,
545
+ skipped: IntegerType,
546
+ duration: FloatType,
547
+ });
548
+ /**
549
+ * Dataflow execution state returned by API polling.
550
+ *
551
+ * A lightweight view of the execution state for client polling.
552
+ *
553
+ * Note: Named "Api*" to distinguish from the persistent
554
+ * DataflowExecutionStateType in dataflow.ts which stores the full
555
+ * execution state on disk.
556
+ *
557
+ * @property status - Current execution status
558
+ * @property startedAt - ISO timestamp when execution started
559
+ * @property completedAt - ISO timestamp when execution finished (if done)
560
+ * @property summary - Execution summary (available when complete)
561
+ * @property events - Task events (may be paginated via offset/limit)
562
+ * @property totalEvents - Total number of events (for pagination)
563
+ */
564
+ export const ApiDataflowExecutionStateType = StructType({
565
+ status: ApiExecutionStatusType,
566
+ startedAt: StringType,
567
+ completedAt: OptionType(StringType),
568
+ summary: OptionType(DataflowExecutionSummaryType),
569
+ events: ArrayType(DataflowEventType),
570
+ totalEvents: IntegerType,
571
+ });
572
+ // =============================================================================
573
+ // Task Execution History Types
574
+ // =============================================================================
575
+ /**
576
+ * Execution status for history listing.
577
+ */
578
+ export const ExecutionHistoryStatusType = VariantType({
579
+ running: NullType,
580
+ success: NullType,
581
+ failed: NullType,
582
+ error: NullType,
583
+ });
584
+ /**
585
+ * A single execution in task history.
586
+ *
587
+ * @property inputsHash - Hash of concatenated inputs (execution identifier)
588
+ * @property inputHashes - Individual input object hashes
589
+ * @property status - Execution outcome
590
+ * @property startedAt - ISO timestamp when execution started
591
+ * @property completedAt - ISO timestamp when execution finished (if done)
592
+ * @property duration - Execution duration in milliseconds (if done)
593
+ * @property exitCode - Process exit code (if failed)
594
+ */
595
+ export const ExecutionListItemType = StructType({
596
+ inputsHash: StringType,
597
+ inputHashes: ArrayType(StringType),
598
+ status: ExecutionHistoryStatusType,
599
+ startedAt: StringType,
600
+ completedAt: OptionType(StringType),
601
+ duration: OptionType(IntegerType),
602
+ exitCode: OptionType(IntegerType),
603
+ });
604
+ // =============================================================================
605
+ // Dataset List Types (recursive)
606
+ // =============================================================================
607
+ /**
608
+ * Tree branch kind variant.
609
+ *
610
+ * Currently only `struct` branches exist. Future: `dict`, `array`, `variant`.
611
+ */
612
+ export const TreeKindType = VariantType({ struct: NullType });
613
+ /**
614
+ * A list entry -- either a dataset leaf or a tree branch.
615
+ *
616
+ * Used by the `?list=true&status=true` endpoints to return both
617
+ * tree structure entries and dataset leaves in a single flat list.
618
+ */
619
+ export const ListEntryType = VariantType({
620
+ dataset: StructType({
621
+ path: StringType,
622
+ type: EastTypeType,
623
+ hash: OptionType(StringType),
624
+ size: OptionType(IntegerType),
625
+ }),
626
+ tree: StructType({
627
+ path: StringType,
628
+ kind: TreeKindType,
629
+ }),
630
+ });
631
+ // =============================================================================
632
+ // Dataset Status Detail Types (single dataset query)
633
+ // =============================================================================
634
+ /**
635
+ * Detailed status of a single dataset.
636
+ *
637
+ * @property path - Dataset path (e.g., ".inputs.config")
638
+ * @property type - East type of the dataset
639
+ * @property refType - Ref type: "unassigned", "null", or "value"
640
+ * @property hash - Object hash (None if unassigned/null)
641
+ * @property size - Size in bytes (None if unassigned)
642
+ */
643
+ export const DatasetStatusDetailType = StructType({
644
+ path: StringType,
645
+ type: EastTypeType,
646
+ refType: StringType,
647
+ hash: OptionType(StringType),
648
+ size: OptionType(IntegerType),
649
+ });
650
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,GAGb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE7D,gFAAgF;AAChF,cAAc;AACd,gFAAgF;AAEhF,MAAM,CAAC,MAAM,0BAA0B,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACvC,GAAG,EAAE,WAAW;IAChB,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC;IAC9B,OAAO,EAAE,UAAU,CAAC,UAAU,CAAC;CAChC,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD,SAAS,EAAE,UAAU;IACrB,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;CAClE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,wBAAwB,G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