@elaraai/e3-api-server 1.0.78 → 1.0.80

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 (129) hide show
  1. package/README.md +83 -19
  2. package/dist/src/beast2.js +1 -1
  3. package/dist/src/beast2.js.map +1 -1
  4. package/dist/src/cli.js +13 -0
  5. package/dist/src/cli.js.map +1 -1
  6. package/dist/src/errors.d.ts.map +1 -1
  7. package/dist/src/errors.js +8 -1
  8. package/dist/src/errors.js.map +1 -1
  9. package/dist/src/handlers/dataflow.d.ts +58 -11
  10. package/dist/src/handlers/dataflow.d.ts.map +1 -1
  11. package/dist/src/handlers/dataflow.js +120 -48
  12. package/dist/src/handlers/dataflow.js.map +1 -1
  13. package/dist/src/handlers/dataflow.spec.d.ts +6 -0
  14. package/dist/src/handlers/dataflow.spec.d.ts.map +1 -0
  15. package/dist/src/handlers/dataflow.spec.js +106 -0
  16. package/dist/src/handlers/dataflow.spec.js.map +1 -0
  17. package/dist/src/handlers/datasets.d.ts +60 -34
  18. package/dist/src/handlers/datasets.d.ts.map +1 -1
  19. package/dist/src/handlers/datasets.js +452 -306
  20. package/dist/src/handlers/datasets.js.map +1 -1
  21. package/dist/src/handlers/datasets.spec.js +338 -119
  22. package/dist/src/handlers/datasets.spec.js.map +1 -1
  23. package/dist/src/handlers/functions.d.ts.map +1 -1
  24. package/dist/src/handlers/functions.js +10 -8
  25. package/dist/src/handlers/functions.js.map +1 -1
  26. package/dist/src/handlers/functions.spec.js +2 -2
  27. package/dist/src/handlers/functions.spec.js.map +1 -1
  28. package/dist/src/handlers/index.d.ts +2 -2
  29. package/dist/src/handlers/index.d.ts.map +1 -1
  30. package/dist/src/handlers/index.js +2 -2
  31. package/dist/src/handlers/index.js.map +1 -1
  32. package/dist/src/handlers/records.d.ts.map +1 -1
  33. package/dist/src/handlers/records.js +15 -12
  34. package/dist/src/handlers/records.js.map +1 -1
  35. package/dist/src/handlers/records.spec.js +9 -5
  36. package/dist/src/handlers/records.spec.js.map +1 -1
  37. package/dist/src/handlers/repository.d.ts +59 -10
  38. package/dist/src/handlers/repository.d.ts.map +1 -1
  39. package/dist/src/handlers/repository.js +147 -40
  40. package/dist/src/handlers/repository.js.map +1 -1
  41. package/dist/src/handlers/tasks.d.ts +2 -1
  42. package/dist/src/handlers/tasks.d.ts.map +1 -1
  43. package/dist/src/handlers/tasks.js +31 -8
  44. package/dist/src/handlers/tasks.js.map +1 -1
  45. package/dist/src/handlers/tasks.spec.d.ts +6 -0
  46. package/dist/src/handlers/tasks.spec.d.ts.map +1 -0
  47. package/dist/src/handlers/tasks.spec.js +64 -0
  48. package/dist/src/handlers/tasks.spec.js.map +1 -0
  49. package/dist/src/handlers/workspaces.d.ts +44 -6
  50. package/dist/src/handlers/workspaces.d.ts.map +1 -1
  51. package/dist/src/handlers/workspaces.js +74 -40
  52. package/dist/src/handlers/workspaces.js.map +1 -1
  53. package/dist/src/handlers/workspaces.spec.d.ts +6 -0
  54. package/dist/src/handlers/workspaces.spec.d.ts.map +1 -0
  55. package/dist/src/handlers/workspaces.spec.js +164 -0
  56. package/dist/src/handlers/workspaces.spec.js.map +1 -0
  57. package/dist/src/index.d.ts +3 -0
  58. package/dist/src/index.d.ts.map +1 -1
  59. package/dist/src/index.js +7 -0
  60. package/dist/src/index.js.map +1 -1
  61. package/dist/src/local-dataflow.d.ts +14 -0
  62. package/dist/src/local-dataflow.d.ts.map +1 -0
  63. package/dist/src/local-dataflow.js +41 -0
  64. package/dist/src/local-dataflow.js.map +1 -0
  65. package/dist/src/middleware/repository.d.ts +39 -0
  66. package/dist/src/middleware/repository.d.ts.map +1 -0
  67. package/dist/src/middleware/repository.js +77 -0
  68. package/dist/src/middleware/repository.js.map +1 -0
  69. package/dist/src/routes/data.d.ts +2 -2
  70. package/dist/src/routes/data.d.ts.map +1 -1
  71. package/dist/src/routes/data.js +22 -45
  72. package/dist/src/routes/data.js.map +1 -1
  73. package/dist/src/routes/datasets.d.ts +0 -3
  74. package/dist/src/routes/datasets.d.ts.map +1 -1
  75. package/dist/src/routes/datasets.js +40 -8
  76. package/dist/src/routes/datasets.js.map +1 -1
  77. package/dist/src/routes/executions.d.ts +37 -2
  78. package/dist/src/routes/executions.d.ts.map +1 -1
  79. package/dist/src/routes/executions.js +21 -12
  80. package/dist/src/routes/executions.js.map +1 -1
  81. package/dist/src/routes/index.d.ts +2 -1
  82. package/dist/src/routes/index.d.ts.map +1 -1
  83. package/dist/src/routes/index.js +1 -0
  84. package/dist/src/routes/index.js.map +1 -1
  85. package/dist/src/routes/objects.d.ts +16 -2
  86. package/dist/src/routes/objects.d.ts.map +1 -1
  87. package/dist/src/routes/objects.js +34 -3
  88. package/dist/src/routes/objects.js.map +1 -1
  89. package/dist/src/routes/repositories.d.ts +26 -0
  90. package/dist/src/routes/repositories.d.ts.map +1 -0
  91. package/dist/src/routes/repositories.js +58 -0
  92. package/dist/src/routes/repositories.js.map +1 -0
  93. package/dist/src/routes/repositories.spec.d.ts +6 -0
  94. package/dist/src/routes/repositories.spec.d.ts.map +1 -0
  95. package/dist/src/routes/repositories.spec.js +77 -0
  96. package/dist/src/routes/repositories.spec.js.map +1 -0
  97. package/dist/src/routes/repository.d.ts +12 -2
  98. package/dist/src/routes/repository.d.ts.map +1 -1
  99. package/dist/src/routes/repository.js +24 -9
  100. package/dist/src/routes/repository.js.map +1 -1
  101. package/dist/src/routes/transfer.d.ts +11 -9
  102. package/dist/src/routes/transfer.d.ts.map +1 -1
  103. package/dist/src/routes/transfer.js +90 -115
  104. package/dist/src/routes/transfer.js.map +1 -1
  105. package/dist/src/routes/workspaces.d.ts +14 -1
  106. package/dist/src/routes/workspaces.d.ts.map +1 -1
  107. package/dist/src/routes/workspaces.js +57 -46
  108. package/dist/src/routes/workspaces.js.map +1 -1
  109. package/dist/src/server.d.ts +18 -6
  110. package/dist/src/server.d.ts.map +1 -1
  111. package/dist/src/server.js +55 -182
  112. package/dist/src/server.js.map +1 -1
  113. package/dist/src/server.spec.d.ts +6 -0
  114. package/dist/src/server.spec.d.ts.map +1 -0
  115. package/dist/src/server.spec.js +59 -0
  116. package/dist/src/server.spec.js.map +1 -0
  117. package/dist/src/types.d.ts +200 -16
  118. package/dist/src/types.d.ts.map +1 -1
  119. package/dist/src/types.js +5 -2
  120. package/dist/src/types.js.map +1 -1
  121. package/package.json +5 -5
  122. package/dist/src/async-operation-state.d.ts +0 -37
  123. package/dist/src/async-operation-state.d.ts.map +0 -1
  124. package/dist/src/async-operation-state.js +0 -118
  125. package/dist/src/async-operation-state.js.map +0 -1
  126. package/dist/src/orchestrator-manager.d.ts +0 -45
  127. package/dist/src/orchestrator-manager.d.ts.map +0 -1
  128. package/dist/src/orchestrator-manager.js +0 -150
  129. package/dist/src/orchestrator-manager.js.map +0 -1
@@ -9,8 +9,8 @@
9
9
  * Types with "Api" prefix in e3-types are re-exported here with shorter names
10
10
  * since API consumers don't see the conflicting domain types.
11
11
  */
12
- export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, PackageTransferInitRequestType, PackageTransferInitResponseType, PackageJobResponseType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType, DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
13
- export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferPartResponse, TransferDoneResponse, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature, OneShotRequest, MutationCallRequest, MutationResult, RecordSignature, RecordCommitInfo, RecordHistoryResult, DataflowGraph, DataflowGraphTask, } from '@elaraai/e3-types';
12
+ export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, PackageTransferInitRequestType, PackageTransferInitResponseType, PackageJobResponseType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType, DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
13
+ export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, DataflowBudget, UnitWait, SplitProgress, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferPartResponse, TransferDoneResponse, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature, OneShotRequest, MutationCallRequest, MutationResult, RecordSignature, RecordCommitInfo, RecordHistoryResult, DataflowGraph, DataflowGraphTask, } from '@elaraai/e3-types';
14
14
  export declare const ApiTypes: {
15
15
  readonly ErrorType: import("@elaraai/east").VariantType<{
16
16
  readonly repository_not_found: import("@elaraai/east").StructType<{
@@ -76,6 +76,11 @@ export declare const ApiTypes: {
76
76
  readonly path: import("@elaraai/east").StringType;
77
77
  readonly message: import("@elaraai/east").StringType;
78
78
  }>;
79
+ readonly invalid_name: import("@elaraai/east").StructType<{
80
+ readonly kind: import("@elaraai/east").StringType;
81
+ readonly name: import("@elaraai/east").StringType;
82
+ readonly message: import("@elaraai/east").StringType;
83
+ }>;
79
84
  }>;
80
85
  readonly RepositoryNotFoundErrorType: import("@elaraai/east").StructType<{
81
86
  readonly repo: import("@elaraai/east").StringType;
@@ -206,6 +211,11 @@ export declare const ApiTypes: {
206
211
  readonly path: import("@elaraai/east").StringType;
207
212
  readonly message: import("@elaraai/east").StringType;
208
213
  }>;
214
+ readonly invalid_name: import("@elaraai/east").StructType<{
215
+ readonly kind: import("@elaraai/east").StringType;
216
+ readonly name: import("@elaraai/east").StringType;
217
+ readonly message: import("@elaraai/east").StringType;
218
+ }>;
209
219
  }>;
210
220
  }>;
211
221
  readonly RepositoryStatusType: import("@elaraai/east").StructType<{
@@ -217,6 +227,8 @@ export declare const ApiTypes: {
217
227
  readonly GcRequestType: import("@elaraai/east").StructType<{
218
228
  readonly dryRun: import("@elaraai/east").BooleanType;
219
229
  readonly minAge: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
230
+ readonly keepRuns: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
231
+ readonly keepDays: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
220
232
  }>;
221
233
  readonly GcResultType: import("@elaraai/east").StructType<{
222
234
  readonly deletedObjects: import("@elaraai/east").IntegerType;
@@ -224,6 +236,8 @@ export declare const ApiTypes: {
224
236
  readonly retainedObjects: import("@elaraai/east").IntegerType;
225
237
  readonly skippedYoung: import("@elaraai/east").IntegerType;
226
238
  readonly bytesFreed: import("@elaraai/east").IntegerType;
239
+ readonly deletedRuns: import("@elaraai/east").IntegerType;
240
+ readonly deletedExecutions: import("@elaraai/east").IntegerType;
227
241
  }>;
228
242
  readonly AsyncOperationStatusType: import("@elaraai/east").VariantType<{
229
243
  readonly running: import("@elaraai/east").NullType;
@@ -245,6 +259,8 @@ export declare const ApiTypes: {
245
259
  readonly retainedObjects: import("@elaraai/east").IntegerType;
246
260
  readonly skippedYoung: import("@elaraai/east").IntegerType;
247
261
  readonly bytesFreed: import("@elaraai/east").IntegerType;
262
+ readonly deletedRuns: import("@elaraai/east").IntegerType;
263
+ readonly deletedExecutions: import("@elaraai/east").IntegerType;
248
264
  }>>;
249
265
  readonly error: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
250
266
  }>;
@@ -328,6 +344,13 @@ export declare const ApiTypes: {
328
344
  }>;
329
345
  readonly WorkspaceDeployRequestType: import("@elaraai/east").StructType<{
330
346
  readonly packageRef: import("@elaraai/east").StringType;
347
+ readonly schema: import("@elaraai/east").VariantType<{
348
+ readonly migrate: import("@elaraai/east").NullType;
349
+ readonly fail: import("@elaraai/east").NullType;
350
+ readonly reset: import("@elaraai/east").NullType;
351
+ }>;
352
+ readonly allowDropRecords: import("@elaraai/east").BooleanType;
353
+ readonly plan: import("@elaraai/east").BooleanType;
331
354
  }>;
332
355
  readonly WorkspaceExportRequestType: import("@elaraai/east").StructType<{
333
356
  readonly name: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
@@ -427,6 +450,7 @@ export declare const ApiTypes: {
427
450
  readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
428
451
  readonly output: import("@elaraai/east").StringType;
429
452
  readonly dependsOn: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
453
+ readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
430
454
  }>;
431
455
  readonly WorkspaceStatusSummaryType: import("@elaraai/east").StructType<{
432
456
  readonly datasets: import("@elaraai/east").StructType<{
@@ -496,6 +520,7 @@ export declare const ApiTypes: {
496
520
  readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
497
521
  readonly output: import("@elaraai/east").StringType;
498
522
  readonly dependsOn: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
523
+ readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
499
524
  }>>;
500
525
  readonly summary: import("@elaraai/east").StructType<{
501
526
  readonly datasets: import("@elaraai/east").StructType<{
@@ -519,23 +544,85 @@ export declare const ApiTypes: {
519
544
  readonly TaskListItemType: import("@elaraai/east").StructType<{
520
545
  readonly name: import("@elaraai/east").StringType;
521
546
  readonly hash: import("@elaraai/east").StringType;
522
- readonly kind: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
547
+ readonly role: import("@elaraai/east").VariantType<{
548
+ readonly data: import("@elaraai/east").NullType;
549
+ readonly ui: import("@elaraai/east").StructType<{
550
+ readonly paths: import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
551
+ readonly field: import("@elaraai/east").StringType;
552
+ }>>>;
553
+ readonly functions: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
554
+ readonly records: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
555
+ readonly pages: import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
556
+ readonly field: import("@elaraai/east").StringType;
557
+ }>>>;
558
+ }>;
559
+ }>;
523
560
  }>;
524
561
  readonly TaskDetailsType: import("@elaraai/east").StructType<{
525
562
  readonly name: import("@elaraai/east").StringType;
526
563
  readonly hash: import("@elaraai/east").StringType;
527
- readonly commandIr: import("@elaraai/east").StringType;
528
- readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
529
- readonly field: import("@elaraai/east").StringType;
530
- }>>>;
531
- readonly output: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
532
- readonly field: import("@elaraai/east").StringType;
564
+ readonly body: import("@elaraai/east").VariantType<{
565
+ readonly east: import("@elaraai/east").StructType<{
566
+ readonly program: import("@elaraai/east").StringType;
567
+ }>;
568
+ readonly command: import("@elaraai/east").StructType<{
569
+ readonly commandIr: import("@elaraai/east").StringType;
570
+ }>;
571
+ }>;
572
+ readonly runner: import("@elaraai/east").VariantType<{
573
+ readonly east_node: import("@elaraai/east").StructType<{
574
+ readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
575
+ }>;
576
+ readonly east_py: import("@elaraai/east").StructType<{
577
+ readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
578
+ }>;
579
+ readonly east_c: import("@elaraai/east").StructType<{
580
+ readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
581
+ }>;
582
+ readonly custom: import("@elaraai/east").StructType<{
583
+ readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
584
+ }>;
585
+ }>;
586
+ readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
587
+ readonly path: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
588
+ readonly field: import("@elaraai/east").StringType;
589
+ }>>;
590
+ readonly partition: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
591
+ readonly by: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
592
+ }>>;
533
593
  }>>;
534
- readonly kind: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
535
- readonly metadata: import("@elaraai/east").OptionType<import("@elaraai/east").BlobType>;
594
+ readonly output: import("@elaraai/east").StructType<{
595
+ readonly path: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
596
+ readonly field: import("@elaraai/east").StringType;
597
+ }>>;
598
+ readonly kind: import("@elaraai/east").VariantType<{
599
+ readonly value: import("@elaraai/east").NullType;
600
+ readonly array: import("@elaraai/east").NullType;
601
+ readonly set: import("@elaraai/east").NullType;
602
+ readonly dict: import("@elaraai/east").StructType<{
603
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
604
+ }>;
605
+ readonly fold: import("@elaraai/east").StructType<{
606
+ readonly zero: import("@elaraai/east").StringType;
607
+ readonly combine: import("@elaraai/east").StringType;
608
+ }>;
609
+ }>;
610
+ }>;
611
+ readonly role: import("@elaraai/east").VariantType<{
612
+ readonly data: import("@elaraai/east").NullType;
613
+ readonly ui: import("@elaraai/east").StructType<{
614
+ readonly paths: import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
615
+ readonly field: import("@elaraai/east").StringType;
616
+ }>>>;
617
+ readonly functions: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
618
+ readonly records: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
619
+ readonly pages: import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
620
+ readonly field: import("@elaraai/east").StringType;
621
+ }>>>;
622
+ }>;
623
+ }>;
536
624
  }>;
537
625
  readonly DataflowRequestType: import("@elaraai/east").StructType<{
538
- readonly concurrency: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
539
626
  readonly force: import("@elaraai/east").BooleanType;
540
627
  readonly filter: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
541
628
  }>;
@@ -609,6 +696,7 @@ export declare const ApiTypes: {
609
696
  readonly task: import("@elaraai/east").StringType;
610
697
  readonly timestamp: import("@elaraai/east").StringType;
611
698
  readonly duration: import("@elaraai/east").FloatType;
699
+ readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
612
700
  }>;
613
701
  readonly cached: import("@elaraai/east").StructType<{
614
702
  readonly task: import("@elaraai/east").StringType;
@@ -630,6 +718,25 @@ export declare const ApiTypes: {
630
718
  readonly timestamp: import("@elaraai/east").StringType;
631
719
  readonly reason: import("@elaraai/east").StringType;
632
720
  }>;
721
+ readonly requeued: import("@elaraai/east").StructType<{
722
+ readonly task: import("@elaraai/east").StringType;
723
+ readonly timestamp: import("@elaraai/east").StringType;
724
+ readonly unit: import("@elaraai/east").StructType<{
725
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
726
+ readonly level: import("@elaraai/east").IntegerType;
727
+ readonly levels: import("@elaraai/east").IntegerType;
728
+ }>>;
729
+ readonly index: import("@elaraai/east").IntegerType;
730
+ readonly units: import("@elaraai/east").IntegerType;
731
+ }>;
732
+ readonly reason: import("@elaraai/east").VariantType<{
733
+ readonly budget: import("@elaraai/east").NullType;
734
+ readonly machine: import("@elaraai/east").NullType;
735
+ readonly cap: import("@elaraai/east").NullType;
736
+ }>;
737
+ readonly peak: import("@elaraai/east").IntegerType;
738
+ readonly reserves: import("@elaraai/east").IntegerType;
739
+ }>;
633
740
  }>;
634
741
  readonly ExecutionStatusType: import("@elaraai/east").VariantType<{
635
742
  readonly running: import("@elaraai/east").NullType;
@@ -644,6 +751,34 @@ export declare const ApiTypes: {
644
751
  readonly skipped: import("@elaraai/east").IntegerType;
645
752
  readonly duration: import("@elaraai/east").FloatType;
646
753
  }>;
754
+ readonly DataflowBudgetType: import("@elaraai/east").StructType<{
755
+ readonly cores: import("@elaraai/east").IntegerType;
756
+ readonly memory: import("@elaraai/east").IntegerType;
757
+ readonly coresInUse: import("@elaraai/east").IntegerType;
758
+ readonly memoryInUse: import("@elaraai/east").IntegerType;
759
+ }>;
760
+ readonly UnitWaitType: import("@elaraai/east").StructType<{
761
+ readonly task: import("@elaraai/east").StringType;
762
+ readonly unit: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
763
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
764
+ readonly level: import("@elaraai/east").IntegerType;
765
+ readonly levels: import("@elaraai/east").IntegerType;
766
+ }>>;
767
+ readonly index: import("@elaraai/east").IntegerType;
768
+ readonly units: import("@elaraai/east").IntegerType;
769
+ }>>;
770
+ readonly needs: import("@elaraai/east").IntegerType;
771
+ readonly since: import("@elaraai/east").StringType;
772
+ }>;
773
+ readonly SplitProgressType: import("@elaraai/east").StructType<{
774
+ readonly task: import("@elaraai/east").StringType;
775
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
776
+ readonly level: import("@elaraai/east").IntegerType;
777
+ readonly levels: import("@elaraai/east").IntegerType;
778
+ }>>;
779
+ readonly done: import("@elaraai/east").IntegerType;
780
+ readonly units: import("@elaraai/east").IntegerType;
781
+ }>;
647
782
  readonly DataflowExecutionStateType: import("@elaraai/east").StructType<{
648
783
  readonly status: import("@elaraai/east").VariantType<{
649
784
  readonly running: import("@elaraai/east").NullType;
@@ -669,6 +804,7 @@ export declare const ApiTypes: {
669
804
  readonly task: import("@elaraai/east").StringType;
670
805
  readonly timestamp: import("@elaraai/east").StringType;
671
806
  readonly duration: import("@elaraai/east").FloatType;
807
+ readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
672
808
  }>;
673
809
  readonly cached: import("@elaraai/east").StructType<{
674
810
  readonly task: import("@elaraai/east").StringType;
@@ -690,14 +826,63 @@ export declare const ApiTypes: {
690
826
  readonly timestamp: import("@elaraai/east").StringType;
691
827
  readonly reason: import("@elaraai/east").StringType;
692
828
  }>;
829
+ readonly requeued: import("@elaraai/east").StructType<{
830
+ readonly task: import("@elaraai/east").StringType;
831
+ readonly timestamp: import("@elaraai/east").StringType;
832
+ readonly unit: import("@elaraai/east").StructType<{
833
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
834
+ readonly level: import("@elaraai/east").IntegerType;
835
+ readonly levels: import("@elaraai/east").IntegerType;
836
+ }>>;
837
+ readonly index: import("@elaraai/east").IntegerType;
838
+ readonly units: import("@elaraai/east").IntegerType;
839
+ }>;
840
+ readonly reason: import("@elaraai/east").VariantType<{
841
+ readonly budget: import("@elaraai/east").NullType;
842
+ readonly machine: import("@elaraai/east").NullType;
843
+ readonly cap: import("@elaraai/east").NullType;
844
+ }>;
845
+ readonly peak: import("@elaraai/east").IntegerType;
846
+ readonly reserves: import("@elaraai/east").IntegerType;
847
+ }>;
693
848
  }>>;
694
849
  readonly totalEvents: import("@elaraai/east").IntegerType;
850
+ readonly budget: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
851
+ readonly cores: import("@elaraai/east").IntegerType;
852
+ readonly memory: import("@elaraai/east").IntegerType;
853
+ readonly coresInUse: import("@elaraai/east").IntegerType;
854
+ readonly memoryInUse: import("@elaraai/east").IntegerType;
855
+ }>>;
856
+ readonly waiting: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
857
+ readonly task: import("@elaraai/east").StringType;
858
+ readonly unit: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
859
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
860
+ readonly level: import("@elaraai/east").IntegerType;
861
+ readonly levels: import("@elaraai/east").IntegerType;
862
+ }>>;
863
+ readonly index: import("@elaraai/east").IntegerType;
864
+ readonly units: import("@elaraai/east").IntegerType;
865
+ }>>;
866
+ readonly needs: import("@elaraai/east").IntegerType;
867
+ readonly since: import("@elaraai/east").StringType;
868
+ }>>;
869
+ readonly splits: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
870
+ readonly task: import("@elaraai/east").StringType;
871
+ readonly merge: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
872
+ readonly level: import("@elaraai/east").IntegerType;
873
+ readonly levels: import("@elaraai/east").IntegerType;
874
+ }>>;
875
+ readonly done: import("@elaraai/east").IntegerType;
876
+ readonly units: import("@elaraai/east").IntegerType;
877
+ }>>;
695
878
  }>;
696
879
  readonly ExecutionHistoryStatusType: import("@elaraai/east").VariantType<{
697
880
  readonly running: import("@elaraai/east").NullType;
698
881
  readonly success: import("@elaraai/east").NullType;
699
882
  readonly failed: import("@elaraai/east").NullType;
700
883
  readonly error: import("@elaraai/east").NullType;
884
+ readonly cancelled: import("@elaraai/east").NullType;
885
+ readonly interrupted: import("@elaraai/east").NullType;
701
886
  }>;
702
887
  readonly ExecutionListItemType: import("@elaraai/east").StructType<{
703
888
  readonly inputsHash: import("@elaraai/east").StringType;
@@ -707,11 +892,14 @@ export declare const ApiTypes: {
707
892
  readonly success: import("@elaraai/east").NullType;
708
893
  readonly failed: import("@elaraai/east").NullType;
709
894
  readonly error: import("@elaraai/east").NullType;
895
+ readonly cancelled: import("@elaraai/east").NullType;
896
+ readonly interrupted: import("@elaraai/east").NullType;
710
897
  }>;
711
898
  readonly startedAt: import("@elaraai/east").StringType;
712
899
  readonly completedAt: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
713
900
  readonly duration: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
714
901
  readonly exitCode: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
902
+ readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
715
903
  }>;
716
904
  readonly TreeKindType: import("@elaraai/east").VariantType<{
717
905
  readonly struct: import("@elaraai/east").NullType;
@@ -827,10 +1015,6 @@ export declare const ApiTypes: {
827
1015
  }>;
828
1016
  readonly TransferUploadResponseType: import("@elaraai/east").VariantType<{
829
1017
  readonly completed: import("@elaraai/east").NullType;
830
- readonly upload: import("@elaraai/east").StructType<{
831
- readonly id: import("@elaraai/east").StringType;
832
- readonly uploadUrl: import("@elaraai/east").StringType;
833
- }>;
834
1018
  readonly upload_parts: import("@elaraai/east").StructType<{
835
1019
  readonly id: import("@elaraai/east").StringType;
836
1020
  readonly partBytes: import("@elaraai/east").IntegerType;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAGH,OAAO,EAEL,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,2BAA2B,EAC3B,SAAS,EACT,YAAY,EAEZ,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAElB,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAElB,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAE1B,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EAEzB,gBAAgB,EAChB,eAAe,EAEf,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAElB,iBAAiB,EACjB,sBAAsB,IAAI,mBAAmB,EAC7C,4BAA4B,EAC5B,6BAA6B,IAAI,0BAA0B,EAE3D,0BAA0B,EAC1B,qBAAqB,EAErB,YAAY,EACZ,aAAa,EAEb,uBAAuB,EAEvB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,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flowResultType,
28
28
  // Dataflow API polling
29
- DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType as DataflowExecutionStateType,
29
+ DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType as DataflowExecutionStateType,
30
30
  // Task Execution History
31
31
  ExecutionHistoryStatusType, ExecutionListItemType,
32
32
  // Dataset List
@@ -42,7 +42,7 @@ DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
42
42
  // =============================================================================
43
43
  // Namespace export for convenience
44
44
  // =============================================================================
45
- import { ErrorType, RepositoryNotFoundErrorType, WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, WorkspaceLockedErrorType, LockHolderType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, PackageTransferInitRequestType, PackageTransferInitResponseType, PackageJobResponseType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType, OneShotRequestType as _OneShotRequestType, } from '@elaraai/e3-types';
45
+ import { ErrorType, RepositoryNotFoundErrorType, WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, WorkspaceLockedErrorType, LockHolderType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, PackageTransferInitRequestType, PackageTransferInitResponseType, PackageJobResponseType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType, OneShotRequestType as _OneShotRequestType, } from '@elaraai/e3-types';
46
46
  export const ApiTypes = {
47
47
  // Errors
48
48
  ErrorType,
@@ -109,6 +109,9 @@ export const ApiTypes = {
109
109
  DataflowEventType,
110
110
  ExecutionStatusType: ApiExecutionStatusType,
111
111
  DataflowExecutionSummaryType,
112
+ DataflowBudgetType,
113
+ UnitWaitType,
114
+ SplitProgressType,
112
115
  DataflowExecutionStateType: ApiDataflowExecutionStateType,
113
116
  // Task Execution History
114
117
  ExecutionHistoryStatusType,
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,oDAAoD;AACpD,OAAO;AACL,cAAc;AACd,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,2BAA2B,EAC3B,SAAS,EACT,YAAY;AACZ,aAAa;AACb,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB;AAClB,WAAW;AACX,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB;AAClB,aAAa;AACb,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B;AAC1B,mBAAmB;AACnB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,E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Z,iBAAiB;IACjB,0BAA0B,EAAE,6BAA6B;IAEzD,yBAAyB;IACzB,0BAA0B;IAC1B,qBAAqB;IAErB,2BAA2B;IAC3B,YAAY;IACZ,aAAa;IAEb,yCAAyC;IACzC,uBAAuB;IAEvB,WAAW;IACX,yBAAyB;IACzB,0BAA0B;IAC1B,wBAAwB;IACxB,wBAAwB;IACxB,uBAAuB;IACvB,uBAAuB;IACvB,8BAA8B;IAC9B,+BAA+B;IAC/B,sBAAsB;IAEtB,gCAAgC;IAChC,UAAU,EAAE,WAAW;IACvB,iBAAiB,EAAE,kBAAkB;IACrC,cAAc,EAAE,eAAe;IAC/B,iBAAiB,EAAE,kBAAkB;IACrC,uBAAuB,EAAE,wBAAwB;IACjD,qBAAqB,EAAE,sBAAsB;IAC7C,kBAAkB,EAAE,mBAAmB;CAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/e3-api-server",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "type": "module",
5
5
  "description": "East Execution Engine API Server - HTTP server exposing e3-core operations",
6
6
  "main": "dist/src/index.js",
@@ -49,11 +49,11 @@
49
49
  "@hono/node-server": "^1.13.0",
50
50
  "commander": "^12.0.0",
51
51
  "hono": "^4.6.0",
52
- "@elaraai/e3-core": "1.0.78",
53
- "@elaraai/e3-types": "1.0.78"
52
+ "@elaraai/e3-core": "1.0.80",
53
+ "@elaraai/e3-types": "1.0.80"
54
54
  },
55
55
  "peerDependencies": {
56
- "@elaraai/east": "1.0.78"
56
+ "@elaraai/east": "1.0.80"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/node": "^22.0.0",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsc",
68
- "test": "npm run build && node --enable-source-maps --test-reporter=spec --test 'dist/src/**/*.spec.js'",
68
+ "test": "npm run build && node --enable-source-maps --test-reporter=spec --test-timeout=480000 --test 'dist/src/**/*.spec.js'",
69
69
  "lint": "eslint .",
70
70
  "lint:fix": "eslint . --fix",
71
71
  "dev": "pnpm run build && node --enable-source-maps dist/src/cli.js"
@@ -1,37 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Licensed under BSL 1.1. See LICENSE for details.
4
- */
5
- import type { GcResult, GcStatusResult } from './types.js';
6
- /**
7
- * Create a new GC operation and return its execution ID.
8
- */
9
- export declare function createGcOperation(): string;
10
- /**
11
- * Mark a GC operation as succeeded with stats.
12
- */
13
- export declare function completeGcOperation(executionId: string, stats: GcResult): void;
14
- /**
15
- * Mark a GC operation as failed with error message.
16
- */
17
- export declare function failGcOperation(executionId: string, error: string): void;
18
- /**
19
- * Get the status of a GC operation.
20
- * Returns null if operation doesn't exist.
21
- */
22
- export declare function getGcOperationStatus(executionId: string): GcStatusResult | null;
23
- /**
24
- * Check if a GC operation exists.
25
- */
26
- export declare function hasGcOperation(executionId: string): boolean;
27
- /**
28
- * Clear a GC operation.
29
- * Useful for cleanup in tests.
30
- */
31
- export declare function clearGcOperation(executionId: string): void;
32
- /**
33
- * Clear all async operation states.
34
- * Useful for cleanup in tests.
35
- */
36
- export declare function clearAllAsyncOperations(): void;
37
- //# sourceMappingURL=async-operation-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"async-operation-state.d.ts","sourceRoot":"","sources":["../../src/async-operation-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAuB3D;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAO1C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,GAAG,IAAI,CAa9E;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAOxE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAoC/E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE3D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAE1D;AAMD;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"}
@@ -1,118 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Licensed under BSL 1.1. See LICENSE for details.
4
- */
5
- /**
6
- * In-memory state storage for async operations (GC, repo deletion).
7
- *
8
- * Tracks operation status for each execution, allowing clients to poll
9
- * for progress updates during long-running operations.
10
- *
11
- * This serves as a development/test mock for the Step Function-based
12
- * execution tracking in e3-aws.
13
- */
14
- import { randomUUID } from 'crypto';
15
- import { variant, some, none } from '@elaraai/east';
16
- // Key: executionId (UUID)
17
- const gcOperations = new Map();
18
- /**
19
- * Create a new GC operation and return its execution ID.
20
- */
21
- export function createGcOperation() {
22
- const executionId = randomUUID();
23
- gcOperations.set(executionId, {
24
- status: 'running',
25
- startedAt: new Date(),
26
- });
27
- return executionId;
28
- }
29
- /**
30
- * Mark a GC operation as succeeded with stats.
31
- */
32
- export function completeGcOperation(executionId, stats) {
33
- const op = gcOperations.get(executionId);
34
- if (op) {
35
- op.status = 'succeeded';
36
- op.completedAt = new Date();
37
- op.stats = {
38
- deletedObjects: stats.deletedObjects,
39
- deletedPartials: stats.deletedPartials,
40
- retainedObjects: stats.retainedObjects,
41
- skippedYoung: stats.skippedYoung,
42
- bytesFreed: stats.bytesFreed,
43
- };
44
- }
45
- }
46
- /**
47
- * Mark a GC operation as failed with error message.
48
- */
49
- export function failGcOperation(executionId, error) {
50
- const op = gcOperations.get(executionId);
51
- if (op) {
52
- op.status = 'failed';
53
- op.completedAt = new Date();
54
- op.error = error;
55
- }
56
- }
57
- /**
58
- * Get the status of a GC operation.
59
- * Returns null if operation doesn't exist.
60
- */
61
- export function getGcOperationStatus(executionId) {
62
- const op = gcOperations.get(executionId);
63
- if (!op) {
64
- return null;
65
- }
66
- // Convert status to East variant
67
- let status;
68
- switch (op.status) {
69
- case 'running':
70
- status = variant('running', null);
71
- break;
72
- case 'succeeded':
73
- status = variant('succeeded', null);
74
- break;
75
- case 'failed':
76
- status = variant('failed', null);
77
- break;
78
- }
79
- // Convert stats to East option
80
- const stats = op.stats
81
- ? some({
82
- deletedObjects: op.stats.deletedObjects,
83
- deletedPartials: op.stats.deletedPartials,
84
- retainedObjects: op.stats.retainedObjects,
85
- skippedYoung: op.stats.skippedYoung,
86
- bytesFreed: op.stats.bytesFreed,
87
- })
88
- : none;
89
- return {
90
- status,
91
- stats,
92
- error: op.error ? some(op.error) : none,
93
- };
94
- }
95
- /**
96
- * Check if a GC operation exists.
97
- */
98
- export function hasGcOperation(executionId) {
99
- return gcOperations.has(executionId);
100
- }
101
- /**
102
- * Clear a GC operation.
103
- * Useful for cleanup in tests.
104
- */
105
- export function clearGcOperation(executionId) {
106
- gcOperations.delete(executionId);
107
- }
108
- // =============================================================================
109
- // Test Utilities
110
- // =============================================================================
111
- /**
112
- * Clear all async operation states.
113
- * Useful for cleanup in tests.
114
- */
115
- export function clearAllAsyncOperations() {
116
- gcOperations.clear();
117
- }
118
- //# sourceMappingURL=async-operation-state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"async-operation-state.js","sourceRoot":"","sources":["../../src/async-operation-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAqBpD,0BAA0B;AAC1B,MAAM,YAAY,GAAG,IAAI,GAAG,EAA+B,CAAC;AAE5D;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,MAAM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