@almadar/std 6.4.1 → 6.5.1

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 (40) hide show
  1. package/behaviors/registry/atoms/std-search.orb +2 -2
  2. package/behaviors/registry/atoms/std-selection.orb +2 -2
  3. package/behaviors/registry/atoms/std-sort.orb +2 -2
  4. package/behaviors/registry/atoms/std-sprite.orb +2 -2
  5. package/dist/behaviors/registry/atoms/std-search.orb +2 -2
  6. package/dist/behaviors/registry/atoms/std-selection.orb +2 -2
  7. package/dist/behaviors/registry/atoms/std-sort.orb +2 -2
  8. package/dist/behaviors/registry/atoms/std-sprite.orb +2 -2
  9. package/dist/index.d.ts +4 -3
  10. package/dist/index.js +680 -2
  11. package/dist/index.js.map +1 -1
  12. package/dist/modules/agent.d.ts +1 -1
  13. package/dist/modules/array.d.ts +1 -1
  14. package/dist/modules/async.d.ts +1 -1
  15. package/dist/modules/composition.d.ts +1 -1
  16. package/dist/modules/contract.d.ts +1 -1
  17. package/dist/modules/core.d.ts +27 -0
  18. package/dist/modules/core.js +607 -0
  19. package/dist/modules/core.js.map +1 -0
  20. package/dist/modules/data.d.ts +1 -1
  21. package/dist/modules/format.d.ts +1 -1
  22. package/dist/modules/graph.d.ts +1 -1
  23. package/dist/modules/index.d.ts +2 -1
  24. package/dist/modules/index.js +605 -1
  25. package/dist/modules/index.js.map +1 -1
  26. package/dist/modules/math.d.ts +1 -1
  27. package/dist/modules/nn.d.ts +1 -1
  28. package/dist/modules/object.d.ts +1 -1
  29. package/dist/modules/os.d.ts +1 -1
  30. package/dist/modules/prob.d.ts +1 -1
  31. package/dist/modules/str.d.ts +1 -1
  32. package/dist/modules/tensor.d.ts +1 -1
  33. package/dist/modules/time.d.ts +1 -1
  34. package/dist/modules/train.d.ts +1 -1
  35. package/dist/modules/validate.d.ts +1 -1
  36. package/dist/registry.d.ts +7 -3
  37. package/dist/registry.js +606 -1
  38. package/dist/registry.js.map +1 -1
  39. package/dist/{types-hu1LavLs.d.ts → types-D7dG8fBF.d.ts} +62 -3
  40. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -9,7 +9,37 @@ var __export = (target, all) => {
9
9
  };
10
10
 
11
11
  // types.ts
12
+ var OPERATOR_CATEGORIES = [
13
+ "arithmetic",
14
+ "comparison",
15
+ "logic",
16
+ "control",
17
+ "effect",
18
+ "collection",
19
+ "std-math",
20
+ "std-str",
21
+ "std-array",
22
+ "std-object",
23
+ "std-validate",
24
+ "std-time",
25
+ "std-format",
26
+ "std-async",
27
+ "std-nn",
28
+ "std-tensor",
29
+ "std-train",
30
+ "std-prob",
31
+ "std-os",
32
+ "std-agent",
33
+ "std-composition",
34
+ "ml-arch",
35
+ "ml-effect",
36
+ "ml-tensor",
37
+ "ml-graph",
38
+ "ml-contract",
39
+ "ml-data"
40
+ ];
12
41
  var STD_MODULES = [
42
+ "core",
13
43
  "math",
14
44
  "str",
15
45
  "array",
@@ -72,6 +102,610 @@ function makeStdOperator(module, fn) {
72
102
  return `${module}/${fn}`;
73
103
  }
74
104
 
105
+ // modules/core.ts
106
+ var NUMBER = "number";
107
+ var BOOLEAN = "boolean";
108
+ var STRING = "string";
109
+ var ANY = "any";
110
+ var SEXPR = { kind: "sexpr" };
111
+ var BINDING = { kind: "binding" };
112
+ var ENTITY_REF = { kind: "entityRef" };
113
+ var EVENT_KEY = { kind: "eventKey" };
114
+ var UI_SLOT = { kind: "uiSlot" };
115
+ var PATTERN_TYPE = { kind: "patternType" };
116
+ var PERSIST_ACTION = {
117
+ kind: "union",
118
+ of: [
119
+ { kind: "literal", value: "create" },
120
+ { kind: "literal", value: "update" },
121
+ { kind: "literal", value: "delete" },
122
+ { kind: "literal", value: "clear" },
123
+ { kind: "literal", value: "batch" }
124
+ ]
125
+ };
126
+ var SET_OPERATION = {
127
+ kind: "union",
128
+ of: [
129
+ { kind: "literal", value: "increment" },
130
+ { kind: "literal", value: "decrement" },
131
+ { kind: "literal", value: "multiply" },
132
+ { kind: "literal", value: "append" },
133
+ { kind: "literal", value: "remove" }
134
+ ]
135
+ };
136
+ var NOTIFY_CHANNEL = {
137
+ kind: "union",
138
+ of: [
139
+ { kind: "literal", value: "email" },
140
+ { kind: "literal", value: "push" },
141
+ { kind: "literal", value: "sms" },
142
+ { kind: "literal", value: "in_app" }
143
+ ]
144
+ };
145
+ var CORE_OPERATORS = {
146
+ // --- arithmetic primitives --------------------------------------------------
147
+ "+": {
148
+ module: "core",
149
+ category: "arithmetic",
150
+ minArity: 2,
151
+ maxArity: null,
152
+ description: "Add numbers",
153
+ hasSideEffects: false,
154
+ returnType: "number",
155
+ params: [{ name: "...nums", type: NUMBER, description: "Numbers to sum" }],
156
+ example: '["+", 1, 2, 3] // => 6'
157
+ },
158
+ "-": {
159
+ module: "core",
160
+ category: "arithmetic",
161
+ minArity: 1,
162
+ maxArity: 2,
163
+ description: "Subtract or negate",
164
+ hasSideEffects: false,
165
+ returnType: "number",
166
+ params: [
167
+ { name: "a", type: NUMBER, description: "Left operand or value to negate" },
168
+ { name: "b", type: NUMBER, description: "Right operand", optional: true }
169
+ ],
170
+ example: '["-", 5, 2] // => 3; ["-", 5] // => -5'
171
+ },
172
+ "*": {
173
+ module: "core",
174
+ category: "arithmetic",
175
+ minArity: 2,
176
+ maxArity: null,
177
+ description: "Multiply numbers",
178
+ hasSideEffects: false,
179
+ returnType: "number",
180
+ params: [{ name: "...nums", type: NUMBER, description: "Numbers to multiply" }],
181
+ example: '["*", 2, 3, 4] // => 24'
182
+ },
183
+ "/": {
184
+ module: "core",
185
+ category: "arithmetic",
186
+ minArity: 2,
187
+ maxArity: 2,
188
+ description: "Divide numbers",
189
+ hasSideEffects: false,
190
+ returnType: "number",
191
+ params: [
192
+ { name: "a", type: NUMBER, description: "Numerator" },
193
+ { name: "b", type: NUMBER, description: "Denominator" }
194
+ ],
195
+ example: '["/", 10, 2] // => 5'
196
+ },
197
+ "%": {
198
+ module: "core",
199
+ category: "arithmetic",
200
+ minArity: 2,
201
+ maxArity: 2,
202
+ description: "Modulo (remainder)",
203
+ hasSideEffects: false,
204
+ returnType: "number",
205
+ params: [
206
+ { name: "a", type: NUMBER, description: "Dividend" },
207
+ { name: "b", type: NUMBER, description: "Divisor" }
208
+ ],
209
+ example: '["%", 10, 3] // => 1'
210
+ },
211
+ // --- comparison -------------------------------------------------------------
212
+ "=": {
213
+ module: "core",
214
+ category: "comparison",
215
+ minArity: 2,
216
+ maxArity: 2,
217
+ description: "Equal to",
218
+ hasSideEffects: false,
219
+ returnType: "boolean",
220
+ params: [
221
+ { name: "a", type: ANY, description: "Left operand" },
222
+ { name: "b", type: ANY, description: "Right operand" }
223
+ ],
224
+ example: '["=", "@entity.status", "active"]'
225
+ },
226
+ "!=": {
227
+ module: "core",
228
+ category: "comparison",
229
+ minArity: 2,
230
+ maxArity: 2,
231
+ description: "Not equal to",
232
+ hasSideEffects: false,
233
+ returnType: "boolean",
234
+ params: [
235
+ { name: "a", type: ANY, description: "Left operand" },
236
+ { name: "b", type: ANY, description: "Right operand" }
237
+ ],
238
+ example: '["!=", "@entity.id", null]'
239
+ },
240
+ "<": {
241
+ module: "core",
242
+ category: "comparison",
243
+ minArity: 2,
244
+ maxArity: 2,
245
+ description: "Less than",
246
+ hasSideEffects: false,
247
+ returnType: "boolean",
248
+ params: [
249
+ { name: "a", type: NUMBER, description: "Left operand" },
250
+ { name: "b", type: NUMBER, description: "Right operand" }
251
+ ],
252
+ example: '["<", "@entity.health", 10]'
253
+ },
254
+ ">": {
255
+ module: "core",
256
+ category: "comparison",
257
+ minArity: 2,
258
+ maxArity: 2,
259
+ description: "Greater than",
260
+ hasSideEffects: false,
261
+ returnType: "boolean",
262
+ params: [
263
+ { name: "a", type: NUMBER, description: "Left operand" },
264
+ { name: "b", type: NUMBER, description: "Right operand" }
265
+ ],
266
+ example: '[">", "@entity.score", 0]'
267
+ },
268
+ "<=": {
269
+ module: "core",
270
+ category: "comparison",
271
+ minArity: 2,
272
+ maxArity: 2,
273
+ description: "Less than or equal",
274
+ hasSideEffects: false,
275
+ returnType: "boolean",
276
+ params: [
277
+ { name: "a", type: NUMBER, description: "Left operand" },
278
+ { name: "b", type: NUMBER, description: "Right operand" }
279
+ ],
280
+ example: '["<=", "@entity.count", 100]'
281
+ },
282
+ ">=": {
283
+ module: "core",
284
+ category: "comparison",
285
+ minArity: 2,
286
+ maxArity: 2,
287
+ description: "Greater than or equal",
288
+ hasSideEffects: false,
289
+ returnType: "boolean",
290
+ params: [
291
+ { name: "a", type: NUMBER, description: "Left operand" },
292
+ { name: "b", type: NUMBER, description: "Right operand" }
293
+ ],
294
+ example: '[">=", "@entity.age", 18]'
295
+ },
296
+ // --- logic ------------------------------------------------------------------
297
+ and: {
298
+ module: "core",
299
+ category: "logic",
300
+ minArity: 2,
301
+ maxArity: null,
302
+ description: "Logical AND",
303
+ hasSideEffects: false,
304
+ returnType: "boolean",
305
+ params: [{ name: "...conds", type: BOOLEAN, description: "Boolean expressions to AND" }],
306
+ example: '["and", ["=", "@entity.active", true], [">", "@entity.score", 0]]'
307
+ },
308
+ or: {
309
+ module: "core",
310
+ category: "logic",
311
+ minArity: 2,
312
+ maxArity: null,
313
+ description: "Logical OR",
314
+ hasSideEffects: false,
315
+ returnType: "boolean",
316
+ params: [{ name: "...conds", type: BOOLEAN, description: "Boolean expressions to OR" }],
317
+ example: '["or", ["=", "@entity.role", "admin"], ["=", "@entity.role", "owner"]]'
318
+ },
319
+ not: {
320
+ module: "core",
321
+ category: "logic",
322
+ minArity: 1,
323
+ maxArity: 1,
324
+ description: "Logical NOT",
325
+ hasSideEffects: false,
326
+ returnType: "boolean",
327
+ params: [{ name: "cond", type: BOOLEAN, description: "Boolean to negate" }],
328
+ example: '["not", "@entity.disabled"]'
329
+ },
330
+ if: {
331
+ module: "core",
332
+ category: "logic",
333
+ minArity: 3,
334
+ maxArity: 3,
335
+ description: "Conditional expression (ternary)",
336
+ hasSideEffects: false,
337
+ returnType: "any",
338
+ params: [
339
+ { name: "cond", type: BOOLEAN, description: "Condition to evaluate" },
340
+ { name: "then", type: ANY, description: "Value or effect if true" },
341
+ { name: "else", type: ANY, description: "Value or effect if false" }
342
+ ],
343
+ example: '["if", [">", "@entity.health", 0], "alive", "dead"]'
344
+ },
345
+ // --- control ----------------------------------------------------------------
346
+ let: {
347
+ module: "core",
348
+ category: "control",
349
+ minArity: 2,
350
+ maxArity: 2,
351
+ description: "Bind local variables for a body expression",
352
+ hasSideEffects: false,
353
+ returnType: "any",
354
+ params: [
355
+ {
356
+ name: "bindings",
357
+ type: { kind: "array", of: { kind: "array", of: ANY } },
358
+ description: "Array of [name, value] pairs"
359
+ },
360
+ { name: "body", type: SEXPR, description: "Expression or effect list using the bindings" }
361
+ ],
362
+ example: '["let", [["x", 10]], ["+", "x", 1]]'
363
+ },
364
+ do: {
365
+ module: "core",
366
+ category: "control",
367
+ minArity: 1,
368
+ maxArity: null,
369
+ description: "Sequential execution of multiple effects/expressions",
370
+ hasSideEffects: false,
371
+ returnType: "any",
372
+ params: [{ name: "...exprs", type: SEXPR, description: "Effects/expressions to run in order" }],
373
+ example: '["do", ["set", "@entity.x", 0], ["set", "@entity.y", 0]]'
374
+ },
375
+ when: {
376
+ module: "core",
377
+ category: "control",
378
+ minArity: 2,
379
+ maxArity: 2,
380
+ description: "Conditional effect without an else branch",
381
+ hasSideEffects: false,
382
+ returnType: "void",
383
+ params: [
384
+ { name: "cond", type: BOOLEAN, description: "Guard expression" },
385
+ { name: "effect", type: SEXPR, description: "Effect to run if cond is true" }
386
+ ],
387
+ example: '["when", [">", "@entity.health", 0], ["emit", "ALIVE"]]'
388
+ },
389
+ fn: {
390
+ module: "core",
391
+ category: "control",
392
+ minArity: 2,
393
+ maxArity: 2,
394
+ description: "Lambda expression (used for per-item renders and transforms)",
395
+ hasSideEffects: false,
396
+ returnType: "function",
397
+ acceptsLambda: true,
398
+ lambdaArgPosition: 1,
399
+ params: [
400
+ { name: "paramName", type: STRING, description: "Name of the parameter binding" },
401
+ { name: "body", type: SEXPR, description: "Expression evaluated per invocation" }
402
+ ],
403
+ example: '["fn", "item", { "type": "typography", "content": "@item.title" }]'
404
+ },
405
+ // --- effect -----------------------------------------------------------------
406
+ set: {
407
+ module: "core",
408
+ category: "effect",
409
+ minArity: 2,
410
+ maxArity: 2,
411
+ description: "Set a binding to a value",
412
+ hasSideEffects: true,
413
+ returnType: "void",
414
+ params: [
415
+ { name: "binding", type: BINDING, description: 'Target binding (e.g. "@entity.field")' },
416
+ { name: "value", type: ANY, description: "Value to assign (literal or expression)" }
417
+ ],
418
+ example: '["set", "@entity.health", 100]',
419
+ effect: {
420
+ kind: "set",
421
+ // success emit carries the written value; the evaluator coerces to the
422
+ // binding's declared type, so 'any' is the general shape. A future pass
423
+ // can narrow per-binding via resolveBinding.
424
+ produces: ANY,
425
+ config: { operation: SET_OPERATION }
426
+ }
427
+ },
428
+ emit: {
429
+ module: "core",
430
+ category: "effect",
431
+ minArity: 1,
432
+ maxArity: 2,
433
+ description: "Emit an event onto the bus",
434
+ hasSideEffects: true,
435
+ returnType: "void",
436
+ params: [
437
+ { name: "event", type: EVENT_KEY, description: "Event key" },
438
+ { name: "payload", type: ENTITY_REF, description: "Optional payload", optional: true }
439
+ ],
440
+ example: '["emit", "PLAYER_DIED", { "playerId": "@entity.id" }]',
441
+ effect: {
442
+ kind: "emit",
443
+ produces: {
444
+ kind: "object",
445
+ fields: { event: EVENT_KEY, payload: ANY },
446
+ open: true
447
+ }
448
+ }
449
+ },
450
+ persist: {
451
+ module: "core",
452
+ category: "effect",
453
+ minArity: 2,
454
+ maxArity: 3,
455
+ description: "Create, update, delete, clear, or batch entity records",
456
+ hasSideEffects: true,
457
+ returnType: "void",
458
+ params: [
459
+ { name: "action", type: PERSIST_ACTION, description: "Persist action" },
460
+ { name: "entity", type: { kind: "entity" }, description: "Target entity name" },
461
+ { name: "data", type: ENTITY_REF, description: "Payload (create/update) or entity id (delete)", optional: true }
462
+ ],
463
+ example: '["persist", "create", "Task", { "title": "@payload.title" }]',
464
+ effect: {
465
+ kind: "persist",
466
+ // Action-discriminated union. The compiler narrows at the call site
467
+ // based on the action arg literal to pick the right branch when
468
+ // checking the emit.success event's declared payload.
469
+ // create/update -> the resulting entity record
470
+ // delete/clear -> { id, deleted }
471
+ // batch -> summary of operations
472
+ produces: {
473
+ kind: "union",
474
+ of: [
475
+ { kind: "entity" },
476
+ {
477
+ kind: "object",
478
+ fields: { id: STRING, deleted: BOOLEAN },
479
+ open: false
480
+ },
481
+ {
482
+ kind: "object",
483
+ fields: {
484
+ operations: { kind: "array", of: ANY },
485
+ completedCount: NUMBER,
486
+ totalCount: NUMBER
487
+ },
488
+ open: false
489
+ }
490
+ ]
491
+ }
492
+ }
493
+ },
494
+ navigate: {
495
+ module: "core",
496
+ category: "effect",
497
+ minArity: 1,
498
+ maxArity: 2,
499
+ description: "Navigate to a route",
500
+ hasSideEffects: true,
501
+ returnType: "void",
502
+ params: [
503
+ { name: "path", type: STRING, description: "Route path (supports :param placeholders)" },
504
+ {
505
+ name: "params",
506
+ type: { kind: "object", fields: {}, open: true },
507
+ description: "Optional route params",
508
+ optional: true
509
+ }
510
+ ],
511
+ example: '["navigate", "/tasks/:id", { "id": "@entity.id" }]',
512
+ effect: { kind: "navigate" }
513
+ },
514
+ notify: {
515
+ module: "core",
516
+ category: "effect",
517
+ minArity: 1,
518
+ maxArity: 2,
519
+ description: "Show a notification (in-app, email, push, sms)",
520
+ hasSideEffects: true,
521
+ returnType: "void",
522
+ params: [
523
+ { name: "channel", type: NOTIFY_CHANNEL, description: "Delivery channel" },
524
+ { name: "message", type: STRING, description: "Message body", optional: true }
525
+ ],
526
+ example: '["notify", "in_app", "Task created successfully"]',
527
+ effect: { kind: "notify" }
528
+ },
529
+ spawn: {
530
+ module: "core",
531
+ category: "effect",
532
+ minArity: 1,
533
+ maxArity: 2,
534
+ description: "Spawn a new entity instance (games)",
535
+ hasSideEffects: true,
536
+ returnType: "void",
537
+ params: [
538
+ { name: "entity", type: { kind: "entity" }, description: "Entity name to spawn" },
539
+ {
540
+ name: "initialState",
541
+ type: { kind: "object", fields: {}, open: true },
542
+ description: "Initial field values",
543
+ optional: true
544
+ }
545
+ ],
546
+ example: '["spawn", "Bullet", { "x": "@entity.x", "y": "@entity.y" }]',
547
+ effect: { kind: "spawn" }
548
+ },
549
+ despawn: {
550
+ module: "core",
551
+ category: "effect",
552
+ minArity: 0,
553
+ maxArity: 1,
554
+ description: "Despawn an entity instance (games)",
555
+ hasSideEffects: true,
556
+ returnType: "void",
557
+ params: [
558
+ { name: "entityId", type: STRING, description: "Target entity id (defaults to @entity.id)", optional: true }
559
+ ],
560
+ example: '["despawn", "@entity.id"]',
561
+ effect: { kind: "despawn" }
562
+ },
563
+ fetch: {
564
+ module: "core",
565
+ category: "effect",
566
+ minArity: 1,
567
+ maxArity: 2,
568
+ description: "Fetch an entity (by id) or a collection (by filter) from persistence",
569
+ hasSideEffects: true,
570
+ returnType: "void",
571
+ params: [
572
+ { name: "entity", type: { kind: "entity" }, description: "Target entity name" },
573
+ {
574
+ name: "options",
575
+ type: {
576
+ kind: "object",
577
+ fields: {
578
+ id: STRING,
579
+ filter: ANY,
580
+ limit: NUMBER,
581
+ offset: NUMBER,
582
+ include: { kind: "array", of: STRING },
583
+ emit: { kind: "object", fields: {}, open: true }
584
+ },
585
+ open: true
586
+ },
587
+ description: "Fetch options: id | filter | limit | offset | include | emit",
588
+ optional: true
589
+ }
590
+ ],
591
+ example: '["fetch", "Task", { "id": "@payload.taskId", "emit": { "success": "TASK_LOADED" } }]',
592
+ effect: {
593
+ kind: "fetch",
594
+ // Call-site-discriminated union: options.id present -> single entity;
595
+ // otherwise -> array of entity. The compiler narrows at the call site
596
+ // when checking emit.success against the declared event payload.
597
+ produces: {
598
+ kind: "union",
599
+ of: [
600
+ { kind: "entity" },
601
+ { kind: "array", of: { kind: "entity" } }
602
+ ]
603
+ }
604
+ }
605
+ },
606
+ ref: {
607
+ module: "core",
608
+ category: "effect",
609
+ minArity: 1,
610
+ maxArity: 2,
611
+ description: "Reactive entity reference (deprecated, use fetch with listens in V2)",
612
+ hasSideEffects: true,
613
+ returnType: "void",
614
+ params: [
615
+ { name: "entity", type: { kind: "entity" }, description: "Target entity name" },
616
+ {
617
+ name: "options",
618
+ type: {
619
+ kind: "object",
620
+ fields: {
621
+ id: STRING,
622
+ filter: ANY,
623
+ include: { kind: "array", of: STRING },
624
+ emit: { kind: "object", fields: {}, open: true }
625
+ },
626
+ open: true
627
+ },
628
+ description: "Ref options: id | filter | include | emit",
629
+ optional: true
630
+ }
631
+ ],
632
+ example: '["ref", "Task"]',
633
+ effect: {
634
+ kind: "ref",
635
+ // Same call-site shape as fetch. Kept for the V2 transition period;
636
+ // scheduled for deprecation in a later phase (see Almadar_Entity_V2_Plan.md).
637
+ produces: {
638
+ kind: "union",
639
+ of: [
640
+ { kind: "entity" },
641
+ { kind: "array", of: { kind: "entity" } }
642
+ ]
643
+ }
644
+ }
645
+ },
646
+ "call-service": {
647
+ module: "core",
648
+ category: "effect",
649
+ minArity: 2,
650
+ maxArity: 3,
651
+ description: "Invoke an external service action",
652
+ hasSideEffects: true,
653
+ returnType: "void",
654
+ params: [
655
+ { name: "service", type: STRING, description: 'Service name (e.g. "llm", "stripe")' },
656
+ { name: "action", type: STRING, description: 'Service action (e.g. "generate", "charge")' },
657
+ {
658
+ name: "params",
659
+ type: { kind: "object", fields: {}, open: true },
660
+ description: "Service-specific params",
661
+ optional: true
662
+ }
663
+ ],
664
+ example: '["call-service", "llm", "generate", { "userPrompt": "@entity.inputText" }]',
665
+ effect: {
666
+ kind: "call-service",
667
+ // TODO(entity-v2): narrow to the declared service return type once
668
+ // per-service return shapes live on the orbital services block.
669
+ // Today the emit.success payload is whatever the service adapter returns.
670
+ produces: ANY
671
+ }
672
+ },
673
+ "render-ui": {
674
+ module: "core",
675
+ category: "effect",
676
+ minArity: 2,
677
+ maxArity: 3,
678
+ description: "Render a pattern into a UI slot",
679
+ hasSideEffects: true,
680
+ returnType: "void",
681
+ params: [
682
+ { name: "slot", type: UI_SLOT, description: "Target UI slot (main, sidebar, modal, hud, ...)" },
683
+ {
684
+ name: "pattern",
685
+ type: {
686
+ kind: "union",
687
+ of: [
688
+ { kind: "object", fields: { patternType: PATTERN_TYPE }, open: true },
689
+ { kind: "literal", value: null }
690
+ ]
691
+ },
692
+ description: "Pattern config (or null to clear the slot)"
693
+ },
694
+ {
695
+ name: "props",
696
+ type: { kind: "object", fields: {}, open: true },
697
+ description: "Extra props forwarded to the pattern",
698
+ optional: true
699
+ }
700
+ ],
701
+ example: '["render-ui", "main", { "patternType": "entity-table", "columns": ["name"] }]',
702
+ effect: { kind: "render-ui" }
703
+ }
704
+ };
705
+ function getCoreOperators() {
706
+ return Object.keys(CORE_OPERATORS);
707
+ }
708
+
75
709
  // modules/math.ts
76
710
  var MATH_OPERATORS = {
77
711
  "math/abs": {
@@ -3938,6 +4572,7 @@ var COMPOSITION_OPERATORS = {
3938
4572
 
3939
4573
  // registry.ts
3940
4574
  var STD_OPERATORS = {
4575
+ ...CORE_OPERATORS,
3941
4576
  ...MATH_OPERATORS,
3942
4577
  ...STR_OPERATORS,
3943
4578
  ...ARRAY_OPERATORS,
@@ -3954,7 +4589,9 @@ var STD_OPERATORS = {
3954
4589
  ...AGENT_OPERATORS,
3955
4590
  ...COMPOSITION_OPERATORS
3956
4591
  };
4592
+ var OPERATOR_NAMES = Object.keys(STD_OPERATORS);
3957
4593
  var STD_OPERATORS_BY_MODULE = {
4594
+ core: CORE_OPERATORS,
3958
4595
  math: MATH_OPERATORS,
3959
4596
  str: STR_OPERATORS,
3960
4597
  array: ARRAY_OPERATORS,
@@ -12018,6 +12655,12 @@ function explodeBehaviorComposition(behaviorName) {
12018
12655
 
12019
12656
  // docs-generator.ts
12020
12657
  var MODULE_DESCRIPTIONS = {
12658
+ core: {
12659
+ name: "Core",
12660
+ displayName: "Language Primitives",
12661
+ description: "Unnamespaced S-expression operators: arithmetic, comparison, logic, control flow, and effects. The core of the .orb language.",
12662
+ icon: "\u2699\uFE0F"
12663
+ },
12021
12664
  math: {
12022
12665
  name: "Math",
12023
12666
  displayName: "Mathematical Operations",
@@ -12208,13 +12851,48 @@ function formatArity(minArity, maxArity) {
12208
12851
  }
12209
12852
  return `${minArity}\u2013${maxArity} arguments`;
12210
12853
  }
12854
+ function formatTypeRef(ref) {
12855
+ if (typeof ref === "string") return ref;
12856
+ switch (ref.kind) {
12857
+ case "literal":
12858
+ return JSON.stringify(ref.value);
12859
+ case "union":
12860
+ return ref.of.map(formatTypeRef).join(" | ");
12861
+ case "array":
12862
+ return `${formatTypeRef(ref.of)}[]`;
12863
+ case "object": {
12864
+ const fields = Object.entries(ref.fields).map(([k, v]) => `${k}: ${formatTypeRef(v)}`).join(", ");
12865
+ return ref.open ? `{ ${fields}, ... }` : `{ ${fields} }`;
12866
+ }
12867
+ case "entity":
12868
+ return ref.collection ? `Entity<${ref.collection}>` : "Entity";
12869
+ case "entityRef":
12870
+ return "EntityRef";
12871
+ case "eventKey":
12872
+ return ref.scope ? `EventKey<${ref.scope}>` : "EventKey";
12873
+ case "uiSlot":
12874
+ return "UISlot";
12875
+ case "patternType":
12876
+ return "PatternType";
12877
+ case "binding":
12878
+ return ref.shape ? `Binding<${formatTypeRef(ref.shape)}>` : "Binding";
12879
+ case "sexpr":
12880
+ return "SExpr";
12881
+ }
12882
+ }
12211
12883
  function generateOperatorDoc(opName, meta) {
12212
12884
  return {
12213
12885
  name: opName,
12214
12886
  shortName: opName.split("/")[1] || opName,
12215
12887
  displayName: humanizeOperatorName(opName),
12216
12888
  description: meta.description,
12217
- params: meta.params || [],
12889
+ params: (meta.params || []).map((p) => ({
12890
+ name: p.name,
12891
+ type: formatTypeRef(p.type),
12892
+ description: p.description,
12893
+ optional: p.optional,
12894
+ defaultValue: p.defaultValue
12895
+ })),
12218
12896
  example: meta.example || "",
12219
12897
  returnType: meta.returnType || "any",
12220
12898
  returnTypeHuman: humanizeReturnType(meta.returnType),
@@ -12483,6 +13161,6 @@ function generateStdLibDocs() {
12483
13161
  return { modules, behaviors };
12484
13162
  }
12485
13163
 
12486
- export { ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_CATEGORY_DESCRIPTIONS, FORMAT_OPERATORS, MATH_OPERATORS, MODULE_DESCRIPTIONS, OBJECT_OPERATORS, STD_MODULES, STD_OPERATORS, STD_OPERATORS_BY_MODULE, STD_OPERATOR_CATEGORIES, STR_OPERATORS, TIME_OPERATORS, VALIDATE_OPERATORS, explodeBehaviorComposition, formatArity, generateBehaviorDoc, generateBehaviorsDocs, generateModuleDoc, generateModulesDocs, generateOperatorDoc, generateStdLibDocs, getAllBehaviorNames, getAllBehaviors, getAllStdOperators, getBehaviorMetadata, getBehaviorRegistry, getBehaviorSummary, getBehaviorsByDomain, getBehaviorsByLevel, getBehaviorsByOperations, getFunctionFromOperator, getLambdaOperators, getModuleFromOperator, getModuleOperators, getOperatorMetaExtended, getStdEffectOperators, getStdLibStats, getStdOperatorMeta, getStdOperatorsByModule, getStdPureOperators, hasGoldenOrb, humanizeOperatorName, humanizeReturnType, isEffectOperatorExtended, isKnownOperatorExtended, isKnownStdOperator, isStdCategory, isStdEffectOperator, isStdGuardOperator, isStdOperator, loadGoldenOrb, makeStdOperator, searchBehaviors, stdAgentActivityLog, stdAgentActivityLogPage, stdAgentActivityLogTrait, stdAgentAssistant, stdAgentAssistantAssistantAgentTrait, stdAgentAssistantAssistantConversationTrait, stdAgentAssistantPage, stdAgentBuilder, stdAgentBuilderBuildPlannerTrait, stdAgentBuilderPage, stdAgentBuilderPlannerClassifierFlowTrait, stdAgentBuilderPlannerCompletionFlowTrait, stdAgentBuilderPlannerMemoryLifecycleTrait, stdAgentBuilderPlannerTaskInputTrait, stdAgentChatThread, stdAgentChatThreadPage, stdAgentChatThreadTrait, stdAgentClassifier, stdAgentClassifierAgentClassifierAgentTrait, stdAgentClassifierAgentClassifierModalTrait, stdAgentClassifierAgentClassifierNotificationTrait, stdAgentClassifierPage, stdAgentCompletion, stdAgentCompletionAgentCompletionAgentTrait, stdAgentCompletionAgentCompletionModalTrait, stdAgentCompletionAgentCompletionNotificationTrait, stdAgentCompletionPage, stdAgentContextWindow, stdAgentContextWindowAgentContextWindowAgentTrait, stdAgentContextWindowAgentContextWindowGaugeTrait, stdAgentContextWindowAgentContextWindowNotificationTrait, stdAgentContextWindowPage, stdAgentConversation, stdAgentConversationAgentConversationAgentTrait, stdAgentConversationAgentConversationThreadTrait, stdAgentConversationPage, stdAgentFixLoop, stdAgentFixLoopAgentFixLoopCycleTrait, stdAgentFixLoopFixLoopCompletionFlowTrait, stdAgentFixLoopFixLoopErrorsBrowseTrait, stdAgentFixLoopFixLoopFixCallTrait, stdAgentFixLoopFixLoopStepProgressTrait, stdAgentFixLoopFixLoopValidateCallTrait, stdAgentFixLoopPage, stdAgentLearner, stdAgentLearnerAgentLearnerLearnerTrait, stdAgentLearnerLearnerCompletionFlowTrait, stdAgentLearnerLearnerMemoryLifecycleTrait, stdAgentLearnerLearnerProviderManagerTrait, stdAgentLearnerLearnerRecordsBrowseTrait, stdAgentLearnerPage, stdAgentMemory, stdAgentMemoryAgentMemoryAgentTrait, stdAgentMemoryAgentMemoryBrowseTrait, stdAgentMemoryAgentMemoryCreateTrait, stdAgentMemoryPage, stdAgentPipeline, stdAgentPipelinePage, stdAgentPipelinePipelinePlannerTrait, stdAgentPipelinePlannerClassifierFlowTrait, stdAgentPipelinePlannerCompletionFlowTrait, stdAgentPipelinePlannerMemoryLifecycleTrait, stdAgentPipelinePlannerTaskInputTrait, stdAgentPlanner, stdAgentPlannerAgentPlannerPlannerTrait, stdAgentPlannerPage, stdAgentPlannerPlannerClassifierFlowTrait, stdAgentPlannerPlannerCompletionFlowTrait, stdAgentPlannerPlannerMemoryLifecycleTrait, stdAgentPlannerPlannerTaskInputTrait, stdAgentProvider, stdAgentProviderAgentProviderAgentTrait, stdAgentProviderAgentProviderModalTrait, stdAgentProviderAgentProviderNotificationTrait, stdAgentProviderPage, stdAgentRag, stdAgentRagAgentRagRagTrait, stdAgentRagPage, stdAgentRagRagCompletionFlowTrait, stdAgentRagRagMemoryLifecycleTrait, stdAgentRagRagSearchLifecycleTrait, stdAgentRagRagTabsTrait, stdAgentReviewer, stdAgentReviewerPage, stdAgentReviewerTrait, stdAgentSearch, stdAgentSearchAgentSearchAgentTrait, stdAgentSearchAgentSearchBrowseTrait, stdAgentSearchPage, stdAgentSession, stdAgentSessionAgentSessionAgentTrait, stdAgentSessionAgentSessionBrowseTrait, stdAgentSessionAgentSessionLabelTrait, stdAgentSessionPage, stdAgentStepProgress, stdAgentStepProgressPage, stdAgentStepProgressTrait, stdAgentTokenGauge, stdAgentTokenGaugePage, stdAgentTokenGaugeTrait, stdAgentToolCall, stdAgentToolCallAgentToolCallAgentTrait, stdAgentToolCallAgentToolCallModalTrait, stdAgentToolCallPage, stdAgentToolLoop, stdAgentToolLoopAgentToolLoopLoopTrait, stdAgentToolLoopPage, stdAgentToolLoopToolLoopCompletionFlowTrait, stdAgentToolLoopToolLoopContextMonitorTrait, stdAgentToolLoopToolLoopStepProgressTrait, stdAgentToolLoopToolLoopToolCallFlowTrait, stdAgentTutor, stdAgentTutorPage, stdAgentTutorTrait, stdApiGateway, stdApiGatewayPage, stdApiGatewayRouteBrowseTrait, stdApiGatewayRouteCreateTrait, stdApiGatewayRouteDeleteTrait, stdApiGatewayRouteEditTrait, stdApiGatewayRouteViewTrait, stdArcadeGame, stdArcadeGamePage, stdArcadeGameTrait, stdAsync, stdAsyncPage, stdAsyncTrait, stdAutoregressive, stdAutoregressivePage, stdAutoregressiveTrait, stdBookingSystem, stdBookingSystemPage, stdBookingSystemProviderBrowseTrait, stdBookingSystemProviderCreateTrait, stdBookingSystemProviderDeleteTrait, stdBookingSystemProviderEditTrait, stdBookingSystemProviderViewTrait, stdBrowse, stdBrowsePage, stdBrowseTrait, stdBuilderGame, stdBuilderGamePage, stdBuilderGameTrait, stdCacheAside, stdCacheAsidePage, stdCacheAsideTrait, stdCalendar, stdCalendarPage, stdCalendarTrait, stdCart, stdCartCartItemAddItemTrait, stdCartCartItemCartBrowseTrait, stdCartCartItemRemoveConfirmTrait, stdCartPage, stdCicdPipeline, stdCicdPipelineBuildBrowseTrait, stdCicdPipelineBuildCreateTrait, stdCicdPipelineBuildDeleteTrait, stdCicdPipelineBuildEditTrait, stdCicdPipelineBuildViewTrait, stdCicdPipelinePage, stdCircuitBreaker, stdCircuitBreakerPage, stdCircuitBreakerTrait, stdClassifierGame, stdClassifierGamePage, stdClassifierGameTrait, stdCms, stdCmsArticleBrowseTrait, stdCmsArticleCreateTrait, stdCmsArticleDeleteTrait, stdCmsArticleEditTrait, stdCmsArticleViewTrait, stdCmsPage, stdCodingAcademy, stdCodingAcademyPage, stdCodingAcademyTrait, stdCollision, stdCollisionPage, stdCollisionTrait, stdCombat, stdCombatLog, stdCombatLogPage, stdCombatLogTrait, stdCombatPage, stdCombatTrait, stdConfirmation, stdConfirmationPage, stdConfirmationTrait, stdCrm, stdCrmContactBrowseTrait, stdCrmContactCreateTrait, stdCrmContactDeleteTrait, stdCrmContactEditTrait, stdCrmContactViewTrait, stdCrmPage, stdDebuggerGame, stdDebuggerGamePage, stdDebuggerGameTrait, stdDetail, stdDetailDetailRecordBrowseTrait, stdDetailDetailRecordCreateTrait, stdDetailDetailRecordViewTrait, stdDetailPage, stdDevopsDashboard, stdDevopsDashboardPage, stdDevopsDashboardTrait, stdDialogueBox, stdDialogueBoxPage, stdDialogueBoxTrait, stdDisplay, stdDisplayPage, stdDisplayTrait, stdDrawer, stdDrawerPage, stdDrawerTrait, stdEcommerce, stdEcommercePage, stdEcommerceProductBrowseTrait, stdEcommerceProductCreateTrait, stdEcommerceProductDeleteTrait, stdEcommerceProductEditTrait, stdEcommerceProductViewTrait, stdEventHandlerGame, stdEventHandlerGamePage, stdEventHandlerGameTrait, stdFilter, stdFilterPage, stdFilterTrait, stdFinanceTracker, stdFinanceTrackerPage, stdFinanceTrackerTransactionBrowseTrait, stdFinanceTrackerTransactionCreateTrait, stdFinanceTrackerTransactionDeleteTrait, stdFinanceTrackerTransactionEditTrait, stdFinanceTrackerTransactionViewTrait, stdFlipCard, stdFlipCardPage, stdFlipCardTrait, stdFormAdvanced, stdFormAdvancedPage, stdFormAdvancedTrait, stdGallery, stdGalleryPage, stdGalleryTrait, stdGameAudio, stdGameAudioPage, stdGameAudioTrait, stdGameCanvas2d, stdGameCanvas2dPage, stdGameCanvas2dTrait, stdGameCanvas3d, stdGameCanvas3dPage, stdGameCanvas3dTrait, stdGameHud, stdGameHudPage, stdGameHudTrait, stdGameMenu, stdGameMenuPage, stdGameMenuTrait, stdGameOverScreen, stdGameOverScreenPage, stdGameOverScreenTrait, stdGameflow, stdGameflowPage, stdGameflowTrait, stdGeospatial, stdGeospatialLocationBrowseTrait, stdGeospatialLocationConfirmSelectTrait, stdGeospatialLocationSelectTrait, stdGeospatialPage, stdHealthcare, stdHealthcarePage, stdHealthcarePatientBrowseTrait, stdHealthcarePatientCreateTrait, stdHealthcarePatientDeleteTrait, stdHealthcarePatientEditTrait, stdHealthcarePatientViewTrait, stdHelpdesk, stdHelpdeskPage, stdHelpdeskTicketBrowseTrait, stdHelpdeskTicketCreateTrait, stdHelpdeskTicketDeleteTrait, stdHelpdeskTicketEditTrait, stdHelpdeskTicketViewTrait, stdHrPortal, stdHrPortalEmployeeBrowseTrait, stdHrPortalEmployeeCreateTrait, stdHrPortalEmployeeDeleteTrait, stdHrPortalEmployeeEditTrait, stdHrPortalEmployeeViewTrait, stdHrPortalPage, stdInput, stdInputPage, stdInputTrait, stdInventory, stdInventoryInventoryItemAddTrait, stdInventoryInventoryItemBrowseTrait, stdInventoryInventoryItemDropTrait, stdInventoryInventoryItemUseTrait, stdInventoryPage, stdInventoryPanel, stdInventoryPanelPage, stdInventoryPanelTrait, stdIotDashboard, stdIotDashboardPage, stdIotDashboardTrait, stdIsometricCanvas, stdIsometricCanvasPage, stdIsometricCanvasTrait, stdList, stdListListItemBrowseTrait, stdListListItemCreateTrait, stdListListItemDeleteTrait, stdListListItemEditTrait, stdListListItemViewTrait, stdListPage, stdLms, stdLmsCourseBrowseTrait, stdLmsCourseCreateTrait, stdLmsCourseDeleteTrait, stdLmsCourseEditTrait, stdLmsCourseViewTrait, stdLmsPage, stdLoading, stdLoadingPage, stdLoadingTrait, stdLogicTraining, stdLogicTrainingPage, stdLogicTrainingTrait, stdMessaging, stdMessagingChatMessageBrowseTrait, stdMessagingChatMessageComposeTrait, stdMessagingChatMessageViewTrait, stdMessagingPage, stdModal, stdModalPage, stdModalTrait, stdMovement, stdMovementPage, stdMovementTrait, stdNegotiatorGame, stdNegotiatorGamePage, stdNegotiatorGameTrait, stdNotification, stdNotificationPage, stdNotificationTrait, stdOverworld, stdOverworldPage, stdOverworldTrait, stdPagination, stdPaginationPage, stdPaginationTrait, stdPhysics2d, stdPhysics2dPage, stdPhysics2dTrait, stdPlatformerApp, stdPlatformerAppPage, stdPlatformerAppPlatLevelPlatformerCanvasTrait, stdPlatformerAppPlatLevelPlatformerFlowTrait, stdPlatformerCanvas, stdPlatformerCanvasPage, stdPlatformerCanvasTrait, stdPlatformerGame, stdPlatformerGamePage, stdPlatformerGamePlatLevelPlatformerCanvasTrait, stdPlatformerGamePlatLevelPlatformerFlowTrait, stdProjectManager, stdProjectManagerPage, stdProjectManagerTaskBrowseTrait, stdProjectManagerTaskCreateTrait, stdProjectManagerTaskDeleteTrait, stdProjectManagerTaskEditTrait, stdProjectManagerTaskViewTrait, stdPuzzleApp, stdPuzzleAppPage, stdPuzzleAppPuzzleLevelPuzzleFlowTrait, stdPuzzleAppPuzzleLevelPuzzleScoreTrait, stdPuzzleGame, stdPuzzleGamePage, stdPuzzleGamePuzzleBoardPuzzleFlowTrait, stdPuzzleGamePuzzleBoardPuzzleScoreTrait, stdQuest, stdQuestPage, stdQuestTrait, stdQuiz, stdQuizPage, stdQuizTrait, stdRateLimiter, stdRateLimiterPage, stdRateLimiterTrait, stdRating, stdRatingPage, stdRatingTrait, stdRealtimeChat, stdRealtimeChatChatMessageBrowseTrait, stdRealtimeChatChatMessageComposeTrait, stdRealtimeChatChatMessageViewTrait, stdRealtimeChatPage, stdRpgGame, stdRpgGameBattleStateBattleFlowTrait, stdRpgGameBattleStateCombatLogTrait, stdRpgGamePage, stdScore, stdScoreBoard, stdScoreBoardPage, stdScoreBoardTrait, stdScorePage, stdScoreTrait, stdSearch, stdSearchPage, stdSearchTrait, stdSelection, stdSelectionPage, stdSelectionTrait, stdSequencerGame, stdSequencerGamePage, stdSequencerGameTrait, stdServiceContentPipeline, stdServiceContentPipelinePage, stdServiceContentPipelineTrait, stdServiceCustomApiTester, stdServiceCustomApiTesterPage, stdServiceCustomApiTesterTrait, stdServiceCustomBearer, stdServiceCustomBearerPage, stdServiceCustomBearerTrait, stdServiceCustomHeader, stdServiceCustomHeaderPage, stdServiceCustomHeaderTrait, stdServiceCustomNoauth, stdServiceCustomNoauthPage, stdServiceCustomNoauthTrait, stdServiceCustomQuery, stdServiceCustomQueryPage, stdServiceCustomQueryTrait, stdServiceDevopsToolkit, stdServiceDevopsToolkitPage, stdServiceDevopsToolkitServiceDevopsToolkitGithubTrait, stdServiceDevopsToolkitServiceDevopsToolkitRedisTrait, stdServiceDevopsToolkitServiceDevopsToolkitStorageTrait, stdServiceEmail, stdServiceEmailPage, stdServiceEmailTrait, stdServiceGithub, stdServiceGithubPage, stdServiceGithubTrait, stdServiceLlm, stdServiceLlmPage, stdServiceLlmTrait, stdServiceMarketplace, stdServiceMarketplacePage, stdServiceMarketplaceProductBrowseTrait, stdServiceMarketplaceProductCreateTrait, stdServiceMarketplaceProductDeleteTrait, stdServiceMarketplaceProductEditTrait, stdServiceMarketplaceProductViewTrait, stdServiceNotificationHub, stdServiceNotificationHubPage, stdServiceNotificationHubTrait, stdServiceOauth, stdServiceOauthPage, stdServiceOauthTrait, stdServicePaymentFlow, stdServicePaymentFlowPage, stdServicePaymentFlowServicePaymentFlowPaymentTrait, stdServicePaymentFlowServicePaymentFlowReceiptTrait, stdServiceRedis, stdServiceRedisPage, stdServiceRedisTrait, stdServiceResearchAssistant, stdServiceResearchAssistantPage, stdServiceResearchAssistantTrait, stdServiceStorage, stdServiceStoragePage, stdServiceStorageTrait, stdServiceStripe, stdServiceStripePage, stdServiceStripeTrait, stdServiceTwilio, stdServiceTwilioPage, stdServiceTwilioTrait, stdServiceYoutube, stdServiceYoutubePage, stdServiceYoutubeTrait, stdSimulationCanvas, stdSimulationCanvasPage, stdSimulationCanvasTrait, stdSimulatorGame, stdSimulatorGamePage, stdSimulatorGameTrait, stdSocialFeed, stdSocialFeedPage, stdSocialFeedPostBrowseTrait, stdSocialFeedPostCreateTrait, stdSocialFeedPostViewTrait, stdSort, stdSortPage, stdSortTrait, stdSprite, stdSpritePage, stdSpriteTrait, stdStemLab, stdStemLabPage, stdStemLabTrait, stdStrategyGame, stdStrategyGameArmyBattleBattleFlowTrait, stdStrategyGameArmyBattleCombatLogTrait, stdStrategyGamePage, stdTabs, stdTabsPage, stdTabsTrait, stdTextEffects, stdTextEffectsPage, stdTextEffectsTrait, stdTheme, stdThemePage, stdThemeTrait, stdTimer, stdTimerPage, stdTimerTrait, stdTradingDashboard, stdTradingDashboardPage, stdTradingDashboardTrait, stdTurnBasedBattle, stdTurnBasedBattleBattleUnitBattleFlowTrait, stdTurnBasedBattleBattleUnitCombatLogTrait, stdTurnBasedBattlePage, stdUndo, stdUndoPage, stdUndoTrait, stdUpload, stdUploadPage, stdUploadTrait, stdValidateOnSave, stdValidateOnSavePage, stdValidateOnSaveTrait, stdWizard, stdWizardPage, stdWizardTrait, validateBehaviorEvents, validateBehaviorStates, validateBehaviorStructure, validateOperatorArityExtended, validateStdOperatorArity };
13164
+ export { ARRAY_OPERATORS, ASYNC_OPERATORS, BEHAVIOR_CATEGORY_DESCRIPTIONS, CORE_OPERATORS, FORMAT_OPERATORS, MATH_OPERATORS, MODULE_DESCRIPTIONS, OBJECT_OPERATORS, STD_OPERATORS as OPERATORS, OPERATOR_CATEGORIES, OPERATOR_NAMES, STD_MODULES, STD_OPERATORS, STD_OPERATORS_BY_MODULE, STD_OPERATOR_CATEGORIES, STR_OPERATORS, TIME_OPERATORS, VALIDATE_OPERATORS, explodeBehaviorComposition, formatArity, generateBehaviorDoc, generateBehaviorsDocs, generateModuleDoc, generateModulesDocs, generateOperatorDoc, generateStdLibDocs, getAllBehaviorNames, getAllBehaviors, getAllStdOperators as getAllOperatorNames, getAllStdOperators, getBehaviorMetadata, getBehaviorRegistry, getBehaviorSummary, getBehaviorsByDomain, getBehaviorsByLevel, getBehaviorsByOperations, getCoreOperators, getFunctionFromOperator, getLambdaOperators, getModuleFromOperator, getModuleOperators, getOperatorMetaExtended, getStdEffectOperators, getStdLibStats, getStdOperatorMeta, getStdOperatorsByModule, getStdPureOperators, hasGoldenOrb, humanizeOperatorName, humanizeReturnType, isEffectOperatorExtended, isKnownStdOperator as isKnownOperator, isKnownOperatorExtended, isKnownStdOperator, isStdCategory, isStdEffectOperator, isStdGuardOperator, isStdOperator, loadGoldenOrb, makeStdOperator, searchBehaviors, stdAgentActivityLog, stdAgentActivityLogPage, stdAgentActivityLogTrait, stdAgentAssistant, stdAgentAssistantAssistantAgentTrait, stdAgentAssistantAssistantConversationTrait, stdAgentAssistantPage, stdAgentBuilder, stdAgentBuilderBuildPlannerTrait, stdAgentBuilderPage, stdAgentBuilderPlannerClassifierFlowTrait, stdAgentBuilderPlannerCompletionFlowTrait, stdAgentBuilderPlannerMemoryLifecycleTrait, stdAgentBuilderPlannerTaskInputTrait, stdAgentChatThread, stdAgentChatThreadPage, stdAgentChatThreadTrait, stdAgentClassifier, stdAgentClassifierAgentClassifierAgentTrait, stdAgentClassifierAgentClassifierModalTrait, stdAgentClassifierAgentClassifierNotificationTrait, stdAgentClassifierPage, stdAgentCompletion, stdAgentCompletionAgentCompletionAgentTrait, stdAgentCompletionAgentCompletionModalTrait, stdAgentCompletionAgentCompletionNotificationTrait, stdAgentCompletionPage, stdAgentContextWindow, stdAgentContextWindowAgentContextWindowAgentTrait, stdAgentContextWindowAgentContextWindowGaugeTrait, stdAgentContextWindowAgentContextWindowNotificationTrait, stdAgentContextWindowPage, stdAgentConversation, stdAgentConversationAgentConversationAgentTrait, stdAgentConversationAgentConversationThreadTrait, stdAgentConversationPage, stdAgentFixLoop, stdAgentFixLoopAgentFixLoopCycleTrait, stdAgentFixLoopFixLoopCompletionFlowTrait, stdAgentFixLoopFixLoopErrorsBrowseTrait, stdAgentFixLoopFixLoopFixCallTrait, stdAgentFixLoopFixLoopStepProgressTrait, stdAgentFixLoopFixLoopValidateCallTrait, stdAgentFixLoopPage, stdAgentLearner, stdAgentLearnerAgentLearnerLearnerTrait, stdAgentLearnerLearnerCompletionFlowTrait, stdAgentLearnerLearnerMemoryLifecycleTrait, stdAgentLearnerLearnerProviderManagerTrait, stdAgentLearnerLearnerRecordsBrowseTrait, stdAgentLearnerPage, stdAgentMemory, stdAgentMemoryAgentMemoryAgentTrait, stdAgentMemoryAgentMemoryBrowseTrait, stdAgentMemoryAgentMemoryCreateTrait, stdAgentMemoryPage, stdAgentPipeline, stdAgentPipelinePage, stdAgentPipelinePipelinePlannerTrait, stdAgentPipelinePlannerClassifierFlowTrait, stdAgentPipelinePlannerCompletionFlowTrait, stdAgentPipelinePlannerMemoryLifecycleTrait, stdAgentPipelinePlannerTaskInputTrait, stdAgentPlanner, stdAgentPlannerAgentPlannerPlannerTrait, stdAgentPlannerPage, stdAgentPlannerPlannerClassifierFlowTrait, stdAgentPlannerPlannerCompletionFlowTrait, stdAgentPlannerPlannerMemoryLifecycleTrait, stdAgentPlannerPlannerTaskInputTrait, stdAgentProvider, stdAgentProviderAgentProviderAgentTrait, stdAgentProviderAgentProviderModalTrait, stdAgentProviderAgentProviderNotificationTrait, stdAgentProviderPage, stdAgentRag, stdAgentRagAgentRagRagTrait, stdAgentRagPage, stdAgentRagRagCompletionFlowTrait, stdAgentRagRagMemoryLifecycleTrait, stdAgentRagRagSearchLifecycleTrait, stdAgentRagRagTabsTrait, stdAgentReviewer, stdAgentReviewerPage, stdAgentReviewerTrait, stdAgentSearch, stdAgentSearchAgentSearchAgentTrait, stdAgentSearchAgentSearchBrowseTrait, stdAgentSearchPage, stdAgentSession, stdAgentSessionAgentSessionAgentTrait, stdAgentSessionAgentSessionBrowseTrait, stdAgentSessionAgentSessionLabelTrait, stdAgentSessionPage, stdAgentStepProgress, stdAgentStepProgressPage, stdAgentStepProgressTrait, stdAgentTokenGauge, stdAgentTokenGaugePage, stdAgentTokenGaugeTrait, stdAgentToolCall, stdAgentToolCallAgentToolCallAgentTrait, stdAgentToolCallAgentToolCallModalTrait, stdAgentToolCallPage, stdAgentToolLoop, stdAgentToolLoopAgentToolLoopLoopTrait, stdAgentToolLoopPage, stdAgentToolLoopToolLoopCompletionFlowTrait, stdAgentToolLoopToolLoopContextMonitorTrait, stdAgentToolLoopToolLoopStepProgressTrait, stdAgentToolLoopToolLoopToolCallFlowTrait, stdAgentTutor, stdAgentTutorPage, stdAgentTutorTrait, stdApiGateway, stdApiGatewayPage, stdApiGatewayRouteBrowseTrait, stdApiGatewayRouteCreateTrait, stdApiGatewayRouteDeleteTrait, stdApiGatewayRouteEditTrait, stdApiGatewayRouteViewTrait, stdArcadeGame, stdArcadeGamePage, stdArcadeGameTrait, stdAsync, stdAsyncPage, stdAsyncTrait, stdAutoregressive, stdAutoregressivePage, stdAutoregressiveTrait, stdBookingSystem, stdBookingSystemPage, stdBookingSystemProviderBrowseTrait, stdBookingSystemProviderCreateTrait, stdBookingSystemProviderDeleteTrait, stdBookingSystemProviderEditTrait, stdBookingSystemProviderViewTrait, stdBrowse, stdBrowsePage, stdBrowseTrait, stdBuilderGame, stdBuilderGamePage, stdBuilderGameTrait, stdCacheAside, stdCacheAsidePage, stdCacheAsideTrait, stdCalendar, stdCalendarPage, stdCalendarTrait, stdCart, stdCartCartItemAddItemTrait, stdCartCartItemCartBrowseTrait, stdCartCartItemRemoveConfirmTrait, stdCartPage, stdCicdPipeline, stdCicdPipelineBuildBrowseTrait, stdCicdPipelineBuildCreateTrait, stdCicdPipelineBuildDeleteTrait, stdCicdPipelineBuildEditTrait, stdCicdPipelineBuildViewTrait, stdCicdPipelinePage, stdCircuitBreaker, stdCircuitBreakerPage, stdCircuitBreakerTrait, stdClassifierGame, stdClassifierGamePage, stdClassifierGameTrait, stdCms, stdCmsArticleBrowseTrait, stdCmsArticleCreateTrait, stdCmsArticleDeleteTrait, stdCmsArticleEditTrait, stdCmsArticleViewTrait, stdCmsPage, stdCodingAcademy, stdCodingAcademyPage, stdCodingAcademyTrait, stdCollision, stdCollisionPage, stdCollisionTrait, stdCombat, stdCombatLog, stdCombatLogPage, stdCombatLogTrait, stdCombatPage, stdCombatTrait, stdConfirmation, stdConfirmationPage, stdConfirmationTrait, stdCrm, stdCrmContactBrowseTrait, stdCrmContactCreateTrait, stdCrmContactDeleteTrait, stdCrmContactEditTrait, stdCrmContactViewTrait, stdCrmPage, stdDebuggerGame, stdDebuggerGamePage, stdDebuggerGameTrait, stdDetail, stdDetailDetailRecordBrowseTrait, stdDetailDetailRecordCreateTrait, stdDetailDetailRecordViewTrait, stdDetailPage, stdDevopsDashboard, stdDevopsDashboardPage, stdDevopsDashboardTrait, stdDialogueBox, stdDialogueBoxPage, stdDialogueBoxTrait, stdDisplay, stdDisplayPage, stdDisplayTrait, stdDrawer, stdDrawerPage, stdDrawerTrait, stdEcommerce, stdEcommercePage, stdEcommerceProductBrowseTrait, stdEcommerceProductCreateTrait, stdEcommerceProductDeleteTrait, stdEcommerceProductEditTrait, stdEcommerceProductViewTrait, stdEventHandlerGame, stdEventHandlerGamePage, stdEventHandlerGameTrait, stdFilter, stdFilterPage, stdFilterTrait, stdFinanceTracker, stdFinanceTrackerPage, stdFinanceTrackerTransactionBrowseTrait, stdFinanceTrackerTransactionCreateTrait, stdFinanceTrackerTransactionDeleteTrait, stdFinanceTrackerTransactionEditTrait, stdFinanceTrackerTransactionViewTrait, stdFlipCard, stdFlipCardPage, stdFlipCardTrait, stdFormAdvanced, stdFormAdvancedPage, stdFormAdvancedTrait, stdGallery, stdGalleryPage, stdGalleryTrait, stdGameAudio, stdGameAudioPage, stdGameAudioTrait, stdGameCanvas2d, stdGameCanvas2dPage, stdGameCanvas2dTrait, stdGameCanvas3d, stdGameCanvas3dPage, stdGameCanvas3dTrait, stdGameHud, stdGameHudPage, stdGameHudTrait, stdGameMenu, stdGameMenuPage, stdGameMenuTrait, stdGameOverScreen, stdGameOverScreenPage, stdGameOverScreenTrait, stdGameflow, stdGameflowPage, stdGameflowTrait, stdGeospatial, stdGeospatialLocationBrowseTrait, stdGeospatialLocationConfirmSelectTrait, stdGeospatialLocationSelectTrait, stdGeospatialPage, stdHealthcare, stdHealthcarePage, stdHealthcarePatientBrowseTrait, stdHealthcarePatientCreateTrait, stdHealthcarePatientDeleteTrait, stdHealthcarePatientEditTrait, stdHealthcarePatientViewTrait, stdHelpdesk, stdHelpdeskPage, stdHelpdeskTicketBrowseTrait, stdHelpdeskTicketCreateTrait, stdHelpdeskTicketDeleteTrait, stdHelpdeskTicketEditTrait, stdHelpdeskTicketViewTrait, stdHrPortal, stdHrPortalEmployeeBrowseTrait, stdHrPortalEmployeeCreateTrait, stdHrPortalEmployeeDeleteTrait, stdHrPortalEmployeeEditTrait, stdHrPortalEmployeeViewTrait, stdHrPortalPage, stdInput, stdInputPage, stdInputTrait, stdInventory, stdInventoryInventoryItemAddTrait, stdInventoryInventoryItemBrowseTrait, stdInventoryInventoryItemDropTrait, stdInventoryInventoryItemUseTrait, stdInventoryPage, stdInventoryPanel, stdInventoryPanelPage, stdInventoryPanelTrait, stdIotDashboard, stdIotDashboardPage, stdIotDashboardTrait, stdIsometricCanvas, stdIsometricCanvasPage, stdIsometricCanvasTrait, stdList, stdListListItemBrowseTrait, stdListListItemCreateTrait, stdListListItemDeleteTrait, stdListListItemEditTrait, stdListListItemViewTrait, stdListPage, stdLms, stdLmsCourseBrowseTrait, stdLmsCourseCreateTrait, stdLmsCourseDeleteTrait, stdLmsCourseEditTrait, stdLmsCourseViewTrait, stdLmsPage, stdLoading, stdLoadingPage, stdLoadingTrait, stdLogicTraining, stdLogicTrainingPage, stdLogicTrainingTrait, stdMessaging, stdMessagingChatMessageBrowseTrait, stdMessagingChatMessageComposeTrait, stdMessagingChatMessageViewTrait, stdMessagingPage, stdModal, stdModalPage, stdModalTrait, stdMovement, stdMovementPage, stdMovementTrait, stdNegotiatorGame, stdNegotiatorGamePage, stdNegotiatorGameTrait, stdNotification, stdNotificationPage, stdNotificationTrait, stdOverworld, stdOverworldPage, stdOverworldTrait, stdPagination, stdPaginationPage, stdPaginationTrait, stdPhysics2d, stdPhysics2dPage, stdPhysics2dTrait, stdPlatformerApp, stdPlatformerAppPage, stdPlatformerAppPlatLevelPlatformerCanvasTrait, stdPlatformerAppPlatLevelPlatformerFlowTrait, stdPlatformerCanvas, stdPlatformerCanvasPage, stdPlatformerCanvasTrait, stdPlatformerGame, stdPlatformerGamePage, stdPlatformerGamePlatLevelPlatformerCanvasTrait, stdPlatformerGamePlatLevelPlatformerFlowTrait, stdProjectManager, stdProjectManagerPage, stdProjectManagerTaskBrowseTrait, stdProjectManagerTaskCreateTrait, stdProjectManagerTaskDeleteTrait, stdProjectManagerTaskEditTrait, stdProjectManagerTaskViewTrait, stdPuzzleApp, stdPuzzleAppPage, stdPuzzleAppPuzzleLevelPuzzleFlowTrait, stdPuzzleAppPuzzleLevelPuzzleScoreTrait, stdPuzzleGame, stdPuzzleGamePage, stdPuzzleGamePuzzleBoardPuzzleFlowTrait, stdPuzzleGamePuzzleBoardPuzzleScoreTrait, stdQuest, stdQuestPage, stdQuestTrait, stdQuiz, stdQuizPage, stdQuizTrait, stdRateLimiter, stdRateLimiterPage, stdRateLimiterTrait, stdRating, stdRatingPage, stdRatingTrait, stdRealtimeChat, stdRealtimeChatChatMessageBrowseTrait, stdRealtimeChatChatMessageComposeTrait, stdRealtimeChatChatMessageViewTrait, stdRealtimeChatPage, stdRpgGame, stdRpgGameBattleStateBattleFlowTrait, stdRpgGameBattleStateCombatLogTrait, stdRpgGamePage, stdScore, stdScoreBoard, stdScoreBoardPage, stdScoreBoardTrait, stdScorePage, stdScoreTrait, stdSearch, stdSearchPage, stdSearchTrait, stdSelection, stdSelectionPage, stdSelectionTrait, stdSequencerGame, stdSequencerGamePage, stdSequencerGameTrait, stdServiceContentPipeline, stdServiceContentPipelinePage, stdServiceContentPipelineTrait, stdServiceCustomApiTester, stdServiceCustomApiTesterPage, stdServiceCustomApiTesterTrait, stdServiceCustomBearer, stdServiceCustomBearerPage, stdServiceCustomBearerTrait, stdServiceCustomHeader, stdServiceCustomHeaderPage, stdServiceCustomHeaderTrait, stdServiceCustomNoauth, stdServiceCustomNoauthPage, stdServiceCustomNoauthTrait, stdServiceCustomQuery, stdServiceCustomQueryPage, stdServiceCustomQueryTrait, stdServiceDevopsToolkit, stdServiceDevopsToolkitPage, stdServiceDevopsToolkitServiceDevopsToolkitGithubTrait, stdServiceDevopsToolkitServiceDevopsToolkitRedisTrait, stdServiceDevopsToolkitServiceDevopsToolkitStorageTrait, stdServiceEmail, stdServiceEmailPage, stdServiceEmailTrait, stdServiceGithub, stdServiceGithubPage, stdServiceGithubTrait, stdServiceLlm, stdServiceLlmPage, stdServiceLlmTrait, stdServiceMarketplace, stdServiceMarketplacePage, stdServiceMarketplaceProductBrowseTrait, stdServiceMarketplaceProductCreateTrait, stdServiceMarketplaceProductDeleteTrait, stdServiceMarketplaceProductEditTrait, stdServiceMarketplaceProductViewTrait, stdServiceNotificationHub, stdServiceNotificationHubPage, stdServiceNotificationHubTrait, stdServiceOauth, stdServiceOauthPage, stdServiceOauthTrait, stdServicePaymentFlow, stdServicePaymentFlowPage, stdServicePaymentFlowServicePaymentFlowPaymentTrait, stdServicePaymentFlowServicePaymentFlowReceiptTrait, stdServiceRedis, stdServiceRedisPage, stdServiceRedisTrait, stdServiceResearchAssistant, stdServiceResearchAssistantPage, stdServiceResearchAssistantTrait, stdServiceStorage, stdServiceStoragePage, stdServiceStorageTrait, stdServiceStripe, stdServiceStripePage, stdServiceStripeTrait, stdServiceTwilio, stdServiceTwilioPage, stdServiceTwilioTrait, stdServiceYoutube, stdServiceYoutubePage, stdServiceYoutubeTrait, stdSimulationCanvas, stdSimulationCanvasPage, stdSimulationCanvasTrait, stdSimulatorGame, stdSimulatorGamePage, stdSimulatorGameTrait, stdSocialFeed, stdSocialFeedPage, stdSocialFeedPostBrowseTrait, stdSocialFeedPostCreateTrait, stdSocialFeedPostViewTrait, stdSort, stdSortPage, stdSortTrait, stdSprite, stdSpritePage, stdSpriteTrait, stdStemLab, stdStemLabPage, stdStemLabTrait, stdStrategyGame, stdStrategyGameArmyBattleBattleFlowTrait, stdStrategyGameArmyBattleCombatLogTrait, stdStrategyGamePage, stdTabs, stdTabsPage, stdTabsTrait, stdTextEffects, stdTextEffectsPage, stdTextEffectsTrait, stdTheme, stdThemePage, stdThemeTrait, stdTimer, stdTimerPage, stdTimerTrait, stdTradingDashboard, stdTradingDashboardPage, stdTradingDashboardTrait, stdTurnBasedBattle, stdTurnBasedBattleBattleUnitBattleFlowTrait, stdTurnBasedBattleBattleUnitCombatLogTrait, stdTurnBasedBattlePage, stdUndo, stdUndoPage, stdUndoTrait, stdUpload, stdUploadPage, stdUploadTrait, stdValidateOnSave, stdValidateOnSavePage, stdValidateOnSaveTrait, stdWizard, stdWizardPage, stdWizardTrait, validateBehaviorEvents, validateBehaviorStates, validateBehaviorStructure, validateStdOperatorArity as validateOperatorArity, validateOperatorArityExtended, validateStdOperatorArity };
12487
13165
  //# sourceMappingURL=index.js.map
12488
13166
  //# sourceMappingURL=index.js.map