@almadar/std 16.235.0 → 16.237.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 +5621 -1993
- package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +32 -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-migration-job.lolo +2 -2
- package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
- package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +25 -11
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +28 -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 +76 -33
- 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 +32 -5
- package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +15 -4
- package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
- package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
- 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-image-upload-multi.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +53 -32
- package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
- package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +29 -13
- package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +14 -1
- package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
- package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +84 -16
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +22 -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 +27 -12
- 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/atoms/ui-time-slot-cell.lolo +36 -0
- package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
- 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 +11 -6
- 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 +60 -5
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +47 -3
- package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +31 -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-emoji-picker.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
- 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-gantt.lolo +9 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
- package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +7 -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 +57 -5
- package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +87 -16
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +37 -10
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +46 -8
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -10
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +57 -10
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +57 -10
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +22 -3
- package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +38 -5
- package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
- package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -45
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +7 -2
- package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
- package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +9 -3
- package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
- 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 +194 -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-migration-job.orb +26 -1
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +135 -12
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +137 -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 +499 -49
- 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 +42 -6
- package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +121 -3
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
- package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
- 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-image-upload-multi.orb +4 -0
- package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-list.orb +237 -34
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +275 -14
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +93 -4
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +473 -19
- package/behaviors/registry/ui/core/atoms/std-selection.orb +179 -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 +138 -14
- 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/atoms/ui-time-slot-cell.orb +132 -0
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
- package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
- package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
- 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 +89 -6
- 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 +297 -5
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +261 -3
- package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +93 -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-emoji-picker.orb +0 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
- 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-gantt.orb +28 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
- package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +74 -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 +337 -5
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +415 -33
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +340 -29
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +296 -20
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +489 -9
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +132 -13
- package/behaviors/registry/ui/core/organisms/ui-form.orb +132 -13
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +141 -3
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +159 -8
- package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -173
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -2
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
- package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +100 -3
- package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
- 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 +8942 -3946
- package/dist/behaviors/functions/index.d.ts +419 -132
- package/dist/behaviors/functions/index.js +8931 -3946
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +8943 -3947
- package/dist/behaviors/query.js +8942 -3946
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +49 -41
- package/dist/behaviors-registry.json +5621 -1993
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8960 -3947
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +774 -374
- 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/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 +2 -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 +17 -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 +2 -2
- package/dist/registry.js +17 -0
- package/dist/{types-Ggla7OK7.d.ts → types-DLx38UFZ.d.ts} +23 -3
- package/package.json +3 -3
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/core.d.ts
CHANGED
package/dist/modules/core.js
CHANGED
|
@@ -269,6 +269,7 @@ var CORE_OPERATORS = {
|
|
|
269
269
|
description: "Bind local variables for a body expression",
|
|
270
270
|
hasSideEffects: false,
|
|
271
271
|
returnType: "any",
|
|
272
|
+
returnSemantics: "identity-of-arg<1>",
|
|
272
273
|
params: [
|
|
273
274
|
{
|
|
274
275
|
name: "bindings",
|
|
@@ -288,6 +289,7 @@ var CORE_OPERATORS = {
|
|
|
288
289
|
description: "Sequential execution of multiple effects/expressions",
|
|
289
290
|
hasSideEffects: false,
|
|
290
291
|
returnType: "any",
|
|
292
|
+
returnSemantics: "last-of-args",
|
|
291
293
|
params: [{ name: "...exprs", type: SEXPR, description: "Effects/expressions to run in order" }],
|
|
292
294
|
example: '["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]'
|
|
293
295
|
},
|
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
|
@@ -269,6 +269,7 @@ var CORE_OPERATORS = {
|
|
|
269
269
|
description: "Bind local variables for a body expression",
|
|
270
270
|
hasSideEffects: false,
|
|
271
271
|
returnType: "any",
|
|
272
|
+
returnSemantics: "identity-of-arg<1>",
|
|
272
273
|
params: [
|
|
273
274
|
{
|
|
274
275
|
name: "bindings",
|
|
@@ -288,6 +289,7 @@ var CORE_OPERATORS = {
|
|
|
288
289
|
description: "Sequential execution of multiple effects/expressions",
|
|
289
290
|
hasSideEffects: false,
|
|
290
291
|
returnType: "any",
|
|
292
|
+
returnSemantics: "last-of-args",
|
|
291
293
|
params: [{ name: "...exprs", type: SEXPR, description: "Effects/expressions to run in order" }],
|
|
292
294
|
example: '["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]'
|
|
293
295
|
},
|
|
@@ -1640,6 +1642,7 @@ var ARRAY_OPERATORS = {
|
|
|
1640
1642
|
description: "Extract subarray",
|
|
1641
1643
|
hasSideEffects: false,
|
|
1642
1644
|
returnType: "array",
|
|
1645
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1643
1646
|
params: [
|
|
1644
1647
|
{ name: "arr", type: "array", description: "The array" },
|
|
1645
1648
|
{ name: "start", type: "number", description: "Start index" },
|
|
@@ -1655,6 +1658,7 @@ var ARRAY_OPERATORS = {
|
|
|
1655
1658
|
description: "Concatenate arrays",
|
|
1656
1659
|
hasSideEffects: false,
|
|
1657
1660
|
returnType: "array",
|
|
1661
|
+
returnSemantics: "union-of-args",
|
|
1658
1662
|
params: [{ name: "...arrs", type: "array[]", description: "Arrays to concatenate" }],
|
|
1659
1663
|
example: '["array/concat", [1, 2], [3, 4]] // => [1, 2, 3, 4]'
|
|
1660
1664
|
},
|
|
@@ -1666,6 +1670,7 @@ var ARRAY_OPERATORS = {
|
|
|
1666
1670
|
description: "Add item to end (returns new array)",
|
|
1667
1671
|
hasSideEffects: false,
|
|
1668
1672
|
returnType: "array",
|
|
1673
|
+
returnSemantics: "union-of-args<0,1>",
|
|
1669
1674
|
params: [
|
|
1670
1675
|
{ name: "arr", type: "array", description: "The array" },
|
|
1671
1676
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -1680,6 +1685,7 @@ var ARRAY_OPERATORS = {
|
|
|
1680
1685
|
description: "Add item to start (returns new array)",
|
|
1681
1686
|
hasSideEffects: false,
|
|
1682
1687
|
returnType: "array",
|
|
1688
|
+
returnSemantics: "union-of-args<0,1>",
|
|
1683
1689
|
params: [
|
|
1684
1690
|
{ name: "arr", type: "array", description: "The array" },
|
|
1685
1691
|
{ name: "item", type: "any", description: "Item to add" }
|
|
@@ -1694,6 +1700,7 @@ var ARRAY_OPERATORS = {
|
|
|
1694
1700
|
description: "Insert item at index (returns new array)",
|
|
1695
1701
|
hasSideEffects: false,
|
|
1696
1702
|
returnType: "array",
|
|
1703
|
+
returnSemantics: "union-of-args<0,2>",
|
|
1697
1704
|
params: [
|
|
1698
1705
|
{ name: "arr", type: "array", description: "The array" },
|
|
1699
1706
|
{ name: "index", type: "number", description: "Index to insert at" },
|
|
@@ -1709,6 +1716,7 @@ var ARRAY_OPERATORS = {
|
|
|
1709
1716
|
description: "Remove item at index (returns new array)",
|
|
1710
1717
|
hasSideEffects: false,
|
|
1711
1718
|
returnType: "array",
|
|
1719
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1712
1720
|
params: [
|
|
1713
1721
|
{ name: "arr", type: "array", description: "The array" },
|
|
1714
1722
|
{ name: "index", type: "number", description: "Index to remove" }
|
|
@@ -1723,6 +1731,7 @@ var ARRAY_OPERATORS = {
|
|
|
1723
1731
|
description: "Remove first matching item (returns new array)",
|
|
1724
1732
|
hasSideEffects: false,
|
|
1725
1733
|
returnType: "array",
|
|
1734
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1726
1735
|
params: [
|
|
1727
1736
|
{ name: "arr", type: "array", description: "The array" },
|
|
1728
1737
|
{ name: "item", type: "any", description: "Item to remove" }
|
|
@@ -1737,6 +1746,7 @@ var ARRAY_OPERATORS = {
|
|
|
1737
1746
|
description: "Reverse array order (returns new array)",
|
|
1738
1747
|
hasSideEffects: false,
|
|
1739
1748
|
returnType: "array",
|
|
1749
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1740
1750
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1741
1751
|
example: '["array/reverse", [1, 2, 3]] // => [3, 2, 1]'
|
|
1742
1752
|
},
|
|
@@ -1748,6 +1758,7 @@ var ARRAY_OPERATORS = {
|
|
|
1748
1758
|
description: "Sort array (returns new array)",
|
|
1749
1759
|
hasSideEffects: false,
|
|
1750
1760
|
returnType: "array",
|
|
1761
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1751
1762
|
params: [
|
|
1752
1763
|
{ name: "arr", type: "array", description: "The array" },
|
|
1753
1764
|
{ name: "key", type: "string", description: "Field to sort by (for objects)", optional: true },
|
|
@@ -1763,6 +1774,7 @@ var ARRAY_OPERATORS = {
|
|
|
1763
1774
|
description: "Randomly shuffle array (returns new array)",
|
|
1764
1775
|
hasSideEffects: false,
|
|
1765
1776
|
returnType: "array",
|
|
1777
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1766
1778
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1767
1779
|
example: '["array/shuffle", [1, 2, 3, 4, 5]]'
|
|
1768
1780
|
},
|
|
@@ -1774,6 +1786,7 @@ var ARRAY_OPERATORS = {
|
|
|
1774
1786
|
description: "Remove duplicates (returns new array)",
|
|
1775
1787
|
hasSideEffects: false,
|
|
1776
1788
|
returnType: "array",
|
|
1789
|
+
returnSemantics: "identity-of-arg<0>",
|
|
1777
1790
|
params: [{ name: "arr", type: "array", description: "The array" }],
|
|
1778
1791
|
example: '["array/unique", [1, 2, 2, 3, 1]] // => [1, 2, 3]'
|
|
1779
1792
|
},
|
|
@@ -2074,6 +2087,7 @@ var ARRAY_OPERATORS = {
|
|
|
2074
2087
|
description: "Take first n elements",
|
|
2075
2088
|
hasSideEffects: false,
|
|
2076
2089
|
returnType: "array",
|
|
2090
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2077
2091
|
params: [
|
|
2078
2092
|
{ name: "arr", type: "array", description: "The array" },
|
|
2079
2093
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -2088,6 +2102,7 @@ var ARRAY_OPERATORS = {
|
|
|
2088
2102
|
description: "Skip first n elements",
|
|
2089
2103
|
hasSideEffects: false,
|
|
2090
2104
|
returnType: "array",
|
|
2105
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2091
2106
|
params: [
|
|
2092
2107
|
{ name: "arr", type: "array", description: "The array" },
|
|
2093
2108
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
|
@@ -2102,6 +2117,7 @@ var ARRAY_OPERATORS = {
|
|
|
2102
2117
|
description: "Take last n elements",
|
|
2103
2118
|
hasSideEffects: false,
|
|
2104
2119
|
returnType: "array",
|
|
2120
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2105
2121
|
params: [
|
|
2106
2122
|
{ name: "arr", type: "array", description: "The array" },
|
|
2107
2123
|
{ name: "n", type: "number", description: "Number of elements" }
|
|
@@ -2116,6 +2132,7 @@ var ARRAY_OPERATORS = {
|
|
|
2116
2132
|
description: "Skip last n elements",
|
|
2117
2133
|
hasSideEffects: false,
|
|
2118
2134
|
returnType: "array",
|
|
2135
|
+
returnSemantics: "identity-of-arg<0>",
|
|
2119
2136
|
params: [
|
|
2120
2137
|
{ name: "arr", type: "array", description: "The array" },
|
|
2121
2138
|
{ name: "n", type: "number", description: "Number of elements to skip" }
|
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
package/dist/modules/nn.d.ts
CHANGED
package/dist/modules/noise.d.ts
CHANGED
package/dist/modules/object.d.ts
CHANGED
package/dist/modules/os.d.ts
CHANGED
package/dist/modules/path.d.ts
CHANGED
package/dist/modules/prob.d.ts
CHANGED
package/dist/modules/str.d.ts
CHANGED
package/dist/modules/tensor.d.ts
CHANGED
package/dist/modules/time.d.ts
CHANGED
package/dist/modules/trace.d.ts
CHANGED
package/dist/modules/train.d.ts
CHANGED
package/dist/modules/vector.d.ts
CHANGED