@compose-market/theme 0.0.3 → 0.0.4
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/css/index.css +1 -0
- package/dist/css/index.d.ts +1 -1
- package/dist/css/index.d.ts.map +1 -1
- package/dist/css/index.js +1 -0
- package/dist/css/index.js.map +1 -1
- package/dist/css/shell.css +414 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/shell/index.d.ts +67 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +45 -0
- package/dist/shell/index.js.map +1 -0
- package/dist/shell/styles.d.ts +2 -0
- package/dist/shell/styles.d.ts.map +1 -0
- package/dist/shell/styles.js +416 -0
- package/dist/shell/styles.js.map +1 -0
- package/package.json +13 -2
- package/dist/components/RFAComponent.d.ts +0 -10
- package/dist/components/RFAComponent.d.ts.map +0 -1
- package/dist/components/RFAComponent.js +0 -288
- package/dist/components/RFAComponent.js.map +0 -1
- package/dist/components/RFADetails.d.ts +0 -9
- package/dist/components/RFADetails.d.ts.map +0 -1
- package/dist/components/RFADetails.js +0 -407
- package/dist/components/RFADetails.js.map +0 -1
- package/dist/components/agent-card.d.ts +0 -8
- package/dist/components/agent-card.d.ts.map +0 -1
- package/dist/components/agent-card.js +0 -216
- package/dist/components/agent-card.js.map +0 -1
- package/dist/components/backpack.d.ts +0 -21
- package/dist/components/backpack.d.ts.map +0 -1
- package/dist/components/backpack.js +0 -905
- package/dist/components/backpack.js.map +0 -1
- package/dist/components/blur.d.ts +0 -9
- package/dist/components/blur.d.ts.map +0 -1
- package/dist/components/blur.js +0 -60
- package/dist/components/blur.js.map +0 -1
- package/dist/components/brand/Logo.d.ts +0 -25
- package/dist/components/brand/Logo.d.ts.map +0 -1
- package/dist/components/brand/Logo.js +0 -53
- package/dist/components/brand/Logo.js.map +0 -1
- package/dist/components/brand/index.d.ts +0 -2
- package/dist/components/brand/index.d.ts.map +0 -1
- package/dist/components/brand/index.js +0 -2
- package/dist/components/brand/index.js.map +0 -1
- package/dist/components/chat.d.ts +0 -68
- package/dist/components/chat.d.ts.map +0 -1
- package/dist/components/chat.js +0 -618
- package/dist/components/chat.js.map +0 -1
- package/dist/components/compose/index.d.ts +0 -10
- package/dist/components/compose/index.d.ts.map +0 -1
- package/dist/components/compose/index.js +0 -13
- package/dist/components/compose/index.js.map +0 -1
- package/dist/components/compose/nodes/agent-node.d.ts +0 -11
- package/dist/components/compose/nodes/agent-node.d.ts.map +0 -1
- package/dist/components/compose/nodes/agent-node.js +0 -101
- package/dist/components/compose/nodes/agent-node.js.map +0 -1
- package/dist/components/compose/nodes/hook-node.d.ts +0 -11
- package/dist/components/compose/nodes/hook-node.d.ts.map +0 -1
- package/dist/components/compose/nodes/hook-node.js +0 -100
- package/dist/components/compose/nodes/hook-node.js.map +0 -1
- package/dist/components/compose/nodes/index.d.ts +0 -60
- package/dist/components/compose/nodes/index.d.ts.map +0 -1
- package/dist/components/compose/nodes/index.js +0 -22
- package/dist/components/compose/nodes/index.js.map +0 -1
- package/dist/components/compose/nodes/step-node.d.ts +0 -11
- package/dist/components/compose/nodes/step-node.d.ts.map +0 -1
- package/dist/components/compose/nodes/step-node.js +0 -88
- package/dist/components/compose/nodes/step-node.js.map +0 -1
- package/dist/components/compose/nodes/trigger-node.d.ts +0 -11
- package/dist/components/compose/nodes/trigger-node.d.ts.map +0 -1
- package/dist/components/compose/nodes/trigger-node.js +0 -92
- package/dist/components/compose/nodes/trigger-node.js.map +0 -1
- package/dist/components/compose/overlay.d.ts +0 -26
- package/dist/components/compose/overlay.d.ts.map +0 -1
- package/dist/components/compose/overlay.js +0 -48
- package/dist/components/compose/overlay.js.map +0 -1
- package/dist/components/compose/pickers/agents-picker.d.ts +0 -18
- package/dist/components/compose/pickers/agents-picker.d.ts.map +0 -1
- package/dist/components/compose/pickers/agents-picker.js +0 -180
- package/dist/components/compose/pickers/agents-picker.js.map +0 -1
- package/dist/components/compose/pickers/connector-detail.d.ts +0 -16
- package/dist/components/compose/pickers/connector-detail.d.ts.map +0 -1
- package/dist/components/compose/pickers/connector-detail.js +0 -236
- package/dist/components/compose/pickers/connector-detail.js.map +0 -1
- package/dist/components/compose/pickers/connector-picker.d.ts +0 -13
- package/dist/components/compose/pickers/connector-picker.d.ts.map +0 -1
- package/dist/components/compose/pickers/connector-picker.js +0 -101
- package/dist/components/compose/pickers/connector-picker.js.map +0 -1
- package/dist/components/compose/pickers/index.d.ts +0 -10
- package/dist/components/compose/pickers/index.d.ts.map +0 -1
- package/dist/components/compose/pickers/index.js +0 -10
- package/dist/components/compose/pickers/index.js.map +0 -1
- package/dist/components/compose/pickers/trigger-picker.d.ts +0 -13
- package/dist/components/compose/pickers/trigger-picker.d.ts.map +0 -1
- package/dist/components/compose/pickers/trigger-picker.js +0 -110
- package/dist/components/compose/pickers/trigger-picker.js.map +0 -1
- package/dist/components/compose/toolbox.d.ts +0 -24
- package/dist/components/compose/toolbox.d.ts.map +0 -1
- package/dist/components/compose/toolbox.js +0 -183
- package/dist/components/compose/toolbox.js.map +0 -1
- package/dist/components/connector.d.ts +0 -24
- package/dist/components/connector.d.ts.map +0 -1
- package/dist/components/connector.js +0 -263
- package/dist/components/connector.js.map +0 -1
- package/dist/components/dispenser.d.ts +0 -15
- package/dist/components/dispenser.d.ts.map +0 -1
- package/dist/components/dispenser.js +0 -323
- package/dist/components/dispenser.js.map +0 -1
- package/dist/components/layout/AppLayout.d.ts +0 -60
- package/dist/components/layout/AppLayout.d.ts.map +0 -1
- package/dist/components/layout/AppLayout.js +0 -265
- package/dist/components/layout/AppLayout.js.map +0 -1
- package/dist/components/layout/Layout.d.ts +0 -6
- package/dist/components/layout/Layout.d.ts.map +0 -1
- package/dist/components/layout/Layout.js +0 -186
- package/dist/components/layout/Layout.js.map +0 -1
- package/dist/components/layout/Sidebar.d.ts +0 -3
- package/dist/components/layout/Sidebar.d.ts.map +0 -1
- package/dist/components/layout/Sidebar.js +0 -160
- package/dist/components/layout/Sidebar.js.map +0 -1
- package/dist/components/layout/TopBar.d.ts +0 -6
- package/dist/components/layout/TopBar.d.ts.map +0 -1
- package/dist/components/layout/TopBar.js +0 -36
- package/dist/components/layout/TopBar.js.map +0 -1
- package/dist/components/layout/index.d.ts +0 -2
- package/dist/components/layout/index.d.ts.map +0 -1
- package/dist/components/layout/index.js +0 -2
- package/dist/components/layout/index.js.map +0 -1
- package/dist/components/lyria-player.d.ts +0 -23
- package/dist/components/lyria-player.d.ts.map +0 -1
- package/dist/components/lyria-player.js +0 -241
- package/dist/components/lyria-player.js.map +0 -1
- package/dist/components/manowar-card.d.ts +0 -8
- package/dist/components/manowar-card.d.ts.map +0 -1
- package/dist/components/manowar-card.js +0 -349
- package/dist/components/manowar-card.js.map +0 -1
- package/dist/components/mirror-pane.d.ts +0 -55
- package/dist/components/mirror-pane.d.ts.map +0 -1
- package/dist/components/mirror-pane.js +0 -330
- package/dist/components/mirror-pane.js.map +0 -1
- package/dist/components/model-selector.d.ts +0 -12
- package/dist/components/model-selector.d.ts.map +0 -1
- package/dist/components/model-selector.js +0 -148
- package/dist/components/model-selector.js.map +0 -1
- package/dist/components/output.d.ts +0 -26
- package/dist/components/output.d.ts.map +0 -1
- package/dist/components/output.js +0 -259
- package/dist/components/output.js.map +0 -1
- package/dist/components/partners.d.ts +0 -13
- package/dist/components/partners.d.ts.map +0 -1
- package/dist/components/partners.js +0 -210
- package/dist/components/partners.js.map +0 -1
- package/dist/components/plugin-tester.d.ts +0 -13
- package/dist/components/plugin-tester.d.ts.map +0 -1
- package/dist/components/plugin-tester.js +0 -907
- package/dist/components/plugin-tester.js.map +0 -1
- package/dist/components/session/SessionComponents.d.ts +0 -2
- package/dist/components/session/SessionComponents.d.ts.map +0 -1
- package/dist/components/session/SessionComponents.js +0 -2
- package/dist/components/session/SessionComponents.js.map +0 -1
- package/dist/components/session/index.d.ts +0 -2
- package/dist/components/session/index.d.ts.map +0 -1
- package/dist/components/session/index.js +0 -2
- package/dist/components/session/index.js.map +0 -1
- package/dist/components/session.d.ts +0 -58
- package/dist/components/session.d.ts.map +0 -1
- package/dist/components/session.js +0 -580
- package/dist/components/session.js.map +0 -1
- package/dist/components/share-dialog.d.ts +0 -9
- package/dist/components/share-dialog.d.ts.map +0 -1
- package/dist/components/share-dialog.js +0 -49
- package/dist/components/share-dialog.js.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -6
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -20
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -20
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -29
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert.d.ts +0 -5
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/alert.js +0 -22
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/aspect-ratio.d.ts +0 -3
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -4
- package/dist/components/ui/aspect-ratio.js.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -5
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/avatar.js +0 -12
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -8
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -24
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts +0 -16
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.js +0 -28
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button-group.d.ts +0 -10
- package/dist/components/ui/button-group.d.ts.map +0 -1
- package/dist/components/ui/button-group.js +0 -27
- package/dist/components/ui/button-group.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -11
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -42
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.d.ts +0 -9
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/calendar.js +0 -78
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -17
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/carousel.d.ts +0 -9
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js +0 -110
- package/dist/components/ui/carousel.js.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -28
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/chart.js +0 -168
- package/dist/components/ui/chart.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -3
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js +0 -12
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/collapsible.d.ts +0 -5
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/collapsible.js +0 -7
- package/dist/components/ui/collapsible.js.map +0 -1
- package/dist/components/ui/command.d.ts +0 -16
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/command.js +0 -38
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/context-menu.d.ts +0 -21
- package/dist/components/ui/context-menu.d.ts.map +0 -1
- package/dist/components/ui/context-menu.js +0 -52
- package/dist/components/ui/context-menu.js.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js +0 -31
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/drawer.d.ts +0 -23
- package/dist/components/ui/drawer.d.ts.map +0 -1
- package/dist/components/ui/drawer.js +0 -28
- package/dist/components/ui/drawer.js.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -21
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -55
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/empty.d.ts +0 -10
- package/dist/components/ui/empty.d.ts.map +0 -1
- package/dist/components/ui/empty.js +0 -33
- package/dist/components/ui/empty.js.map +0 -1
- package/dist/components/ui/field.d.ts +0 -23
- package/dist/components/ui/field.d.ts.map +0 -1
- package/dist/components/ui/field.js +0 -82
- package/dist/components/ui/field.js.map +0 -1
- package/dist/components/ui/form.d.ts +0 -11
- package/dist/components/ui/form.d.ts.map +0 -1
- package/dist/components/ui/form.js +0 -71
- package/dist/components/ui/form.js.map +0 -1
- package/dist/components/ui/hover-card.d.ts +0 -5
- package/dist/components/ui/hover-card.d.ts.map +0 -1
- package/dist/components/ui/hover-card.js +0 -9
- package/dist/components/ui/hover-card.js.map +0 -1
- package/dist/components/ui/index.d.ts +0 -7
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/ui/index.js +0 -7
- package/dist/components/ui/index.js.map +0 -1
- package/dist/components/ui/input-group.d.ts +0 -13
- package/dist/components/ui/input-group.d.ts.map +0 -1
- package/dist/components/ui/input-group.js +0 -63
- package/dist/components/ui/input-group.js.map +0 -1
- package/dist/components/ui/input-otp.d.ts +0 -6
- package/dist/components/ui/input-otp.d.ts.map +0 -1
- package/dist/components/ui/input-otp.js +0 -25
- package/dist/components/ui/input-otp.js.map +0 -1
- package/dist/components/ui/input.d.ts +0 -3
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -8
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/item.d.ts +0 -19
- package/dist/components/ui/item.d.ts.map +0 -1
- package/dist/components/ui/item.js +0 -67
- package/dist/components/ui/item.js.map +0 -1
- package/dist/components/ui/kbd.d.ts +0 -4
- package/dist/components/ui/kbd.d.ts.map +0 -1
- package/dist/components/ui/kbd.js +0 -9
- package/dist/components/ui/kbd.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -3
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -10
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/menubar.d.ts +0 -23
- package/dist/components/ui/menubar.d.ts.map +0 -1
- package/dist/components/ui/menubar.js +0 -64
- package/dist/components/ui/menubar.js.map +0 -1
- package/dist/components/ui/navigation-menu.d.ts +0 -11
- package/dist/components/ui/navigation-menu.d.ts.map +0 -1
- package/dist/components/ui/navigation-menu.js +0 -34
- package/dist/components/ui/navigation-menu.js.map +0 -1
- package/dist/components/ui/network-selector.d.ts +0 -22
- package/dist/components/ui/network-selector.d.ts.map +0 -1
- package/dist/components/ui/network-selector.js +0 -99
- package/dist/components/ui/network-selector.js.map +0 -1
- package/dist/components/ui/pagination.d.ts +0 -29
- package/dist/components/ui/pagination.d.ts.map +0 -1
- package/dist/components/ui/pagination.js +0 -32
- package/dist/components/ui/pagination.js.map +0 -1
- package/dist/components/ui/popover.d.ts +0 -6
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js +0 -12
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.d.ts +0 -3
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/progress.js +0 -10
- package/dist/components/ui/progress.js.map +0 -1
- package/dist/components/ui/radio-group.d.ts +0 -4
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/radio-group.js +0 -18
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/resizable.d.ts +0 -8
- package/dist/components/ui/resizable.d.ts.map +0 -1
- package/dist/components/ui/resizable.js +0 -13
- package/dist/components/ui/resizable.js.map +0 -1
- package/dist/components/ui/scroll-area.d.ts +0 -4
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -19
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.d.ts +0 -12
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/select.js +0 -51
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -3
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -7
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.d.ts +0 -19
- package/dist/components/ui/sheet.d.ts.map +0 -1
- package/dist/components/ui/sheet.js +0 -46
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/sidebar.d.ts +0 -58
- package/dist/components/ui/sidebar.d.ts.map +0 -1
- package/dist/components/ui/sidebar.js +0 -246
- package/dist/components/ui/sidebar.js.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -3
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -6
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -3
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/slider.js +0 -12
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/sonner.d.ts +0 -5
- package/dist/components/ui/sonner.d.ts.map +0 -1
- package/dist/components/ui/sonner.js +0 -16
- package/dist/components/ui/sonner.js.map +0 -1
- package/dist/components/ui/spinner.d.ts +0 -3
- package/dist/components/ui/spinner.d.ts.map +0 -1
- package/dist/components/ui/spinner.js +0 -7
- package/dist/components/ui/spinner.js.map +0 -1
- package/dist/components/ui/surface-variant.d.ts +0 -4
- package/dist/components/ui/surface-variant.d.ts.map +0 -1
- package/dist/components/ui/surface-variant.js +0 -10
- package/dist/components/ui/surface-variant.js.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -3
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -9
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.d.ts +0 -10
- package/dist/components/ui/table.d.ts.map +0 -1
- package/dist/components/ui/table.js +0 -22
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -6
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -13
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -3
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -8
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/toast.d.ts +0 -12
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toast.js +0 -35
- package/dist/components/ui/toast.js.map +0 -1
- package/dist/components/ui/toaster.d.ts +0 -2
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/toaster.js +0 -19
- package/dist/components/ui/toaster.js.map +0 -1
- package/dist/components/ui/toggle-group.d.ts +0 -4
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -27
- package/dist/components/ui/toggle-group.js.map +0 -1
- package/dist/components/ui/toggle.d.ts +0 -4
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -25
- package/dist/components/ui/toggle.js.map +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -6
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/tooltip.js +0 -13
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/components/visual/ManowarField.d.ts +0 -9
- package/dist/components/visual/ManowarField.d.ts.map +0 -1
- package/dist/components/visual/ManowarField.js +0 -111
- package/dist/components/visual/ManowarField.js.map +0 -1
- package/dist/components/warp-form.d.ts +0 -22
- package/dist/components/warp-form.d.ts.map +0 -1
- package/dist/components/warp-form.js +0 -743
- package/dist/components/warp-form.js.map +0 -1
- package/dist/hooks/use-agents.d.ts +0 -17
- package/dist/hooks/use-agents.d.ts.map +0 -1
- package/dist/hooks/use-agents.js +0 -64
- package/dist/hooks/use-agents.js.map +0 -1
- package/dist/hooks/use-api.d.ts +0 -28
- package/dist/hooks/use-api.d.ts.map +0 -1
- package/dist/hooks/use-api.js +0 -114
- package/dist/hooks/use-api.js.map +0 -1
- package/dist/hooks/use-chat.d.ts +0 -64
- package/dist/hooks/use-chat.d.ts.map +0 -1
- package/dist/hooks/use-chat.js +0 -350
- package/dist/hooks/use-chat.js.map +0 -1
- package/dist/hooks/use-coordinator.d.ts +0 -41
- package/dist/hooks/use-coordinator.d.ts.map +0 -1
- package/dist/hooks/use-coordinator.js +0 -110
- package/dist/hooks/use-coordinator.js.map +0 -1
- package/dist/hooks/use-dispenser.d.ts +0 -68
- package/dist/hooks/use-dispenser.d.ts.map +0 -1
- package/dist/hooks/use-dispenser.js +0 -113
- package/dist/hooks/use-dispenser.js.map +0 -1
- package/dist/hooks/use-lyria.d.ts +0 -58
- package/dist/hooks/use-lyria.d.ts.map +0 -1
- package/dist/hooks/use-lyria.js +0 -254
- package/dist/hooks/use-lyria.js.map +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -2
- package/dist/hooks/use-mobile.d.ts.map +0 -1
- package/dist/hooks/use-mobile.js +0 -16
- package/dist/hooks/use-mobile.js.map +0 -1
- package/dist/hooks/use-model.d.ts +0 -34
- package/dist/hooks/use-model.d.ts.map +0 -1
- package/dist/hooks/use-model.js +0 -105
- package/dist/hooks/use-model.js.map +0 -1
- package/dist/hooks/use-motion-governor.d.ts +0 -10
- package/dist/hooks/use-motion-governor.d.ts.map +0 -1
- package/dist/hooks/use-motion-governor.js +0 -63
- package/dist/hooks/use-motion-governor.js.map +0 -1
- package/dist/hooks/use-multichain.d.ts +0 -34
- package/dist/hooks/use-multichain.d.ts.map +0 -1
- package/dist/hooks/use-multichain.js +0 -120
- package/dist/hooks/use-multichain.js.map +0 -1
- package/dist/hooks/use-onchain.d.ts +0 -145
- package/dist/hooks/use-onchain.d.ts.map +0 -1
- package/dist/hooks/use-onchain.js +0 -652
- package/dist/hooks/use-onchain.js.map +0 -1
- package/dist/hooks/use-registry.d.ts +0 -140
- package/dist/hooks/use-registry.d.ts.map +0 -1
- package/dist/hooks/use-registry.js +0 -264
- package/dist/hooks/use-registry.js.map +0 -1
- package/dist/hooks/use-services.d.ts +0 -66
- package/dist/hooks/use-services.d.ts.map +0 -1
- package/dist/hooks/use-services.js +0 -216
- package/dist/hooks/use-services.js.map +0 -1
- package/dist/hooks/use-session.d.ts +0 -36
- package/dist/hooks/use-session.d.ts.map +0 -1
- package/dist/hooks/use-session.js +0 -449
- package/dist/hooks/use-session.js.map +0 -1
- package/dist/hooks/use-sse.d.ts +0 -8
- package/dist/hooks/use-sse.d.ts.map +0 -1
- package/dist/hooks/use-sse.js +0 -86
- package/dist/hooks/use-sse.js.map +0 -1
- package/dist/hooks/use-tabs.d.ts +0 -2
- package/dist/hooks/use-tabs.d.ts.map +0 -1
- package/dist/hooks/use-tabs.js +0 -43
- package/dist/hooks/use-tabs.js.map +0 -1
- package/dist/hooks/use-toast.d.ts +0 -41
- package/dist/hooks/use-toast.d.ts.map +0 -1
- package/dist/hooks/use-toast.js +0 -127
- package/dist/hooks/use-toast.js.map +0 -1
- package/dist/hooks/use-triggers.d.ts +0 -51
- package/dist/hooks/use-triggers.d.ts.map +0 -1
- package/dist/hooks/use-triggers.js +0 -212
- package/dist/hooks/use-triggers.js.map +0 -1
- package/dist/hooks/use-warp.d.ts +0 -53
- package/dist/hooks/use-warp.d.ts.map +0 -1
- package/dist/hooks/use-warp.js +0 -231
- package/dist/hooks/use-warp.js.map +0 -1
- package/dist/hooks/use-workflow.d.ts +0 -40
- package/dist/hooks/use-workflow.d.ts.map +0 -1
- package/dist/hooks/use-workflow.js +0 -358
- package/dist/hooks/use-workflow.js.map +0 -1
- package/dist/lib/agents.d.ts +0 -186
- package/dist/lib/agents.d.ts.map +0 -1
- package/dist/lib/agents.js +0 -633
- package/dist/lib/agents.js.map +0 -1
- package/dist/lib/api.d.ts +0 -224
- package/dist/lib/api.d.ts.map +0 -1
- package/dist/lib/api.js +0 -443
- package/dist/lib/api.js.map +0 -1
- package/dist/lib/chains.d.ts +0 -151
- package/dist/lib/chains.d.ts.map +0 -1
- package/dist/lib/chains.js +0 -297
- package/dist/lib/chains.js.map +0 -1
- package/dist/lib/contracts.d.ts +0 -960
- package/dist/lib/contracts.d.ts.map +0 -1
- package/dist/lib/contracts.js +0 -716
- package/dist/lib/contracts.js.map +0 -1
- package/dist/lib/cronos/aa.d.ts +0 -111
- package/dist/lib/cronos/aa.d.ts.map +0 -1
- package/dist/lib/cronos/aa.js +0 -312
- package/dist/lib/cronos/aa.js.map +0 -1
- package/dist/lib/cronos/facilitator.d.ts +0 -87
- package/dist/lib/cronos/facilitator.d.ts.map +0 -1
- package/dist/lib/cronos/facilitator.js +0 -183
- package/dist/lib/cronos/facilitator.js.map +0 -1
- package/dist/lib/evm.d.ts +0 -45
- package/dist/lib/evm.d.ts.map +0 -1
- package/dist/lib/evm.js +0 -78
- package/dist/lib/evm.js.map +0 -1
- package/dist/lib/mockData.d.ts +0 -26
- package/dist/lib/mockData.d.ts.map +0 -1
- package/dist/lib/mockData.js +0 -89
- package/dist/lib/mockData.js.map +0 -1
- package/dist/lib/models.d.ts +0 -122
- package/dist/lib/models.d.ts.map +0 -1
- package/dist/lib/models.js +0 -174
- package/dist/lib/models.js.map +0 -1
- package/dist/lib/multimodal.d.ts +0 -53
- package/dist/lib/multimodal.d.ts.map +0 -1
- package/dist/lib/multimodal.js +0 -204
- package/dist/lib/multimodal.js.map +0 -1
- package/dist/lib/payment.d.ts +0 -67
- package/dist/lib/payment.d.ts.map +0 -1
- package/dist/lib/payment.js +0 -236
- package/dist/lib/payment.js.map +0 -1
- package/dist/lib/pinata.d.ts +0 -140
- package/dist/lib/pinata.d.ts.map +0 -1
- package/dist/lib/pinata.js +0 -209
- package/dist/lib/pinata.js.map +0 -1
- package/dist/lib/queryClient.d.ts +0 -9
- package/dist/lib/queryClient.d.ts.map +0 -1
- package/dist/lib/queryClient.js +0 -42
- package/dist/lib/queryClient.js.map +0 -1
- package/dist/lib/services.d.ts +0 -164
- package/dist/lib/services.d.ts.map +0 -1
- package/dist/lib/services.js +0 -304
- package/dist/lib/services.js.map +0 -1
- package/dist/lib/share.d.ts +0 -12
- package/dist/lib/share.d.ts.map +0 -1
- package/dist/lib/share.js +0 -39
- package/dist/lib/share.js.map +0 -1
- package/dist/lib/triggers.d.ts +0 -128
- package/dist/lib/triggers.d.ts.map +0 -1
- package/dist/lib/triggers.js +0 -305
- package/dist/lib/triggers.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -6
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/visual-system.d.ts +0 -39
- package/dist/lib/visual-system.d.ts.map +0 -1
- package/dist/lib/visual-system.js +0 -129
- package/dist/lib/visual-system.js.map +0 -1
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -2
- package/dist/utils/index.js.map +0 -1
package/dist/lib/contracts.d.ts
DELETED
|
@@ -1,960 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Manowar Protocol Contract Configuration
|
|
3
|
-
* Multi-chain support with Cronos Testnet as default
|
|
4
|
-
*
|
|
5
|
-
* Contract addresses are defined in chains.ts (single source of truth)
|
|
6
|
-
*/
|
|
7
|
-
import { CONTRACT_ADDRESSES, getContractAddress, getContractAddressForChain } from "./chains";
|
|
8
|
-
import { type Address } from "viem";
|
|
9
|
-
export { CONTRACT_ADDRESSES, getContractAddress, getContractAddressForChain };
|
|
10
|
-
export declare const AgentFactoryABI: readonly [{
|
|
11
|
-
readonly name: "getAgentData";
|
|
12
|
-
readonly type: "function";
|
|
13
|
-
readonly stateMutability: "view";
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly name: "agentId";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}];
|
|
18
|
-
readonly outputs: readonly [{
|
|
19
|
-
readonly name: "data";
|
|
20
|
-
readonly type: "tuple";
|
|
21
|
-
readonly components: readonly [{
|
|
22
|
-
readonly name: "dnaHash";
|
|
23
|
-
readonly type: "bytes32";
|
|
24
|
-
}, {
|
|
25
|
-
readonly name: "licenses";
|
|
26
|
-
readonly type: "uint256";
|
|
27
|
-
}, {
|
|
28
|
-
readonly name: "licensesMinted";
|
|
29
|
-
readonly type: "uint256";
|
|
30
|
-
}, {
|
|
31
|
-
readonly name: "licensePrice";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}, {
|
|
34
|
-
readonly name: "creator";
|
|
35
|
-
readonly type: "address";
|
|
36
|
-
}, {
|
|
37
|
-
readonly name: "cloneable";
|
|
38
|
-
readonly type: "bool";
|
|
39
|
-
}, {
|
|
40
|
-
readonly name: "isClone";
|
|
41
|
-
readonly type: "bool";
|
|
42
|
-
}, {
|
|
43
|
-
readonly name: "parentAgentId";
|
|
44
|
-
readonly type: "uint256";
|
|
45
|
-
}, {
|
|
46
|
-
readonly name: "agentCardUri";
|
|
47
|
-
readonly type: "string";
|
|
48
|
-
}];
|
|
49
|
-
}];
|
|
50
|
-
}, {
|
|
51
|
-
readonly name: "totalAgents";
|
|
52
|
-
readonly type: "function";
|
|
53
|
-
readonly stateMutability: "view";
|
|
54
|
-
readonly inputs: readonly [];
|
|
55
|
-
readonly outputs: readonly [{
|
|
56
|
-
readonly name: "total";
|
|
57
|
-
readonly type: "uint256";
|
|
58
|
-
}];
|
|
59
|
-
}, {
|
|
60
|
-
readonly name: "hasAvailableLicenses";
|
|
61
|
-
readonly type: "function";
|
|
62
|
-
readonly stateMutability: "view";
|
|
63
|
-
readonly inputs: readonly [{
|
|
64
|
-
readonly name: "agentId";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}];
|
|
67
|
-
readonly outputs: readonly [{
|
|
68
|
-
readonly name: "available";
|
|
69
|
-
readonly type: "bool";
|
|
70
|
-
}];
|
|
71
|
-
}, {
|
|
72
|
-
readonly name: "getDnaHash";
|
|
73
|
-
readonly type: "function";
|
|
74
|
-
readonly stateMutability: "view";
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly name: "agentId";
|
|
77
|
-
readonly type: "uint256";
|
|
78
|
-
}];
|
|
79
|
-
readonly outputs: readonly [{
|
|
80
|
-
readonly name: "dnaHash";
|
|
81
|
-
readonly type: "bytes32";
|
|
82
|
-
}];
|
|
83
|
-
}, {
|
|
84
|
-
readonly name: "ownerOf";
|
|
85
|
-
readonly type: "function";
|
|
86
|
-
readonly stateMutability: "view";
|
|
87
|
-
readonly inputs: readonly [{
|
|
88
|
-
readonly name: "tokenId";
|
|
89
|
-
readonly type: "uint256";
|
|
90
|
-
}];
|
|
91
|
-
readonly outputs: readonly [{
|
|
92
|
-
readonly name: "owner";
|
|
93
|
-
readonly type: "address";
|
|
94
|
-
}];
|
|
95
|
-
}, {
|
|
96
|
-
readonly name: "tokenURI";
|
|
97
|
-
readonly type: "function";
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
readonly inputs: readonly [{
|
|
100
|
-
readonly name: "tokenId";
|
|
101
|
-
readonly type: "uint256";
|
|
102
|
-
}];
|
|
103
|
-
readonly outputs: readonly [{
|
|
104
|
-
readonly name: "uri";
|
|
105
|
-
readonly type: "string";
|
|
106
|
-
}];
|
|
107
|
-
}, {
|
|
108
|
-
readonly name: "isLicensedTo";
|
|
109
|
-
readonly type: "function";
|
|
110
|
-
readonly stateMutability: "view";
|
|
111
|
-
readonly inputs: readonly [{
|
|
112
|
-
readonly name: "agentId";
|
|
113
|
-
readonly type: "uint256";
|
|
114
|
-
}, {
|
|
115
|
-
readonly name: "manowarContract";
|
|
116
|
-
readonly type: "address";
|
|
117
|
-
}, {
|
|
118
|
-
readonly name: "manowarId";
|
|
119
|
-
readonly type: "uint256";
|
|
120
|
-
}];
|
|
121
|
-
readonly outputs: readonly [{
|
|
122
|
-
readonly name: "licensed";
|
|
123
|
-
readonly type: "bool";
|
|
124
|
-
}];
|
|
125
|
-
}, {
|
|
126
|
-
readonly name: "getLicenseRecords";
|
|
127
|
-
readonly type: "function";
|
|
128
|
-
readonly stateMutability: "view";
|
|
129
|
-
readonly inputs: readonly [{
|
|
130
|
-
readonly name: "agentId";
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}];
|
|
133
|
-
readonly outputs: readonly [{
|
|
134
|
-
readonly name: "records";
|
|
135
|
-
readonly type: "tuple[]";
|
|
136
|
-
readonly components: readonly [{
|
|
137
|
-
readonly name: "manowarContract";
|
|
138
|
-
readonly type: "address";
|
|
139
|
-
}, {
|
|
140
|
-
readonly name: "manowarId";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}, {
|
|
143
|
-
readonly name: "licensedAt";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}];
|
|
146
|
-
}];
|
|
147
|
-
}, {
|
|
148
|
-
readonly name: "agentExists";
|
|
149
|
-
readonly type: "function";
|
|
150
|
-
readonly stateMutability: "view";
|
|
151
|
-
readonly inputs: readonly [{
|
|
152
|
-
readonly name: "agentId";
|
|
153
|
-
readonly type: "uint256";
|
|
154
|
-
}];
|
|
155
|
-
readonly outputs: readonly [{
|
|
156
|
-
readonly name: "exists";
|
|
157
|
-
readonly type: "bool";
|
|
158
|
-
}];
|
|
159
|
-
}, {
|
|
160
|
-
readonly name: "mintAgent";
|
|
161
|
-
readonly type: "function";
|
|
162
|
-
readonly stateMutability: "nonpayable";
|
|
163
|
-
readonly inputs: readonly [{
|
|
164
|
-
readonly name: "dnaHash";
|
|
165
|
-
readonly type: "bytes32";
|
|
166
|
-
}, {
|
|
167
|
-
readonly name: "licenses";
|
|
168
|
-
readonly type: "uint256";
|
|
169
|
-
}, {
|
|
170
|
-
readonly name: "licensePrice";
|
|
171
|
-
readonly type: "uint256";
|
|
172
|
-
}, {
|
|
173
|
-
readonly name: "cloneable";
|
|
174
|
-
readonly type: "bool";
|
|
175
|
-
}, {
|
|
176
|
-
readonly name: "agentCardUri";
|
|
177
|
-
readonly type: "string";
|
|
178
|
-
}];
|
|
179
|
-
readonly outputs: readonly [{
|
|
180
|
-
readonly name: "agentId";
|
|
181
|
-
readonly type: "uint256";
|
|
182
|
-
}];
|
|
183
|
-
}, {
|
|
184
|
-
readonly name: "updatePrice";
|
|
185
|
-
readonly type: "function";
|
|
186
|
-
readonly stateMutability: "nonpayable";
|
|
187
|
-
readonly inputs: readonly [{
|
|
188
|
-
readonly name: "agentId";
|
|
189
|
-
readonly type: "uint256";
|
|
190
|
-
}, {
|
|
191
|
-
readonly name: "newPrice";
|
|
192
|
-
readonly type: "uint256";
|
|
193
|
-
}];
|
|
194
|
-
readonly outputs: readonly [];
|
|
195
|
-
}, {
|
|
196
|
-
readonly name: "AgentMinted";
|
|
197
|
-
readonly type: "event";
|
|
198
|
-
readonly inputs: readonly [{
|
|
199
|
-
readonly name: "agentId";
|
|
200
|
-
readonly type: "uint256";
|
|
201
|
-
readonly indexed: true;
|
|
202
|
-
}, {
|
|
203
|
-
readonly name: "creator";
|
|
204
|
-
readonly type: "address";
|
|
205
|
-
readonly indexed: true;
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "dnaHash";
|
|
208
|
-
readonly type: "bytes32";
|
|
209
|
-
readonly indexed: false;
|
|
210
|
-
}, {
|
|
211
|
-
readonly name: "licenses";
|
|
212
|
-
readonly type: "uint256";
|
|
213
|
-
readonly indexed: false;
|
|
214
|
-
}, {
|
|
215
|
-
readonly name: "licensePrice";
|
|
216
|
-
readonly type: "uint256";
|
|
217
|
-
readonly indexed: false;
|
|
218
|
-
}, {
|
|
219
|
-
readonly name: "cloneable";
|
|
220
|
-
readonly type: "bool";
|
|
221
|
-
readonly indexed: false;
|
|
222
|
-
}];
|
|
223
|
-
}, {
|
|
224
|
-
readonly name: "AgentLicensed";
|
|
225
|
-
readonly type: "event";
|
|
226
|
-
readonly inputs: readonly [{
|
|
227
|
-
readonly name: "agentId";
|
|
228
|
-
readonly type: "uint256";
|
|
229
|
-
readonly indexed: true;
|
|
230
|
-
}, {
|
|
231
|
-
readonly name: "manowarContract";
|
|
232
|
-
readonly type: "address";
|
|
233
|
-
readonly indexed: true;
|
|
234
|
-
}, {
|
|
235
|
-
readonly name: "manowarId";
|
|
236
|
-
readonly type: "uint256";
|
|
237
|
-
readonly indexed: true;
|
|
238
|
-
}, {
|
|
239
|
-
readonly name: "licenseNumber";
|
|
240
|
-
readonly type: "uint256";
|
|
241
|
-
readonly indexed: false;
|
|
242
|
-
}];
|
|
243
|
-
}];
|
|
244
|
-
export declare const ManowarABI: readonly [{
|
|
245
|
-
readonly name: "getManowarData";
|
|
246
|
-
readonly type: "function";
|
|
247
|
-
readonly stateMutability: "view";
|
|
248
|
-
readonly inputs: readonly [{
|
|
249
|
-
readonly name: "manowarId";
|
|
250
|
-
readonly type: "uint256";
|
|
251
|
-
}];
|
|
252
|
-
readonly outputs: readonly [{
|
|
253
|
-
readonly name: "data";
|
|
254
|
-
readonly type: "tuple";
|
|
255
|
-
readonly components: readonly [{
|
|
256
|
-
readonly name: "title";
|
|
257
|
-
readonly type: "string";
|
|
258
|
-
}, {
|
|
259
|
-
readonly name: "description";
|
|
260
|
-
readonly type: "string";
|
|
261
|
-
}, {
|
|
262
|
-
readonly name: "banner";
|
|
263
|
-
readonly type: "string";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "manowarCardUri";
|
|
266
|
-
readonly type: "string";
|
|
267
|
-
}, {
|
|
268
|
-
readonly name: "totalPrice";
|
|
269
|
-
readonly type: "uint256";
|
|
270
|
-
}, {
|
|
271
|
-
readonly name: "units";
|
|
272
|
-
readonly type: "uint256";
|
|
273
|
-
}, {
|
|
274
|
-
readonly name: "unitsMinted";
|
|
275
|
-
readonly type: "uint256";
|
|
276
|
-
}, {
|
|
277
|
-
readonly name: "creator";
|
|
278
|
-
readonly type: "address";
|
|
279
|
-
}, {
|
|
280
|
-
readonly name: "leaseEnabled";
|
|
281
|
-
readonly type: "bool";
|
|
282
|
-
}, {
|
|
283
|
-
readonly name: "leaseDuration";
|
|
284
|
-
readonly type: "uint256";
|
|
285
|
-
}, {
|
|
286
|
-
readonly name: "leasePercent";
|
|
287
|
-
readonly type: "uint8";
|
|
288
|
-
}, {
|
|
289
|
-
readonly name: "hasCoordinator";
|
|
290
|
-
readonly type: "bool";
|
|
291
|
-
}, {
|
|
292
|
-
readonly name: "coordinatorModel";
|
|
293
|
-
readonly type: "string";
|
|
294
|
-
}, {
|
|
295
|
-
readonly name: "hasActiveRfa";
|
|
296
|
-
readonly type: "bool";
|
|
297
|
-
}, {
|
|
298
|
-
readonly name: "rfaId";
|
|
299
|
-
readonly type: "uint256";
|
|
300
|
-
}];
|
|
301
|
-
}];
|
|
302
|
-
}, {
|
|
303
|
-
readonly name: "totalManowars";
|
|
304
|
-
readonly type: "function";
|
|
305
|
-
readonly stateMutability: "view";
|
|
306
|
-
readonly inputs: readonly [];
|
|
307
|
-
readonly outputs: readonly [{
|
|
308
|
-
readonly name: "total";
|
|
309
|
-
readonly type: "uint256";
|
|
310
|
-
}];
|
|
311
|
-
}, {
|
|
312
|
-
readonly name: "tokenURI";
|
|
313
|
-
readonly type: "function";
|
|
314
|
-
readonly stateMutability: "view";
|
|
315
|
-
readonly inputs: readonly [{
|
|
316
|
-
readonly name: "tokenId";
|
|
317
|
-
readonly type: "uint256";
|
|
318
|
-
}];
|
|
319
|
-
readonly outputs: readonly [{
|
|
320
|
-
readonly name: "uri";
|
|
321
|
-
readonly type: "string";
|
|
322
|
-
}];
|
|
323
|
-
}, {
|
|
324
|
-
readonly name: "getAgents";
|
|
325
|
-
readonly type: "function";
|
|
326
|
-
readonly stateMutability: "view";
|
|
327
|
-
readonly inputs: readonly [{
|
|
328
|
-
readonly name: "manowarId";
|
|
329
|
-
readonly type: "uint256";
|
|
330
|
-
}];
|
|
331
|
-
readonly outputs: readonly [{
|
|
332
|
-
readonly name: "agentIds";
|
|
333
|
-
readonly type: "uint256[]";
|
|
334
|
-
}];
|
|
335
|
-
}, {
|
|
336
|
-
readonly name: "getAgentCount";
|
|
337
|
-
readonly type: "function";
|
|
338
|
-
readonly stateMutability: "view";
|
|
339
|
-
readonly inputs: readonly [{
|
|
340
|
-
readonly name: "manowarId";
|
|
341
|
-
readonly type: "uint256";
|
|
342
|
-
}];
|
|
343
|
-
readonly outputs: readonly [{
|
|
344
|
-
readonly name: "count";
|
|
345
|
-
readonly type: "uint256";
|
|
346
|
-
}];
|
|
347
|
-
}, {
|
|
348
|
-
readonly name: "isComplete";
|
|
349
|
-
readonly type: "function";
|
|
350
|
-
readonly stateMutability: "view";
|
|
351
|
-
readonly inputs: readonly [{
|
|
352
|
-
readonly name: "manowarId";
|
|
353
|
-
readonly type: "uint256";
|
|
354
|
-
}];
|
|
355
|
-
readonly outputs: readonly [{
|
|
356
|
-
readonly name: "complete";
|
|
357
|
-
readonly type: "bool";
|
|
358
|
-
}];
|
|
359
|
-
}, {
|
|
360
|
-
readonly name: "getCompleteManowars";
|
|
361
|
-
readonly type: "function";
|
|
362
|
-
readonly stateMutability: "view";
|
|
363
|
-
readonly inputs: readonly [];
|
|
364
|
-
readonly outputs: readonly [{
|
|
365
|
-
readonly name: "manowarIds";
|
|
366
|
-
readonly type: "uint256[]";
|
|
367
|
-
}];
|
|
368
|
-
}, {
|
|
369
|
-
readonly name: "getManowarsWithRFA";
|
|
370
|
-
readonly type: "function";
|
|
371
|
-
readonly stateMutability: "view";
|
|
372
|
-
readonly inputs: readonly [];
|
|
373
|
-
readonly outputs: readonly [{
|
|
374
|
-
readonly name: "manowarIds";
|
|
375
|
-
readonly type: "uint256[]";
|
|
376
|
-
}];
|
|
377
|
-
}, {
|
|
378
|
-
readonly name: "getManowarsByCreator";
|
|
379
|
-
readonly type: "function";
|
|
380
|
-
readonly stateMutability: "view";
|
|
381
|
-
readonly inputs: readonly [{
|
|
382
|
-
readonly name: "creator";
|
|
383
|
-
readonly type: "address";
|
|
384
|
-
}];
|
|
385
|
-
readonly outputs: readonly [{
|
|
386
|
-
readonly name: "manowarIds";
|
|
387
|
-
readonly type: "uint256[]";
|
|
388
|
-
}];
|
|
389
|
-
}, {
|
|
390
|
-
readonly name: "calculateTotalPrice";
|
|
391
|
-
readonly type: "function";
|
|
392
|
-
readonly stateMutability: "view";
|
|
393
|
-
readonly inputs: readonly [{
|
|
394
|
-
readonly name: "manowarId";
|
|
395
|
-
readonly type: "uint256";
|
|
396
|
-
}];
|
|
397
|
-
readonly outputs: readonly [{
|
|
398
|
-
readonly name: "total";
|
|
399
|
-
readonly type: "uint256";
|
|
400
|
-
}];
|
|
401
|
-
}, {
|
|
402
|
-
readonly name: "mintManowar";
|
|
403
|
-
readonly type: "function";
|
|
404
|
-
readonly stateMutability: "nonpayable";
|
|
405
|
-
readonly inputs: readonly [{
|
|
406
|
-
readonly name: "params";
|
|
407
|
-
readonly type: "tuple";
|
|
408
|
-
readonly components: readonly [{
|
|
409
|
-
readonly name: "title";
|
|
410
|
-
readonly type: "string";
|
|
411
|
-
}, {
|
|
412
|
-
readonly name: "description";
|
|
413
|
-
readonly type: "string";
|
|
414
|
-
}, {
|
|
415
|
-
readonly name: "banner";
|
|
416
|
-
readonly type: "string";
|
|
417
|
-
}, {
|
|
418
|
-
readonly name: "manowarCardUri";
|
|
419
|
-
readonly type: "string";
|
|
420
|
-
}, {
|
|
421
|
-
readonly name: "units";
|
|
422
|
-
readonly type: "uint256";
|
|
423
|
-
}, {
|
|
424
|
-
readonly name: "leaseEnabled";
|
|
425
|
-
readonly type: "bool";
|
|
426
|
-
}, {
|
|
427
|
-
readonly name: "leaseDuration";
|
|
428
|
-
readonly type: "uint256";
|
|
429
|
-
}, {
|
|
430
|
-
readonly name: "leasePercent";
|
|
431
|
-
readonly type: "uint8";
|
|
432
|
-
}, {
|
|
433
|
-
readonly name: "hasCoordinator";
|
|
434
|
-
readonly type: "bool";
|
|
435
|
-
}, {
|
|
436
|
-
readonly name: "coordinatorModel";
|
|
437
|
-
readonly type: "string";
|
|
438
|
-
}];
|
|
439
|
-
}, {
|
|
440
|
-
readonly name: "agentIds";
|
|
441
|
-
readonly type: "uint256[]";
|
|
442
|
-
}];
|
|
443
|
-
readonly outputs: readonly [{
|
|
444
|
-
readonly name: "manowarId";
|
|
445
|
-
readonly type: "uint256";
|
|
446
|
-
}];
|
|
447
|
-
}, {
|
|
448
|
-
readonly name: "addAgent";
|
|
449
|
-
readonly type: "function";
|
|
450
|
-
readonly stateMutability: "nonpayable";
|
|
451
|
-
readonly inputs: readonly [{
|
|
452
|
-
readonly name: "manowarId";
|
|
453
|
-
readonly type: "uint256";
|
|
454
|
-
}, {
|
|
455
|
-
readonly name: "agentId";
|
|
456
|
-
readonly type: "uint256";
|
|
457
|
-
}];
|
|
458
|
-
readonly outputs: readonly [];
|
|
459
|
-
}, {
|
|
460
|
-
readonly name: "setCoordinator";
|
|
461
|
-
readonly type: "function";
|
|
462
|
-
readonly stateMutability: "nonpayable";
|
|
463
|
-
readonly inputs: readonly [{
|
|
464
|
-
readonly name: "manowarId";
|
|
465
|
-
readonly type: "uint256";
|
|
466
|
-
}, {
|
|
467
|
-
readonly name: "hasCoordinator";
|
|
468
|
-
readonly type: "bool";
|
|
469
|
-
}, {
|
|
470
|
-
readonly name: "model";
|
|
471
|
-
readonly type: "string";
|
|
472
|
-
}];
|
|
473
|
-
readonly outputs: readonly [];
|
|
474
|
-
}, {
|
|
475
|
-
readonly name: "updateLeaseSettings";
|
|
476
|
-
readonly type: "function";
|
|
477
|
-
readonly stateMutability: "nonpayable";
|
|
478
|
-
readonly inputs: readonly [{
|
|
479
|
-
readonly name: "manowarId";
|
|
480
|
-
readonly type: "uint256";
|
|
481
|
-
}, {
|
|
482
|
-
readonly name: "enabled";
|
|
483
|
-
readonly type: "bool";
|
|
484
|
-
}, {
|
|
485
|
-
readonly name: "duration";
|
|
486
|
-
readonly type: "uint256";
|
|
487
|
-
}, {
|
|
488
|
-
readonly name: "percent";
|
|
489
|
-
readonly type: "uint8";
|
|
490
|
-
}];
|
|
491
|
-
readonly outputs: readonly [];
|
|
492
|
-
}, {
|
|
493
|
-
readonly name: "ManowarMinted";
|
|
494
|
-
readonly type: "event";
|
|
495
|
-
readonly inputs: readonly [{
|
|
496
|
-
readonly name: "manowarId";
|
|
497
|
-
readonly type: "uint256";
|
|
498
|
-
readonly indexed: true;
|
|
499
|
-
}, {
|
|
500
|
-
readonly name: "creator";
|
|
501
|
-
readonly type: "address";
|
|
502
|
-
readonly indexed: true;
|
|
503
|
-
}, {
|
|
504
|
-
readonly name: "title";
|
|
505
|
-
readonly type: "string";
|
|
506
|
-
readonly indexed: false;
|
|
507
|
-
}, {
|
|
508
|
-
readonly name: "x402Price";
|
|
509
|
-
readonly type: "uint256";
|
|
510
|
-
readonly indexed: false;
|
|
511
|
-
}, {
|
|
512
|
-
readonly name: "units";
|
|
513
|
-
readonly type: "uint256";
|
|
514
|
-
readonly indexed: false;
|
|
515
|
-
}];
|
|
516
|
-
}];
|
|
517
|
-
export declare const CloneABI: readonly [{
|
|
518
|
-
readonly name: "cloneAgent";
|
|
519
|
-
readonly type: "function";
|
|
520
|
-
readonly stateMutability: "nonpayable";
|
|
521
|
-
readonly inputs: readonly [{
|
|
522
|
-
readonly name: "originalAgentId";
|
|
523
|
-
readonly type: "uint256";
|
|
524
|
-
}, {
|
|
525
|
-
readonly name: "params";
|
|
526
|
-
readonly type: "tuple";
|
|
527
|
-
readonly components: readonly [{
|
|
528
|
-
readonly name: "chainId";
|
|
529
|
-
readonly type: "uint256";
|
|
530
|
-
}, {
|
|
531
|
-
readonly name: "licensePrice";
|
|
532
|
-
readonly type: "uint256";
|
|
533
|
-
}, {
|
|
534
|
-
readonly name: "model";
|
|
535
|
-
readonly type: "string";
|
|
536
|
-
}, {
|
|
537
|
-
readonly name: "licenses";
|
|
538
|
-
readonly type: "uint256";
|
|
539
|
-
}];
|
|
540
|
-
}, {
|
|
541
|
-
readonly name: "newAgentCardUri";
|
|
542
|
-
readonly type: "string";
|
|
543
|
-
}];
|
|
544
|
-
readonly outputs: readonly [{
|
|
545
|
-
readonly name: "clonedAgentId";
|
|
546
|
-
readonly type: "uint256";
|
|
547
|
-
}];
|
|
548
|
-
}, {
|
|
549
|
-
readonly name: "canClone";
|
|
550
|
-
readonly type: "function";
|
|
551
|
-
readonly stateMutability: "view";
|
|
552
|
-
readonly inputs: readonly [{
|
|
553
|
-
readonly name: "agentId";
|
|
554
|
-
readonly type: "uint256";
|
|
555
|
-
}];
|
|
556
|
-
readonly outputs: readonly [{
|
|
557
|
-
readonly name: "canClone";
|
|
558
|
-
readonly type: "bool";
|
|
559
|
-
}];
|
|
560
|
-
}, {
|
|
561
|
-
readonly name: "getClonesOf";
|
|
562
|
-
readonly type: "function";
|
|
563
|
-
readonly stateMutability: "view";
|
|
564
|
-
readonly inputs: readonly [{
|
|
565
|
-
readonly name: "originalAgentId";
|
|
566
|
-
readonly type: "uint256";
|
|
567
|
-
}];
|
|
568
|
-
readonly outputs: readonly [{
|
|
569
|
-
readonly name: "cloneIds";
|
|
570
|
-
readonly type: "uint256[]";
|
|
571
|
-
}];
|
|
572
|
-
}];
|
|
573
|
-
export declare const WarpABI: readonly [{
|
|
574
|
-
readonly name: "warpAgent";
|
|
575
|
-
readonly type: "function";
|
|
576
|
-
readonly stateMutability: "nonpayable";
|
|
577
|
-
readonly inputs: readonly [{
|
|
578
|
-
readonly name: "originalAgentHash";
|
|
579
|
-
readonly type: "bytes32";
|
|
580
|
-
}, {
|
|
581
|
-
readonly name: "originalCreator";
|
|
582
|
-
readonly type: "address";
|
|
583
|
-
}, {
|
|
584
|
-
readonly name: "licenses";
|
|
585
|
-
readonly type: "uint256";
|
|
586
|
-
}, {
|
|
587
|
-
readonly name: "licensePrice";
|
|
588
|
-
readonly type: "uint256";
|
|
589
|
-
}, {
|
|
590
|
-
readonly name: "agentCardUri";
|
|
591
|
-
readonly type: "string";
|
|
592
|
-
}];
|
|
593
|
-
readonly outputs: readonly [{
|
|
594
|
-
readonly name: "warpedAgentId";
|
|
595
|
-
readonly type: "uint256";
|
|
596
|
-
}];
|
|
597
|
-
}, {
|
|
598
|
-
readonly name: "isWarped";
|
|
599
|
-
readonly type: "function";
|
|
600
|
-
readonly stateMutability: "view";
|
|
601
|
-
readonly inputs: readonly [{
|
|
602
|
-
readonly name: "agentId";
|
|
603
|
-
readonly type: "uint256";
|
|
604
|
-
}];
|
|
605
|
-
readonly outputs: readonly [{
|
|
606
|
-
readonly name: "isWarped";
|
|
607
|
-
readonly type: "bool";
|
|
608
|
-
}];
|
|
609
|
-
}, {
|
|
610
|
-
readonly name: "getWarpedData";
|
|
611
|
-
readonly type: "function";
|
|
612
|
-
readonly stateMutability: "view";
|
|
613
|
-
readonly inputs: readonly [{
|
|
614
|
-
readonly name: "warpedAgentId";
|
|
615
|
-
readonly type: "uint256";
|
|
616
|
-
}];
|
|
617
|
-
readonly outputs: readonly [{
|
|
618
|
-
readonly name: "data";
|
|
619
|
-
readonly type: "tuple";
|
|
620
|
-
readonly components: readonly [{
|
|
621
|
-
readonly name: "originalCreator";
|
|
622
|
-
readonly type: "address";
|
|
623
|
-
}, {
|
|
624
|
-
readonly name: "warper";
|
|
625
|
-
readonly type: "address";
|
|
626
|
-
}, {
|
|
627
|
-
readonly name: "originalAgentHash";
|
|
628
|
-
readonly type: "bytes32";
|
|
629
|
-
}, {
|
|
630
|
-
readonly name: "royaltyExpiryDate";
|
|
631
|
-
readonly type: "uint256";
|
|
632
|
-
}, {
|
|
633
|
-
readonly name: "royaltiesClaimed";
|
|
634
|
-
readonly type: "bool";
|
|
635
|
-
}, {
|
|
636
|
-
readonly name: "accumulatedRoyalties";
|
|
637
|
-
readonly type: "uint256";
|
|
638
|
-
}];
|
|
639
|
-
}];
|
|
640
|
-
}, {
|
|
641
|
-
readonly name: "totalWarped";
|
|
642
|
-
readonly type: "function";
|
|
643
|
-
readonly stateMutability: "view";
|
|
644
|
-
readonly inputs: readonly [];
|
|
645
|
-
readonly outputs: readonly [{
|
|
646
|
-
readonly name: "total";
|
|
647
|
-
readonly type: "uint256";
|
|
648
|
-
}];
|
|
649
|
-
}, {
|
|
650
|
-
readonly name: "getWarpedAgentId";
|
|
651
|
-
readonly type: "function";
|
|
652
|
-
readonly stateMutability: "view";
|
|
653
|
-
readonly inputs: readonly [{
|
|
654
|
-
readonly name: "externalHash";
|
|
655
|
-
readonly type: "bytes32";
|
|
656
|
-
}];
|
|
657
|
-
readonly outputs: readonly [{
|
|
658
|
-
readonly name: "warpedAgentId";
|
|
659
|
-
readonly type: "uint256";
|
|
660
|
-
}];
|
|
661
|
-
}];
|
|
662
|
-
export declare const RFAABI: readonly [{
|
|
663
|
-
readonly name: "createRFA";
|
|
664
|
-
readonly type: "function";
|
|
665
|
-
readonly stateMutability: "nonpayable";
|
|
666
|
-
readonly inputs: readonly [{
|
|
667
|
-
readonly name: "manowarId";
|
|
668
|
-
readonly type: "uint256";
|
|
669
|
-
}, {
|
|
670
|
-
readonly name: "title";
|
|
671
|
-
readonly type: "string";
|
|
672
|
-
}, {
|
|
673
|
-
readonly name: "description";
|
|
674
|
-
readonly type: "string";
|
|
675
|
-
}, {
|
|
676
|
-
readonly name: "requiredSkills";
|
|
677
|
-
readonly type: "bytes32[]";
|
|
678
|
-
}, {
|
|
679
|
-
readonly name: "offerAmount";
|
|
680
|
-
readonly type: "uint256";
|
|
681
|
-
}];
|
|
682
|
-
readonly outputs: readonly [{
|
|
683
|
-
readonly name: "rfaId";
|
|
684
|
-
readonly type: "uint256";
|
|
685
|
-
}];
|
|
686
|
-
}, {
|
|
687
|
-
readonly name: "submitAgent";
|
|
688
|
-
readonly type: "function";
|
|
689
|
-
readonly stateMutability: "nonpayable";
|
|
690
|
-
readonly inputs: readonly [{
|
|
691
|
-
readonly name: "rfaId";
|
|
692
|
-
readonly type: "uint256";
|
|
693
|
-
}, {
|
|
694
|
-
readonly name: "agentId";
|
|
695
|
-
readonly type: "uint256";
|
|
696
|
-
}];
|
|
697
|
-
readonly outputs: readonly [];
|
|
698
|
-
}, {
|
|
699
|
-
readonly name: "acceptAgent";
|
|
700
|
-
readonly type: "function";
|
|
701
|
-
readonly stateMutability: "nonpayable";
|
|
702
|
-
readonly inputs: readonly [{
|
|
703
|
-
readonly name: "rfaId";
|
|
704
|
-
readonly type: "uint256";
|
|
705
|
-
}, {
|
|
706
|
-
readonly name: "agentId";
|
|
707
|
-
readonly type: "uint256";
|
|
708
|
-
}];
|
|
709
|
-
readonly outputs: readonly [];
|
|
710
|
-
}, {
|
|
711
|
-
readonly name: "getRFAData";
|
|
712
|
-
readonly type: "function";
|
|
713
|
-
readonly stateMutability: "view";
|
|
714
|
-
readonly inputs: readonly [{
|
|
715
|
-
readonly name: "rfaId";
|
|
716
|
-
readonly type: "uint256";
|
|
717
|
-
}];
|
|
718
|
-
readonly outputs: readonly [{
|
|
719
|
-
readonly name: "data";
|
|
720
|
-
readonly type: "tuple";
|
|
721
|
-
readonly components: readonly [{
|
|
722
|
-
readonly name: "manowarId";
|
|
723
|
-
readonly type: "uint256";
|
|
724
|
-
}, {
|
|
725
|
-
readonly name: "title";
|
|
726
|
-
readonly type: "string";
|
|
727
|
-
}, {
|
|
728
|
-
readonly name: "description";
|
|
729
|
-
readonly type: "string";
|
|
730
|
-
}, {
|
|
731
|
-
readonly name: "requiredSkills";
|
|
732
|
-
readonly type: "bytes32[]";
|
|
733
|
-
}, {
|
|
734
|
-
readonly name: "offerAmount";
|
|
735
|
-
readonly type: "uint256";
|
|
736
|
-
}, {
|
|
737
|
-
readonly name: "publisher";
|
|
738
|
-
readonly type: "address";
|
|
739
|
-
}, {
|
|
740
|
-
readonly name: "createdAt";
|
|
741
|
-
readonly type: "uint256";
|
|
742
|
-
}, {
|
|
743
|
-
readonly name: "status";
|
|
744
|
-
readonly type: "uint8";
|
|
745
|
-
}, {
|
|
746
|
-
readonly name: "fulfilledByAgentId";
|
|
747
|
-
readonly type: "uint256";
|
|
748
|
-
}, {
|
|
749
|
-
readonly name: "agentCreator";
|
|
750
|
-
readonly type: "address";
|
|
751
|
-
}];
|
|
752
|
-
}];
|
|
753
|
-
}, {
|
|
754
|
-
readonly name: "getOpenRFAs";
|
|
755
|
-
readonly type: "function";
|
|
756
|
-
readonly stateMutability: "view";
|
|
757
|
-
readonly inputs: readonly [];
|
|
758
|
-
readonly outputs: readonly [{
|
|
759
|
-
readonly name: "rfaIds";
|
|
760
|
-
readonly type: "uint256[]";
|
|
761
|
-
}];
|
|
762
|
-
}, {
|
|
763
|
-
readonly name: "getSubmissions";
|
|
764
|
-
readonly type: "function";
|
|
765
|
-
readonly stateMutability: "view";
|
|
766
|
-
readonly inputs: readonly [{
|
|
767
|
-
readonly name: "rfaId";
|
|
768
|
-
readonly type: "uint256";
|
|
769
|
-
}];
|
|
770
|
-
readonly outputs: readonly [{
|
|
771
|
-
readonly name: "submissions";
|
|
772
|
-
readonly type: "tuple[]";
|
|
773
|
-
readonly components: readonly [{
|
|
774
|
-
readonly name: "agentId";
|
|
775
|
-
readonly type: "uint256";
|
|
776
|
-
}, {
|
|
777
|
-
readonly name: "creator";
|
|
778
|
-
readonly type: "address";
|
|
779
|
-
}, {
|
|
780
|
-
readonly name: "submittedAt";
|
|
781
|
-
readonly type: "uint256";
|
|
782
|
-
}];
|
|
783
|
-
}];
|
|
784
|
-
}];
|
|
785
|
-
export declare function getAgentFactoryContract(): any;
|
|
786
|
-
export declare function getManowarContract(): any;
|
|
787
|
-
export declare function getCloneContract(): any;
|
|
788
|
-
export declare function getWarpContract(): any;
|
|
789
|
-
export declare function getRFAContract(): any;
|
|
790
|
-
export declare function getAgentFactoryContractForChain(chainId: number): any;
|
|
791
|
-
export declare function getManowarContractForChain(chainId: number): any;
|
|
792
|
-
export declare function getWarpContractForChain(chainId: number): any;
|
|
793
|
-
export declare function getRFAContractForChain(chainId: number): any;
|
|
794
|
-
/**
|
|
795
|
-
* Generate DNA hash from agent parameters (matches contract logic)
|
|
796
|
-
*
|
|
797
|
-
* The dnaHash uniquely identifies an agent and is used to derive its wallet.
|
|
798
|
-
* The derivation formula includes timestamp to ensure uniqueness even for identical skills/chain/model.
|
|
799
|
-
*
|
|
800
|
-
* Formula: keccak256(skills + chainId + model + timestamp)
|
|
801
|
-
*/
|
|
802
|
-
export declare function computeDnaHash(skills: string[], chainId: number, model: string): `0x${string}`;
|
|
803
|
-
/**
|
|
804
|
-
* Derive agent wallet address from dnaHash + timestamp
|
|
805
|
-
*
|
|
806
|
-
* - dnaHash = keccak256(skills, chainId, model) - sent to contract
|
|
807
|
-
* - timestamp makes each wallet unique even for same skills/chain/model
|
|
808
|
-
* - walletAddress is stored in IPFS metadata as single source of truth
|
|
809
|
-
*
|
|
810
|
-
* Formula: walletAddress = privateKeyToAddress(keccak256(dnaHash + timestamp + ":agent:wallet"))
|
|
811
|
-
*
|
|
812
|
-
* IMPORTANT: Both frontend (this function) and backend (agent-wallet.ts) use
|
|
813
|
-
* the same derivation formula. The walletAddress is stored in IPFS metadata and
|
|
814
|
-
* the backend verifies it can derive the same address from dnaHash + walletTimestamp.
|
|
815
|
-
*/
|
|
816
|
-
export declare function deriveAgentWalletAddress(dnaHash: `0x${string}`, timestamp: number): `0x${string}`;
|
|
817
|
-
/**
|
|
818
|
-
* Convert USDC amount to wei (6 decimals)
|
|
819
|
-
*/
|
|
820
|
-
export declare function usdcToWei(amount: number | string): bigint;
|
|
821
|
-
/**
|
|
822
|
-
* Convert USDC wei to display amount
|
|
823
|
-
*/
|
|
824
|
-
export declare function weiToUsdc(wei: bigint): string;
|
|
825
|
-
/**
|
|
826
|
-
* Format price for display
|
|
827
|
-
*/
|
|
828
|
-
export declare function formatUsdcPrice(wei: bigint): string;
|
|
829
|
-
/**
|
|
830
|
-
* Compute hash for external agent (used as originalAgentHash in Warp contract)
|
|
831
|
-
* Creates a unique identifier for an agent from an external registry
|
|
832
|
-
*/
|
|
833
|
-
export declare function computeExternalAgentHash(registry: string, address: string): `0x${string}`;
|
|
834
|
-
/**
|
|
835
|
-
* Compute Manowar DNA hash for unique identification
|
|
836
|
-
*
|
|
837
|
-
* This creates a unique identifier for a manowar workflow based on:
|
|
838
|
-
* - The manowar contract address
|
|
839
|
-
* - The agent IDs included in the workflow
|
|
840
|
-
* - A timestamp (for uniqueness even with same agents)
|
|
841
|
-
*
|
|
842
|
-
* This hash is stored on-chain and in IPFS metadata at minting time.
|
|
843
|
-
* Both frontend and backend fetch it from there - never duplicate derivation.
|
|
844
|
-
*/
|
|
845
|
-
export declare function computeManowarDnaHash(agentIds: number[], timestamp: number): `0x${string}`;
|
|
846
|
-
/**
|
|
847
|
-
* Derive manowar wallet address from DNA hash + timestamp
|
|
848
|
-
*
|
|
849
|
-
* Similar to agent wallet derivation, this creates a unique wallet address
|
|
850
|
-
* for the manowar workflow. This wallet can be used for:
|
|
851
|
-
* - Receiving x402 payments
|
|
852
|
-
* - Signing workflow-level transactions
|
|
853
|
-
* - Unique identification in the system
|
|
854
|
-
*
|
|
855
|
-
* The wallet address is stored in IPFS metadata as the single source of truth.
|
|
856
|
-
*/
|
|
857
|
-
export declare function deriveManowarWalletAddress(dnaHash: `0x${string}`, timestamp: number): `0x${string}`;
|
|
858
|
-
export interface AgentData {
|
|
859
|
-
dnaHash: `0x${string}`;
|
|
860
|
-
licenses: bigint;
|
|
861
|
-
licensesMinted: bigint;
|
|
862
|
-
licensePrice: bigint;
|
|
863
|
-
creator: Address;
|
|
864
|
-
cloneable: boolean;
|
|
865
|
-
isClone: boolean;
|
|
866
|
-
parentAgentId: bigint;
|
|
867
|
-
agentCardUri: string;
|
|
868
|
-
}
|
|
869
|
-
export interface ManowarData {
|
|
870
|
-
title: string;
|
|
871
|
-
description: string;
|
|
872
|
-
banner: string;
|
|
873
|
-
manowarCardUri: string;
|
|
874
|
-
totalPrice: bigint;
|
|
875
|
-
units: bigint;
|
|
876
|
-
unitsMinted: bigint;
|
|
877
|
-
creator: Address;
|
|
878
|
-
leaseEnabled: boolean;
|
|
879
|
-
leaseDuration: bigint;
|
|
880
|
-
leasePercent: number;
|
|
881
|
-
hasCoordinator: boolean;
|
|
882
|
-
coordinatorModel: string;
|
|
883
|
-
hasActiveRfa: boolean;
|
|
884
|
-
rfaId: bigint;
|
|
885
|
-
}
|
|
886
|
-
export interface MintAgentParams {
|
|
887
|
-
skills: string[];
|
|
888
|
-
chainId: number;
|
|
889
|
-
model: string;
|
|
890
|
-
licenses: number;
|
|
891
|
-
licensePrice: number;
|
|
892
|
-
cloneable: boolean;
|
|
893
|
-
agentCardUri: string;
|
|
894
|
-
}
|
|
895
|
-
export interface MintManowarParams {
|
|
896
|
-
title: string;
|
|
897
|
-
description: string;
|
|
898
|
-
banner: string;
|
|
899
|
-
manowarCardUri: string;
|
|
900
|
-
units: number;
|
|
901
|
-
leaseEnabled: boolean;
|
|
902
|
-
leaseDuration: number;
|
|
903
|
-
leasePercent: number;
|
|
904
|
-
hasCoordinator: boolean;
|
|
905
|
-
coordinatorModel: string;
|
|
906
|
-
agentIds: number[];
|
|
907
|
-
}
|
|
908
|
-
/**
|
|
909
|
-
* RFA Categories - based on actual MCP/GOAT registry categories
|
|
910
|
-
*/
|
|
911
|
-
export declare const RFA_CATEGORIES: readonly [{
|
|
912
|
-
readonly id: "defi";
|
|
913
|
-
readonly label: "DeFi";
|
|
914
|
-
readonly description: "Trading, swaps, liquidity";
|
|
915
|
-
}, {
|
|
916
|
-
readonly id: "social";
|
|
917
|
-
readonly label: "Social";
|
|
918
|
-
readonly description: "Discord, Twitter, Telegram";
|
|
919
|
-
}, {
|
|
920
|
-
readonly id: "ai";
|
|
921
|
-
readonly label: "AI";
|
|
922
|
-
readonly description: "LLM, inference, embeddings";
|
|
923
|
-
}, {
|
|
924
|
-
readonly id: "blockchain";
|
|
925
|
-
readonly label: "Blockchain";
|
|
926
|
-
readonly description: "Web3, on-chain operations";
|
|
927
|
-
}, {
|
|
928
|
-
readonly id: "storage";
|
|
929
|
-
readonly label: "Storage";
|
|
930
|
-
readonly description: "IPFS, files";
|
|
931
|
-
}, {
|
|
932
|
-
readonly id: "productivity";
|
|
933
|
-
readonly label: "Productivity";
|
|
934
|
-
readonly description: "Tasks, automation";
|
|
935
|
-
}, {
|
|
936
|
-
readonly id: "network";
|
|
937
|
-
readonly label: "Network";
|
|
938
|
-
readonly description: "HTTP, APIs";
|
|
939
|
-
}, {
|
|
940
|
-
readonly id: "utility";
|
|
941
|
-
readonly label: "Utility";
|
|
942
|
-
readonly description: "General tools";
|
|
943
|
-
}];
|
|
944
|
-
export type RFACategoryId = typeof RFA_CATEGORIES[number]['id'];
|
|
945
|
-
/**
|
|
946
|
-
* Encode a skill/category string as bytes32 for the RFA contract
|
|
947
|
-
* Uses keccak256 hash of the lowercased skill string
|
|
948
|
-
*/
|
|
949
|
-
export declare function encodeSkillAsBytes32(skill: string): `0x${string}`;
|
|
950
|
-
/**
|
|
951
|
-
* RFA bounty constraints
|
|
952
|
-
*/
|
|
953
|
-
export declare const RFA_BOUNTY_LIMITS: {
|
|
954
|
-
readonly MIN_BOUNTY: 0.1;
|
|
955
|
-
readonly MAX_BOUNTY: 1;
|
|
956
|
-
readonly DEFAULT_BOUNTY: 0.5;
|
|
957
|
-
readonly BASIC_BOUNTY: 0.1;
|
|
958
|
-
readonly README_BONUS_MAX: 0.9;
|
|
959
|
-
};
|
|
960
|
-
//# sourceMappingURL=contracts.d.ts.map
|