pxengine 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +782 -175
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +105 -4
- package/dist/index.d.ts +105 -4
- package/dist/index.mjs +775 -173
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +223 -17
- package/package.json +3 -3
package/dist/registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pxengine/ui",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"lastUpdated": "2026-
|
|
4
|
+
"lastUpdated": "2026-03-02T08:48:36.966Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"AccordionAtom": {
|
|
7
7
|
"name": "AccordionAtom",
|
|
@@ -13665,6 +13665,218 @@
|
|
|
13665
13665
|
"height": 225
|
|
13666
13666
|
}
|
|
13667
13667
|
},
|
|
13668
|
+
"AgentCard": {
|
|
13669
|
+
"name": "AgentCard",
|
|
13670
|
+
"type": "molecule",
|
|
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.",
|
|
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,
|
|
13677
|
+
"description": ""
|
|
13678
|
+
},
|
|
13679
|
+
"className": {
|
|
13680
|
+
"type": "string",
|
|
13681
|
+
"required": false,
|
|
13682
|
+
"description": ""
|
|
13683
|
+
},
|
|
13684
|
+
"style": {
|
|
13685
|
+
"type": "cssproperties",
|
|
13686
|
+
"required": false,
|
|
13687
|
+
"description": ""
|
|
13688
|
+
},
|
|
13689
|
+
"agent": {
|
|
13690
|
+
"type": "{ name: string; display_name: string; description: string; image: string; tools: string[]; model: string; enabled: boolean; agent_id?: string; }",
|
|
13691
|
+
"required": true,
|
|
13692
|
+
"description": ""
|
|
13693
|
+
},
|
|
13694
|
+
"editable": {
|
|
13695
|
+
"type": "boolean",
|
|
13696
|
+
"required": false,
|
|
13697
|
+
"defaultValue": "true",
|
|
13698
|
+
"description": ""
|
|
13699
|
+
},
|
|
13700
|
+
"compact": {
|
|
13701
|
+
"type": "boolean",
|
|
13702
|
+
"required": false,
|
|
13703
|
+
"defaultValue": "false",
|
|
13704
|
+
"description": ""
|
|
13705
|
+
}
|
|
13706
|
+
},
|
|
13707
|
+
"preview": null,
|
|
13708
|
+
"layoutHints": null
|
|
13709
|
+
},
|
|
13710
|
+
"AgentDataTable": {
|
|
13711
|
+
"name": "AgentDataTable",
|
|
13712
|
+
"type": "molecule",
|
|
13713
|
+
"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.",
|
|
13715
|
+
"props": {
|
|
13716
|
+
"type": {
|
|
13717
|
+
"type": "\"agent-data-table\"",
|
|
13718
|
+
"required": true,
|
|
13719
|
+
"description": ""
|
|
13720
|
+
},
|
|
13721
|
+
"headers": {
|
|
13722
|
+
"type": "string[]",
|
|
13723
|
+
"required": true,
|
|
13724
|
+
"description": ""
|
|
13725
|
+
},
|
|
13726
|
+
"rows": {
|
|
13727
|
+
"type": "enum",
|
|
13728
|
+
"required": true,
|
|
13729
|
+
"description": "",
|
|
13730
|
+
"enums": [
|
|
13731
|
+
"(string",
|
|
13732
|
+
"number",
|
|
13733
|
+
"boolean)[][]"
|
|
13734
|
+
]
|
|
13735
|
+
},
|
|
13736
|
+
"id": {
|
|
13737
|
+
"type": "string",
|
|
13738
|
+
"required": true,
|
|
13739
|
+
"description": ""
|
|
13740
|
+
},
|
|
13741
|
+
"className": {
|
|
13742
|
+
"type": "string",
|
|
13743
|
+
"required": false,
|
|
13744
|
+
"description": ""
|
|
13745
|
+
},
|
|
13746
|
+
"style": {
|
|
13747
|
+
"type": "cssproperties",
|
|
13748
|
+
"required": false,
|
|
13749
|
+
"description": ""
|
|
13750
|
+
}
|
|
13751
|
+
},
|
|
13752
|
+
"preview": null,
|
|
13753
|
+
"layoutHints": null
|
|
13754
|
+
},
|
|
13755
|
+
"InstructionPreview": {
|
|
13756
|
+
"name": "InstructionPreview",
|
|
13757
|
+
"type": "molecule",
|
|
13758
|
+
"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.",
|
|
13760
|
+
"props": {
|
|
13761
|
+
"type": {
|
|
13762
|
+
"type": "\"instruction-preview\"",
|
|
13763
|
+
"required": true,
|
|
13764
|
+
"description": ""
|
|
13765
|
+
},
|
|
13766
|
+
"agent_name": {
|
|
13767
|
+
"type": "string",
|
|
13768
|
+
"required": true,
|
|
13769
|
+
"description": ""
|
|
13770
|
+
},
|
|
13771
|
+
"description": {
|
|
13772
|
+
"type": "string",
|
|
13773
|
+
"required": false,
|
|
13774
|
+
"description": ""
|
|
13775
|
+
},
|
|
13776
|
+
"instruction": {
|
|
13777
|
+
"type": "string",
|
|
13778
|
+
"required": true,
|
|
13779
|
+
"description": ""
|
|
13780
|
+
},
|
|
13781
|
+
"workflow_summary": {
|
|
13782
|
+
"type": "string[]",
|
|
13783
|
+
"required": false,
|
|
13784
|
+
"description": ""
|
|
13785
|
+
},
|
|
13786
|
+
"tools": {
|
|
13787
|
+
"type": "string[]",
|
|
13788
|
+
"required": false,
|
|
13789
|
+
"description": ""
|
|
13790
|
+
},
|
|
13791
|
+
"id": {
|
|
13792
|
+
"type": "string",
|
|
13793
|
+
"required": true,
|
|
13794
|
+
"description": ""
|
|
13795
|
+
},
|
|
13796
|
+
"className": {
|
|
13797
|
+
"type": "string",
|
|
13798
|
+
"required": false,
|
|
13799
|
+
"description": ""
|
|
13800
|
+
},
|
|
13801
|
+
"style": {
|
|
13802
|
+
"type": "cssproperties",
|
|
13803
|
+
"required": false,
|
|
13804
|
+
"description": ""
|
|
13805
|
+
}
|
|
13806
|
+
},
|
|
13807
|
+
"preview": null,
|
|
13808
|
+
"layoutHints": null
|
|
13809
|
+
},
|
|
13810
|
+
"ToolListCard": {
|
|
13811
|
+
"name": "ToolListCard",
|
|
13812
|
+
"type": "molecule",
|
|
13813
|
+
"isBuilderComponent": true,
|
|
13814
|
+
"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.",
|
|
13815
|
+
"props": {
|
|
13816
|
+
"type": {
|
|
13817
|
+
"type": "\"tool-list\"",
|
|
13818
|
+
"required": true,
|
|
13819
|
+
"description": ""
|
|
13820
|
+
},
|
|
13821
|
+
"tools": {
|
|
13822
|
+
"type": "{ name: string; display_name?: string; description?: string; category?: string; icon?: string; }[]",
|
|
13823
|
+
"required": true,
|
|
13824
|
+
"description": ""
|
|
13825
|
+
},
|
|
13826
|
+
"id": {
|
|
13827
|
+
"type": "string",
|
|
13828
|
+
"required": true,
|
|
13829
|
+
"description": ""
|
|
13830
|
+
},
|
|
13831
|
+
"className": {
|
|
13832
|
+
"type": "string",
|
|
13833
|
+
"required": false,
|
|
13834
|
+
"description": ""
|
|
13835
|
+
},
|
|
13836
|
+
"style": {
|
|
13837
|
+
"type": "cssproperties",
|
|
13838
|
+
"required": false,
|
|
13839
|
+
"description": ""
|
|
13840
|
+
}
|
|
13841
|
+
},
|
|
13842
|
+
"preview": null,
|
|
13843
|
+
"layoutHints": null
|
|
13844
|
+
},
|
|
13845
|
+
"WorkflowVisualizer": {
|
|
13846
|
+
"name": "WorkflowVisualizer",
|
|
13847
|
+
"type": "molecule",
|
|
13848
|
+
"isBuilderComponent": true,
|
|
13849
|
+
"description": "WorkflowVisualizer\n\nRenders agent workflow steps as a vertical flow with connected cards.\nEach step shows sub-steps, tools used, and failure handling.",
|
|
13850
|
+
"props": {
|
|
13851
|
+
"type": {
|
|
13852
|
+
"type": "\"workflow\"",
|
|
13853
|
+
"required": true,
|
|
13854
|
+
"description": ""
|
|
13855
|
+
},
|
|
13856
|
+
"steps": {
|
|
13857
|
+
"type": "{ id: string; name: string; description?: string; tools?: string[]; sub_steps?: { id: string; action: string; }[]; on_failure?: string; next?: string; }[]",
|
|
13858
|
+
"required": true,
|
|
13859
|
+
"description": ""
|
|
13860
|
+
},
|
|
13861
|
+
"id": {
|
|
13862
|
+
"type": "string",
|
|
13863
|
+
"required": true,
|
|
13864
|
+
"description": ""
|
|
13865
|
+
},
|
|
13866
|
+
"className": {
|
|
13867
|
+
"type": "string",
|
|
13868
|
+
"required": false,
|
|
13869
|
+
"description": ""
|
|
13870
|
+
},
|
|
13871
|
+
"style": {
|
|
13872
|
+
"type": "cssproperties",
|
|
13873
|
+
"required": false,
|
|
13874
|
+
"description": ""
|
|
13875
|
+
}
|
|
13876
|
+
},
|
|
13877
|
+
"preview": null,
|
|
13878
|
+
"layoutHints": null
|
|
13879
|
+
},
|
|
13668
13880
|
"AudienceDemographicsCard": {
|
|
13669
13881
|
"name": "AudienceDemographicsCard",
|
|
13670
13882
|
"type": "molecule",
|
|
@@ -13845,8 +14057,8 @@
|
|
|
13845
14057
|
"required": false,
|
|
13846
14058
|
"description": "Selection status for the footer",
|
|
13847
14059
|
"enums": [
|
|
13848
|
-
"
|
|
13849
|
-
"
|
|
14060
|
+
"agent",
|
|
14061
|
+
"user"
|
|
13850
14062
|
]
|
|
13851
14063
|
},
|
|
13852
14064
|
"isLatestMessage": {
|
|
@@ -13954,8 +14166,8 @@
|
|
|
13954
14166
|
"required": false,
|
|
13955
14167
|
"description": "Status of the selection (done by user or agent)",
|
|
13956
14168
|
"enums": [
|
|
13957
|
-
"
|
|
13958
|
-
"
|
|
14169
|
+
"agent",
|
|
14170
|
+
"user"
|
|
13959
14171
|
]
|
|
13960
14172
|
},
|
|
13961
14173
|
"isLatestMessage": {
|
|
@@ -14294,8 +14506,8 @@
|
|
|
14294
14506
|
"required": false,
|
|
14295
14507
|
"description": "Status of the selection",
|
|
14296
14508
|
"enums": [
|
|
14297
|
-
"
|
|
14298
|
-
"
|
|
14509
|
+
"agent",
|
|
14510
|
+
"user"
|
|
14299
14511
|
]
|
|
14300
14512
|
},
|
|
14301
14513
|
"isLatestMessage": {
|
|
@@ -14508,8 +14720,8 @@
|
|
|
14508
14720
|
"required": false,
|
|
14509
14721
|
"description": "Who made the final selection (used for historical view)",
|
|
14510
14722
|
"enums": [
|
|
14511
|
-
"
|
|
14512
|
-
"
|
|
14723
|
+
"agent",
|
|
14724
|
+
"user"
|
|
14513
14725
|
]
|
|
14514
14726
|
},
|
|
14515
14727
|
"onAction": {
|
|
@@ -14657,12 +14869,6 @@
|
|
|
14657
14869
|
"type": "(value: any) => void",
|
|
14658
14870
|
"required": true,
|
|
14659
14871
|
"description": ""
|
|
14660
|
-
},
|
|
14661
|
-
"config": {
|
|
14662
|
-
"type": "any",
|
|
14663
|
-
"required": false,
|
|
14664
|
-
"defaultValue": "{}",
|
|
14665
|
-
"description": ""
|
|
14666
14872
|
}
|
|
14667
14873
|
},
|
|
14668
14874
|
"preview": null,
|
|
@@ -14699,8 +14905,8 @@
|
|
|
14699
14905
|
"required": false,
|
|
14700
14906
|
"description": "Status of the selection",
|
|
14701
14907
|
"enums": [
|
|
14702
|
-
"
|
|
14703
|
-
"
|
|
14908
|
+
"agent",
|
|
14909
|
+
"user"
|
|
14704
14910
|
]
|
|
14705
14911
|
},
|
|
14706
14912
|
"isLatestMessage": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxengine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shadcn-based UI component library for agent-driven interfaces",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"author": "PXEngine Team",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@types/react": "^19.0.2",
|
|
40
|
-
"@types/react-dom": "^19.0.2",
|
|
41
39
|
"react": "^18.0.0 || ^19.0.0",
|
|
42
40
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
43
41
|
"tailwindcss": "^3.4.0"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
44
|
+
"@types/react": "^19.0.2",
|
|
45
|
+
"@types/react-dom": "^19.0.2",
|
|
46
46
|
"@types/node": "^20.19.30",
|
|
47
47
|
"autoprefixer": "^10.4.23",
|
|
48
48
|
"eslint": "^8.0.0",
|