@elaraai/e3-types 0.0.2-beta.35 → 0.0.2-beta.37
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.
- package/dist/src/dataflow.d.ts +95 -5
- package/dist/src/dataflow.d.ts.map +1 -1
- package/dist/src/dataflow.js +54 -4
- package/dist/src/dataflow.js.map +1 -1
- package/dist/src/dataset-ref.d.ts +86 -0
- package/dist/src/dataset-ref.d.ts.map +1 -0
- package/dist/src/dataset-ref.js +82 -0
- package/dist/src/dataset-ref.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/package.d.ts +149 -131
- package/dist/src/package.d.ts.map +1 -1
- package/dist/src/package.js +5 -22
- package/dist/src/package.js.map +1 -1
- package/dist/src/structure.d.ts +83 -73
- package/dist/src/structure.d.ts.map +1 -1
- package/dist/src/structure.js +8 -3
- package/dist/src/structure.js.map +1 -1
- package/dist/src/workspace.d.ts +0 -4
- package/dist/src/workspace.d.ts.map +1 -1
- package/dist/src/workspace.js +0 -4
- package/dist/src/workspace.js.map +1 -1
- package/package.json +1 -1
- package/src/dataflow.ts +56 -5
- package/src/dataset-ref.ts +91 -0
- package/src/index.ts +8 -0
- package/src/package.ts +5 -22
- package/src/structure.ts +8 -3
- package/src/workspace.ts +0 -4
package/dist/src/dataflow.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export type DataflowExecutionStatus = 'running' | 'completed' | 'failed' | 'canc
|
|
|
21
21
|
/**
|
|
22
22
|
* Status of an individual task within an execution.
|
|
23
23
|
*/
|
|
24
|
-
export type TaskStatus = 'pending' | 'ready' | 'in_progress' | 'completed' | 'failed' | 'skipped';
|
|
24
|
+
export type TaskStatus = 'pending' | 'ready' | 'in_progress' | 'completed' | 'failed' | 'skipped' | 'deferred';
|
|
25
25
|
/**
|
|
26
26
|
* Information about a task's execution state.
|
|
27
27
|
*
|
|
@@ -188,6 +188,41 @@ export declare const ExecutionEventType: VariantType<{
|
|
|
188
188
|
/** Reason for cancellation */
|
|
189
189
|
readonly reason: OptionType<StringType>;
|
|
190
190
|
}>;
|
|
191
|
+
/** An input dataset changed during execution (reactive dataflow) */
|
|
192
|
+
readonly input_changed: StructType<{
|
|
193
|
+
/** Event sequence number */
|
|
194
|
+
readonly seq: IntegerType;
|
|
195
|
+
/** When the event occurred */
|
|
196
|
+
readonly timestamp: DateTimeType;
|
|
197
|
+
/** Path of the changed input dataset */
|
|
198
|
+
readonly path: StringType;
|
|
199
|
+
/** Previous hash (empty string if was unassigned) */
|
|
200
|
+
readonly previousHash: StringType;
|
|
201
|
+
/** New hash */
|
|
202
|
+
readonly newHash: StringType;
|
|
203
|
+
}>;
|
|
204
|
+
/** A task was invalidated due to upstream input change */
|
|
205
|
+
readonly task_invalidated: StructType<{
|
|
206
|
+
/** Event sequence number */
|
|
207
|
+
readonly seq: IntegerType;
|
|
208
|
+
/** When the event occurred */
|
|
209
|
+
readonly timestamp: DateTimeType;
|
|
210
|
+
/** Task name */
|
|
211
|
+
readonly task: StringType;
|
|
212
|
+
/** Reason for invalidation */
|
|
213
|
+
readonly reason: StringType;
|
|
214
|
+
}>;
|
|
215
|
+
/** A task was deferred due to inconsistent input versions */
|
|
216
|
+
readonly task_deferred: StructType<{
|
|
217
|
+
/** Event sequence number */
|
|
218
|
+
readonly seq: IntegerType;
|
|
219
|
+
/** When the event occurred */
|
|
220
|
+
readonly timestamp: DateTimeType;
|
|
221
|
+
/** Task name */
|
|
222
|
+
readonly task: StringType;
|
|
223
|
+
/** Path where version conflict was detected */
|
|
224
|
+
readonly conflictPath: StringType;
|
|
225
|
+
}>;
|
|
191
226
|
}>;
|
|
192
227
|
export type ExecutionEvent = ValueTypeOf<typeof ExecutionEventType>;
|
|
193
228
|
/**
|
|
@@ -268,6 +303,14 @@ export declare const DataflowExecutionStateType: StructType<{
|
|
|
268
303
|
readonly completedAt: OptionType<DateTimeType>;
|
|
269
304
|
/** Error message if status is 'failed' */
|
|
270
305
|
readonly error: OptionType<StringType>;
|
|
306
|
+
/** Version vectors: dataset keypath -> VersionVector (root input path -> hash) */
|
|
307
|
+
readonly versionVectors: DictType<StringType, DictType<StringType, StringType>>;
|
|
308
|
+
/** Input snapshot: root input keypath -> hash at time of last check */
|
|
309
|
+
readonly inputSnapshot: DictType<StringType, StringType>;
|
|
310
|
+
/** Set of dataset keypaths that are task outputs */
|
|
311
|
+
readonly taskOutputPaths: ArrayType<StringType>;
|
|
312
|
+
/** Number of tasks re-executed due to input changes */
|
|
313
|
+
readonly reexecuted: IntegerType;
|
|
271
314
|
/** All events for this execution */
|
|
272
315
|
readonly events: ArrayType<VariantType<{
|
|
273
316
|
/** Execution started */
|
|
@@ -368,6 +411,41 @@ export declare const DataflowExecutionStateType: StructType<{
|
|
|
368
411
|
/** Reason for cancellation */
|
|
369
412
|
readonly reason: OptionType<StringType>;
|
|
370
413
|
}>;
|
|
414
|
+
/** An input dataset changed during execution (reactive dataflow) */
|
|
415
|
+
readonly input_changed: StructType<{
|
|
416
|
+
/** Event sequence number */
|
|
417
|
+
readonly seq: IntegerType;
|
|
418
|
+
/** When the event occurred */
|
|
419
|
+
readonly timestamp: DateTimeType;
|
|
420
|
+
/** Path of the changed input dataset */
|
|
421
|
+
readonly path: StringType;
|
|
422
|
+
/** Previous hash (empty string if was unassigned) */
|
|
423
|
+
readonly previousHash: StringType;
|
|
424
|
+
/** New hash */
|
|
425
|
+
readonly newHash: StringType;
|
|
426
|
+
}>;
|
|
427
|
+
/** A task was invalidated due to upstream input change */
|
|
428
|
+
readonly task_invalidated: StructType<{
|
|
429
|
+
/** Event sequence number */
|
|
430
|
+
readonly seq: IntegerType;
|
|
431
|
+
/** When the event occurred */
|
|
432
|
+
readonly timestamp: DateTimeType;
|
|
433
|
+
/** Task name */
|
|
434
|
+
readonly task: StringType;
|
|
435
|
+
/** Reason for invalidation */
|
|
436
|
+
readonly reason: StringType;
|
|
437
|
+
}>;
|
|
438
|
+
/** A task was deferred due to inconsistent input versions */
|
|
439
|
+
readonly task_deferred: StructType<{
|
|
440
|
+
/** Event sequence number */
|
|
441
|
+
readonly seq: IntegerType;
|
|
442
|
+
/** When the event occurred */
|
|
443
|
+
readonly timestamp: DateTimeType;
|
|
444
|
+
/** Task name */
|
|
445
|
+
readonly task: StringType;
|
|
446
|
+
/** Path where version conflict was detected */
|
|
447
|
+
readonly conflictPath: StringType;
|
|
448
|
+
}>;
|
|
371
449
|
}>>;
|
|
372
450
|
/** Sequence number for next event (auto-increment) */
|
|
373
451
|
readonly eventSeq: IntegerType;
|
|
@@ -400,6 +478,10 @@ export declare const TaskExecutionRecordType: StructType<{
|
|
|
400
478
|
readonly executionId: StringType;
|
|
401
479
|
/** Whether this was a cache hit */
|
|
402
480
|
readonly cached: BooleanType;
|
|
481
|
+
/** Output version vector (which root input versions produced this output) */
|
|
482
|
+
readonly outputVersions: DictType<StringType, StringType>;
|
|
483
|
+
/** Number of times this task was executed (including re-executions due to input changes) */
|
|
484
|
+
readonly executionCount: IntegerType;
|
|
403
485
|
}>;
|
|
404
486
|
export type TaskExecutionRecord = ValueTypeOf<typeof TaskExecutionRecordType>;
|
|
405
487
|
/**
|
|
@@ -416,6 +498,8 @@ export declare const DataflowRunSummaryType: StructType<{
|
|
|
416
498
|
readonly failed: IntegerType;
|
|
417
499
|
/** Number of skipped tasks */
|
|
418
500
|
readonly skipped: IntegerType;
|
|
501
|
+
/** Number of tasks re-executed due to input changes */
|
|
502
|
+
readonly reexecuted: IntegerType;
|
|
419
503
|
}>;
|
|
420
504
|
export type DataflowRunSummary = ValueTypeOf<typeof DataflowRunSummaryType>;
|
|
421
505
|
/**
|
|
@@ -455,16 +539,20 @@ export declare const DataflowRunType: StructType<{
|
|
|
455
539
|
/** Run was cancelled */
|
|
456
540
|
readonly cancelled: StructType<{}>;
|
|
457
541
|
}>;
|
|
458
|
-
/**
|
|
459
|
-
readonly
|
|
460
|
-
/**
|
|
461
|
-
readonly
|
|
542
|
+
/** Input version snapshot at start (root input path -> hash) */
|
|
543
|
+
readonly inputVersions: DictType<StringType, StringType>;
|
|
544
|
+
/** Output version snapshot at end (null if still running) */
|
|
545
|
+
readonly outputVersions: OptionType<DictType<StringType, StringType>>;
|
|
462
546
|
/** Map of task name -> execution record */
|
|
463
547
|
readonly taskExecutions: DictType<StringType, StructType<{
|
|
464
548
|
/** Execution ID (UUIDv7) */
|
|
465
549
|
readonly executionId: StringType;
|
|
466
550
|
/** Whether this was a cache hit */
|
|
467
551
|
readonly cached: BooleanType;
|
|
552
|
+
/** Output version vector (which root input versions produced this output) */
|
|
553
|
+
readonly outputVersions: DictType<StringType, StringType>;
|
|
554
|
+
/** Number of times this task was executed (including re-executions due to input changes) */
|
|
555
|
+
readonly executionCount: IntegerType;
|
|
468
556
|
}>>;
|
|
469
557
|
/** Summary statistics */
|
|
470
558
|
readonly summary: StructType<{
|
|
@@ -478,6 +566,8 @@ export declare const DataflowRunType: StructType<{
|
|
|
478
566
|
readonly failed: IntegerType;
|
|
479
567
|
/** Number of skipped tasks */
|
|
480
568
|
readonly skipped: IntegerType;
|
|
569
|
+
/** Number of tasks re-executed due to input changes */
|
|
570
|
+
readonly reexecuted: IntegerType;
|
|
481
571
|
}>;
|
|
482
572
|
}>;
|
|
483
573
|
export type DataflowRun = ValueTypeOf<typeof DataflowRunType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataflow.d.ts","sourceRoot":"","sources":["../../src/dataflow.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACZ,MAAM,eAAe,CAAC;AAMvB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,W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eAAO,MAAM,eAAe;IAC1B,sBAAsB;;IAEtB,qBAAqB;;IAErB,mDAAmD;;IAGnD,2BAA2B;;IAE3B,qDAAqD;;IAGrD,gCAAgC;;QAzEhC,iCAAiC;;QAEjC,iCAAiC;;QAEjC,mCAAmC;;YAEjC,mCAAmC;;YAEnC,oBAAoB;;;QAGtB,wBAAwB;;;IAiExB,gEAAgE;;IAEhE,6DAA6D;;IAG7D,2CAA2C;;QA7D3C,4BAA4B;;QAE5B,mCAAmC;;QAEnC,6EAA6E;;QAE7E,4FAA4F;;;IA0D5F,yBAAyB;;QAjDzB,4BAA4B;;QAE5B,gCAAgC;;QAEhC,6BAA6B;;QAE7B,6BAA6B;;QAE7B,8BAA8B;;QAE9B,uDAAuD;;;EAyCvD,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
package/dist/src/dataflow.js
CHANGED
|
@@ -175,6 +175,41 @@ export const ExecutionEventType = VariantType({
|
|
|
175
175
|
/** Reason for cancellation */
|
|
176
176
|
reason: OptionType(StringType),
|
|
177
177
|
}),
|
|
178
|
+
/** An input dataset changed during execution (reactive dataflow) */
|
|
179
|
+
input_changed: StructType({
|
|
180
|
+
/** Event sequence number */
|
|
181
|
+
seq: IntegerType,
|
|
182
|
+
/** When the event occurred */
|
|
183
|
+
timestamp: DateTimeType,
|
|
184
|
+
/** Path of the changed input dataset */
|
|
185
|
+
path: StringType,
|
|
186
|
+
/** Previous hash (empty string if was unassigned) */
|
|
187
|
+
previousHash: StringType,
|
|
188
|
+
/** New hash */
|
|
189
|
+
newHash: StringType,
|
|
190
|
+
}),
|
|
191
|
+
/** A task was invalidated due to upstream input change */
|
|
192
|
+
task_invalidated: StructType({
|
|
193
|
+
/** Event sequence number */
|
|
194
|
+
seq: IntegerType,
|
|
195
|
+
/** When the event occurred */
|
|
196
|
+
timestamp: DateTimeType,
|
|
197
|
+
/** Task name */
|
|
198
|
+
task: StringType,
|
|
199
|
+
/** Reason for invalidation */
|
|
200
|
+
reason: StringType,
|
|
201
|
+
}),
|
|
202
|
+
/** A task was deferred due to inconsistent input versions */
|
|
203
|
+
task_deferred: StructType({
|
|
204
|
+
/** Event sequence number */
|
|
205
|
+
seq: IntegerType,
|
|
206
|
+
/** When the event occurred */
|
|
207
|
+
timestamp: DateTimeType,
|
|
208
|
+
/** Task name */
|
|
209
|
+
task: StringType,
|
|
210
|
+
/** Path where version conflict was detected */
|
|
211
|
+
conflictPath: StringType,
|
|
212
|
+
}),
|
|
178
213
|
});
|
|
179
214
|
// =============================================================================
|
|
180
215
|
// Main Execution State
|
|
@@ -230,6 +265,15 @@ export const DataflowExecutionStateType = StructType({
|
|
|
230
265
|
completedAt: OptionType(DateTimeType),
|
|
231
266
|
/** Error message if status is 'failed' */
|
|
232
267
|
error: OptionType(StringType),
|
|
268
|
+
// Reactive dataflow tracking
|
|
269
|
+
/** Version vectors: dataset keypath -> VersionVector (root input path -> hash) */
|
|
270
|
+
versionVectors: DictType(StringType, DictType(StringType, StringType)),
|
|
271
|
+
/** Input snapshot: root input keypath -> hash at time of last check */
|
|
272
|
+
inputSnapshot: DictType(StringType, StringType),
|
|
273
|
+
/** Set of dataset keypaths that are task outputs */
|
|
274
|
+
taskOutputPaths: ArrayType(StringType),
|
|
275
|
+
/** Number of tasks re-executed due to input changes */
|
|
276
|
+
reexecuted: IntegerType,
|
|
233
277
|
// Events (inline array)
|
|
234
278
|
/** All events for this execution */
|
|
235
279
|
events: ArrayType(ExecutionEventType),
|
|
@@ -265,6 +309,10 @@ export const TaskExecutionRecordType = StructType({
|
|
|
265
309
|
executionId: StringType,
|
|
266
310
|
/** Whether this was a cache hit */
|
|
267
311
|
cached: BooleanType,
|
|
312
|
+
/** Output version vector (which root input versions produced this output) */
|
|
313
|
+
outputVersions: DictType(StringType, StringType),
|
|
314
|
+
/** Number of times this task was executed (including re-executions due to input changes) */
|
|
315
|
+
executionCount: IntegerType,
|
|
268
316
|
});
|
|
269
317
|
/**
|
|
270
318
|
* Summary statistics for a dataflow run.
|
|
@@ -280,6 +328,8 @@ export const DataflowRunSummaryType = StructType({
|
|
|
280
328
|
failed: IntegerType,
|
|
281
329
|
/** Number of skipped tasks */
|
|
282
330
|
skipped: IntegerType,
|
|
331
|
+
/** Number of tasks re-executed due to input changes */
|
|
332
|
+
reexecuted: IntegerType,
|
|
283
333
|
});
|
|
284
334
|
/**
|
|
285
335
|
* A dataflow run record, tracking one execution of a workspace's dataflow.
|
|
@@ -304,10 +354,10 @@ export const DataflowRunType = StructType({
|
|
|
304
354
|
completedAt: OptionType(DateTimeType),
|
|
305
355
|
/** Current status of the run */
|
|
306
356
|
status: DataflowRunStatusType,
|
|
307
|
-
/**
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
|
|
357
|
+
/** Input version snapshot at start (root input path -> hash) */
|
|
358
|
+
inputVersions: DictType(StringType, StringType),
|
|
359
|
+
/** Output version snapshot at end (null if still running) */
|
|
360
|
+
outputVersions: OptionType(DictType(StringType, StringType)),
|
|
311
361
|
/** Map of task name -> execution record */
|
|
312
362
|
taskExecutions: DictType(StringType, TaskExecutionRecordType),
|
|
313
363
|
/** Summary statistics */
|
package/dist/src/dataflow.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataflow.js","sourceRoot":"","sources":["../../src/dataflow.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,GAEX,MAAM,eAAe,CAAC;AAgBvB,gFAAgF;AAChF,aAAa;AACb,gFAAgF;AAEhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC;IACtC,gBAAgB;IAChB,IAAI,EAAE,UAAU;IAChB,4CAA4C;IAC5C,MAAM,EAAE,UAAU;IAClB,+CAA+C;IA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AE,WAAW;IACtB,6BAA6B;IAC7B,MAAM,EAAE,WAAW;IACnB,6BAA6B;IAC7B,MAAM,EAAE,WAAW;IACnB,8BAA8B;IAC9B,OAAO,EAAE,WAAW;IACpB,uDAAuD;IACvD,UAAU,EAAE,WAAW;CACxB,CAAC,CAAC;AAGH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU,CAAC;IACxC,sBAAsB;IACtB,KAAK,EAAE,UAAU;IACjB,qBAAqB;IACrB,aAAa,EAAE,UAAU;IACzB,mDAAmD;IACnD,UAAU,EAAE,UAAU;IAEtB,2BAA2B;IAC3B,SAAS,EAAE,YAAY;IACvB,qDAAqD;IACrD,WAAW,EAAE,UAAU,CAAC,YAAY,CAAC;IAErC,gCAAgC;IAChC,MAAM,EAAE,qBAAqB;IAE7B,gEAAgE;IAChE,aAAa,EAAE,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAC/C,6DAA6D;IAC7D,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAE5D,2CAA2C;IAC3C,cAAc,EAAE,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAE7D,yBAAyB;IACzB,OAAO,EAAE,sBAAsB;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
* Per-dataset reference types for reactive dataflow.
|
|
7
|
+
*
|
|
8
|
+
* Each dataset in a workspace has its own `.ref` file instead of being
|
|
9
|
+
* part of a single root tree. This enables concurrent writes and
|
|
10
|
+
* reactive re-execution.
|
|
11
|
+
*
|
|
12
|
+
* A DatasetRef tracks:
|
|
13
|
+
* - The current value hash (or unassigned/null state)
|
|
14
|
+
* - A version vector mapping root input paths to their content hashes,
|
|
15
|
+
* enabling consistency checking across task inputs.
|
|
16
|
+
*/
|
|
17
|
+
import { VariantType, StructType, DictType, StringType, NullType, type ValueTypeOf } from '@elaraai/east';
|
|
18
|
+
/**
|
|
19
|
+
* Version vector: maps root input dataset path -> content hash.
|
|
20
|
+
*
|
|
21
|
+
* Used to track which version of each root input contributed to a
|
|
22
|
+
* dataset's current value. When a task executes, its output's version
|
|
23
|
+
* vector is the union of all input version vectors (which must agree
|
|
24
|
+
* on shared keys for consistency).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* // Root input version vector (self-referencing)
|
|
29
|
+
* const inputVV: VersionVector = new Map([
|
|
30
|
+
* ['.inputs.sales', 'abc123...'],
|
|
31
|
+
* ]);
|
|
32
|
+
*
|
|
33
|
+
* // Derived dataset version vector (union of inputs)
|
|
34
|
+
* const derivedVV: VersionVector = new Map([
|
|
35
|
+
* ['.inputs.sales', 'abc123...'],
|
|
36
|
+
* ['.inputs.config', 'def456...'],
|
|
37
|
+
* ]);
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const VersionVectorType: DictType<StringType, StringType>;
|
|
41
|
+
export type VersionVectorType = typeof VersionVectorType;
|
|
42
|
+
export type VersionVector = ValueTypeOf<typeof VersionVectorType>;
|
|
43
|
+
/**
|
|
44
|
+
* Per-dataset reference stored in workspace data files.
|
|
45
|
+
*
|
|
46
|
+
* Each dataset has a `.ref` file at `workspaces/<ws>/data/<path>.ref`.
|
|
47
|
+
* The ref tracks the dataset's current state and version provenance.
|
|
48
|
+
*
|
|
49
|
+
* Variants:
|
|
50
|
+
* - `unassigned`: Dataset has no value yet (e.g., pending task output)
|
|
51
|
+
* - `null`: Dataset has been explicitly set to null, with version tracking
|
|
52
|
+
* - `value`: Dataset has a value hash in the object store, with version tracking
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* // Unassigned (initial state for task outputs)
|
|
57
|
+
* const ref: DatasetRef = variant('unassigned', null);
|
|
58
|
+
*
|
|
59
|
+
* // Null value with version tracking
|
|
60
|
+
* const ref: DatasetRef = variant('null', {
|
|
61
|
+
* versions: new Map([['.inputs.sales', 'abc123...']]),
|
|
62
|
+
* });
|
|
63
|
+
*
|
|
64
|
+
* // Value with version tracking
|
|
65
|
+
* const ref: DatasetRef = variant('value', {
|
|
66
|
+
* hash: 'def456...',
|
|
67
|
+
* versions: new Map([['.inputs.sales', 'abc123...']]),
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare const DatasetRefType: VariantType<{
|
|
72
|
+
/** Dataset has no value assigned */
|
|
73
|
+
readonly unassigned: NullType;
|
|
74
|
+
/** Dataset value is null, with version provenance */
|
|
75
|
+
readonly null: StructType<{
|
|
76
|
+
readonly versions: DictType<StringType, StringType>;
|
|
77
|
+
}>;
|
|
78
|
+
/** Dataset has a value in the object store, with version provenance */
|
|
79
|
+
readonly value: StructType<{
|
|
80
|
+
readonly hash: StringType;
|
|
81
|
+
readonly versions: DictType<StringType, StringType>;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
export type DatasetRefType = typeof DatasetRefType;
|
|
85
|
+
export type DatasetRef = ValueTypeOf<typeof DatasetRefType>;
|
|
86
|
+
//# sourceMappingURL=dataset-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset-ref.d.ts","sourceRoot":"","sources":["../../src/dataset-ref.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAE1G;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,iBAAiB,kCAAmC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,cAAc;IACzB,oCAAoC;;IAEpC,qDAAqD;;;;IAIrD,uEAAuE;;;;;EAKvE,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
* Per-dataset reference types for reactive dataflow.
|
|
7
|
+
*
|
|
8
|
+
* Each dataset in a workspace has its own `.ref` file instead of being
|
|
9
|
+
* part of a single root tree. This enables concurrent writes and
|
|
10
|
+
* reactive re-execution.
|
|
11
|
+
*
|
|
12
|
+
* A DatasetRef tracks:
|
|
13
|
+
* - The current value hash (or unassigned/null state)
|
|
14
|
+
* - A version vector mapping root input paths to their content hashes,
|
|
15
|
+
* enabling consistency checking across task inputs.
|
|
16
|
+
*/
|
|
17
|
+
import { VariantType, StructType, DictType, StringType, NullType } from '@elaraai/east';
|
|
18
|
+
/**
|
|
19
|
+
* Version vector: maps root input dataset path -> content hash.
|
|
20
|
+
*
|
|
21
|
+
* Used to track which version of each root input contributed to a
|
|
22
|
+
* dataset's current value. When a task executes, its output's version
|
|
23
|
+
* vector is the union of all input version vectors (which must agree
|
|
24
|
+
* on shared keys for consistency).
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* // Root input version vector (self-referencing)
|
|
29
|
+
* const inputVV: VersionVector = new Map([
|
|
30
|
+
* ['.inputs.sales', 'abc123...'],
|
|
31
|
+
* ]);
|
|
32
|
+
*
|
|
33
|
+
* // Derived dataset version vector (union of inputs)
|
|
34
|
+
* const derivedVV: VersionVector = new Map([
|
|
35
|
+
* ['.inputs.sales', 'abc123...'],
|
|
36
|
+
* ['.inputs.config', 'def456...'],
|
|
37
|
+
* ]);
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export const VersionVectorType = DictType(StringType, StringType);
|
|
41
|
+
/**
|
|
42
|
+
* Per-dataset reference stored in workspace data files.
|
|
43
|
+
*
|
|
44
|
+
* Each dataset has a `.ref` file at `workspaces/<ws>/data/<path>.ref`.
|
|
45
|
+
* The ref tracks the dataset's current state and version provenance.
|
|
46
|
+
*
|
|
47
|
+
* Variants:
|
|
48
|
+
* - `unassigned`: Dataset has no value yet (e.g., pending task output)
|
|
49
|
+
* - `null`: Dataset has been explicitly set to null, with version tracking
|
|
50
|
+
* - `value`: Dataset has a value hash in the object store, with version tracking
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* // Unassigned (initial state for task outputs)
|
|
55
|
+
* const ref: DatasetRef = variant('unassigned', null);
|
|
56
|
+
*
|
|
57
|
+
* // Null value with version tracking
|
|
58
|
+
* const ref: DatasetRef = variant('null', {
|
|
59
|
+
* versions: new Map([['.inputs.sales', 'abc123...']]),
|
|
60
|
+
* });
|
|
61
|
+
*
|
|
62
|
+
* // Value with version tracking
|
|
63
|
+
* const ref: DatasetRef = variant('value', {
|
|
64
|
+
* hash: 'def456...',
|
|
65
|
+
* versions: new Map([['.inputs.sales', 'abc123...']]),
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export const DatasetRefType = VariantType({
|
|
70
|
+
/** Dataset has no value assigned */
|
|
71
|
+
unassigned: NullType,
|
|
72
|
+
/** Dataset value is null, with version provenance */
|
|
73
|
+
null: StructType({
|
|
74
|
+
versions: VersionVectorType,
|
|
75
|
+
}),
|
|
76
|
+
/** Dataset has a value in the object store, with version provenance */
|
|
77
|
+
value: StructType({
|
|
78
|
+
hash: StringType,
|
|
79
|
+
versions: VersionVectorType,
|
|
80
|
+
}),
|
|
81
|
+
});
|
|
82
|
+
//# sourceMappingURL=dataset-ref.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset-ref.js","sourceRoot":"","sources":["../../src/dataset-ref.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;AAE1G;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAKlE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;IACxC,oCAAoC;IACpC,UAAU,EAAE,QAAQ;IACpB,qDAAqD;IACrD,IAAI,EAAE,UAAU,CAAC;QACf,QAAQ,EAAE,iBAAiB;KAC5B,CAAC;IACF,uEAAuE;IACvE,KAAK,EAAE,UAAU,CAAC;QAChB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,iBAAiB;KAC5B,CAAC;CACH,CAAC,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* - **Path**: An address in the data tree
|
|
22
22
|
*/
|
|
23
23
|
export { DataRefType, type DataRef, unassignedRef, nullRef, DataTreeType, } from './dataset.js';
|
|
24
|
+
export { VersionVectorType, type VersionVector, DatasetRefType, type DatasetRef, } from './dataset-ref.js';
|
|
24
25
|
export { TaskObjectType, type TaskObject, } from './task.js';
|
|
25
26
|
export { StructureType, type Structure, PathSegmentType, type PathSegment, TreePathType, type TreePath, type ParsePathResult, type ParseDatasetPathResult, type ParsePackageRefResult, treePath, pathToString, parsePath, parseDatasetPath, parsePackageRef, urlPathToTreePath, DatasetSchemaType, type DatasetSchema, } from './structure.js';
|
|
26
27
|
export { PackageDataType, type PackageData, PackageObjectType, type PackageObject, PackageDatasetsType, type PackageDatasets, } from './package.js';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,eAAe,EACf,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EAEjB,iBAAiB,EACjB,KAAK,aAAa,GACnB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,aAAa,EAElB,mBAAmB,EACnB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,GACpB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,iBAAiB,EACjB,KAAK,aAAa,EAClB,aAAa,EACb,KAAK,SAAS,GACf,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,aAAa,EACb,KAAK,SAAS,EACd,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,KAAK,aAAa,EAClB,kBAAkB,EAClB,KAAK,cAAc,EACnB,0BAA0B,EAC1B,KAAK,sBAAsB,EAE3B,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,eAAe,EACf,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EAEjB,iBAAiB,EACjB,KAAK,aAAa,GACnB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,aAAa,EAElB,mBAAmB,EACnB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,GACpB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,iBAAiB,EACjB,KAAK,aAAa,EAClB,aAAa,EACb,KAAK,SAAS,GACf,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,aAAa,EACb,KAAK,SAAS,EACd,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,KAAK,aAAa,EAClB,kBAAkB,EAClB,KAAK,cAAc,EACnB,0BAA0B,EAC1B,KAAK,sBAAsB,EAE3B,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
// Data references and trees
|
|
24
24
|
export { DataRefType, unassignedRef, nullRef, DataTreeType, } from './dataset.js';
|
|
25
|
+
// Per-dataset refs and version vectors (reactive dataflow)
|
|
26
|
+
export { VersionVectorType, DatasetRefType, } from './dataset-ref.js';
|
|
25
27
|
// Task definitions
|
|
26
28
|
export { TaskObjectType, } from './task.js';
|
|
27
29
|
// Data structure and paths
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAEH,4BAA4B;AAC5B,OAAO,EACL,WAAW,EAEX,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAEtB,mBAAmB;AACnB,OAAO,EACL,cAAc,GAEf,MAAM,WAAW,CAAC;AAEnB,2BAA2B;AAC3B,OAAO,EACL,aAAa,EAEb,eAAe,EAEf,Y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