@almadar/std 16.243.0 → 16.244.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/behaviors-registry.json +4470 -513
- package/behaviors/lolo/agent/atoms/std-agent-context.lolo +24 -4
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +20 -5
- package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +550 -0
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +284 -25
- package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +841 -0
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +58 -8
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +1 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +28 -1
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +22 -0
- package/behaviors/lolo/ui/avl/atoms/ui-avl-transition-explainer.lolo +175 -0
- package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +22 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +23 -4
- package/behaviors/lolo/ui/core/atoms/std-hero.lolo +72 -33
- package/behaviors/lolo/ui/core/molecules/ui-agent-chat-feed.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-markdown-content.lolo +54 -0
- package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +5 -0
- package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +127 -3
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +22 -0
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +87 -17
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +172 -37
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +183 -70
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +78 -13
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +58 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +107 -12
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +83 -10
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +130 -9
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +143 -59
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +96 -22
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +66 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +84 -6
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +80 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +99 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +81 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +83 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +224 -99
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +63 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +99 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +7 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +69 -4
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +205 -6
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +146 -4
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1972 -0
- package/behaviors/registry/agent/atoms/std-agent-session.orb +2021 -597
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +5079 -0
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +287 -5
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +7 -0
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-treat.orb +327 -2
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +134 -0
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +678 -0
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +122 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +73 -4
- package/behaviors/registry/ui/core/atoms/std-hero.orb +174 -97
- package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +204 -1
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +12 -0
- package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +683 -30
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +748 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1429 -41
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1031 -185
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +807 -132
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +553 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +987 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +582 -16
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +954 -13
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +828 -88
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +730 -28
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +479 -9
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +797 -46
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +757 -58
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1176 -164
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +599 -12
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +832 -150
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1561 -127
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +655 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +634 -43
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +85 -31
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +425 -9
- package/canonical-operators.json +45 -2
- package/dist/behaviors/exports-reader.js +16667 -7868
- package/dist/behaviors/functions/index.d.ts +711 -32
- package/dist/behaviors/functions/index.js +16651 -7869
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16668 -7869
- package/dist/behaviors/query.js +16667 -7868
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +77 -53
- package/dist/behaviors-registry.json +4470 -513
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16101 -7275
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1309 -685
- 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/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 +29 -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/i18n.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +29 -2
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.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 +2 -2
- package/dist/registry.js +29 -2
- package/dist/{types-Cdb321uM.d.ts → types-Y-yYWEOX.d.ts} +1 -1
- package/i18n/ar.json +3 -1
- package/i18n/en.json +2 -0
- package/i18n/sl.json +3 -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/core.d.ts
CHANGED
package/dist/modules/core.js
CHANGED
|
@@ -336,6 +336,20 @@ var CORE_OPERATORS = {
|
|
|
336
336
|
],
|
|
337
337
|
example: '["fn", "item", { "type": "typography", "content": "@item.title" }]'
|
|
338
338
|
},
|
|
339
|
+
quote: {
|
|
340
|
+
visual: { form: "template" },
|
|
341
|
+
module: "core",
|
|
342
|
+
category: "control",
|
|
343
|
+
minArity: 1,
|
|
344
|
+
maxArity: 1,
|
|
345
|
+
description: "Holds an S-expression as data: nothing inside it is evaluated, and its bindings are not resolved (a guard or effect handed to a diagram)",
|
|
346
|
+
hasSideEffects: false,
|
|
347
|
+
returnType: "sexpr",
|
|
348
|
+
params: [
|
|
349
|
+
{ name: "body", type: STRING, description: "The quoted expression as canonical JSON text with every @ written as \\u0040 (the .lolo parser encodes `(quote x)`)" }
|
|
350
|
+
],
|
|
351
|
+
example: '["quote", "[\\">\\",\\"\\\\\\\\u0040payload.amount\\",0]"]'
|
|
352
|
+
},
|
|
339
353
|
// --- effect -----------------------------------------------------------------
|
|
340
354
|
set: {
|
|
341
355
|
module: "core",
|
|
@@ -771,7 +785,7 @@ var CORE_OPERATORS = {
|
|
|
771
785
|
category: "effect",
|
|
772
786
|
minArity: 2,
|
|
773
787
|
maxArity: 4,
|
|
774
|
-
description: "Invoke an external service action. Optional trailing { emit: { success, failure } } options object attaches closed-circuit emit routing (V2 frame contract).",
|
|
788
|
+
description: "Invoke an external service action. Optional trailing { key, emit: { success, failure, cancelled } } options object attaches closed-circuit emit routing (V2 frame contract); key names the call for cancel-call.",
|
|
775
789
|
hasSideEffects: true,
|
|
776
790
|
runsOn: "server",
|
|
777
791
|
returnType: "void",
|
|
@@ -787,7 +801,7 @@ var CORE_OPERATORS = {
|
|
|
787
801
|
{
|
|
788
802
|
name: "options",
|
|
789
803
|
type: { kind: "object", fields: {}, open: true },
|
|
790
|
-
description: 'Optional trailing options object. Set `{ emit: { success: "...", failure: "..." } }` to wire closed-circuit result routing (V2 frame)
|
|
804
|
+
description: 'Optional trailing options object. Set `{ emit: { success: "...", failure: "...", cancelled: "..." } }` to wire closed-circuit result routing (V2 frame), and `key` to name the call for `cancel-call`.',
|
|
791
805
|
optional: true
|
|
792
806
|
}
|
|
793
807
|
],
|
|
@@ -800,6 +814,19 @@ var CORE_OPERATORS = {
|
|
|
800
814
|
produces: ANY
|
|
801
815
|
}
|
|
802
816
|
},
|
|
817
|
+
"cancel-call": {
|
|
818
|
+
module: "core",
|
|
819
|
+
category: "effect",
|
|
820
|
+
minArity: 1,
|
|
821
|
+
maxArity: 1,
|
|
822
|
+
description: "Abort the in-flight call-service started with this key in the same running app; a no-op when none is in flight. The cancelled call emits its declared emit.cancelled event with { key }, never success or failure.",
|
|
823
|
+
hasSideEffects: true,
|
|
824
|
+
runsOn: "server",
|
|
825
|
+
returnType: "void",
|
|
826
|
+
params: [{ name: "key", type: STRING, description: "The key the call-service declared in its options" }],
|
|
827
|
+
example: '["cancel-call", "@entity.id"]',
|
|
828
|
+
effect: { kind: "cancel-call" }
|
|
829
|
+
},
|
|
803
830
|
"render-ui": {
|
|
804
831
|
module: "core",
|
|
805
832
|
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/i18n.d.ts
CHANGED
package/dist/modules/index.d.ts
CHANGED
|
@@ -33,4 +33,4 @@ export { MEMORY_OPERATORS, getMemoryOperators } from './memory.js';
|
|
|
33
33
|
export { TRACE_OPERATORS, getTraceOperators } from './trace.js';
|
|
34
34
|
export { BEHAVIOR_OPERATORS, getBehaviorOperators } from './behavior.js';
|
|
35
35
|
export { INTEGRATION_OPERATORS, getIntegrationOperators } from './integration.js';
|
|
36
|
-
import '../types-
|
|
36
|
+
import '../types-Y-yYWEOX.js';
|
package/dist/modules/index.js
CHANGED
|
@@ -336,6 +336,20 @@ var CORE_OPERATORS = {
|
|
|
336
336
|
],
|
|
337
337
|
example: '["fn", "item", { "type": "typography", "content": "@item.title" }]'
|
|
338
338
|
},
|
|
339
|
+
quote: {
|
|
340
|
+
visual: { form: "template" },
|
|
341
|
+
module: "core",
|
|
342
|
+
category: "control",
|
|
343
|
+
minArity: 1,
|
|
344
|
+
maxArity: 1,
|
|
345
|
+
description: "Holds an S-expression as data: nothing inside it is evaluated, and its bindings are not resolved (a guard or effect handed to a diagram)",
|
|
346
|
+
hasSideEffects: false,
|
|
347
|
+
returnType: "sexpr",
|
|
348
|
+
params: [
|
|
349
|
+
{ name: "body", type: STRING, description: "The quoted expression as canonical JSON text with every @ written as \\u0040 (the .lolo parser encodes `(quote x)`)" }
|
|
350
|
+
],
|
|
351
|
+
example: '["quote", "[\\">\\",\\"\\\\\\\\u0040payload.amount\\",0]"]'
|
|
352
|
+
},
|
|
339
353
|
// --- effect -----------------------------------------------------------------
|
|
340
354
|
set: {
|
|
341
355
|
module: "core",
|
|
@@ -771,7 +785,7 @@ var CORE_OPERATORS = {
|
|
|
771
785
|
category: "effect",
|
|
772
786
|
minArity: 2,
|
|
773
787
|
maxArity: 4,
|
|
774
|
-
description: "Invoke an external service action. Optional trailing { emit: { success, failure } } options object attaches closed-circuit emit routing (V2 frame contract).",
|
|
788
|
+
description: "Invoke an external service action. Optional trailing { key, emit: { success, failure, cancelled } } options object attaches closed-circuit emit routing (V2 frame contract); key names the call for cancel-call.",
|
|
775
789
|
hasSideEffects: true,
|
|
776
790
|
runsOn: "server",
|
|
777
791
|
returnType: "void",
|
|
@@ -787,7 +801,7 @@ var CORE_OPERATORS = {
|
|
|
787
801
|
{
|
|
788
802
|
name: "options",
|
|
789
803
|
type: { kind: "object", fields: {}, open: true },
|
|
790
|
-
description: 'Optional trailing options object. Set `{ emit: { success: "...", failure: "..." } }` to wire closed-circuit result routing (V2 frame)
|
|
804
|
+
description: 'Optional trailing options object. Set `{ emit: { success: "...", failure: "...", cancelled: "..." } }` to wire closed-circuit result routing (V2 frame), and `key` to name the call for `cancel-call`.',
|
|
791
805
|
optional: true
|
|
792
806
|
}
|
|
793
807
|
],
|
|
@@ -800,6 +814,19 @@ var CORE_OPERATORS = {
|
|
|
800
814
|
produces: ANY
|
|
801
815
|
}
|
|
802
816
|
},
|
|
817
|
+
"cancel-call": {
|
|
818
|
+
module: "core",
|
|
819
|
+
category: "effect",
|
|
820
|
+
minArity: 1,
|
|
821
|
+
maxArity: 1,
|
|
822
|
+
description: "Abort the in-flight call-service started with this key in the same running app; a no-op when none is in flight. The cancelled call emits its declared emit.cancelled event with { key }, never success or failure.",
|
|
823
|
+
hasSideEffects: true,
|
|
824
|
+
runsOn: "server",
|
|
825
|
+
returnType: "void",
|
|
826
|
+
params: [{ name: "key", type: STRING, description: "The key the call-service declared in its options" }],
|
|
827
|
+
example: '["cancel-call", "@entity.id"]',
|
|
828
|
+
effect: { kind: "cancel-call" }
|
|
829
|
+
},
|
|
803
830
|
"render-ui": {
|
|
804
831
|
module: "core",
|
|
805
832
|
category: "effect",
|
package/dist/modules/json.d.ts
CHANGED
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