@almadar/std 16.245.0 → 16.246.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 (68) hide show
  1. package/behaviors/behaviors-registry.json +534 -176
  2. package/behaviors/lolo/agent/atoms/std-agent-context.lolo +9 -4
  3. package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +9 -4
  4. package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +9 -4
  5. package/behaviors/lolo/agent/atoms/std-agent-session.lolo +9 -4
  6. package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +9 -4
  7. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +9 -4
  8. package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +9 -4
  9. package/behaviors/lolo/ui/core/atoms/ui-svg-flow.lolo +1 -1
  10. package/behaviors/lolo/ui/core/molecules/ui-import-progress.lolo +1 -1
  11. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +3 -3
  12. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +3 -3
  13. package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +1 -1
  14. package/behaviors/lolo/ui/game/atoms/ui-draw-mesh.lolo +1 -1
  15. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +3 -3
  16. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +3 -3
  17. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +3 -3
  18. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +3 -3
  19. package/behaviors/lolo-behavior-contracts.json +1 -1
  20. package/behaviors/registry/agent/atoms/std-agent-context.orb +53 -67
  21. package/behaviors/registry/agent/atoms/std-agent-memory.orb +14 -51
  22. package/behaviors/registry/agent/atoms/std-agent-proposal.orb +50 -20
  23. package/behaviors/registry/agent/atoms/std-agent-session.orb +84 -91
  24. package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +61 -24
  25. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +61 -45
  26. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +63 -26
  27. package/behaviors/registry/factory-signatures.json +1 -1
  28. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +2 -2
  29. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +2 -2
  30. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +2 -2
  31. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +2 -2
  32. package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +11 -4
  33. package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
  34. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +2 -2
  35. package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
  36. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +2 -2
  37. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +2 -2
  38. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +3 -3
  39. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -4
  40. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +4 -4
  41. package/behaviors/registry/ui/core/organisms/ui-form.orb +4 -4
  42. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +136 -2
  43. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +3 -2
  44. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +51 -18
  45. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +3 -3
  46. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +12 -5
  47. package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +12 -5
  48. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +39 -14
  49. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +51 -18
  50. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +51 -18
  51. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +51 -18
  52. package/canonical-operators.json +5 -5
  53. package/dist/behaviors/exports-reader.js +228 -218
  54. package/dist/behaviors/functions/index.d.ts +8 -8
  55. package/dist/behaviors/functions/index.js +228 -218
  56. package/dist/behaviors/index.js +228 -218
  57. package/dist/behaviors/query.js +228 -218
  58. package/dist/behaviors-embeddings.hash.json +3 -3
  59. package/dist/behaviors-embeddings.json +1 -1
  60. package/dist/behaviors-registry.json +534 -176
  61. package/dist/index.js +232 -222
  62. package/dist/knob-embeddings.hash.json +3 -3
  63. package/dist/knob-embeddings.json +7 -3
  64. package/dist/modules/array.js +4 -4
  65. package/dist/modules/index.js +4 -4
  66. package/dist/registry/factory-signatures.json +1 -1
  67. package/dist/registry.js +4 -4
  68. package/package.json +2 -2
package/dist/registry.js CHANGED
@@ -2108,9 +2108,9 @@ var ARRAY_OPERATORS = {
2108
2108
  category: "std-array",
2109
2109
  minArity: 1,
2110
2110
  maxArity: 2,
2111
- description: "Minimum value (optionally by field)",
2111
+ description: "Minimum value (optionally by field); null when no element counts",
2112
2112
  hasSideEffects: false,
2113
- returnType: "number",
2113
+ returnType: "number | null",
2114
2114
  params: [
2115
2115
  { name: "arr", type: "array", description: "The array" },
2116
2116
  { name: "key", type: "string", description: "Field to compare", optional: true }
@@ -2122,9 +2122,9 @@ var ARRAY_OPERATORS = {
2122
2122
  category: "std-array",
2123
2123
  minArity: 1,
2124
2124
  maxArity: 2,
2125
- description: "Maximum value (optionally by field)",
2125
+ description: "Maximum value (optionally by field); null when no element counts",
2126
2126
  hasSideEffects: false,
2127
- returnType: "number",
2127
+ returnType: "number | null",
2128
2128
  params: [
2129
2129
  { name: "arr", type: "array", description: "The array" },
2130
2130
  { name: "key", type: "string", description: "Field to compare", optional: true }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/std",
3
- "version": "16.245.0",
3
+ "version": "16.246.0",
4
4
  "description": "Standard library operators for Almadar (math, string, array, etc.)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -87,7 +87,7 @@
87
87
  "compiler": ">=4.10.0"
88
88
  },
89
89
  "dependencies": {
90
- "@almadar/core": "^10.120.0"
90
+ "@almadar/core": "^10.121.0"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@almadar/eslint-plugin": "^2.21.0",