@almadar/std 16.181.0 → 16.183.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-migration-job.lolo +2 -2
- 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/std-fx-trail.lolo +63 -0
- package/behaviors/lolo/ui/game/atoms/std-gate-lock.lolo +96 -0
- package/behaviors/lolo/ui/game/atoms/std-lives.lolo +121 -0
- package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +96 -0
- package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +164 -0
- 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/lolo/ui/learning/atoms/std-learn-slope-probe.lolo +117 -0
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +18 -0
- package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1643 -0
- package/behaviors/registry/infra/atoms/std-migration-job.orb +2 -2
- 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/std-fx-trail.orb +376 -0
- package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +852 -0
- package/behaviors/registry/ui/game/atoms/std-lives.orb +739 -0
- package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +768 -0
- package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1060 -0
- 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/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +908 -0
- package/canonical-operators.json +21 -1
- package/dist/behaviors/exports-reader.js +9021 -3497
- package/dist/behaviors/functions/index.d.ts +1001 -10
- package/dist/behaviors/functions/index.js +18568 -13079
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +9022 -3498
- package/dist/behaviors/query.js +9021 -3497
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +347 -315
- package/dist/behaviors-registry.json +2694 -56
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8502 -2941
- 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/registry.d.ts
CHANGED
package/dist/registry.js
CHANGED
|
@@ -478,8 +478,8 @@ var CORE_OPERATORS = {
|
|
|
478
478
|
module: "core",
|
|
479
479
|
category: "effect",
|
|
480
480
|
minArity: 1,
|
|
481
|
-
maxArity:
|
|
482
|
-
description: "Navigate to a route",
|
|
481
|
+
maxArity: 3,
|
|
482
|
+
description: "Navigate to a route: (navigate path payload? options?) \u2014 options carries { crumb } labelling the navigation-stack entry for the target page",
|
|
483
483
|
hasSideEffects: true,
|
|
484
484
|
returnType: "void",
|
|
485
485
|
params: [
|
|
@@ -489,11 +489,27 @@ var CORE_OPERATORS = {
|
|
|
489
489
|
type: { kind: "object", fields: {}, open: true },
|
|
490
490
|
description: "Optional route params",
|
|
491
491
|
optional: true
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
name: "options",
|
|
495
|
+
type: { kind: "object", fields: {}, open: true },
|
|
496
|
+
description: "Optional navigation options: { crumb } labels the navigation-stack entry for the target page",
|
|
497
|
+
optional: true
|
|
492
498
|
}
|
|
493
499
|
],
|
|
494
500
|
example: '["navigate", "/tasks/:id", { "id": "@entity.id" }]',
|
|
495
501
|
effect: { kind: "navigate" }
|
|
496
502
|
},
|
|
503
|
+
"navigate-back": {
|
|
504
|
+
module: "core",
|
|
505
|
+
category: "effect",
|
|
506
|
+
minArity: 0,
|
|
507
|
+
maxArity: 0,
|
|
508
|
+
description: "Pop the orbital-scoped navigation stack and return to the previous entry",
|
|
509
|
+
hasSideEffects: true,
|
|
510
|
+
returnType: "void",
|
|
511
|
+
effect: { kind: "navigate-back" }
|
|
512
|
+
},
|
|
497
513
|
notify: {
|
|
498
514
|
module: "core",
|
|
499
515
|
category: "effect",
|
|
@@ -5040,6 +5056,27 @@ var BROWSER_OPERATORS = {
|
|
|
5040
5056
|
},
|
|
5041
5057
|
example: '["browser/clipboard-write", "@entity.inviteUrl", { "emit": { "success": "COPIED", "failure": "COPY_DENIED" } }]'
|
|
5042
5058
|
},
|
|
5059
|
+
"browser/push-subscribe": {
|
|
5060
|
+
module: "browser",
|
|
5061
|
+
category: "std-browser",
|
|
5062
|
+
minArity: 0,
|
|
5063
|
+
maxArity: 0,
|
|
5064
|
+
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.",
|
|
5065
|
+
hasSideEffects: true,
|
|
5066
|
+
returnType: "object",
|
|
5067
|
+
effect: {
|
|
5068
|
+
kind: "custom",
|
|
5069
|
+
produces: {
|
|
5070
|
+
kind: "object",
|
|
5071
|
+
fields: {
|
|
5072
|
+
endpoint: "string",
|
|
5073
|
+
p256dh: "string",
|
|
5074
|
+
auth: "string"
|
|
5075
|
+
}
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
example: '["browser/push-subscribe", { "emit": { "success": "PUSH_SUBSCRIBED", "failure": "PUSH_SUBSCRIBE_FAILED" } }]'
|
|
5079
|
+
},
|
|
5043
5080
|
"browser/geolocation-current": {
|
|
5044
5081
|
module: "browser",
|
|
5045
5082
|
category: "std-browser",
|
|
@@ -135,7 +135,7 @@ type OperatorTypeRef = string | {
|
|
|
135
135
|
* validator, LLM skill gen, verify) can trace downstream reactions.
|
|
136
136
|
*/
|
|
137
137
|
interface OperatorEffectMeta {
|
|
138
|
-
kind: 'emit' | 'persist' | 'fetch' | 'fetch-stream' | 'ref' | 'render-ui' | 'navigate' | 'notify' | 'spawn' | 'despawn' | 'set' | 'call-service' | 'log' | 'send-server' | 'custom';
|
|
138
|
+
kind: 'emit' | 'persist' | 'fetch' | 'fetch-stream' | 'ref' | 'render-ui' | 'navigate' | 'navigate-back' | 'notify' | 'spawn' | 'despawn' | 'set' | 'call-service' | 'log' | 'send-server' | 'custom';
|
|
139
139
|
/** What the effect puts onto the bus / state when it resolves. */
|
|
140
140
|
produces?: OperatorTypeRef;
|
|
141
141
|
/** Effect-specific config keys and their declared types. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/std",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.183.0",
|
|
4
4
|
"description": "Standard library operators for Almadar (math, string, array, etc.)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@almadar/core": "^10.
|
|
62
|
+
"@almadar/core": "^10.67.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@almadar/eslint-plugin": "^2.15.0",
|
|
66
|
-
"@almadar/llm": "^2.
|
|
66
|
+
"@almadar/llm": "^2.41.0",
|
|
67
67
|
"@types/node": "^20.0.0",
|
|
68
68
|
"@typescript-eslint/parser": "8.65.0",
|
|
69
69
|
"eslint": "10.0.0",
|