@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.
- package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +290 -0
- package/behaviors/lolo/infra/atoms/std-notification-center.lolo +290 -0
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +238 -40
- package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +180 -3
- package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -0
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +4 -4
- package/behaviors/lolo/ui/game/.hand-authored.json +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +5 -0
- package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +5 -0
- package/behaviors/lolo/ui/game/templates/ui-game-shell.lolo +5 -5
- package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1643 -0
- package/behaviors/registry/infra/atoms/std-notification-center.orb +1621 -0
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1734 -169
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +846 -2
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +9 -0
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -2
- package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +13 -1
- package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +13 -1
- package/behaviors/registry/ui/game/templates/ui-game-shell.orb +5 -5
- package/canonical-operators.json +21 -1
- package/dist/behaviors/exports-reader.js +8303 -3043
- package/dist/behaviors/functions/index.d.ts +468 -10
- package/dist/behaviors/functions/index.js +18352 -13109
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +8304 -3044
- package/dist/behaviors/query.js +8303 -3043
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +449 -441
- package/dist/behaviors-registry.json +1164 -9
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8275 -2978
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/browser.js +21 -0
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +18 -2
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +39 -2
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +39 -2
- package/dist/{types-DGJ6Y6nW.d.ts → types-BXWzEjFm.d.ts} +1 -1
- package/package.json +3 -3
package/dist/modules/anim.d.ts
CHANGED
package/dist/modules/array.d.ts
CHANGED
package/dist/modules/async.d.ts
CHANGED
package/dist/modules/browser.js
CHANGED
|
@@ -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",
|
package/dist/modules/core.d.ts
CHANGED
package/dist/modules/core.js
CHANGED
|
@@ -431,8 +431,8 @@ var CORE_OPERATORS = {
|
|
|
431
431
|
module: "core",
|
|
432
432
|
category: "effect",
|
|
433
433
|
minArity: 1,
|
|
434
|
-
maxArity:
|
|
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",
|
package/dist/modules/data.d.ts
CHANGED
package/dist/modules/ease.d.ts
CHANGED
package/dist/modules/format.d.ts
CHANGED
package/dist/modules/geo.d.ts
CHANGED
package/dist/modules/graph.d.ts
CHANGED
package/dist/modules/grid.d.ts
CHANGED
package/dist/modules/index.d.ts
CHANGED
|
@@ -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-
|
|
34
|
+
import '../types-BXWzEjFm.js';
|
package/dist/modules/index.js
CHANGED
|
@@ -431,8 +431,8 @@ var CORE_OPERATORS = {
|
|
|
431
431
|
module: "core",
|
|
432
432
|
category: "effect",
|
|
433
433
|
minArity: 1,
|
|
434
|
-
maxArity:
|
|
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",
|
package/dist/modules/llm.d.ts
CHANGED
package/dist/modules/math.d.ts
CHANGED
package/dist/modules/memory.d.ts
CHANGED
package/dist/modules/nn.d.ts
CHANGED
package/dist/modules/noise.d.ts
CHANGED
package/dist/modules/object.d.ts
CHANGED
package/dist/modules/os.d.ts
CHANGED
package/dist/modules/path.d.ts
CHANGED
package/dist/modules/prob.d.ts
CHANGED
package/dist/modules/str.d.ts
CHANGED
package/dist/modules/tensor.d.ts
CHANGED
package/dist/modules/time.d.ts
CHANGED
package/dist/modules/trace.d.ts
CHANGED
package/dist/modules/train.d.ts
CHANGED
package/dist/modules/vector.d.ts
CHANGED