@almadar/std 16.241.0 → 16.243.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 +4650 -535
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
- package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-search.lolo +136 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-watch.lolo +88 -0
- package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
- package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
- package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
- package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
- package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
- package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
- package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
- package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
- package/behaviors/registry/infra/atoms/std-page-search.orb +885 -0
- package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
- package/behaviors/registry/infra/atoms/std-page-watch.orb +572 -0
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
- package/behaviors/signatures.lolo +325 -655
- package/dist/behaviors/exports-reader.js +16092 -9747
- package/dist/behaviors/functions/index.d.ts +1052 -136
- package/dist/behaviors/functions/index.js +16063 -9745
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16093 -9748
- package/dist/behaviors/query.js +16092 -9747
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +45 -25
- package/dist/behaviors-registry.json +4650 -535
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16093 -9748
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +607 -263
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "std-agent-tool-loop — answers a conversation by operating the running app as the caller, through `call-service llm call-tools`.
|
|
2
|
+
"description": "std-agent-tool-loop — answers a conversation by operating the running app as the caller, through `call-service llm call-tools`. Its `tools` are `{ scope: declared }` (every declared external input plus a read over every persisted entity), or named declared inputs (addressed like a listens source: `Trait.EVENT`, `Orbital.Trait.EVENT`) and entities to read; each input fires as the signed-in user through the ordinary dispatch (guards and entity policies apply) and each read returns only the rows the caller may read. Headless: the conversation UI (std-agent-session) shows the reply; a failure shows as a toast. CONVERSE carries the conversation (and optionally what std-agent-memory recalled); ASSISTANT_STEP carries each step live while it works (a model call, a tool it used, what the app answered) to the asking tab; ASSISTANT_REPLIED carries the reply, every step and the token usage; ASSISTANT_REPLY_FAILED carries the error. These names are the assistant contract std-agent-session's conversation hears from any orbital. Compose with std-agent-session (the conversation) and std-agent-trace (the step record).",
|
|
3
3
|
"ledger": {
|
|
4
4
|
"entries": {
|
|
5
5
|
"ent_01M3TYMQFVS7RJC2HPKXYEF2VR": {
|
|
@@ -10,15 +10,6 @@
|
|
|
10
10
|
"owner": "workspace",
|
|
11
11
|
"renames": []
|
|
12
12
|
},
|
|
13
|
-
"evt_01M3TYMQFV2QMJB3DDDPEZGXMD": {
|
|
14
|
-
"bakedName": "REPLIED",
|
|
15
|
-
"curName": "REPLIED",
|
|
16
|
-
"id": "evt_01M3TYMQFV2QMJB3DDDPEZGXMD",
|
|
17
|
-
"kind": "event",
|
|
18
|
-
"owner": "workspace",
|
|
19
|
-
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
20
|
-
"renames": []
|
|
21
|
-
},
|
|
22
13
|
"evt_01M3TYMQFVAN072R0C2Z5X5NPQ": {
|
|
23
14
|
"bakedName": "CONVERSE",
|
|
24
15
|
"curName": "CONVERSE",
|
|
@@ -46,28 +37,37 @@
|
|
|
46
37
|
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
47
38
|
"renames": []
|
|
48
39
|
},
|
|
49
|
-
"
|
|
50
|
-
"bakedName": "
|
|
51
|
-
"curName": "
|
|
52
|
-
"id": "
|
|
40
|
+
"evt_01M3TYMQFVZA5GN37VNWYNEAZ3": {
|
|
41
|
+
"bakedName": "INIT",
|
|
42
|
+
"curName": "INIT",
|
|
43
|
+
"id": "evt_01M3TYMQFVZA5GN37VNWYNEAZ3",
|
|
53
44
|
"kind": "event",
|
|
54
45
|
"owner": "workspace",
|
|
55
46
|
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
56
47
|
"renames": []
|
|
57
48
|
},
|
|
58
|
-
"
|
|
59
|
-
"bakedName": "
|
|
60
|
-
"curName": "
|
|
61
|
-
"id": "
|
|
49
|
+
"evt_01M41HQTKHH12EZ3SPKY3ZWJC6": {
|
|
50
|
+
"bakedName": "ASSISTANT_REPLIED",
|
|
51
|
+
"curName": "ASSISTANT_REPLIED",
|
|
52
|
+
"id": "evt_01M41HQTKHH12EZ3SPKY3ZWJC6",
|
|
53
|
+
"kind": "event",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
56
|
+
"renames": []
|
|
57
|
+
},
|
|
58
|
+
"evt_01M41HQTKHY7NH7DGXJJB1MW8Q": {
|
|
59
|
+
"bakedName": "ASSISTANT_STEP",
|
|
60
|
+
"curName": "ASSISTANT_STEP",
|
|
61
|
+
"id": "evt_01M41HQTKHY7NH7DGXJJB1MW8Q",
|
|
62
62
|
"kind": "event",
|
|
63
63
|
"owner": "workspace",
|
|
64
64
|
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
65
65
|
"renames": []
|
|
66
66
|
},
|
|
67
|
-
"
|
|
68
|
-
"bakedName": "
|
|
69
|
-
"curName": "
|
|
70
|
-
"id": "
|
|
67
|
+
"evt_01M41HQTKHZWNXEYS7RAWWJE6S": {
|
|
68
|
+
"bakedName": "ASSISTANT_REPLY_FAILED",
|
|
69
|
+
"curName": "ASSISTANT_REPLY_FAILED",
|
|
70
|
+
"id": "evt_01M41HQTKHZWNXEYS7RAWWJE6S",
|
|
71
71
|
"kind": "event",
|
|
72
72
|
"owner": "workspace",
|
|
73
73
|
"parent": "trt_01M3TYMQFVRCVPTPEX7MQ97HQP",
|
|
@@ -187,6 +187,14 @@
|
|
|
187
187
|
"name": "read",
|
|
188
188
|
"required": false,
|
|
189
189
|
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"scope": {
|
|
192
|
+
"name": "scope",
|
|
193
|
+
"required": false,
|
|
194
|
+
"type": "string",
|
|
195
|
+
"values": [
|
|
196
|
+
"declared"
|
|
197
|
+
]
|
|
190
198
|
}
|
|
191
199
|
},
|
|
192
200
|
"type": "object"
|
|
@@ -204,11 +212,11 @@
|
|
|
204
212
|
},
|
|
205
213
|
{
|
|
206
214
|
"kind": "emit",
|
|
207
|
-
"resource": "
|
|
215
|
+
"resource": "ASSISTANT_REPLIED"
|
|
208
216
|
},
|
|
209
217
|
{
|
|
210
218
|
"kind": "emit",
|
|
211
|
-
"resource": "
|
|
219
|
+
"resource": "ASSISTANT_REPLY_FAILED"
|
|
212
220
|
},
|
|
213
221
|
{
|
|
214
222
|
"kind": "render-ui",
|
|
@@ -230,8 +238,8 @@
|
|
|
230
238
|
"emits": [
|
|
231
239
|
{
|
|
232
240
|
"description": "One thing the assistant just did, live while it works: a model call, a tool it used, or what the app answered. Delivered to the asking tab only.",
|
|
233
|
-
"event": "
|
|
234
|
-
"eventId": "
|
|
241
|
+
"event": "ASSISTANT_STEP",
|
|
242
|
+
"eventId": "evt_01M41HQTKHY7NH7DGXJJB1MW8Q",
|
|
235
243
|
"payloadSchema": [
|
|
236
244
|
{
|
|
237
245
|
"name": "activity",
|
|
@@ -405,8 +413,8 @@
|
|
|
405
413
|
},
|
|
406
414
|
{
|
|
407
415
|
"description": "The assistant answered; carries every tool step it took and the tokens it used.",
|
|
408
|
-
"event": "
|
|
409
|
-
"eventId": "
|
|
416
|
+
"event": "ASSISTANT_REPLIED",
|
|
417
|
+
"eventId": "evt_01M41HQTKHH12EZ3SPKY3ZWJC6",
|
|
410
418
|
"payloadSchema": [
|
|
411
419
|
{
|
|
412
420
|
"name": "reply",
|
|
@@ -452,8 +460,8 @@
|
|
|
452
460
|
},
|
|
453
461
|
{
|
|
454
462
|
"description": "The assistant could not answer (model unavailable, or out of steps).",
|
|
455
|
-
"event": "
|
|
456
|
-
"eventId": "
|
|
463
|
+
"event": "ASSISTANT_REPLY_FAILED",
|
|
464
|
+
"eventId": "evt_01M41HQTKHZWNXEYS7RAWWJE6S",
|
|
457
465
|
"payloadSchema": [
|
|
458
466
|
{
|
|
459
467
|
"name": "error",
|
|
@@ -628,9 +636,9 @@
|
|
|
628
636
|
},
|
|
629
637
|
{
|
|
630
638
|
"description": "One thing the assistant just did, live while it works: a model call, a tool it used, or what the app answered. Delivered to the asking tab only.",
|
|
631
|
-
"id": "
|
|
632
|
-
"key": "
|
|
633
|
-
"name": "Step",
|
|
639
|
+
"id": "evt_01M41HQTKHY7NH7DGXJJB1MW8Q",
|
|
640
|
+
"key": "ASSISTANT_STEP",
|
|
641
|
+
"name": "Assistant Step",
|
|
634
642
|
"payloadSchema": [
|
|
635
643
|
{
|
|
636
644
|
"name": "activity",
|
|
@@ -803,9 +811,9 @@
|
|
|
803
811
|
},
|
|
804
812
|
{
|
|
805
813
|
"description": "The assistant answered; carries every tool step it took and the tokens it used.",
|
|
806
|
-
"id": "
|
|
807
|
-
"key": "
|
|
808
|
-
"name": "Replied",
|
|
814
|
+
"id": "evt_01M41HQTKHH12EZ3SPKY3ZWJC6",
|
|
815
|
+
"key": "ASSISTANT_REPLIED",
|
|
816
|
+
"name": "Assistant Replied",
|
|
809
817
|
"payloadSchema": [
|
|
810
818
|
{
|
|
811
819
|
"name": "reply",
|
|
@@ -850,9 +858,9 @@
|
|
|
850
858
|
},
|
|
851
859
|
{
|
|
852
860
|
"description": "The assistant could not answer (model unavailable, or out of steps).",
|
|
853
|
-
"id": "
|
|
854
|
-
"key": "
|
|
855
|
-
"name": "Reply Failed",
|
|
861
|
+
"id": "evt_01M41HQTKHZWNXEYS7RAWWJE6S",
|
|
862
|
+
"key": "ASSISTANT_REPLY_FAILED",
|
|
863
|
+
"name": "Assistant Reply Failed",
|
|
856
864
|
"payloadSchema": [
|
|
857
865
|
{
|
|
858
866
|
"name": "error",
|
|
@@ -925,7 +933,7 @@
|
|
|
925
933
|
{
|
|
926
934
|
"emit": {
|
|
927
935
|
"failure": "ASK_FAILED",
|
|
928
|
-
"onMessage": "
|
|
936
|
+
"onMessage": "ASSISTANT_STEP",
|
|
929
937
|
"success": "ANSWERED"
|
|
930
938
|
}
|
|
931
939
|
}
|
|
@@ -950,7 +958,7 @@
|
|
|
950
958
|
],
|
|
951
959
|
[
|
|
952
960
|
"emit",
|
|
953
|
-
"
|
|
961
|
+
"ASSISTANT_REPLIED",
|
|
954
962
|
{
|
|
955
963
|
"reply": "@payload.reply",
|
|
956
964
|
"steps": "@payload.steps",
|
|
@@ -977,7 +985,7 @@
|
|
|
977
985
|
],
|
|
978
986
|
[
|
|
979
987
|
"emit",
|
|
980
|
-
"
|
|
988
|
+
"ASSISTANT_REPLY_FAILED",
|
|
981
989
|
{
|
|
982
990
|
"error": "@payload.error"
|
|
983
991
|
}
|
|
@@ -1154,6 +1162,10 @@
|
|
|
1154
1162
|
{
|
|
1155
1163
|
"name": "read",
|
|
1156
1164
|
"type": "string"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "scope",
|
|
1168
|
+
"type": "string"
|
|
1157
1169
|
}
|
|
1158
1170
|
],
|
|
1159
1171
|
"AgentToolCallActivity": [
|