@almadar/std 16.231.0 → 16.232.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 (35) hide show
  1. package/behaviors/behaviors-registry.json +4010 -768
  2. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +36 -3
  3. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +38 -65
  4. package/behaviors/lolo/ui/core/molecules/ui-change-list.lolo +57 -0
  5. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +143 -0
  6. package/behaviors/lolo/ui/core/molecules/ui-version-diff.lolo +19 -3
  7. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +1 -0
  8. package/behaviors/lolo-behavior-contracts.json +1 -1
  9. package/behaviors/registry/factory-signatures.json +1 -1
  10. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +52 -3
  11. package/behaviors/registry/ui/core/atoms/std-version-history.orb +470 -346
  12. package/behaviors/registry/ui/core/molecules/ui-change-list.orb +290 -0
  13. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +441 -0
  14. package/behaviors/registry/ui/core/molecules/ui-header.orb +43 -0
  15. package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +418 -0
  16. package/behaviors/registry/ui/core/molecules/ui-menu.orb +13 -0
  17. package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +277 -0
  18. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +109 -18
  19. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +43 -5
  20. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +8 -0
  21. package/dist/behaviors/exports-reader.js +1438 -1039
  22. package/dist/behaviors/functions/index.d.ts +355 -31
  23. package/dist/behaviors/functions/index.js +1427 -1040
  24. package/dist/behaviors/index.d.ts +1 -1
  25. package/dist/behaviors/index.js +1439 -1040
  26. package/dist/behaviors/query.js +1438 -1039
  27. package/dist/behaviors-embeddings.hash.json +3 -3
  28. package/dist/behaviors-embeddings.json +33 -5
  29. package/dist/behaviors-registry.json +4010 -768
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.js +1439 -1040
  32. package/dist/knob-embeddings.hash.json +3 -3
  33. package/dist/knob-embeddings.json +189 -13
  34. package/dist/registry/factory-signatures.json +1 -1
  35. package/package.json +2 -2
@@ -0,0 +1,441 @@
1
+ {
2
+ "description": "One version in a history list — a commit row with select and restore. — UI factory (1:1 with the @almadar/ui commit-row pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M3G7RQCXJSYTV4CHAR22JWGF": {
6
+ "bakedName": "CommitRowItem",
7
+ "curName": "CommitRowItem",
8
+ "id": "ent_01M3G7RQCXJSYTV4CHAR22JWGF",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M3G7RQCX22ZSE5JBZ02SFYAS": {
14
+ "bakedName": "@config.restoreEvent",
15
+ "curName": "@config.restoreEvent",
16
+ "id": "evt_01M3G7RQCX22ZSE5JBZ02SFYAS",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
20
+ "renames": []
21
+ },
22
+ "evt_01M3G7RQCXAD5KY0346AAFZVVQ": {
23
+ "bakedName": "SELECT",
24
+ "curName": "SELECT",
25
+ "id": "evt_01M3G7RQCXAD5KY0346AAFZVVQ",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
29
+ "renames": []
30
+ },
31
+ "evt_01M3G7RQCXJJQMN05KN1T00MF4": {
32
+ "bakedName": "INIT",
33
+ "curName": "INIT",
34
+ "id": "evt_01M3G7RQCXJJQMN05KN1T00MF4",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
38
+ "renames": []
39
+ },
40
+ "evt_01M3G7RQCXTBG3ZVB870Y096AM": {
41
+ "bakedName": "@config.selectEvent",
42
+ "curName": "@config.selectEvent",
43
+ "id": "evt_01M3G7RQCXTBG3ZVB870Y096AM",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
47
+ "renames": []
48
+ },
49
+ "evt_01M3G7RQCXVR8BP9DCWHMJ65X6": {
50
+ "bakedName": "RESTORE",
51
+ "curName": "RESTORE",
52
+ "id": "evt_01M3G7RQCXVR8BP9DCWHMJ65X6",
53
+ "kind": "event",
54
+ "owner": "workspace",
55
+ "parent": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
56
+ "renames": []
57
+ },
58
+ "orb_01M3G7RQCXVXBGD3W72VVVPV5R": {
59
+ "bakedName": "CommitRowOrbital",
60
+ "curName": "CommitRowOrbital",
61
+ "id": "orb_01M3G7RQCXVXBGD3W72VVVPV5R",
62
+ "kind": "orbital",
63
+ "owner": "workspace",
64
+ "renames": []
65
+ },
66
+ "pag_01M3G7RQCXZ0QER3FEX896FMXP": {
67
+ "bakedName": "CommitRowPage",
68
+ "curName": "CommitRowPage",
69
+ "id": "pag_01M3G7RQCXZ0QER3FEX896FMXP",
70
+ "kind": "page",
71
+ "owner": "workspace",
72
+ "renames": []
73
+ },
74
+ "trt_01M3G7RQCXXH4A2W41QHY3BJC6": {
75
+ "bakedName": "CommitRowRender",
76
+ "curName": "CommitRowRender",
77
+ "id": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
78
+ "kind": "trait",
79
+ "owner": "workspace",
80
+ "renames": []
81
+ }
82
+ },
83
+ "schemaVersion": 1
84
+ },
85
+ "name": "ui-commit-row",
86
+ "orbitals": [
87
+ {
88
+ "entity": {
89
+ "fields": [
90
+ {
91
+ "name": "id",
92
+ "required": true,
93
+ "type": "string"
94
+ },
95
+ {
96
+ "default": "",
97
+ "intrinsic": true,
98
+ "name": "sha",
99
+ "type": "string"
100
+ }
101
+ ],
102
+ "id": "ent_01M3G7RQCXJSYTV4CHAR22JWGF",
103
+ "name": "CommitRowItem",
104
+ "persistence": "runtime"
105
+ },
106
+ "id": "orb_01M3G7RQCXVXBGD3W72VVVPV5R",
107
+ "name": "CommitRowOrbital",
108
+ "pages": [
109
+ {
110
+ "id": "pag_01M3G7RQCXZ0QER3FEX896FMXP",
111
+ "name": "CommitRowPage",
112
+ "path": "/commit-row",
113
+ "traits": [
114
+ {
115
+ "ref": "CommitRowRender",
116
+ "refId": "trt_01M3G7RQCXXH4A2W41QHY3BJC6"
117
+ }
118
+ ]
119
+ }
120
+ ],
121
+ "traits": [
122
+ {
123
+ "category": "interaction",
124
+ "config": {
125
+ "additions": {
126
+ "description": "additions prop",
127
+ "label": "Additions",
128
+ "tier": "presentation",
129
+ "type": "number"
130
+ },
131
+ "author": {
132
+ "description": "author prop",
133
+ "label": "Author",
134
+ "tier": "presentation",
135
+ "type": "string"
136
+ },
137
+ "className": {
138
+ "description": "className prop",
139
+ "label": "Class Name",
140
+ "tier": "presentation",
141
+ "type": "string"
142
+ },
143
+ "current": {
144
+ "default": false,
145
+ "description": "The version the app is at now — it cannot be restored to.",
146
+ "label": "Current",
147
+ "tier": "presentation",
148
+ "type": "boolean"
149
+ },
150
+ "deletions": {
151
+ "description": "deletions prop",
152
+ "label": "Deletions",
153
+ "tier": "presentation",
154
+ "type": "number"
155
+ },
156
+ "kind": {
157
+ "default": "user",
158
+ "description": "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
159
+ "label": "Kind",
160
+ "tier": "presentation",
161
+ "type": "string",
162
+ "values": [
163
+ "user",
164
+ "agent",
165
+ "restore",
166
+ "undo",
167
+ "redo",
168
+ "snapshot"
169
+ ]
170
+ },
171
+ "message": {
172
+ "default": "",
173
+ "description": "Commit message.",
174
+ "label": "Message",
175
+ "tier": "presentation",
176
+ "type": "string"
177
+ },
178
+ "restoreEvent": {
179
+ "default": "RESTORE",
180
+ "description": "Emitted by the Restore button. Payload: { sha }.",
181
+ "label": "Restore Event",
182
+ "tier": "presentation",
183
+ "type": "event"
184
+ },
185
+ "selectEvent": {
186
+ "default": "SELECT",
187
+ "description": "Emitted when the row is picked. Payload: { sha }.",
188
+ "label": "Select Event",
189
+ "tier": "presentation",
190
+ "type": "event"
191
+ },
192
+ "selected": {
193
+ "default": false,
194
+ "description": "The row the user picked (shows its detail).",
195
+ "label": "Selected",
196
+ "tier": "presentation",
197
+ "type": "boolean"
198
+ },
199
+ "sha": {
200
+ "default": "",
201
+ "description": "Commit id; the first 7 characters are shown, the whole id on hover.",
202
+ "label": "Sha",
203
+ "tier": "presentation",
204
+ "type": "string"
205
+ },
206
+ "timestamp": {
207
+ "description": "Display time (already formatted, e.g. '2 min ago').",
208
+ "label": "Timestamp",
209
+ "tier": "presentation",
210
+ "type": "string"
211
+ }
212
+ },
213
+ "effectRow": [
214
+ {
215
+ "kind": "render-ui",
216
+ "resource": "main"
217
+ },
218
+ {
219
+ "kind": "set",
220
+ "resource": "@entity.sha"
221
+ }
222
+ ],
223
+ "emits": [
224
+ {
225
+ "definerKnob": "selectEvent",
226
+ "description": "Emitted when the row is picked. Payload: { sha }.",
227
+ "event": "@config.selectEvent",
228
+ "eventId": "evt_01M3G7RQCXTBG3ZVB870Y096AM",
229
+ "payloadSchema": [
230
+ {
231
+ "name": "sha",
232
+ "required": true,
233
+ "type": "string"
234
+ }
235
+ ],
236
+ "scope": "external",
237
+ "tier": "essential"
238
+ },
239
+ {
240
+ "definerKnob": "restoreEvent",
241
+ "description": "Emitted by the Restore button. Payload: { sha }.",
242
+ "event": "@config.restoreEvent",
243
+ "eventId": "evt_01M3G7RQCX22ZSE5JBZ02SFYAS",
244
+ "payloadSchema": [
245
+ {
246
+ "name": "sha",
247
+ "required": true,
248
+ "type": "string"
249
+ }
250
+ ],
251
+ "scope": "external",
252
+ "tier": "essential"
253
+ }
254
+ ],
255
+ "entityContract": {
256
+ "provides": [
257
+ "sha"
258
+ ],
259
+ "requires": []
260
+ },
261
+ "entityRebindable": true,
262
+ "entityRefIds": {
263
+ "CommitRowItem": "ent_01M3G7RQCXJSYTV4CHAR22JWGF"
264
+ },
265
+ "id": "trt_01M3G7RQCXXH4A2W41QHY3BJC6",
266
+ "linkedEntity": "CommitRowItem",
267
+ "linkedEntityId": "ent_01M3G7RQCXJSYTV4CHAR22JWGF",
268
+ "name": "CommitRowRender",
269
+ "scope": "instance",
270
+ "stateMachine": {
271
+ "events": [
272
+ {
273
+ "id": "evt_01M3G7RQCXJJQMN05KN1T00MF4",
274
+ "key": "INIT",
275
+ "name": "Initialize"
276
+ },
277
+ {
278
+ "id": "evt_01M3G7RQCXAD5KY0346AAFZVVQ",
279
+ "key": "SELECT",
280
+ "name": "Select",
281
+ "payloadSchema": [
282
+ {
283
+ "name": "sha",
284
+ "required": true,
285
+ "type": "string"
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "id": "evt_01M3G7RQCXVR8BP9DCWHMJ65X6",
291
+ "key": "RESTORE",
292
+ "name": "Restore",
293
+ "payloadSchema": [
294
+ {
295
+ "name": "sha",
296
+ "required": true,
297
+ "type": "string"
298
+ }
299
+ ]
300
+ },
301
+ {
302
+ "description": "Emitted when the row is picked. Payload: { sha }.",
303
+ "id": "evt_01M3G7RQCXTBG3ZVB870Y096AM",
304
+ "key": "@config.selectEvent",
305
+ "name": "@config.select event",
306
+ "payloadSchema": [
307
+ {
308
+ "name": "sha",
309
+ "required": true,
310
+ "type": "string"
311
+ }
312
+ ],
313
+ "tier": "essential"
314
+ },
315
+ {
316
+ "description": "Emitted by the Restore button. Payload: { sha }.",
317
+ "id": "evt_01M3G7RQCX22ZSE5JBZ02SFYAS",
318
+ "key": "@config.restoreEvent",
319
+ "name": "@config.restore event",
320
+ "payloadSchema": [
321
+ {
322
+ "name": "sha",
323
+ "required": true,
324
+ "type": "string"
325
+ }
326
+ ],
327
+ "tier": "essential"
328
+ }
329
+ ],
330
+ "states": [
331
+ {
332
+ "isInitial": true,
333
+ "name": "idle"
334
+ }
335
+ ],
336
+ "transitions": [
337
+ {
338
+ "effects": [
339
+ [
340
+ "set",
341
+ "@entity.sha",
342
+ "@config.sha"
343
+ ],
344
+ [
345
+ "render-ui",
346
+ "main",
347
+ {
348
+ "additions": "@config.additions",
349
+ "author": "@config.author",
350
+ "className": "@config.className",
351
+ "current": "@config.current",
352
+ "deletions": "@config.deletions",
353
+ "kind": "@config.kind",
354
+ "message": "@config.message",
355
+ "restoreEvent": "@config.restoreEvent",
356
+ "selectEvent": "@config.selectEvent",
357
+ "selected": "@config.selected",
358
+ "sha": "@entity.sha",
359
+ "timestamp": "@config.timestamp",
360
+ "type": "commit-row"
361
+ }
362
+ ]
363
+ ],
364
+ "event": "INIT",
365
+ "eventId": "evt_01M3G7RQCXJJQMN05KN1T00MF4",
366
+ "from": "idle",
367
+ "to": "idle"
368
+ },
369
+ {
370
+ "effects": [
371
+ [
372
+ "set",
373
+ "@entity.sha",
374
+ "@payload.sha"
375
+ ],
376
+ [
377
+ "render-ui",
378
+ "main",
379
+ {
380
+ "additions": "@config.additions",
381
+ "author": "@config.author",
382
+ "className": "@config.className",
383
+ "current": "@config.current",
384
+ "deletions": "@config.deletions",
385
+ "kind": "@config.kind",
386
+ "message": "@config.message",
387
+ "restoreEvent": "@config.restoreEvent",
388
+ "selectEvent": "@config.selectEvent",
389
+ "selected": "@config.selected",
390
+ "sha": "@entity.sha",
391
+ "timestamp": "@config.timestamp",
392
+ "type": "commit-row"
393
+ }
394
+ ]
395
+ ],
396
+ "event": "SELECT",
397
+ "eventId": "evt_01M3G7RQCXAD5KY0346AAFZVVQ",
398
+ "from": "idle",
399
+ "to": "idle"
400
+ },
401
+ {
402
+ "effects": [
403
+ [
404
+ "set",
405
+ "@entity.sha",
406
+ "@payload.sha"
407
+ ],
408
+ [
409
+ "render-ui",
410
+ "main",
411
+ {
412
+ "additions": "@config.additions",
413
+ "author": "@config.author",
414
+ "className": "@config.className",
415
+ "current": "@config.current",
416
+ "deletions": "@config.deletions",
417
+ "kind": "@config.kind",
418
+ "message": "@config.message",
419
+ "restoreEvent": "@config.restoreEvent",
420
+ "selectEvent": "@config.selectEvent",
421
+ "selected": "@config.selected",
422
+ "sha": "@entity.sha",
423
+ "timestamp": "@config.timestamp",
424
+ "type": "commit-row"
425
+ }
426
+ ]
427
+ ],
428
+ "event": "RESTORE",
429
+ "eventId": "evt_01M3G7RQCXVR8BP9DCWHMJ65X6",
430
+ "from": "idle",
431
+ "to": "idle"
432
+ }
433
+ ]
434
+ }
435
+ }
436
+ ]
437
+ }
438
+ ],
439
+ "schemaVersion": 1,
440
+ "version": "1.0.0"
441
+ }
@@ -218,6 +218,17 @@
218
218
  "required": false,
219
219
  "type": "string"
220
220
  },
221
+ "children": {
222
+ "items": {
223
+ "type": "union",
224
+ "values": [
225
+ "HeaderNavigationItemsItem"
226
+ ]
227
+ },
228
+ "name": "children",
229
+ "required": false,
230
+ "type": "array"
231
+ },
221
232
  "href": {
222
233
  "name": "href",
223
234
  "required": false,
@@ -525,6 +536,38 @@
525
536
  {
526
537
  "name": "active",
527
538
  "type": "boolean"
539
+ },
540
+ {
541
+ "name": "children",
542
+ "properties": [
543
+ {
544
+ "name": "label",
545
+ "required": true,
546
+ "type": "string"
547
+ },
548
+ {
549
+ "name": "href",
550
+ "type": "string"
551
+ },
552
+ {
553
+ "name": "icon",
554
+ "type": "icon"
555
+ },
556
+ {
557
+ "name": "badge",
558
+ "type": "string"
559
+ },
560
+ {
561
+ "name": "active",
562
+ "type": "boolean"
563
+ },
564
+ {
565
+ "name": "children",
566
+ "properties": [],
567
+ "type": "[HeaderNavigationItemsItem]"
568
+ }
569
+ ],
570
+ "type": "[object]"
528
571
  }
529
572
  ],
530
573
  "HeaderUserAvatar": [