@almadar/std 16.243.0 → 16.244.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 (140) hide show
  1. package/behaviors/behaviors-registry.json +4470 -513
  2. package/behaviors/lolo/agent/atoms/std-agent-context.lolo +24 -4
  3. package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +20 -5
  4. package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +550 -0
  5. package/behaviors/lolo/agent/atoms/std-agent-session.lolo +284 -25
  6. package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +841 -0
  7. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +58 -8
  8. package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +1 -0
  9. package/behaviors/lolo/infra/atoms/std-page-treat.lolo +28 -1
  10. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +22 -0
  11. package/behaviors/lolo/ui/avl/atoms/ui-avl-transition-explainer.lolo +175 -0
  12. package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +22 -0
  13. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +23 -4
  14. package/behaviors/lolo/ui/core/atoms/std-hero.lolo +72 -33
  15. package/behaviors/lolo/ui/core/molecules/ui-agent-chat-feed.lolo +1 -1
  16. package/behaviors/lolo/ui/core/molecules/ui-markdown-content.lolo +54 -0
  17. package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +5 -0
  18. package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +127 -3
  19. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +22 -0
  20. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +2 -2
  21. package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +87 -17
  22. package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +172 -37
  23. package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +183 -70
  24. package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +78 -13
  25. package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +58 -2
  26. package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +107 -12
  27. package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +83 -10
  28. package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +130 -9
  29. package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +143 -59
  30. package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +96 -22
  31. package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +66 -5
  32. package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +84 -6
  33. package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +80 -14
  34. package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +99 -5
  35. package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +81 -7
  36. package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +83 -7
  37. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +224 -99
  38. package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +63 -2
  39. package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +99 -38
  40. package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +7 -7
  41. package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +69 -4
  42. package/behaviors/lolo-behavior-contracts.json +1 -1
  43. package/behaviors/registry/agent/atoms/std-agent-context.orb +205 -6
  44. package/behaviors/registry/agent/atoms/std-agent-memory.orb +146 -4
  45. package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1972 -0
  46. package/behaviors/registry/agent/atoms/std-agent-session.orb +2021 -597
  47. package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +5079 -0
  48. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +287 -5
  49. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +7 -0
  50. package/behaviors/registry/factory-signatures.json +1 -1
  51. package/behaviors/registry/infra/atoms/std-page-treat.orb +327 -2
  52. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +134 -0
  53. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +678 -0
  54. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +122 -0
  55. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +73 -4
  56. package/behaviors/registry/ui/core/atoms/std-hero.orb +174 -97
  57. package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +204 -1
  58. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +12 -0
  59. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +683 -30
  60. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +748 -21
  61. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1429 -41
  62. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1031 -185
  63. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +807 -132
  64. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +553 -6
  65. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +987 -21
  66. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +582 -16
  67. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +954 -13
  68. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +828 -88
  69. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +730 -28
  70. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +479 -9
  71. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +797 -46
  72. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +757 -58
  73. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1176 -164
  74. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +599 -12
  75. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +832 -150
  76. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1561 -127
  77. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +655 -6
  78. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +634 -43
  79. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +85 -31
  80. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +425 -9
  81. package/canonical-operators.json +45 -2
  82. package/dist/behaviors/exports-reader.js +16667 -7868
  83. package/dist/behaviors/functions/index.d.ts +711 -32
  84. package/dist/behaviors/functions/index.js +16651 -7869
  85. package/dist/behaviors/index.d.ts +1 -1
  86. package/dist/behaviors/index.js +16668 -7869
  87. package/dist/behaviors/query.js +16667 -7868
  88. package/dist/behaviors-embeddings.hash.json +3 -3
  89. package/dist/behaviors-embeddings.json +77 -53
  90. package/dist/behaviors-registry.json +4470 -513
  91. package/dist/index.d.ts +3 -3
  92. package/dist/index.js +16101 -7275
  93. package/dist/knob-embeddings.hash.json +3 -3
  94. package/dist/knob-embeddings.json +1309 -685
  95. package/dist/modules/anim.d.ts +1 -1
  96. package/dist/modules/array.d.ts +1 -1
  97. package/dist/modules/async.d.ts +1 -1
  98. package/dist/modules/behavior.d.ts +1 -1
  99. package/dist/modules/browser.d.ts +1 -1
  100. package/dist/modules/composition.d.ts +1 -1
  101. package/dist/modules/contract.d.ts +1 -1
  102. package/dist/modules/core.d.ts +1 -1
  103. package/dist/modules/core.js +29 -2
  104. package/dist/modules/data.d.ts +1 -1
  105. package/dist/modules/ease.d.ts +1 -1
  106. package/dist/modules/format.d.ts +1 -1
  107. package/dist/modules/geo.d.ts +1 -1
  108. package/dist/modules/graph.d.ts +1 -1
  109. package/dist/modules/grid.d.ts +1 -1
  110. package/dist/modules/i18n.d.ts +1 -1
  111. package/dist/modules/index.d.ts +1 -1
  112. package/dist/modules/index.js +29 -2
  113. package/dist/modules/integration.d.ts +1 -1
  114. package/dist/modules/json.d.ts +1 -1
  115. package/dist/modules/llm.d.ts +1 -1
  116. package/dist/modules/math.d.ts +1 -1
  117. package/dist/modules/memory.d.ts +1 -1
  118. package/dist/modules/nn.d.ts +1 -1
  119. package/dist/modules/noise.d.ts +1 -1
  120. package/dist/modules/object.d.ts +1 -1
  121. package/dist/modules/os.d.ts +1 -1
  122. package/dist/modules/path.d.ts +1 -1
  123. package/dist/modules/prob.d.ts +1 -1
  124. package/dist/modules/session.d.ts +1 -1
  125. package/dist/modules/str.d.ts +1 -1
  126. package/dist/modules/tensor.d.ts +1 -1
  127. package/dist/modules/time.d.ts +1 -1
  128. package/dist/modules/trace.d.ts +1 -1
  129. package/dist/modules/train.d.ts +1 -1
  130. package/dist/modules/validate.d.ts +1 -1
  131. package/dist/modules/vector.d.ts +1 -1
  132. package/dist/modules/workspace.d.ts +1 -1
  133. package/dist/registry/factory-signatures.json +1 -1
  134. package/dist/registry.d.ts +2 -2
  135. package/dist/registry.js +29 -2
  136. package/dist/{types-Cdb321uM.d.ts → types-Y-yYWEOX.d.ts} +1 -1
  137. package/i18n/ar.json +3 -1
  138. package/i18n/en.json +2 -0
  139. package/i18n/sl.json +3 -1
  140. package/package.json +3 -3
@@ -19,6 +19,33 @@
19
19
  "parent": "trt_01KXG04PWQ74N9XG84K2YH2H0J",
20
20
  "renames": []
21
21
  },
22
+ "evt_01M458N6J94S4HDCK66NZQRAMN": {
23
+ "bakedName": "@config.askEvent",
24
+ "curName": "@config.askEvent",
25
+ "id": "evt_01M458N6J94S4HDCK66NZQRAMN",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01KXG04PWQ74N9XG84K2YH2H0J",
29
+ "renames": []
30
+ },
31
+ "evt_01M458N6J965TTVE1DQTCG1ZG3": {
32
+ "bakedName": "@config.noteEvent",
33
+ "curName": "@config.noteEvent",
34
+ "id": "evt_01M458N6J965TTVE1DQTCG1ZG3",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01KXG04PWQ74N9XG84K2YH2H0J",
38
+ "renames": []
39
+ },
40
+ "evt_01M458N6J9QW36G4K8ANZMPGXN": {
41
+ "bakedName": "@config.annotationEvent",
42
+ "curName": "@config.annotationEvent",
43
+ "id": "evt_01M458N6J9QW36G4K8ANZMPGXN",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01KXG04PWQ74N9XG84K2YH2H0J",
47
+ "renames": []
48
+ },
22
49
  "orb_01KXG04PWQJ79HPJCEJP94NCFB": {
23
50
  "bakedName": "MarkdownContentOrbital",
24
51
  "curName": "MarkdownContentOrbital",
@@ -80,6 +107,44 @@
80
107
  {
81
108
  "category": "interaction",
82
109
  "config": {
110
+ "annotationEvent": {
111
+ "default": "ANNOTATION",
112
+ "description": "Event emitted when a highlighted passage is clicked (as `UI:<annotationEvent>`)",
113
+ "label": "Annotation Event",
114
+ "tier": "presentation",
115
+ "type": "event"
116
+ },
117
+ "annotations": {
118
+ "default": [],
119
+ "description": "Passages to highlight. Each `text` is matched exactly, first occurrence in document order inside a single rendered text node (outside code); a passage that spans formatting boundaries is not highlighted.",
120
+ "items": {
121
+ "properties": {
122
+ "id": {
123
+ "name": "id",
124
+ "required": true,
125
+ "type": "string"
126
+ },
127
+ "kind": {
128
+ "name": "kind",
129
+ "required": true,
130
+ "type": "string",
131
+ "values": [
132
+ "question",
133
+ "note"
134
+ ]
135
+ },
136
+ "text": {
137
+ "name": "text",
138
+ "required": true,
139
+ "type": "string"
140
+ }
141
+ },
142
+ "type": "object"
143
+ },
144
+ "label": "Annotations",
145
+ "tier": "presentation",
146
+ "type": "[MarkdownContentAnnotationsItem]"
147
+ },
83
148
  "ariaBusy": {
84
149
  "description": "This region is updating; assistive technology waits before announcing it.",
85
150
  "label": "Aria-busy",
@@ -169,6 +234,19 @@
169
234
  "tier": "presentation",
170
235
  "type": "boolean"
171
236
  },
237
+ "askEvent": {
238
+ "default": "ASK",
239
+ "description": "Event emitted when the reader picks Ask on selected text (as `UI:<askEvent>`)",
240
+ "label": "Ask Event",
241
+ "tier": "presentation",
242
+ "type": "event"
243
+ },
244
+ "askLabel": {
245
+ "description": "Ask action label (default: translated)",
246
+ "label": "Ask Label",
247
+ "tier": "presentation",
248
+ "type": "string"
249
+ },
172
250
  "className": {
173
251
  "description": "Additional CSS classes",
174
252
  "label": "Class Name",
@@ -229,6 +307,19 @@
229
307
  "tier": "presentation",
230
308
  "type": "string"
231
309
  },
310
+ "noteEvent": {
311
+ "default": "NOTE",
312
+ "description": "Event emitted when the reader picks Note on selected text (as `UI:<noteEvent>`)",
313
+ "label": "Note Event",
314
+ "tier": "presentation",
315
+ "type": "event"
316
+ },
317
+ "noteLabel": {
318
+ "description": "Note action label (default: translated)",
319
+ "label": "Note Label",
320
+ "tier": "presentation",
321
+ "type": "string"
322
+ },
232
323
  "role": {
233
324
  "description": "WAI-ARIA role when the element's native semantics don't describe it.",
234
325
  "label": "Role",
@@ -349,6 +440,52 @@
349
440
  "resource": "main"
350
441
  }
351
442
  ],
443
+ "emits": [
444
+ {
445
+ "definerKnob": "askEvent",
446
+ "description": "Event emitted when the reader picks Ask on selected text (as `UI:<askEvent>`)",
447
+ "event": "@config.askEvent",
448
+ "eventId": "evt_01M458N6J94S4HDCK66NZQRAMN",
449
+ "payloadSchema": [
450
+ {
451
+ "name": "selectedText",
452
+ "required": true,
453
+ "type": "string"
454
+ }
455
+ ],
456
+ "scope": "external",
457
+ "tier": "essential"
458
+ },
459
+ {
460
+ "definerKnob": "noteEvent",
461
+ "description": "Event emitted when the reader picks Note on selected text (as `UI:<noteEvent>`)",
462
+ "event": "@config.noteEvent",
463
+ "eventId": "evt_01M458N6J965TTVE1DQTCG1ZG3",
464
+ "payloadSchema": [
465
+ {
466
+ "name": "selectedText",
467
+ "required": true,
468
+ "type": "string"
469
+ }
470
+ ],
471
+ "scope": "external",
472
+ "tier": "essential"
473
+ },
474
+ {
475
+ "definerKnob": "annotationEvent",
476
+ "description": "Event emitted when a highlighted passage is clicked (as `UI:<annotationEvent>`)",
477
+ "event": "@config.annotationEvent",
478
+ "eventId": "evt_01M458N6J9QW36G4K8ANZMPGXN",
479
+ "payloadSchema": [
480
+ {
481
+ "name": "annotationId",
482
+ "type": "string"
483
+ }
484
+ ],
485
+ "scope": "external",
486
+ "tier": "essential"
487
+ }
488
+ ],
352
489
  "entityContract": {
353
490
  "provides": [],
354
491
  "requires": []
@@ -368,6 +505,47 @@
368
505
  "id": "evt_01KXG04PWQT32T9JX3XDQ277VJ",
369
506
  "key": "INIT",
370
507
  "name": "Initialize"
508
+ },
509
+ {
510
+ "description": "Event emitted when the reader picks Ask on selected text (as `UI:<askEvent>`)",
511
+ "id": "evt_01M458N6J94S4HDCK66NZQRAMN",
512
+ "key": "@config.askEvent",
513
+ "name": "@config.ask event",
514
+ "payloadSchema": [
515
+ {
516
+ "name": "selectedText",
517
+ "required": true,
518
+ "type": "string"
519
+ }
520
+ ],
521
+ "tier": "essential"
522
+ },
523
+ {
524
+ "description": "Event emitted when the reader picks Note on selected text (as `UI:<noteEvent>`)",
525
+ "id": "evt_01M458N6J965TTVE1DQTCG1ZG3",
526
+ "key": "@config.noteEvent",
527
+ "name": "@config.note event",
528
+ "payloadSchema": [
529
+ {
530
+ "name": "selectedText",
531
+ "required": true,
532
+ "type": "string"
533
+ }
534
+ ],
535
+ "tier": "essential"
536
+ },
537
+ {
538
+ "description": "Event emitted when a highlighted passage is clicked (as `UI:<annotationEvent>`)",
539
+ "id": "evt_01M458N6J9QW36G4K8ANZMPGXN",
540
+ "key": "@config.annotationEvent",
541
+ "name": "@config.annotation event",
542
+ "payloadSchema": [
543
+ {
544
+ "name": "annotationId",
545
+ "type": "string"
546
+ }
547
+ ],
548
+ "tier": "essential"
371
549
  }
372
550
  ],
373
551
  "states": [
@@ -383,6 +561,8 @@
383
561
  "render-ui",
384
562
  "main",
385
563
  {
564
+ "annotationEvent": "@config.annotationEvent",
565
+ "annotations": "@config.annotations",
386
566
  "aria-busy": "@config.ariaBusy",
387
567
  "aria-current": "@config.ariaCurrent",
388
568
  "aria-describedby": "@config.ariaDescribedby",
@@ -393,6 +573,8 @@
393
573
  "aria-live": "@config.ariaLive",
394
574
  "aria-pressed": "@config.ariaPressed",
395
575
  "aria-selected": "@config.ariaSelected",
576
+ "askEvent": "@config.askEvent",
577
+ "askLabel": "@config.askLabel",
396
578
  "className": "@config.className",
397
579
  "content": "@config.content",
398
580
  "dir": "@config.dir",
@@ -400,6 +582,8 @@
400
582
  "enter": "@config.enter",
401
583
  "enterDelay": "@config.enterDelay",
402
584
  "lang": "@config.lang",
585
+ "noteEvent": "@config.noteEvent",
586
+ "noteLabel": "@config.noteLabel",
403
587
  "role": "@config.role",
404
588
  "skeleton": "@config.skeleton",
405
589
  "tabIndex": "@config.tabIndex",
@@ -415,7 +599,26 @@
415
599
  ]
416
600
  }
417
601
  }
418
- ]
602
+ ],
603
+ "types": {
604
+ "MarkdownContentAnnotationsItem": [
605
+ {
606
+ "name": "id",
607
+ "required": true,
608
+ "type": "string"
609
+ },
610
+ {
611
+ "name": "text",
612
+ "required": true,
613
+ "type": "string"
614
+ },
615
+ {
616
+ "name": "kind",
617
+ "required": true,
618
+ "type": "string"
619
+ }
620
+ ]
621
+ }
419
622
  }
420
623
  ],
421
624
  "schemaVersion": 1,
@@ -277,6 +277,17 @@
277
277
  "tier": "presentation",
278
278
  "type": "number"
279
279
  },
280
+ "readAs": {
281
+ "default": "dataUrl",
282
+ "description": "How the file is read into `content`: a base64 data URL (default) or its UTF-8 text",
283
+ "label": "Read As",
284
+ "tier": "presentation",
285
+ "type": "string",
286
+ "values": [
287
+ "dataUrl",
288
+ "text"
289
+ ]
290
+ },
280
291
  "role": {
281
292
  "description": "WAI-ARIA role when the element's native semantics don't describe it.",
282
293
  "label": "Role",
@@ -532,6 +543,7 @@
532
543
  "lang": "@config.lang",
533
544
  "maxFiles": "@config.maxFiles",
534
545
  "maxSize": "@config.maxSize",
546
+ "readAs": "@config.readAs",
535
547
  "role": "@config.role",
536
548
  "skeleton": "@config.skeleton",
537
549
  "tabIndex": "@config.tabIndex",