@almadar/std 16.218.0 → 16.220.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 (77) hide show
  1. package/behaviors/lolo/infra/atoms/std-data-import.lolo +56 -5
  2. package/behaviors/lolo/infra/atoms/std-global-search.lolo +9 -1
  3. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +18 -18
  4. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +5 -5
  5. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +17 -18
  6. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +215 -0
  7. package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +2 -2
  8. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +169 -0
  9. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +2 -2
  10. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +2 -2
  11. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +2 -2
  12. package/behaviors/registry/infra/atoms/std-data-import.orb +329 -6
  13. package/behaviors/registry/infra/atoms/std-global-search.orb +86 -4
  14. package/behaviors/registry/infra/atoms/std-notification-center.orb +41 -33
  15. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +10 -17
  16. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +198 -195
  17. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +723 -0
  18. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +508 -0
  19. package/canonical-operators.json +46 -1
  20. package/dist/behaviors/exports-reader.js +3212 -2818
  21. package/dist/behaviors/functions/index.d.ts +238 -5
  22. package/dist/behaviors/functions/index.js +3207 -2819
  23. package/dist/behaviors/index.d.ts +1 -1
  24. package/dist/behaviors/index.js +3213 -2819
  25. package/dist/behaviors/query.js +3212 -2818
  26. package/dist/behaviors-embeddings.hash.json +3 -3
  27. package/dist/behaviors-embeddings.json +19 -7
  28. package/dist/behaviors-registry.json +2220 -1041
  29. package/dist/index.d.ts +3 -3
  30. package/dist/index.js +3249 -2819
  31. package/dist/knob-embeddings.hash.json +3 -3
  32. package/dist/knob-embeddings.json +1 -1
  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/behavior.d.ts +1 -1
  37. package/dist/modules/browser.d.ts +1 -1
  38. package/dist/modules/composition.d.ts +1 -1
  39. package/dist/modules/contract.d.ts +1 -1
  40. package/dist/modules/core.d.ts +1 -1
  41. package/dist/modules/data.d.ts +1 -1
  42. package/dist/modules/ease.d.ts +1 -1
  43. package/dist/modules/format.d.ts +1 -1
  44. package/dist/modules/geo.d.ts +1 -1
  45. package/dist/modules/graph.d.ts +1 -1
  46. package/dist/modules/grid.d.ts +1 -1
  47. package/dist/modules/index.d.ts +2 -1
  48. package/dist/modules/index.js +30 -1
  49. package/dist/modules/integration.d.ts +1 -1
  50. package/dist/modules/json.d.ts +20 -0
  51. package/dist/modules/json.js +30 -0
  52. package/dist/modules/llm.d.ts +1 -1
  53. package/dist/modules/math.d.ts +1 -1
  54. package/dist/modules/memory.d.ts +1 -1
  55. package/dist/modules/nn.d.ts +1 -1
  56. package/dist/modules/noise.d.ts +1 -1
  57. package/dist/modules/object.d.ts +1 -1
  58. package/dist/modules/os.d.ts +1 -1
  59. package/dist/modules/path.d.ts +1 -1
  60. package/dist/modules/prob.d.ts +1 -1
  61. package/dist/modules/session.d.ts +1 -1
  62. package/dist/modules/str.d.ts +1 -1
  63. package/dist/modules/tensor.d.ts +1 -1
  64. package/dist/modules/time.d.ts +1 -1
  65. package/dist/modules/trace.d.ts +1 -1
  66. package/dist/modules/train.d.ts +1 -1
  67. package/dist/modules/validate.d.ts +1 -1
  68. package/dist/modules/vector.d.ts +1 -1
  69. package/dist/modules/workspace.d.ts +1 -1
  70. package/dist/registry/factory-signatures.json +1 -1
  71. package/dist/registry.d.ts +1 -1
  72. package/dist/registry.js +28 -0
  73. package/dist/{types-C-Yerb4-.d.ts → types-DpbKBJu8.d.ts} +3 -3
  74. package/i18n/ar.json +3 -1
  75. package/i18n/en.json +2 -0
  76. package/i18n/sl.json +3 -1
  77. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Anim Module - Sprite Animation Helpers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Array Module - Collection Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Async Module - Asynchronous Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Behavior Module - Orbital behavior composition, instantiation, validation, and lolo emission.
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Browser Module - Browser Device Operators (client host path)
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Composition Module - Behavior Composition Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Contract Module - ML Contract Validation Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Core Module - Language Primitives
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Data Module - ML Data Preprocessing Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Ease Module - Easing & Interpolation Curves
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Format Module - Display Formatting
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Geo Module - 2D Collision & Geometry
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Graph Module - Graph Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Grid Module - Tile/Cell Coordinate Operations
@@ -3,6 +3,7 @@ export { MATH_OPERATORS, getMathOperators } from './math.js';
3
3
  export { STR_OPERATORS, getStrOperators } from './str.js';
4
4
  export { ARRAY_OPERATORS, getArrayOperators, getLambdaArrayOperators } from './array.js';
5
5
  export { OBJECT_OPERATORS, getObjectOperators } from './object.js';
6
+ export { JSON_OPERATORS, getJsonOperators } from './json.js';
6
7
  export { TIME_OPERATORS, getTimeOperators } from './time.js';
7
8
  export { VALIDATE_OPERATORS, getValidateOperators } from './validate.js';
8
9
  export { FORMAT_OPERATORS, getFormatOperators } from './format.js';
@@ -31,4 +32,4 @@ export { MEMORY_OPERATORS, getMemoryOperators } from './memory.js';
31
32
  export { TRACE_OPERATORS, getTraceOperators } from './trace.js';
32
33
  export { BEHAVIOR_OPERATORS, getBehaviorOperators } from './behavior.js';
33
34
  export { INTEGRATION_OPERATORS, getIntegrationOperators } from './integration.js';
34
- import '../types-C-Yerb4-.js';
35
+ import '../types-DpbKBJu8.js';
@@ -2286,6 +2286,35 @@ function getObjectOperators() {
2286
2286
  return Object.keys(OBJECT_OPERATORS);
2287
2287
  }
2288
2288
 
2289
+ // modules/json.ts
2290
+ var JSON_OPERATORS = {
2291
+ "json/parse": {
2292
+ module: "json",
2293
+ category: "std-json",
2294
+ minArity: 1,
2295
+ maxArity: 1,
2296
+ description: "Parse a JSON string into a value; invalid JSON or non-string input returns null (never throws)",
2297
+ hasSideEffects: false,
2298
+ returnType: "any",
2299
+ params: [{ name: "s", type: "string", description: "The JSON string to parse" }],
2300
+ example: '["json/parse", "{\\"a\\": 1}"] // => {a: 1}'
2301
+ },
2302
+ "json/stringify": {
2303
+ module: "json",
2304
+ category: "std-json",
2305
+ minArity: 1,
2306
+ maxArity: 1,
2307
+ description: "Serialize any value to a JSON string",
2308
+ hasSideEffects: false,
2309
+ returnType: "string",
2310
+ params: [{ name: "v", type: "any", description: "The value to serialize" }],
2311
+ example: '["json/stringify", {a: 1}] // => "{\\"a\\":1}"'
2312
+ }
2313
+ };
2314
+ function getJsonOperators() {
2315
+ return Object.keys(JSON_OPERATORS);
2316
+ }
2317
+
2289
2318
  // modules/time.ts
2290
2319
  var TIME_OPERATORS = {
2291
2320
  "time/now": {
@@ -6398,4 +6427,4 @@ function getIntegrationOperators() {
6398
6427
  return Object.keys(INTEGRATION_OPERATORS);
6399
6428
  }
6400
6429
 
6401
- export { ANIM_OPERATORS, ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_OPERATORS, BROWSER_OPERATORS, COMPOSITION_OPERATORS, CONTRACT_OPERATORS, CORE_OPERATORS, DATA_OPERATORS, EASE_OPERATORS, FORMAT_OPERATORS, GEO_OPERATORS, GRAPH_OPERATORS, GRID_OPERATORS, INTEGRATION_OPERATORS, LLM_OPERATORS, MATH_OPERATORS, MEMORY_OPERATORS, NN_OPERATORS, NOISE_OPERATORS, OBJECT_OPERATORS, OS_OPERATORS, PATH_OPERATORS, PROB_OPERATORS, SESSION_OPERATORS, STR_OPERATORS, TENSOR_OPERATORS, TIME_OPERATORS, TRACE_OPERATORS, TRAIN_OPERATORS, VALIDATE_OPERATORS, VEC_OPERATORS, WORKSPACE_OPERATORS, getAnimOperators, getArrayOperators, getAsyncOperators, getBehaviorOperators, getCompositionOperators, getContractOperators, getCoreOperators, getDataOperators, getEaseOperators, getFormatOperators, getGeoOperators, getGraphOperators, getGridOperators, getIntegrationOperators, getLambdaArrayOperators, getLlmOperators, getMathOperators, getMemoryOperators, getNnOperators, getNoiseOperators, getObjectOperators, getPathOperators, getProbOperators, getSessionOperators, getStrOperators, getTensorOperators, getTimeOperators, getTraceOperators, getTrainOperators, getValidateOperators, getVecOperators, getWorkspaceOperators };
6430
+ export { ANIM_OPERATORS, ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_OPERATORS, BROWSER_OPERATORS, COMPOSITION_OPERATORS, CONTRACT_OPERATORS, CORE_OPERATORS, DATA_OPERATORS, EASE_OPERATORS, FORMAT_OPERATORS, GEO_OPERATORS, GRAPH_OPERATORS, GRID_OPERATORS, INTEGRATION_OPERATORS, JSON_OPERATORS, LLM_OPERATORS, MATH_OPERATORS, MEMORY_OPERATORS, NN_OPERATORS, NOISE_OPERATORS, OBJECT_OPERATORS, OS_OPERATORS, PATH_OPERATORS, PROB_OPERATORS, SESSION_OPERATORS, STR_OPERATORS, TENSOR_OPERATORS, TIME_OPERATORS, TRACE_OPERATORS, TRAIN_OPERATORS, VALIDATE_OPERATORS, VEC_OPERATORS, WORKSPACE_OPERATORS, getAnimOperators, getArrayOperators, getAsyncOperators, getBehaviorOperators, getCompositionOperators, getContractOperators, getCoreOperators, getDataOperators, getEaseOperators, getFormatOperators, getGeoOperators, getGraphOperators, getGridOperators, getIntegrationOperators, getJsonOperators, getLambdaArrayOperators, getLlmOperators, getMathOperators, getMemoryOperators, getNnOperators, getNoiseOperators, getObjectOperators, getPathOperators, getProbOperators, getSessionOperators, getStrOperators, getTensorOperators, getTimeOperators, getTraceOperators, getTrainOperators, getValidateOperators, getVecOperators, getWorkspaceOperators };
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Integration Module - External integration operators (HTTP, GitHub, etc.)
@@ -0,0 +1,20 @@
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
+
3
+ /**
4
+ * JSON Module - JSON parsing and serialization
5
+ *
6
+ * `(json/parse s)` — pure, deterministic: string → parsed value. Invalid JSON
7
+ * or non-string input → null, never throws — guards can branch on null. No
8
+ * reviver, no prototype access, no side effects. `(json/stringify v)` is the
9
+ * inverse: any value → JSON string.
10
+ *
11
+ * @packageDocumentation
12
+ */
13
+
14
+ declare const JSON_OPERATORS: Record<string, StdOperatorMeta>;
15
+ /**
16
+ * Get all json operator names.
17
+ */
18
+ declare function getJsonOperators(): string[];
19
+
20
+ export { JSON_OPERATORS, getJsonOperators };
@@ -0,0 +1,30 @@
1
+ // modules/json.ts
2
+ var JSON_OPERATORS = {
3
+ "json/parse": {
4
+ module: "json",
5
+ category: "std-json",
6
+ minArity: 1,
7
+ maxArity: 1,
8
+ description: "Parse a JSON string into a value; invalid JSON or non-string input returns null (never throws)",
9
+ hasSideEffects: false,
10
+ returnType: "any",
11
+ params: [{ name: "s", type: "string", description: "The JSON string to parse" }],
12
+ example: '["json/parse", "{\\"a\\": 1}"] // => {a: 1}'
13
+ },
14
+ "json/stringify": {
15
+ module: "json",
16
+ category: "std-json",
17
+ minArity: 1,
18
+ maxArity: 1,
19
+ description: "Serialize any value to a JSON string",
20
+ hasSideEffects: false,
21
+ returnType: "string",
22
+ params: [{ name: "v", type: "any", description: "The value to serialize" }],
23
+ example: '["json/stringify", {a: 1}] // => "{\\"a\\":1}"'
24
+ }
25
+ };
26
+ function getJsonOperators() {
27
+ return Object.keys(JSON_OPERATORS);
28
+ }
29
+
30
+ export { JSON_OPERATORS, getJsonOperators };
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.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-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Math Module - Numeric Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.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-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Neural Network Module - Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Noise Module - Coherent Procedural Noise
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Object Module - Object Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * OS Module - Operating System Event Watchers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Path Module - Grid Pathfinding
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Prob Module - Probabilistic Programming Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.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-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * String Module - String Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Tensor Module - Tensor Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Time Module - Date and Time Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.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-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Training Module - Neural Network Training Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Validate Module - Input Validation
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Vec Module - 2D/3D Vector Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-C-Yerb4-.js';
1
+ import { S as StdOperatorMeta } from '../types-DpbKBJu8.js';
2
2
 
3
3
  /**
4
4
  * Workspace Module - Orbital workspace file operations.