@oxy.so/bloom 6.4.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/docs/adoption-matrix.mdx +19 -16
- package/docs/agent-avatar.mdx +24 -0
- package/docs/agent-creator.mdx +50 -0
- package/docs/button.mdx +1 -1
- package/docs/design-tokens.mdx +8 -0
- package/docs/dialog.mdx +6 -0
- package/docs/migrating-to-1.0.mdx +3 -3
- package/docs/multi-agent-chat.mdx +69 -0
- package/docs/project-board.mdx +35 -0
- package/docs/segmented-control.mdx +2 -0
- package/docs/settings-modal.mdx +2 -0
- package/docs/sidebar.mdx +8 -0
- package/docs/stat-widgets.mdx +3 -4
- package/lib/commonjs/agent-avatar/AgentAvatar.js +214 -0
- package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -0
- package/lib/commonjs/agent-avatar/AgentFace.js +26 -0
- package/lib/commonjs/agent-avatar/AgentFace.js.map +1 -0
- package/lib/commonjs/agent-avatar/SvgDrawing.js +207 -0
- package/lib/commonjs/agent-avatar/SvgDrawing.js.map +1 -0
- package/lib/commonjs/agent-avatar/artwork.js +148 -0
- package/lib/commonjs/agent-avatar/artwork.js.map +1 -0
- package/lib/commonjs/agent-avatar/attention.js +79 -0
- package/lib/commonjs/agent-avatar/attention.js.map +1 -0
- package/lib/commonjs/agent-avatar/blink.js +46 -0
- package/lib/commonjs/agent-avatar/blink.js.map +1 -0
- package/lib/commonjs/agent-avatar/context.js +10 -0
- package/lib/commonjs/agent-avatar/context.js.map +1 -0
- package/lib/commonjs/agent-avatar/drawing.js +234 -0
- package/lib/commonjs/agent-avatar/drawing.js.map +1 -0
- package/lib/commonjs/agent-avatar/entrance.js +32 -0
- package/lib/commonjs/agent-avatar/entrance.js.map +1 -0
- package/lib/commonjs/agent-avatar/face.js +403 -0
- package/lib/commonjs/agent-avatar/face.js.map +1 -0
- package/lib/commonjs/agent-avatar/fold-outlines.js +43 -0
- package/lib/commonjs/agent-avatar/fold-outlines.js.map +1 -0
- package/lib/commonjs/agent-avatar/fold.js +322 -0
- package/lib/commonjs/agent-avatar/fold.js.map +1 -0
- package/lib/commonjs/agent-avatar/grain.js +9 -0
- package/lib/commonjs/agent-avatar/grain.js.map +1 -0
- package/lib/commonjs/agent-avatar/index.js +146 -0
- package/lib/commonjs/agent-avatar/index.js.map +1 -0
- package/lib/commonjs/agent-avatar/messages.js +11 -0
- package/lib/commonjs/agent-avatar/messages.js.map +1 -0
- package/lib/commonjs/agent-avatar/model.js +429 -0
- package/lib/commonjs/agent-avatar/model.js.map +1 -0
- package/lib/commonjs/agent-avatar/shape-morph.js +163 -0
- package/lib/commonjs/agent-avatar/shape-morph.js.map +1 -0
- package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js.map +1 -1
- package/lib/commonjs/agent-avatar/wander.js +64 -0
- package/lib/commonjs/agent-avatar/wander.js.map +1 -0
- package/lib/commonjs/agent-avatar/working.js +28 -0
- package/lib/commonjs/agent-avatar/working.js.map +1 -0
- package/lib/commonjs/agent-chat/AgentChatMessage.js +21 -0
- package/lib/commonjs/agent-chat/AgentChatMessage.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.js +32 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreator.web.js +32 -0
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +319 -0
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentPreferencesPanel.js +260 -0
- package/lib/commonjs/agent-creator/AgentPreferencesPanel.js.map +1 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js +374 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/EmotionPicker.js +179 -0
- package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +210 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/ScrollSurface.js +135 -0
- package/lib/commonjs/agent-creator/ScrollSurface.js.map +1 -0
- package/lib/commonjs/agent-creator/ShapeArc.js +222 -0
- package/lib/commonjs/agent-creator/ShapeArc.js.map +1 -0
- package/lib/commonjs/agent-creator/constants.js +68 -0
- package/lib/commonjs/agent-creator/constants.js.map +1 -0
- package/lib/commonjs/agent-creator/context.js +30 -0
- package/lib/commonjs/agent-creator/context.js.map +1 -0
- package/lib/commonjs/agent-creator/index.js +39 -0
- package/lib/commonjs/agent-creator/index.js.map +1 -0
- package/lib/commonjs/agent-creator/index.web.js +39 -0
- package/lib/commonjs/agent-creator/index.web.js.map +1 -0
- package/lib/commonjs/agent-creator/messages.js +104 -0
- package/lib/commonjs/agent-creator/messages.js.map +1 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +83 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -0
- package/lib/commonjs/agent-creator/types.js +6 -0
- package/lib/{module/dot-grid-meter → commonjs/agent-creator}/types.js.map +1 -1
- package/lib/commonjs/agent-creator/use-agent-voices.js +59 -0
- package/lib/commonjs/agent-creator/use-agent-voices.js.map +1 -0
- package/lib/commonjs/agent-creator/use-track-events.js +43 -0
- package/lib/commonjs/agent-creator/use-track-events.js.map +1 -0
- package/lib/commonjs/button/CloseButton.js +4 -1
- package/lib/commonjs/button/CloseButton.js.map +1 -1
- package/lib/commonjs/chip/Chip.js +28 -15
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/design-tokens/component-roles.js +94 -0
- package/lib/commonjs/design-tokens/component-roles.js.map +1 -0
- package/lib/commonjs/design-tokens/tailwind-preset.js +25 -5
- package/lib/commonjs/design-tokens/tailwind-preset.js.map +1 -1
- package/lib/commonjs/design-tokens/theme-css.js +18 -0
- package/lib/commonjs/design-tokens/theme-css.js.map +1 -1
- package/lib/commonjs/design-tokens/theme.css +284 -0
- package/lib/commonjs/dialog/Dialog.js +28 -14
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.web.js +24 -15
- package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
- package/lib/commonjs/dialog/DialogHeader.js +1 -1
- package/lib/commonjs/hooks/use-accessible-name-warning.js +2 -2
- package/lib/commonjs/index.js +143 -103
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +143 -103
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +363 -0
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +351 -0
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +355 -0
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +355 -0
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +355 -0
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +355 -0
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +354 -0
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +354 -0
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +355 -0
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +351 -0
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +355 -0
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +359 -0
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +354 -0
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +351 -0
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js +16 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js +16 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/AvatarHandoff.js +179 -0
- package/lib/commonjs/multi-agent-chat/AvatarHandoff.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js +161 -0
- package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ChatSidebar.js +368 -0
- package/lib/commonjs/multi-agent-chat/ChatSidebar.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/EditorRail.js +63 -0
- package/lib/commonjs/multi-agent-chat/EditorRail.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/Marketplace.js +501 -0
- package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js +123 -0
- package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.js +39 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js +39 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +926 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ReplyRow.js +172 -0
- package/lib/commonjs/multi-agent-chat/ReplyRow.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ScrollSurface.js +94 -0
- package/lib/commonjs/multi-agent-chat/ScrollSurface.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +126 -0
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js +480 -0
- package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/context.js +15 -0
- package/lib/commonjs/multi-agent-chat/context.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/data.js +423 -0
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/handoff.js +104 -0
- package/lib/commonjs/multi-agent-chat/handoff.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/index.js +13 -0
- package/lib/commonjs/multi-agent-chat/index.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/index.web.js +13 -0
- package/lib/commonjs/multi-agent-chat/index.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/marketplace-data.js +145 -0
- package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/marketplace-logos.js +36 -0
- package/lib/commonjs/multi-agent-chat/marketplace-logos.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/messages.js +196 -0
- package/lib/commonjs/multi-agent-chat/messages.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/model-catalog.js +771 -0
- package/lib/commonjs/multi-agent-chat/model-catalog.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/stream-reply.js +41 -0
- package/lib/commonjs/multi-agent-chat/stream-reply.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/types.js +6 -0
- package/lib/commonjs/multi-agent-chat/types.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/use-replies.js +157 -0
- package/lib/commonjs/multi-agent-chat/use-replies.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/use-workspace.js +57 -0
- package/lib/commonjs/multi-agent-chat/use-workspace.js.map +1 -0
- package/lib/commonjs/project-board/BoardTooltip.js +49 -0
- package/lib/commonjs/project-board/BoardTooltip.js.map +1 -0
- package/lib/commonjs/project-board/CreateTicketDialog.js +330 -0
- package/lib/commonjs/project-board/CreateTicketDialog.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoard.js +39 -0
- package/lib/commonjs/project-board/ProjectBoard.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoard.web.js +40 -0
- package/lib/commonjs/project-board/ProjectBoard.web.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardBase.js +768 -0
- package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardControls.js +198 -0
- package/lib/commonjs/project-board/ProjectBoardControls.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardEmptyState.js +171 -0
- package/lib/commonjs/project-board/ProjectBoardEmptyState.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardIcons.js +91 -0
- package/lib/commonjs/project-board/ProjectBoardIcons.js.map +1 -0
- package/lib/commonjs/project-board/RiInboxArchiveLine.js +11 -0
- package/lib/commonjs/project-board/RiInboxArchiveLine.js.map +1 -0
- package/lib/commonjs/project-board/RiMoreLine.js +11 -0
- package/lib/commonjs/project-board/RiMoreLine.js.map +1 -0
- package/lib/commonjs/project-board/RiPieChart2Line.js +11 -0
- package/lib/commonjs/project-board/RiPieChart2Line.js.map +1 -0
- package/lib/commonjs/project-board/RiRestartLine.js +11 -0
- package/lib/commonjs/project-board/RiRestartLine.js.map +1 -0
- package/lib/commonjs/project-board/SourcePrimitives.js +135 -0
- package/lib/commonjs/project-board/SourcePrimitives.js.map +1 -0
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js +338 -0
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js.map +1 -0
- package/lib/commonjs/project-board/TicketDetailDialog.js +597 -0
- package/lib/commonjs/project-board/TicketDetailDialog.js.map +1 -0
- package/lib/commonjs/project-board/TicketGenieSurface.js +76 -0
- package/lib/commonjs/project-board/TicketGenieSurface.js.map +1 -0
- package/lib/commonjs/project-board/TicketGenieSurface.web.js +193 -0
- package/lib/commonjs/project-board/TicketGenieSurface.web.js.map +1 -0
- package/lib/commonjs/project-board/animation.web.js +21 -0
- package/lib/commonjs/project-board/animation.web.js.map +1 -0
- package/lib/commonjs/project-board/constants.js +18 -0
- package/lib/commonjs/project-board/constants.js.map +1 -0
- package/lib/commonjs/project-board/context.js +15 -0
- package/lib/commonjs/project-board/context.js.map +1 -0
- package/lib/commonjs/project-board/index.js +13 -0
- package/lib/commonjs/project-board/index.js.map +1 -0
- package/lib/commonjs/project-board/index.web.js +13 -0
- package/lib/commonjs/project-board/index.web.js.map +1 -0
- package/lib/commonjs/project-board/messages.js +80 -0
- package/lib/commonjs/project-board/messages.js.map +1 -0
- package/lib/commonjs/project-board/shared.js +90 -0
- package/lib/commonjs/project-board/shared.js.map +1 -0
- package/lib/commonjs/project-board/types.js +6 -0
- package/lib/commonjs/project-board/types.js.map +1 -0
- package/lib/commonjs/segmented-control/SegmentedControl.js +36 -38
- package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/commonjs/settings-modal/SettingsModal.js +18 -4
- package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
- package/lib/commonjs/settings-modal/SettingsRows.js +4 -1
- package/lib/commonjs/settings-modal/SettingsRows.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +21 -9
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarItem.js +58 -14
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarTeamMenu.js +3 -3
- package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarToolbar.js +166 -0
- package/lib/commonjs/sidebar/SidebarToolbar.js.map +1 -0
- package/lib/commonjs/sidebar/index.js +7 -0
- package/lib/commonjs/sidebar/index.js.map +1 -1
- package/lib/commonjs/sidebar/parts.js +11 -3
- package/lib/commonjs/sidebar/parts.js.map +1 -1
- package/lib/commonjs/social-button/SocialButtonBase.js +1 -0
- package/lib/commonjs/social-button/SocialButtonBase.js.map +1 -1
- package/lib/commonjs/textarea/Textarea.js +28 -14
- package/lib/commonjs/textarea/Textarea.js.map +1 -1
- package/lib/commonjs/theme/color-scope/seed-scope.js +2 -0
- package/lib/commonjs/theme/color-scope/seed-scope.js.map +1 -1
- package/lib/module/agent-avatar/AgentAvatar.js +210 -0
- package/lib/module/agent-avatar/AgentAvatar.js.map +1 -0
- package/lib/module/agent-avatar/AgentFace.js +23 -0
- package/lib/module/agent-avatar/AgentFace.js.map +1 -0
- package/lib/module/agent-avatar/SvgDrawing.js +202 -0
- package/lib/module/agent-avatar/SvgDrawing.js.map +1 -0
- package/lib/module/agent-avatar/artwork.js +144 -0
- package/lib/module/agent-avatar/artwork.js.map +1 -0
- package/lib/module/agent-avatar/attention.js +74 -0
- package/lib/module/agent-avatar/attention.js.map +1 -0
- package/lib/module/agent-avatar/blink.js +41 -0
- package/lib/module/agent-avatar/blink.js.map +1 -0
- package/lib/module/agent-avatar/context.js +6 -0
- package/lib/module/agent-avatar/context.js.map +1 -0
- package/lib/module/agent-avatar/drawing.js +226 -0
- package/lib/module/agent-avatar/drawing.js.map +1 -0
- package/lib/module/agent-avatar/entrance.js +27 -0
- package/lib/module/agent-avatar/entrance.js.map +1 -0
- package/lib/module/agent-avatar/face.js +392 -0
- package/lib/module/agent-avatar/face.js.map +1 -0
- package/lib/module/agent-avatar/fold-outlines.js +37 -0
- package/lib/module/agent-avatar/fold-outlines.js.map +1 -0
- package/lib/module/agent-avatar/fold.js +319 -0
- package/lib/module/agent-avatar/fold.js.map +1 -0
- package/lib/module/agent-avatar/grain.js +5 -0
- package/lib/module/agent-avatar/grain.js.map +1 -0
- package/lib/module/agent-avatar/index.js +5 -0
- package/lib/module/agent-avatar/index.js.map +1 -0
- package/lib/module/agent-avatar/messages.js +7 -0
- package/lib/module/agent-avatar/messages.js.map +1 -0
- package/lib/module/agent-avatar/model.js +424 -0
- package/lib/module/agent-avatar/model.js.map +1 -0
- package/lib/module/agent-avatar/shape-morph.js +155 -0
- package/lib/module/agent-avatar/shape-morph.js.map +1 -0
- package/lib/module/agent-avatar/types.js.map +1 -0
- package/lib/module/agent-avatar/wander.js +59 -0
- package/lib/module/agent-avatar/wander.js.map +1 -0
- package/lib/module/agent-avatar/working.js +23 -0
- package/lib/module/agent-avatar/working.js.map +1 -0
- package/lib/module/agent-chat/AgentChatMessage.js +20 -0
- package/lib/module/agent-chat/AgentChatMessage.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.js +28 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -0
- package/lib/module/agent-creator/AgentCreator.web.js +28 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -0
- package/lib/module/agent-creator/AgentCreatorBase.js +315 -0
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -0
- package/lib/module/agent-creator/AgentPreferencesPanel.js +257 -0
- package/lib/module/agent-creator/AgentPreferencesPanel.js.map +1 -0
- package/lib/module/agent-creator/CustomColorPicker.js +369 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/EmotionPicker.js +174 -0
- package/lib/module/agent-creator/EmotionPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +206 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/ScrollSurface.js +130 -0
- package/lib/module/agent-creator/ScrollSurface.js.map +1 -0
- package/lib/module/agent-creator/ShapeArc.js +217 -0
- package/lib/module/agent-creator/ShapeArc.js.map +1 -0
- package/lib/module/agent-creator/constants.js +64 -0
- package/lib/module/agent-creator/constants.js.map +1 -0
- package/lib/module/agent-creator/context.js +24 -0
- package/lib/module/agent-creator/context.js.map +1 -0
- package/lib/module/agent-creator/index.js +6 -0
- package/lib/module/agent-creator/index.js.map +1 -0
- package/lib/module/agent-creator/index.web.js +11 -0
- package/lib/module/agent-creator/index.web.js.map +1 -0
- package/lib/module/agent-creator/messages.js +100 -0
- package/lib/module/agent-creator/messages.js.map +1 -0
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +72 -0
- package/lib/module/agent-creator/shared.js.map +1 -0
- package/lib/module/agent-creator/types.js +4 -0
- package/lib/module/agent-creator/types.js.map +1 -0
- package/lib/module/agent-creator/use-agent-voices.js +55 -0
- package/lib/module/agent-creator/use-agent-voices.js.map +1 -0
- package/lib/module/agent-creator/use-track-events.js +40 -0
- package/lib/module/agent-creator/use-track-events.js.map +1 -0
- package/lib/module/button/CloseButton.js +5 -2
- package/lib/module/button/CloseButton.js.map +1 -1
- package/lib/module/chip/Chip.js +29 -14
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/design-tokens/component-roles.js +90 -0
- package/lib/module/design-tokens/component-roles.js.map +1 -0
- package/lib/module/design-tokens/tailwind-preset.js +25 -5
- package/lib/module/design-tokens/tailwind-preset.js.map +1 -1
- package/lib/module/design-tokens/theme-css.js +18 -0
- package/lib/module/design-tokens/theme-css.js.map +1 -1
- package/lib/module/design-tokens/theme.css +284 -0
- package/lib/module/dialog/Dialog.js +28 -14
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/Dialog.web.js +24 -15
- package/lib/module/dialog/Dialog.web.js.map +1 -1
- package/lib/module/dialog/DialogHeader.js +1 -1
- package/lib/module/hooks/use-accessible-name-warning.js +2 -2
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +4 -1
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/locale/translations/ar.js +363 -0
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +351 -0
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +355 -0
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +355 -0
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +355 -0
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +355 -0
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +354 -0
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +354 -0
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +355 -0
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +351 -0
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +355 -0
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +359 -0
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +354 -0
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +351 -0
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/AvatarFlightHost.js +12 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.js.map +1 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.web.js +12 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
- package/lib/module/multi-agent-chat/AvatarHandoff.js +174 -0
- package/lib/module/multi-agent-chat/AvatarHandoff.js.map +1 -0
- package/lib/module/multi-agent-chat/ChatDialogFrame.js +155 -0
- package/lib/module/multi-agent-chat/ChatDialogFrame.js.map +1 -0
- package/lib/module/multi-agent-chat/ChatSidebar.js +362 -0
- package/lib/module/multi-agent-chat/ChatSidebar.js.map +1 -0
- package/lib/module/multi-agent-chat/EditorRail.js +58 -0
- package/lib/module/multi-agent-chat/EditorRail.js.map +1 -0
- package/lib/module/multi-agent-chat/Marketplace.js +496 -0
- package/lib/module/multi-agent-chat/Marketplace.js.map +1 -0
- package/lib/module/multi-agent-chat/MarketplaceSettings.js +119 -0
- package/lib/module/multi-agent-chat/MarketplaceSettings.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.js +34 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.web.js +34 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js +921 -0
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
- package/lib/module/multi-agent-chat/ReplyRow.js +166 -0
- package/lib/module/multi-agent-chat/ReplyRow.js.map +1 -0
- package/lib/module/multi-agent-chat/ScrollSurface.js +89 -0
- package/lib/module/multi-agent-chat/ScrollSurface.js.map +1 -0
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js +121 -0
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
- package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js +476 -0
- package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
- package/lib/module/multi-agent-chat/context.js +10 -0
- package/lib/module/multi-agent-chat/context.js.map +1 -0
- package/lib/module/multi-agent-chat/data.js +412 -0
- package/lib/module/multi-agent-chat/data.js.map +1 -0
- package/lib/module/multi-agent-chat/handoff.js +94 -0
- package/lib/module/multi-agent-chat/handoff.js.map +1 -0
- package/lib/module/multi-agent-chat/index.js +4 -0
- package/lib/module/multi-agent-chat/index.js.map +1 -0
- package/lib/module/multi-agent-chat/index.web.js +9 -0
- package/lib/module/multi-agent-chat/index.web.js.map +1 -0
- package/lib/module/multi-agent-chat/marketplace-data.js +137 -0
- package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -0
- package/lib/module/multi-agent-chat/marketplace-logos.js +32 -0
- package/lib/module/multi-agent-chat/marketplace-logos.js.map +1 -0
- package/lib/module/multi-agent-chat/messages.js +191 -0
- package/lib/module/multi-agent-chat/messages.js.map +1 -0
- package/lib/module/multi-agent-chat/model-catalog.js +767 -0
- package/lib/module/multi-agent-chat/model-catalog.js.map +1 -0
- package/lib/module/multi-agent-chat/stream-reply.js +36 -0
- package/lib/module/multi-agent-chat/stream-reply.js.map +1 -0
- package/lib/module/multi-agent-chat/types.js +4 -0
- package/lib/module/multi-agent-chat/types.js.map +1 -0
- package/lib/module/multi-agent-chat/use-replies.js +152 -0
- package/lib/module/multi-agent-chat/use-replies.js.map +1 -0
- package/lib/module/multi-agent-chat/use-workspace.js +53 -0
- package/lib/module/multi-agent-chat/use-workspace.js.map +1 -0
- package/lib/module/project-board/BoardTooltip.js +45 -0
- package/lib/module/project-board/BoardTooltip.js.map +1 -0
- package/lib/module/project-board/CreateTicketDialog.js +326 -0
- package/lib/module/project-board/CreateTicketDialog.js.map +1 -0
- package/lib/module/project-board/ProjectBoard.js +34 -0
- package/lib/module/project-board/ProjectBoard.js.map +1 -0
- package/lib/module/project-board/ProjectBoard.web.js +35 -0
- package/lib/module/project-board/ProjectBoard.web.js.map +1 -0
- package/lib/module/project-board/ProjectBoardBase.js +763 -0
- package/lib/module/project-board/ProjectBoardBase.js.map +1 -0
- package/lib/module/project-board/ProjectBoardControls.js +188 -0
- package/lib/module/project-board/ProjectBoardControls.js.map +1 -0
- package/lib/module/project-board/ProjectBoardEmptyState.js +166 -0
- package/lib/module/project-board/ProjectBoardEmptyState.js.map +1 -0
- package/lib/module/project-board/ProjectBoardIcons.js +83 -0
- package/lib/module/project-board/ProjectBoardIcons.js.map +1 -0
- package/lib/module/project-board/RiInboxArchiveLine.js +7 -0
- package/lib/module/project-board/RiInboxArchiveLine.js.map +1 -0
- package/lib/module/project-board/RiMoreLine.js +7 -0
- package/lib/module/project-board/RiMoreLine.js.map +1 -0
- package/lib/module/project-board/RiPieChart2Line.js +7 -0
- package/lib/module/project-board/RiPieChart2Line.js.map +1 -0
- package/lib/module/project-board/RiRestartLine.js +7 -0
- package/lib/module/project-board/RiRestartLine.js.map +1 -0
- package/lib/module/project-board/SourcePrimitives.js +125 -0
- package/lib/module/project-board/SourcePrimitives.js.map +1 -0
- package/lib/module/project-board/TicketCornerGenieSurface.web.js +334 -0
- package/lib/module/project-board/TicketCornerGenieSurface.web.js.map +1 -0
- package/lib/module/project-board/TicketDetailDialog.js +593 -0
- package/lib/module/project-board/TicketDetailDialog.js.map +1 -0
- package/lib/module/project-board/TicketGenieSurface.js +70 -0
- package/lib/module/project-board/TicketGenieSurface.js.map +1 -0
- package/lib/module/project-board/TicketGenieSurface.web.js +189 -0
- package/lib/module/project-board/TicketGenieSurface.web.js.map +1 -0
- package/lib/module/project-board/animation.web.js +17 -0
- package/lib/module/project-board/animation.web.js.map +1 -0
- package/lib/module/project-board/constants.js +13 -0
- package/lib/module/project-board/constants.js.map +1 -0
- package/lib/module/project-board/context.js +10 -0
- package/lib/module/project-board/context.js.map +1 -0
- package/lib/module/project-board/index.js +4 -0
- package/lib/module/project-board/index.js.map +1 -0
- package/lib/module/project-board/index.web.js +9 -0
- package/lib/module/project-board/index.web.js.map +1 -0
- package/lib/module/project-board/messages.js +76 -0
- package/lib/module/project-board/messages.js.map +1 -0
- package/lib/module/project-board/shared.js +82 -0
- package/lib/module/project-board/shared.js.map +1 -0
- package/lib/module/project-board/types.js +4 -0
- package/lib/module/project-board/types.js.map +1 -0
- package/lib/module/segmented-control/SegmentedControl.js +37 -39
- package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/module/settings-modal/SettingsModal.js +18 -4
- package/lib/module/settings-modal/SettingsModal.js.map +1 -1
- package/lib/module/settings-modal/SettingsRows.js +4 -1
- package/lib/module/settings-modal/SettingsRows.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +21 -9
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarItem.js +59 -15
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/sidebar/SidebarTeamMenu.js +3 -3
- package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/module/sidebar/SidebarToolbar.js +161 -0
- package/lib/module/sidebar/SidebarToolbar.js.map +1 -0
- package/lib/module/sidebar/index.js +1 -0
- package/lib/module/sidebar/index.js.map +1 -1
- package/lib/module/sidebar/parts.js +11 -3
- package/lib/module/sidebar/parts.js.map +1 -1
- package/lib/module/social-button/SocialButtonBase.js +1 -1
- package/lib/module/social-button/SocialButtonBase.js.map +1 -1
- package/lib/module/textarea/Textarea.js +29 -15
- package/lib/module/textarea/Textarea.js.map +1 -1
- package/lib/module/theme/color-scope/seed-scope.js +2 -0
- package/lib/module/theme/color-scope/seed-scope.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/artwork.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/attention.d.ts +24 -0
- package/lib/typescript/commonjs/agent-avatar/attention.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/blink.d.ts +12 -0
- package/lib/typescript/commonjs/agent-avatar/blink.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/context.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/drawing.d.ts +102 -0
- package/lib/typescript/commonjs/agent-avatar/drawing.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/entrance.d.ts +13 -0
- package/lib/typescript/commonjs/agent-avatar/entrance.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/face.d.ts +38 -0
- package/lib/typescript/commonjs/agent-avatar/face.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts +13 -0
- package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/fold.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/fold.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/grain.d.ts +3 -0
- package/lib/typescript/commonjs/agent-avatar/grain.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/index.d.ts +5 -0
- package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/messages.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/model.d.ts +63 -0
- package/lib/typescript/commonjs/agent-avatar/model.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts +39 -0
- package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/types.d.ts +21 -0
- package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/wander.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/wander.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/working.d.ts +8 -0
- package/lib/typescript/commonjs/agent-avatar/working.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts +5 -0
- package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts +4 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts +4 -0
- package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/constants.d.ts +49 -0
- package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts +64 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/index.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/index.web.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +53 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +18 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/types.d.ts +37 -0
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts.map +1 -0
- package/lib/typescript/commonjs/button/CloseButton.d.ts +1 -1
- package/lib/typescript/commonjs/button/CloseButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/shared.d.ts +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +2 -0
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/types.d.ts +3 -0
- package/lib/typescript/commonjs/chip/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/design-tokens/component-roles.d.ts +89 -0
- package/lib/typescript/commonjs/design-tokens/component-roles.d.ts.map +1 -0
- package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts +3 -27
- package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts.map +1 -1
- package/lib/typescript/commonjs/design-tokens/theme-css.d.ts +0 -24
- package/lib/typescript/commonjs/design-tokens/theme-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +6 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +4 -2
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +4 -2
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +8 -0
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts +10 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts +24 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts +14 -0
- package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts +18 -0
- package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts +13 -0
- package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/context.d.ts +20 -0
- package/lib/typescript/commonjs/multi-agent-chat/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +39 -0
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts +42 -0
- package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +26 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts +30 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts +175 -0
- package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts +5 -0
- package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/types.d.ts +21 -0
- package/lib/typescript/commonjs/multi-agent-chat/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts +14 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts +9 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts +12 -0
- package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts +32 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts +15 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts +177 -0
- package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts +16 -0
- package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts +9 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts +6 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/animation.web.d.ts +10 -0
- package/lib/typescript/commonjs/project-board/animation.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/constants.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/context.d.ts +39 -0
- package/lib/typescript/commonjs/project-board/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/index.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/index.web.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/messages.d.ts +73 -0
- package/lib/typescript/commonjs/project-board/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/shared.d.ts +18 -0
- package/lib/typescript/commonjs/project-board/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/types.d.ts +78 -0
- package/lib/typescript/commonjs/project-board/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts +4 -2
- package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/index.d.ts +1 -1
- package/lib/typescript/commonjs/settings-modal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/types.d.ts +12 -1
- package/lib/typescript/commonjs/settings-modal/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts +4 -0
- package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts +2 -1
- package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts +2 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +47 -5
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts +7 -0
- package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/textarea/Textarea.d.ts +1 -1
- package/lib/typescript/commonjs/textarea/Textarea.d.ts.map +1 -1
- package/lib/typescript/commonjs/textarea/types.d.ts +6 -1
- package/lib/typescript/commonjs/textarea/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/seed-scope.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/AgentFace.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/AgentFace.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/artwork.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/attention.d.ts +24 -0
- package/lib/typescript/module/agent-avatar/attention.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/blink.d.ts +12 -0
- package/lib/typescript/module/agent-avatar/blink.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/context.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/context.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/drawing.d.ts +102 -0
- package/lib/typescript/module/agent-avatar/drawing.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/entrance.d.ts +13 -0
- package/lib/typescript/module/agent-avatar/entrance.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/face.d.ts +38 -0
- package/lib/typescript/module/agent-avatar/face.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/fold-outlines.d.ts +13 -0
- package/lib/typescript/module/agent-avatar/fold-outlines.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/fold.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/fold.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/grain.d.ts +3 -0
- package/lib/typescript/module/agent-avatar/grain.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/index.d.ts +5 -0
- package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/messages.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/messages.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/model.d.ts +63 -0
- package/lib/typescript/module/agent-avatar/model.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/shape-morph.d.ts +39 -0
- package/lib/typescript/module/agent-avatar/shape-morph.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/types.d.ts +21 -0
- package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/wander.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/wander.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/working.d.ts +8 -0
- package/lib/typescript/module/agent-avatar/working.d.ts.map +1 -0
- package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts +5 -0
- package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts +3 -0
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts +3 -0
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts +4 -0
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts +4 -0
- package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +7 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +7 -0
- package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ScrollSurface.d.ts +11 -0
- package/lib/typescript/module/agent-creator/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ShapeArc.d.ts +7 -0
- package/lib/typescript/module/agent-creator/ShapeArc.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/constants.d.ts +49 -0
- package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/context.d.ts +64 -0
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/index.d.ts +5 -0
- package/lib/typescript/module/agent-creator/index.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/index.web.d.ts +5 -0
- package/lib/typescript/module/agent-creator/index.web.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/messages.d.ts +53 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +18 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/types.d.ts +37 -0
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/use-agent-voices.d.ts +9 -0
- package/lib/typescript/module/agent-creator/use-agent-voices.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/use-track-events.d.ts +5 -0
- package/lib/typescript/module/agent-creator/use-track-events.d.ts.map +1 -0
- package/lib/typescript/module/button/CloseButton.d.ts +1 -1
- package/lib/typescript/module/button/CloseButton.d.ts.map +1 -1
- package/lib/typescript/module/button/shared.d.ts +1 -1
- package/lib/typescript/module/button/types.d.ts +2 -0
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/chip/types.d.ts +3 -0
- package/lib/typescript/module/chip/types.d.ts.map +1 -1
- package/lib/typescript/module/design-tokens/component-roles.d.ts +89 -0
- package/lib/typescript/module/design-tokens/component-roles.d.ts.map +1 -0
- package/lib/typescript/module/design-tokens/tailwind-preset.d.ts +3 -27
- package/lib/typescript/module/design-tokens/tailwind-preset.d.ts.map +1 -1
- package/lib/typescript/module/design-tokens/theme-css.d.ts +0 -24
- package/lib/typescript/module/design-tokens/theme-css.d.ts.map +1 -1
- package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +6 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +4 -2
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +4 -2
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +8 -0
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts +10 -0
- package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
- package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts +24 -0
- package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts +14 -0
- package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts +18 -0
- package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts +13 -0
- package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/context.d.ts +20 -0
- package/lib/typescript/module/multi-agent-chat/context.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/data.d.ts +39 -0
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/handoff.d.ts +42 -0
- package/lib/typescript/module/multi-agent-chat/handoff.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/index.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/index.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/index.web.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/index.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +26 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts +30 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/messages.d.ts +175 -0
- package/lib/typescript/module/multi-agent-chat/messages.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts +5 -0
- package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/types.d.ts +21 -0
- package/lib/typescript/module/multi-agent-chat/types.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/use-replies.d.ts +14 -0
- package/lib/typescript/module/multi-agent-chat/use-replies.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts +9 -0
- package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts.map +1 -0
- package/lib/typescript/module/project-board/BoardTooltip.d.ts +7 -0
- package/lib/typescript/module/project-board/BoardTooltip.d.ts.map +1 -0
- package/lib/typescript/module/project-board/CreateTicketDialog.d.ts +12 -0
- package/lib/typescript/module/project-board/CreateTicketDialog.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoard.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoard.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoard.web.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoard.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardControls.d.ts +32 -0
- package/lib/typescript/module/project-board/ProjectBoardControls.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts +15 -0
- package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiMoreLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiMoreLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiPieChart2Line.d.ts +7 -0
- package/lib/typescript/module/project-board/RiPieChart2Line.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiRestartLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiRestartLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/SourcePrimitives.d.ts +177 -0
- package/lib/typescript/module/project-board/SourcePrimitives.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketDetailDialog.d.ts +16 -0
- package/lib/typescript/module/project-board/TicketDetailDialog.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts +9 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts +6 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/animation.web.d.ts +10 -0
- package/lib/typescript/module/project-board/animation.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/constants.d.ts +7 -0
- package/lib/typescript/module/project-board/constants.d.ts.map +1 -0
- package/lib/typescript/module/project-board/context.d.ts +39 -0
- package/lib/typescript/module/project-board/context.d.ts.map +1 -0
- package/lib/typescript/module/project-board/index.d.ts +3 -0
- package/lib/typescript/module/project-board/index.d.ts.map +1 -0
- package/lib/typescript/module/project-board/index.web.d.ts +3 -0
- package/lib/typescript/module/project-board/index.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/messages.d.ts +73 -0
- package/lib/typescript/module/project-board/messages.d.ts.map +1 -0
- package/lib/typescript/module/project-board/shared.d.ts +18 -0
- package/lib/typescript/module/project-board/shared.d.ts.map +1 -0
- package/lib/typescript/module/project-board/types.d.ts +78 -0
- package/lib/typescript/module/project-board/types.d.ts.map +1 -0
- package/lib/typescript/module/segmented-control/SegmentedControl.d.ts +4 -2
- package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/SettingsRows.d.ts +1 -1
- package/lib/typescript/module/settings-modal/SettingsRows.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/index.d.ts +1 -1
- package/lib/typescript/module/settings-modal/index.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/types.d.ts +12 -1
- package/lib/typescript/module/settings-modal/types.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarToolbar.d.ts +4 -0
- package/lib/typescript/module/sidebar/SidebarToolbar.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/index.d.ts +2 -1
- package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/parts.d.ts +2 -1
- package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +47 -5
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/social-button/SocialButtonBase.d.ts +7 -0
- package/lib/typescript/module/social-button/SocialButtonBase.d.ts.map +1 -1
- package/lib/typescript/module/textarea/Textarea.d.ts +1 -1
- package/lib/typescript/module/textarea/Textarea.d.ts.map +1 -1
- package/lib/typescript/module/textarea/types.d.ts +6 -1
- package/lib/typescript/module/textarea/types.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/seed-scope.d.ts.map +1 -1
- package/package.json +84 -18
- package/src/agent-avatar/AgentAvatar.tsx +299 -0
- package/src/agent-avatar/AgentFace.tsx +20 -0
- package/src/agent-avatar/SvgDrawing.tsx +237 -0
- package/src/agent-avatar/artwork.ts +195 -0
- package/src/agent-avatar/attention.ts +109 -0
- package/src/agent-avatar/blink.ts +47 -0
- package/src/agent-avatar/context.ts +7 -0
- package/src/agent-avatar/drawing.ts +276 -0
- package/src/agent-avatar/entrance.ts +25 -0
- package/src/agent-avatar/face.ts +540 -0
- package/src/agent-avatar/fold-outlines.ts +90 -0
- package/src/agent-avatar/fold.ts +444 -0
- package/src/agent-avatar/grain.ts +3 -0
- package/src/agent-avatar/index.ts +27 -0
- package/src/agent-avatar/messages.ts +5 -0
- package/src/agent-avatar/model.ts +576 -0
- package/src/agent-avatar/shape-morph.ts +210 -0
- package/src/agent-avatar/types.ts +21 -0
- package/src/agent-avatar/wander.ts +97 -0
- package/src/agent-avatar/working.ts +20 -0
- package/src/agent-chat/AgentChatMessage.tsx +7 -0
- package/src/agent-creator/AgentCreator.tsx +32 -0
- package/src/agent-creator/AgentCreator.web.tsx +32 -0
- package/src/agent-creator/AgentCreatorBase.tsx +287 -0
- package/src/agent-creator/AgentPreferencesPanel.tsx +268 -0
- package/src/agent-creator/CustomColorPicker.tsx +382 -0
- package/src/agent-creator/EmotionPicker.tsx +201 -0
- package/src/agent-creator/GlossArt.tsx +165 -0
- package/src/agent-creator/ScrollSurface.tsx +144 -0
- package/src/agent-creator/ShapeArc.tsx +266 -0
- package/src/agent-creator/constants.ts +57 -0
- package/src/agent-creator/context.ts +38 -0
- package/src/agent-creator/index.ts +14 -0
- package/src/agent-creator/index.web.ts +19 -0
- package/src/agent-creator/messages.ts +198 -0
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +102 -0
- package/src/agent-creator/types.ts +34 -0
- package/src/agent-creator/use-agent-voices.ts +72 -0
- package/src/agent-creator/use-track-events.ts +42 -0
- package/src/button/CloseButton.tsx +6 -3
- package/src/button/types.ts +2 -0
- package/src/chip/Chip.tsx +17 -10
- package/src/chip/types.ts +3 -0
- package/src/design-tokens/component-roles.ts +93 -0
- package/src/design-tokens/tailwind-preset.ts +12 -8
- package/src/design-tokens/theme-css.ts +18 -0
- package/src/design-tokens/theme.css +284 -0
- package/src/dialog/Dialog.tsx +25 -14
- package/src/dialog/Dialog.web.tsx +23 -16
- package/src/dialog/DialogHeader.tsx +1 -1
- package/src/dialog/types.ts +6 -0
- package/src/hooks/use-accessible-name-warning.ts +2 -2
- package/src/index.ts +5 -2
- package/src/index.web.ts +5 -2
- package/src/locale/translations/ar.ts +297 -0
- package/src/locale/translations/bn.ts +297 -0
- package/src/locale/translations/ca.ts +297 -0
- package/src/locale/translations/de.ts +297 -0
- package/src/locale/translations/es.ts +297 -0
- package/src/locale/translations/fr.ts +297 -0
- package/src/locale/translations/hi.ts +297 -0
- package/src/locale/translations/id.ts +297 -0
- package/src/locale/translations/it.ts +297 -0
- package/src/locale/translations/ja.ts +297 -0
- package/src/locale/translations/pt.ts +297 -0
- package/src/locale/translations/ru.ts +297 -0
- package/src/locale/translations/tr.ts +297 -0
- package/src/locale/translations/types.ts +8 -0
- package/src/locale/translations/zh.ts +297 -0
- package/src/multi-agent-chat/AvatarFlightHost.tsx +5 -0
- package/src/multi-agent-chat/AvatarFlightHost.web.tsx +5 -0
- package/src/multi-agent-chat/AvatarHandoff.tsx +258 -0
- package/src/multi-agent-chat/ChatDialogFrame.tsx +186 -0
- package/src/multi-agent-chat/ChatSidebar.tsx +384 -0
- package/src/multi-agent-chat/EditorRail.tsx +68 -0
- package/src/multi-agent-chat/Marketplace.tsx +649 -0
- package/src/multi-agent-chat/MarketplaceSettings.tsx +110 -0
- package/src/multi-agent-chat/MultiAgentChat.tsx +30 -0
- package/src/multi-agent-chat/MultiAgentChat.web.tsx +30 -0
- package/src/multi-agent-chat/MultiAgentChatBase.tsx +1202 -0
- package/src/multi-agent-chat/ReplyRow.tsx +188 -0
- package/src/multi-agent-chat/ScrollSurface.tsx +122 -0
- package/src/multi-agent-chat/SelectedAgentPreview.tsx +143 -0
- package/src/multi-agent-chat/WorkspaceSettingsPages.tsx +515 -0
- package/src/multi-agent-chat/context.ts +23 -0
- package/src/multi-agent-chat/data.ts +629 -0
- package/src/multi-agent-chat/handoff.ts +150 -0
- package/src/multi-agent-chat/index.ts +8 -0
- package/src/multi-agent-chat/index.web.ts +13 -0
- package/src/multi-agent-chat/marketplace-data.ts +359 -0
- package/src/multi-agent-chat/marketplace-logos.ts +29 -0
- package/src/multi-agent-chat/messages.ts +215 -0
- package/src/multi-agent-chat/model-catalog.tsx +461 -0
- package/src/multi-agent-chat/stream-reply.ts +39 -0
- package/src/multi-agent-chat/types.ts +27 -0
- package/src/multi-agent-chat/use-replies.ts +166 -0
- package/src/multi-agent-chat/use-workspace.ts +59 -0
- package/src/project-board/BoardTooltip.tsx +41 -0
- package/src/project-board/CreateTicketDialog.tsx +373 -0
- package/src/project-board/ProjectBoard.tsx +34 -0
- package/src/project-board/ProjectBoard.web.tsx +32 -0
- package/src/project-board/ProjectBoardBase.tsx +1022 -0
- package/src/project-board/ProjectBoardControls.tsx +254 -0
- package/src/project-board/ProjectBoardEmptyState.tsx +179 -0
- package/src/project-board/ProjectBoardIcons.tsx +93 -0
- package/src/project-board/RiInboxArchiveLine.tsx +4 -0
- package/src/project-board/RiMoreLine.tsx +4 -0
- package/src/project-board/RiPieChart2Line.tsx +4 -0
- package/src/project-board/RiRestartLine.tsx +4 -0
- package/src/project-board/SourcePrimitives.tsx +155 -0
- package/src/project-board/TicketCornerGenieSurface.web.tsx +401 -0
- package/src/project-board/TicketDetailDialog.tsx +730 -0
- package/src/project-board/TicketGenieSurface.tsx +73 -0
- package/src/project-board/TicketGenieSurface.web.tsx +190 -0
- package/src/project-board/animation.web.ts +22 -0
- package/src/project-board/constants.ts +20 -0
- package/src/project-board/context.ts +46 -0
- package/src/project-board/index.ts +12 -0
- package/src/project-board/index.web.ts +17 -0
- package/src/project-board/messages.ts +74 -0
- package/src/project-board/shared.ts +104 -0
- package/src/project-board/types.ts +78 -0
- package/src/segmented-control/SegmentedControl.tsx +12 -8
- package/src/settings-modal/SettingsModal.tsx +9 -6
- package/src/settings-modal/SettingsRows.tsx +4 -3
- package/src/settings-modal/index.ts +1 -0
- package/src/settings-modal/types.ts +13 -1
- package/src/sidebar/Sidebar.tsx +19 -9
- package/src/sidebar/SidebarItem.tsx +36 -11
- package/src/sidebar/SidebarTeamMenu.tsx +1 -0
- package/src/sidebar/SidebarToolbar.tsx +176 -0
- package/src/sidebar/index.ts +2 -0
- package/src/sidebar/parts.tsx +4 -2
- package/src/sidebar/types.ts +46 -5
- package/src/social-button/SocialButtonBase.tsx +1 -1
- package/src/textarea/Textarea.tsx +21 -9
- package/src/textarea/types.ts +6 -1
- package/src/theme/color-scope/seed-scope.ts +2 -0
- package/docs/dot-grid-meter.mdx +0 -66
- package/lib/commonjs/dot-grid-meter/DotGridMeter.js +0 -80
- package/lib/commonjs/dot-grid-meter/DotGridMeter.js.map +0 -1
- package/lib/commonjs/dot-grid-meter/index.js +0 -13
- package/lib/commonjs/dot-grid-meter/index.js.map +0 -1
- package/lib/module/dot-grid-meter/DotGridMeter.js +0 -75
- package/lib/module/dot-grid-meter/DotGridMeter.js.map +0 -1
- package/lib/module/dot-grid-meter/index.js +0 -4
- package/lib/module/dot-grid-meter/index.js.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts +0 -4
- package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/index.d.ts +0 -3
- package/lib/typescript/commonjs/dot-grid-meter/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/types.d.ts +0 -48
- package/lib/typescript/commonjs/dot-grid-meter/types.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts +0 -4
- package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/index.d.ts +0 -3
- package/lib/typescript/module/dot-grid-meter/index.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/types.d.ts +0 -48
- package/lib/typescript/module/dot-grid-meter/types.d.ts.map +0 -1
- package/src/dot-grid-meter/DotGridMeter.tsx +0 -84
- package/src/dot-grid-meter/index.ts +0 -2
- package/src/dot-grid-meter/types.ts +0 -48
- /package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js +0 -0
- /package/lib/module/{dot-grid-meter → agent-avatar}/types.js +0 -0
|
@@ -0,0 +1,921 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import { Platform, Share, useWindowDimensions } from 'react-native';
|
|
5
|
+
import Animated, { useReducedMotion } from 'react-native-reanimated';
|
|
6
|
+
import { AgentAvatar } from "../agent-avatar/index.js";
|
|
7
|
+
import { StreamedText } from "../agent-chat/AgentChatMessage.js";
|
|
8
|
+
import { Button, IconButton } from '../button';
|
|
9
|
+
import { useDialogControl } from "../dialog/context.js";
|
|
10
|
+
import { useDirectionProps } from "../hooks/use-is-rtl.js";
|
|
11
|
+
import { RiCheckLine } from "../icons/remix/RiCheckLine.js";
|
|
12
|
+
import { RiFileCopyLine } from "../icons/remix/RiFileCopyLine.js";
|
|
13
|
+
import { RiGroupLine } from "../icons/remix/RiGroupLine.js";
|
|
14
|
+
import { RiMenuLine } from "../icons/remix/RiMenuLine.js";
|
|
15
|
+
import { RiMoreFill } from "../icons/remix/RiMoreFill.js";
|
|
16
|
+
import { RiShare2Line } from "../icons/remix/RiShare2Line.js";
|
|
17
|
+
import { RiThumbDownLine } from "../icons/remix/RiThumbDownLine.js";
|
|
18
|
+
import { RiThumbUpLine } from "../icons/remix/RiThumbUpLine.js";
|
|
19
|
+
import { useMessages } from "../locale/messages.js";
|
|
20
|
+
import { OverlayRoot, TOAST_LAYER_Z } from "../overlay/index.js";
|
|
21
|
+
import { StyledPressable, StyledView } from "../styles/styled-primitives.js";
|
|
22
|
+
import { TextFieldInput } from "../text-field/index.js";
|
|
23
|
+
import { useTheme } from "../theme/use-theme.js";
|
|
24
|
+
import { Text } from "../typography/index.js";
|
|
25
|
+
import { AvatarHandoff } from "./AvatarHandoff.js";
|
|
26
|
+
import { ChatDialogFrame, SupportCopy } from "./ChatDialogFrame.js";
|
|
27
|
+
import { ChatSidebar } from "./ChatSidebar.js";
|
|
28
|
+
import { useChatComponents } from "./context.js";
|
|
29
|
+
import { conversationFor, formatDemoReply, nextAgentIdentity, removeConversation, updateConversationAgents } from "./data.js";
|
|
30
|
+
import { EditorRail } from "./EditorRail.js";
|
|
31
|
+
import { captureAvatars, measureAvatar } from "./handoff.js";
|
|
32
|
+
import { Marketplace } from "./Marketplace.js";
|
|
33
|
+
import { DEFAULT_PLUGINS, MARKETPLACE_ITEMS, addMarketplaceBot } from "./marketplace-data.js";
|
|
34
|
+
import { MULTI_AGENT_CHAT_MESSAGES, formatChatMessage } from "./messages.js";
|
|
35
|
+
import { WORKSPACE_MODELS } from "./model-catalog.js";
|
|
36
|
+
import { ReplyHeader, ReplyRow } from "./ReplyRow.js";
|
|
37
|
+
import { ScrollSurface } from "./ScrollSurface.js";
|
|
38
|
+
import { SelectedAgentPreview } from "./SelectedAgentPreview.js";
|
|
39
|
+
import { chatId, useReplies } from "./use-replies.js";
|
|
40
|
+
import { useWorkspace } from "./use-workspace.js";
|
|
41
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
42
|
+
const AnimatedView = Animated.createAnimatedComponent(StyledView);
|
|
43
|
+
function AgentStack({
|
|
44
|
+
agents,
|
|
45
|
+
size = 40,
|
|
46
|
+
nodes
|
|
47
|
+
}) {
|
|
48
|
+
return /*#__PURE__*/_jsx(StyledView, {
|
|
49
|
+
style: {
|
|
50
|
+
width: size,
|
|
51
|
+
height: size
|
|
52
|
+
},
|
|
53
|
+
accessibilityLabel: agents.map(a => a.name).join(', '),
|
|
54
|
+
children: agents.slice(0, 3).map((agent, i) => /*#__PURE__*/_jsx(StyledView, {
|
|
55
|
+
ref: node => {
|
|
56
|
+
if (nodes) {
|
|
57
|
+
if (node) nodes.set(agent.id, node);else nodes.delete(agent.id);
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
collapsable: false,
|
|
61
|
+
style: {
|
|
62
|
+
width: agents.length === 1 ? size : size * 0.65,
|
|
63
|
+
height: agents.length === 1 ? size : size * 0.65,
|
|
64
|
+
position: 'absolute',
|
|
65
|
+
left: agents.length === 1 ? 0 : i === 1 ? size * 0.4 : i === 2 ? size * 0.2 : 0,
|
|
66
|
+
top: i === 2 ? size * 0.4 : 0
|
|
67
|
+
},
|
|
68
|
+
children: /*#__PURE__*/_jsx(AgentAvatar, {
|
|
69
|
+
config: agent.avatar,
|
|
70
|
+
size: agents.length === 1 ? size : size * 0.65,
|
|
71
|
+
label: agent.name
|
|
72
|
+
})
|
|
73
|
+
}, agent.id))
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/** Shared workspace implementation. Platform bindings select Bloom's existing surfaces only. */
|
|
77
|
+
export function MultiAgentChatBase(props) {
|
|
78
|
+
const {
|
|
79
|
+
messages
|
|
80
|
+
} = useMessages(MULTI_AGENT_CHAT_MESSAGES);
|
|
81
|
+
const {
|
|
82
|
+
defaultEditorId = 'security',
|
|
83
|
+
onCopy,
|
|
84
|
+
voices,
|
|
85
|
+
onPreviewVoice,
|
|
86
|
+
className,
|
|
87
|
+
style,
|
|
88
|
+
testID = 'multi-agent-chat'
|
|
89
|
+
} = props;
|
|
90
|
+
const {
|
|
91
|
+
Portal,
|
|
92
|
+
Dialog,
|
|
93
|
+
ComposerPanel,
|
|
94
|
+
AgentCreator,
|
|
95
|
+
Surface,
|
|
96
|
+
Dropdown: D
|
|
97
|
+
} = useChatComponents();
|
|
98
|
+
const {
|
|
99
|
+
colors
|
|
100
|
+
} = useTheme();
|
|
101
|
+
const directionProps = useDirectionProps();
|
|
102
|
+
const reduced = useReducedMotion();
|
|
103
|
+
const root = useRef(null),
|
|
104
|
+
pickerAvatars = useRef(new Map()),
|
|
105
|
+
emptyAvatars = useRef(new Map()),
|
|
106
|
+
badgeRef = useRef(null),
|
|
107
|
+
replyAvatars = useRef(new Map());
|
|
108
|
+
const [handoff, setHandoff] = useState(null),
|
|
109
|
+
[flightOrigin, setFlightOrigin] = useState(null);
|
|
110
|
+
const handoffGeneration = useRef(0),
|
|
111
|
+
sending = useRef(false),
|
|
112
|
+
starting = useRef(false);
|
|
113
|
+
const finishHandoff = useCallback(() => setHandoff(null), []);
|
|
114
|
+
const arriveAvatar = useCallback(id => setHandoff(current => {
|
|
115
|
+
if (!current || current.arrived.includes(id)) return current;
|
|
116
|
+
const arrived = [...current.arrived, id];
|
|
117
|
+
return arrived.length === current.avatars.length ? null : {
|
|
118
|
+
...current,
|
|
119
|
+
arrived
|
|
120
|
+
};
|
|
121
|
+
}), []);
|
|
122
|
+
const resolveFlightTarget = useCallback(id => handoff?.kind === 'group' ? emptyAvatars.current.get(id) : id === handoff?.responderId ? replyAvatars.current.get(id) : badgeRef.current ?? undefined, [handoff?.kind, handoff?.responderId]);
|
|
123
|
+
const {
|
|
124
|
+
width
|
|
125
|
+
} = useWindowDimensions();
|
|
126
|
+
const compact = width < 1100;
|
|
127
|
+
const phone = width < 768;
|
|
128
|
+
const {
|
|
129
|
+
workspace,
|
|
130
|
+
current,
|
|
131
|
+
update,
|
|
132
|
+
loaded
|
|
133
|
+
} = useWorkspace(props);
|
|
134
|
+
const replies = useReplies(current, update, props.onRespond);
|
|
135
|
+
const [drafts, setDrafts] = useState({});
|
|
136
|
+
const [editor, setEditor] = useState(() => workspace.agents.find(a => a.id === defaultEditorId) ?? null);
|
|
137
|
+
const [panel, setPanel] = useState(null);
|
|
138
|
+
const [selected, setSelected] = useState([]);
|
|
139
|
+
const [editingChatId, setEditingChatId] = useState(null);
|
|
140
|
+
const [targetChatId, setTargetChatId] = useState(null);
|
|
141
|
+
const [rename, setRename] = useState('');
|
|
142
|
+
const [query, setQuery] = useState('');
|
|
143
|
+
const [searchOpen, setSearchOpen] = useState(false);
|
|
144
|
+
const [marketItem, setMarketItem] = useState(null);
|
|
145
|
+
const [feedback, setFeedback] = useState({});
|
|
146
|
+
const surface = useDialogControl();
|
|
147
|
+
const scroll = useRef(null);
|
|
148
|
+
const follow = useRef(true);
|
|
149
|
+
const offsets = useRef({});
|
|
150
|
+
const chat = workspace.chats.find(c => c.id === workspace.activeId) ?? workspace.chats[0] ?? {
|
|
151
|
+
id: 'draft-chat',
|
|
152
|
+
title: '',
|
|
153
|
+
agentIds: workspace.agents[0] ? [workspace.agents[0].id] : [],
|
|
154
|
+
messages: []
|
|
155
|
+
};
|
|
156
|
+
const participants = chat?.agentIds.flatMap(id => workspace.agents.find(a => a.id === id) ?? []) ?? [];
|
|
157
|
+
const targetChat = workspace.chats.find(c => c.id === targetChatId) ?? chat;
|
|
158
|
+
const open = useCallback(next => {
|
|
159
|
+
setPanel(next);
|
|
160
|
+
surface.open();
|
|
161
|
+
}, [surface]);
|
|
162
|
+
const restoredEditor = useRef(false);
|
|
163
|
+
useEffect(() => {
|
|
164
|
+
if (!loaded || restoredEditor.current) return;
|
|
165
|
+
restoredEditor.current = true;
|
|
166
|
+
setEditor(current.current.agents.find(agent => agent.id === defaultEditorId) ?? null);
|
|
167
|
+
}, [loaded, current, defaultEditorId]);
|
|
168
|
+
useEffect(() => {
|
|
169
|
+
if (Platform.OS !== 'web' || typeof window === 'undefined') return;
|
|
170
|
+
const id = new URL(window.location.href).searchParams.get('marketplace');
|
|
171
|
+
const item = MARKETPLACE_ITEMS.find(entry => entry.id === id);
|
|
172
|
+
if (item) {
|
|
173
|
+
setMarketItem(item);
|
|
174
|
+
setPanel('marketplace');
|
|
175
|
+
}
|
|
176
|
+
}, []);
|
|
177
|
+
const initialEditorOpened = useRef(false);
|
|
178
|
+
useEffect(() => {
|
|
179
|
+
if (!initialEditorOpened.current && defaultEditorId && compact && editor) {
|
|
180
|
+
initialEditorOpened.current = true;
|
|
181
|
+
open('editor');
|
|
182
|
+
}
|
|
183
|
+
}, [defaultEditorId, compact, editor, open]);
|
|
184
|
+
const close = () => surface.close();
|
|
185
|
+
const edit = agent => {
|
|
186
|
+
if (!compact) close();
|
|
187
|
+
setEditor({
|
|
188
|
+
...agent,
|
|
189
|
+
avatar: {
|
|
190
|
+
...agent.avatar
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
if (compact) open('editor');
|
|
194
|
+
};
|
|
195
|
+
const saveAgent = agent => {
|
|
196
|
+
setEditor(agent);
|
|
197
|
+
update(s => {
|
|
198
|
+
const previous = s.agents.find(a => a.id === agent.id);
|
|
199
|
+
return {
|
|
200
|
+
...s,
|
|
201
|
+
agents: previous ? s.agents.map(a => a.id === agent.id ? agent : a) : [...s.agents, agent],
|
|
202
|
+
chats: s.chats.map(c => c.agentIds.length === 1 && c.agentIds[0] === agent.id && (c.title === previous?.name || c.title === previous?.label) ? {
|
|
203
|
+
...c,
|
|
204
|
+
title: agent.name
|
|
205
|
+
} : c)
|
|
206
|
+
};
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
const createAgent = () => {
|
|
210
|
+
const agent = {
|
|
211
|
+
id: chatId('agent'),
|
|
212
|
+
...nextAgentIdentity(workspace.agents),
|
|
213
|
+
label: '',
|
|
214
|
+
description: ''
|
|
215
|
+
};
|
|
216
|
+
const created = conversationFor([agent], [agent.id], chatId('chat'));
|
|
217
|
+
update(s => ({
|
|
218
|
+
...s,
|
|
219
|
+
agents: [...s.agents, agent],
|
|
220
|
+
chats: [created, ...s.chats],
|
|
221
|
+
activeId: created.id
|
|
222
|
+
}));
|
|
223
|
+
edit(agent);
|
|
224
|
+
};
|
|
225
|
+
const chooseAgents = (ids = [], existingId = null) => {
|
|
226
|
+
handoffGeneration.current++;
|
|
227
|
+
setHandoff(null);
|
|
228
|
+
setSelected(ids);
|
|
229
|
+
setEditingChatId(existingId);
|
|
230
|
+
open('picker');
|
|
231
|
+
};
|
|
232
|
+
const startChat = async () => {
|
|
233
|
+
if (starting.current) return;
|
|
234
|
+
const ids = [...new Set(selected)].filter(id => workspace.agents.some(a => a.id === id));
|
|
235
|
+
if (!ids.length) return;
|
|
236
|
+
if (editingChatId) {
|
|
237
|
+
replies.stop(editingChatId);
|
|
238
|
+
update(s => updateConversationAgents(s, editingChatId, ids));
|
|
239
|
+
close();
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
const id = chatId('chat');
|
|
243
|
+
const next = conversationFor(workspace.agents, ids, id);
|
|
244
|
+
const existing = ids.length === 1 ? workspace.chats.find(c => c.agentIds.length === 1 && c.agentIds[0] === ids[0]) : undefined;
|
|
245
|
+
if (existing) {
|
|
246
|
+
selectChat(existing.id);
|
|
247
|
+
close();
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
starting.current = true;
|
|
251
|
+
const generation = ++handoffGeneration.current;
|
|
252
|
+
const selectedAgents = ids.flatMap(id => workspace.agents.find(a => a.id === id) ?? []);
|
|
253
|
+
const [avatars, origin] = await Promise.all([ids.length > 1 && !reduced ? captureAvatars(selectedAgents, pickerAvatars.current) : Promise.resolve([]), measureAvatar(root.current ?? undefined)]);
|
|
254
|
+
starting.current = false;
|
|
255
|
+
if (generation !== handoffGeneration.current) return;
|
|
256
|
+
setFlightOrigin(origin);
|
|
257
|
+
setHandoff(avatars.length ? {
|
|
258
|
+
chatId: id,
|
|
259
|
+
kind: 'group',
|
|
260
|
+
avatars,
|
|
261
|
+
arrived: []
|
|
262
|
+
} : null);
|
|
263
|
+
setEditor(null);
|
|
264
|
+
update(s => ({
|
|
265
|
+
...s,
|
|
266
|
+
chats: [next, ...s.chats],
|
|
267
|
+
activeId: id
|
|
268
|
+
}));
|
|
269
|
+
follow.current = true;
|
|
270
|
+
close();
|
|
271
|
+
};
|
|
272
|
+
const copy = async (text, message = messages.copied) => {
|
|
273
|
+
try {
|
|
274
|
+
if (onCopy) await onCopy(text);else if (Platform.OS === 'web' && typeof navigator !== 'undefined' && navigator.clipboard) await navigator.clipboard.writeText(text);else await Share.share({
|
|
275
|
+
message: text
|
|
276
|
+
});
|
|
277
|
+
replies.setNotice(message);
|
|
278
|
+
} catch {
|
|
279
|
+
replies.setNotice(messages.couldnTCopyPleaseTryAgain);
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
const transcript = conversation => conversation.messages.map(m => `${m.role === 'user' ? messages.you : workspace.agents.find(a => a.id === m.agentId)?.name ?? messages.agent}: ${m.text}`).join('\n\n');
|
|
283
|
+
const selectChat = id => {
|
|
284
|
+
handoffGeneration.current++;
|
|
285
|
+
setHandoff(null);
|
|
286
|
+
update(s => ({
|
|
287
|
+
...s,
|
|
288
|
+
activeId: id
|
|
289
|
+
}));
|
|
290
|
+
follow.current = !offsets.current[id];
|
|
291
|
+
requestAnimationFrame(() => scroll.current?.scrollTo({
|
|
292
|
+
y: offsets.current[id] ?? 0,
|
|
293
|
+
animated: false
|
|
294
|
+
}));
|
|
295
|
+
if (panel === 'navigation') close();
|
|
296
|
+
};
|
|
297
|
+
const removeChat = id => {
|
|
298
|
+
replies.stop(id);
|
|
299
|
+
update(s => removeConversation(s, id));
|
|
300
|
+
setDrafts(s => {
|
|
301
|
+
const next = {
|
|
302
|
+
...s
|
|
303
|
+
};
|
|
304
|
+
delete next[id];
|
|
305
|
+
return next;
|
|
306
|
+
});
|
|
307
|
+
replies.setNotice(messages.chatRemoved);
|
|
308
|
+
};
|
|
309
|
+
const sendMessage = async text => {
|
|
310
|
+
if (!chat || !text.trim() || replies.pending[chat.id] || sending.current) return;
|
|
311
|
+
sending.current = true;
|
|
312
|
+
const id = chat.id,
|
|
313
|
+
generation = ++handoffGeneration.current;
|
|
314
|
+
const [avatars, origin] = await Promise.all([!chat.messages.length && participants.length > 1 && !reduced ? captureAvatars(participants, emptyAvatars.current) : Promise.resolve([]), measureAvatar(root.current ?? undefined)]);
|
|
315
|
+
sending.current = false;
|
|
316
|
+
if (generation !== handoffGeneration.current) return;
|
|
317
|
+
setFlightOrigin(origin);
|
|
318
|
+
setHandoff(avatars.length ? {
|
|
319
|
+
chatId: id,
|
|
320
|
+
kind: 'first',
|
|
321
|
+
responderId: participants[0]?.id,
|
|
322
|
+
avatars,
|
|
323
|
+
arrived: []
|
|
324
|
+
} : null);
|
|
325
|
+
setDrafts(s => ({
|
|
326
|
+
...s,
|
|
327
|
+
[id]: ''
|
|
328
|
+
}));
|
|
329
|
+
follow.current = true;
|
|
330
|
+
void replies.send(text, id, avatars.length ? 800 : 0, chat);
|
|
331
|
+
};
|
|
332
|
+
const editPanel = editor && /*#__PURE__*/_jsx(AgentCreator, {
|
|
333
|
+
agent: editor,
|
|
334
|
+
onChange: saveAgent,
|
|
335
|
+
voices: voices,
|
|
336
|
+
onPreviewVoice: onPreviewVoice,
|
|
337
|
+
onClose: () => {
|
|
338
|
+
setEditor(null);
|
|
339
|
+
if (panel === 'editor') close();
|
|
340
|
+
},
|
|
341
|
+
style: {
|
|
342
|
+
flex: 1
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
const sortedChats = useMemo(() => workspace.chats.filter(c => `${c.customTitle || c.title} ${workspace.agents.filter(a => c.agentIds.includes(a.id)).map(a => `${a.name} ${a.label}`).join(' ')} ${c.messages[c.messages.length - 1]?.text ?? ''}`.toLocaleLowerCase().includes(query.toLocaleLowerCase())).sort((a, b) => Number(!!b.pinned) - Number(!!a.pinned)), [workspace.chats, query]);
|
|
346
|
+
const sidebar = /*#__PURE__*/_jsx(ChatSidebar, {
|
|
347
|
+
agents: workspace.agents,
|
|
348
|
+
chats: sortedChats,
|
|
349
|
+
activeId: workspace.activeId,
|
|
350
|
+
pending: replies.pending,
|
|
351
|
+
query: query,
|
|
352
|
+
searchOpen: searchOpen,
|
|
353
|
+
onQuery: setQuery,
|
|
354
|
+
onSearch: setSearchOpen,
|
|
355
|
+
onSelect: selectChat,
|
|
356
|
+
onCreate: createAgent,
|
|
357
|
+
onPicker: () => chooseAgents(),
|
|
358
|
+
onMarketplace: () => {
|
|
359
|
+
setMarketItem(null);
|
|
360
|
+
setPanel('marketplace');
|
|
361
|
+
},
|
|
362
|
+
onSettings: () => setPanel('settings'),
|
|
363
|
+
onSupport: () => open('support'),
|
|
364
|
+
onAction: (target, action) => {
|
|
365
|
+
setTargetChatId(target.id);
|
|
366
|
+
if (action === 'pin') update(s => ({
|
|
367
|
+
...s,
|
|
368
|
+
chats: s.chats.map(c => c.id === target.id ? {
|
|
369
|
+
...c,
|
|
370
|
+
pinned: !c.pinned
|
|
371
|
+
} : c)
|
|
372
|
+
}));
|
|
373
|
+
if (action === 'rename') {
|
|
374
|
+
setRename(target.customTitle || target.title);
|
|
375
|
+
open('rename');
|
|
376
|
+
}
|
|
377
|
+
if (action === 'edit') {
|
|
378
|
+
if (target.agentIds.length > 1) chooseAgents(target.agentIds, target.id);else {
|
|
379
|
+
const agent = workspace.agents.find(a => a.id === target.agentIds[0]);
|
|
380
|
+
if (agent) edit(agent);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if (action === 'copy') void copy(transcript(target), messages.conversationCopied);
|
|
384
|
+
if (action === 'copy-id') void copy(target.id, messages.conversationIDCopied);
|
|
385
|
+
if (action === 'remove') removeChat(target.id);
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
const title = panel === 'picker' ? editingChatId ? messages.editGroup : messages.chatWithYourAgents : panel === 'rename' ? messages.renameChat : panel === 'marketplace' ? marketItem?.name ?? messages.marketplace : panel === 'editor' ? messages.editAgentTitle : panel === 'support' ? messages.aLittleHelp : panel === 'settings' ? messages.settings : panel === 'navigation' ? messages.conversations : messages.conversationOptions;
|
|
389
|
+
const messageActions = (id, text) => /*#__PURE__*/_jsxs(StyledView, {
|
|
390
|
+
className: "mt-1 flex-row items-center gap-1",
|
|
391
|
+
children: [['up', 'down'].map(value => /*#__PURE__*/_jsx(StyledPressable, {
|
|
392
|
+
accessibilityRole: "button",
|
|
393
|
+
accessibilityLabel: value === 'up' ? messages.helpfulResponse : messages.unhelpfulResponse,
|
|
394
|
+
accessibilityState: {
|
|
395
|
+
selected: feedback[id] === value
|
|
396
|
+
},
|
|
397
|
+
"aria-pressed": feedback[id] === value,
|
|
398
|
+
onPress: () => setFeedback(s => ({
|
|
399
|
+
...s,
|
|
400
|
+
[id]: value
|
|
401
|
+
})),
|
|
402
|
+
className: "h-[22px] w-[22px] items-center justify-center rounded-md",
|
|
403
|
+
style: {
|
|
404
|
+
backgroundColor: colors.backgroundTertiary
|
|
405
|
+
},
|
|
406
|
+
children: value === 'up' ? /*#__PURE__*/_jsx(RiThumbUpLine, {
|
|
407
|
+
width: 12,
|
|
408
|
+
height: 12,
|
|
409
|
+
fill: feedback[id] === value ? colors.primary : colors.textTertiary
|
|
410
|
+
}) : /*#__PURE__*/_jsx(RiThumbDownLine, {
|
|
411
|
+
width: 12,
|
|
412
|
+
height: 12,
|
|
413
|
+
fill: feedback[id] === value ? colors.primary : colors.textTertiary
|
|
414
|
+
})
|
|
415
|
+
}, value)), /*#__PURE__*/_jsx(StyledPressable, {
|
|
416
|
+
accessibilityRole: "button",
|
|
417
|
+
accessibilityLabel: messages.copyResponse,
|
|
418
|
+
className: "flex size-[22px] items-center justify-center rounded-md bg-background-tertiary-default text-foreground-icon-tertiary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
|
|
419
|
+
onPress: () => {
|
|
420
|
+
void copy(text, messages.responseCopied);
|
|
421
|
+
},
|
|
422
|
+
children: /*#__PURE__*/_jsx(RiFileCopyLine, {
|
|
423
|
+
width: 12,
|
|
424
|
+
height: 12,
|
|
425
|
+
fill: colors.textTertiary
|
|
426
|
+
})
|
|
427
|
+
})]
|
|
428
|
+
});
|
|
429
|
+
return /*#__PURE__*/_jsxs(StyledView, {
|
|
430
|
+
...directionProps,
|
|
431
|
+
ref: root,
|
|
432
|
+
collapsable: false,
|
|
433
|
+
className: `flex h-dvh min-h-0 overflow-hidden bg-background-full p-3 text-text-primary flex-row ${className ?? ''}`,
|
|
434
|
+
style: [{
|
|
435
|
+
flex: 1,
|
|
436
|
+
minHeight: 0
|
|
437
|
+
}, style],
|
|
438
|
+
testID: testID,
|
|
439
|
+
children: [!phone && /*#__PURE__*/_jsx(StyledView, {
|
|
440
|
+
className: "me-4 hidden min-h-0 shrink-0 md:block",
|
|
441
|
+
style: {
|
|
442
|
+
width: 260
|
|
443
|
+
},
|
|
444
|
+
children: sidebar
|
|
445
|
+
}), /*#__PURE__*/_jsxs(StyledView, {
|
|
446
|
+
accessibilityLabel: messages.agentConversation,
|
|
447
|
+
className: "flex min-h-0 min-w-0 flex-1 flex-col rounded-3xl bg-background-secondary-default",
|
|
448
|
+
children: [/*#__PURE__*/_jsxs(StyledView, {
|
|
449
|
+
className: "flex h-[55px] shrink-0 items-start gap-2 px-3 pt-3 flex-row",
|
|
450
|
+
children: [phone && /*#__PURE__*/_jsx(IconButton, {
|
|
451
|
+
icon: RiMenuLine,
|
|
452
|
+
accessibilityLabel: messages.openConversations,
|
|
453
|
+
size: "sm",
|
|
454
|
+
onPress: () => open('navigation')
|
|
455
|
+
}), /*#__PURE__*/_jsx(StyledView, {
|
|
456
|
+
className: "flex min-w-0 flex-1 flex-row",
|
|
457
|
+
children: /*#__PURE__*/_jsxs(StyledView, {
|
|
458
|
+
ref: badgeRef,
|
|
459
|
+
collapsable: false,
|
|
460
|
+
className: "relative z-40 min-w-0 max-w-full rounded-full",
|
|
461
|
+
children: [/*#__PURE__*/_jsx(Surface, {
|
|
462
|
+
fill: colors.backgroundSecondary,
|
|
463
|
+
radius: 999,
|
|
464
|
+
style: {
|
|
465
|
+
position: 'absolute',
|
|
466
|
+
inset: 0
|
|
467
|
+
},
|
|
468
|
+
pointerEvents: "none"
|
|
469
|
+
}), /*#__PURE__*/_jsxs(StyledPressable, {
|
|
470
|
+
accessibilityRole: "button",
|
|
471
|
+
accessibilityLabel: participants.length === 1 ? formatChatMessage(messages.editAgent, participants[0].name) : messages.editConversationAgents,
|
|
472
|
+
onPress: () => participants.length === 1 ? edit(participants[0]) : chooseAgents(chat?.agentIds),
|
|
473
|
+
className: "flex h-[31px] min-w-0 max-w-full items-center gap-2 rounded-full px-2 pe-3 text-body-2-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring flex-row",
|
|
474
|
+
children: [/*#__PURE__*/_jsx(AgentStack, {
|
|
475
|
+
agents: participants,
|
|
476
|
+
size: 20
|
|
477
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
478
|
+
numberOfLines: 1,
|
|
479
|
+
className: "truncate text-body-2-medium text-text-secondary",
|
|
480
|
+
children: participants.length === 1 ? participants[0].name : participants.slice(0, 3).map(a => a.label || a.name).join(' + ')
|
|
481
|
+
}), participants.length > 3 && /*#__PURE__*/_jsxs(Text, {
|
|
482
|
+
className: "shrink-0",
|
|
483
|
+
children: ["+", participants.length - 3]
|
|
484
|
+
})]
|
|
485
|
+
})]
|
|
486
|
+
})
|
|
487
|
+
}), /*#__PURE__*/_jsx(StyledPressable, {
|
|
488
|
+
accessibilityRole: "button",
|
|
489
|
+
accessibilityLabel: messages.copyConversation,
|
|
490
|
+
onPress: () => chat && void copy(transcript(chat), messages.conversationCopied),
|
|
491
|
+
className: "rounded p-1 text-foreground-icon-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
|
|
492
|
+
children: /*#__PURE__*/_jsx(RiShare2Line, {
|
|
493
|
+
width: 16,
|
|
494
|
+
height: 16,
|
|
495
|
+
fill: colors.textSecondary
|
|
496
|
+
})
|
|
497
|
+
}), /*#__PURE__*/_jsxs(D.DropdownMenu, {
|
|
498
|
+
children: [/*#__PURE__*/_jsx(D.DropdownMenuTrigger, {
|
|
499
|
+
asChild: true,
|
|
500
|
+
children: /*#__PURE__*/_jsx(StyledPressable, {
|
|
501
|
+
accessibilityRole: "button",
|
|
502
|
+
accessibilityLabel: messages.conversationOptions,
|
|
503
|
+
className: "rounded p-1 text-foreground-icon-secondary",
|
|
504
|
+
children: /*#__PURE__*/_jsx(RiMoreFill, {
|
|
505
|
+
width: 16,
|
|
506
|
+
height: 16,
|
|
507
|
+
fill: colors.textSecondary
|
|
508
|
+
})
|
|
509
|
+
})
|
|
510
|
+
}), /*#__PURE__*/_jsxs(D.DropdownMenuContent, {
|
|
511
|
+
label: messages.conversationOptions,
|
|
512
|
+
align: "end",
|
|
513
|
+
className: "rounded-[14px] p-1",
|
|
514
|
+
style: {
|
|
515
|
+
borderRadius: 14,
|
|
516
|
+
padding: 4
|
|
517
|
+
},
|
|
518
|
+
children: [/*#__PURE__*/_jsx(D.DropdownMenuLabel, {
|
|
519
|
+
children: messages.inThisConversation
|
|
520
|
+
}), participants.map(agent => /*#__PURE__*/_jsx(D.DropdownMenuItem, {
|
|
521
|
+
onPress: () => edit(agent),
|
|
522
|
+
leading: /*#__PURE__*/_jsx(AgentAvatar, {
|
|
523
|
+
config: agent.avatar,
|
|
524
|
+
size: 20
|
|
525
|
+
}),
|
|
526
|
+
className: "px-2 py-1.5 text-body-medium",
|
|
527
|
+
children: formatChatMessage(messages.editAgent, agent.name)
|
|
528
|
+
}, agent.id)), /*#__PURE__*/_jsx(D.DropdownMenuItem, {
|
|
529
|
+
onPress: () => chooseAgents(chat?.agentIds),
|
|
530
|
+
leading: /*#__PURE__*/_jsx(RiGroupLine, {
|
|
531
|
+
width: 16,
|
|
532
|
+
height: 16
|
|
533
|
+
}),
|
|
534
|
+
className: "px-2 py-1.5 text-body-medium",
|
|
535
|
+
children: messages.startAGroupChat
|
|
536
|
+
})]
|
|
537
|
+
})]
|
|
538
|
+
})]
|
|
539
|
+
}), /*#__PURE__*/_jsx(ScrollSurface, {
|
|
540
|
+
scrollRef: scroll,
|
|
541
|
+
label: messages.messages,
|
|
542
|
+
className: "flex-1",
|
|
543
|
+
contentClassName: chat?.messages.length ? 'pb-4 pt-2' : 'flex items-center justify-center p-4',
|
|
544
|
+
contentContainerStyle: {
|
|
545
|
+
flexGrow: 1
|
|
546
|
+
},
|
|
547
|
+
scrollEventThrottle: 16,
|
|
548
|
+
onScroll: event => {
|
|
549
|
+
const {
|
|
550
|
+
contentOffset,
|
|
551
|
+
contentSize,
|
|
552
|
+
layoutMeasurement
|
|
553
|
+
} = event.nativeEvent;
|
|
554
|
+
follow.current = contentSize.height - contentOffset.y - layoutMeasurement.height < 100;
|
|
555
|
+
if (chat) offsets.current[chat.id] = contentOffset.y;
|
|
556
|
+
},
|
|
557
|
+
onContentSizeChange: () => {
|
|
558
|
+
if (follow.current) scroll.current?.scrollToEnd({
|
|
559
|
+
animated: false
|
|
560
|
+
});
|
|
561
|
+
},
|
|
562
|
+
children: !chat || !chat.messages.length ? /*#__PURE__*/_jsxs(StyledView, {
|
|
563
|
+
className: "flex-1 items-center justify-center gap-4 px-4 py-8",
|
|
564
|
+
children: [/*#__PURE__*/_jsx(SelectedAgentPreview, {
|
|
565
|
+
agents: participants,
|
|
566
|
+
nodes: emptyAvatars.current,
|
|
567
|
+
hidden: handoff?.kind === 'group' && handoff.chatId === chat?.id ? handoff.avatars.filter(a => !handoff.arrived.includes(a.agent.id)).map(a => a.agent.id) : []
|
|
568
|
+
}), /*#__PURE__*/_jsxs(StyledView, {
|
|
569
|
+
className: "flex flex-col items-center gap-1.5",
|
|
570
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
571
|
+
variant: "title-3-semibold",
|
|
572
|
+
style: {
|
|
573
|
+
textAlign: 'center'
|
|
574
|
+
},
|
|
575
|
+
children: participants.length > 1 ? messages.aFewMindsOneConversation : participants[0] ? formatChatMessage(messages.sayHelloTo, participants[0].name) : messages.chatWithYourAgents
|
|
576
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
577
|
+
variant: "body-regular",
|
|
578
|
+
style: {
|
|
579
|
+
maxWidth: 420,
|
|
580
|
+
textAlign: 'center',
|
|
581
|
+
color: colors.textSecondary
|
|
582
|
+
},
|
|
583
|
+
children: participants.length > 1 ? formatChatMessage(messages.areHereSendAMessageToGet, participants.map(a => a.name).join(', ')) : participants[0]?.description ?? messages.chooseAnAgentOrCreateYourOwn
|
|
584
|
+
})]
|
|
585
|
+
}), !chat && /*#__PURE__*/_jsx(Button, {
|
|
586
|
+
onPress: () => chooseAgents(),
|
|
587
|
+
children: messages.startChat
|
|
588
|
+
})]
|
|
589
|
+
}) : /*#__PURE__*/_jsxs(StyledView, {
|
|
590
|
+
children: [/*#__PURE__*/_jsx(StyledView, {
|
|
591
|
+
className: "mb-4 mt-3 flex justify-center items-center",
|
|
592
|
+
style: {
|
|
593
|
+
marginBottom: 4
|
|
594
|
+
},
|
|
595
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
596
|
+
className: "rounded-full bg-background-tertiary-default px-[7px] py-1 text-body-2-medium text-text-secondary",
|
|
597
|
+
children: messages.today
|
|
598
|
+
})
|
|
599
|
+
}), [...chat.messages, ...(replies.thinking[chat.id] ? [replies.thinking[chat.id]] : [])].map(message => {
|
|
600
|
+
const agent = workspace.agents.find(a => a.id === message.agentId);
|
|
601
|
+
const text = formatDemoReply(message.text);
|
|
602
|
+
if (message.role === 'user') return /*#__PURE__*/_jsx(StyledView, {
|
|
603
|
+
className: "me-3 ms-auto mt-3 w-fit max-w-[min(520px,calc(100%-24px))] rounded-[var(--radius-2-5xl)] bg-background-primary-default p-3 text-start text-body-regular whitespace-pre-wrap break-words",
|
|
604
|
+
style: {
|
|
605
|
+
alignSelf: 'flex-end',
|
|
606
|
+
maxWidth: Platform.OS === 'web' ? undefined : '94%'
|
|
607
|
+
},
|
|
608
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
609
|
+
variant: "body-regular",
|
|
610
|
+
children: message.text
|
|
611
|
+
})
|
|
612
|
+
}, message.id);
|
|
613
|
+
const thinking = replies.thinking[chat.id]?.id === message.id;
|
|
614
|
+
return /*#__PURE__*/_jsx(ReplyRow, {
|
|
615
|
+
header: agent && /*#__PURE__*/_jsx(ReplyHeader, {
|
|
616
|
+
agent: agent,
|
|
617
|
+
thinking: thinking,
|
|
618
|
+
workingKey: replies.pending[chat.id],
|
|
619
|
+
nodes: thinking ? replyAvatars.current : undefined,
|
|
620
|
+
arriving: thinking && handoff?.kind === 'first' && handoff.chatId === chat.id && handoff.responderId === agent.id && !handoff.arrived.includes(agent.id),
|
|
621
|
+
onEdit: () => edit(agent)
|
|
622
|
+
}),
|
|
623
|
+
actions: !thinking && replies.streaming[chat.id] !== message.id && messageActions(message.id, text),
|
|
624
|
+
children: !!text && /*#__PURE__*/_jsx(StyledView, {
|
|
625
|
+
className: "rounded-[var(--radius-2-5xl)] bg-background-tertiary-default p-3",
|
|
626
|
+
children: /*#__PURE__*/_jsx(StreamedText, {
|
|
627
|
+
text: text,
|
|
628
|
+
paragraphs: true
|
|
629
|
+
})
|
|
630
|
+
})
|
|
631
|
+
}, message.id);
|
|
632
|
+
})]
|
|
633
|
+
})
|
|
634
|
+
}), chat && /*#__PURE__*/_jsx(StyledView, {
|
|
635
|
+
className: "p-1",
|
|
636
|
+
children: /*#__PURE__*/_jsx(ComposerPanel, {
|
|
637
|
+
value: drafts[chat.id] ?? '',
|
|
638
|
+
onValueChange: value => setDrafts(s => ({
|
|
639
|
+
...s,
|
|
640
|
+
[chat.id]: value
|
|
641
|
+
})),
|
|
642
|
+
onSubmit: text => {
|
|
643
|
+
void sendMessage(text);
|
|
644
|
+
},
|
|
645
|
+
disabled: !!replies.pending[chat.id],
|
|
646
|
+
busy: !!replies.pending[chat.id],
|
|
647
|
+
onStop: () => replies.stop(chat.id),
|
|
648
|
+
providers: props.providers ?? WORKSPACE_MODELS,
|
|
649
|
+
status: null,
|
|
650
|
+
defaultPermission: "bypass",
|
|
651
|
+
defaultModel: "anthropic/fable-5",
|
|
652
|
+
style: {
|
|
653
|
+
borderRadius: 20
|
|
654
|
+
}
|
|
655
|
+
})
|
|
656
|
+
})]
|
|
657
|
+
}), !!replies.notice && /*#__PURE__*/_jsx(Portal, {
|
|
658
|
+
children: /*#__PURE__*/_jsx(OverlayRoot, {
|
|
659
|
+
zIndex: TOAST_LAYER_Z,
|
|
660
|
+
style: {
|
|
661
|
+
justifyContent: 'flex-end',
|
|
662
|
+
alignItems: 'center',
|
|
663
|
+
padding: 20
|
|
664
|
+
},
|
|
665
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
666
|
+
pointerEvents: "none",
|
|
667
|
+
className: "max-w-[calc(100%-32px)] rounded-xl border border-border-button-default bg-background-primary-default px-4 py-3 shadow-lg",
|
|
668
|
+
style: {
|
|
669
|
+
maxWidth: '100%'
|
|
670
|
+
},
|
|
671
|
+
children: /*#__PURE__*/_jsxs(StyledView, {
|
|
672
|
+
className: "flex flex-row items-center gap-2",
|
|
673
|
+
children: [/*#__PURE__*/_jsx(RiCheckLine, {
|
|
674
|
+
width: 16,
|
|
675
|
+
height: 16,
|
|
676
|
+
fill: colors.textSecondary
|
|
677
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
678
|
+
accessibilityRole: "alert",
|
|
679
|
+
"aria-live": "polite",
|
|
680
|
+
className: "text-body-regular text-text-primary",
|
|
681
|
+
children: replies.notice
|
|
682
|
+
})]
|
|
683
|
+
})
|
|
684
|
+
})
|
|
685
|
+
})
|
|
686
|
+
}), /*#__PURE__*/_jsx(EditorRail, {
|
|
687
|
+
active: !!editor && !compact,
|
|
688
|
+
children: editPanel
|
|
689
|
+
}), /*#__PURE__*/_jsx(Dialog, {
|
|
690
|
+
presentation: "custom",
|
|
691
|
+
exitDuration: panel === 'editor' ? 280 : 240,
|
|
692
|
+
contentPadding: 0,
|
|
693
|
+
scrollable: false,
|
|
694
|
+
control: surface,
|
|
695
|
+
label: title,
|
|
696
|
+
maxWidth: 100000,
|
|
697
|
+
placement: "center",
|
|
698
|
+
style: {
|
|
699
|
+
position: 'absolute',
|
|
700
|
+
inset: 0,
|
|
701
|
+
width: '100%',
|
|
702
|
+
height: '100%',
|
|
703
|
+
maxWidth: '100%'
|
|
704
|
+
},
|
|
705
|
+
containerStyle: {
|
|
706
|
+
padding: 0,
|
|
707
|
+
paddingHorizontal: 0
|
|
708
|
+
},
|
|
709
|
+
onClose: () => {
|
|
710
|
+
setPanel(null);
|
|
711
|
+
if (compact && panel === 'editor') setEditor(null);
|
|
712
|
+
},
|
|
713
|
+
children: /*#__PURE__*/_jsxs(ChatDialogFrame, {
|
|
714
|
+
title: title,
|
|
715
|
+
mode: panel === 'editor' ? 'editor' : panel === 'navigation' ? 'navigation' : 'center',
|
|
716
|
+
preview: panel === 'picker' ? /*#__PURE__*/_jsx(SelectedAgentPreview, {
|
|
717
|
+
caption: true,
|
|
718
|
+
agents: selected.flatMap(id => workspace.agents.find(a => a.id === id) ?? []),
|
|
719
|
+
nodes: pickerAvatars.current,
|
|
720
|
+
hidden: handoff?.kind === 'group' ? handoff.avatars.map(a => a.agent.id) : []
|
|
721
|
+
}) : undefined,
|
|
722
|
+
footer: panel === 'picker' ? /*#__PURE__*/_jsx(Button, {
|
|
723
|
+
className: "w-full rounded-full",
|
|
724
|
+
style: {
|
|
725
|
+
width: '100%',
|
|
726
|
+
borderRadius: 999
|
|
727
|
+
},
|
|
728
|
+
onPress: () => {
|
|
729
|
+
void startChat();
|
|
730
|
+
},
|
|
731
|
+
disabled: !selected.length,
|
|
732
|
+
children: messages.pickerAction(!!editingChatId, selected.length)
|
|
733
|
+
}) : panel === 'rename' ? /*#__PURE__*/_jsx(Button, {
|
|
734
|
+
className: "w-full rounded-full",
|
|
735
|
+
style: {
|
|
736
|
+
width: '100%',
|
|
737
|
+
borderRadius: 999
|
|
738
|
+
},
|
|
739
|
+
disabled: !rename.trim(),
|
|
740
|
+
onPress: () => {
|
|
741
|
+
update(s => ({
|
|
742
|
+
...s,
|
|
743
|
+
chats: s.chats.map(c => c.id === targetChat?.id ? {
|
|
744
|
+
...c,
|
|
745
|
+
customTitle: rename.trim()
|
|
746
|
+
} : c)
|
|
747
|
+
}));
|
|
748
|
+
close();
|
|
749
|
+
},
|
|
750
|
+
children: messages.saveName
|
|
751
|
+
}) : undefined,
|
|
752
|
+
children: [panel === 'navigation' && sidebar, panel === 'editor' && editPanel, panel === 'rename' && /*#__PURE__*/_jsx(TextFieldInput, {
|
|
753
|
+
label: messages.chatName,
|
|
754
|
+
autoFocus: true,
|
|
755
|
+
value: rename,
|
|
756
|
+
onChangeText: setRename,
|
|
757
|
+
maxLength: 100,
|
|
758
|
+
onSubmitEditing: () => {
|
|
759
|
+
if (!rename.trim()) return;
|
|
760
|
+
update(s => ({
|
|
761
|
+
...s,
|
|
762
|
+
chats: s.chats.map(c => c.id === targetChat?.id ? {
|
|
763
|
+
...c,
|
|
764
|
+
customTitle: rename.trim()
|
|
765
|
+
} : c)
|
|
766
|
+
}));
|
|
767
|
+
close();
|
|
768
|
+
}
|
|
769
|
+
}), panel === 'picker' && /*#__PURE__*/_jsx(StyledView, {
|
|
770
|
+
className: "flex flex-wrap justify-center gap-2 flex-row",
|
|
771
|
+
role: "group",
|
|
772
|
+
accessibilityLabel: messages.chooseYourTeammates,
|
|
773
|
+
children: workspace.agents.map(agent => {
|
|
774
|
+
const picked = selected.includes(agent.id);
|
|
775
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
776
|
+
appearance: "plain",
|
|
777
|
+
tone: "neutral",
|
|
778
|
+
accessibilityLabel: agent.name,
|
|
779
|
+
pressed: picked,
|
|
780
|
+
onPress: () => setSelected(ids => picked ? ids.filter(id => id !== agent.id) : [...ids, agent.id]),
|
|
781
|
+
className: `h-10 max-w-full rounded-full border px-2 shadow-none transition-colors hover:bg-background-tertiary-default active:bg-background-tertiary-hover ${picked ? 'border-foreground-icon-secondary bg-background-tertiary-default text-text-primary dark:bg-background-tertiary-hover dark:hover:bg-background-tertiary-hover dark:active:bg-background-tertiary-hover' : 'border-transparent bg-background-secondary-default text-text-secondary'}`,
|
|
782
|
+
style: {
|
|
783
|
+
height: 40,
|
|
784
|
+
maxWidth: '100%',
|
|
785
|
+
borderRadius: 999,
|
|
786
|
+
borderWidth: 1,
|
|
787
|
+
borderColor: picked ? colors.textSecondary : 'transparent',
|
|
788
|
+
backgroundColor: picked ? colors.backgroundTertiary : colors.backgroundSecondary,
|
|
789
|
+
boxShadow: 'none',
|
|
790
|
+
paddingStart: 8,
|
|
791
|
+
paddingEnd: 8
|
|
792
|
+
},
|
|
793
|
+
children: /*#__PURE__*/_jsx(StyledView, {
|
|
794
|
+
className: "inline-flex items-center justify-center px-1 shrink-0 flex-row",
|
|
795
|
+
children: /*#__PURE__*/_jsxs(StyledView, {
|
|
796
|
+
className: "flex min-w-0 items-center gap-2 flex-row",
|
|
797
|
+
children: [/*#__PURE__*/_jsx(StyledView, {
|
|
798
|
+
className: "size-6 shrink-0",
|
|
799
|
+
"aria-hidden": true,
|
|
800
|
+
children: /*#__PURE__*/_jsx(AgentAvatar, {
|
|
801
|
+
config: agent.avatar,
|
|
802
|
+
size: 24
|
|
803
|
+
})
|
|
804
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
805
|
+
className: `truncate text-body-medium ${picked ? 'text-text-primary' : 'text-text-secondary'}`,
|
|
806
|
+
numberOfLines: 1,
|
|
807
|
+
children: agent.name
|
|
808
|
+
})]
|
|
809
|
+
})
|
|
810
|
+
})
|
|
811
|
+
}, agent.id);
|
|
812
|
+
})
|
|
813
|
+
}), panel === 'options' && targetChat && /*#__PURE__*/_jsxs(StyledView, {
|
|
814
|
+
className: "gap-2",
|
|
815
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
816
|
+
appearance: "plain",
|
|
817
|
+
onPress: () => {
|
|
818
|
+
update(s => ({
|
|
819
|
+
...s,
|
|
820
|
+
chats: s.chats.map(c => c.id === targetChat.id ? {
|
|
821
|
+
...c,
|
|
822
|
+
pinned: !c.pinned
|
|
823
|
+
} : c)
|
|
824
|
+
}));
|
|
825
|
+
close();
|
|
826
|
+
},
|
|
827
|
+
children: targetChat.pinned ? messages.unpinChat : messages.pinChat
|
|
828
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
829
|
+
appearance: "plain",
|
|
830
|
+
onPress: () => {
|
|
831
|
+
setRename(targetChat.customTitle || targetChat.title);
|
|
832
|
+
setPanel('rename');
|
|
833
|
+
},
|
|
834
|
+
children: messages.renameChat
|
|
835
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
836
|
+
appearance: "plain",
|
|
837
|
+
leadingIcon: RiGroupLine,
|
|
838
|
+
onPress: () => chooseAgents(targetChat.agentIds, targetChat.id),
|
|
839
|
+
children: messages.editGroup
|
|
840
|
+
}), targetChat.agentIds.map(id => {
|
|
841
|
+
const agent = workspace.agents.find(a => a.id === id);
|
|
842
|
+
return agent && /*#__PURE__*/_jsx(Button, {
|
|
843
|
+
appearance: "plain",
|
|
844
|
+
onPress: () => {
|
|
845
|
+
if (!compact) close();
|
|
846
|
+
edit(agent);
|
|
847
|
+
},
|
|
848
|
+
children: formatChatMessage(messages.editAgent, agent.name)
|
|
849
|
+
}, id);
|
|
850
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
851
|
+
appearance: "plain",
|
|
852
|
+
onPress: () => {
|
|
853
|
+
void copy(transcript(targetChat), messages.conversationCopied);
|
|
854
|
+
},
|
|
855
|
+
children: messages.copyConversation
|
|
856
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
857
|
+
appearance: "plain",
|
|
858
|
+
onPress: () => {
|
|
859
|
+
void copy(targetChat.id, messages.conversationIDCopied);
|
|
860
|
+
},
|
|
861
|
+
children: messages.copyConversationID
|
|
862
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
863
|
+
appearance: "plain",
|
|
864
|
+
onPress: () => removeChat(targetChat.id),
|
|
865
|
+
children: messages.removeChat
|
|
866
|
+
})]
|
|
867
|
+
}), panel === 'support' && /*#__PURE__*/_jsxs(StyledView, {
|
|
868
|
+
className: "space-y-4 text-body-regular text-text-secondary",
|
|
869
|
+
style: {
|
|
870
|
+
gap: 16
|
|
871
|
+
},
|
|
872
|
+
children: [/*#__PURE__*/_jsx(SupportCopy, {
|
|
873
|
+
text: messages.useToCreateABotOrStart,
|
|
874
|
+
term: "+"
|
|
875
|
+
}), /*#__PURE__*/_jsx(SupportCopy, {
|
|
876
|
+
text: messages.openTheMarketplaceToExplorePluginsAnd,
|
|
877
|
+
term: messages.marketplace
|
|
878
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
879
|
+
className: "text-body-regular text-text-secondary",
|
|
880
|
+
children: messages.sendWithEnterUseShiftEnterFor
|
|
881
|
+
})]
|
|
882
|
+
})]
|
|
883
|
+
})
|
|
884
|
+
}), (panel === 'marketplace' || panel === 'settings') && /*#__PURE__*/_jsx(Marketplace, {
|
|
885
|
+
initialItem: marketItem?.id,
|
|
886
|
+
defaultPage: panel === 'settings' ? 'general' : 'marketplace',
|
|
887
|
+
agents: workspace.agents,
|
|
888
|
+
installedPlugins: workspace.installedPlugins ?? DEFAULT_PLUGINS,
|
|
889
|
+
onClose: () => setPanel(null),
|
|
890
|
+
onCopy: copy,
|
|
891
|
+
onChat: id => {
|
|
892
|
+
setSelected([id]);
|
|
893
|
+
const existing = workspace.chats.find(c => c.agentIds.length === 1 && c.agentIds[0] === id);
|
|
894
|
+
if (existing) selectChat(existing.id);else {
|
|
895
|
+
const created = conversationFor(workspace.agents, [id], chatId('chat'));
|
|
896
|
+
update(s => ({
|
|
897
|
+
...s,
|
|
898
|
+
chats: [created, ...s.chats],
|
|
899
|
+
activeId: created.id
|
|
900
|
+
}));
|
|
901
|
+
}
|
|
902
|
+
setPanel(null);
|
|
903
|
+
},
|
|
904
|
+
onAddBot: item => update(s => addMarketplaceBot(s, item)),
|
|
905
|
+
onTogglePlugin: id => update(s => {
|
|
906
|
+
const installed = s.installedPlugins ?? DEFAULT_PLUGINS;
|
|
907
|
+
return {
|
|
908
|
+
...s,
|
|
909
|
+
installedPlugins: installed.includes(id) ? installed.filter(value => value !== id) : [...installed, id]
|
|
910
|
+
};
|
|
911
|
+
})
|
|
912
|
+
}), handoff && handoff.chatId === chat?.id && /*#__PURE__*/_jsx(AvatarHandoff, {
|
|
913
|
+
handoff: handoff,
|
|
914
|
+
origin: flightOrigin,
|
|
915
|
+
resolveTarget: resolveFlightTarget,
|
|
916
|
+
onArrive: arriveAvatar,
|
|
917
|
+
onFinish: finishHandoff
|
|
918
|
+
})]
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
//# sourceMappingURL=MultiAgentChatBase.js.map
|