@almadar/std 16.244.1 → 16.246.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 +918 -187
- package/behaviors/lolo/agent/atoms/std-agent-context.lolo +9 -4
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +9 -4
- package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +9 -4
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +9 -4
- package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +9 -4
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +9 -4
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +9 -4
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +13 -5
- package/behaviors/lolo/ui/core/atoms/ui-svg-flow.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +7 -0
- package/behaviors/lolo/ui/core/molecules/ui-import-progress.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +3 -3
- package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +3 -3
- package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-mesh.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +3 -3
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +3 -3
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +3 -3
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +3 -3
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +53 -67
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +14 -51
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +50 -20
- package/behaviors/registry/agent/atoms/std-agent-session.orb +84 -91
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +61 -24
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +61 -45
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +63 -26
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +2 -2
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +2 -2
- package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +2 -2
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +2 -2
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +18 -9
- package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +11 -4
- package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +2 -2
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +20 -2
- package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +2 -2
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +2 -2
- package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +3 -3
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -4
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +4 -4
- package/behaviors/registry/ui/core/organisms/ui-form.orb +4 -4
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +136 -2
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +3 -2
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +51 -18
- package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +3 -3
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +12 -5
- package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +12 -5
- package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +39 -14
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +51 -18
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +51 -18
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +51 -18
- package/behaviors/signatures.lolo +788 -88
- package/canonical-operators.json +5 -5
- package/dist/behaviors/exports-reader.js +246 -227
- package/dist/behaviors/functions/index.d.ts +12 -11
- package/dist/behaviors/functions/index.js +246 -227
- package/dist/behaviors/index.js +246 -227
- package/dist/behaviors/query.js +246 -227
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/behaviors-registry.json +918 -187
- package/dist/index.js +250 -231
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +11 -3
- package/dist/modules/array.js +4 -4
- package/dist/modules/index.js +4 -4
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.js +4 -4
- package/package.json +2 -2
|
@@ -3914,11 +3914,11 @@ interface StdCalendarConfig {
|
|
|
3914
3914
|
agendaGroupBy?: string;
|
|
3915
3915
|
/** Default: `[]` */
|
|
3916
3916
|
agendaItemActions?: EntityRow[];
|
|
3917
|
-
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"list","size":"xl","type":"icon"},{"content":"
|
|
3917
|
+
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"list","size":"xl","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"direction":"horizontal","gap":"sm","type":"stack"},{"onSelect":"SELECT_DAY","selected":"@entity.selectedRange","type":"date-range-selector"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack","wrap":true},["if","@config.bodySearch",{"children":[{"className":"w-full max-w-md","clearable":true,"event":"REFETCH_QUERY","placeholder":"@config.searchPlaceholder","type":"search-input"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],["if",[">",["array/len","@config.filters"],0],{"children":[{"entity":"CalendarEvent","event":"REFETCH_FILTER","filters":"@config.filters","look":"@config.filterBarLook","type":"filter-group"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],{"type":"divider"},{"entity":"@payload.data","fields":[],"gap":"md","groupBy":"@config.agendaGroupBy","groupFormat":"date","itemActions":["array/filter","@config.agendaItemActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"renderItem":["fn","item",{"children":[{"align":"start","children":[{"align":"center","children":[{"color":"muted","content":"@config.timeBinding","format":"time","type":"typography","variant":"overline"},{"className":"hidden sm:block","color":"muted","name":"clock","size":"sm","type":"icon"}],"className":"w-14 sm:w-16 shrink-0","direction":"vertical","gap":"xs","type":"stack"},{"className":"hidden sm:block","orientation":"vertical","type":"divider"},{"children":[{"align":"center","children":[{"className":"min-w-[8rem] flex-1 line-clamp-2 break-words","content":"@config.titleBinding","type":"typography","variant":"h4","weight":"medium"},{"className":"shrink-0 whitespace-nowrap","label":"@config.badgeBinding","size":"sm","type":"badge","variant":"default"}],"direction":"horizontal","gap":"sm","justify":"between","type":"stack","wrap":true},{"className":"truncate","color":"muted","content":"@config.descriptionBinding","type":"typography","variant":"body2"}],"className":"flex-1 min-w-0","direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"flat-bordered","padding":"md","type":"card"}],"surface":"none","type":"data-list","variant":"default"}],"className":"w-full p-card-md","direction":"vertical","gap":"lg","type":"stack"}` */
|
|
3918
3918
|
agendaListBodyContent?: unknown;
|
|
3919
3919
|
/** Default: `"@item.status"` */
|
|
3920
3920
|
badgeBinding?: string;
|
|
3921
|
-
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"calendar","size":"xl","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"direction":"horizontal","gap":"sm","type":"stack"},{"onSelect":"SELECT_DAY","selected":"@entity.selectedRange","type":"date-range-selector"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},["if","@config.bodySearch",{"children":[{"className":"w-full max-w-md","clearable":true,"event":"REFETCH_QUERY","placeholder":"@config.searchPlaceholder","type":"search-input"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],["if",[">",["array/len","@config.filters"],0],{"children":[{"entity":"CalendarEvent","event":"REFETCH_FILTER","filters":"@config.filters","look":"@config.filterBarLook","type":"filter-group"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],{"type":"divider"},{"events":"@payload.data","onEventClick":"@config.onEventClick","renderItem":["fn","item",{"content":"@config.titleBinding","type":"typography","variant":"small"}],"startField":"@config.startField","type":"calendar-grid"},{"type":"divider"},{"content":"Upcoming Events","type":"typography","variant":"h4"},{"entity":"@payload.data","fields":"@config.fields","itemActions":["array/filter","@config.agendaItemActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"look":"@config.tableLook","type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}` */
|
|
3921
|
+
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"calendar","size":"xl","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"direction":"horizontal","gap":"sm","type":"stack"},{"onSelect":"SELECT_DAY","selected":"@entity.selectedRange","type":"date-range-selector"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack","wrap":true},["if","@config.bodySearch",{"children":[{"className":"w-full max-w-md","clearable":true,"event":"REFETCH_QUERY","placeholder":"@config.searchPlaceholder","type":"search-input"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],["if",[">",["array/len","@config.filters"],0],{"children":[{"entity":"CalendarEvent","event":"REFETCH_FILTER","filters":"@config.filters","look":"@config.filterBarLook","type":"filter-group"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],{"type":"divider"},{"events":"@payload.data","onEventClick":"@config.onEventClick","renderItem":["fn","item",{"content":"@config.titleBinding","type":"typography","variant":"small"}],"startField":"@config.startField","type":"calendar-grid"},{"type":"divider"},{"content":"Upcoming Events","type":"typography","variant":"h4"},{"entity":"@payload.data","fields":"@config.fields","itemActions":["array/filter","@config.agendaItemActions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"look":"@config.tableLook","type":"data-list"}],"direction":"vertical","gap":"lg","type":"stack"}` */
|
|
3922
3922
|
bodyContent?: unknown;
|
|
3923
3923
|
/** Default: `false` */
|
|
3924
3924
|
bodySearch?: boolean;
|
|
@@ -3952,7 +3952,7 @@ interface StdCalendarConfig {
|
|
|
3952
3952
|
titleBinding?: string;
|
|
3953
3953
|
/** Default: `""` */
|
|
3954
3954
|
viewerRole?: string;
|
|
3955
|
-
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"calendar","size":"xl","type":"icon"},{"content":"
|
|
3955
|
+
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"calendar","size":"xl","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"direction":"horizontal","gap":"sm","type":"stack"},{"align":"center","children":[{"action":"CALENDAR_PREV_WEEK","icon":"chevron-left","label":"Previous week","type":"button","variant":"ghost"},{"color":"muted","content":["time/format","@entity.weekAnchor","MMM D, YYYY"],"type":"typography","variant":"caption"},{"action":"CALENDAR_NEXT_WEEK","icon":"chevron-right","label":"Next week","type":"button","variant":"ghost"}],"direction":"horizontal","gap":"xs","type":"stack"},{"onSelect":"SELECT_DAY","selected":"@entity.selectedRange","type":"date-range-selector"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack","wrap":true},["if","@config.bodySearch",{"children":[{"className":"w-full max-w-md","clearable":true,"event":"REFETCH_QUERY","placeholder":"@config.searchPlaceholder","type":"search-input"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],["if",[">",["array/len","@config.filters"],0],{"children":[{"entity":"CalendarEvent","event":"REFETCH_FILTER","filters":"@config.filters","look":"@config.filterBarLook","type":"filter-group"}],"direction":"horizontal","gap":"sm","type":"stack"},{"children":[],"gap":"none","type":"stack"}],{"type":"divider"},{"className":"w-full","dayWindow":7,"events":"@payload.data","onEventClick":"@config.onEventClick","renderItem":["fn","item",{"content":"@config.titleBinding","type":"typography","variant":"small"}],"startField":"@config.startField","swipeLeftEvent":"CALENDAR_NEXT_WEEK","swipeRightEvent":"CALENDAR_PREV_WEEK","type":"calendar-grid","weekStart":"@entity.weekAnchor"}],"direction":"vertical","gap":"md","type":"stack"}` */
|
|
3956
3956
|
weekTimelineBodyContent?: unknown;
|
|
3957
3957
|
}
|
|
3958
3958
|
/**
|
|
@@ -28023,13 +28023,13 @@ interface StdUiControlGridConfig {
|
|
|
28023
28023
|
buttons?: EntityRow[];
|
|
28024
28024
|
className?: string;
|
|
28025
28025
|
dir?: 'ltr' | 'rtl' | 'auto';
|
|
28026
|
-
/** Default: `{"
|
|
28026
|
+
/** Default: `{"up":{"animations":["static"],"aspect":"1:1","category":"item","dimension":"2d","name":"item","role":"item","style":"pixel","thumbnailUrl":"","url":"https://almadar-kflow-assets.web.app/shared/ui-roguelike-board/default/features/sword.png"}}` */
|
|
28027
28027
|
directionAssets?: Record<string, TraitConfig>;
|
|
28028
28028
|
/** Default: `"DIRECTION"` */
|
|
28029
28029
|
directionEvent?: string;
|
|
28030
|
-
/** Default: `{"
|
|
28030
|
+
/** Default: `{"up":"INIT"}` */
|
|
28031
28031
|
directionEvents?: Record<string, TraitConfig>;
|
|
28032
|
-
/** Default: `{"
|
|
28032
|
+
/** Default: `{"up":"INIT"}` */
|
|
28033
28033
|
directionReleaseEvents?: Record<string, TraitConfig>;
|
|
28034
28034
|
disabled?: boolean;
|
|
28035
28035
|
enter?: 'none' | 'fade' | 'rise' | 'scale' | 'slide';
|
|
@@ -28566,8 +28566,7 @@ interface StdUiDrawGroupConfig {
|
|
|
28566
28566
|
/** Default: `{"x":1,"y":1,"z":1}` */
|
|
28567
28567
|
position?: EntityRow;
|
|
28568
28568
|
rotate?: number;
|
|
28569
|
-
|
|
28570
|
-
rotation?: number[];
|
|
28569
|
+
rotation?: unknown;
|
|
28571
28570
|
scale?: number;
|
|
28572
28571
|
skeleton?: boolean;
|
|
28573
28572
|
}
|
|
@@ -28652,8 +28651,7 @@ interface StdUiDrawMeshConfig {
|
|
|
28652
28651
|
radiusBottom?: number;
|
|
28653
28652
|
radiusTop?: number;
|
|
28654
28653
|
receiveShadow?: boolean;
|
|
28655
|
-
|
|
28656
|
-
rotation?: number[];
|
|
28654
|
+
rotation?: unknown;
|
|
28657
28655
|
segments?: number;
|
|
28658
28656
|
/** Default: `"box"` */
|
|
28659
28657
|
shape?: 'box' | 'sphere' | 'capsule' | 'cylinder' | 'cone' | 'torus' | 'plane' | 'circle' | 'polyhedron';
|
|
@@ -38047,6 +38045,7 @@ interface StdUiDataListConfig {
|
|
|
38047
38045
|
/** Default: `"none"` */
|
|
38048
38046
|
gap?: 'none' | 'sm' | 'md' | 'lg';
|
|
38049
38047
|
groupBy?: string;
|
|
38048
|
+
groupFormat?: 'date' | 'time' | 'datetime' | 'currency' | 'number' | 'boolean' | 'percent';
|
|
38050
38049
|
hasMore?: boolean;
|
|
38051
38050
|
infiniteScroll?: boolean;
|
|
38052
38051
|
/** Default: `false` */
|
|
@@ -41990,7 +41989,7 @@ interface StdUiImportProgressConfig {
|
|
|
41990
41989
|
dir?: 'ltr' | 'rtl' | 'auto';
|
|
41991
41990
|
enter?: 'none' | 'fade' | 'rise' | 'scale' | 'slide';
|
|
41992
41991
|
enterDelay?: number;
|
|
41993
|
-
/** Default: `{"
|
|
41992
|
+
/** Default: `{"fetching":"Item"}` */
|
|
41994
41993
|
labels?: Record<string, TraitConfig>;
|
|
41995
41994
|
lang?: string;
|
|
41996
41995
|
role?: 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'blockquote' | 'button' | 'caption' | 'cell' | 'checkbox' | 'code' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'deletion' | 'dialog' | 'document' | 'emphasis' | 'feed' | 'figure' | 'form' | 'generic' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'insertion' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'meter' | 'navigation' | 'none' | 'note' | 'option' | 'paragraph' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'strong' | 'subscript' | 'superscript' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'time' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem';
|
|
@@ -52532,6 +52531,8 @@ interface StdUiStateMachineViewTransitionClickPayload {
|
|
|
52532
52531
|
interface StdUiStateMachineViewConfig {
|
|
52533
52532
|
activeState?: string;
|
|
52534
52533
|
activeTransition?: number;
|
|
52534
|
+
/** Default: `{"effects":{"persist":{"body":"Saves the order."}},"states":{"pending":{"body":"Every order starts here.","title":"Unpaid"}},"transitions":{"PAY":{"body":"Only fires when the amount is positive."}}}` */
|
|
52535
|
+
annotations?: EntityRow;
|
|
52535
52536
|
ariaBusy?: boolean;
|
|
52536
52537
|
ariaCurrent?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
52537
52538
|
ariaDescribedby?: string;
|