@almadar/std 16.181.0 → 16.182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +290 -0
  2. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +290 -0
  3. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +238 -40
  4. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +180 -3
  5. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -0
  6. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +4 -4
  7. package/behaviors/lolo/ui/game/.hand-authored.json +1 -1
  8. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +5 -0
  9. package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +5 -0
  10. package/behaviors/lolo/ui/game/templates/ui-game-shell.lolo +5 -5
  11. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1643 -0
  12. package/behaviors/registry/infra/atoms/std-notification-center.orb +1621 -0
  13. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1734 -169
  14. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +846 -2
  15. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +9 -0
  16. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -2
  17. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +13 -1
  18. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +13 -1
  19. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +5 -5
  20. package/canonical-operators.json +21 -1
  21. package/dist/behaviors/exports-reader.js +8303 -3043
  22. package/dist/behaviors/functions/index.d.ts +468 -10
  23. package/dist/behaviors/functions/index.js +18352 -13109
  24. package/dist/behaviors/index.d.ts +1 -1
  25. package/dist/behaviors/index.js +8304 -3044
  26. package/dist/behaviors/query.js +8303 -3043
  27. package/dist/behaviors-embeddings.hash.json +3 -3
  28. package/dist/behaviors-embeddings.json +449 -441
  29. package/dist/behaviors-registry.json +1164 -9
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +8275 -2978
  32. package/dist/knob-embeddings.hash.json +3 -3
  33. package/dist/knob-embeddings.json +1 -1
  34. package/dist/modules/anim.d.ts +1 -1
  35. package/dist/modules/array.d.ts +1 -1
  36. package/dist/modules/async.d.ts +1 -1
  37. package/dist/modules/behavior.d.ts +1 -1
  38. package/dist/modules/browser.d.ts +1 -1
  39. package/dist/modules/browser.js +21 -0
  40. package/dist/modules/composition.d.ts +1 -1
  41. package/dist/modules/contract.d.ts +1 -1
  42. package/dist/modules/core.d.ts +1 -1
  43. package/dist/modules/core.js +18 -2
  44. package/dist/modules/data.d.ts +1 -1
  45. package/dist/modules/ease.d.ts +1 -1
  46. package/dist/modules/format.d.ts +1 -1
  47. package/dist/modules/geo.d.ts +1 -1
  48. package/dist/modules/graph.d.ts +1 -1
  49. package/dist/modules/grid.d.ts +1 -1
  50. package/dist/modules/index.d.ts +1 -1
  51. package/dist/modules/index.js +39 -2
  52. package/dist/modules/integration.d.ts +1 -1
  53. package/dist/modules/llm.d.ts +1 -1
  54. package/dist/modules/math.d.ts +1 -1
  55. package/dist/modules/memory.d.ts +1 -1
  56. package/dist/modules/nn.d.ts +1 -1
  57. package/dist/modules/noise.d.ts +1 -1
  58. package/dist/modules/object.d.ts +1 -1
  59. package/dist/modules/os.d.ts +1 -1
  60. package/dist/modules/path.d.ts +1 -1
  61. package/dist/modules/prob.d.ts +1 -1
  62. package/dist/modules/session.d.ts +1 -1
  63. package/dist/modules/str.d.ts +1 -1
  64. package/dist/modules/tensor.d.ts +1 -1
  65. package/dist/modules/time.d.ts +1 -1
  66. package/dist/modules/trace.d.ts +1 -1
  67. package/dist/modules/train.d.ts +1 -1
  68. package/dist/modules/validate.d.ts +1 -1
  69. package/dist/modules/vector.d.ts +1 -1
  70. package/dist/modules/workspace.d.ts +1 -1
  71. package/dist/registry/factory-signatures.json +1 -1
  72. package/dist/registry.d.ts +1 -1
  73. package/dist/registry.js +39 -2
  74. package/dist/{types-DGJ6Y6nW.d.ts → types-BXWzEjFm.d.ts} +1 -1
  75. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Anim Module - Sprite Animation Helpers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Array Module - Collection Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Async Module - Asynchronous Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.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-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Browser Module - Browser Device Operators (client host path)
@@ -71,6 +71,27 @@ var BROWSER_OPERATORS = {
71
71
  },
72
72
  example: '["browser/clipboard-write", "@entity.inviteUrl", { "emit": { "success": "COPIED", "failure": "COPY_DENIED" } }]'
73
73
  },
74
+ "browser/push-subscribe": {
75
+ module: "browser",
76
+ category: "std-browser",
77
+ minArity: 0,
78
+ maxArity: 0,
79
+ description: "Subscribe this browser to Web Push notifications: registers the shared push service worker, fetches the VAPID public key from the host (/api/push/vapid-public-key \u2014 no key material in the schema), and calls PushManager.subscribe. Requires notification permission (user gesture). Resolves with the flat subscription credentials { endpoint, p256dh, auth } via the trailing { emit } envelope \u2014 persist them on an owner-scoped entity row and pass them back to the push.send service as subscription: { endpoint, keys: { p256dh, auth } }. Emits failure when the Push API is unavailable, permission is denied, or the host has no VAPID key configured.",
80
+ hasSideEffects: true,
81
+ returnType: "object",
82
+ effect: {
83
+ kind: "custom",
84
+ produces: {
85
+ kind: "object",
86
+ fields: {
87
+ endpoint: "string",
88
+ p256dh: "string",
89
+ auth: "string"
90
+ }
91
+ }
92
+ },
93
+ example: '["browser/push-subscribe", { "emit": { "success": "PUSH_SUBSCRIBED", "failure": "PUSH_SUBSCRIBE_FAILED" } }]'
94
+ },
74
95
  "browser/geolocation-current": {
75
96
  module: "browser",
76
97
  category: "std-browser",
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Composition Module - Behavior Composition Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Contract Module - ML Contract Validation Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Core Module - Language Primitives
@@ -431,8 +431,8 @@ var CORE_OPERATORS = {
431
431
  module: "core",
432
432
  category: "effect",
433
433
  minArity: 1,
434
- maxArity: 2,
435
- description: "Navigate to a route",
434
+ maxArity: 3,
435
+ description: "Navigate to a route: (navigate path payload? options?) \u2014 options carries { crumb } labelling the navigation-stack entry for the target page",
436
436
  hasSideEffects: true,
437
437
  returnType: "void",
438
438
  params: [
@@ -442,11 +442,27 @@ var CORE_OPERATORS = {
442
442
  type: { kind: "object", fields: {}, open: true },
443
443
  description: "Optional route params",
444
444
  optional: true
445
+ },
446
+ {
447
+ name: "options",
448
+ type: { kind: "object", fields: {}, open: true },
449
+ description: "Optional navigation options: { crumb } labels the navigation-stack entry for the target page",
450
+ optional: true
445
451
  }
446
452
  ],
447
453
  example: '["navigate", "/tasks/:id", { "id": "@entity.id" }]',
448
454
  effect: { kind: "navigate" }
449
455
  },
456
+ "navigate-back": {
457
+ module: "core",
458
+ category: "effect",
459
+ minArity: 0,
460
+ maxArity: 0,
461
+ description: "Pop the orbital-scoped navigation stack and return to the previous entry",
462
+ hasSideEffects: true,
463
+ returnType: "void",
464
+ effect: { kind: "navigate-back" }
465
+ },
450
466
  notify: {
451
467
  module: "core",
452
468
  category: "effect",
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Data Module - ML Data Preprocessing Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Ease Module - Easing & Interpolation Curves
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Format Module - Display Formatting
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Geo Module - 2D Collision & Geometry
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Graph Module - Graph Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Grid Module - Tile/Cell Coordinate Operations
@@ -31,4 +31,4 @@ export { MEMORY_OPERATORS, getMemoryOperators } from './memory.js';
31
31
  export { TRACE_OPERATORS, getTraceOperators } from './trace.js';
32
32
  export { BEHAVIOR_OPERATORS, getBehaviorOperators } from './behavior.js';
33
33
  export { INTEGRATION_OPERATORS, getIntegrationOperators } from './integration.js';
34
- import '../types-DGJ6Y6nW.js';
34
+ import '../types-BXWzEjFm.js';
@@ -431,8 +431,8 @@ var CORE_OPERATORS = {
431
431
  module: "core",
432
432
  category: "effect",
433
433
  minArity: 1,
434
- maxArity: 2,
435
- description: "Navigate to a route",
434
+ maxArity: 3,
435
+ description: "Navigate to a route: (navigate path payload? options?) \u2014 options carries { crumb } labelling the navigation-stack entry for the target page",
436
436
  hasSideEffects: true,
437
437
  returnType: "void",
438
438
  params: [
@@ -442,11 +442,27 @@ var CORE_OPERATORS = {
442
442
  type: { kind: "object", fields: {}, open: true },
443
443
  description: "Optional route params",
444
444
  optional: true
445
+ },
446
+ {
447
+ name: "options",
448
+ type: { kind: "object", fields: {}, open: true },
449
+ description: "Optional navigation options: { crumb } labels the navigation-stack entry for the target page",
450
+ optional: true
445
451
  }
446
452
  ],
447
453
  example: '["navigate", "/tasks/:id", { "id": "@entity.id" }]',
448
454
  effect: { kind: "navigate" }
449
455
  },
456
+ "navigate-back": {
457
+ module: "core",
458
+ category: "effect",
459
+ minArity: 0,
460
+ maxArity: 0,
461
+ description: "Pop the orbital-scoped navigation stack and return to the previous entry",
462
+ hasSideEffects: true,
463
+ returnType: "void",
464
+ effect: { kind: "navigate-back" }
465
+ },
450
466
  notify: {
451
467
  module: "core",
452
468
  category: "effect",
@@ -5044,6 +5060,27 @@ var BROWSER_OPERATORS = {
5044
5060
  },
5045
5061
  example: '["browser/clipboard-write", "@entity.inviteUrl", { "emit": { "success": "COPIED", "failure": "COPY_DENIED" } }]'
5046
5062
  },
5063
+ "browser/push-subscribe": {
5064
+ module: "browser",
5065
+ category: "std-browser",
5066
+ minArity: 0,
5067
+ maxArity: 0,
5068
+ description: "Subscribe this browser to Web Push notifications: registers the shared push service worker, fetches the VAPID public key from the host (/api/push/vapid-public-key \u2014 no key material in the schema), and calls PushManager.subscribe. Requires notification permission (user gesture). Resolves with the flat subscription credentials { endpoint, p256dh, auth } via the trailing { emit } envelope \u2014 persist them on an owner-scoped entity row and pass them back to the push.send service as subscription: { endpoint, keys: { p256dh, auth } }. Emits failure when the Push API is unavailable, permission is denied, or the host has no VAPID key configured.",
5069
+ hasSideEffects: true,
5070
+ returnType: "object",
5071
+ effect: {
5072
+ kind: "custom",
5073
+ produces: {
5074
+ kind: "object",
5075
+ fields: {
5076
+ endpoint: "string",
5077
+ p256dh: "string",
5078
+ auth: "string"
5079
+ }
5080
+ }
5081
+ },
5082
+ example: '["browser/push-subscribe", { "emit": { "success": "PUSH_SUBSCRIBED", "failure": "PUSH_SUBSCRIBE_FAILED" } }]'
5083
+ },
5047
5084
  "browser/geolocation-current": {
5048
5085
  module: "browser",
5049
5086
  category: "std-browser",
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Integration Module - External integration operators (HTTP, GitHub, etc.)
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.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-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Math Module - Numeric Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.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-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Neural Network Module - Neural Network Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Noise Module - Coherent Procedural Noise
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Object Module - Object Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * OS Module - Operating System Event Watchers
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Path Module - Grid Pathfinding
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Prob Module - Probabilistic Programming Operators
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.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-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * String Module - String Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Tensor Module - Tensor Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Time Module - Date and Time Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.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-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Training Module - Neural Network Training Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Validate Module - Input Validation
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Vec Module - 2D/3D Vector Operations
@@ -1,4 +1,4 @@
1
- import { S as StdOperatorMeta } from '../types-DGJ6Y6nW.js';
1
+ import { S as StdOperatorMeta } from '../types-BXWzEjFm.js';
2
2
 
3
3
  /**
4
4
  * Workspace Module - Orbital workspace file operations.