@oxy.so/bloom 6.3.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 +20 -17
- 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/page-header.mdx +18 -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/page-header/EdgeScrim.js +7 -3
- package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
- package/lib/commonjs/page-header/index.js +13 -0
- package/lib/commonjs/page-header/index.js.map +1 -1
- 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/SidebarScrollArea.js +3 -5
- package/lib/commonjs/sidebar/SidebarScrollArea.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/page-header/EdgeScrim.js +7 -3
- package/lib/module/page-header/EdgeScrim.js.map +1 -1
- package/lib/module/page-header/index.js +1 -0
- package/lib/module/page-header/index.js.map +1 -1
- 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/SidebarScrollArea.js +3 -5
- package/lib/module/sidebar/SidebarScrollArea.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/page-header/EdgeScrim.d.ts +10 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/index.d.ts +2 -0
- package/lib/typescript/commonjs/page-header/index.d.ts.map +1 -1
- 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/page-header/EdgeScrim.d.ts +10 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/module/page-header/index.d.ts +2 -0
- package/lib/typescript/module/page-header/index.d.ts.map +1 -1
- 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/page-header/EdgeScrim.tsx +13 -3
- package/src/page-header/index.ts +2 -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/SidebarScrollArea.tsx +1 -1
- 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,412 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { FOLD_CONFIG, parsePreset } from "../agent-avatar/model.js";
|
|
4
|
+
import { pickMessages } from "../locale/messages.js";
|
|
5
|
+
import { MULTI_AGENT_CHAT_MESSAGES, formatChatMessage } from "./messages.js";
|
|
6
|
+
import { normalizeAgentPreferences } from "../agent-creator/shared.js";
|
|
7
|
+
const NEW_AGENT_IDENTITIES = [{
|
|
8
|
+
name: 'Product planner',
|
|
9
|
+
avatar: {
|
|
10
|
+
...FOLD_CONFIG,
|
|
11
|
+
foldShape: 'diamond',
|
|
12
|
+
hue: 215,
|
|
13
|
+
saturation: 70,
|
|
14
|
+
eyes: 'curious',
|
|
15
|
+
seed: 71
|
|
16
|
+
}
|
|
17
|
+
}, {
|
|
18
|
+
name: 'Cloud engineer',
|
|
19
|
+
avatar: {
|
|
20
|
+
...FOLD_CONFIG,
|
|
21
|
+
foldShape: 'cloud',
|
|
22
|
+
hue: 18,
|
|
23
|
+
saturation: 76,
|
|
24
|
+
eyes: 'thinking',
|
|
25
|
+
seed: 82
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
28
|
+
name: 'Support guide',
|
|
29
|
+
avatar: {
|
|
30
|
+
...FOLD_CONFIG,
|
|
31
|
+
foldShape: 'heart',
|
|
32
|
+
hue: 135,
|
|
33
|
+
saturation: 48,
|
|
34
|
+
eyes: 'happy',
|
|
35
|
+
seed: 93
|
|
36
|
+
}
|
|
37
|
+
}];
|
|
38
|
+
|
|
39
|
+
/** Choose an unused identity, including when restoring old unnamed demo bots. */
|
|
40
|
+
export function nextAgentIdentity(agents) {
|
|
41
|
+
const names = new Set(agents.map(agent => agent.name.toLowerCase()));
|
|
42
|
+
let index = 0;
|
|
43
|
+
while (true) {
|
|
44
|
+
const identity = NEW_AGENT_IDENTITIES[index % NEW_AGENT_IDENTITIES.length];
|
|
45
|
+
const cycle = Math.floor(index / NEW_AGENT_IDENTITIES.length);
|
|
46
|
+
const name = cycle ? `${identity.name} ${cycle + 1}` : identity.name;
|
|
47
|
+
if (!names.has(name.toLowerCase())) return {
|
|
48
|
+
name,
|
|
49
|
+
avatar: {
|
|
50
|
+
...identity.avatar,
|
|
51
|
+
hue: (identity.avatar.hue + cycle * 47) % 360,
|
|
52
|
+
seed: identity.avatar.seed + cycle
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
index++;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const ADDITIONAL_AGENTS = [{
|
|
59
|
+
id: 'product',
|
|
60
|
+
...NEW_AGENT_IDENTITIES[0],
|
|
61
|
+
label: 'Product',
|
|
62
|
+
description: 'Turns ideas into clear priorities, practical roadmaps, and manageable next steps.'
|
|
63
|
+
}, {
|
|
64
|
+
id: 'cloud',
|
|
65
|
+
...NEW_AGENT_IDENTITIES[1],
|
|
66
|
+
label: 'Cloud',
|
|
67
|
+
description: 'Helps with server architecture, cloud infrastructure, deployments, and reliable services.'
|
|
68
|
+
}, {
|
|
69
|
+
id: 'support',
|
|
70
|
+
...NEW_AGENT_IDENTITIES[2],
|
|
71
|
+
label: 'Support',
|
|
72
|
+
description: 'Finds helpful answers and makes every customer conversation feel clear and personal.'
|
|
73
|
+
}, {
|
|
74
|
+
id: 'data',
|
|
75
|
+
name: 'Data analyst',
|
|
76
|
+
label: 'Analytics',
|
|
77
|
+
description: 'Turns data into clear insights, useful charts, and practical decisions.',
|
|
78
|
+
avatar: {
|
|
79
|
+
...FOLD_CONFIG,
|
|
80
|
+
foldShape: 'pocket',
|
|
81
|
+
hue: 205,
|
|
82
|
+
saturation: 62,
|
|
83
|
+
eyes: 'focused',
|
|
84
|
+
seed: 104
|
|
85
|
+
}
|
|
86
|
+
}];
|
|
87
|
+
export const INITIAL_AGENTS = [{
|
|
88
|
+
id: 'design',
|
|
89
|
+
name: 'landing page designer',
|
|
90
|
+
label: 'Design',
|
|
91
|
+
description: 'Thoughtful layouts, clear hierarchy, and a little personality for your next landing page.',
|
|
92
|
+
avatar: {
|
|
93
|
+
...FOLD_CONFIG,
|
|
94
|
+
hue: 157,
|
|
95
|
+
saturation: 37,
|
|
96
|
+
eyes: 'curious',
|
|
97
|
+
seed: 12
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
id: 'content',
|
|
101
|
+
name: 'content reviewer',
|
|
102
|
+
label: 'Writing',
|
|
103
|
+
description: 'Makes your writing clear, concise, and unmistakably yours.',
|
|
104
|
+
avatar: {
|
|
105
|
+
...FOLD_CONFIG,
|
|
106
|
+
foldShape: 'pocket',
|
|
107
|
+
hue: 25,
|
|
108
|
+
saturation: 60,
|
|
109
|
+
eyes: 'thinking',
|
|
110
|
+
seed: 29
|
|
111
|
+
}
|
|
112
|
+
}, {
|
|
113
|
+
id: 'marketing',
|
|
114
|
+
name: 'marketing bot',
|
|
115
|
+
label: 'Marketing',
|
|
116
|
+
description: 'Turns a good idea into a campaign people remember.',
|
|
117
|
+
avatar: {
|
|
118
|
+
...FOLD_CONFIG,
|
|
119
|
+
foldShape: 'star',
|
|
120
|
+
hue: 179,
|
|
121
|
+
saturation: 47,
|
|
122
|
+
eyes: 'happy',
|
|
123
|
+
seed: 37
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
id: 'seo',
|
|
127
|
+
name: 'seo bot',
|
|
128
|
+
label: 'SEO',
|
|
129
|
+
description: 'Helps the right people discover your work through search.',
|
|
130
|
+
avatar: {
|
|
131
|
+
...FOLD_CONFIG,
|
|
132
|
+
foldShape: 'flower',
|
|
133
|
+
hue: 253,
|
|
134
|
+
saturation: 65,
|
|
135
|
+
eyes: 'neutral',
|
|
136
|
+
seed: 42
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
id: 'research',
|
|
140
|
+
name: 'research assistant',
|
|
141
|
+
label: 'Research',
|
|
142
|
+
description: 'Connects the dots, asks better questions, and brings the evidence.',
|
|
143
|
+
avatar: {
|
|
144
|
+
...FOLD_CONFIG,
|
|
145
|
+
foldShape: 'petal',
|
|
146
|
+
hue: 43,
|
|
147
|
+
saturation: 80,
|
|
148
|
+
eyes: 'thinking',
|
|
149
|
+
seed: 53
|
|
150
|
+
}
|
|
151
|
+
}, {
|
|
152
|
+
id: 'security',
|
|
153
|
+
name: 'Security agent',
|
|
154
|
+
label: 'Security',
|
|
155
|
+
description: 'A careful second pair of eyes for permissions, privacy, and application security.',
|
|
156
|
+
avatar: {
|
|
157
|
+
...FOLD_CONFIG,
|
|
158
|
+
foldShape: 'shield',
|
|
159
|
+
hue: 181,
|
|
160
|
+
saturation: 49,
|
|
161
|
+
eyes: 'neutral',
|
|
162
|
+
grain: 8,
|
|
163
|
+
seed: 64
|
|
164
|
+
}
|
|
165
|
+
}, ...ADDITIONAL_AGENTS];
|
|
166
|
+
const SAMPLE_CONVERSATIONS = {
|
|
167
|
+
design: {
|
|
168
|
+
prompt: 'How can we make the landing page feel clearer?',
|
|
169
|
+
reply: 'Give the hero one clear action. Lead with the outcome, pair it with a focused product preview, and move the secondary links below the fold.\n\nFor the next section, show three concrete benefits with short examples. That creates a natural path from understanding the product to trying it.'
|
|
170
|
+
},
|
|
171
|
+
content: {
|
|
172
|
+
prompt: 'Can you help tighten our welcome email?',
|
|
173
|
+
reply: 'The shorter opening feels more welcoming. Start with a quick thank-you, explain the first useful step, and keep the main button close to that instruction.\n\nSave the feature tour for a follow-up. A new customer should leave this email knowing exactly where to begin.'
|
|
174
|
+
},
|
|
175
|
+
marketing: {
|
|
176
|
+
prompt: 'What should our launch campaign focus on?',
|
|
177
|
+
reply: 'Lead with the problem your audience recognizes. Build the campaign around one before-and-after story, then adapt it for email, social, and the launch page.\n\nTry two opening lines with a small audience first. Use the response to choose a direction before expanding the campaign.'
|
|
178
|
+
},
|
|
179
|
+
seo: {
|
|
180
|
+
prompt: 'Help me plan a useful topic cluster for our blog.',
|
|
181
|
+
reply: 'Start with a practical guide to the core topic. Support it with focused articles that answer the next questions readers are likely to ask.\n\nLink each article back to the guide and to one related next step. Clear titles and useful examples will make the structure easier for people to navigate.'
|
|
182
|
+
},
|
|
183
|
+
research: {
|
|
184
|
+
prompt: 'How should we prepare for customer interviews?',
|
|
185
|
+
reply: 'Ask about the last time the problem happened. Have customers walk through what they tried, where they got stuck, and what a good result would have looked like.\n\nKeep the first five interviews focused on the same questions. Compare the patterns afterward before deciding which assumption to test next.'
|
|
186
|
+
},
|
|
187
|
+
security: {
|
|
188
|
+
prompt: 'What should we check before sharing the beta?',
|
|
189
|
+
reply: 'Review access permissions before inviting testers. Confirm that every request checks the current user’s access and that one account cannot read another account’s data.\n\nThen check the password-reset flow, uploaded files, and sensitive information in logs. Keep a short checklist so the same checks run before each release.'
|
|
190
|
+
},
|
|
191
|
+
product: {
|
|
192
|
+
prompt: 'Can you help prioritize our first release?',
|
|
193
|
+
reply: 'Keep the first release focused on one complete journey. Pick the three things someone must be able to do to reach the main outcome, and move supporting ideas into a later list.\n\nGive each priority a clear success condition. That makes it easier to decide whether the release is ready without adding more features.'
|
|
194
|
+
},
|
|
195
|
+
cloud: {
|
|
196
|
+
prompt: 'How should we approach our staging deployment?',
|
|
197
|
+
reply: 'Give staging its own environment and data. Match the production configuration closely, while keeping credentials, storage, and deployment permissions separate.\n\nAdd a health check and a simple rollback path before automating releases. Then use a small deployment to verify logs, startup behavior, and connectivity.'
|
|
198
|
+
},
|
|
199
|
+
support: {
|
|
200
|
+
prompt: 'Help me write a reply to a customer whose import failed.',
|
|
201
|
+
reply: 'Acknowledge the failed import and offer one clear next step. Ask for the file type and the error they saw, then explain what you will check with that information.\n\nKeep the reply warm and specific. Let them know when to expect an update so they do not have to chase the conversation.'
|
|
202
|
+
},
|
|
203
|
+
data: {
|
|
204
|
+
prompt: 'Which numbers should we include in the weekly dashboard?',
|
|
205
|
+
reply: 'Track activation alongside weekly retention. Those two measures help show whether new people reach value and whether they come back after the first visit.\n\nBreak the results down by signup week and acquisition source. Add a short note about unusual changes so the dashboard helps people decide what to investigate.'
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
function sampleMessages(agentId) {
|
|
209
|
+
const sample = SAMPLE_CONVERSATIONS[agentId];
|
|
210
|
+
if (!sample) return [];
|
|
211
|
+
return [{
|
|
212
|
+
id: `sample-request-${agentId}`,
|
|
213
|
+
role: 'user',
|
|
214
|
+
text: sample.prompt
|
|
215
|
+
}, {
|
|
216
|
+
id: `sample-reply-${agentId}`,
|
|
217
|
+
role: 'agent',
|
|
218
|
+
agentId,
|
|
219
|
+
example: true,
|
|
220
|
+
text: sample.reply
|
|
221
|
+
}];
|
|
222
|
+
}
|
|
223
|
+
const STARTER_CHAT_AGENT_IDS = new Set(['design', 'content', 'marketing', 'seo', 'research', 'security', 'cloud']);
|
|
224
|
+
export const INITIAL_WORKSPACE = {
|
|
225
|
+
agents: INITIAL_AGENTS,
|
|
226
|
+
activeId: 'chat-design',
|
|
227
|
+
chats: INITIAL_AGENTS.filter(agent => STARTER_CHAT_AGENT_IDS.has(agent.id)).map(agent => ({
|
|
228
|
+
id: `chat-${agent.id}`,
|
|
229
|
+
title: agent.name,
|
|
230
|
+
agentIds: [agent.id],
|
|
231
|
+
messages: sampleMessages(agent.id)
|
|
232
|
+
}))
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/** Restored data is bounded and validated before it reaches the animated renderer. */
|
|
236
|
+
export function restoreWorkspace(raw) {
|
|
237
|
+
try {
|
|
238
|
+
const data = JSON.parse(raw);
|
|
239
|
+
if (!data || !Array.isArray(data.agents) || !Array.isArray(data.chats) || !data.agents.length || data.agents.length > 100 || data.chats.length > 200) return null;
|
|
240
|
+
let agents = data.agents.map(a => {
|
|
241
|
+
if (!a || typeof a.id !== 'string' || typeof a.name !== 'string' || !a.name.trim() || typeof a.label !== 'string' || typeof a.description !== 'string') throw new Error('Invalid agent');
|
|
242
|
+
return {
|
|
243
|
+
id: a.id.slice(0, 100),
|
|
244
|
+
name: a.name.slice(0, 48),
|
|
245
|
+
label: a.label.slice(0, 60),
|
|
246
|
+
description: a.description.slice(0, 500),
|
|
247
|
+
...(a.preferences ? {
|
|
248
|
+
preferences: normalizeAgentPreferences(a.preferences)
|
|
249
|
+
} : {}),
|
|
250
|
+
avatar: {
|
|
251
|
+
...parsePreset({
|
|
252
|
+
name: a.name,
|
|
253
|
+
config: a.avatar
|
|
254
|
+
}).config,
|
|
255
|
+
family: 'fold',
|
|
256
|
+
lookAt: 'wander'
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
});
|
|
260
|
+
const renamed = new Set();
|
|
261
|
+
for (const agent of agents) {
|
|
262
|
+
if (agent.name.trim().toLowerCase() !== 'new bot') continue;
|
|
263
|
+
Object.assign(agent, nextAgentIdentity(agents));
|
|
264
|
+
renamed.add(agent.id);
|
|
265
|
+
}
|
|
266
|
+
const ids = new Set(agents.map(a => a.id));
|
|
267
|
+
if (ids.size !== agents.length) return null;
|
|
268
|
+
let chats = data.chats.map(c => {
|
|
269
|
+
if (!c || typeof c.id !== 'string' || typeof c.title !== 'string' || !Array.isArray(c.agentIds) || !c.agentIds.length || c.agentIds.some(id => !ids.has(id)) || new Set(c.agentIds).size !== c.agentIds.length || !Array.isArray(c.messages) || c.messages.length > 1000) throw new Error('Invalid conversation');
|
|
270
|
+
let messages = c.messages.map(m => {
|
|
271
|
+
if (!m || typeof m.id !== 'string' || typeof m.text !== 'string' || !['user', 'agent'].includes(m.role) || m.role === 'agent' && (!m.agentId || !ids.has(m.agentId))) throw new Error('Invalid message');
|
|
272
|
+
return {
|
|
273
|
+
id: m.id,
|
|
274
|
+
role: m.role,
|
|
275
|
+
...(m.agentId ? {
|
|
276
|
+
agentId: m.agentId
|
|
277
|
+
} : {}),
|
|
278
|
+
text: m.text.slice(0, 20000),
|
|
279
|
+
...(m.example === true ? {
|
|
280
|
+
example: true
|
|
281
|
+
} : {})
|
|
282
|
+
};
|
|
283
|
+
});
|
|
284
|
+
const sampleAgentId = c.agentIds[0];
|
|
285
|
+
if (c.agentIds.length === 1 && c.id === `chat-${sampleAgentId}` && SAMPLE_CONVERSATIONS[sampleAgentId] && messages.every(message => message.id === `intro-${sampleAgentId}` || sampleAgentId === 'design' && message.id === 'request-design')) {
|
|
286
|
+
messages = sampleMessages(sampleAgentId);
|
|
287
|
+
}
|
|
288
|
+
const renamedAgent = c.agentIds.length === 1 && renamed.has(c.agentIds[0]) ? agents.find(a => a.id === c.agentIds[0]) : undefined;
|
|
289
|
+
return {
|
|
290
|
+
id: c.id,
|
|
291
|
+
title: renamedAgent && c.title.trim().toLowerCase() === 'new bot' ? renamedAgent.name : c.title.slice(0, 100),
|
|
292
|
+
agentIds: c.agentIds,
|
|
293
|
+
messages,
|
|
294
|
+
...(typeof c.customTitle === 'string' && c.customTitle.trim() ? {
|
|
295
|
+
customTitle: c.customTitle.trim().slice(0, 100)
|
|
296
|
+
} : {}),
|
|
297
|
+
...(typeof c.pinned === 'boolean' ? {
|
|
298
|
+
pinned: c.pinned
|
|
299
|
+
} : {})
|
|
300
|
+
};
|
|
301
|
+
});
|
|
302
|
+
if (new Set(chats.map(c => c.id)).size !== chats.length) return null;
|
|
303
|
+
// Retire unused demo additions; keep any customized agent or conversation with real messages.
|
|
304
|
+
const retiredNames = {
|
|
305
|
+
qa: 'QA tester',
|
|
306
|
+
notes: 'Meeting notes',
|
|
307
|
+
brand: 'Brand strategist'
|
|
308
|
+
};
|
|
309
|
+
const retired = new Set(agents.filter(agent => retiredNames[agent.id] === agent.name && !chats.some(chat => chat.agentIds.includes(agent.id) && (chat.agentIds.length > 1 || chat.messages.some(message => message.id !== `intro-${agent.id}`)))).map(agent => agent.id));
|
|
310
|
+
agents = agents.filter(agent => !retired.has(agent.id));
|
|
311
|
+
chats = chats.filter(chat => !chat.agentIds.some(id => retired.has(id)));
|
|
312
|
+
// Remove only untouched surplus starter chats; keep all agents available in the picker.
|
|
313
|
+
chats = chats.filter(chat => {
|
|
314
|
+
const agent = agents.find(agent => agent.id === (chat.agentIds[0] ?? ''));
|
|
315
|
+
const original = INITIAL_AGENTS.find(initial => initial.id === agent?.id);
|
|
316
|
+
if (!agent || !original || STARTER_CHAT_AGENT_IDS.has(agent.id) || chat.id !== `chat-${agent.id}` || chat.agentIds.length !== 1 || chat.customTitle || chat.pinned || chat.title !== original.name) return true;
|
|
317
|
+
const customized = agent.name !== original.name || agent.label !== original.label || agent.description !== original.description || agent.preferences || Object.entries(original.avatar).some(([key, value]) => agent.avatar[key] !== value);
|
|
318
|
+
const samples = sampleMessages(agent.id);
|
|
319
|
+
const untouched = chat.messages.length === samples.length && chat.messages.every((message, index) => Object.entries(samples[index]).every(([key, value]) => message[key] === value));
|
|
320
|
+
return !!customized || !untouched;
|
|
321
|
+
});
|
|
322
|
+
// Upgrade older demos without replacing edited agents, chats, or prior renamed placeholders.
|
|
323
|
+
for (const agent of ADDITIONAL_AGENTS) {
|
|
324
|
+
if (agents.length >= 100 || chats.length >= 200) break;
|
|
325
|
+
if (agents.some(existing => existing.id === agent.id || existing.name.toLowerCase() === agent.name.toLowerCase())) continue;
|
|
326
|
+
agents.push({
|
|
327
|
+
...agent,
|
|
328
|
+
avatar: {
|
|
329
|
+
...agent.avatar
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
if (!STARTER_CHAT_AGENT_IDS.has(agent.id)) continue;
|
|
333
|
+
let chatId = `chat-${agent.id}`;
|
|
334
|
+
while (chats.some(chat => chat.id === chatId)) chatId += '-new';
|
|
335
|
+
chats.push({
|
|
336
|
+
id: chatId,
|
|
337
|
+
title: agent.name,
|
|
338
|
+
agentIds: [agent.id],
|
|
339
|
+
messages: sampleMessages(agent.id)
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
const installedPlugins = Array.isArray(data.installedPlugins) ? [...new Set(data.installedPlugins.filter(id => typeof id === 'string' && /^[a-z-]{1,40}$/.test(id)))].slice(0, 100) : undefined;
|
|
343
|
+
return {
|
|
344
|
+
agents,
|
|
345
|
+
chats,
|
|
346
|
+
...(installedPlugins ? {
|
|
347
|
+
installedPlugins
|
|
348
|
+
} : {}),
|
|
349
|
+
activeId: chats.some(c => c.id === data.activeId) ? data.activeId : chats[0]?.id ?? ''
|
|
350
|
+
};
|
|
351
|
+
} catch {
|
|
352
|
+
return null;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
export function conversationFor(agents, ids, id) {
|
|
356
|
+
const selected = [...new Set(ids)].flatMap(id => agents.find(agent => agent.id === id) ?? []);
|
|
357
|
+
return {
|
|
358
|
+
id,
|
|
359
|
+
title: selected.map(a => a.label || a.name).join(' + '),
|
|
360
|
+
agentIds: selected.map(a => a.id),
|
|
361
|
+
messages: []
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/** Update membership without dropping historical replies or changing the conversation identity. */
|
|
366
|
+
export function updateConversationAgents(workspace, chatId, agentIds) {
|
|
367
|
+
const membership = conversationFor(workspace.agents, agentIds, chatId);
|
|
368
|
+
if (!membership.agentIds.length) return workspace;
|
|
369
|
+
return {
|
|
370
|
+
...workspace,
|
|
371
|
+
chats: workspace.chats.map(chat => chat.id === chatId ? {
|
|
372
|
+
...chat,
|
|
373
|
+
agentIds: membership.agentIds,
|
|
374
|
+
title: membership.title
|
|
375
|
+
} : chat)
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
export function removeConversation(workspace, chatId) {
|
|
379
|
+
const chats = workspace.chats.filter(chat => chat.id !== chatId);
|
|
380
|
+
return {
|
|
381
|
+
...workspace,
|
|
382
|
+
chats,
|
|
383
|
+
activeId: workspace.activeId === chatId ? chats[0]?.id ?? '' : workspace.activeId
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/** Ten authored directions, rotated per agent so follow-up messages stay varied. */
|
|
388
|
+
export const DEMO_ANSWERS = ['Start with the smallest useful version: pick one audience and one outcome, make the main action easy to find, and remove anything that competes with it. A focused first pass makes the next decision much easier.\n\nOnce the core experience works, we can add supporting details where they answer a real question. That keeps the first impression simple without losing the depth people need to feel confident.', 'I’d explore two directions before committing. One can be calm and familiar, with a clear structure; the other can be more expressive, with one memorable detail. Keep the underlying content the same so the comparison is fair.\n\nChoose the direction that communicates the idea fastest, then refine its strongest elements. We don’t need to combine everything from both versions; a clear point of view will make the result feel more intentional.', 'Let’s work backward from the moment someone gets value. Think about what they should understand first, what they need to trust, and the next useful step. Answer those in that order, then build the experience around them.\n\nThat gives us a clear path without adding extra steps. If a detail doesn’t help someone understand, decide, or act, we can move it further down or leave it for a later iteration.', 'A quick review would help here. Check whether the main promise is specific, every section answers a real question, and the important details are easy to scan. The next step should feel obvious without needing extra explanation.\n\nI’d fix the biggest point of confusion before polishing smaller details. Once that is resolved, a second pass can focus on consistency and the subtle touches that make the experience feel finished.', 'I’d simplify the first impression by leading with the outcome, supporting it with one concrete example, and moving secondary details further down. Someone should be able to explain the idea after a quick glance.\n\nWe can add depth where people need it without making the opening feel busy. Short, descriptive labels and a clear order will help the supporting content feel connected to the main idea.', 'There’s an opportunity to make this feel more personal. Use language your audience already uses and show a recognizable situation instead of an abstract promise. Let a small detail carry the personality while the rest stays easy to follow.\n\nConsistency will make that detail feel intentional. Repeating the same tone and visual cues in a few useful places is more effective than adding a different flourish to every part of the experience.', 'Before expanding this, I’d validate the core assumption. Write down what we expect someone to do, then give a few people a realistic task. Watch where they hesitate and ask what they expected to happen.\n\nThose moments will tell us more than asking whether they like it. Look for patterns across the sessions, choose the most common source of confusion, and make one focused improvement before testing again.', 'Let’s check the less obvious states, too. Think about a first visit, an empty result, a long answer, a slow connection, and a small screen. Each should still make sense and offer a useful next step.\n\nHandling those cases early makes the whole experience feel more considered. We can keep the solutions simple, as long as people understand what is happening and how to continue.', 'I’d turn this into three manageable passes. Start with structure so the order and main action are clear, then refine the wording, examples, and supporting elements. Finally, review the result against the original goal.\n\nFinish one pass before adding more scope. That makes feedback easier to act on and helps us distinguish a structural problem from something that only needs a small adjustment.', 'For the next iteration, change one meaningful thing. Choose the part with the most uncertainty, define what improvement would look like, and compare it with the current version. Keep the rest consistent so we can understand the result.\n\nThen use what we learn to decide the next step. A series of focused changes will give us a clearer direction than a large revision where it is difficult to tell which decisions helped.'];
|
|
389
|
+
|
|
390
|
+
/** Bring previously saved demo replies into the current paragraph treatment. */
|
|
391
|
+
export function formatDemoReply(text) {
|
|
392
|
+
const footer = '\n\nThis is a sample response from the interactive template.';
|
|
393
|
+
if (!text.startsWith('For “') || !text.endsWith(footer)) return text;
|
|
394
|
+
const body = text.slice(0, -footer.length).replace(/^For “[\s\S]*?”:\n\n/u, '');
|
|
395
|
+
const paragraphs = body.split(/\n\s*\n/u);
|
|
396
|
+
return [paragraphs.slice(0, 2).join(' '), paragraphs.slice(2).join(' ')].filter(Boolean).join('\n\n');
|
|
397
|
+
}
|
|
398
|
+
export function demoReply(agent, turn = 0) {
|
|
399
|
+
const messages = pickMessages(MULTI_AGENT_CHAT_MESSAGES, undefined);
|
|
400
|
+
const suggestions = {
|
|
401
|
+
design: 'I’d start with one clear headline, a strong visual hierarchy, and a single primary action. Then check the layout at mobile and desktop sizes.',
|
|
402
|
+
content: 'I’d clarify the main takeaway, shorten the opening, and replace vague claims with a concrete example. Keep the voice consistent throughout.',
|
|
403
|
+
marketing: 'I’d define the audience and the promise first, then explore three campaign angles. Test one message at a time so the results are useful.',
|
|
404
|
+
seo: 'I’d map the search intent, organize the page around a focused topic, and check the title, headings, and internal links.',
|
|
405
|
+
research: 'I’d turn this into a few specific questions, collect primary sources, and separate what we know from what needs validation.',
|
|
406
|
+
security: 'I’d begin by mapping the data flow and access boundaries, then review permissions, input validation, and how sensitive information is stored.'
|
|
407
|
+
};
|
|
408
|
+
const offset = Math.max(0, INITIAL_AGENTS.findIndex(a => a.id === agent.id));
|
|
409
|
+
const answer = DEMO_ANSWERS[(Math.max(0, Math.floor(turn)) + offset) % DEMO_ANSWERS.length];
|
|
410
|
+
return `${suggestions[agent.id] ?? formatChatMessage(messages.iLlApproachThisFromThePerspective, agent.label || agent.name)} ${answer}`;
|
|
411
|
+
}
|
|
412
|
+
//# sourceMappingURL=data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FOLD_CONFIG","parsePreset","pickMessages","MULTI_AGENT_CHAT_MESSAGES","formatChatMessage","normalizeAgentPreferences","NEW_AGENT_IDENTITIES","name","avatar","foldShape","hue","saturation","eyes","seed","nextAgentIdentity","agents","names","Set","map","agent","toLowerCase","index","identity","length","cycle","Math","floor","has","ADDITIONAL_AGENTS","id","label","description","INITIAL_AGENTS","grain","SAMPLE_CONVERSATIONS","design","prompt","reply","content","marketing","seo","research","security","product","cloud","support","data","sampleMessages","agentId","sample","role","text","example","STARTER_CHAT_AGENT_IDS","INITIAL_WORKSPACE","activeId","chats","filter","title","agentIds","messages","restoreWorkspace","raw","JSON","parse","Array","isArray","a","trim","Error","slice","preferences","config","family","lookAt","renamed","Object","assign","add","ids","size","c","some","m","includes","sampleAgentId","every","message","renamedAgent","find","undefined","customTitle","pinned","retiredNames","qa","notes","brand","retired","chat","original","initial","customized","entries","key","value","samples","untouched","existing","push","chatId","installedPlugins","test","conversationFor","selected","flatMap","join","updateConversationAgents","workspace","membership","removeConversation","DEMO_ANSWERS","formatDemoReply","footer","startsWith","endsWith","body","replace","paragraphs","split","Boolean","demoReply","turn","suggestions","offset","max","findIndex","answer","iLlApproachThisFromThePerspective"],"sourceRoot":"../../../src","sources":["multi-agent-chat/data.ts"],"mappings":";;AAAA,SACEA,WAAW,EACXC,WAAW,QAEN,0BAAuB;AAC9B,SAASC,YAAY,QAAQ,uBAAoB;AACjD,SAASC,yBAAyB,EAAEC,iBAAiB,QAAQ,eAAY;AAEzE,SAASC,yBAAyB,QAAQ,4BAAyB;AAyBnE,MAA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AAK,IAAIX,KAAK,CAACZ,IAAI,CAAC,IAAIiI,MAAM,EAAE;AACzI","ignoreList":[]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const committedDrawings = new WeakMap();
|
|
4
|
+
/** Each rendered frame is a new command stream; retaining it freezes the exact pose. */
|
|
5
|
+
export function retainAvatarDrawing(nodes, id, drawing) {
|
|
6
|
+
if (!drawing) {
|
|
7
|
+
committedDrawings.get(nodes)?.delete(id);
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
let frames = committedDrawings.get(nodes);
|
|
11
|
+
if (!frames) {
|
|
12
|
+
frames = new Map();
|
|
13
|
+
committedDrawings.set(nodes, frames);
|
|
14
|
+
}
|
|
15
|
+
Object.freeze(drawing.nodes);
|
|
16
|
+
Object.freeze(drawing);
|
|
17
|
+
frames.set(id, drawing);
|
|
18
|
+
}
|
|
19
|
+
export const REPLY_ARRIVAL_MS = 800;
|
|
20
|
+
export function measureAvatar(node) {
|
|
21
|
+
return new Promise(resolve => {
|
|
22
|
+
if (!node?.measureInWindow) {
|
|
23
|
+
resolve(null);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
let settled = false;
|
|
27
|
+
const timeout = setTimeout(() => {
|
|
28
|
+
if (!settled) {
|
|
29
|
+
settled = true;
|
|
30
|
+
resolve(null);
|
|
31
|
+
}
|
|
32
|
+
}, 120);
|
|
33
|
+
node.measureInWindow((x, y, width, height) => {
|
|
34
|
+
if (settled) return;
|
|
35
|
+
settled = true;
|
|
36
|
+
clearTimeout(timeout);
|
|
37
|
+
resolve([x, y, width, height].every(Number.isFinite) && width > 0 && height > 0 ? {
|
|
38
|
+
x,
|
|
39
|
+
y,
|
|
40
|
+
width,
|
|
41
|
+
height
|
|
42
|
+
} : null);
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
export async function captureAvatars(agents, nodes) {
|
|
47
|
+
return (await Promise.all(agents.map(async agent => {
|
|
48
|
+
const from = await measureAvatar(nodes.get(agent.id));
|
|
49
|
+
return from ? {
|
|
50
|
+
agent,
|
|
51
|
+
from,
|
|
52
|
+
drawing: committedDrawings.get(nodes)?.get(agent.id)
|
|
53
|
+
} : null;
|
|
54
|
+
}))).filter(avatar => avatar !== null);
|
|
55
|
+
}
|
|
56
|
+
/** The source's selected-preview composition is deliberately distinct from the tiny header stack. */
|
|
57
|
+
export function previewAvatarGeometry(count, index) {
|
|
58
|
+
const size = count === 1 ? 80 : count <= 3 ? 62 : 48;
|
|
59
|
+
const angle = index * Math.PI * 2 / count - Math.PI / 2;
|
|
60
|
+
const x = count === 1 ? 40 : count <= 3 ? index === 1 ? 76 : index === 2 ? 49 : 22 : 56 + Math.cos(angle) * 38;
|
|
61
|
+
const y = count === 1 ? 16 : count <= 3 ? count === 3 && index === 2 ? 46 : 8 : 32 + Math.sin(angle) * 30;
|
|
62
|
+
return {
|
|
63
|
+
size,
|
|
64
|
+
x,
|
|
65
|
+
y
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export function avatarFlightPoint(from, to, progress, arc) {
|
|
69
|
+
'worklet';
|
|
70
|
+
|
|
71
|
+
const t = arc ? progress * progress * (3 - 2 * progress) : progress;
|
|
72
|
+
const distance = Math.hypot(to.x - from.x, to.y - from.y);
|
|
73
|
+
const control = {
|
|
74
|
+
x: from.x + (to.x - from.x) * 0.3,
|
|
75
|
+
y: Math.min(from.y, to.y) - Math.min(110, distance * 0.22)
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
x: arc ? (1 - t) ** 2 * from.x + 2 * (1 - t) * t * control.x + t * t * to.x : from.x + (to.x - from.x) * t,
|
|
79
|
+
y: arc ? (1 - t) ** 2 * from.y + 2 * (1 - t) * t * control.y + t * t * to.y : from.y + (to.y - from.y) * t,
|
|
80
|
+
width: from.width + (to.width - from.width) * t,
|
|
81
|
+
height: from.height + (to.height - from.height) * t
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** Non-answering agents merge into the badge at one 14px landing point. */
|
|
86
|
+
export function badgeFlightTarget(badge, rtl = false) {
|
|
87
|
+
return {
|
|
88
|
+
x: rtl ? badge.x + badge.width - 26 : badge.x + 12,
|
|
89
|
+
y: badge.y + (badge.height - 14) / 2,
|
|
90
|
+
width: 14,
|
|
91
|
+
height: 14
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=handoff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["committedDrawings","WeakMap","retainAvatarDrawing","nodes","id","drawing","get","delete","frames","Map","set","Object","freeze","REPLY_ARRIVAL_MS","measureAvatar","node","Promise","resolve","measureInWindow","settled","timeout","setTimeout","x","y","width","height","clearTimeout","every","Number","isFinite","captureAvatars","agents","all","map","agent","from","filter","avatar","previewAvatarGeometry","count","index","size","angle","Math","PI","cos","sin","avatarFlightPoint","to","progress","arc","t","distance","hypot","control","min","badgeFlightTarget","badge","rtl"],"sourceRoot":"../../../src","sources":["multi-agent-chat/handoff.ts"],"mappings":";;AAeA,MAAMA,iBAAiB,GAAG,IAAIC,OAAO,CAGnC,CAAC;AACH;AACA,OAAO,SAASC,mBAAmBA,CACjCC,KAAkB,EAClBC,EAAU,EACVC,OAA8B,EAC9B;EACA,IAAI,CAACA,OAAO,EAAE;IACZL,iBAAiB,CAACM,GAAG,CAACH,KAAK,CAAC,EAAEI,MAAM,CAACH,EAAE,CAAC;IACxC;EACF;EACA,IAAII,MAAM,GAAGR,iBAAiB,CAACM,GAAG,CAACH,KAAK,CAAC;EACzC,IAAI,CAACK,MAAM,EAAE;IACXA,MAAM,GAAG,IAAIC,GAAG,CAAC,CAAC;IAClBT,iBAAiB,CAACU,GAAG,CAACP,KAAK,EAAEK,MAAM,CAAC;EACtC;EACAG,MAAM,CAACC,MAAM,CAACP,OAAO,CAACF,KAAK,CAAC;EAC5BQ,MAAM,CAACC,MAAM,CAACP,OAAO,C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,CAACxB,KAAK,GAAGW,IAAI,CAACX,KAAK,IAAI2B,CAAC;IAC/C1B,MAAM,EAAEU,IAAI,CAACV,MAAM,GAAG,CAACuB,EAAE,CAACvB,MAAM,GAAGU,IAAI,CAACV,MAAM,IAAI0B;EACpD,CAAC;AACH;;AAEA;AACA,OAAO,SAASK,iBAAiBA,CAACC,KAAiB,EAAEC,GAAG,GAAG,KAAK,EAAc;EAC5E,OAAO;IACLpC,CAAC,EAAEoC,GAAG,GAAGD,KAAK,CAACnC,CAAC,GAAGmC,KAAK,CAACjC,KAAK,GAAG,EAAE,GAAGiC,KAAK,CAACnC,CAAC,GAAG,EAAE;IAClDC,CAAC,EAAEkC,KAAK,CAAClC,CAAC,GAAG,CAACkC,KAAK,CAAChC,MAAM,GAAG,EAAE,IAAI,CAAC;IACpCD,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MultiAgentChat"],"sourceRoot":"../../../src","sources":["multi-agent-chat/index.ts"],"mappings":";;AAMA,SAASA,cAAc,QAAQ,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-platform-exports.mjs — DO NOT EDIT.
|
|
4
|
+
// Source of truth: src/multi-agent-chat/index.ts.
|
|
5
|
+
// Re-run `bun run generate:exports` (or any `bun run build`) after
|
|
6
|
+
// changing that barrel or the set of web-forked subpaths.
|
|
7
|
+
|
|
8
|
+
export { MultiAgentChat } from "./MultiAgentChat.web.js";
|
|
9
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MultiAgentChat"],"sourceRoot":"../../../src","sources":["multi-agent-chat/index.web.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAQA,SAASA,cAAc,QAAQ,yBAAsB","ignoreList":[]}
|