pxengine 0.1.43 → 0.1.45

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pxengine/ui",
3
3
  "version": "1.0.0",
4
- "lastUpdated": "2026-03-06T09:33:27.329Z",
4
+ "lastUpdated": "2026-03-09T07:17:23.717Z",
5
5
  "components": {
6
6
  "AccordionAtom": {
7
7
  "name": "AccordionAtom",
@@ -13665,72 +13665,84 @@
13665
13665
  "height": 225
13666
13666
  }
13667
13667
  },
13668
- "AgentCard": {
13669
- "name": "AgentCard",
13668
+ "AudienceDemographicsCard": {
13669
+ "name": "AudienceDemographicsCard",
13670
13670
  "type": "molecule",
13671
13671
  "isBuilderComponent": true,
13672
- "description": "AgentCard\n\nDisplays an agent configuration with avatar, metadata, tools, and status.\nSupports inline editing when `editable` is true and `onSave` is provided.\nGeneric — the parent injects save logic via `onSave`, so it works in any context.",
13672
+ "description": "AudienceDemographicsCard\nVisualizes audience data using appropriate chart types.",
13673
13673
  "props": {
13674
- "onSave": {
13675
- "type": "(agent: { name: string; display_name: string; description: string; image: string; tools: string[]; model: string; enabled: boolean; agent_id?: string; }, updates: record<string, any>) => promise<...>",
13676
- "required": false,
13674
+ "type": {
13675
+ "type": "\"audience-demographics-card\"",
13676
+ "required": true,
13677
13677
  "description": ""
13678
13678
  },
13679
- "className": {
13679
+ "title": {
13680
13680
  "type": "string",
13681
- "required": false,
13681
+ "required": true,
13682
13682
  "description": ""
13683
13683
  },
13684
- "style": {
13685
- "type": "cssproperties",
13686
- "required": false,
13684
+ "data": {
13685
+ "type": "any[]",
13686
+ "required": true,
13687
13687
  "description": ""
13688
13688
  },
13689
- "agent": {
13690
- "type": "{ name: string; display_name: string; description: string; image: string; tools: string[]; model: string; enabled: boolean; agent_id?: string; }",
13689
+ "config": {
13690
+ "type": "record<string, { label: string; color: string; }>",
13691
13691
  "required": true,
13692
13692
  "description": ""
13693
13693
  },
13694
- "editable": {
13695
- "type": "boolean",
13694
+ "demographicType": {
13695
+ "type": "enum",
13696
+ "required": true,
13697
+ "description": "",
13698
+ "enums": [
13699
+ "location",
13700
+ "age",
13701
+ "gender"
13702
+ ]
13703
+ },
13704
+ "id": {
13705
+ "type": "string",
13706
+ "required": true,
13707
+ "description": ""
13708
+ },
13709
+ "className": {
13710
+ "type": "string",
13696
13711
  "required": false,
13697
- "defaultValue": "true",
13698
13712
  "description": ""
13699
13713
  },
13700
- "compact": {
13701
- "type": "boolean",
13714
+ "style": {
13715
+ "type": "cssproperties",
13702
13716
  "required": false,
13703
- "defaultValue": "false",
13704
13717
  "description": ""
13705
13718
  }
13706
13719
  },
13707
13720
  "preview": null,
13708
13721
  "layoutHints": null
13709
13722
  },
13710
- "AgentDataTable": {
13711
- "name": "AgentDataTable",
13723
+ "AudienceMetricCard": {
13724
+ "name": "AudienceMetricCard",
13712
13725
  "type": "molecule",
13713
13726
  "isBuilderComponent": true,
13714
- "description": "AgentDataTable\n\nA clean table for displaying structured data from agent builder responses.\nRenders boolean values as colored indicators and handles overflow gracefully.",
13727
+ "description": "AudienceMetricCard\nA card displaying specific audience metrics with progress bars.",
13715
13728
  "props": {
13716
13729
  "type": {
13717
- "type": "\"agent-data-table\"",
13730
+ "type": "\"audience-metric-card\"",
13718
13731
  "required": true,
13719
13732
  "description": ""
13720
13733
  },
13721
- "headers": {
13722
- "type": "string[]",
13734
+ "title": {
13735
+ "type": "string",
13723
13736
  "required": true,
13724
13737
  "description": ""
13725
13738
  },
13726
- "rows": {
13739
+ "metrics": {
13727
13740
  "type": "enum",
13728
13741
  "required": true,
13729
13742
  "description": "",
13730
13743
  "enums": [
13731
- "(string",
13732
- "number",
13733
- "boolean)[][]"
13744
+ "{ label: string; value: string",
13745
+ "number; percentage?: number; }[]"
13734
13746
  ]
13735
13747
  },
13736
13748
  "id": {
@@ -13752,42 +13764,22 @@
13752
13764
  "preview": null,
13753
13765
  "layoutHints": null
13754
13766
  },
13755
- "InstructionPreview": {
13756
- "name": "InstructionPreview",
13767
+ "BrandAffinityGroup": {
13768
+ "name": "BrandAffinityGroup",
13757
13769
  "type": "molecule",
13758
13770
  "isBuilderComponent": true,
13759
- "description": "InstructionPreview\n\nRenders a structured preview of an agent's instruction/prompt.\nShows agent name, description, collapsible instruction text,\nworkflow summary, and tool list.",
13771
+ "description": "BrandAffinityGroup\nVisual group of associated brand logos.",
13760
13772
  "props": {
13761
13773
  "type": {
13762
- "type": "\"instruction-preview\"",
13763
- "required": true,
13764
- "description": ""
13765
- },
13766
- "agent_name": {
13767
- "type": "string",
13774
+ "type": "\"brand-affinity-group\"",
13768
13775
  "required": true,
13769
13776
  "description": ""
13770
13777
  },
13771
- "description": {
13772
- "type": "string",
13773
- "required": false,
13774
- "description": ""
13775
- },
13776
- "instruction": {
13777
- "type": "string",
13778
+ "brands": {
13779
+ "type": "{ name: string; logosrc: string; }[]",
13778
13780
  "required": true,
13779
13781
  "description": ""
13780
13782
  },
13781
- "workflow_summary": {
13782
- "type": "string[]",
13783
- "required": false,
13784
- "description": ""
13785
- },
13786
- "tools": {
13787
- "type": "string[]",
13788
- "required": false,
13789
- "description": ""
13790
- },
13791
13783
  "id": {
13792
13784
  "type": "string",
13793
13785
  "required": true,
@@ -13807,182 +13799,293 @@
13807
13799
  "preview": null,
13808
13800
  "layoutHints": null
13809
13801
  },
13810
- "MultiAgentCard": {
13811
- "name": "MultiAgentCard",
13802
+ "CampaignConceptCard": {
13803
+ "name": "CampaignConceptCard",
13812
13804
  "type": "molecule",
13813
13805
  "isBuilderComponent": true,
13814
- "description": "MultiAgentCard\n\nDisplays a multi-agent workflow configuration: workflow name, description,\nstages as connected cards with tool/component counts, and status badge.",
13806
+ "description": "CampaignConceptCard\n\nA domain-specific molecule for displaying a campaign concept.\nStyled to match the creator-search CampaignConceptsRenderer layout.\nNo proceed button includes a copy-all icon in the header.",
13815
13807
  "props": {
13816
- "className": {
13808
+ "title": {
13817
13809
  "type": "string",
13818
13810
  "required": false,
13819
- "description": ""
13811
+ "description": "Title of the concept"
13820
13812
  },
13821
- "name": {
13822
- "type": "string",
13823
- "required": true,
13813
+ "index": {
13814
+ "type": "number",
13815
+ "required": false,
13824
13816
  "description": ""
13825
13817
  },
13826
- "style": {
13827
- "type": "cssproperties",
13818
+ "isRecommended": {
13819
+ "type": "boolean",
13828
13820
  "required": false,
13829
- "description": ""
13821
+ "description": "Whether this concept is recommended"
13830
13822
  },
13831
- "description": {
13832
- "type": "string",
13833
- "required": true,
13834
- "description": ""
13823
+ "isOpen": {
13824
+ "type": "boolean",
13825
+ "required": false,
13826
+ "description": "Whether the card is expanded"
13835
13827
  },
13836
- "display_name": {
13837
- "type": "string",
13838
- "required": true,
13839
- "description": ""
13828
+ "onToggle": {
13829
+ "type": "() => void",
13830
+ "required": false,
13831
+ "description": "Callback for toggling the card"
13840
13832
  },
13841
- "workflow_type": {
13842
- "type": "\"multi_agent\"",
13833
+ "data": {
13834
+ "type": "record<string, any>",
13843
13835
  "required": true,
13844
- "description": ""
13836
+ "description": "Dynamic field data"
13845
13837
  },
13846
- "stages": {
13847
- "type": "{ name: string; agent_name: string; tools?: string[]; ui_components?: string[]; }[]",
13838
+ "fields": {
13839
+ "type": "fieldconfig[]",
13848
13840
  "required": false,
13849
- "defaultValue": "[]",
13850
- "description": ""
13841
+ "description": "Optional field configuration to override dynamic generation"
13851
13842
  },
13852
- "enabled": {
13843
+ "selectionStatus": {
13844
+ "type": "enum",
13845
+ "required": false,
13846
+ "description": "Selection status for the footer",
13847
+ "enums": [
13848
+ "user",
13849
+ "agent"
13850
+ ]
13851
+ },
13852
+ "isLatestMessage": {
13853
13853
  "type": "boolean",
13854
13854
  "required": false,
13855
- "defaultValue": "true",
13856
- "description": ""
13855
+ "description": "Whether this is the latest message"
13857
13856
  },
13858
- "agent_id": {
13859
- "type": "string",
13857
+ "hasUserResponded": {
13858
+ "type": "boolean",
13860
13859
  "required": false,
13861
- "description": ""
13862
- }
13863
- },
13864
- "preview": null,
13865
- "layoutHints": null
13866
- },
13867
- "MultiAgentPlan": {
13868
- "name": "MultiAgentPlan",
13869
- "type": "molecule",
13870
- "isBuilderComponent": true,
13871
- "description": "MultiAgentPlan\n\nVisual plan preview showing proposed stages before the admin commits.\nDisplays stage names, descriptions, and proposed tools in a connected flow.",
13872
- "props": {
13860
+ "description": "Whether the user has already responded to this card"
13861
+ },
13862
+ "onAction": {
13863
+ "type": "(action: any) => void",
13864
+ "required": false,
13865
+ "description": "Optional action handler"
13866
+ },
13873
13867
  "className": {
13874
13868
  "type": "string",
13875
13869
  "required": false,
13876
- "description": ""
13870
+ "description": "Custom className"
13877
13871
  },
13878
- "style": {
13879
- "type": "cssproperties",
13872
+ "id": {
13873
+ "type": "string",
13880
13874
  "required": false,
13881
- "description": ""
13875
+ "description": "Unique identifier"
13882
13876
  },
13883
- "stages": {
13884
- "type": "{ name: string; description: string; proposed_tools?: string[]; }[]",
13877
+ "editingFields": {
13878
+ "type": "record<string, boolean>",
13885
13879
  "required": false,
13886
- "defaultValue": "[]",
13887
- "description": ""
13888
- }
13889
- },
13890
- "preview": null,
13891
- "layoutHints": null
13892
- },
13893
- "MultiAgentUISelector": {
13894
- "name": "MultiAgentUISelector",
13895
- "type": "molecule",
13896
- "isBuilderComponent": true,
13897
- "description": "",
13898
- "props": {
13899
- "onSelect": {
13900
- "type": "(stageselections: record<string, string[]>) => void",
13880
+ "description": "Current editing states for each field"
13881
+ },
13882
+ "changedFields": {
13883
+ "type": "record<string, boolean>",
13901
13884
  "required": false,
13902
- "description": ""
13885
+ "description": "Fields that have been modified"
13903
13886
  },
13904
- "onPreview": {
13905
- "type": "(componentname: string) => void",
13887
+ "savingFields": {
13888
+ "type": "record<string, boolean>",
13906
13889
  "required": false,
13907
- "description": ""
13890
+ "description": "Fields currently being saved"
13908
13891
  },
13909
- "className": {
13910
- "type": "string",
13892
+ "onFieldEdit": {
13893
+ "type": "(key: string) => void",
13911
13894
  "required": false,
13912
- "description": ""
13895
+ "description": "Triggered when a field starts editing"
13913
13896
  },
13914
- "isLatestMessage": {
13915
- "type": "boolean",
13897
+ "onFieldSave": {
13898
+ "type": "(key: string, newvalue: any) => void",
13916
13899
  "required": false,
13917
- "defaultValue": "true",
13918
- "description": ""
13900
+ "description": "Triggered when a field value is saved"
13919
13901
  },
13920
- "style": {
13921
- "type": "cssproperties",
13902
+ "onFieldCancel": {
13903
+ "type": "(key: string) => void",
13922
13904
  "required": false,
13923
- "description": ""
13905
+ "description": "Triggered when a field edit is cancelled"
13924
13906
  },
13925
- "stages": {
13926
- "type": "{ id: string; name: string; agent_name: string; }[]",
13907
+ "showTimeline": {
13908
+ "type": "boolean",
13927
13909
  "required": false,
13928
- "defaultValue": "[]",
13929
- "description": ""
13910
+ "description": "Show a dotted timeline visual on the left"
13930
13911
  },
13931
- "components": {
13932
- "type": "{ name: string; display_name: string; description: string; category: string; }[]",
13912
+ "proceedLabel": {
13913
+ "type": "string",
13933
13914
  "required": false,
13934
- "defaultValue": "[]",
13935
- "description": ""
13915
+ "description": "Label for the \"Proceed\" button"
13916
+ },
13917
+ "onProceed": {
13918
+ "type": "() => void",
13919
+ "required": false,
13920
+ "description": "Proceed handler"
13921
+ },
13922
+ "footer": {
13923
+ "type": "reactnode",
13924
+ "required": false,
13925
+ "description": "Footer content (optional)"
13926
+ },
13927
+ "hideTitle": {
13928
+ "type": "boolean",
13929
+ "required": false,
13930
+ "description": "Whether to hide the title"
13931
+ },
13932
+ "hideCopyButton": {
13933
+ "type": "boolean",
13934
+ "required": false,
13935
+ "description": "Whether to hide the copy button"
13936
+ },
13937
+ "shouldStopPropagation": {
13938
+ "type": "boolean",
13939
+ "required": false,
13940
+ "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
13936
13941
  }
13937
13942
  },
13938
13943
  "preview": null,
13939
13944
  "layoutHints": null
13940
13945
  },
13941
- "StageIndicator": {
13942
- "name": "StageIndicator",
13946
+ "CampaignSeedCard": {
13947
+ "name": "CampaignSeedCard",
13943
13948
  "type": "molecule",
13944
13949
  "isBuilderComponent": true,
13945
- "description": "StageIndicator\n\nClient-side inline component showing active stage/agent name with a divider.\nDisplayed between messages when the responding agent changes in a multi-agent workflow.",
13950
+ "description": "CampaignSeedCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates the specific brand info fields and selection status.\nUses smart field generation with proper renderers for all nested data types.",
13946
13951
  "props": {
13952
+ "selectionStatus": {
13953
+ "type": "enum",
13954
+ "required": false,
13955
+ "description": "Status of the selection (done by user or agent)",
13956
+ "enums": [
13957
+ "user",
13958
+ "agent"
13959
+ ]
13960
+ },
13961
+ "isLatestMessage": {
13962
+ "type": "boolean",
13963
+ "required": false,
13964
+ "description": "Whether the message is the latest (to show countdown/actions)"
13965
+ },
13966
+ "hasUserResponded": {
13967
+ "type": "boolean",
13968
+ "required": false,
13969
+ "description": "Whether the user has already responded to this card"
13970
+ },
13971
+ "fields": {
13972
+ "type": "fieldconfig[]",
13973
+ "required": false,
13974
+ "description": "Optional field configuration to override dynamic generation"
13975
+ },
13976
+ "onAction": {
13977
+ "type": "(action: any) => void",
13978
+ "required": false,
13979
+ "description": "Optional action handler"
13980
+ },
13947
13981
  "className": {
13948
13982
  "type": "string",
13949
13983
  "required": false,
13950
- "description": ""
13984
+ "description": "Custom className"
13951
13985
  },
13952
- "style": {
13953
- "type": "cssproperties",
13986
+ "id": {
13987
+ "type": "string",
13954
13988
  "required": false,
13955
- "description": ""
13989
+ "description": "Unique identifier"
13956
13990
  },
13957
- "stage_name": {
13991
+ "title": {
13958
13992
  "type": "string",
13959
13993
  "required": true,
13960
- "description": ""
13994
+ "description": "Title of the form card"
13961
13995
  },
13962
- "agent_name": {
13963
- "type": "string",
13996
+ "data": {
13997
+ "type": "record<string, any>",
13964
13998
  "required": true,
13965
- "description": ""
13999
+ "description": "Initial data for the form"
14000
+ },
14001
+ "editingFields": {
14002
+ "type": "record<string, boolean>",
14003
+ "required": false,
14004
+ "description": "Current editing states for each field"
14005
+ },
14006
+ "changedFields": {
14007
+ "type": "record<string, boolean>",
14008
+ "required": false,
14009
+ "description": "Fields that have been modified"
14010
+ },
14011
+ "savingFields": {
14012
+ "type": "record<string, boolean>",
14013
+ "required": false,
14014
+ "description": "Fields currently being saved"
14015
+ },
14016
+ "onFieldEdit": {
14017
+ "type": "(key: string) => void",
14018
+ "required": false,
14019
+ "description": "Triggered when a field starts editing"
14020
+ },
14021
+ "onFieldSave": {
14022
+ "type": "(key: string, newvalue: any) => void",
14023
+ "required": false,
14024
+ "description": "Triggered when a field value is saved"
14025
+ },
14026
+ "onFieldCancel": {
14027
+ "type": "(key: string) => void",
14028
+ "required": false,
14029
+ "description": "Triggered when a field edit is cancelled"
14030
+ },
14031
+ "showTimeline": {
14032
+ "type": "boolean",
14033
+ "required": false,
14034
+ "description": "Show a dotted timeline visual on the left"
14035
+ },
14036
+ "proceedLabel": {
14037
+ "type": "string",
14038
+ "required": false,
14039
+ "description": "Label for the \"Proceed\" button"
14040
+ },
14041
+ "onProceed": {
14042
+ "type": "() => void",
14043
+ "required": false,
14044
+ "description": "Proceed handler"
14045
+ },
14046
+ "footer": {
14047
+ "type": "reactnode",
14048
+ "required": false,
14049
+ "description": "Footer content (optional)"
14050
+ },
14051
+ "hideTitle": {
14052
+ "type": "boolean",
14053
+ "required": false,
14054
+ "description": "Whether to hide the title"
14055
+ },
14056
+ "hideCopyButton": {
14057
+ "type": "boolean",
14058
+ "required": false,
14059
+ "description": "Whether to hide the copy button"
14060
+ },
14061
+ "shouldStopPropagation": {
14062
+ "type": "boolean",
14063
+ "required": false,
14064
+ "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
13966
14065
  }
13967
14066
  },
13968
14067
  "preview": null,
13969
14068
  "layoutHints": null
13970
14069
  },
13971
- "ToolListCard": {
13972
- "name": "ToolListCard",
14070
+ "ContentPreviewGallery": {
14071
+ "name": "ContentPreviewGallery",
13973
14072
  "type": "molecule",
13974
14073
  "isBuilderComponent": true,
13975
- "description": "ToolListCard\n\nRenders a grouped list of agent tools with icons and description.\nIcons are data-driven: each tool can specify an `icon` field (lucide name),\nfalling back to category-based icons, then a generic wrench.",
14074
+ "description": "ContentPreviewGallery\nGrid/Gallery of thumbnail previews.",
13976
14075
  "props": {
13977
14076
  "type": {
13978
- "type": "\"tool-list\"",
14077
+ "type": "\"content-preview-gallery\"",
13979
14078
  "required": true,
13980
14079
  "description": ""
13981
14080
  },
13982
- "tools": {
13983
- "type": "{ name: string; display_name?: string; description?: string; category?: string; icon?: string; }[]",
14081
+ "items": {
14082
+ "type": "enum",
13984
14083
  "required": true,
13985
- "description": ""
14084
+ "description": "",
14085
+ "enums": [
14086
+ "{ thumbnail: string; type: video",
14087
+ "image; url?: string; }[]"
14088
+ ]
13986
14089
  },
13987
14090
  "id": {
13988
14091
  "type": "string",
@@ -14003,39 +14106,39 @@
14003
14106
  "preview": null,
14004
14107
  "layoutHints": null
14005
14108
  },
14006
- "UIComponentSelector": {
14007
- "name": "UIComponentSelector",
14109
+ "CreatorActionHeader": {
14110
+ "name": "CreatorActionHeader",
14008
14111
  "type": "molecule",
14009
14112
  "isBuilderComponent": true,
14010
- "description": "",
14113
+ "description": "CreatorActionHeader\nA premium header for profile views with banner and sticky actions.",
14011
14114
  "props": {
14012
- "onSelect": {
14013
- "type": "(selectedcomponents: string[]) => void",
14115
+ "type": {
14116
+ "type": "\"creator-action-header\"",
14117
+ "required": true,
14118
+ "description": ""
14119
+ },
14120
+ "bannerSrc": {
14121
+ "type": "string",
14014
14122
  "required": false,
14015
14123
  "description": ""
14016
14124
  },
14017
- "onPreview": {
14018
- "type": "(componentname: string) => void",
14125
+ "avatarSrc": {
14126
+ "type": "string",
14019
14127
  "required": false,
14020
14128
  "description": ""
14021
- }
14022
- },
14023
- "preview": null,
14024
- "layoutHints": null
14025
- },
14026
- "WorkflowVisualizer": {
14027
- "name": "WorkflowVisualizer",
14028
- "type": "molecule",
14029
- "isBuilderComponent": true,
14030
- "description": "WorkflowVisualizer\n\nRenders agent workflow steps as a vertical flow with connected cards.\nEach step shows sub-steps, tools used, and failure handling.",
14031
- "props": {
14032
- "type": {
14033
- "type": "\"workflow\"",
14129
+ },
14130
+ "name": {
14131
+ "type": "string",
14034
14132
  "required": true,
14035
14133
  "description": ""
14036
14134
  },
14037
- "steps": {
14038
- "type": "{ id: string; name: string; description?: string; tools?: string[]; sub_steps?: { id: string; action: string; }[]; on_failure?: string; next?: string; }[]",
14135
+ "handle": {
14136
+ "type": "string",
14137
+ "required": true,
14138
+ "description": ""
14139
+ },
14140
+ "actions": {
14141
+ "type": "{ label: string; variant?: string; action?: string; }[]",
14039
14142
  "required": true,
14040
14143
  "description": ""
14041
14144
  },
@@ -14058,42 +14161,55 @@
14058
14161
  "preview": null,
14059
14162
  "layoutHints": null
14060
14163
  },
14061
- "AudienceDemographicsCard": {
14062
- "name": "AudienceDemographicsCard",
14164
+ "CreatorGridCard": {
14165
+ "name": "CreatorGridCard",
14063
14166
  "type": "molecule",
14064
14167
  "isBuilderComponent": true,
14065
- "description": "AudienceDemographicsCard\nVisualizes audience data using appropriate chart types.",
14168
+ "description": "CreatorGridCard\nA visually rich card for discovery grids.",
14066
14169
  "props": {
14067
14170
  "type": {
14068
- "type": "\"audience-demographics-card\"",
14171
+ "type": "\"creator-grid-card\"",
14069
14172
  "required": true,
14070
14173
  "description": ""
14071
14174
  },
14072
- "title": {
14175
+ "bannerSrc": {
14073
14176
  "type": "string",
14074
- "required": true,
14177
+ "required": false,
14075
14178
  "description": ""
14076
14179
  },
14077
- "data": {
14078
- "type": "any[]",
14079
- "required": true,
14180
+ "avatarSrc": {
14181
+ "type": "string",
14182
+ "required": false,
14080
14183
  "description": ""
14081
14184
  },
14082
- "config": {
14083
- "type": "record<string, { label: string; color: string; }>",
14084
- "required": true,
14185
+ "name": {
14186
+ "type": "string",
14187
+ "required": false,
14188
+ "defaultValue": "",
14085
14189
  "description": ""
14086
14190
  },
14087
- "demographicType": {
14191
+ "handle": {
14192
+ "type": "string",
14193
+ "required": false,
14194
+ "defaultValue": "",
14195
+ "description": ""
14196
+ },
14197
+ "metrics": {
14088
14198
  "type": "enum",
14089
- "required": true,
14199
+ "required": false,
14200
+ "defaultValue": "[]",
14090
14201
  "description": "",
14091
14202
  "enums": [
14092
- "location",
14093
- "age",
14094
- "gender"
14203
+ "{ label: string; value: string",
14204
+ "number; }[]"
14095
14205
  ]
14096
14206
  },
14207
+ "platforms": {
14208
+ "type": "string[]",
14209
+ "required": false,
14210
+ "defaultValue": "[]",
14211
+ "description": ""
14212
+ },
14097
14213
  "id": {
14098
14214
  "type": "string",
14099
14215
  "required": true,
@@ -14113,65 +14229,44 @@
14113
14229
  "preview": null,
14114
14230
  "layoutHints": null
14115
14231
  },
14116
- "AudienceMetricCard": {
14117
- "name": "AudienceMetricCard",
14232
+ "CreatorProfileSummary": {
14233
+ "name": "CreatorProfileSummary",
14118
14234
  "type": "molecule",
14119
14235
  "isBuilderComponent": true,
14120
- "description": "AudienceMetricCard\nA card displaying specific audience metrics with progress bars.",
14236
+ "description": "CreatorProfileSummary\nA compact row showing avatar, name, and key metrics.",
14121
14237
  "props": {
14122
14238
  "type": {
14123
- "type": "\"audience-metric-card\"",
14239
+ "type": "\"creator-profile-summary\"",
14124
14240
  "required": true,
14125
14241
  "description": ""
14126
14242
  },
14127
- "title": {
14243
+ "avatarSrc": {
14128
14244
  "type": "string",
14129
- "required": true,
14245
+ "required": false,
14130
14246
  "description": ""
14131
14247
  },
14132
- "metrics": {
14133
- "type": "enum",
14134
- "required": true,
14135
- "description": "",
14136
- "enums": [
14137
- "{ label: string; value: string",
14138
- "number; percentage?: number; }[]"
14139
- ]
14140
- },
14141
- "id": {
14248
+ "name": {
14142
14249
  "type": "string",
14143
14250
  "required": true,
14144
14251
  "description": ""
14145
14252
  },
14146
- "className": {
14147
- "type": "string",
14253
+ "followerCount": {
14254
+ "type": "enum",
14148
14255
  "required": false,
14149
- "description": ""
14256
+ "description": "",
14257
+ "enums": [
14258
+ "string",
14259
+ "number"
14260
+ ]
14150
14261
  },
14151
- "style": {
14152
- "type": "cssproperties",
14262
+ "engagementRate": {
14263
+ "type": "enum",
14153
14264
  "required": false,
14154
- "description": ""
14155
- }
14156
- },
14157
- "preview": null,
14158
- "layoutHints": null
14159
- },
14160
- "BrandAffinityGroup": {
14161
- "name": "BrandAffinityGroup",
14162
- "type": "molecule",
14163
- "isBuilderComponent": true,
14164
- "description": "BrandAffinityGroup\nVisual group of associated brand logos.",
14165
- "props": {
14166
- "type": {
14167
- "type": "\"brand-affinity-group\"",
14168
- "required": true,
14169
- "description": ""
14170
- },
14171
- "brands": {
14172
- "type": "{ name: string; logosrc: string; }[]",
14173
- "required": true,
14174
- "description": ""
14265
+ "description": "",
14266
+ "enums": [
14267
+ "string",
14268
+ "number"
14269
+ ]
14175
14270
  },
14176
14271
  "id": {
14177
14272
  "type": "string",
@@ -14192,185 +14287,31 @@
14192
14287
  "preview": null,
14193
14288
  "layoutHints": null
14194
14289
  },
14195
- "CampaignConceptCard": {
14196
- "name": "CampaignConceptCard",
14197
- "type": "molecule",
14198
- "isBuilderComponent": true,
14199
- "description": "CampaignConceptCard\n\nA domain-specific molecule for displaying a campaign concept.\nStyled to match the creator-search CampaignConceptsRenderer layout.\nNo proceed button — includes a copy-all icon in the header.",
14200
- "props": {
14201
- "title": {
14202
- "type": "string",
14203
- "required": false,
14204
- "description": "Title of the concept"
14205
- },
14206
- "index": {
14207
- "type": "number",
14208
- "required": false,
14209
- "description": ""
14210
- },
14211
- "isRecommended": {
14212
- "type": "boolean",
14213
- "required": false,
14214
- "description": "Whether this concept is recommended"
14215
- },
14216
- "isOpen": {
14217
- "type": "boolean",
14218
- "required": false,
14219
- "description": "Whether the card is expanded"
14220
- },
14221
- "onToggle": {
14222
- "type": "() => void",
14223
- "required": false,
14224
- "description": "Callback for toggling the card"
14225
- },
14226
- "data": {
14227
- "type": "record<string, any>",
14228
- "required": true,
14229
- "description": "Dynamic field data"
14230
- },
14231
- "fields": {
14232
- "type": "fieldconfig[]",
14233
- "required": false,
14234
- "description": "Optional field configuration to override dynamic generation"
14235
- },
14236
- "selectionStatus": {
14237
- "type": "enum",
14238
- "required": false,
14239
- "description": "Selection status for the footer",
14240
- "enums": [
14241
- "agent",
14242
- "user"
14243
- ]
14244
- },
14245
- "isLatestMessage": {
14246
- "type": "boolean",
14247
- "required": false,
14248
- "description": "Whether this is the latest message"
14249
- },
14250
- "hasUserResponded": {
14251
- "type": "boolean",
14252
- "required": false,
14253
- "description": "Whether the user has already responded to this card"
14254
- },
14255
- "onAction": {
14256
- "type": "(action: any) => void",
14257
- "required": false,
14258
- "description": "Optional action handler"
14259
- },
14260
- "className": {
14261
- "type": "string",
14262
- "required": false,
14263
- "description": "Custom className"
14264
- },
14265
- "id": {
14266
- "type": "string",
14267
- "required": false,
14268
- "description": "Unique identifier"
14269
- },
14270
- "editingFields": {
14271
- "type": "record<string, boolean>",
14272
- "required": false,
14273
- "description": "Current editing states for each field"
14274
- },
14275
- "changedFields": {
14276
- "type": "record<string, boolean>",
14277
- "required": false,
14278
- "description": "Fields that have been modified"
14279
- },
14280
- "savingFields": {
14281
- "type": "record<string, boolean>",
14282
- "required": false,
14283
- "description": "Fields currently being saved"
14284
- },
14285
- "onFieldEdit": {
14286
- "type": "(key: string) => void",
14287
- "required": false,
14288
- "description": "Triggered when a field starts editing"
14289
- },
14290
- "onFieldSave": {
14291
- "type": "(key: string, newvalue: any) => void",
14292
- "required": false,
14293
- "description": "Triggered when a field value is saved"
14294
- },
14295
- "onFieldCancel": {
14296
- "type": "(key: string) => void",
14297
- "required": false,
14298
- "description": "Triggered when a field edit is cancelled"
14299
- },
14300
- "showTimeline": {
14301
- "type": "boolean",
14302
- "required": false,
14303
- "description": "Show a dotted timeline visual on the left"
14304
- },
14305
- "proceedLabel": {
14306
- "type": "string",
14307
- "required": false,
14308
- "description": "Label for the \"Proceed\" button"
14309
- },
14310
- "onProceed": {
14311
- "type": "() => void",
14312
- "required": false,
14313
- "description": "Proceed handler"
14314
- },
14315
- "footer": {
14316
- "type": "reactnode",
14317
- "required": false,
14318
- "description": "Footer content (optional)"
14319
- },
14320
- "hideTitle": {
14321
- "type": "boolean",
14322
- "required": false,
14323
- "description": "Whether to hide the title"
14324
- },
14325
- "hideCopyButton": {
14326
- "type": "boolean",
14327
- "required": false,
14328
- "description": "Whether to hide the copy button"
14329
- },
14330
- "shouldStopPropagation": {
14331
- "type": "boolean",
14332
- "required": false,
14333
- "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
14334
- }
14335
- },
14336
- "preview": null,
14337
- "layoutHints": null
14338
- },
14339
- "CampaignSeedCard": {
14340
- "name": "CampaignSeedCard",
14290
+ "CreatorSearch": {
14291
+ "name": "CreatorSearch",
14341
14292
  "type": "molecule",
14342
14293
  "isBuilderComponent": true,
14343
- "description": "CampaignSeedCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates the specific brand info fields and selection status.\nUses smart field generation with proper renderers for all nested data types.",
14294
+ "description": "CreatorSearch\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates creator search settings like platforms, range, geography, keywords, etc.\nDesigned to match the MCQCard theme with premium dark aesthetics.",
14344
14295
  "props": {
14345
14296
  "selectionStatus": {
14346
14297
  "type": "enum",
14347
14298
  "required": false,
14348
- "description": "Status of the selection (done by user or agent)",
14299
+ "description": "Status of the selection",
14349
14300
  "enums": [
14350
- "agent",
14351
- "user"
14301
+ "user",
14302
+ "agent"
14352
14303
  ]
14353
14304
  },
14354
14305
  "isLatestMessage": {
14355
14306
  "type": "boolean",
14356
14307
  "required": false,
14357
- "description": "Whether the message is the latest (to show countdown/actions)"
14358
- },
14359
- "hasUserResponded": {
14360
- "type": "boolean",
14361
- "required": false,
14362
- "description": "Whether the user has already responded to this card"
14308
+ "description": "Whether the message is the latest"
14363
14309
  },
14364
14310
  "fields": {
14365
14311
  "type": "fieldconfig[]",
14366
14312
  "required": false,
14367
14313
  "description": "Optional field configuration to override dynamic generation"
14368
14314
  },
14369
- "onAction": {
14370
- "type": "(action: any) => void",
14371
- "required": false,
14372
- "description": "Optional action handler"
14373
- },
14374
14315
  "className": {
14375
14316
  "type": "string",
14376
14317
  "required": false,
@@ -14460,93 +14401,123 @@
14460
14401
  "preview": null,
14461
14402
  "layoutHints": null
14462
14403
  },
14463
- "ContentPreviewGallery": {
14464
- "name": "ContentPreviewGallery",
14404
+ "CreatorCompactView": {
14405
+ "name": "CreatorCompactView",
14465
14406
  "type": "molecule",
14466
14407
  "isBuilderComponent": true,
14467
- "description": "ContentPreviewGallery\nGrid/Gallery of thumbnail previews.",
14408
+ "description": "",
14468
14409
  "props": {
14469
- "type": {
14470
- "type": "\"content-preview-gallery\"",
14410
+ "versions": {
14411
+ "type": "number[]",
14471
14412
  "required": true,
14472
14413
  "description": ""
14473
14414
  },
14474
- "items": {
14475
- "type": "enum",
14415
+ "selectedVersion": {
14416
+ "type": "number",
14417
+ "required": false,
14418
+ "description": ""
14419
+ },
14420
+ "creatorImages": {
14421
+ "type": "string[]",
14476
14422
  "required": true,
14477
- "description": "",
14478
- "enums": [
14479
- "{ thumbnail: string; type: video",
14480
- "image; url?: string; }[]"
14481
- ]
14423
+ "description": ""
14482
14424
  },
14483
- "id": {
14484
- "type": "string",
14425
+ "creatorLength": {
14426
+ "type": "number",
14485
14427
  "required": true,
14486
14428
  "description": ""
14487
14429
  },
14488
- "className": {
14489
- "type": "string",
14490
- "required": false,
14430
+ "isAgentOutput": {
14431
+ "type": "boolean",
14432
+ "required": true,
14491
14433
  "description": ""
14492
14434
  },
14493
- "style": {
14494
- "type": "cssproperties",
14495
- "required": false,
14496
- "description": ""
14497
- }
14498
- },
14499
- "preview": null,
14500
- "layoutHints": null
14501
- },
14502
- "CreatorActionHeader": {
14503
- "name": "CreatorActionHeader",
14504
- "type": "molecule",
14505
- "isBuilderComponent": true,
14506
- "description": "CreatorActionHeader\nA premium header for profile views with banner and sticky actions.",
14507
- "props": {
14508
- "type": {
14509
- "type": "\"creator-action-header\"",
14435
+ "onVersionSelect": {
14436
+ "type": "(versionno: number) => void",
14510
14437
  "required": true,
14511
14438
  "description": ""
14512
14439
  },
14513
- "bannerSrc": {
14514
- "type": "string",
14515
- "required": false,
14440
+ "onViewCreators": {
14441
+ "type": "() => void",
14442
+ "required": true,
14516
14443
  "description": ""
14517
14444
  },
14518
- "avatarSrc": {
14519
- "type": "string",
14445
+ "versionStatus": {
14446
+ "type": "enum",
14447
+ "required": true,
14448
+ "description": "",
14449
+ "enums": [
14450
+ "completed",
14451
+ "checking",
14452
+ "in-progress",
14453
+ "complete",
14454
+ "failed"
14455
+ ]
14456
+ },
14457
+ "statusDetails": {
14458
+ "type": "statusdetails",
14520
14459
  "required": false,
14521
14460
  "description": ""
14522
14461
  },
14523
- "name": {
14462
+ "timeDisplay": {
14524
14463
  "type": "string",
14525
14464
  "required": true,
14526
14465
  "description": ""
14527
14466
  },
14528
- "handle": {
14529
- "type": "string",
14467
+ "isLoading": {
14468
+ "type": "boolean",
14530
14469
  "required": true,
14531
14470
  "description": ""
14471
+ }
14472
+ },
14473
+ "preview": null,
14474
+ "layoutHints": null
14475
+ },
14476
+ "CreatorImageList": {
14477
+ "name": "CreatorImageList",
14478
+ "type": "molecule",
14479
+ "isBuilderComponent": true,
14480
+ "description": "",
14481
+ "props": {
14482
+ "creatorImages": {
14483
+ "type": "string[]",
14484
+ "required": false,
14485
+ "defaultValue": "[]",
14486
+ "description": ""
14532
14487
  },
14533
- "actions": {
14534
- "type": "{ label: string; variant?: string; action?: string; }[]",
14535
- "required": true,
14488
+ "creatorLength": {
14489
+ "type": "number",
14490
+ "required": false,
14491
+ "defaultValue": "0",
14536
14492
  "description": ""
14537
14493
  },
14538
- "id": {
14539
- "type": "string",
14494
+ "isAgentOutput": {
14495
+ "type": "boolean",
14540
14496
  "required": true,
14541
14497
  "description": ""
14542
14498
  },
14543
- "className": {
14544
- "type": "string",
14499
+ "initialCreatorsPercentage": {
14500
+ "type": "number",
14501
+ "required": false,
14502
+ "description": ""
14503
+ }
14504
+ },
14505
+ "preview": null,
14506
+ "layoutHints": null
14507
+ },
14508
+ "CreatorProgressBar": {
14509
+ "name": "CreatorProgressBar",
14510
+ "type": "molecule",
14511
+ "isBuilderComponent": true,
14512
+ "description": "",
14513
+ "props": {
14514
+ "statusDetails": {
14515
+ "type": "statusdetails",
14545
14516
  "required": false,
14546
14517
  "description": ""
14547
14518
  },
14548
- "style": {
14549
- "type": "cssproperties",
14519
+ "timeRemaining": {
14520
+ "type": "string",
14550
14521
  "required": false,
14551
14522
  "description": ""
14552
14523
  }
@@ -14554,63 +14525,54 @@
14554
14525
  "preview": null,
14555
14526
  "layoutHints": null
14556
14527
  },
14557
- "CreatorGridCard": {
14558
- "name": "CreatorGridCard",
14528
+ "CreatorWidget": {
14529
+ "name": "CreatorWidget",
14559
14530
  "type": "molecule",
14560
14531
  "isBuilderComponent": true,
14561
- "description": "CreatorGridCard\nA visually rich card for discovery grids.",
14532
+ "description": "",
14562
14533
  "props": {
14563
- "type": {
14564
- "type": "\"creator-grid-card\"",
14534
+ "sessionId": {
14535
+ "type": "string",
14565
14536
  "required": true,
14566
14537
  "description": ""
14567
14538
  },
14568
- "bannerSrc": {
14569
- "type": "string",
14539
+ "currentVersion": {
14540
+ "type": "number",
14570
14541
  "required": false,
14571
14542
  "description": ""
14572
14543
  },
14573
- "avatarSrc": {
14574
- "type": "string",
14544
+ "isAgentOutput": {
14545
+ "type": "boolean",
14575
14546
  "required": false,
14576
14547
  "description": ""
14577
14548
  },
14578
- "name": {
14579
- "type": "string",
14549
+ "fetchVersions": {
14550
+ "type": "(params: fetchversionsparams) => promise<creatorversiondata>",
14580
14551
  "required": true,
14581
14552
  "description": ""
14582
14553
  },
14583
- "handle": {
14584
- "type": "string",
14554
+ "fetchStatus": {
14555
+ "type": "(params: fetchstatusparams) => promise<{ status: statusdetails; }>",
14585
14556
  "required": true,
14586
14557
  "description": ""
14587
14558
  },
14588
- "metrics": {
14589
- "type": "enum",
14590
- "required": true,
14591
- "description": "",
14592
- "enums": [
14593
- "{ label: string; value: string",
14594
- "number; }[]"
14595
- ]
14596
- },
14597
- "platforms": {
14598
- "type": "string[]",
14599
- "required": true,
14559
+ "pollingConfig": {
14560
+ "type": "pollingconfig",
14561
+ "required": false,
14600
14562
  "description": ""
14601
14563
  },
14602
- "id": {
14603
- "type": "string",
14604
- "required": true,
14564
+ "onStatusChange": {
14565
+ "type": "(status: creatorwidgetstatus) => void",
14566
+ "required": false,
14605
14567
  "description": ""
14606
14568
  },
14607
- "className": {
14608
- "type": "string",
14569
+ "onAction": {
14570
+ "type": "(action: creatorwidgetaction) => void",
14609
14571
  "required": false,
14610
14572
  "description": ""
14611
14573
  },
14612
- "style": {
14613
- "type": "cssproperties",
14574
+ "className": {
14575
+ "type": "string",
14614
14576
  "required": false,
14615
14577
  "description": ""
14616
14578
  }
@@ -14618,44 +14580,41 @@
14618
14580
  "preview": null,
14619
14581
  "layoutHints": null
14620
14582
  },
14621
- "CreatorProfileSummary": {
14622
- "name": "CreatorProfileSummary",
14583
+ "GrowthChartCard": {
14584
+ "name": "GrowthChartCard",
14623
14585
  "type": "molecule",
14624
14586
  "isBuilderComponent": true,
14625
- "description": "CreatorProfileSummary\nA compact row showing avatar, name, and key metrics.",
14587
+ "description": "GrowthChartCard\nVisualizes time-series growth data for follower and engagement metrics.",
14626
14588
  "props": {
14627
14589
  "type": {
14628
- "type": "\"creator-profile-summary\"",
14590
+ "type": "\"growth-chart-card\"",
14629
14591
  "required": true,
14630
14592
  "description": ""
14631
14593
  },
14632
- "avatarSrc": {
14594
+ "title": {
14633
14595
  "type": "string",
14634
- "required": false,
14596
+ "required": true,
14635
14597
  "description": ""
14636
14598
  },
14637
- "name": {
14638
- "type": "string",
14599
+ "data": {
14600
+ "type": "any[]",
14639
14601
  "required": true,
14640
14602
  "description": ""
14641
14603
  },
14642
- "followerCount": {
14643
- "type": "enum",
14644
- "required": false,
14645
- "description": "",
14646
- "enums": [
14647
- "string",
14648
- "number"
14649
- ]
14604
+ "config": {
14605
+ "type": "record<string, { label: string; color: string; }>",
14606
+ "required": true,
14607
+ "description": ""
14650
14608
  },
14651
- "engagementRate": {
14652
- "type": "enum",
14653
- "required": false,
14654
- "description": "",
14655
- "enums": [
14656
- "string",
14657
- "number"
14658
- ]
14609
+ "metric": {
14610
+ "type": "string",
14611
+ "required": true,
14612
+ "description": ""
14613
+ },
14614
+ "period": {
14615
+ "type": "string",
14616
+ "required": true,
14617
+ "description": ""
14659
14618
  },
14660
14619
  "id": {
14661
14620
  "type": "string",
@@ -14676,43 +14635,288 @@
14676
14635
  "preview": null,
14677
14636
  "layoutHints": null
14678
14637
  },
14679
- "CreatorSearch": {
14680
- "name": "CreatorSearch",
14638
+ "MCQCard": {
14639
+ "name": "MCQCard",
14681
14640
  "type": "molecule",
14682
14641
  "isBuilderComponent": true,
14683
- "description": "CreatorSearch\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates creator search settings like platforms, range, geography, keywords, etc.\nDesigned to match the MCQCard theme with premium dark aesthetics.",
14642
+ "description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nStyled to match OptionsRenderer from creator-engine",
14684
14643
  "props": {
14685
- "selectionStatus": {
14686
- "type": "enum",
14644
+ "question": {
14645
+ "type": "string",
14646
+ "required": true,
14647
+ "description": "The question being asked"
14648
+ },
14649
+ "options": {
14650
+ "type": "record<string, string>",
14651
+ "required": true,
14652
+ "description": "The options to choose from"
14653
+ },
14654
+ "recommended": {
14655
+ "type": "string",
14687
14656
  "required": false,
14688
- "description": "Status of the selection",
14689
- "enums": [
14690
- "agent",
14691
- "user"
14692
- ]
14657
+ "description": "The key of the recommended option"
14658
+ },
14659
+ "selectedOption": {
14660
+ "type": "string",
14661
+ "required": false,
14662
+ "description": "The currently selected option key"
14663
+ },
14664
+ "onSelect": {
14665
+ "type": "(key: string) => void",
14666
+ "required": false,
14667
+ "description": "Triggered when an option is selected"
14668
+ },
14669
+ "onProceed": {
14670
+ "type": "(key: string) => void",
14671
+ "required": false,
14672
+ "description": "Triggered when the user clicks Continue"
14693
14673
  },
14694
14674
  "isLatestMessage": {
14695
14675
  "type": "boolean",
14696
14676
  "required": false,
14697
- "description": "Whether the message is the latest"
14677
+ "description": "Whether this message is the latest (controls interactivity)"
14698
14678
  },
14699
- "fields": {
14700
- "type": "fieldconfig[]",
14679
+ "isLoading": {
14680
+ "type": "boolean",
14701
14681
  "required": false,
14702
- "description": "Optional field configuration to override dynamic generation"
14682
+ "description": "Loading state during submission"
14703
14683
  },
14704
14684
  "className": {
14705
14685
  "type": "string",
14706
14686
  "required": false,
14707
- "description": "Custom className"
14687
+ "description": "Custom wrapper class name"
14708
14688
  },
14709
- "id": {
14710
- "type": "string",
14689
+ "selectionStatus": {
14690
+ "type": "enum",
14711
14691
  "required": false,
14712
- "description": "Unique identifier"
14692
+ "description": "Who made the final selection (used for historical view)",
14693
+ "enums": [
14694
+ "user",
14695
+ "agent"
14696
+ ]
14713
14697
  },
14714
- "title": {
14715
- "type": "string",
14698
+ "onAction": {
14699
+ "type": "(action: any) => void",
14700
+ "required": false,
14701
+ "description": "Optional action callback for external state management (e.g. PXEngine)"
14702
+ },
14703
+ "disabled": {
14704
+ "type": "boolean",
14705
+ "required": false,
14706
+ "description": "Whether the interaction is disabled externally"
14707
+ },
14708
+ "disableContinueInDiscovery": {
14709
+ "type": "boolean",
14710
+ "required": false,
14711
+ "description": ""
14712
+ }
14713
+ },
14714
+ "preview": null,
14715
+ "layoutHints": null
14716
+ },
14717
+ "PlatformIconGroup": {
14718
+ "name": "PlatformIconGroup",
14719
+ "type": "molecule",
14720
+ "isBuilderComponent": true,
14721
+ "description": "PlatformIconGroup\nDisplays a horizontal list of active social platform icons.",
14722
+ "props": {
14723
+ "type": {
14724
+ "type": "\"platform-icon-group\"",
14725
+ "required": true,
14726
+ "description": ""
14727
+ },
14728
+ "platforms": {
14729
+ "type": "enum",
14730
+ "required": true,
14731
+ "description": "",
14732
+ "enums": [
14733
+ "{ platform: instagram",
14734
+ "tiktok",
14735
+ "youtube",
14736
+ "twitter; url?: string; handle?: string; }[]"
14737
+ ]
14738
+ },
14739
+ "id": {
14740
+ "type": "string",
14741
+ "required": true,
14742
+ "description": ""
14743
+ },
14744
+ "className": {
14745
+ "type": "string",
14746
+ "required": false,
14747
+ "description": ""
14748
+ },
14749
+ "style": {
14750
+ "type": "cssproperties",
14751
+ "required": false,
14752
+ "description": ""
14753
+ }
14754
+ },
14755
+ "preview": null,
14756
+ "layoutHints": null
14757
+ },
14758
+ "CountrySelectEdit": {
14759
+ "name": "CountrySelectEdit",
14760
+ "type": "molecule",
14761
+ "isBuilderComponent": true,
14762
+ "description": "",
14763
+ "props": {
14764
+ "value": {
14765
+ "type": "any",
14766
+ "required": true,
14767
+ "description": ""
14768
+ },
14769
+ "onChange": {
14770
+ "type": "(value: any) => void",
14771
+ "required": true,
14772
+ "description": ""
14773
+ }
14774
+ },
14775
+ "preview": null,
14776
+ "layoutHints": null
14777
+ },
14778
+ "CountrySelectDisplay": {
14779
+ "name": "CountrySelectDisplay",
14780
+ "type": "molecule",
14781
+ "isBuilderComponent": true,
14782
+ "description": "",
14783
+ "props": {
14784
+ "value": {
14785
+ "type": "any",
14786
+ "required": true,
14787
+ "description": ""
14788
+ }
14789
+ },
14790
+ "preview": null,
14791
+ "layoutHints": null
14792
+ },
14793
+ "KeywordBundlesEdit": {
14794
+ "name": "KeywordBundlesEdit",
14795
+ "type": "molecule",
14796
+ "isBuilderComponent": true,
14797
+ "description": "",
14798
+ "props": {
14799
+ "value": {
14800
+ "type": "any",
14801
+ "required": true,
14802
+ "description": ""
14803
+ },
14804
+ "onChange": {
14805
+ "type": "(value: any) => void",
14806
+ "required": true,
14807
+ "description": ""
14808
+ }
14809
+ },
14810
+ "preview": null,
14811
+ "layoutHints": null
14812
+ },
14813
+ "KeywordBundlesDisplay": {
14814
+ "name": "KeywordBundlesDisplay",
14815
+ "type": "molecule",
14816
+ "isBuilderComponent": true,
14817
+ "description": "",
14818
+ "props": {
14819
+ "value": {
14820
+ "type": "any",
14821
+ "required": true,
14822
+ "description": ""
14823
+ }
14824
+ },
14825
+ "preview": null,
14826
+ "layoutHints": null
14827
+ },
14828
+ "PlatformSelectEdit": {
14829
+ "name": "PlatformSelectEdit",
14830
+ "type": "molecule",
14831
+ "isBuilderComponent": true,
14832
+ "description": "",
14833
+ "props": {
14834
+ "value": {
14835
+ "type": "any",
14836
+ "required": true,
14837
+ "description": ""
14838
+ },
14839
+ "onChange": {
14840
+ "type": "(value: any) => void",
14841
+ "required": true,
14842
+ "description": ""
14843
+ }
14844
+ },
14845
+ "preview": null,
14846
+ "layoutHints": null
14847
+ },
14848
+ "PlatformSelectDisplay": {
14849
+ "name": "PlatformSelectDisplay",
14850
+ "type": "molecule",
14851
+ "isBuilderComponent": true,
14852
+ "description": "",
14853
+ "props": {
14854
+ "value": {
14855
+ "type": "any",
14856
+ "required": true,
14857
+ "description": ""
14858
+ }
14859
+ },
14860
+ "preview": null,
14861
+ "layoutHints": null
14862
+ },
14863
+ "SearchSpecCard": {
14864
+ "name": "SearchSpecCard",
14865
+ "type": "molecule",
14866
+ "isBuilderComponent": true,
14867
+ "description": "SearchSpecCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates search settings like platforms, ranges, and custom keyword bundles.\nUses smart field generation with proper renderers for all nested data types.",
14868
+ "props": {
14869
+ "version": {
14870
+ "type": "number",
14871
+ "required": false,
14872
+ "description": "Version of the search specification"
14873
+ },
14874
+ "selectionStatus": {
14875
+ "type": "enum",
14876
+ "required": false,
14877
+ "description": "Status of the selection",
14878
+ "enums": [
14879
+ "user",
14880
+ "agent"
14881
+ ]
14882
+ },
14883
+ "isLatestMessage": {
14884
+ "type": "boolean",
14885
+ "required": false,
14886
+ "description": "Whether the message is the latest"
14887
+ },
14888
+ "hasUserResponded": {
14889
+ "type": "boolean",
14890
+ "required": false,
14891
+ "description": "Whether the user has already responded to this card"
14892
+ },
14893
+ "fields": {
14894
+ "type": "fieldconfig[]",
14895
+ "required": false,
14896
+ "description": "Optional field configuration to override dynamic generation"
14897
+ },
14898
+ "specData": {
14899
+ "type": "record<string, any>",
14900
+ "required": false,
14901
+ "description": "Alias for data — the agent schema uses specData as the prop name"
14902
+ },
14903
+ "onAction": {
14904
+ "type": "(action: any) => void",
14905
+ "required": false,
14906
+ "description": "Optional action handler"
14907
+ },
14908
+ "className": {
14909
+ "type": "string",
14910
+ "required": false,
14911
+ "description": "Custom className"
14912
+ },
14913
+ "id": {
14914
+ "type": "string",
14915
+ "required": false,
14916
+ "description": "Unique identifier"
14917
+ },
14918
+ "title": {
14919
+ "type": "string",
14716
14920
  "required": true,
14717
14921
  "description": "Title of the form card"
14718
14922
  },
@@ -14790,219 +14994,148 @@
14790
14994
  "preview": null,
14791
14995
  "layoutHints": null
14792
14996
  },
14793
- "CreatorCompactView": {
14794
- "name": "CreatorCompactView",
14997
+ "TopPostsGrid": {
14998
+ "name": "TopPostsGrid",
14795
14999
  "type": "molecule",
14796
15000
  "isBuilderComponent": true,
14797
- "description": "",
15001
+ "description": "TopPostsGrid\nDisplays a grid of the creator's best-performing content pieces.",
14798
15002
  "props": {
14799
- "versions": {
14800
- "type": "number[]",
15003
+ "type": {
15004
+ "type": "\"top-posts-grid\"",
14801
15005
  "required": true,
14802
15006
  "description": ""
14803
15007
  },
14804
- "selectedVersion": {
14805
- "type": "number",
14806
- "required": false,
14807
- "description": ""
14808
- },
14809
- "creatorImages": {
14810
- "type": "string[]",
15008
+ "posts": {
15009
+ "type": "{ thumbnail: string; url: string; engagement: string; likes: string; comments: string; date: string; }[]",
14811
15010
  "required": true,
14812
15011
  "description": ""
14813
15012
  },
14814
- "creatorLength": {
14815
- "type": "number",
15013
+ "id": {
15014
+ "type": "string",
14816
15015
  "required": true,
14817
15016
  "description": ""
14818
15017
  },
14819
- "isAgentOutput": {
14820
- "type": "boolean",
14821
- "required": true,
15018
+ "className": {
15019
+ "type": "string",
15020
+ "required": false,
14822
15021
  "description": ""
14823
15022
  },
14824
- "onVersionSelect": {
14825
- "type": "(versionno: number) => void",
14826
- "required": true,
14827
- "description": ""
14828
- },
14829
- "onViewCreators": {
14830
- "type": "() => void",
14831
- "required": true,
14832
- "description": ""
14833
- },
14834
- "versionStatus": {
14835
- "type": "enum",
14836
- "required": true,
14837
- "description": "",
14838
- "enums": [
14839
- "completed",
14840
- "checking",
14841
- "in-progress",
14842
- "complete",
14843
- "failed"
14844
- ]
14845
- },
14846
- "statusDetails": {
14847
- "type": "statusdetails",
14848
- "required": false,
14849
- "description": ""
14850
- },
14851
- "timeDisplay": {
14852
- "type": "string",
14853
- "required": true,
14854
- "description": ""
14855
- },
14856
- "isLoading": {
14857
- "type": "boolean",
14858
- "required": true,
15023
+ "style": {
15024
+ "type": "cssproperties",
15025
+ "required": false,
14859
15026
  "description": ""
14860
15027
  }
14861
15028
  },
14862
15029
  "preview": null,
14863
15030
  "layoutHints": null
14864
15031
  },
14865
- "CreatorImageList": {
14866
- "name": "CreatorImageList",
15032
+ "ActionButton": {
15033
+ "name": "ActionButton",
14867
15034
  "type": "molecule",
14868
15035
  "isBuilderComponent": true,
14869
- "description": "",
15036
+ "description": "ActionButton\n\nA powerful button molecule that supports:\n- Auto-countdown for agent workflows\n- Pause/Resume toggle\n- Loading and Disabled states\n- Custom themes",
14870
15037
  "props": {
14871
- "creatorImages": {
14872
- "type": "string[]",
14873
- "required": false,
14874
- "defaultValue": "[]",
14875
- "description": ""
14876
- },
14877
- "creatorLength": {
14878
- "type": "number",
15038
+ "id": {
15039
+ "type": "string",
14879
15040
  "required": false,
14880
- "defaultValue": "0",
14881
- "description": ""
15041
+ "description": "Unique identifier"
14882
15042
  },
14883
- "isAgentOutput": {
14884
- "type": "boolean",
15043
+ "label": {
15044
+ "type": "string",
14885
15045
  "required": true,
14886
- "description": ""
14887
- },
14888
- "initialCreatorsPercentage": {
14889
- "type": "number",
14890
- "required": false,
14891
- "description": ""
14892
- }
14893
- },
14894
- "preview": null,
14895
- "layoutHints": null
14896
- },
14897
- "CreatorProgressBar": {
14898
- "name": "CreatorProgressBar",
14899
- "type": "molecule",
14900
- "isBuilderComponent": true,
14901
- "description": "",
14902
- "props": {
14903
- "statusDetails": {
14904
- "type": "statusdetails",
14905
- "required": false,
14906
- "description": ""
15046
+ "description": "Main button label"
14907
15047
  },
14908
- "timeRemaining": {
15048
+ "secondaryLabel": {
14909
15049
  "type": "string",
14910
15050
  "required": false,
14911
- "description": ""
14912
- }
14913
- },
14914
- "preview": null,
14915
- "layoutHints": null
14916
- },
14917
- "CreatorWidget": {
14918
- "name": "CreatorWidget",
14919
- "type": "molecule",
14920
- "isBuilderComponent": true,
14921
- "description": "",
14922
- "props": {
14923
- "sessionId": {
14924
- "type": "string",
14925
- "required": true,
14926
- "description": ""
15051
+ "description": "Secondary label (e.g. for sub-actions or state changes)"
14927
15052
  },
14928
- "currentVersion": {
15053
+ "countdown": {
14929
15054
  "type": "number",
14930
15055
  "required": false,
14931
- "description": ""
15056
+ "description": "Countdown in seconds. If provided, the button will show a timer."
14932
15057
  },
14933
- "isAgentOutput": {
15058
+ "isPaused": {
14934
15059
  "type": "boolean",
14935
15060
  "required": false,
14936
- "description": ""
15061
+ "description": "Whether the auto-proceed is paused"
14937
15062
  },
14938
- "fetchVersions": {
14939
- "type": "(params: fetchversionsparams) => promise<creatorversiondata>",
14940
- "required": true,
14941
- "description": ""
15063
+ "onPause": {
15064
+ "type": "() => void",
15065
+ "required": false,
15066
+ "description": "Triggered when the user pauses/resumes the timer"
14942
15067
  },
14943
- "fetchStatus": {
14944
- "type": "(params: fetchstatusparams) => promise<{ status: statusdetails; }>",
15068
+ "onProceed": {
15069
+ "type": "() => void",
14945
15070
  "required": true,
14946
- "description": ""
15071
+ "description": "Triggered when the user clicks the button or timer expires"
14947
15072
  },
14948
- "pollingConfig": {
14949
- "type": "pollingconfig",
15073
+ "variant": {
15074
+ "type": "buttonvariant",
14950
15075
  "required": false,
14951
- "description": ""
15076
+ "description": "Button variant (from shadcn)"
14952
15077
  },
14953
- "onStatusChange": {
14954
- "type": "(status: creatorwidgetstatus) => void",
15078
+ "size": {
15079
+ "type": "buttonsize",
14955
15080
  "required": false,
14956
- "description": ""
15081
+ "description": "Button size (from shadcn)"
14957
15082
  },
14958
- "onAction": {
14959
- "type": "(action: creatorwidgetaction) => void",
15083
+ "disabled": {
15084
+ "type": "boolean",
14960
15085
  "required": false,
14961
- "description": ""
15086
+ "description": "Whether the button is disabled"
15087
+ },
15088
+ "isLoading": {
15089
+ "type": "boolean",
15090
+ "required": false,
15091
+ "description": "Loading state"
14962
15092
  },
14963
15093
  "className": {
14964
15094
  "type": "string",
14965
15095
  "required": false,
14966
- "description": ""
15096
+ "description": "Custom className"
15097
+ },
15098
+ "showCountdown": {
15099
+ "type": "boolean",
15100
+ "required": false,
15101
+ "description": "Whether to show the countdown visually"
14967
15102
  }
14968
15103
  },
14969
15104
  "preview": null,
14970
15105
  "layoutHints": null
14971
15106
  },
14972
- "GrowthChartCard": {
14973
- "name": "GrowthChartCard",
15107
+ "DataGrid": {
15108
+ "name": "DataGrid",
14974
15109
  "type": "molecule",
14975
15110
  "isBuilderComponent": true,
14976
- "description": "GrowthChartCard\nVisualizes time-series growth data for follower and engagement metrics.",
15111
+ "description": "DataGrid\nA premium table component with typed cells and responsive design.",
14977
15112
  "props": {
14978
15113
  "type": {
14979
- "type": "\"growth-chart-card\"",
15114
+ "type": "\"data-grid\"",
14980
15115
  "required": true,
14981
15116
  "description": ""
14982
15117
  },
14983
- "title": {
14984
- "type": "string",
15118
+ "columns": {
15119
+ "type": "enum",
14985
15120
  "required": true,
14986
- "description": ""
15121
+ "description": "",
15122
+ "enums": [
15123
+ "{ header: string; accessorKey: string; type?: number",
15124
+ "avatar",
15125
+ "badge",
15126
+ "date",
15127
+ "text; }[]"
15128
+ ]
14987
15129
  },
14988
15130
  "data": {
14989
15131
  "type": "any[]",
14990
15132
  "required": true,
14991
15133
  "description": ""
14992
15134
  },
14993
- "config": {
14994
- "type": "record<string, { label: string; color: string; }>",
14995
- "required": true,
14996
- "description": ""
14997
- },
14998
- "metric": {
14999
- "type": "string",
15000
- "required": true,
15001
- "description": ""
15002
- },
15003
- "period": {
15004
- "type": "string",
15005
- "required": true,
15135
+ "pageSize": {
15136
+ "type": "number",
15137
+ "required": false,
15138
+ "defaultValue": "10",
15006
15139
  "description": ""
15007
15140
  },
15008
15141
  "id": {
@@ -15024,381 +15157,147 @@
15024
15157
  "preview": null,
15025
15158
  "layoutHints": null
15026
15159
  },
15027
- "MCQCard": {
15028
- "name": "MCQCard",
15160
+ "EditableField": {
15161
+ "name": "EditableField",
15029
15162
  "type": "molecule",
15030
15163
  "isBuilderComponent": true,
15031
- "description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nStyled to match OptionsRenderer from creator-engine",
15164
+ "description": "EditableField\n\nA generic field that toggles between display and edit modes.\nStyled with purple labels and green \"Suggested by an Agent\" badge.",
15032
15165
  "props": {
15033
- "question": {
15166
+ "id": {
15167
+ "type": "string",
15168
+ "required": false,
15169
+ "description": "Unique identifier"
15170
+ },
15171
+ "label": {
15034
15172
  "type": "string",
15035
15173
  "required": true,
15036
- "description": "The question being asked"
15174
+ "description": "Field label"
15037
15175
  },
15038
- "options": {
15039
- "type": "record<string, string>",
15176
+ "value": {
15177
+ "type": "any",
15040
15178
  "required": true,
15041
- "description": "The options to choose from"
15179
+ "description": "Field value"
15042
15180
  },
15043
- "recommended": {
15044
- "type": "string",
15181
+ "type": {
15182
+ "type": "fieldtype",
15183
+ "required": true,
15184
+ "description": "Input type (text, textarea, number, slider, etc.)"
15185
+ },
15186
+ "isEditing": {
15187
+ "type": "boolean",
15045
15188
  "required": false,
15046
- "description": "The key of the recommended option"
15189
+ "description": "Current editing state"
15047
15190
  },
15048
- "selectedOption": {
15049
- "type": "string",
15191
+ "onEdit": {
15192
+ "type": "() => void",
15050
15193
  "required": false,
15051
- "description": "The currently selected option key"
15194
+ "description": "Triggered when the user wants to start editing"
15052
15195
  },
15053
- "onSelect": {
15054
- "type": "(key: string) => void",
15196
+ "onSave": {
15197
+ "type": "(newvalue: any) => void",
15055
15198
  "required": false,
15056
- "description": "Triggered when an option is selected"
15199
+ "description": "Triggered when the user saves the new value"
15057
15200
  },
15058
- "onProceed": {
15059
- "type": "(key: string) => void",
15201
+ "onCancel": {
15202
+ "type": "() => void",
15060
15203
  "required": false,
15061
- "description": "Triggered when the user clicks Continue"
15204
+ "description": "Triggered when the user cancels editing"
15062
15205
  },
15063
- "isLatestMessage": {
15206
+ "isSaving": {
15064
15207
  "type": "boolean",
15065
15208
  "required": false,
15066
- "description": "Whether this message is the latest (controls interactivity)"
15209
+ "description": "Loading state during save"
15067
15210
  },
15068
- "isLoading": {
15211
+ "isChanged": {
15069
15212
  "type": "boolean",
15070
15213
  "required": false,
15071
- "description": "Loading state during submission"
15214
+ "description": "Indicates if the value has been changed but not saved"
15215
+ },
15216
+ "config": {
15217
+ "type": "fieldconfig",
15218
+ "required": false,
15219
+ "description": "Configuration for the specific field type"
15072
15220
  },
15073
15221
  "className": {
15074
15222
  "type": "string",
15075
15223
  "required": false,
15076
- "description": "Custom wrapper class name"
15224
+ "description": "Custom className for the container"
15077
15225
  },
15078
- "selectionStatus": {
15079
- "type": "enum",
15226
+ "renderDisplay": {
15227
+ "type": "(value: any) => reactnode",
15080
15228
  "required": false,
15081
- "description": "Who made the final selection (used for historical view)",
15082
- "enums": [
15083
- "agent",
15084
- "user"
15085
- ]
15086
- },
15087
- "onAction": {
15088
- "type": "(action: any) => void",
15089
- "required": false,
15090
- "description": "Optional action callback for external state management (e.g. PXEngine)"
15091
- },
15092
- "disabled": {
15093
- "type": "boolean",
15094
- "required": false,
15095
- "description": "Whether the interaction is disabled externally"
15096
- },
15097
- "disableContinueInDiscovery": {
15098
- "type": "boolean",
15099
- "required": false,
15100
- "description": ""
15101
- }
15102
- },
15103
- "preview": null,
15104
- "layoutHints": null
15105
- },
15106
- "PlatformIconGroup": {
15107
- "name": "PlatformIconGroup",
15108
- "type": "molecule",
15109
- "isBuilderComponent": true,
15110
- "description": "PlatformIconGroup\nDisplays a horizontal list of active social platform icons.",
15111
- "props": {
15112
- "type": {
15113
- "type": "\"platform-icon-group\"",
15114
- "required": true,
15115
- "description": ""
15116
- },
15117
- "platforms": {
15118
- "type": "enum",
15119
- "required": true,
15120
- "description": "",
15121
- "enums": [
15122
- "{ platform: instagram",
15123
- "tiktok",
15124
- "youtube",
15125
- "twitter; url?: string; handle?: string; }[]"
15126
- ]
15127
- },
15128
- "id": {
15129
- "type": "string",
15130
- "required": true,
15131
- "description": ""
15132
- },
15133
- "className": {
15134
- "type": "string",
15135
- "required": false,
15136
- "description": ""
15137
- },
15138
- "style": {
15139
- "type": "cssproperties",
15140
- "required": false,
15141
- "description": ""
15142
- }
15143
- },
15144
- "preview": null,
15145
- "layoutHints": null
15146
- },
15147
- "CountrySelectEdit": {
15148
- "name": "CountrySelectEdit",
15149
- "type": "molecule",
15150
- "isBuilderComponent": true,
15151
- "description": "",
15152
- "props": {
15153
- "value": {
15154
- "type": "any",
15155
- "required": true,
15156
- "description": ""
15157
- },
15158
- "onChange": {
15159
- "type": "(value: any) => void",
15160
- "required": true,
15161
- "description": ""
15162
- }
15163
- },
15164
- "preview": null,
15165
- "layoutHints": null
15166
- },
15167
- "CountrySelectDisplay": {
15168
- "name": "CountrySelectDisplay",
15169
- "type": "molecule",
15170
- "isBuilderComponent": true,
15171
- "description": "",
15172
- "props": {
15173
- "value": {
15174
- "type": "any",
15175
- "required": true,
15176
- "description": ""
15177
- }
15178
- },
15179
- "preview": null,
15180
- "layoutHints": null
15181
- },
15182
- "KeywordBundlesEdit": {
15183
- "name": "KeywordBundlesEdit",
15184
- "type": "molecule",
15185
- "isBuilderComponent": true,
15186
- "description": "",
15187
- "props": {
15188
- "value": {
15189
- "type": "any",
15190
- "required": true,
15191
- "description": ""
15192
- },
15193
- "onChange": {
15194
- "type": "(value: any) => void",
15195
- "required": true,
15196
- "description": ""
15197
- }
15198
- },
15199
- "preview": null,
15200
- "layoutHints": null
15201
- },
15202
- "KeywordBundlesDisplay": {
15203
- "name": "KeywordBundlesDisplay",
15204
- "type": "molecule",
15205
- "isBuilderComponent": true,
15206
- "description": "",
15207
- "props": {
15208
- "value": {
15209
- "type": "any",
15210
- "required": true,
15211
- "description": ""
15212
- }
15213
- },
15214
- "preview": null,
15215
- "layoutHints": null
15216
- },
15217
- "PlatformSelectEdit": {
15218
- "name": "PlatformSelectEdit",
15219
- "type": "molecule",
15220
- "isBuilderComponent": true,
15221
- "description": "",
15222
- "props": {
15223
- "value": {
15224
- "type": "any",
15225
- "required": true,
15226
- "description": ""
15227
- },
15228
- "onChange": {
15229
- "type": "(value: any) => void",
15230
- "required": true,
15231
- "description": ""
15232
- }
15233
- },
15234
- "preview": null,
15235
- "layoutHints": null
15236
- },
15237
- "PlatformSelectDisplay": {
15238
- "name": "PlatformSelectDisplay",
15239
- "type": "molecule",
15240
- "isBuilderComponent": true,
15241
- "description": "",
15242
- "props": {
15243
- "value": {
15244
- "type": "any",
15245
- "required": true,
15246
- "description": ""
15247
- }
15248
- },
15249
- "preview": null,
15250
- "layoutHints": null
15251
- },
15252
- "SearchSpecCard": {
15253
- "name": "SearchSpecCard",
15254
- "type": "molecule",
15255
- "isBuilderComponent": true,
15256
- "description": "SearchSpecCard\n\nA domain-specific molecule for the Creator Discovery workflow.\nEncapsulates search settings like platforms, ranges, and custom keyword bundles.\nUses smart field generation with proper renderers for all nested data types.",
15257
- "props": {
15258
- "version": {
15259
- "type": "number",
15260
- "required": false,
15261
- "description": "Version of the search specification"
15229
+ "description": "Custom renderer for the display state"
15262
15230
  },
15263
- "selectionStatus": {
15264
- "type": "enum",
15231
+ "renderEdit": {
15232
+ "type": "(value: any, onchange: (v: any) => void) => reactnode",
15265
15233
  "required": false,
15266
- "description": "Status of the selection",
15267
- "enums": [
15268
- "agent",
15269
- "user"
15270
- ]
15234
+ "description": "Custom renderer for the edit state"
15271
15235
  },
15272
15236
  "isLatestMessage": {
15273
15237
  "type": "boolean",
15274
15238
  "required": false,
15275
- "description": "Whether the message is the latest"
15276
- },
15277
- "hasUserResponded": {
15278
- "type": "boolean",
15279
- "required": false,
15280
- "description": "Whether the user has already responded to this card"
15281
- },
15282
- "fields": {
15283
- "type": "fieldconfig[]",
15284
- "required": false,
15285
- "description": "Optional field configuration to override dynamic generation"
15286
- },
15287
- "specData": {
15288
- "type": "record<string, any>",
15289
- "required": false,
15290
- "description": "Alias for data — the agent schema uses specData as the prop name"
15291
- },
15292
- "onAction": {
15293
- "type": "(action: any) => void",
15294
- "required": false,
15295
- "description": "Optional action handler"
15296
- },
15297
- "className": {
15298
- "type": "string",
15299
- "required": false,
15300
- "description": "Custom className"
15301
- },
15302
- "id": {
15303
- "type": "string",
15304
- "required": false,
15305
- "description": "Unique identifier"
15306
- },
15307
- "title": {
15308
- "type": "string",
15309
- "required": true,
15310
- "description": "Title of the form card"
15311
- },
15312
- "data": {
15313
- "type": "record<string, any>",
15314
- "required": true,
15315
- "description": "Initial data for the form"
15316
- },
15317
- "editingFields": {
15318
- "type": "record<string, boolean>",
15319
- "required": false,
15320
- "description": "Current editing states for each field"
15321
- },
15322
- "changedFields": {
15323
- "type": "record<string, boolean>",
15324
- "required": false,
15325
- "description": "Fields that have been modified"
15326
- },
15327
- "savingFields": {
15328
- "type": "record<string, boolean>",
15329
- "required": false,
15330
- "description": "Fields currently being saved"
15331
- },
15332
- "onFieldEdit": {
15333
- "type": "(key: string) => void",
15334
- "required": false,
15335
- "description": "Triggered when a field starts editing"
15336
- },
15337
- "onFieldSave": {
15338
- "type": "(key: string, newvalue: any) => void",
15339
- "required": false,
15340
- "description": "Triggered when a field value is saved"
15341
- },
15342
- "onFieldCancel": {
15343
- "type": "(key: string) => void",
15344
- "required": false,
15345
- "description": "Triggered when a field edit is cancelled"
15239
+ "description": "Whether this is the latest message"
15346
15240
  },
15347
- "showTimeline": {
15241
+ "shouldStopPropagation": {
15348
15242
  "type": "boolean",
15349
15243
  "required": false,
15350
- "description": "Show a dotted timeline visual on the left"
15351
- },
15352
- "proceedLabel": {
15353
- "type": "string",
15354
- "required": false,
15355
- "description": "Label for the \"Proceed\" button"
15356
- },
15357
- "onProceed": {
15358
- "type": "() => void",
15359
- "required": false,
15360
- "description": "Proceed handler"
15361
- },
15362
- "footer": {
15363
- "type": "reactnode",
15364
- "required": false,
15365
- "description": "Footer content (optional)"
15244
+ "description": "Whether to stop event propagation when the edit icon is clicked.\nUseful to prevent parents (like cards) from collapsing."
15366
15245
  },
15367
- "hideTitle": {
15246
+ "showIndex": {
15368
15247
  "type": "boolean",
15369
15248
  "required": false,
15370
- "description": "Whether to hide the title"
15249
+ "description": "Whether to show the index number"
15371
15250
  },
15372
- "hideCopyButton": {
15373
- "type": "boolean",
15251
+ "index": {
15252
+ "type": "number",
15374
15253
  "required": false,
15375
- "description": "Whether to hide the copy button"
15254
+ "description": "Index of this field in the form"
15376
15255
  },
15377
- "shouldStopPropagation": {
15378
- "type": "boolean",
15256
+ "totalFields": {
15257
+ "type": "number",
15379
15258
  "required": false,
15380
- "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
15259
+ "description": "Total number of fields in the form"
15381
15260
  }
15382
15261
  },
15383
15262
  "preview": null,
15384
15263
  "layoutHints": null
15385
15264
  },
15386
- "TopPostsGrid": {
15387
- "name": "TopPostsGrid",
15265
+ "EmptyState": {
15266
+ "name": "EmptyState",
15388
15267
  "type": "molecule",
15389
15268
  "isBuilderComponent": true,
15390
- "description": "TopPostsGrid\nDisplays a grid of the creator's best-performing content pieces.",
15269
+ "description": "EmptyState\nA placeholder for empty lists or results.",
15391
15270
  "props": {
15392
15271
  "type": {
15393
- "type": "\"top-posts-grid\"",
15272
+ "type": "\"empty-state\"",
15394
15273
  "required": true,
15395
15274
  "description": ""
15396
15275
  },
15397
- "posts": {
15398
- "type": "{ thumbnail: string; url: string; engagement: string; likes: string; comments: string; date: string; }[]",
15276
+ "title": {
15277
+ "type": "string",
15278
+ "required": true,
15279
+ "description": ""
15280
+ },
15281
+ "description": {
15282
+ "type": "string",
15399
15283
  "required": true,
15400
15284
  "description": ""
15401
15285
  },
15286
+ "icon": {
15287
+ "type": "string",
15288
+ "required": false,
15289
+ "description": ""
15290
+ },
15291
+ "actionLabel": {
15292
+ "type": "string",
15293
+ "required": false,
15294
+ "description": ""
15295
+ },
15296
+ "action": {
15297
+ "type": "string",
15298
+ "required": false,
15299
+ "description": ""
15300
+ },
15402
15301
  "id": {
15403
15302
  "type": "string",
15404
15303
  "required": true,
@@ -15413,118 +15312,86 @@
15413
15312
  "type": "cssproperties",
15414
15313
  "required": false,
15415
15314
  "description": ""
15315
+ },
15316
+ "onAction": {
15317
+ "type": "(action: string) => void",
15318
+ "required": false,
15319
+ "description": ""
15416
15320
  }
15417
15321
  },
15418
15322
  "preview": null,
15419
15323
  "layoutHints": null
15420
15324
  },
15421
- "ActionButton": {
15422
- "name": "ActionButton",
15325
+ "FileUpload": {
15326
+ "name": "FileUpload",
15423
15327
  "type": "molecule",
15424
15328
  "isBuilderComponent": true,
15425
- "description": "ActionButton\n\nA powerful button molecule that supports:\n- Auto-countdown for agent workflows\n- Pause/Resume toggle\n- Loading and Disabled states\n- Custom themes",
15329
+ "description": "FileUpload\nDrag-and-drop file upload zone.",
15426
15330
  "props": {
15427
- "id": {
15428
- "type": "string",
15429
- "required": false,
15430
- "description": "Unique identifier"
15331
+ "type": {
15332
+ "type": "\"file-upload\"",
15333
+ "required": true,
15334
+ "description": ""
15431
15335
  },
15432
- "label": {
15336
+ "title": {
15433
15337
  "type": "string",
15434
15338
  "required": true,
15435
- "description": "Main button label"
15339
+ "description": ""
15436
15340
  },
15437
- "secondaryLabel": {
15341
+ "accept": {
15438
15342
  "type": "string",
15439
15343
  "required": false,
15440
- "description": "Secondary label (e.g. for sub-actions or state changes)"
15441
- },
15442
- "countdown": {
15443
- "type": "number",
15444
- "required": false,
15445
- "description": "Countdown in seconds. If provided, the button will show a timer."
15344
+ "description": ""
15446
15345
  },
15447
- "isPaused": {
15346
+ "multiple": {
15448
15347
  "type": "boolean",
15449
15348
  "required": false,
15450
- "description": "Whether the auto-proceed is paused"
15451
- },
15452
- "onPause": {
15453
- "type": "() => void",
15454
- "required": false,
15455
- "description": "Triggered when the user pauses/resumes the timer"
15349
+ "description": ""
15456
15350
  },
15457
- "onProceed": {
15458
- "type": "() => void",
15351
+ "id": {
15352
+ "type": "string",
15459
15353
  "required": true,
15460
- "description": "Triggered when the user clicks the button or timer expires"
15461
- },
15462
- "variant": {
15463
- "type": "buttonvariant",
15464
- "required": false,
15465
- "description": "Button variant (from shadcn)"
15466
- },
15467
- "size": {
15468
- "type": "buttonsize",
15469
- "required": false,
15470
- "description": "Button size (from shadcn)"
15471
- },
15472
- "disabled": {
15473
- "type": "boolean",
15474
- "required": false,
15475
- "description": "Whether the button is disabled"
15476
- },
15477
- "isLoading": {
15478
- "type": "boolean",
15479
- "required": false,
15480
- "description": "Loading state"
15354
+ "description": ""
15481
15355
  },
15482
15356
  "className": {
15483
15357
  "type": "string",
15484
15358
  "required": false,
15485
- "description": "Custom className"
15359
+ "description": ""
15486
15360
  },
15487
- "showCountdown": {
15488
- "type": "boolean",
15361
+ "style": {
15362
+ "type": "cssproperties",
15489
15363
  "required": false,
15490
- "description": "Whether to show the countdown visually"
15364
+ "description": ""
15365
+ },
15366
+ "onFilesSelected": {
15367
+ "type": "(files: file[]) => void",
15368
+ "required": false,
15369
+ "description": ""
15491
15370
  }
15492
15371
  },
15493
15372
  "preview": null,
15494
15373
  "layoutHints": null
15495
15374
  },
15496
- "DataGrid": {
15497
- "name": "DataGrid",
15375
+ "FilterBar": {
15376
+ "name": "FilterBar",
15498
15377
  "type": "molecule",
15499
15378
  "isBuilderComponent": true,
15500
- "description": "DataGrid\nA premium table component with typed cells and responsive design.",
15379
+ "description": "FilterBar\nA horizontal bar with active filter chips and search.",
15501
15380
  "props": {
15502
15381
  "type": {
15503
- "type": "\"data-grid\"",
15382
+ "type": "\"filter-bar\"",
15504
15383
  "required": true,
15505
15384
  "description": ""
15506
15385
  },
15507
- "columns": {
15508
- "type": "enum",
15509
- "required": true,
15510
- "description": "",
15511
- "enums": [
15512
- "{ header: string; accessorKey: string; type?: number",
15513
- "avatar",
15514
- "badge",
15515
- "date",
15516
- "text; }[]"
15517
- ]
15518
- },
15519
- "data": {
15520
- "type": "any[]",
15386
+ "filters": {
15387
+ "type": "{ label: string; value: string; active?: boolean; }[]",
15521
15388
  "required": true,
15522
15389
  "description": ""
15523
15390
  },
15524
- "pageSize": {
15525
- "type": "number",
15391
+ "showSearch": {
15392
+ "type": "boolean",
15526
15393
  "required": false,
15527
- "defaultValue": "10",
15394
+ "defaultValue": "true",
15528
15395
  "description": ""
15529
15396
  },
15530
15397
  "id": {
@@ -15541,152 +15408,225 @@
15541
15408
  "type": "cssproperties",
15542
15409
  "required": false,
15543
15410
  "description": ""
15411
+ },
15412
+ "onFilterToggle": {
15413
+ "type": "(val: string) => void",
15414
+ "required": false,
15415
+ "description": ""
15416
+ },
15417
+ "onSearch": {
15418
+ "type": "(val: string) => void",
15419
+ "required": false,
15420
+ "description": ""
15544
15421
  }
15545
15422
  },
15546
15423
  "preview": null,
15547
15424
  "layoutHints": null
15548
15425
  },
15549
- "EditableField": {
15550
- "name": "EditableField",
15426
+ "FormCard": {
15427
+ "name": "FormCard",
15551
15428
  "type": "molecule",
15552
15429
  "isBuilderComponent": true,
15553
- "description": "EditableField\n\nA generic field that toggles between display and edit modes.\nStyled with purple labels and green \"Suggested by an Agent\" badge.",
15430
+ "description": "FormCard\n\nHigh-level molecule that assembles multiple EditableFields\ninto a cohesive card unit.\nStyled with purple labels and green badges.",
15554
15431
  "props": {
15555
15432
  "id": {
15556
15433
  "type": "string",
15557
15434
  "required": false,
15558
15435
  "description": "Unique identifier"
15559
15436
  },
15560
- "label": {
15437
+ "title": {
15561
15438
  "type": "string",
15562
15439
  "required": true,
15563
- "description": "Field label"
15440
+ "description": "Title of the form card"
15564
15441
  },
15565
- "value": {
15566
- "type": "any",
15442
+ "fields": {
15443
+ "type": "fieldconfig[]",
15567
15444
  "required": true,
15568
- "description": "Field value"
15445
+ "description": "Map of fields to render"
15569
15446
  },
15570
- "type": {
15571
- "type": "fieldtype",
15447
+ "data": {
15448
+ "type": "record<string, any>",
15572
15449
  "required": true,
15573
- "description": "Input type (text, textarea, number, slider, etc.)"
15450
+ "description": "Initial data for the form"
15574
15451
  },
15575
- "isEditing": {
15576
- "type": "boolean",
15452
+ "editingFields": {
15453
+ "type": "record<string, boolean>",
15577
15454
  "required": false,
15578
- "description": "Current editing state"
15455
+ "description": "Current editing states for each field"
15579
15456
  },
15580
- "onEdit": {
15581
- "type": "() => void",
15457
+ "changedFields": {
15458
+ "type": "record<string, boolean>",
15582
15459
  "required": false,
15583
- "description": "Triggered when the user wants to start editing"
15460
+ "description": "Fields that have been modified"
15584
15461
  },
15585
- "onSave": {
15586
- "type": "(newvalue: any) => void",
15462
+ "savingFields": {
15463
+ "type": "record<string, boolean>",
15587
15464
  "required": false,
15588
- "description": "Triggered when the user saves the new value"
15465
+ "description": "Fields currently being saved"
15589
15466
  },
15590
- "onCancel": {
15591
- "type": "() => void",
15467
+ "onFieldEdit": {
15468
+ "type": "(key: string) => void",
15592
15469
  "required": false,
15593
- "description": "Triggered when the user cancels editing"
15470
+ "description": "Triggered when a field starts editing"
15594
15471
  },
15595
- "isSaving": {
15596
- "type": "boolean",
15472
+ "onFieldSave": {
15473
+ "type": "(key: string, newvalue: any) => void",
15597
15474
  "required": false,
15598
- "description": "Loading state during save"
15475
+ "description": "Triggered when a field value is saved"
15599
15476
  },
15600
- "isChanged": {
15477
+ "onFieldCancel": {
15478
+ "type": "(key: string) => void",
15479
+ "required": false,
15480
+ "description": "Triggered when a field edit is cancelled"
15481
+ },
15482
+ "showTimeline": {
15601
15483
  "type": "boolean",
15602
15484
  "required": false,
15603
- "description": "Indicates if the value has been changed but not saved"
15485
+ "description": "Show a dotted timeline visual on the left"
15604
15486
  },
15605
- "config": {
15606
- "type": "fieldconfig",
15487
+ "proceedLabel": {
15488
+ "type": "string",
15607
15489
  "required": false,
15608
- "description": "Configuration for the specific field type"
15490
+ "description": "Label for the \"Proceed\" button"
15491
+ },
15492
+ "onProceed": {
15493
+ "type": "() => void",
15494
+ "required": false,
15495
+ "description": "Proceed handler"
15609
15496
  },
15610
15497
  "className": {
15611
15498
  "type": "string",
15612
15499
  "required": false,
15613
- "description": "Custom className for the container"
15500
+ "description": "Custom className"
15614
15501
  },
15615
- "renderDisplay": {
15616
- "type": "(value: any) => reactnode",
15502
+ "footer": {
15503
+ "type": "reactnode",
15617
15504
  "required": false,
15618
- "description": "Custom renderer for the display state"
15505
+ "description": "Footer content (optional)"
15619
15506
  },
15620
- "renderEdit": {
15621
- "type": "(value: any, onchange: (v: any) => void) => reactnode",
15507
+ "hideTitle": {
15508
+ "type": "boolean",
15622
15509
  "required": false,
15623
- "description": "Custom renderer for the edit state"
15510
+ "description": "Whether to hide the title"
15511
+ },
15512
+ "hideCopyButton": {
15513
+ "type": "boolean",
15514
+ "required": false,
15515
+ "description": "Whether to hide the copy button"
15624
15516
  },
15625
15517
  "isLatestMessage": {
15626
15518
  "type": "boolean",
15627
15519
  "required": false,
15628
15520
  "description": "Whether this is the latest message"
15629
15521
  },
15630
- "shouldStopPropagation": {
15631
- "type": "boolean",
15522
+ "shouldStopPropagation": {
15523
+ "type": "boolean",
15524
+ "required": false,
15525
+ "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
15526
+ }
15527
+ },
15528
+ "preview": null,
15529
+ "layoutHints": null
15530
+ },
15531
+ "LoadingOverlay": {
15532
+ "name": "LoadingOverlay",
15533
+ "type": "molecule",
15534
+ "isBuilderComponent": true,
15535
+ "description": "LoadingOverlay\nA full-container overlay with a spinner and message.",
15536
+ "props": {
15537
+ "type": {
15538
+ "type": "\"loading-overlay\"",
15539
+ "required": true,
15540
+ "description": ""
15541
+ },
15542
+ "message": {
15543
+ "type": "string",
15632
15544
  "required": false,
15633
- "description": "Whether to stop event propagation when the edit icon is clicked.\nUseful to prevent parents (like cards) from collapsing."
15545
+ "defaultValue": "Loading...",
15546
+ "description": ""
15634
15547
  },
15635
- "showIndex": {
15636
- "type": "boolean",
15637
- "required": false,
15638
- "description": "Whether to show the index number"
15548
+ "id": {
15549
+ "type": "string",
15550
+ "required": true,
15551
+ "description": ""
15639
15552
  },
15640
- "index": {
15641
- "type": "number",
15553
+ "className": {
15554
+ "type": "string",
15642
15555
  "required": false,
15643
- "description": "Index of this field in the form"
15556
+ "description": ""
15644
15557
  },
15645
- "totalFields": {
15646
- "type": "number",
15558
+ "style": {
15559
+ "type": "cssproperties",
15647
15560
  "required": false,
15648
- "description": "Total number of fields in the form"
15561
+ "description": ""
15649
15562
  }
15650
15563
  },
15651
15564
  "preview": null,
15652
15565
  "layoutHints": null
15653
15566
  },
15654
- "EmptyState": {
15655
- "name": "EmptyState",
15567
+ "NotificationList": {
15568
+ "name": "NotificationList",
15656
15569
  "type": "molecule",
15657
15570
  "isBuilderComponent": true,
15658
- "description": "EmptyState\nA placeholder for empty lists or results.",
15571
+ "description": "NotificationList\nA list of actionable notifications and activity logs.",
15659
15572
  "props": {
15660
15573
  "type": {
15661
- "type": "\"empty-state\"",
15574
+ "type": "\"notification-list\"",
15662
15575
  "required": true,
15663
15576
  "description": ""
15664
15577
  },
15665
- "title": {
15666
- "type": "string",
15578
+ "notifications": {
15579
+ "type": "enum",
15667
15580
  "required": true,
15668
- "description": ""
15581
+ "description": "",
15582
+ "enums": [
15583
+ "{ id: string; title: string; description?: string; timestamp: string; type: warning",
15584
+ "info",
15585
+ "success",
15586
+ "error; read?: boolean; }[]"
15587
+ ]
15669
15588
  },
15670
- "description": {
15589
+ "id": {
15671
15590
  "type": "string",
15672
15591
  "required": true,
15673
15592
  "description": ""
15674
15593
  },
15675
- "icon": {
15594
+ "className": {
15676
15595
  "type": "string",
15677
15596
  "required": false,
15678
15597
  "description": ""
15679
15598
  },
15680
- "actionLabel": {
15681
- "type": "string",
15599
+ "style": {
15600
+ "type": "cssproperties",
15682
15601
  "required": false,
15683
15602
  "description": ""
15684
- },
15685
- "action": {
15686
- "type": "string",
15687
- "required": false,
15603
+ }
15604
+ },
15605
+ "preview": null,
15606
+ "layoutHints": null
15607
+ },
15608
+ "StatsGrid": {
15609
+ "name": "StatsGrid",
15610
+ "type": "molecule",
15611
+ "isBuilderComponent": true,
15612
+ "description": "StatsGrid\nA grid of statistical cards with icons and trends.",
15613
+ "props": {
15614
+ "type": {
15615
+ "type": "\"stats-grid\"",
15616
+ "required": true,
15688
15617
  "description": ""
15689
15618
  },
15619
+ "items": {
15620
+ "type": "enum",
15621
+ "required": true,
15622
+ "description": "",
15623
+ "enums": [
15624
+ "{ label: string; value: string",
15625
+ "number; trend?: string; trendDirection?: up",
15626
+ "down",
15627
+ "neutral; icon?: string; }[]"
15628
+ ]
15629
+ },
15690
15630
  "id": {
15691
15631
  "type": "string",
15692
15632
  "required": true,
@@ -15702,8 +15642,8 @@
15702
15642
  "required": false,
15703
15643
  "description": ""
15704
15644
  },
15705
- "onAction": {
15706
- "type": "(action: string) => void",
15645
+ "stats": {
15646
+ "type": "any[]",
15707
15647
  "required": false,
15708
15648
  "description": ""
15709
15649
  }
@@ -15711,30 +15651,25 @@
15711
15651
  "preview": null,
15712
15652
  "layoutHints": null
15713
15653
  },
15714
- "FileUpload": {
15715
- "name": "FileUpload",
15654
+ "StepWizard": {
15655
+ "name": "StepWizard",
15716
15656
  "type": "molecule",
15717
15657
  "isBuilderComponent": true,
15718
- "description": "FileUpload\nDrag-and-drop file upload zone.",
15658
+ "description": "StepWizard\nHorizontal step indicator for multi-part workflows.",
15719
15659
  "props": {
15720
15660
  "type": {
15721
- "type": "\"file-upload\"",
15661
+ "type": "\"step-wizard\"",
15722
15662
  "required": true,
15723
15663
  "description": ""
15724
15664
  },
15725
- "title": {
15726
- "type": "string",
15665
+ "steps": {
15666
+ "type": "{ title: string; description?: string; }[]",
15727
15667
  "required": true,
15728
15668
  "description": ""
15729
15669
  },
15730
- "accept": {
15731
- "type": "string",
15732
- "required": false,
15733
- "description": ""
15734
- },
15735
- "multiple": {
15736
- "type": "boolean",
15737
- "required": false,
15670
+ "currentStep": {
15671
+ "type": "number",
15672
+ "required": true,
15738
15673
  "description": ""
15739
15674
  },
15740
15675
  "id": {
@@ -15751,36 +15686,26 @@
15751
15686
  "type": "cssproperties",
15752
15687
  "required": false,
15753
15688
  "description": ""
15754
- },
15755
- "onFilesSelected": {
15756
- "type": "(files: file[]) => void",
15757
- "required": false,
15758
- "description": ""
15759
15689
  }
15760
15690
  },
15761
15691
  "preview": null,
15762
15692
  "layoutHints": null
15763
15693
  },
15764
- "FilterBar": {
15765
- "name": "FilterBar",
15694
+ "TagCloud": {
15695
+ "name": "TagCloud",
15766
15696
  "type": "molecule",
15767
15697
  "isBuilderComponent": true,
15768
- "description": "FilterBar\nA horizontal bar with active filter chips and search.",
15698
+ "description": "TagCloud\nA cluster of clickable tags.",
15769
15699
  "props": {
15770
15700
  "type": {
15771
- "type": "\"filter-bar\"",
15772
- "required": true,
15773
- "description": ""
15774
- },
15775
- "filters": {
15776
- "type": "{ label: string; value: string; active?: boolean; }[]",
15701
+ "type": "\"tag-cloud\"",
15777
15702
  "required": true,
15778
15703
  "description": ""
15779
15704
  },
15780
- "showSearch": {
15781
- "type": "boolean",
15705
+ "tags": {
15706
+ "type": "{ label: string; value: string; count?: number; }[]",
15782
15707
  "required": false,
15783
- "defaultValue": "true",
15708
+ "defaultValue": "[]",
15784
15709
  "description": ""
15785
15710
  },
15786
15711
  "id": {
@@ -15798,12 +15723,7 @@
15798
15723
  "required": false,
15799
15724
  "description": ""
15800
15725
  },
15801
- "onFilterToggle": {
15802
- "type": "(val: string) => void",
15803
- "required": false,
15804
- "description": ""
15805
- },
15806
- "onSearch": {
15726
+ "onTagClick": {
15807
15727
  "type": "(val: string) => void",
15808
15728
  "required": false,
15809
15729
  "description": ""
@@ -15812,126 +15732,127 @@
15812
15732
  "preview": null,
15813
15733
  "layoutHints": null
15814
15734
  },
15815
- "FormCard": {
15816
- "name": "FormCard",
15735
+ "AgentCard": {
15736
+ "name": "AgentCard",
15817
15737
  "type": "molecule",
15818
15738
  "isBuilderComponent": true,
15819
- "description": "FormCard\n\nHigh-level molecule that assembles multiple EditableFields\ninto a cohesive card unit.\nStyled with purple labels and green badges.",
15739
+ "description": "AgentCard\n\nDisplays an agent configuration with avatar, metadata, tools, and status.\nSupports inline editing when `editable` is true and `onSave` is provided.\nGeneric — the parent injects save logic via `onSave`, so it works in any context.",
15820
15740
  "props": {
15821
- "id": {
15822
- "type": "string",
15741
+ "onSave": {
15742
+ "type": "(agent: { name: string; display_name: string; description: string; image: string; tools: string[]; model: string; enabled: boolean; agent_id?: string; }, updates: record<string, any>) => promise<...>",
15823
15743
  "required": false,
15824
- "description": "Unique identifier"
15744
+ "description": ""
15825
15745
  },
15826
- "title": {
15746
+ "className": {
15827
15747
  "type": "string",
15828
- "required": true,
15829
- "description": "Title of the form card"
15830
- },
15831
- "fields": {
15832
- "type": "fieldconfig[]",
15833
- "required": true,
15834
- "description": "Map of fields to render"
15835
- },
15836
- "data": {
15837
- "type": "record<string, any>",
15838
- "required": true,
15839
- "description": "Initial data for the form"
15840
- },
15841
- "editingFields": {
15842
- "type": "record<string, boolean>",
15843
- "required": false,
15844
- "description": "Current editing states for each field"
15845
- },
15846
- "changedFields": {
15847
- "type": "record<string, boolean>",
15848
- "required": false,
15849
- "description": "Fields that have been modified"
15850
- },
15851
- "savingFields": {
15852
- "type": "record<string, boolean>",
15853
- "required": false,
15854
- "description": "Fields currently being saved"
15855
- },
15856
- "onFieldEdit": {
15857
- "type": "(key: string) => void",
15858
15748
  "required": false,
15859
- "description": "Triggered when a field starts editing"
15749
+ "description": ""
15860
15750
  },
15861
- "onFieldSave": {
15862
- "type": "(key: string, newvalue: any) => void",
15751
+ "style": {
15752
+ "type": "cssproperties",
15863
15753
  "required": false,
15864
- "description": "Triggered when a field value is saved"
15754
+ "description": ""
15865
15755
  },
15866
- "onFieldCancel": {
15867
- "type": "(key: string) => void",
15868
- "required": false,
15869
- "description": "Triggered when a field edit is cancelled"
15756
+ "agent": {
15757
+ "type": "{ name: string; display_name: string; description: string; image: string; tools: string[]; model: string; enabled: boolean; agent_id?: string; }",
15758
+ "required": true,
15759
+ "description": ""
15870
15760
  },
15871
- "showTimeline": {
15761
+ "editable": {
15872
15762
  "type": "boolean",
15873
15763
  "required": false,
15874
- "description": "Show a dotted timeline visual on the left"
15875
- },
15876
- "proceedLabel": {
15877
- "type": "string",
15878
- "required": false,
15879
- "description": "Label for the \"Proceed\" button"
15880
- },
15881
- "onProceed": {
15882
- "type": "() => void",
15883
- "required": false,
15884
- "description": "Proceed handler"
15764
+ "defaultValue": "true",
15765
+ "description": ""
15885
15766
  },
15886
- "className": {
15887
- "type": "string",
15767
+ "compact": {
15768
+ "type": "boolean",
15888
15769
  "required": false,
15889
- "description": "Custom className"
15770
+ "defaultValue": "false",
15771
+ "description": ""
15772
+ }
15773
+ },
15774
+ "preview": null,
15775
+ "layoutHints": null
15776
+ },
15777
+ "AgentDataTable": {
15778
+ "name": "AgentDataTable",
15779
+ "type": "molecule",
15780
+ "isBuilderComponent": true,
15781
+ "description": "AgentDataTable\n\nA clean table for displaying structured data from agent builder responses.\nRenders boolean values as colored indicators and handles overflow gracefully.",
15782
+ "props": {
15783
+ "type": {
15784
+ "type": "\"agent-data-table\"",
15785
+ "required": true,
15786
+ "description": ""
15890
15787
  },
15891
- "footer": {
15892
- "type": "reactnode",
15893
- "required": false,
15894
- "description": "Footer content (optional)"
15788
+ "headers": {
15789
+ "type": "string[]",
15790
+ "required": true,
15791
+ "description": ""
15895
15792
  },
15896
- "hideTitle": {
15897
- "type": "boolean",
15898
- "required": false,
15899
- "description": "Whether to hide the title"
15793
+ "rows": {
15794
+ "type": "enum",
15795
+ "required": true,
15796
+ "description": "",
15797
+ "enums": [
15798
+ "(string",
15799
+ "number",
15800
+ "boolean)[][]"
15801
+ ]
15900
15802
  },
15901
- "hideCopyButton": {
15902
- "type": "boolean",
15903
- "required": false,
15904
- "description": "Whether to hide the copy button"
15803
+ "id": {
15804
+ "type": "string",
15805
+ "required": true,
15806
+ "description": ""
15905
15807
  },
15906
- "isLatestMessage": {
15907
- "type": "boolean",
15808
+ "className": {
15809
+ "type": "string",
15908
15810
  "required": false,
15909
- "description": "Whether this is the latest message"
15811
+ "description": ""
15910
15812
  },
15911
- "shouldStopPropagation": {
15912
- "type": "boolean",
15813
+ "style": {
15814
+ "type": "cssproperties",
15913
15815
  "required": false,
15914
- "description": "Whether to stop event propagation when the edit icon is clicked in child fields."
15816
+ "description": ""
15915
15817
  }
15916
15818
  },
15917
15819
  "preview": null,
15918
15820
  "layoutHints": null
15919
15821
  },
15920
- "LoadingOverlay": {
15921
- "name": "LoadingOverlay",
15822
+ "InstructionPreview": {
15823
+ "name": "InstructionPreview",
15922
15824
  "type": "molecule",
15923
15825
  "isBuilderComponent": true,
15924
- "description": "LoadingOverlay\nA full-container overlay with a spinner and message.",
15826
+ "description": "InstructionPreview\n\nRenders a structured preview of an agent's instruction/prompt.\nShows agent name, description, collapsible instruction text,\nworkflow summary, and tool list.",
15925
15827
  "props": {
15926
15828
  "type": {
15927
- "type": "\"loading-overlay\"",
15829
+ "type": "\"instruction-preview\"",
15928
15830
  "required": true,
15929
15831
  "description": ""
15930
15832
  },
15931
- "message": {
15833
+ "agent_name": {
15834
+ "type": "string",
15835
+ "required": true,
15836
+ "description": ""
15837
+ },
15838
+ "description": {
15932
15839
  "type": "string",
15933
15840
  "required": false,
15934
- "defaultValue": "Loading...",
15841
+ "description": ""
15842
+ },
15843
+ "instruction": {
15844
+ "type": "string",
15845
+ "required": true,
15846
+ "description": ""
15847
+ },
15848
+ "workflow_summary": {
15849
+ "type": "string[]",
15850
+ "required": false,
15851
+ "description": ""
15852
+ },
15853
+ "tools": {
15854
+ "type": "string[]",
15855
+ "required": false,
15935
15856
  "description": ""
15936
15857
  },
15937
15858
  "id": {
@@ -15953,33 +15874,69 @@
15953
15874
  "preview": null,
15954
15875
  "layoutHints": null
15955
15876
  },
15956
- "NotificationList": {
15957
- "name": "NotificationList",
15877
+ "MultiAgentCard": {
15878
+ "name": "MultiAgentCard",
15958
15879
  "type": "molecule",
15959
15880
  "isBuilderComponent": true,
15960
- "description": "NotificationList\nA list of actionable notifications and activity logs.",
15881
+ "description": "MultiAgentCard\n\nDisplays a multi-agent workflow configuration: workflow name, description,\nstages as connected cards with tool/component counts, and status badge.",
15961
15882
  "props": {
15962
- "type": {
15963
- "type": "\"notification-list\"",
15883
+ "className": {
15884
+ "type": "string",
15885
+ "required": false,
15886
+ "description": ""
15887
+ },
15888
+ "name": {
15889
+ "type": "string",
15964
15890
  "required": true,
15965
15891
  "description": ""
15966
15892
  },
15967
- "notifications": {
15968
- "type": "enum",
15893
+ "style": {
15894
+ "type": "cssproperties",
15895
+ "required": false,
15896
+ "description": ""
15897
+ },
15898
+ "description": {
15899
+ "type": "string",
15969
15900
  "required": true,
15970
- "description": "",
15971
- "enums": [
15972
- "{ id: string; title: string; description?: string; timestamp: string; type: warning",
15973
- "info",
15974
- "success",
15975
- "error; read?: boolean; }[]"
15976
- ]
15901
+ "description": ""
15977
15902
  },
15978
- "id": {
15903
+ "display_name": {
15979
15904
  "type": "string",
15980
15905
  "required": true,
15981
15906
  "description": ""
15982
15907
  },
15908
+ "workflow_type": {
15909
+ "type": "\"multi_agent\"",
15910
+ "required": true,
15911
+ "description": ""
15912
+ },
15913
+ "stages": {
15914
+ "type": "{ name: string; agent_name: string; tools?: string[]; ui_components?: string[]; }[]",
15915
+ "required": false,
15916
+ "defaultValue": "[]",
15917
+ "description": ""
15918
+ },
15919
+ "enabled": {
15920
+ "type": "boolean",
15921
+ "required": false,
15922
+ "defaultValue": "true",
15923
+ "description": ""
15924
+ },
15925
+ "agent_id": {
15926
+ "type": "string",
15927
+ "required": false,
15928
+ "description": ""
15929
+ }
15930
+ },
15931
+ "preview": null,
15932
+ "layoutHints": null
15933
+ },
15934
+ "MultiAgentPlan": {
15935
+ "name": "MultiAgentPlan",
15936
+ "type": "molecule",
15937
+ "isBuilderComponent": true,
15938
+ "description": "MultiAgentPlan\n\nVisual plan preview showing proposed stages before the admin commits.\nDisplays stage names, descriptions, and proposed tools in a connected flow.",
15939
+ "props": {
15983
15940
  "className": {
15984
15941
  "type": "string",
15985
15942
  "required": false,
@@ -15989,36 +15946,31 @@
15989
15946
  "type": "cssproperties",
15990
15947
  "required": false,
15991
15948
  "description": ""
15949
+ },
15950
+ "stages": {
15951
+ "type": "{ name: string; description: string; proposed_tools?: string[]; }[]",
15952
+ "required": false,
15953
+ "defaultValue": "[]",
15954
+ "description": ""
15992
15955
  }
15993
15956
  },
15994
15957
  "preview": null,
15995
15958
  "layoutHints": null
15996
15959
  },
15997
- "StatsGrid": {
15998
- "name": "StatsGrid",
15960
+ "MultiAgentUISelector": {
15961
+ "name": "MultiAgentUISelector",
15999
15962
  "type": "molecule",
16000
15963
  "isBuilderComponent": true,
16001
- "description": "StatsGrid\nA grid of statistical cards with icons and trends.",
15964
+ "description": "",
16002
15965
  "props": {
16003
- "type": {
16004
- "type": "\"stats-grid\"",
16005
- "required": true,
15966
+ "onSelect": {
15967
+ "type": "(stageselections: record<string, string[]>) => void",
15968
+ "required": false,
16006
15969
  "description": ""
16007
15970
  },
16008
- "items": {
16009
- "type": "enum",
16010
- "required": true,
16011
- "description": "",
16012
- "enums": [
16013
- "{ label: string; value: string",
16014
- "number; trend?: string; trendDirection?: up",
16015
- "down",
16016
- "neutral; icon?: string; }[]"
16017
- ]
16018
- },
16019
- "id": {
16020
- "type": "string",
16021
- "required": true,
15971
+ "onPreview": {
15972
+ "type": "(componentname: string) => void",
15973
+ "required": false,
16022
15974
  "description": ""
16023
15975
  },
16024
15976
  "className": {
@@ -16026,38 +15978,76 @@
16026
15978
  "required": false,
16027
15979
  "description": ""
16028
15980
  },
15981
+ "isLatestMessage": {
15982
+ "type": "boolean",
15983
+ "required": false,
15984
+ "defaultValue": "true",
15985
+ "description": ""
15986
+ },
16029
15987
  "style": {
16030
15988
  "type": "cssproperties",
16031
15989
  "required": false,
16032
15990
  "description": ""
16033
15991
  },
16034
- "stats": {
16035
- "type": "any[]",
15992
+ "stages": {
15993
+ "type": "{ id: string; name: string; agent_name: string; recommended_components?: string[]; }[]",
15994
+ "required": false,
15995
+ "defaultValue": "[]",
15996
+ "description": ""
15997
+ },
15998
+ "components": {
15999
+ "type": "{ name: string; display_name: string; description: string; category: string; recommended?: boolean; }[]",
16036
16000
  "required": false,
16001
+ "defaultValue": "[]",
16037
16002
  "description": ""
16038
16003
  }
16039
16004
  },
16040
16005
  "preview": null,
16041
16006
  "layoutHints": null
16042
16007
  },
16043
- "StepWizard": {
16044
- "name": "StepWizard",
16008
+ "StageIndicator": {
16009
+ "name": "StageIndicator",
16045
16010
  "type": "molecule",
16046
16011
  "isBuilderComponent": true,
16047
- "description": "StepWizard\nHorizontal step indicator for multi-part workflows.",
16012
+ "description": "StageIndicator\n\nClient-side inline component showing active stage/agent name with a divider.\nDisplayed between messages when the responding agent changes in a multi-agent workflow.",
16048
16013
  "props": {
16049
- "type": {
16050
- "type": "\"step-wizard\"",
16014
+ "className": {
16015
+ "type": "string",
16016
+ "required": false,
16017
+ "description": ""
16018
+ },
16019
+ "style": {
16020
+ "type": "cssproperties",
16021
+ "required": false,
16022
+ "description": ""
16023
+ },
16024
+ "stage_name": {
16025
+ "type": "string",
16051
16026
  "required": true,
16052
16027
  "description": ""
16053
16028
  },
16054
- "steps": {
16055
- "type": "{ title: string; description?: string; }[]",
16029
+ "agent_name": {
16030
+ "type": "string",
16031
+ "required": true,
16032
+ "description": ""
16033
+ }
16034
+ },
16035
+ "preview": null,
16036
+ "layoutHints": null
16037
+ },
16038
+ "ToolListCard": {
16039
+ "name": "ToolListCard",
16040
+ "type": "molecule",
16041
+ "isBuilderComponent": true,
16042
+ "description": "ToolListCard\n\nRenders a grouped list of agent tools with icons and description.\nIcons are data-driven: each tool can specify an `icon` field (lucide name),\nfalling back to category-based icons, then a generic wrench.",
16043
+ "props": {
16044
+ "type": {
16045
+ "type": "\"tool-list\"",
16056
16046
  "required": true,
16057
16047
  "description": ""
16058
16048
  },
16059
- "currentStep": {
16060
- "type": "number",
16049
+ "tools": {
16050
+ "type": "{ name: string; display_name?: string; description?: string; category?: string; icon?: string; }[]",
16061
16051
  "required": true,
16062
16052
  "description": ""
16063
16053
  },
@@ -16080,21 +16070,40 @@
16080
16070
  "preview": null,
16081
16071
  "layoutHints": null
16082
16072
  },
16083
- "TagCloud": {
16084
- "name": "TagCloud",
16073
+ "UIComponentSelector": {
16074
+ "name": "UIComponentSelector",
16085
16075
  "type": "molecule",
16086
16076
  "isBuilderComponent": true,
16087
- "description": "TagCloud\nA cluster of clickable tags.",
16077
+ "description": "",
16078
+ "props": {
16079
+ "onSelect": {
16080
+ "type": "(selectedcomponents: string[]) => void",
16081
+ "required": false,
16082
+ "description": ""
16083
+ },
16084
+ "onPreview": {
16085
+ "type": "(componentname: string) => void",
16086
+ "required": false,
16087
+ "description": ""
16088
+ }
16089
+ },
16090
+ "preview": null,
16091
+ "layoutHints": null
16092
+ },
16093
+ "WorkflowVisualizer": {
16094
+ "name": "WorkflowVisualizer",
16095
+ "type": "molecule",
16096
+ "isBuilderComponent": true,
16097
+ "description": "WorkflowVisualizer\n\nRenders agent workflow steps as a vertical flow with connected cards.\nEach step shows sub-steps, tools used, and failure handling.",
16088
16098
  "props": {
16089
16099
  "type": {
16090
- "type": "\"tag-cloud\"",
16100
+ "type": "\"workflow\"",
16091
16101
  "required": true,
16092
16102
  "description": ""
16093
16103
  },
16094
- "tags": {
16095
- "type": "{ label: string; value: string; count?: number; }[]",
16096
- "required": false,
16097
- "defaultValue": "[]",
16104
+ "steps": {
16105
+ "type": "{ id: string; name: string; description?: string; tools?: string[]; sub_steps?: { id: string; action: string; }[]; on_failure?: string; next?: string; }[]",
16106
+ "required": true,
16098
16107
  "description": ""
16099
16108
  },
16100
16109
  "id": {
@@ -16111,11 +16120,6 @@
16111
16120
  "type": "cssproperties",
16112
16121
  "required": false,
16113
16122
  "description": ""
16114
- },
16115
- "onTagClick": {
16116
- "type": "(val: string) => void",
16117
- "required": false,
16118
- "description": ""
16119
16123
  }
16120
16124
  },
16121
16125
  "preview": null,