@almadar/std 16.233.0 → 16.235.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.
Files changed (75) hide show
  1. package/behaviors/behaviors-registry.json +1378 -130
  2. package/behaviors/lolo/ui/avl/atoms/ui-avl-glyph.lolo +54 -0
  3. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +132 -0
  4. package/behaviors/lolo/ui/avl/atoms/ui-behavior-view.lolo +5 -6
  5. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +7 -8
  6. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +74 -0
  7. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +16 -0
  8. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +104 -2
  9. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +1 -1
  10. package/behaviors/lolo-behavior-contracts.json +1 -1
  11. package/behaviors/registry/factory-signatures.json +1 -1
  12. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +211 -0
  13. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +761 -0
  14. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +157 -66
  15. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +158 -67
  16. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +185 -0
  17. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +68 -0
  18. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +487 -2
  19. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -2
  20. package/dist/behaviors/exports-reader.js +1863 -1472
  21. package/dist/behaviors/functions/index.d.ts +241 -7
  22. package/dist/behaviors/functions/index.js +1858 -1473
  23. package/dist/behaviors/index.d.ts +1 -1
  24. package/dist/behaviors/index.js +1864 -1473
  25. package/dist/behaviors/query.js +1863 -1472
  26. package/dist/behaviors-embeddings.hash.json +3 -3
  27. package/dist/behaviors-embeddings.json +19 -11
  28. package/dist/behaviors-registry.json +1378 -130
  29. package/dist/index.d.ts +3 -3
  30. package/dist/index.js +1881 -1473
  31. package/dist/knob-embeddings.hash.json +3 -3
  32. package/dist/knob-embeddings.json +159 -7
  33. package/dist/modules/anim.d.ts +1 -1
  34. package/dist/modules/array.d.ts +1 -1
  35. package/dist/modules/async.d.ts +1 -1
  36. package/dist/modules/async.js +9 -0
  37. package/dist/modules/behavior.d.ts +1 -1
  38. package/dist/modules/browser.d.ts +1 -1
  39. package/dist/modules/composition.d.ts +1 -1
  40. package/dist/modules/contract.d.ts +1 -1
  41. package/dist/modules/core.d.ts +1 -1
  42. package/dist/modules/core.js +8 -0
  43. package/dist/modules/data.d.ts +1 -1
  44. package/dist/modules/ease.d.ts +1 -1
  45. package/dist/modules/format.d.ts +1 -1
  46. package/dist/modules/geo.d.ts +1 -1
  47. package/dist/modules/graph.d.ts +1 -1
  48. package/dist/modules/grid.d.ts +1 -1
  49. package/dist/modules/index.d.ts +1 -1
  50. package/dist/modules/index.js +17 -0
  51. package/dist/modules/integration.d.ts +1 -1
  52. package/dist/modules/json.d.ts +1 -1
  53. package/dist/modules/llm.d.ts +1 -1
  54. package/dist/modules/math.d.ts +1 -1
  55. package/dist/modules/memory.d.ts +1 -1
  56. package/dist/modules/nn.d.ts +1 -1
  57. package/dist/modules/noise.d.ts +1 -1
  58. package/dist/modules/object.d.ts +1 -1
  59. package/dist/modules/os.d.ts +1 -1
  60. package/dist/modules/path.d.ts +1 -1
  61. package/dist/modules/prob.d.ts +1 -1
  62. package/dist/modules/session.d.ts +1 -1
  63. package/dist/modules/str.d.ts +1 -1
  64. package/dist/modules/tensor.d.ts +1 -1
  65. package/dist/modules/time.d.ts +1 -1
  66. package/dist/modules/trace.d.ts +1 -1
  67. package/dist/modules/train.d.ts +1 -1
  68. package/dist/modules/validate.d.ts +1 -1
  69. package/dist/modules/vector.d.ts +1 -1
  70. package/dist/modules/workspace.d.ts +1 -1
  71. package/dist/registry/factory-signatures.json +1 -1
  72. package/dist/registry.d.ts +5 -2
  73. package/dist/registry.js +38 -1
  74. package/dist/{types-DwAW4Nni.d.ts → types-Ggla7OK7.d.ts} +8 -1
  75. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Ease Module - Easing & Interpolation Curves
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Format Module - Display Formatting
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Geo Module - 2D Collision & Geometry
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Graph Module - Graph Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Grid Module - Tile/Cell Coordinate Operations
@@ -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-DwAW4Nni.js';
35
+ import '../types-Ggla7OK7.js';
@@ -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,
@@ -275,6 +280,7 @@ var CORE_OPERATORS = {
275
280
  example: '["let", [["x", 10]], ["+", "x", 1]]'
276
281
  },
277
282
  do: {
283
+ visual: { form: "ladder" },
278
284
  module: "core",
279
285
  category: "control",
280
286
  minArity: 1,
@@ -297,6 +303,7 @@ var CORE_OPERATORS = {
297
303
  example: '["list", "path", "method", "status"] // => ["path", "method", "status"]'
298
304
  },
299
305
  when: {
306
+ visual: { form: "branch" },
300
307
  module: "core",
301
308
  category: "control",
302
309
  minArity: 2,
@@ -311,6 +318,7 @@ var CORE_OPERATORS = {
311
318
  example: '["when", [">", "@entity.health", 0], ["emit", "ALIVE"]]'
312
319
  },
313
320
  fn: {
321
+ visual: { form: "template" },
314
322
  module: "core",
315
323
  category: "control",
316
324
  minArity: 2,
@@ -3167,6 +3175,7 @@ function getFormatOperators() {
3167
3175
  // modules/async.ts
3168
3176
  var ASYNC_OPERATORS = {
3169
3177
  "async/delay": {
3178
+ visual: { form: "delay" },
3170
3179
  module: "async",
3171
3180
  category: "std-async",
3172
3181
  minArity: 1,
@@ -3182,6 +3191,7 @@ var ASYNC_OPERATORS = {
3182
3191
  example: '["async/delay", 2000, ["emit", "RETRY"]] // Wait 2s then emit'
3183
3192
  },
3184
3193
  "async/interval": {
3194
+ visual: { form: "delay" },
3185
3195
  module: "async",
3186
3196
  category: "std-async",
3187
3197
  minArity: 2,
@@ -3197,6 +3207,7 @@ var ASYNC_OPERATORS = {
3197
3207
  example: '["async/interval", 5000, ["emit", "POLL_TICK"]] // Emit every 5s'
3198
3208
  },
3199
3209
  "async/timeout": {
3210
+ visual: { form: "delay" },
3200
3211
  module: "async",
3201
3212
  category: "std-async",
3202
3213
  minArity: 2,
@@ -3212,6 +3223,7 @@ var ASYNC_OPERATORS = {
3212
3223
  example: '["async/timeout", ["call", "api", "fetchData"], 5000]'
3213
3224
  },
3214
3225
  "async/debounce": {
3226
+ visual: { form: "delay" },
3215
3227
  module: "async",
3216
3228
  category: "std-async",
3217
3229
  minArity: 2,
@@ -3227,6 +3239,7 @@ var ASYNC_OPERATORS = {
3227
3239
  example: '["async/debounce", "SEARCH", 300]'
3228
3240
  },
3229
3241
  "async/throttle": {
3242
+ visual: { form: "delay" },
3230
3243
  module: "async",
3231
3244
  category: "std-async",
3232
3245
  minArity: 2,
@@ -3242,6 +3255,7 @@ var ASYNC_OPERATORS = {
3242
3255
  example: '["async/throttle", "SCROLL", 100]'
3243
3256
  },
3244
3257
  "async/retry": {
3258
+ visual: { form: "delay" },
3245
3259
  module: "async",
3246
3260
  category: "std-async",
3247
3261
  minArity: 2,
@@ -3259,6 +3273,7 @@ var ASYNC_OPERATORS = {
3259
3273
  { "attempts": 3, "backoff": "exponential", "baseDelay": 1000 }]`
3260
3274
  },
3261
3275
  "async/race": {
3276
+ visual: { form: "parallel" },
3262
3277
  module: "async",
3263
3278
  category: "std-async",
3264
3279
  minArity: 2,
@@ -3271,6 +3286,7 @@ var ASYNC_OPERATORS = {
3271
3286
  example: '["async/race", ["call", "api1"], ["call", "api2"]]'
3272
3287
  },
3273
3288
  "async/all": {
3289
+ visual: { form: "parallel" },
3274
3290
  module: "async",
3275
3291
  category: "std-async",
3276
3292
  minArity: 2,
@@ -3283,6 +3299,7 @@ var ASYNC_OPERATORS = {
3283
3299
  example: '["async/all", ["call", "api1"], ["call", "api2"]]'
3284
3300
  },
3285
3301
  "async/sequence": {
3302
+ visual: { form: "ladder" },
3286
3303
  module: "async",
3287
3304
  category: "std-async",
3288
3305
  minArity: 2,
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Integration Module - External integration operators (HTTP, GitHub, etc.)
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * JSON Module - JSON parsing and serialization
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * LLM Module - LLM generation, tool-calling, embeddings, and context management.
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Math Module - Numeric Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Memory Module - Agent memory recall, store, and listing.
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Neural Network Module - Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Noise Module - Coherent Procedural Noise
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Object Module - Object Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * OS Module - Operating System Event Watchers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Path Module - Grid Pathfinding
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Prob Module - Probabilistic Programming Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Session Module - Per-orbital generation context (spec, memory, history, errors).
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * String Module - String Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Tensor Module - Tensor Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Time Module - Date and Time Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Trace Module - Observability: trace event emission and structured logging.
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Training Module - Neural Network Training Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Validate Module - Input Validation
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Vec Module - 2D/3D Vector Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DwAW4Nni.js';
1
+ import { S as StdOperatorMeta } from '../types-Ggla7OK7.js';
2
2
 
3
3
  /**
4
4
  * Workspace Module - Orbital workspace file operations.