@almadar/std 16.234.0 → 16.236.0
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/behaviors/behaviors-registry.json +4402 -1898
- package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +25 -41
- package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +0 -24
- package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -17
- package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +17 -24
- package/behaviors/lolo/infra/atoms/std-data-import.lolo +8 -11
- package/behaviors/lolo/infra/atoms/std-game-clock.lolo +2 -0
- package/behaviors/lolo/infra/atoms/std-knowledge-loop.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -1
- package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
- package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +20 -11
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +23 -11
- package/behaviors/lolo/infra/atoms/std-rate-limiter.lolo +84 -22
- package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +1 -6
- package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +3 -1
- package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +0 -4
- package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +0 -4
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +12 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +55 -9
- package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +6 -2
- package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +19 -14
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +77 -27
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +44 -28
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +7 -3
- package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +25 -13
- package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +5 -0
- package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +7 -3
- package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
- package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -0
- package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +20 -4
- package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +46 -32
- package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +16 -12
- package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +10 -1
- package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
- package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +78 -16
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +15 -10
- package/behaviors/lolo/ui/core/atoms/std-stats.lolo +5 -5
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/std-thread.lolo +41 -73
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +20 -11
- package/behaviors/lolo/ui/core/atoms/std-vote.lolo +0 -4
- package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
- package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +21 -0
- package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +11 -1
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +13 -8
- package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +7 -2
- package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +2 -2
- package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +8 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +30 -9
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +8 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +13 -0
- package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +11 -1
- package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +44 -15
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +66 -12
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +9 -3
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +9 -3
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +18 -9
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +55 -10
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +55 -10
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +8 -3
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +8 -3
- package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +2 -44
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +6 -1
- package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +8 -2
- package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +2 -2
- package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +2 -66
- package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +6 -6
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +124 -67
- package/behaviors/registry/infra/atoms/std-audit-capture.orb +0 -8
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +0 -84
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -44
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +124 -55
- package/behaviors/registry/infra/atoms/std-data-import.orb +12 -11
- package/behaviors/registry/infra/atoms/std-game-clock.orb +31 -0
- package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +0 -57
- package/behaviors/registry/infra/atoms/std-lifecycle.orb +43 -0
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +126 -12
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +128 -12
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +287 -72
- package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +5 -8
- package/behaviors/registry/ml/atoms/std-graph-builder.orb +11 -0
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +0 -7
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +0 -7
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +82 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +417 -9
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +53 -1
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +209 -19
- package/behaviors/registry/ui/core/atoms/std-board.orb +242 -61
- package/behaviors/registry/ui/core/atoms/std-browse.orb +295 -41
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +96 -2
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +122 -15
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +11 -0
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +109 -2
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
- package/behaviors/registry/ui/core/atoms/std-geosearch.orb +5 -0
- package/behaviors/registry/ui/core/atoms/std-graphs.orb +173 -66
- package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-list.orb +226 -34
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +204 -11
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +89 -4
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +419 -19
- package/behaviors/registry/ui/core/atoms/std-selection.orb +140 -10
- package/behaviors/registry/ui/core/atoms/std-stats.orb +73 -1
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +3 -0
- package/behaviors/registry/ui/core/atoms/std-thread.orb +190 -115
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +127 -13
- package/behaviors/registry/ui/core/atoms/std-vote.orb +0 -9
- package/behaviors/registry/ui/core/atoms/std-wizard.orb +33 -3
- package/behaviors/registry/ui/core/atoms/ui-presence.orb +59 -0
- package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-chart.orb +68 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +291 -8
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +87 -2
- package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +3 -2
- package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +32 -0
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +81 -24
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +121 -3
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-drawer.orb +40 -0
- package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +57 -1
- package/behaviors/registry/ui/core/molecules/ui-meter.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-modal.orb +8 -0
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +60 -1
- package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +393 -23
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +282 -20
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +130 -3
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +130 -3
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +367 -9
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +104 -13
- package/behaviors/registry/ui/core/organisms/ui-form.orb +104 -13
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +121 -3
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +121 -3
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -172
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -1
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +99 -2
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -0
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +0 -7
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -807
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +0 -7
- package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +0 -7
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +6 -0
- package/canonical-operators.json +18 -1
- package/dist/behaviors/exports-reader.js +7662 -3762
- package/dist/behaviors/functions/index.d.ts +309 -104
- package/dist/behaviors/functions/index.js +7651 -3762
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +7663 -3763
- package/dist/behaviors/query.js +7662 -3762
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +35 -27
- package/dist/behaviors-registry.json +4402 -1898
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7697 -3763
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +612 -352
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/array.js +15 -0
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/async.js +9 -0
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +10 -0
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +34 -0
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +5 -2
- package/dist/registry.js +55 -1
- package/dist/{types-DwAW4Nni.d.ts → types-DLx38UFZ.d.ts} +31 -4
- package/package.json +2 -2
package/dist/modules/anim.d.ts
CHANGED
package/dist/modules/array.d.ts
CHANGED
package/dist/modules/array.js
CHANGED
|
@@ -73,6 +73,7 @@ var ARRAY_OPERATORS = {
|
|
|
73
73
|
description: "Extract subarray",
|
|
74
74
|
hasSideEffects: false,
|
|
75
75
|
returnType: "array",
|
|
76
|
+
returnSemantics: "identity-of-arg<0>",
|
|
76
77
|
params: [
|
|
77
78
|
{ name: "arr", type: "array", description: "The array" },
|
|
78
79
|
{ name: "start", type: "number", description: "Start index" },
|
|
@@ -88,6 +89,7 @@ var ARRAY_OPERATORS = {
|
|
|
88
89
|
description: "Concatenate arrays",
|
|
89
90
|
hasSideEffects: false,
|
|
90
91
|
returnType: "array",
|
|
92
|
+
returnSemantics: "union-of-args",
|
|
91
93
|
params: [{ name: "...arrs", type: "array[]", description: "Arrays to concatenate" }],
|
|
92
94
|
example: '["array/concat", [1, 2], [3, 4]] // => [1, 2, 3, 4]'
|
|
93
95
|
},
|
|
@@ -99,6 +101,7 @@ var ARRAY_OPERATORS = {
|
|
|
99
101
|
description: "Add item to end (returns new array)",
|
|
100
102
|
hasSideEffects: false,
|
|
101
103
|
returnType: "array",
|
|
104
|
+
returnSemantics: "union-of-args<0,1>",
|
|
102
105
|
params: [
|
|
103
106
|
{ name: "arr", type: "array", description: "The array" },
|
|
104
107
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -113,6 +116,7 @@ var ARRAY_OPERATORS = {
|
|
|
113
116
|
description: "Add item to start (returns new array)",
|
|
114
117
|
hasSideEffects: false,
|
|
115
118
|
returnType: "array",
|
|
119
|
+
returnSemantics: "union-of-args<0,1>",
|
|
116
120
|
params: [
|
|
117
121
|
{ name: "arr", type: "array", description: "The array" },
|
|
118
122
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -127,6 +131,7 @@ var ARRAY_OPERATORS = {
|
|
|
127
131
|
description: "Insert item at index (returns new array)",
|
|
128
132
|
hasSideEffects: false,
|
|
129
133
|
returnType: "array",
|
|
134
|
+
returnSemantics: "union-of-args<0,2>",
|
|
130
135
|
params: [
|
|
131
136
|
{ name: "arr", type: "array", description: "The array" },
|
|
132
137
|
{ name: "index", type: "number", description: "Index to insert at" },
|
|
@@ -142,6 +147,7 @@ var ARRAY_OPERATORS = {
|
|
|
142
147
|
description: "Remove item at index (returns new array)",
|
|
143
148
|
hasSideEffects: false,
|
|
144
149
|
returnType: "array",
|
|
150
|
+
returnSemantics: "identity-of-arg<0>",
|
|
145
151
|
params: [
|
|
146
152
|
{ name: "arr", type: "array", description: "The array" },
|
|
147
153
|
{ name: "index", type: "number", description: "Index to remove" }
|
|
@@ -156,6 +162,7 @@ var ARRAY_OPERATORS = {
|
|
|
156
162
|
description: "Remove first matching item (returns new array)",
|
|
157
163
|
hasSideEffects: false,
|
|
158
164
|
returnType: "array",
|
|
165
|
+
returnSemantics: "identity-of-arg<0>",
|
|
159
166
|
params: [
|
|
160
167
|
{ name: "arr", type: "array", description: "The array" },
|
|
161
168
|
{ name: "item", type: "any", description: "Item to remove" }
|
|
@@ -170,6 +177,7 @@ var ARRAY_OPERATORS = {
|
|
|
170
177
|
description: "Reverse array order (returns new array)",
|
|
171
178
|
hasSideEffects: false,
|
|
172
179
|
returnType: "array",
|
|
180
|
+
returnSemantics: "identity-of-arg<0>",
|
|
173
181
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
174
182
|
example: '["array/reverse", [1, 2, 3]] // => [3, 2, 1]'
|
|
175
183
|
},
|
|
@@ -181,6 +189,7 @@ var ARRAY_OPERATORS = {
|
|
|
181
189
|
description: "Sort array (returns new array)",
|
|
182
190
|
hasSideEffects: false,
|
|
183
191
|
returnType: "array",
|
|
192
|
+
returnSemantics: "identity-of-arg<0>",
|
|
184
193
|
params: [
|
|
185
194
|
{ name: "arr", type: "array", description: "The array" },
|
|
186
195
|
{ name: "key", type: "string", description: "Field to sort by (for objects)", optional: true },
|
|
@@ -196,6 +205,7 @@ var ARRAY_OPERATORS = {
|
|
|
196
205
|
description: "Randomly shuffle array (returns new array)",
|
|
197
206
|
hasSideEffects: false,
|
|
198
207
|
returnType: "array",
|
|
208
|
+
returnSemantics: "identity-of-arg<0>",
|
|
199
209
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
200
210
|
example: '["array/shuffle", [1, 2, 3, 4, 5]]'
|
|
201
211
|
},
|
|
@@ -207,6 +217,7 @@ var ARRAY_OPERATORS = {
|
|
|
207
217
|
description: "Remove duplicates (returns new array)",
|
|
208
218
|
hasSideEffects: false,
|
|
209
219
|
returnType: "array",
|
|
220
|
+
returnSemantics: "identity-of-arg<0>",
|
|
210
221
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
211
222
|
example: '["array/unique", [1, 2, 2, 3, 1]] // => [1, 2, 3]'
|
|
212
223
|
},
|
|
@@ -507,6 +518,7 @@ var ARRAY_OPERATORS = {
|
|
|
507
518
|
description: "Take first n elements",
|
|
508
519
|
hasSideEffects: false,
|
|
509
520
|
returnType: "array",
|
|
521
|
+
returnSemantics: "identity-of-arg<0>",
|
|
510
522
|
params: [
|
|
511
523
|
{ name: "arr", type: "array", description: "The array" },
|
|
512
524
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -521,6 +533,7 @@ var ARRAY_OPERATORS = {
|
|
|
521
533
|
description: "Skip first n elements",
|
|
522
534
|
hasSideEffects: false,
|
|
523
535
|
returnType: "array",
|
|
536
|
+
returnSemantics: "identity-of-arg<0>",
|
|
524
537
|
params: [
|
|
525
538
|
{ name: "arr", type: "array", description: "The array" },
|
|
526
539
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
|
@@ -535,6 +548,7 @@ var ARRAY_OPERATORS = {
|
|
|
535
548
|
description: "Take last n elements",
|
|
536
549
|
hasSideEffects: false,
|
|
537
550
|
returnType: "array",
|
|
551
|
+
returnSemantics: "identity-of-arg<0>",
|
|
538
552
|
params: [
|
|
539
553
|
{ name: "arr", type: "array", description: "The array" },
|
|
540
554
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -549,6 +563,7 @@ var ARRAY_OPERATORS = {
|
|
|
549
563
|
description: "Skip last n elements",
|
|
550
564
|
hasSideEffects: false,
|
|
551
565
|
returnType: "array",
|
|
566
|
+
returnSemantics: "identity-of-arg<0>",
|
|
552
567
|
params: [
|
|
553
568
|
{ name: "arr", type: "array", description: "The array" },
|
|
554
569
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
package/dist/modules/async.d.ts
CHANGED
package/dist/modules/async.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// modules/async.ts
|
|
2
2
|
var ASYNC_OPERATORS = {
|
|
3
3
|
"async/delay": {
|
|
4
|
+
visual: { form: "delay" },
|
|
4
5
|
module: "async",
|
|
5
6
|
category: "std-async",
|
|
6
7
|
minArity: 1,
|
|
@@ -16,6 +17,7 @@ var ASYNC_OPERATORS = {
|
|
|
16
17
|
example: '["async/delay", 2000, ["emit", "RETRY"]] // Wait 2s then emit'
|
|
17
18
|
},
|
|
18
19
|
"async/interval": {
|
|
20
|
+
visual: { form: "delay" },
|
|
19
21
|
module: "async",
|
|
20
22
|
category: "std-async",
|
|
21
23
|
minArity: 2,
|
|
@@ -31,6 +33,7 @@ var ASYNC_OPERATORS = {
|
|
|
31
33
|
example: '["async/interval", 5000, ["emit", "POLL_TICK"]] // Emit every 5s'
|
|
32
34
|
},
|
|
33
35
|
"async/timeout": {
|
|
36
|
+
visual: { form: "delay" },
|
|
34
37
|
module: "async",
|
|
35
38
|
category: "std-async",
|
|
36
39
|
minArity: 2,
|
|
@@ -46,6 +49,7 @@ var ASYNC_OPERATORS = {
|
|
|
46
49
|
example: '["async/timeout", ["call", "api", "fetchData"], 5000]'
|
|
47
50
|
},
|
|
48
51
|
"async/debounce": {
|
|
52
|
+
visual: { form: "delay" },
|
|
49
53
|
module: "async",
|
|
50
54
|
category: "std-async",
|
|
51
55
|
minArity: 2,
|
|
@@ -61,6 +65,7 @@ var ASYNC_OPERATORS = {
|
|
|
61
65
|
example: '["async/debounce", "SEARCH", 300]'
|
|
62
66
|
},
|
|
63
67
|
"async/throttle": {
|
|
68
|
+
visual: { form: "delay" },
|
|
64
69
|
module: "async",
|
|
65
70
|
category: "std-async",
|
|
66
71
|
minArity: 2,
|
|
@@ -76,6 +81,7 @@ var ASYNC_OPERATORS = {
|
|
|
76
81
|
example: '["async/throttle", "SCROLL", 100]'
|
|
77
82
|
},
|
|
78
83
|
"async/retry": {
|
|
84
|
+
visual: { form: "delay" },
|
|
79
85
|
module: "async",
|
|
80
86
|
category: "std-async",
|
|
81
87
|
minArity: 2,
|
|
@@ -93,6 +99,7 @@ var ASYNC_OPERATORS = {
|
|
|
93
99
|
{ "attempts": 3, "backoff": "exponential", "baseDelay": 1000 }]`
|
|
94
100
|
},
|
|
95
101
|
"async/race": {
|
|
102
|
+
visual: { form: "parallel" },
|
|
96
103
|
module: "async",
|
|
97
104
|
category: "std-async",
|
|
98
105
|
minArity: 2,
|
|
@@ -105,6 +112,7 @@ var ASYNC_OPERATORS = {
|
|
|
105
112
|
example: '["async/race", ["call", "api1"], ["call", "api2"]]'
|
|
106
113
|
},
|
|
107
114
|
"async/all": {
|
|
115
|
+
visual: { form: "parallel" },
|
|
108
116
|
module: "async",
|
|
109
117
|
category: "std-async",
|
|
110
118
|
minArity: 2,
|
|
@@ -117,6 +125,7 @@ var ASYNC_OPERATORS = {
|
|
|
117
125
|
example: '["async/all", ["call", "api1"], ["call", "api2"]]'
|
|
118
126
|
},
|
|
119
127
|
"async/sequence": {
|
|
128
|
+
visual: { form: "ladder" },
|
|
120
129
|
module: "async",
|
|
121
130
|
category: "std-async",
|
|
122
131
|
minArity: 2,
|
package/dist/modules/core.d.ts
CHANGED
package/dist/modules/core.js
CHANGED
|
@@ -205,6 +205,7 @@ var CORE_OPERATORS = {
|
|
|
205
205
|
},
|
|
206
206
|
// --- logic ------------------------------------------------------------------
|
|
207
207
|
and: {
|
|
208
|
+
visual: { form: "series" },
|
|
208
209
|
module: "core",
|
|
209
210
|
category: "logic",
|
|
210
211
|
minArity: 2,
|
|
@@ -217,6 +218,7 @@ var CORE_OPERATORS = {
|
|
|
217
218
|
example: '["and", ["=", "active", "active"], [">", 5, 0]]'
|
|
218
219
|
},
|
|
219
220
|
or: {
|
|
221
|
+
visual: { form: "parallel" },
|
|
220
222
|
module: "core",
|
|
221
223
|
category: "logic",
|
|
222
224
|
minArity: 2,
|
|
@@ -229,6 +231,7 @@ var CORE_OPERATORS = {
|
|
|
229
231
|
example: '["or", ["=", "admin", "user"], ["=", "admin", "owner"]]'
|
|
230
232
|
},
|
|
231
233
|
not: {
|
|
234
|
+
visual: { form: "invert" },
|
|
232
235
|
module: "core",
|
|
233
236
|
category: "logic",
|
|
234
237
|
minArity: 1,
|
|
@@ -240,6 +243,7 @@ var CORE_OPERATORS = {
|
|
|
240
243
|
example: '["not", false]'
|
|
241
244
|
},
|
|
242
245
|
if: {
|
|
246
|
+
visual: { form: "branch" },
|
|
243
247
|
module: "core",
|
|
244
248
|
category: "logic",
|
|
245
249
|
minArity: 3,
|
|
@@ -257,6 +261,7 @@ var CORE_OPERATORS = {
|
|
|
257
261
|
},
|
|
258
262
|
// --- control ----------------------------------------------------------------
|
|
259
263
|
let: {
|
|
264
|
+
visual: { form: "scope" },
|
|
260
265
|
module: "core",
|
|
261
266
|
category: "control",
|
|
262
267
|
minArity: 2,
|
|
@@ -264,6 +269,7 @@ var CORE_OPERATORS = {
|
|
|
264
269
|
description: "Bind local variables for a body expression",
|
|
265
270
|
hasSideEffects: false,
|
|
266
271
|
returnType: "any",
|
|
272
|
+
returnSemantics: "identity-of-arg<1>",
|
|
267
273
|
params: [
|
|
268
274
|
{
|
|
269
275
|
name: "bindings",
|
|
@@ -275,6 +281,7 @@ var CORE_OPERATORS = {
|
|
|
275
281
|
example: '["let", [["x", 10]], ["+", "x", 1]]'
|
|
276
282
|
},
|
|
277
283
|
do: {
|
|
284
|
+
visual: { form: "ladder" },
|
|
278
285
|
module: "core",
|
|
279
286
|
category: "control",
|
|
280
287
|
minArity: 1,
|
|
@@ -282,6 +289,7 @@ var CORE_OPERATORS = {
|
|
|
282
289
|
description: "Sequential execution of multiple effects/expressions",
|
|
283
290
|
hasSideEffects: false,
|
|
284
291
|
returnType: "any",
|
|
292
|
+
returnSemantics: "last-of-args",
|
|
285
293
|
params: [{ name: "...exprs", type: SEXPR, description: "Effects/expressions to run in order" }],
|
|
286
294
|
example: '["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]'
|
|
287
295
|
},
|
|
@@ -297,6 +305,7 @@ var CORE_OPERATORS = {
|
|
|
297
305
|
example: '["list", "path", "method", "status"] // => ["path", "method", "status"]'
|
|
298
306
|
},
|
|
299
307
|
when: {
|
|
308
|
+
visual: { form: "branch" },
|
|
300
309
|
module: "core",
|
|
301
310
|
category: "control",
|
|
302
311
|
minArity: 2,
|
|
@@ -311,6 +320,7 @@ var CORE_OPERATORS = {
|
|
|
311
320
|
example: '["when", [">", "@entity.health", 0], ["emit", "ALIVE"]]'
|
|
312
321
|
},
|
|
313
322
|
fn: {
|
|
323
|
+
visual: { form: "template" },
|
|
314
324
|
module: "core",
|
|
315
325
|
category: "control",
|
|
316
326
|
minArity: 2,
|
package/dist/modules/data.d.ts
CHANGED
package/dist/modules/ease.d.ts
CHANGED
package/dist/modules/format.d.ts
CHANGED
package/dist/modules/geo.d.ts
CHANGED
package/dist/modules/graph.d.ts
CHANGED
package/dist/modules/grid.d.ts
CHANGED
package/dist/modules/index.d.ts
CHANGED
|
@@ -32,4 +32,4 @@ export { MEMORY_OPERATORS, getMemoryOperators } from './memory.js';
|
|
|
32
32
|
export { TRACE_OPERATORS, getTraceOperators } from './trace.js';
|
|
33
33
|
export { BEHAVIOR_OPERATORS, getBehaviorOperators } from './behavior.js';
|
|
34
34
|
export { INTEGRATION_OPERATORS, getIntegrationOperators } from './integration.js';
|
|
35
|
-
import '../types-
|
|
35
|
+
import '../types-DLx38UFZ.js';
|
package/dist/modules/index.js
CHANGED
|
@@ -205,6 +205,7 @@ var CORE_OPERATORS = {
|
|
|
205
205
|
},
|
|
206
206
|
// --- logic ------------------------------------------------------------------
|
|
207
207
|
and: {
|
|
208
|
+
visual: { form: "series" },
|
|
208
209
|
module: "core",
|
|
209
210
|
category: "logic",
|
|
210
211
|
minArity: 2,
|
|
@@ -217,6 +218,7 @@ var CORE_OPERATORS = {
|
|
|
217
218
|
example: '["and", ["=", "active", "active"], [">", 5, 0]]'
|
|
218
219
|
},
|
|
219
220
|
or: {
|
|
221
|
+
visual: { form: "parallel" },
|
|
220
222
|
module: "core",
|
|
221
223
|
category: "logic",
|
|
222
224
|
minArity: 2,
|
|
@@ -229,6 +231,7 @@ var CORE_OPERATORS = {
|
|
|
229
231
|
example: '["or", ["=", "admin", "user"], ["=", "admin", "owner"]]'
|
|
230
232
|
},
|
|
231
233
|
not: {
|
|
234
|
+
visual: { form: "invert" },
|
|
232
235
|
module: "core",
|
|
233
236
|
category: "logic",
|
|
234
237
|
minArity: 1,
|
|
@@ -240,6 +243,7 @@ var CORE_OPERATORS = {
|
|
|
240
243
|
example: '["not", false]'
|
|
241
244
|
},
|
|
242
245
|
if: {
|
|
246
|
+
visual: { form: "branch" },
|
|
243
247
|
module: "core",
|
|
244
248
|
category: "logic",
|
|
245
249
|
minArity: 3,
|
|
@@ -257,6 +261,7 @@ var CORE_OPERATORS = {
|
|
|
257
261
|
},
|
|
258
262
|
// --- control ----------------------------------------------------------------
|
|
259
263
|
let: {
|
|
264
|
+
visual: { form: "scope" },
|
|
260
265
|
module: "core",
|
|
261
266
|
category: "control",
|
|
262
267
|
minArity: 2,
|
|
@@ -264,6 +269,7 @@ var CORE_OPERATORS = {
|
|
|
264
269
|
description: "Bind local variables for a body expression",
|
|
265
270
|
hasSideEffects: false,
|
|
266
271
|
returnType: "any",
|
|
272
|
+
returnSemantics: "identity-of-arg<1>",
|
|
267
273
|
params: [
|
|
268
274
|
{
|
|
269
275
|
name: "bindings",
|
|
@@ -275,6 +281,7 @@ var CORE_OPERATORS = {
|
|
|
275
281
|
example: '["let", [["x", 10]], ["+", "x", 1]]'
|
|
276
282
|
},
|
|
277
283
|
do: {
|
|
284
|
+
visual: { form: "ladder" },
|
|
278
285
|
module: "core",
|
|
279
286
|
category: "control",
|
|
280
287
|
minArity: 1,
|
|
@@ -282,6 +289,7 @@ var CORE_OPERATORS = {
|
|
|
282
289
|
description: "Sequential execution of multiple effects/expressions",
|
|
283
290
|
hasSideEffects: false,
|
|
284
291
|
returnType: "any",
|
|
292
|
+
returnSemantics: "last-of-args",
|
|
285
293
|
params: [{ name: "...exprs", type: SEXPR, description: "Effects/expressions to run in order" }],
|
|
286
294
|
example: '["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]'
|
|
287
295
|
},
|
|
@@ -297,6 +305,7 @@ var CORE_OPERATORS = {
|
|
|
297
305
|
example: '["list", "path", "method", "status"] // => ["path", "method", "status"]'
|
|
298
306
|
},
|
|
299
307
|
when: {
|
|
308
|
+
visual: { form: "branch" },
|
|
300
309
|
module: "core",
|
|
301
310
|
category: "control",
|
|
302
311
|
minArity: 2,
|
|
@@ -311,6 +320,7 @@ var CORE_OPERATORS = {
|
|
|
311
320
|
example: '["when", [">", "@entity.health", 0], ["emit", "ALIVE"]]'
|
|
312
321
|
},
|
|
313
322
|
fn: {
|
|
323
|
+
visual: { form: "template" },
|
|
314
324
|
module: "core",
|
|
315
325
|
category: "control",
|
|
316
326
|
minArity: 2,
|
|
@@ -1632,6 +1642,7 @@ var ARRAY_OPERATORS = {
|
|
|
1632
1642
|
description: "Extract subarray",
|
|
1633
1643
|
hasSideEffects: false,
|
|
1634
1644
|
returnType: "array",
|
|
1645
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1635
1646
|
params: [
|
|
1636
1647
|
{ name: "arr", type: "array", description: "The array" },
|
|
1637
1648
|
{ name: "start", type: "number", description: "Start index" },
|
|
@@ -1647,6 +1658,7 @@ var ARRAY_OPERATORS = {
|
|
|
1647
1658
|
description: "Concatenate arrays",
|
|
1648
1659
|
hasSideEffects: false,
|
|
1649
1660
|
returnType: "array",
|
|
1661
|
+
returnSemantics: "union-of-args",
|
|
1650
1662
|
params: [{ name: "...arrs", type: "array[]", description: "Arrays to concatenate" }],
|
|
1651
1663
|
example: '["array/concat", [1, 2], [3, 4]] // => [1, 2, 3, 4]'
|
|
1652
1664
|
},
|
|
@@ -1658,6 +1670,7 @@ var ARRAY_OPERATORS = {
|
|
|
1658
1670
|
description: "Add item to end (returns new array)",
|
|
1659
1671
|
hasSideEffects: false,
|
|
1660
1672
|
returnType: "array",
|
|
1673
|
+
returnSemantics: "union-of-args<0,1>",
|
|
1661
1674
|
params: [
|
|
1662
1675
|
{ name: "arr", type: "array", description: "The array" },
|
|
1663
1676
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -1672,6 +1685,7 @@ var ARRAY_OPERATORS = {
|
|
|
1672
1685
|
description: "Add item to start (returns new array)",
|
|
1673
1686
|
hasSideEffects: false,
|
|
1674
1687
|
returnType: "array",
|
|
1688
|
+
returnSemantics: "union-of-args<0,1>",
|
|
1675
1689
|
params: [
|
|
1676
1690
|
{ name: "arr", type: "array", description: "The array" },
|
|
1677
1691
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -1686,6 +1700,7 @@ var ARRAY_OPERATORS = {
|
|
|
1686
1700
|
description: "Insert item at index (returns new array)",
|
|
1687
1701
|
hasSideEffects: false,
|
|
1688
1702
|
returnType: "array",
|
|
1703
|
+
returnSemantics: "union-of-args<0,2>",
|
|
1689
1704
|
params: [
|
|
1690
1705
|
{ name: "arr", type: "array", description: "The array" },
|
|
1691
1706
|
{ name: "index", type: "number", description: "Index to insert at" },
|
|
@@ -1701,6 +1716,7 @@ var ARRAY_OPERATORS = {
|
|
|
1701
1716
|
description: "Remove item at index (returns new array)",
|
|
1702
1717
|
hasSideEffects: false,
|
|
1703
1718
|
returnType: "array",
|
|
1719
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1704
1720
|
params: [
|
|
1705
1721
|
{ name: "arr", type: "array", description: "The array" },
|
|
1706
1722
|
{ name: "index", type: "number", description: "Index to remove" }
|
|
@@ -1715,6 +1731,7 @@ var ARRAY_OPERATORS = {
|
|
|
1715
1731
|
description: "Remove first matching item (returns new array)",
|
|
1716
1732
|
hasSideEffects: false,
|
|
1717
1733
|
returnType: "array",
|
|
1734
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1718
1735
|
params: [
|
|
1719
1736
|
{ name: "arr", type: "array", description: "The array" },
|
|
1720
1737
|
{ name: "item", type: "any", description: "Item to remove" }
|
|
@@ -1729,6 +1746,7 @@ var ARRAY_OPERATORS = {
|
|
|
1729
1746
|
description: "Reverse array order (returns new array)",
|
|
1730
1747
|
hasSideEffects: false,
|
|
1731
1748
|
returnType: "array",
|
|
1749
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1732
1750
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1733
1751
|
example: '["array/reverse", [1, 2, 3]] // => [3, 2, 1]'
|
|
1734
1752
|
},
|
|
@@ -1740,6 +1758,7 @@ var ARRAY_OPERATORS = {
|
|
|
1740
1758
|
description: "Sort array (returns new array)",
|
|
1741
1759
|
hasSideEffects: false,
|
|
1742
1760
|
returnType: "array",
|
|
1761
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1743
1762
|
params: [
|
|
1744
1763
|
{ name: "arr", type: "array", description: "The array" },
|
|
1745
1764
|
{ name: "key", type: "string", description: "Field to sort by (for objects)", optional: true },
|
|
@@ -1755,6 +1774,7 @@ var ARRAY_OPERATORS = {
|
|
|
1755
1774
|
description: "Randomly shuffle array (returns new array)",
|
|
1756
1775
|
hasSideEffects: false,
|
|
1757
1776
|
returnType: "array",
|
|
1777
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1758
1778
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1759
1779
|
example: '["array/shuffle", [1, 2, 3, 4, 5]]'
|
|
1760
1780
|
},
|
|
@@ -1766,6 +1786,7 @@ var ARRAY_OPERATORS = {
|
|
|
1766
1786
|
description: "Remove duplicates (returns new array)",
|
|
1767
1787
|
hasSideEffects: false,
|
|
1768
1788
|
returnType: "array",
|
|
1789
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1769
1790
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1770
1791
|
example: '["array/unique", [1, 2, 2, 3, 1]] // => [1, 2, 3]'
|
|
1771
1792
|
},
|
|
@@ -2066,6 +2087,7 @@ var ARRAY_OPERATORS = {
|
|
|
2066
2087
|
description: "Take first n elements",
|
|
2067
2088
|
hasSideEffects: false,
|
|
2068
2089
|
returnType: "array",
|
|
2090
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2069
2091
|
params: [
|
|
2070
2092
|
{ name: "arr", type: "array", description: "The array" },
|
|
2071
2093
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -2080,6 +2102,7 @@ var ARRAY_OPERATORS = {
|
|
|
2080
2102
|
description: "Skip first n elements",
|
|
2081
2103
|
hasSideEffects: false,
|
|
2082
2104
|
returnType: "array",
|
|
2105
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2083
2106
|
params: [
|
|
2084
2107
|
{ name: "arr", type: "array", description: "The array" },
|
|
2085
2108
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
|
@@ -2094,6 +2117,7 @@ var ARRAY_OPERATORS = {
|
|
|
2094
2117
|
description: "Take last n elements",
|
|
2095
2118
|
hasSideEffects: false,
|
|
2096
2119
|
returnType: "array",
|
|
2120
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2097
2121
|
params: [
|
|
2098
2122
|
{ name: "arr", type: "array", description: "The array" },
|
|
2099
2123
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -2108,6 +2132,7 @@ var ARRAY_OPERATORS = {
|
|
|
2108
2132
|
description: "Skip last n elements",
|
|
2109
2133
|
hasSideEffects: false,
|
|
2110
2134
|
returnType: "array",
|
|
2135
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2111
2136
|
params: [
|
|
2112
2137
|
{ name: "arr", type: "array", description: "The array" },
|
|
2113
2138
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
|
@@ -3167,6 +3192,7 @@ function getFormatOperators() {
|
|
|
3167
3192
|
// modules/async.ts
|
|
3168
3193
|
var ASYNC_OPERATORS = {
|
|
3169
3194
|
"async/delay": {
|
|
3195
|
+
visual: { form: "delay" },
|
|
3170
3196
|
module: "async",
|
|
3171
3197
|
category: "std-async",
|
|
3172
3198
|
minArity: 1,
|
|
@@ -3182,6 +3208,7 @@ var ASYNC_OPERATORS = {
|
|
|
3182
3208
|
example: '["async/delay", 2000, ["emit", "RETRY"]] // Wait 2s then emit'
|
|
3183
3209
|
},
|
|
3184
3210
|
"async/interval": {
|
|
3211
|
+
visual: { form: "delay" },
|
|
3185
3212
|
module: "async",
|
|
3186
3213
|
category: "std-async",
|
|
3187
3214
|
minArity: 2,
|
|
@@ -3197,6 +3224,7 @@ var ASYNC_OPERATORS = {
|
|
|
3197
3224
|
example: '["async/interval", 5000, ["emit", "POLL_TICK"]] // Emit every 5s'
|
|
3198
3225
|
},
|
|
3199
3226
|
"async/timeout": {
|
|
3227
|
+
visual: { form: "delay" },
|
|
3200
3228
|
module: "async",
|
|
3201
3229
|
category: "std-async",
|
|
3202
3230
|
minArity: 2,
|
|
@@ -3212,6 +3240,7 @@ var ASYNC_OPERATORS = {
|
|
|
3212
3240
|
example: '["async/timeout", ["call", "api", "fetchData"], 5000]'
|
|
3213
3241
|
},
|
|
3214
3242
|
"async/debounce": {
|
|
3243
|
+
visual: { form: "delay" },
|
|
3215
3244
|
module: "async",
|
|
3216
3245
|
category: "std-async",
|
|
3217
3246
|
minArity: 2,
|
|
@@ -3227,6 +3256,7 @@ var ASYNC_OPERATORS = {
|
|
|
3227
3256
|
example: '["async/debounce", "SEARCH", 300]'
|
|
3228
3257
|
},
|
|
3229
3258
|
"async/throttle": {
|
|
3259
|
+
visual: { form: "delay" },
|
|
3230
3260
|
module: "async",
|
|
3231
3261
|
category: "std-async",
|
|
3232
3262
|
minArity: 2,
|
|
@@ -3242,6 +3272,7 @@ var ASYNC_OPERATORS = {
|
|
|
3242
3272
|
example: '["async/throttle", "SCROLL", 100]'
|
|
3243
3273
|
},
|
|
3244
3274
|
"async/retry": {
|
|
3275
|
+
visual: { form: "delay" },
|
|
3245
3276
|
module: "async",
|
|
3246
3277
|
category: "std-async",
|
|
3247
3278
|
minArity: 2,
|
|
@@ -3259,6 +3290,7 @@ var ASYNC_OPERATORS = {
|
|
|
3259
3290
|
{ "attempts": 3, "backoff": "exponential", "baseDelay": 1000 }]`
|
|
3260
3291
|
},
|
|
3261
3292
|
"async/race": {
|
|
3293
|
+
visual: { form: "parallel" },
|
|
3262
3294
|
module: "async",
|
|
3263
3295
|
category: "std-async",
|
|
3264
3296
|
minArity: 2,
|
|
@@ -3271,6 +3303,7 @@ var ASYNC_OPERATORS = {
|
|
|
3271
3303
|
example: '["async/race", ["call", "api1"], ["call", "api2"]]'
|
|
3272
3304
|
},
|
|
3273
3305
|
"async/all": {
|
|
3306
|
+
visual: { form: "parallel" },
|
|
3274
3307
|
module: "async",
|
|
3275
3308
|
category: "std-async",
|
|
3276
3309
|
minArity: 2,
|
|
@@ -3283,6 +3316,7 @@ var ASYNC_OPERATORS = {
|
|
|
3283
3316
|
example: '["async/all", ["call", "api1"], ["call", "api2"]]'
|
|
3284
3317
|
},
|
|
3285
3318
|
"async/sequence": {
|
|
3319
|
+
visual: { form: "ladder" },
|
|
3286
3320
|
module: "async",
|
|
3287
3321
|
category: "std-async",
|
|
3288
3322
|
minArity: 2,
|
package/dist/modules/json.d.ts
CHANGED
package/dist/modules/llm.d.ts
CHANGED
package/dist/modules/math.d.ts
CHANGED
package/dist/modules/memory.d.ts
CHANGED