@yolk-sdk/harness 0.1.0-canary.83 → 0.1.0-canary.85
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/driver.d.mts +10 -10
- package/dist/outcome-constructors-internal.d.mts +22 -22
- package/package.json +2 -2
package/dist/driver.d.mts
CHANGED
|
@@ -32,16 +32,16 @@ type StopDecision = {
|
|
|
32
32
|
readonly _tag: 'Idle';
|
|
33
33
|
};
|
|
34
34
|
declare const StopDecision: {
|
|
35
|
-
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
36
|
-
readonly _tag: "Idle";
|
|
37
|
-
}, "_tag">;
|
|
38
35
|
readonly Interrupted: Data.TaggedEnum.ConstructorFrom<{
|
|
39
36
|
readonly _tag: "Interrupted";
|
|
40
37
|
}, "_tag">;
|
|
41
38
|
readonly ParkCleared: Data.TaggedEnum.ConstructorFrom<{
|
|
42
39
|
readonly _tag: "ParkCleared";
|
|
43
40
|
}, "_tag">;
|
|
44
|
-
readonly
|
|
41
|
+
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
42
|
+
readonly _tag: "Idle";
|
|
43
|
+
}, "_tag">;
|
|
44
|
+
readonly $is: <Tag extends "Interrupted" | "ParkCleared" | "Idle">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
45
45
|
readonly _tag: "Interrupted";
|
|
46
46
|
}, {
|
|
47
47
|
readonly _tag: Tag;
|
|
@@ -56,27 +56,27 @@ declare const StopDecision: {
|
|
|
56
56
|
}>;
|
|
57
57
|
readonly $match: {
|
|
58
58
|
<Cases extends {
|
|
59
|
-
readonly Idle: (args: {
|
|
60
|
-
readonly _tag: "Idle";
|
|
61
|
-
}) => any;
|
|
62
59
|
readonly Interrupted: (args: {
|
|
63
60
|
readonly _tag: "Interrupted";
|
|
64
61
|
}) => any;
|
|
65
62
|
readonly ParkCleared: (args: {
|
|
66
63
|
readonly _tag: "ParkCleared";
|
|
67
64
|
}) => any;
|
|
68
|
-
}>(cases: Cases): (value: StopDecision) => import("effect/Unify").Unify<ReturnType<Cases["Idle" | "Interrupted" | "ParkCleared"]>>;
|
|
69
|
-
<Cases extends {
|
|
70
65
|
readonly Idle: (args: {
|
|
71
66
|
readonly _tag: "Idle";
|
|
72
67
|
}) => any;
|
|
68
|
+
}>(cases: Cases): (value: StopDecision) => import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "ParkCleared" | "Idle"]>>;
|
|
69
|
+
<Cases extends {
|
|
73
70
|
readonly Interrupted: (args: {
|
|
74
71
|
readonly _tag: "Interrupted";
|
|
75
72
|
}) => any;
|
|
76
73
|
readonly ParkCleared: (args: {
|
|
77
74
|
readonly _tag: "ParkCleared";
|
|
78
75
|
}) => any;
|
|
79
|
-
|
|
76
|
+
readonly Idle: (args: {
|
|
77
|
+
readonly _tag: "Idle";
|
|
78
|
+
}) => any;
|
|
79
|
+
}>(value: StopDecision, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "ParkCleared" | "Idle"]>>;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
type DriverApi = {
|
|
@@ -290,19 +290,19 @@ declare const HitlMatch: {
|
|
|
290
290
|
};
|
|
291
291
|
};
|
|
292
292
|
declare const StopReceipt: {
|
|
293
|
-
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
294
|
-
readonly _tag: "Idle";
|
|
295
|
-
}, "_tag">;
|
|
296
293
|
readonly Interrupted: Data.TaggedEnum.ConstructorFrom<{
|
|
297
294
|
readonly _tag: "Interrupted";
|
|
298
295
|
}, "_tag">;
|
|
296
|
+
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
297
|
+
readonly _tag: "Idle";
|
|
298
|
+
}, "_tag">;
|
|
299
299
|
readonly LiveStopping: Data.TaggedEnum.ConstructorFrom<{
|
|
300
300
|
readonly _tag: "LiveStopping";
|
|
301
301
|
}, "_tag">;
|
|
302
302
|
readonly Settling: Data.TaggedEnum.ConstructorFrom<{
|
|
303
303
|
readonly _tag: "Settling";
|
|
304
304
|
}, "_tag">;
|
|
305
|
-
readonly $is: <Tag extends "
|
|
305
|
+
readonly $is: <Tag extends "Interrupted" | "Idle" | "LiveStopping" | "Settling">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
306
306
|
readonly _tag: "Idle";
|
|
307
307
|
}, {
|
|
308
308
|
readonly _tag: Tag;
|
|
@@ -321,46 +321,46 @@ declare const StopReceipt: {
|
|
|
321
321
|
}>;
|
|
322
322
|
readonly $match: {
|
|
323
323
|
<Cases extends {
|
|
324
|
-
readonly Idle: (args: {
|
|
325
|
-
readonly _tag: "Idle";
|
|
326
|
-
}) => any;
|
|
327
324
|
readonly Interrupted: (args: {
|
|
328
325
|
readonly _tag: "Interrupted";
|
|
329
326
|
}) => any;
|
|
327
|
+
readonly Idle: (args: {
|
|
328
|
+
readonly _tag: "Idle";
|
|
329
|
+
}) => any;
|
|
330
330
|
readonly LiveStopping: (args: {
|
|
331
331
|
readonly _tag: "LiveStopping";
|
|
332
332
|
}) => any;
|
|
333
333
|
readonly Settling: (args: {
|
|
334
334
|
readonly _tag: "Settling";
|
|
335
335
|
}) => any;
|
|
336
|
-
}>(cases: Cases): (value: StopReceipt$1) => import("effect/Unify").Unify<ReturnType<Cases["
|
|
336
|
+
}>(cases: Cases): (value: StopReceipt$1) => import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "Idle" | "LiveStopping" | "Settling"]>>;
|
|
337
337
|
<Cases extends {
|
|
338
|
-
readonly Idle: (args: {
|
|
339
|
-
readonly _tag: "Idle";
|
|
340
|
-
}) => any;
|
|
341
338
|
readonly Interrupted: (args: {
|
|
342
339
|
readonly _tag: "Interrupted";
|
|
343
340
|
}) => any;
|
|
341
|
+
readonly Idle: (args: {
|
|
342
|
+
readonly _tag: "Idle";
|
|
343
|
+
}) => any;
|
|
344
344
|
readonly LiveStopping: (args: {
|
|
345
345
|
readonly _tag: "LiveStopping";
|
|
346
346
|
}) => any;
|
|
347
347
|
readonly Settling: (args: {
|
|
348
348
|
readonly _tag: "Settling";
|
|
349
349
|
}) => any;
|
|
350
|
-
}>(value: StopReceipt$1, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["
|
|
350
|
+
}>(value: StopReceipt$1, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "Idle" | "LiveStopping" | "Settling"]>>;
|
|
351
351
|
};
|
|
352
352
|
};
|
|
353
353
|
declare const StopDecision: {
|
|
354
|
-
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
355
|
-
readonly _tag: "Idle";
|
|
356
|
-
}, "_tag">;
|
|
357
354
|
readonly Interrupted: Data.TaggedEnum.ConstructorFrom<{
|
|
358
355
|
readonly _tag: "Interrupted";
|
|
359
356
|
}, "_tag">;
|
|
360
357
|
readonly ParkCleared: Data.TaggedEnum.ConstructorFrom<{
|
|
361
358
|
readonly _tag: "ParkCleared";
|
|
362
359
|
}, "_tag">;
|
|
363
|
-
readonly
|
|
360
|
+
readonly Idle: Data.TaggedEnum.ConstructorFrom<{
|
|
361
|
+
readonly _tag: "Idle";
|
|
362
|
+
}, "_tag">;
|
|
363
|
+
readonly $is: <Tag extends "Interrupted" | "ParkCleared" | "Idle">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
364
364
|
readonly _tag: "Interrupted";
|
|
365
365
|
}, {
|
|
366
366
|
readonly _tag: Tag;
|
|
@@ -375,27 +375,27 @@ declare const StopDecision: {
|
|
|
375
375
|
}>;
|
|
376
376
|
readonly $match: {
|
|
377
377
|
<Cases extends {
|
|
378
|
-
readonly Idle: (args: {
|
|
379
|
-
readonly _tag: "Idle";
|
|
380
|
-
}) => any;
|
|
381
378
|
readonly Interrupted: (args: {
|
|
382
379
|
readonly _tag: "Interrupted";
|
|
383
380
|
}) => any;
|
|
384
381
|
readonly ParkCleared: (args: {
|
|
385
382
|
readonly _tag: "ParkCleared";
|
|
386
383
|
}) => any;
|
|
387
|
-
}>(cases: Cases): (value: StopDecision$1) => import("effect/Unify").Unify<ReturnType<Cases["Idle" | "Interrupted" | "ParkCleared"]>>;
|
|
388
|
-
<Cases extends {
|
|
389
384
|
readonly Idle: (args: {
|
|
390
385
|
readonly _tag: "Idle";
|
|
391
386
|
}) => any;
|
|
387
|
+
}>(cases: Cases): (value: StopDecision$1) => import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "ParkCleared" | "Idle"]>>;
|
|
388
|
+
<Cases extends {
|
|
392
389
|
readonly Interrupted: (args: {
|
|
393
390
|
readonly _tag: "Interrupted";
|
|
394
391
|
}) => any;
|
|
395
392
|
readonly ParkCleared: (args: {
|
|
396
393
|
readonly _tag: "ParkCleared";
|
|
397
394
|
}) => any;
|
|
398
|
-
|
|
395
|
+
readonly Idle: (args: {
|
|
396
|
+
readonly _tag: "Idle";
|
|
397
|
+
}) => any;
|
|
398
|
+
}>(value: StopDecision$1, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Interrupted" | "ParkCleared" | "Idle"]>>;
|
|
399
399
|
};
|
|
400
400
|
};
|
|
401
401
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolk-sdk/harness",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.85",
|
|
4
4
|
"description": "Domain-free agent run lifecycle: coordinator, store, inbox, and pluggable drivers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"effect": "4.0.0-rc.115",
|
|
82
|
-
"@yolk-sdk/agent": "^0.1.0-canary.
|
|
82
|
+
"@yolk-sdk/agent": "^0.1.0-canary.85"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"build": "tsdown",
|