@compose-market/theme 0.0.2 → 0.0.3
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/components/RFAComponent.d.ts +10 -0
- package/dist/components/RFAComponent.d.ts.map +1 -0
- package/dist/components/RFAComponent.js +288 -0
- package/dist/components/RFAComponent.js.map +1 -0
- package/dist/components/RFADetails.d.ts +9 -0
- package/dist/components/RFADetails.d.ts.map +1 -0
- package/dist/components/RFADetails.js +407 -0
- package/dist/components/RFADetails.js.map +1 -0
- package/dist/components/agent-card.d.ts +8 -0
- package/dist/components/agent-card.d.ts.map +1 -0
- package/dist/components/agent-card.js +216 -0
- package/dist/components/agent-card.js.map +1 -0
- package/dist/components/backpack.d.ts +21 -0
- package/dist/components/backpack.d.ts.map +1 -0
- package/dist/components/backpack.js +905 -0
- package/dist/components/backpack.js.map +1 -0
- package/dist/components/blur.d.ts +9 -0
- package/dist/components/blur.d.ts.map +1 -0
- package/dist/components/blur.js +60 -0
- package/dist/components/blur.js.map +1 -0
- package/dist/components/brand/Logo.d.ts +3 -3
- package/dist/components/brand/Logo.d.ts.map +1 -1
- package/dist/components/brand/Logo.js +37 -4
- package/dist/components/brand/Logo.js.map +1 -1
- package/dist/components/chat.d.ts +68 -0
- package/dist/components/chat.d.ts.map +1 -0
- package/dist/components/chat.js +618 -0
- package/dist/components/chat.js.map +1 -0
- package/dist/components/compose/index.d.ts +10 -0
- package/dist/components/compose/index.d.ts.map +1 -0
- package/dist/components/compose/index.js +13 -0
- package/dist/components/compose/index.js.map +1 -0
- package/dist/components/compose/nodes/agent-node.d.ts +11 -0
- package/dist/components/compose/nodes/agent-node.d.ts.map +1 -0
- package/dist/components/compose/nodes/agent-node.js +101 -0
- package/dist/components/compose/nodes/agent-node.js.map +1 -0
- package/dist/components/compose/nodes/hook-node.d.ts +11 -0
- package/dist/components/compose/nodes/hook-node.d.ts.map +1 -0
- package/dist/components/compose/nodes/hook-node.js +100 -0
- package/dist/components/compose/nodes/hook-node.js.map +1 -0
- package/dist/components/compose/nodes/index.d.ts +60 -0
- package/dist/components/compose/nodes/index.d.ts.map +1 -0
- package/dist/components/compose/nodes/index.js +22 -0
- package/dist/components/compose/nodes/index.js.map +1 -0
- package/dist/components/compose/nodes/step-node.d.ts +11 -0
- package/dist/components/compose/nodes/step-node.d.ts.map +1 -0
- package/dist/components/compose/nodes/step-node.js +88 -0
- package/dist/components/compose/nodes/step-node.js.map +1 -0
- package/dist/components/compose/nodes/trigger-node.d.ts +11 -0
- package/dist/components/compose/nodes/trigger-node.d.ts.map +1 -0
- package/dist/components/compose/nodes/trigger-node.js +92 -0
- package/dist/components/compose/nodes/trigger-node.js.map +1 -0
- package/dist/components/compose/overlay.d.ts +26 -0
- package/dist/components/compose/overlay.d.ts.map +1 -0
- package/dist/components/compose/overlay.js +48 -0
- package/dist/components/compose/overlay.js.map +1 -0
- package/dist/components/compose/pickers/agents-picker.d.ts +18 -0
- package/dist/components/compose/pickers/agents-picker.d.ts.map +1 -0
- package/dist/components/compose/pickers/agents-picker.js +180 -0
- package/dist/components/compose/pickers/agents-picker.js.map +1 -0
- package/dist/components/compose/pickers/connector-detail.d.ts +16 -0
- package/dist/components/compose/pickers/connector-detail.d.ts.map +1 -0
- package/dist/components/compose/pickers/connector-detail.js +236 -0
- package/dist/components/compose/pickers/connector-detail.js.map +1 -0
- package/dist/components/compose/pickers/connector-picker.d.ts +13 -0
- package/dist/components/compose/pickers/connector-picker.d.ts.map +1 -0
- package/dist/components/compose/pickers/connector-picker.js +101 -0
- package/dist/components/compose/pickers/connector-picker.js.map +1 -0
- package/dist/components/compose/pickers/index.d.ts +10 -0
- package/dist/components/compose/pickers/index.d.ts.map +1 -0
- package/dist/components/compose/pickers/index.js +10 -0
- package/dist/components/compose/pickers/index.js.map +1 -0
- package/dist/components/compose/pickers/trigger-picker.d.ts +13 -0
- package/dist/components/compose/pickers/trigger-picker.d.ts.map +1 -0
- package/dist/components/compose/pickers/trigger-picker.js +110 -0
- package/dist/components/compose/pickers/trigger-picker.js.map +1 -0
- package/dist/components/compose/toolbox.d.ts +24 -0
- package/dist/components/compose/toolbox.d.ts.map +1 -0
- package/dist/components/compose/toolbox.js +183 -0
- package/dist/components/compose/toolbox.js.map +1 -0
- package/dist/components/connector.d.ts +24 -0
- package/dist/components/connector.d.ts.map +1 -0
- package/dist/components/connector.js +263 -0
- package/dist/components/connector.js.map +1 -0
- package/dist/components/dispenser.d.ts +15 -0
- package/dist/components/dispenser.d.ts.map +1 -0
- package/dist/components/dispenser.js +323 -0
- package/dist/components/dispenser.js.map +1 -0
- package/dist/components/layout/AppLayout.d.ts +60 -0
- package/dist/components/layout/AppLayout.d.ts.map +1 -0
- package/dist/components/layout/AppLayout.js +265 -0
- package/dist/components/layout/AppLayout.js.map +1 -0
- package/dist/components/layout/Layout.d.ts +6 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/Layout.js +186 -0
- package/dist/components/layout/Layout.js.map +1 -0
- package/dist/components/layout/Sidebar.d.ts +3 -0
- package/dist/components/layout/Sidebar.d.ts.map +1 -0
- package/dist/components/layout/Sidebar.js +160 -0
- package/dist/components/layout/Sidebar.js.map +1 -0
- package/dist/components/layout/TopBar.d.ts +6 -0
- package/dist/components/layout/TopBar.d.ts.map +1 -0
- package/dist/components/layout/TopBar.js +36 -0
- package/dist/components/layout/TopBar.js.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/components/layout/index.js +2 -0
- package/dist/components/layout/index.js.map +1 -0
- package/dist/components/lyria-player.d.ts +23 -0
- package/dist/components/lyria-player.d.ts.map +1 -0
- package/dist/components/lyria-player.js +241 -0
- package/dist/components/lyria-player.js.map +1 -0
- package/dist/components/manowar-card.d.ts +8 -0
- package/dist/components/manowar-card.d.ts.map +1 -0
- package/dist/components/manowar-card.js +349 -0
- package/dist/components/manowar-card.js.map +1 -0
- package/dist/components/mirror-pane.d.ts +55 -0
- package/dist/components/mirror-pane.d.ts.map +1 -0
- package/dist/components/mirror-pane.js +330 -0
- package/dist/components/mirror-pane.js.map +1 -0
- package/dist/components/model-selector.d.ts +12 -0
- package/dist/components/model-selector.d.ts.map +1 -0
- package/dist/components/model-selector.js +148 -0
- package/dist/components/model-selector.js.map +1 -0
- package/dist/components/output.d.ts +26 -0
- package/dist/components/output.d.ts.map +1 -0
- package/dist/components/output.js +259 -0
- package/dist/components/output.js.map +1 -0
- package/dist/components/partners.d.ts +13 -0
- package/dist/components/partners.d.ts.map +1 -0
- package/dist/components/partners.js +210 -0
- package/dist/components/partners.js.map +1 -0
- package/dist/components/plugin-tester.d.ts +13 -0
- package/dist/components/plugin-tester.d.ts.map +1 -0
- package/dist/components/plugin-tester.js +907 -0
- package/dist/components/plugin-tester.js.map +1 -0
- package/dist/components/session/SessionComponents.d.ts +2 -0
- package/dist/components/session/SessionComponents.d.ts.map +1 -0
- package/dist/components/session/SessionComponents.js +2 -0
- package/dist/components/session/SessionComponents.js.map +1 -0
- package/dist/components/session/index.d.ts +2 -0
- package/dist/components/session/index.d.ts.map +1 -0
- package/dist/components/session/index.js +2 -0
- package/dist/components/session/index.js.map +1 -0
- package/dist/components/session.d.ts +3 -3
- package/dist/components/session.d.ts.map +1 -1
- package/dist/components/session.js +315 -15
- package/dist/components/session.js.map +1 -1
- package/dist/components/share-dialog.d.ts +9 -0
- package/dist/components/share-dialog.d.ts.map +1 -0
- package/dist/components/share-dialog.js +49 -0
- package/dist/components/share-dialog.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +6 -0
- package/dist/components/ui/accordion.d.ts.map +1 -0
- package/dist/components/ui/accordion.js +20 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +29 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/alert.d.ts +5 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/alert.js +22 -0
- package/dist/components/ui/alert.js.map +1 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/components/ui/aspect-ratio.js +4 -0
- package/dist/components/ui/aspect-ratio.js.map +1 -0
- package/dist/components/ui/avatar.d.ts +5 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +12 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +2 -4
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +2 -2
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +16 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +28 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button-group.d.ts +10 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button-group.js +27 -0
- package/dist/components/ui/button-group.js.map +1 -0
- package/dist/components/ui/button.d.ts +2 -5
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +1 -2
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/calendar.js +78 -0
- package/dist/components/ui/calendar.js.map +1 -0
- package/dist/components/ui/card.d.ts +6 -11
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +6 -7
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/carousel.d.ts +9 -0
- package/dist/components/ui/carousel.d.ts.map +1 -0
- package/dist/components/ui/carousel.js +110 -0
- package/dist/components/ui/carousel.js.map +1 -0
- package/dist/components/ui/chart.d.ts +28 -0
- package/dist/components/ui/chart.d.ts.map +1 -0
- package/dist/components/ui/chart.js +168 -0
- package/dist/components/ui/chart.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +3 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +12 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/collapsible.js +7 -0
- package/dist/components/ui/collapsible.js.map +1 -0
- package/dist/components/ui/command.d.ts +16 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +38 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/context-menu.d.ts +21 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/context-menu.js +52 -0
- package/dist/components/ui/context-menu.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +10 -11
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog.js +15 -7
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/drawer.d.ts +23 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +28 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +15 -22
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +28 -10
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/empty.d.ts +10 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/empty.js +33 -0
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/field.d.ts +23 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +82 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/form.d.ts +11 -0
- package/dist/components/ui/form.d.ts.map +1 -0
- package/dist/components/ui/form.js +71 -0
- package/dist/components/ui/form.js.map +1 -0
- package/dist/components/ui/hover-card.d.ts +5 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -0
- package/dist/components/ui/hover-card.js +9 -0
- package/dist/components/ui/hover-card.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +13 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +63 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input-otp.d.ts +6 -0
- package/dist/components/ui/input-otp.d.ts.map +1 -0
- package/dist/components/ui/input-otp.js +25 -0
- package/dist/components/ui/input-otp.js.map +1 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +8 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/item.d.ts +19 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/item.js +67 -0
- package/dist/components/ui/item.js.map +1 -0
- package/dist/components/ui/kbd.d.ts +4 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/kbd.js +9 -0
- package/dist/components/ui/kbd.js.map +1 -0
- package/dist/components/ui/label.d.ts +3 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +10 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/menubar.d.ts +23 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +64 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +11 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +34 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/network-selector.d.ts +22 -0
- package/dist/components/ui/network-selector.d.ts.map +1 -0
- package/dist/components/ui/network-selector.js +99 -0
- package/dist/components/ui/network-selector.js.map +1 -0
- package/dist/components/ui/pagination.d.ts +29 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/components/ui/pagination.js +32 -0
- package/dist/components/ui/pagination.js.map +1 -0
- package/dist/components/ui/popover.d.ts +6 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +12 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/progress.d.ts +1 -3
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/progress.js +3 -2
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/radio-group.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -0
- package/dist/components/ui/radio-group.js +18 -0
- package/dist/components/ui/radio-group.js.map +1 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +13 -0
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +4 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +19 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.d.ts +12 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +51 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +3 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +7 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/sheet.d.ts +19 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +46 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/sidebar.d.ts +58 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/sidebar.js +246 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +6 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/slider.d.ts +3 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +12 -0
- package/dist/components/ui/slider.js.map +1 -0
- package/dist/components/ui/sonner.d.ts +5 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +16 -0
- package/dist/components/ui/sonner.js.map +1 -0
- package/dist/components/ui/spinner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +7 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.d.ts +3 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +9 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/table.js +22 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +6 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +13 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +8 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toast.d.ts +12 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +35 -0
- package/dist/components/ui/toast.js.map +1 -0
- package/dist/components/ui/toaster.d.ts +2 -0
- package/dist/components/ui/toaster.d.ts.map +1 -0
- package/dist/components/ui/toaster.js +19 -0
- package/dist/components/ui/toaster.js.map +1 -0
- package/dist/components/ui/toggle-group.d.ts +4 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/components/ui/toggle-group.js +27 -0
- package/dist/components/ui/toggle-group.js.map +1 -0
- package/dist/components/ui/toggle.d.ts +4 -0
- package/dist/components/ui/toggle.d.ts.map +1 -0
- package/dist/components/ui/toggle.js +25 -0
- package/dist/components/ui/toggle.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +6 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +13 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/visual/ManowarField.d.ts +9 -0
- package/dist/components/visual/ManowarField.d.ts.map +1 -0
- package/dist/components/visual/ManowarField.js +111 -0
- package/dist/components/visual/ManowarField.js.map +1 -0
- package/dist/components/warp-form.d.ts +22 -0
- package/dist/components/warp-form.d.ts.map +1 -0
- package/dist/components/warp-form.js +743 -0
- package/dist/components/warp-form.js.map +1 -0
- package/dist/css/dark.css +38 -0
- package/dist/css/index.css +9 -0
- package/dist/css/index.d.ts +16 -0
- package/dist/css/index.d.ts.map +1 -0
- package/dist/css/index.js +96 -0
- package/dist/css/index.js.map +1 -0
- package/dist/css/light.css +70 -0
- package/dist/css/tokens.css +24 -0
- package/dist/hooks/use-agents.d.ts +17 -0
- package/dist/hooks/use-agents.d.ts.map +1 -0
- package/dist/hooks/use-agents.js +64 -0
- package/dist/hooks/use-agents.js.map +1 -0
- package/dist/hooks/use-api.d.ts +28 -0
- package/dist/hooks/use-api.d.ts.map +1 -0
- package/dist/hooks/use-api.js +114 -0
- package/dist/hooks/use-api.js.map +1 -0
- package/dist/hooks/use-chat.d.ts +64 -0
- package/dist/hooks/use-chat.d.ts.map +1 -0
- package/dist/hooks/use-chat.js +350 -0
- package/dist/hooks/use-chat.js.map +1 -0
- package/dist/hooks/use-coordinator.d.ts +41 -0
- package/dist/hooks/use-coordinator.d.ts.map +1 -0
- package/dist/hooks/use-coordinator.js +110 -0
- package/dist/hooks/use-coordinator.js.map +1 -0
- package/dist/hooks/use-dispenser.d.ts +68 -0
- package/dist/hooks/use-dispenser.d.ts.map +1 -0
- package/dist/hooks/use-dispenser.js +113 -0
- package/dist/hooks/use-dispenser.js.map +1 -0
- package/dist/hooks/use-lyria.d.ts +58 -0
- package/dist/hooks/use-lyria.d.ts.map +1 -0
- package/dist/hooks/use-lyria.js +254 -0
- package/dist/hooks/use-lyria.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +16 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/hooks/use-model.d.ts +34 -0
- package/dist/hooks/use-model.d.ts.map +1 -0
- package/dist/hooks/use-model.js +105 -0
- package/dist/hooks/use-model.js.map +1 -0
- package/dist/hooks/use-motion-governor.d.ts +10 -0
- package/dist/hooks/use-motion-governor.d.ts.map +1 -0
- package/dist/hooks/use-motion-governor.js +63 -0
- package/dist/hooks/use-motion-governor.js.map +1 -0
- package/dist/hooks/use-multichain.d.ts +34 -0
- package/dist/hooks/use-multichain.d.ts.map +1 -0
- package/dist/hooks/use-multichain.js +120 -0
- package/dist/hooks/use-multichain.js.map +1 -0
- package/dist/hooks/use-onchain.d.ts +145 -0
- package/dist/hooks/use-onchain.d.ts.map +1 -0
- package/dist/hooks/use-onchain.js +652 -0
- package/dist/hooks/use-onchain.js.map +1 -0
- package/dist/hooks/use-registry.d.ts +140 -0
- package/dist/hooks/use-registry.d.ts.map +1 -0
- package/dist/hooks/use-registry.js +264 -0
- package/dist/hooks/use-registry.js.map +1 -0
- package/dist/hooks/use-services.d.ts +66 -0
- package/dist/hooks/use-services.d.ts.map +1 -0
- package/dist/hooks/use-services.js +216 -0
- package/dist/hooks/use-services.js.map +1 -0
- package/dist/hooks/use-session.d.ts +36 -0
- package/dist/hooks/use-session.d.ts.map +1 -0
- package/dist/hooks/use-session.js +449 -0
- package/dist/hooks/use-session.js.map +1 -0
- package/dist/hooks/use-sse.d.ts +8 -0
- package/dist/hooks/use-sse.d.ts.map +1 -0
- package/dist/hooks/use-sse.js +86 -0
- package/dist/hooks/use-sse.js.map +1 -0
- package/dist/hooks/use-tabs.d.ts +2 -0
- package/dist/hooks/use-tabs.d.ts.map +1 -0
- package/dist/hooks/use-tabs.js +43 -0
- package/dist/hooks/use-tabs.js.map +1 -0
- package/dist/hooks/use-toast.d.ts +41 -0
- package/dist/hooks/use-toast.d.ts.map +1 -0
- package/dist/hooks/use-toast.js +127 -0
- package/dist/hooks/use-toast.js.map +1 -0
- package/dist/hooks/use-triggers.d.ts +51 -0
- package/dist/hooks/use-triggers.d.ts.map +1 -0
- package/dist/hooks/use-triggers.js +212 -0
- package/dist/hooks/use-triggers.js.map +1 -0
- package/dist/hooks/use-warp.d.ts +53 -0
- package/dist/hooks/use-warp.d.ts.map +1 -0
- package/dist/hooks/use-warp.js +231 -0
- package/dist/hooks/use-warp.js.map +1 -0
- package/dist/hooks/use-workflow.d.ts +40 -0
- package/dist/hooks/use-workflow.d.ts.map +1 -0
- package/dist/hooks/use-workflow.js +358 -0
- package/dist/hooks/use-workflow.js.map +1 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/lib/agents.d.ts +186 -0
- package/dist/lib/agents.d.ts.map +1 -0
- package/dist/lib/agents.js +633 -0
- package/dist/lib/agents.js.map +1 -0
- package/dist/lib/api.d.ts +224 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/api.js +443 -0
- package/dist/lib/api.js.map +1 -0
- package/dist/lib/chains.d.ts +151 -0
- package/dist/lib/chains.d.ts.map +1 -0
- package/dist/lib/chains.js +297 -0
- package/dist/lib/chains.js.map +1 -0
- package/dist/lib/contracts.d.ts +960 -0
- package/dist/lib/contracts.d.ts.map +1 -0
- package/dist/lib/contracts.js +716 -0
- package/dist/lib/contracts.js.map +1 -0
- package/dist/lib/cronos/aa.d.ts +111 -0
- package/dist/lib/cronos/aa.d.ts.map +1 -0
- package/dist/lib/cronos/aa.js +312 -0
- package/dist/lib/cronos/aa.js.map +1 -0
- package/dist/lib/cronos/facilitator.d.ts +87 -0
- package/dist/lib/cronos/facilitator.d.ts.map +1 -0
- package/dist/lib/cronos/facilitator.js +183 -0
- package/dist/lib/cronos/facilitator.js.map +1 -0
- package/dist/lib/evm.d.ts +45 -0
- package/dist/lib/evm.d.ts.map +1 -0
- package/dist/lib/evm.js +78 -0
- package/dist/lib/evm.js.map +1 -0
- package/dist/lib/mockData.d.ts +26 -0
- package/dist/lib/mockData.d.ts.map +1 -0
- package/dist/lib/mockData.js +89 -0
- package/dist/lib/mockData.js.map +1 -0
- package/dist/lib/models.d.ts +122 -0
- package/dist/lib/models.d.ts.map +1 -0
- package/dist/lib/models.js +174 -0
- package/dist/lib/models.js.map +1 -0
- package/dist/lib/multimodal.d.ts +53 -0
- package/dist/lib/multimodal.d.ts.map +1 -0
- package/dist/lib/multimodal.js +204 -0
- package/dist/lib/multimodal.js.map +1 -0
- package/dist/lib/payment.d.ts +67 -0
- package/dist/lib/payment.d.ts.map +1 -0
- package/dist/lib/payment.js +236 -0
- package/dist/lib/payment.js.map +1 -0
- package/dist/lib/pinata.d.ts +140 -0
- package/dist/lib/pinata.d.ts.map +1 -0
- package/dist/lib/pinata.js +209 -0
- package/dist/lib/pinata.js.map +1 -0
- package/dist/lib/queryClient.d.ts +9 -0
- package/dist/lib/queryClient.d.ts.map +1 -0
- package/dist/lib/queryClient.js +42 -0
- package/dist/lib/queryClient.js.map +1 -0
- package/dist/lib/services.d.ts +164 -0
- package/dist/lib/services.d.ts.map +1 -0
- package/dist/lib/services.js +304 -0
- package/dist/lib/services.js.map +1 -0
- package/dist/lib/share.d.ts +12 -0
- package/dist/lib/share.d.ts.map +1 -0
- package/dist/lib/share.js +39 -0
- package/dist/lib/share.js.map +1 -0
- package/dist/lib/triggers.d.ts +128 -0
- package/dist/lib/triggers.d.ts.map +1 -0
- package/dist/lib/triggers.js +305 -0
- package/dist/lib/triggers.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/tailwind/preset.d.ts +282 -0
- package/dist/tailwind/preset.d.ts.map +1 -0
- package/dist/tailwind/preset.js +144 -0
- package/dist/tailwind/preset.js.map +1 -0
- package/package.json +9 -45
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface RFAComponentProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onOpenChange: (open: boolean) => void;
|
|
4
|
+
manowarId: number;
|
|
5
|
+
manowarTitle?: string;
|
|
6
|
+
onSuccess?: (rfaId: number) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function RFAComponent({ open, onOpenChange, manowarId, manowarTitle, onSuccess, }: RFAComponentProps): any;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=RFAComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFAComponent.d.ts","sourceRoot":"","sources":["../../src/components/RFAComponent.tsx"],"names":[],"mappings":"AA+EA,UAAU,iBAAiB;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAYD,wBAAgB,YAAY,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,GACZ,EAAE,iBAAiB,OAuUnB"}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RFA (Request-For-Agent) Component
|
|
3
|
+
*
|
|
4
|
+
* Simple form for creating an RFA (bounty request) for a missing agent.
|
|
5
|
+
* Used in compose.tsx when the manowar creator needs an agent that doesn't exist.
|
|
6
|
+
*/
|
|
7
|
+
import { useState, useMemo } from "react";
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
import { useForm } from "react-hook-form";
|
|
10
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
11
|
+
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from "@/components/ui/dialog";
|
|
12
|
+
import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form";
|
|
13
|
+
import { Input } from "@/components/ui/input";
|
|
14
|
+
import { Textarea } from "@/components/ui/textarea";
|
|
15
|
+
import { Button } from "@/components/ui/button";
|
|
16
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select";
|
|
17
|
+
import { Slider } from "@/components/ui/slider";
|
|
18
|
+
import { useToast } from "@/hooks/use-toast";
|
|
19
|
+
import { useActiveAccount, useActiveWallet, useSendTransaction } from "thirdweb/react";
|
|
20
|
+
import { prepareContractCall, readContract } from "thirdweb";
|
|
21
|
+
import { getRFAContract, getContractAddress, RFA_CATEGORIES, RFA_BOUNTY_LIMITS, encodeSkillAsBytes32, usdcToWei, } from "@/lib/contracts";
|
|
22
|
+
import { DollarSign, Loader2, FileSearch, Sparkles, AlertCircle, CheckCircle2, Info, } from "lucide-react";
|
|
23
|
+
import { useChain } from "@/contexts/ChainContext";
|
|
24
|
+
// =============================================================================
|
|
25
|
+
// Form Schema
|
|
26
|
+
// =============================================================================
|
|
27
|
+
const rfaFormSchema = z.object({
|
|
28
|
+
description: z.string().min(20, "Description must be at least 20 characters").max(500),
|
|
29
|
+
category: z.string().min(1, "Please select a category"),
|
|
30
|
+
offerAmount: z.number().min(RFA_BOUNTY_LIMITS.MIN_BOUNTY).max(RFA_BOUNTY_LIMITS.MAX_BOUNTY),
|
|
31
|
+
});
|
|
32
|
+
// =============================================================================
|
|
33
|
+
// USDC Contract Helper - Now uses dynamic chain configuration
|
|
34
|
+
// =============================================================================
|
|
35
|
+
import { getUsdcContractForChain } from "../lib/chains";
|
|
36
|
+
// =============================================================================
|
|
37
|
+
// Component
|
|
38
|
+
// =============================================================================
|
|
39
|
+
export function RFAComponent({ open, onOpenChange, manowarId, manowarTitle, onSuccess, }) {
|
|
40
|
+
const { toast } = useToast();
|
|
41
|
+
const wallet = useActiveWallet();
|
|
42
|
+
const account = useActiveAccount();
|
|
43
|
+
const { mutateAsync: sendTransaction, isPending } = useSendTransaction();
|
|
44
|
+
const { paymentChainId } = useChain();
|
|
45
|
+
const [step, setStep] = useState("form");
|
|
46
|
+
const form = useForm({
|
|
47
|
+
resolver: zodResolver(rfaFormSchema),
|
|
48
|
+
defaultValues: {
|
|
49
|
+
description: "",
|
|
50
|
+
category: "",
|
|
51
|
+
offerAmount: RFA_BOUNTY_LIMITS.DEFAULT_BOUNTY,
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
const offerAmount = form.watch("offerAmount");
|
|
55
|
+
const category = form.watch("category");
|
|
56
|
+
// Calculate bounty breakdown
|
|
57
|
+
const bountyBreakdown = useMemo(() => {
|
|
58
|
+
const basic = RFA_BOUNTY_LIMITS.BASIC_BOUNTY;
|
|
59
|
+
const bonus = Math.max(0, offerAmount - basic);
|
|
60
|
+
return { basic, bonus };
|
|
61
|
+
}, [offerAmount]);
|
|
62
|
+
// Get category label
|
|
63
|
+
const categoryLabel = useMemo(() => {
|
|
64
|
+
return RFA_CATEGORIES.find(c => c.id === category)?.label || "";
|
|
65
|
+
}, [category]);
|
|
66
|
+
// Reset form when dialog closes
|
|
67
|
+
const handleOpenChange = (isOpen) => {
|
|
68
|
+
if (!isOpen) {
|
|
69
|
+
form.reset();
|
|
70
|
+
setStep("form");
|
|
71
|
+
}
|
|
72
|
+
onOpenChange(isOpen);
|
|
73
|
+
};
|
|
74
|
+
// Handle form submission
|
|
75
|
+
const onSubmit = async (values) => {
|
|
76
|
+
if (!wallet || !account) {
|
|
77
|
+
toast({
|
|
78
|
+
title: "Wallet Not Connected",
|
|
79
|
+
description: "Please connect your wallet to create an RFA",
|
|
80
|
+
variant: "destructive",
|
|
81
|
+
});
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
try {
|
|
85
|
+
const rfaContract = getRFAContract();
|
|
86
|
+
const usdcContract = getUsdcContractForChain(paymentChainId);
|
|
87
|
+
const rfaAddress = getContractAddress("RFA");
|
|
88
|
+
// Convert offer amount to USDC wei (6 decimals)
|
|
89
|
+
const offerAmountWei = usdcToWei(values.offerAmount);
|
|
90
|
+
// Encode category as bytes32 skill
|
|
91
|
+
const requiredSkills = [encodeSkillAsBytes32(values.category)];
|
|
92
|
+
// Generate title from category
|
|
93
|
+
const title = `${categoryLabel} Agent Request`;
|
|
94
|
+
// Step 1: Check and approve USDC
|
|
95
|
+
setStep("approving");
|
|
96
|
+
// Check current allowance
|
|
97
|
+
const currentAllowance = await readContract({
|
|
98
|
+
contract: usdcContract,
|
|
99
|
+
method: "function allowance(address owner, address spender) view returns (uint256)",
|
|
100
|
+
params: [account.address, rfaAddress],
|
|
101
|
+
});
|
|
102
|
+
if (currentAllowance < offerAmountWei) {
|
|
103
|
+
// Need approval
|
|
104
|
+
const approvalTx = prepareContractCall({
|
|
105
|
+
contract: usdcContract,
|
|
106
|
+
method: "function approve(address spender, uint256 amount) returns (bool)",
|
|
107
|
+
params: [rfaAddress, offerAmountWei],
|
|
108
|
+
});
|
|
109
|
+
await sendTransaction(approvalTx);
|
|
110
|
+
}
|
|
111
|
+
// Step 2: Create RFA
|
|
112
|
+
setStep("creating");
|
|
113
|
+
const createTx = prepareContractCall({
|
|
114
|
+
contract: rfaContract,
|
|
115
|
+
method: "function createRFA(uint256 manowarId, string title, string description, bytes32[] requiredSkills, uint256 offerAmount) returns (uint256 rfaId)",
|
|
116
|
+
params: [
|
|
117
|
+
BigInt(manowarId),
|
|
118
|
+
title,
|
|
119
|
+
values.description,
|
|
120
|
+
requiredSkills,
|
|
121
|
+
offerAmountWei,
|
|
122
|
+
],
|
|
123
|
+
});
|
|
124
|
+
const result = await sendTransaction(createTx);
|
|
125
|
+
toast({
|
|
126
|
+
title: "RFA Created!",
|
|
127
|
+
description: (<div className="space-y-1">
|
|
128
|
+
<p>Agent request published with ${values.offerAmount.toFixed(2)} USDC bounty.</p>
|
|
129
|
+
<p className="text-xs text-muted-foreground">
|
|
130
|
+
Bounty hunters can now submit agents for your request.
|
|
131
|
+
</p>
|
|
132
|
+
</div>),
|
|
133
|
+
});
|
|
134
|
+
// Reset and close
|
|
135
|
+
form.reset();
|
|
136
|
+
setStep("form");
|
|
137
|
+
onOpenChange(false);
|
|
138
|
+
// Call success callback (RFA ID would come from event, for now just signal success)
|
|
139
|
+
onSuccess?.(0);
|
|
140
|
+
}
|
|
141
|
+
catch (error) {
|
|
142
|
+
console.error("RFA creation error:", error);
|
|
143
|
+
setStep("form");
|
|
144
|
+
toast({
|
|
145
|
+
title: "Failed to Create RFA",
|
|
146
|
+
description: error instanceof Error ? error.message : "Unknown error occurred",
|
|
147
|
+
variant: "destructive",
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const isProcessing = step !== "form" || isPending;
|
|
152
|
+
return (<Dialog open={open} onOpenChange={handleOpenChange}>
|
|
153
|
+
<DialogContent className="max-w-lg bg-card border-cyan-500/30">
|
|
154
|
+
<DialogHeader>
|
|
155
|
+
<DialogTitle className="font-display text-lg flex items-center gap-2">
|
|
156
|
+
<FileSearch className="w-5 h-5 text-cyan-400"/>
|
|
157
|
+
Request an Agent
|
|
158
|
+
</DialogTitle>
|
|
159
|
+
<DialogDescription className="text-sm">
|
|
160
|
+
Create a bounty request for a missing agent in your Manowar workflow.
|
|
161
|
+
{manowarTitle && (<span className="block mt-1 font-mono text-cyan-400">
|
|
162
|
+
For: {manowarTitle}
|
|
163
|
+
</span>)}
|
|
164
|
+
</DialogDescription>
|
|
165
|
+
</DialogHeader>
|
|
166
|
+
|
|
167
|
+
<Form {...form}>
|
|
168
|
+
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4 py-2">
|
|
169
|
+
{/* Description */}
|
|
170
|
+
<FormField control={form.control} name="description" render={({ field }) => (<FormItem>
|
|
171
|
+
<FormLabel className="text-xs font-mono text-muted-foreground">
|
|
172
|
+
WHAT DO YOU NEED?
|
|
173
|
+
</FormLabel>
|
|
174
|
+
<FormControl>
|
|
175
|
+
<Textarea placeholder="Describe the agent you need in plain language. What should it do? What capabilities does it need?" className="bg-background/50 border-sidebar-border resize-none min-h-[100px]" {...field}/>
|
|
176
|
+
</FormControl>
|
|
177
|
+
<FormDescription className="text-[10px]">
|
|
178
|
+
Be specific about the agent's purpose and required capabilities.
|
|
179
|
+
</FormDescription>
|
|
180
|
+
<FormMessage />
|
|
181
|
+
</FormItem>)}/>
|
|
182
|
+
|
|
183
|
+
{/* Category */}
|
|
184
|
+
<FormField control={form.control} name="category" render={({ field }) => (<FormItem>
|
|
185
|
+
<FormLabel className="text-xs font-mono text-muted-foreground">
|
|
186
|
+
CATEGORY
|
|
187
|
+
</FormLabel>
|
|
188
|
+
<Select onValueChange={field.onChange} value={field.value}>
|
|
189
|
+
<FormControl>
|
|
190
|
+
<SelectTrigger className="bg-background/50 border-sidebar-border">
|
|
191
|
+
<SelectValue placeholder="Select agent category"/>
|
|
192
|
+
</SelectTrigger>
|
|
193
|
+
</FormControl>
|
|
194
|
+
<SelectContent>
|
|
195
|
+
{RFA_CATEGORIES.map((cat) => (<SelectItem key={cat.id} value={cat.id}>
|
|
196
|
+
<div className="flex items-center gap-2">
|
|
197
|
+
<span className="font-medium">{cat.label}</span>
|
|
198
|
+
<span className="text-xs text-muted-foreground">
|
|
199
|
+
{cat.description}
|
|
200
|
+
</span>
|
|
201
|
+
</div>
|
|
202
|
+
</SelectItem>))}
|
|
203
|
+
</SelectContent>
|
|
204
|
+
</Select>
|
|
205
|
+
<FormMessage />
|
|
206
|
+
</FormItem>)}/>
|
|
207
|
+
|
|
208
|
+
{/* Offer Amount */}
|
|
209
|
+
<FormField control={form.control} name="offerAmount" render={({ field }) => (<FormItem>
|
|
210
|
+
<FormLabel className="text-xs font-mono text-muted-foreground flex items-center gap-2">
|
|
211
|
+
<DollarSign className="w-3 h-3"/>
|
|
212
|
+
BOUNTY AMOUNT (USDC)
|
|
213
|
+
</FormLabel>
|
|
214
|
+
<FormControl>
|
|
215
|
+
<div className="space-y-3">
|
|
216
|
+
<div className="flex items-center gap-4">
|
|
217
|
+
<Slider min={RFA_BOUNTY_LIMITS.MIN_BOUNTY} max={RFA_BOUNTY_LIMITS.MAX_BOUNTY} step={0.05} value={[field.value]} onValueChange={([val]) => field.onChange(val)} className="flex-1"/>
|
|
218
|
+
<div className="w-20">
|
|
219
|
+
<Input type="number" step="0.05" min={RFA_BOUNTY_LIMITS.MIN_BOUNTY} max={RFA_BOUNTY_LIMITS.MAX_BOUNTY} value={field.value} onChange={(e) => field.onChange(parseFloat(e.target.value) || 0)} className="bg-background/50 border-sidebar-border text-center font-mono"/>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
{/* Bounty breakdown */}
|
|
224
|
+
<div className="p-3 rounded-sm bg-cyan-500/5 border border-cyan-500/20">
|
|
225
|
+
<div className="flex items-center justify-between text-xs">
|
|
226
|
+
<span className="text-muted-foreground">Basic bounty:</span>
|
|
227
|
+
<span className="font-mono text-green-400">
|
|
228
|
+
${bountyBreakdown.basic.toFixed(2)}
|
|
229
|
+
</span>
|
|
230
|
+
</div>
|
|
231
|
+
<div className="flex items-center justify-between text-xs mt-1">
|
|
232
|
+
<span className="text-muted-foreground">README bonus (optional):</span>
|
|
233
|
+
<span className="font-mono text-cyan-400">
|
|
234
|
+
+${bountyBreakdown.bonus.toFixed(2)}
|
|
235
|
+
</span>
|
|
236
|
+
</div>
|
|
237
|
+
<div className="flex items-center justify-between text-sm font-bold mt-2 pt-2 border-t border-sidebar-border">
|
|
238
|
+
<span>Total escrowed:</span>
|
|
239
|
+
<span className="font-mono text-cyan-400">
|
|
240
|
+
${field.value.toFixed(2)} USDC
|
|
241
|
+
</span>
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
</div>
|
|
245
|
+
</FormControl>
|
|
246
|
+
<FormDescription className="text-[10px] flex items-start gap-1">
|
|
247
|
+
<Info className="w-3 h-3 mt-0.5 shrink-0"/>
|
|
248
|
+
<span>
|
|
249
|
+
Basic bounty is paid for filling the agent form.
|
|
250
|
+
README bonus is earned when the bounty hunter provides quality documentation.
|
|
251
|
+
</span>
|
|
252
|
+
</FormDescription>
|
|
253
|
+
<FormMessage />
|
|
254
|
+
</FormItem>)}/>
|
|
255
|
+
|
|
256
|
+
{/* Wallet status */}
|
|
257
|
+
<div className="pt-2">
|
|
258
|
+
{!wallet && (<div className="flex items-center gap-2 p-2 rounded-sm bg-yellow-500/10 border border-yellow-500/30 text-yellow-200 text-xs">
|
|
259
|
+
<AlertCircle className="w-3 h-3"/>
|
|
260
|
+
Connect wallet to create RFA
|
|
261
|
+
</div>)}
|
|
262
|
+
{wallet && account && (<div className="flex items-center gap-2 p-2 rounded-sm bg-green-500/10 border border-green-500/30 text-green-200 text-xs">
|
|
263
|
+
<CheckCircle2 className="w-3 h-3"/>
|
|
264
|
+
<span className="font-mono">{account.address.slice(0, 6)}...{account.address.slice(-4)}</span>
|
|
265
|
+
<span className="text-green-300/70">• Gas sponsored</span>
|
|
266
|
+
</div>)}
|
|
267
|
+
</div>
|
|
268
|
+
</form>
|
|
269
|
+
</Form>
|
|
270
|
+
|
|
271
|
+
<DialogFooter className="gap-2">
|
|
272
|
+
<Button variant="outline" onClick={() => handleOpenChange(false)} disabled={isProcessing}>
|
|
273
|
+
Cancel
|
|
274
|
+
</Button>
|
|
275
|
+
<Button onClick={form.handleSubmit(onSubmit)} disabled={!wallet || isProcessing} className="bg-gradient-to-r from-cyan-500 to-fuchsia-500 text-white font-bold">
|
|
276
|
+
{isProcessing ? (<>
|
|
277
|
+
<Loader2 className="w-4 h-4 mr-2 animate-spin"/>
|
|
278
|
+
{step === "approving" ? "Approving USDC..." : "Creating RFA..."}
|
|
279
|
+
</>) : (<>
|
|
280
|
+
<Sparkles className="w-4 h-4 mr-2"/>
|
|
281
|
+
Create Request (${offerAmount.toFixed(2)})
|
|
282
|
+
</>)}
|
|
283
|
+
</Button>
|
|
284
|
+
</DialogFooter>
|
|
285
|
+
</DialogContent>
|
|
286
|
+
</Dialog>);
|
|
287
|
+
}
|
|
288
|
+
//# sourceMappingURL=RFAComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFAComponent.js","sourceRoot":"","sources":["../../src/components/RFAComponent.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EACH,MAAM,EACN,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,GACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,IAAI,EACJ,WAAW,EACX,eAAe,EACf,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EACH,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,GACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,EACH,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACp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,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CACrC,QAAQ,CAAC,CAAC,CAAC,MAAM,IAAI,YAAY,CAAC,CAClC,SAAS,CAAC,oEAAoE,CAE9E;wBAAA,CAAC,YAAY,CAAC,CAAC,CAAC,CACZ,EACI;gCAAA,CAAC,OAAO,CAAC,SAAS,CAAC,2BAA2B,EAC9C;gCAAA,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,CACnE;4BAAA,GAAG,CACN,CAAC,CAAC,CAAC,CACA,EACI;gCAAA,CAAC,QAAQ,CAAC,SAAS,CAAC,cAAc,EAClC;iDAAiB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;4BAC7C,GAAG,CACN,CACL;oBAAA,EAAE,MAAM,CACZ;gBAAA,EAAE,YAAY,CAClB;YAAA,EAAE,aAAa,CACnB;QAAA,EAAE,MAAM,CAAC,CACZ,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface RFADetailsProps {
|
|
2
|
+
rfaId: number | null;
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
mode?: "dialog" | "sheet";
|
|
6
|
+
}
|
|
7
|
+
export declare function RFADetails({ rfaId, open, onOpenChange, mode }: RFADetailsProps): any;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=RFADetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFADetails.d.ts","sourceRoot":"","sources":["../../src/components/RFADetails.tsx"],"names":[],"mappings":"AA8DA,UAAU,eAAe;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC7B;AA+MD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,IAAe,EAAE,EAAE,eAAe,OAgUzF"}
|