yaml-flow 8.0.1 → 8.0.3
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/browser/asset-integrity.json +1 -1
- package/cli/node/board-live-cards-cli.js +1 -1
- package/cli/node/fs-board-adapter.js +1 -1
- package/examples/ARCHITECTURE.md +188 -0
- package/examples/board/demo-shell-with-server.html +2 -2
- package/examples/board-local/demo-shell-localstorage.html +3 -3
- package/examples/step-machine-cli/json/double-handler.js +20 -0
- package/examples/step-machine-cli/json/mixed-handlers.flow.json +118 -0
- package/examples/step-machine-cli/json/mixed-handlers.input.json +5 -0
- package/examples/step-machine-cli/json/scale-handler.js +13 -0
- package/examples/step-machine-cli/yaml/double-handler.js +20 -0
- package/examples/step-machine-cli/yaml/mixed-handlers.flow.yaml +94 -0
- package/examples/step-machine-cli/yaml/mixed-handlers.input.json +5 -0
- package/examples/step-machine-cli/yaml/scale-handler.js +13 -0
- package/lib/board-live-cards-node.cjs +1 -1
- package/lib/board-live-cards-node.js +1 -1
- package/package.json +4 -4
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.config/card-store-ref.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.config/chat-handler.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.config/outputs-store-ref.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.config/task-executor.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.state-snapshot/board/graph.json +0 -29
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime/.state-snapshot/board/lastJournalProcessedId.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/gandalf-runtime-out/.outputs/status.json +0 -25
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/cards/card-market-prices/computed_values.json +0 -67
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/cards/card-portfolio/computed_values.json +0 -1
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/cards/card-portfolio-value/computed_values.json +0 -52
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/data-objects/holdings.json +0 -22
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/data-objects/positions.json +0 -46
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/data-objects/quotes.json +0 -35
- package/examples/board/.demo-setup/run-1778665078572-3466-a8ay4k/board-default/runtime-out/.outputs/status.json +0 -113
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"normalizedQuotes": {
|
|
3
|
-
"quoteResponse": {
|
|
4
|
-
"result": [
|
|
5
|
-
{
|
|
6
|
-
"symbol": "AAPL",
|
|
7
|
-
"shortName": "Apple Inc.",
|
|
8
|
-
"regularMarketPrice": 294.8,
|
|
9
|
-
"regularMarketChange": 2.1200000000000045,
|
|
10
|
-
"regularMarketChangePercent": 0.7243405767391022
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"symbol": "NVDA",
|
|
14
|
-
"shortName": "NVIDIA Corporation",
|
|
15
|
-
"regularMarketPrice": 220.78,
|
|
16
|
-
"regularMarketChange": 1.3400000000000034,
|
|
17
|
-
"regularMarketChangePercent": 0.6106452788917259
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"symbol": "GOOG",
|
|
21
|
-
"shortName": "Alphabet Inc.",
|
|
22
|
-
"regularMarketPrice": 383.82,
|
|
23
|
-
"regularMarketChange": -2.9499999999999886,
|
|
24
|
-
"regularMarketChangePercent": -0.7627272022131987
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"symbol": "MSFT",
|
|
28
|
-
"shortName": "Microsoft Corporation",
|
|
29
|
-
"regularMarketPrice": 407.77,
|
|
30
|
-
"regularMarketChange": -4.890000000000043,
|
|
31
|
-
"regularMarketChangePercent": -1.1849949110648095
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"error": null
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"prices": [
|
|
38
|
-
{
|
|
39
|
-
"ticker": "AAPL",
|
|
40
|
-
"name": "Apple Inc.",
|
|
41
|
-
"price": 294.8,
|
|
42
|
-
"change": 2.12,
|
|
43
|
-
"chg_pct": 0.72
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"ticker": "NVDA",
|
|
47
|
-
"name": "NVIDIA Corporation",
|
|
48
|
-
"price": 220.78,
|
|
49
|
-
"change": 1.34,
|
|
50
|
-
"chg_pct": 0.61
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"ticker": "GOOG",
|
|
54
|
-
"name": "Alphabet Inc.",
|
|
55
|
-
"price": 383.82,
|
|
56
|
-
"change": -2.95,
|
|
57
|
-
"chg_pct": -0.76
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"ticker": "MSFT",
|
|
61
|
-
"name": "Microsoft Corporation",
|
|
62
|
-
"price": 407.77,
|
|
63
|
-
"change": -4.89,
|
|
64
|
-
"chg_pct": -1.18
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"positions": [
|
|
3
|
-
{
|
|
4
|
-
"ticker": "AAPL",
|
|
5
|
-
"quantity": 10,
|
|
6
|
-
"cost_basis": 150,
|
|
7
|
-
"price": 294.8,
|
|
8
|
-
"value": 2948,
|
|
9
|
-
"gain_$": 1448,
|
|
10
|
-
"gain_%": 96.53,
|
|
11
|
-
"chg_$": 21.2,
|
|
12
|
-
"chg_pct": 0.72
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"ticker": "NVDA",
|
|
16
|
-
"quantity": 5,
|
|
17
|
-
"cost_basis": 310,
|
|
18
|
-
"price": 220.78,
|
|
19
|
-
"value": 1103.9,
|
|
20
|
-
"gain_$": -446.1,
|
|
21
|
-
"gain_%": -28.78,
|
|
22
|
-
"chg_$": 6.7,
|
|
23
|
-
"chg_pct": 0.61
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"ticker": "GOOG",
|
|
27
|
-
"quantity": 3,
|
|
28
|
-
"cost_basis": 33,
|
|
29
|
-
"price": 383.82,
|
|
30
|
-
"value": 1151.46,
|
|
31
|
-
"gain_$": 1052.46,
|
|
32
|
-
"gain_%": 1063.09,
|
|
33
|
-
"chg_$": -8.85,
|
|
34
|
-
"chg_pct": -0.76
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"ticker": "MSFT",
|
|
38
|
-
"quantity": 1,
|
|
39
|
-
"cost_basis": 100,
|
|
40
|
-
"price": 407.77,
|
|
41
|
-
"value": 407.77,
|
|
42
|
-
"gain_$": 307.77,
|
|
43
|
-
"gain_%": 307.77,
|
|
44
|
-
"chg_$": -4.89,
|
|
45
|
-
"chg_pct": -1.18
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"totalValue": 5611.13,
|
|
49
|
-
"gainers": 2,
|
|
50
|
-
"losers": 2,
|
|
51
|
-
"gainersLosers": "2 up · 2 down"
|
|
52
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"ticker": "AAPL",
|
|
4
|
-
"quantity": 10,
|
|
5
|
-
"cost_basis": 150
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"ticker": "NVDA",
|
|
9
|
-
"quantity": 5,
|
|
10
|
-
"cost_basis": 310
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"ticker": "GOOG",
|
|
14
|
-
"quantity": 3,
|
|
15
|
-
"cost_basis": 33
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"ticker": "MSFT",
|
|
19
|
-
"quantity": 1,
|
|
20
|
-
"cost_basis": 100
|
|
21
|
-
}
|
|
22
|
-
]
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"ticker": "AAPL",
|
|
4
|
-
"quantity": 10,
|
|
5
|
-
"cost_basis": 150,
|
|
6
|
-
"price": 294.8,
|
|
7
|
-
"value": 2948,
|
|
8
|
-
"gain_$": 1448,
|
|
9
|
-
"gain_%": 96.53,
|
|
10
|
-
"chg_$": 21.2,
|
|
11
|
-
"chg_pct": 0.72
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"ticker": "NVDA",
|
|
15
|
-
"quantity": 5,
|
|
16
|
-
"cost_basis": 310,
|
|
17
|
-
"price": 220.78,
|
|
18
|
-
"value": 1103.9,
|
|
19
|
-
"gain_$": -446.1,
|
|
20
|
-
"gain_%": -28.78,
|
|
21
|
-
"chg_$": 6.7,
|
|
22
|
-
"chg_pct": 0.61
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"ticker": "GOOG",
|
|
26
|
-
"quantity": 3,
|
|
27
|
-
"cost_basis": 33,
|
|
28
|
-
"price": 383.82,
|
|
29
|
-
"value": 1151.46,
|
|
30
|
-
"gain_$": 1052.46,
|
|
31
|
-
"gain_%": 1063.09,
|
|
32
|
-
"chg_$": -8.85,
|
|
33
|
-
"chg_pct": -0.76
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"ticker": "MSFT",
|
|
37
|
-
"quantity": 1,
|
|
38
|
-
"cost_basis": 100,
|
|
39
|
-
"price": 407.77,
|
|
40
|
-
"value": 407.77,
|
|
41
|
-
"gain_$": 307.77,
|
|
42
|
-
"gain_%": 307.77,
|
|
43
|
-
"chg_$": -4.89,
|
|
44
|
-
"chg_pct": -1.18
|
|
45
|
-
}
|
|
46
|
-
]
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"quoteResponse": {
|
|
3
|
-
"result": [
|
|
4
|
-
{
|
|
5
|
-
"symbol": "AAPL",
|
|
6
|
-
"shortName": "Apple Inc.",
|
|
7
|
-
"regularMarketPrice": 294.8,
|
|
8
|
-
"regularMarketChange": 2.1200000000000045,
|
|
9
|
-
"regularMarketChangePercent": 0.7243405767391022
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"symbol": "NVDA",
|
|
13
|
-
"shortName": "NVIDIA Corporation",
|
|
14
|
-
"regularMarketPrice": 220.78,
|
|
15
|
-
"regularMarketChange": 1.3400000000000034,
|
|
16
|
-
"regularMarketChangePercent": 0.6106452788917259
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"symbol": "GOOG",
|
|
20
|
-
"shortName": "Alphabet Inc.",
|
|
21
|
-
"regularMarketPrice": 383.82,
|
|
22
|
-
"regularMarketChange": -2.9499999999999886,
|
|
23
|
-
"regularMarketChangePercent": -0.7627272022131987
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"symbol": "MSFT",
|
|
27
|
-
"shortName": "Microsoft Corporation",
|
|
28
|
-
"regularMarketPrice": 407.77,
|
|
29
|
-
"regularMarketChange": -4.890000000000043,
|
|
30
|
-
"regularMarketChangePercent": -1.1849949110648095
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"error": null
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": "v1",
|
|
3
|
-
"meta": {
|
|
4
|
-
"board": {
|
|
5
|
-
"path": "b64:eyJraW5kIjoiZnMtcGF0aCIsInZhbHVlIjoiL2hvbWUvcnVubmVyL3dvcmsveWFtbC1mbG93L3lhbWwtZmxvdy9wdWJsaWMtZXhhbXBsZXMvYm9hcmQvLmRlbW8tc2V0dXAvcnVuLTE3Nzg2NjUwNzg1NzItMzQ2Ni1hOGF5NGsvYm9hcmQtZGVmYXVsdC9ydW50aW1lIn0"
|
|
6
|
-
}
|
|
7
|
-
},
|
|
8
|
-
"summary": {
|
|
9
|
-
"card_count": 3,
|
|
10
|
-
"completed": 3,
|
|
11
|
-
"eligible": 0,
|
|
12
|
-
"pending": 0,
|
|
13
|
-
"blocked": 0,
|
|
14
|
-
"unresolved": 0,
|
|
15
|
-
"failed": 0,
|
|
16
|
-
"in_progress": 0,
|
|
17
|
-
"orphan_cards": 0,
|
|
18
|
-
"topology": {
|
|
19
|
-
"edge_count": 2,
|
|
20
|
-
"max_fan_out_card": "card-portfolio",
|
|
21
|
-
"max_fan_out": 2
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"cards": [
|
|
25
|
-
{
|
|
26
|
-
"name": "card-market-prices",
|
|
27
|
-
"status": "completed",
|
|
28
|
-
"requires": [
|
|
29
|
-
"holdings"
|
|
30
|
-
],
|
|
31
|
-
"requires_satisfied": [
|
|
32
|
-
"holdings"
|
|
33
|
-
],
|
|
34
|
-
"requires_missing": [],
|
|
35
|
-
"provides_declared": [
|
|
36
|
-
"quotes"
|
|
37
|
-
],
|
|
38
|
-
"provides_runtime": [
|
|
39
|
-
"quotes"
|
|
40
|
-
],
|
|
41
|
-
"blocked_by": [],
|
|
42
|
-
"unblocks": [
|
|
43
|
-
"card-portfolio-value"
|
|
44
|
-
],
|
|
45
|
-
"runtime": {
|
|
46
|
-
"attempt_count": 2,
|
|
47
|
-
"restart_count": 0,
|
|
48
|
-
"in_progress_since": null,
|
|
49
|
-
"last_transition_at": "2026-05-13T09:38:00.461Z",
|
|
50
|
-
"last_completed_at": "2026-05-13T09:38:00.461Z",
|
|
51
|
-
"last_restarted_at": "2026-05-13T09:37:59.852Z",
|
|
52
|
-
"status_age_ms": 0
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "card-portfolio",
|
|
57
|
-
"status": "completed",
|
|
58
|
-
"requires": [],
|
|
59
|
-
"requires_satisfied": [],
|
|
60
|
-
"requires_missing": [],
|
|
61
|
-
"provides_declared": [
|
|
62
|
-
"holdings"
|
|
63
|
-
],
|
|
64
|
-
"provides_runtime": [
|
|
65
|
-
"holdings"
|
|
66
|
-
],
|
|
67
|
-
"blocked_by": [],
|
|
68
|
-
"unblocks": [
|
|
69
|
-
"card-market-prices",
|
|
70
|
-
"card-portfolio-value"
|
|
71
|
-
],
|
|
72
|
-
"runtime": {
|
|
73
|
-
"attempt_count": 2,
|
|
74
|
-
"restart_count": 0,
|
|
75
|
-
"in_progress_since": null,
|
|
76
|
-
"last_transition_at": "2026-05-13T09:37:59.844Z",
|
|
77
|
-
"last_completed_at": "2026-05-13T09:37:59.844Z",
|
|
78
|
-
"last_restarted_at": "2026-05-13T09:37:59.844Z",
|
|
79
|
-
"status_age_ms": 0
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "card-portfolio-value",
|
|
84
|
-
"status": "completed",
|
|
85
|
-
"requires": [
|
|
86
|
-
"holdings",
|
|
87
|
-
"quotes"
|
|
88
|
-
],
|
|
89
|
-
"requires_satisfied": [
|
|
90
|
-
"holdings",
|
|
91
|
-
"quotes"
|
|
92
|
-
],
|
|
93
|
-
"requires_missing": [],
|
|
94
|
-
"provides_declared": [
|
|
95
|
-
"positions"
|
|
96
|
-
],
|
|
97
|
-
"provides_runtime": [
|
|
98
|
-
"positions"
|
|
99
|
-
],
|
|
100
|
-
"blocked_by": [],
|
|
101
|
-
"unblocks": [],
|
|
102
|
-
"runtime": {
|
|
103
|
-
"attempt_count": 3,
|
|
104
|
-
"restart_count": 0,
|
|
105
|
-
"in_progress_since": null,
|
|
106
|
-
"last_transition_at": "2026-05-13T09:38:00.466Z",
|
|
107
|
-
"last_completed_at": "2026-05-13T09:38:00.466Z",
|
|
108
|
-
"last_restarted_at": "2026-05-13T09:38:00.466Z",
|
|
109
|
-
"status_age_ms": 0
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
}
|