@oxy.so/bloom 19.10.3 → 20.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/docs/adoption-matrix.mdx +8 -7
- package/docs/agent-avatar.mdx +42 -0
- package/docs/agent-creator.mdx +20 -14
- package/docs/empty-state.mdx +20 -1
- package/docs/multi-agent-chat.mdx +5 -0
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +36 -17
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/commonjs/agent-avatar/character.js +27 -0
- package/lib/commonjs/agent-avatar/character.js.map +1 -1
- package/lib/commonjs/agent-avatar/index.js +6 -0
- package/lib/commonjs/agent-avatar/index.js.map +1 -1
- package/lib/commonjs/agent-avatar/vector-mood.js +129 -0
- package/lib/commonjs/agent-avatar/vector-mood.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreator.js +0 -4
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.web.js +8 -12
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +61 -99
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/commonjs/agent-creator/context.js.map +1 -1
- package/lib/commonjs/agent-creator/messages.js +1 -22
- package/lib/commonjs/agent-creator/messages.js.map +1 -1
- package/lib/commonjs/agent-creator/paint.js +47 -0
- package/lib/commonjs/agent-creator/paint.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +0 -28
- package/lib/commonjs/agent-creator/shared.js.map +1 -1
- package/lib/commonjs/agent-creator/use-character-history.js +12 -9
- package/lib/commonjs/agent-creator/use-character-history.js.map +1 -1
- package/lib/commonjs/avatar/Avatar.js +12 -4
- package/lib/commonjs/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/avatar/account.js +9 -3
- package/lib/commonjs/avatar/account.js.map +1 -1
- package/lib/commonjs/empty-state/constants.js +2 -0
- package/lib/commonjs/empty-state/constants.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +1 -22
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +1 -22
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +1 -22
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +1 -22
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +1 -22
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +1 -22
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +1 -22
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +1 -22
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +1 -22
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +1 -22
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +1 -22
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +1 -22
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +1 -22
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +1 -22
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/Marketplace.js +1 -1
- package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +6 -6
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +2 -1
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/data.js +58 -39
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/marketplace-data.js +21 -27
- package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -1
- package/lib/module/agent-avatar/VectorCharacterAvatar.js +36 -17
- package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/module/agent-avatar/character.js +26 -0
- package/lib/module/agent-avatar/character.js.map +1 -1
- package/lib/module/agent-avatar/index.js +1 -1
- package/lib/module/agent-avatar/index.js.map +1 -1
- package/lib/module/agent-avatar/vector-mood.js +117 -0
- package/lib/module/agent-avatar/vector-mood.js.map +1 -0
- package/lib/module/agent-creator/AgentCreator.js +0 -4
- package/lib/module/agent-creator/AgentCreator.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.web.js +0 -4
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorBase.js +56 -94
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/module/agent-creator/context.js.map +1 -1
- package/lib/module/agent-creator/messages.js +1 -22
- package/lib/module/agent-creator/messages.js.map +1 -1
- package/lib/module/agent-creator/paint.js +42 -0
- package/lib/module/agent-creator/paint.js.map +1 -0
- package/lib/module/agent-creator/shared.js +0 -26
- package/lib/module/agent-creator/shared.js.map +1 -1
- package/lib/module/agent-creator/use-character-history.js +7 -4
- package/lib/module/agent-creator/use-character-history.js.map +1 -1
- package/lib/module/avatar/Avatar.js +12 -4
- package/lib/module/avatar/Avatar.js.map +1 -1
- package/lib/module/avatar/account.js +9 -3
- package/lib/module/avatar/account.js.map +1 -1
- package/lib/module/empty-state/constants.js +2 -0
- package/lib/module/empty-state/constants.js.map +1 -1
- package/lib/module/locale/translations/ar.js +1 -22
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +1 -22
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +1 -22
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +1 -22
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +1 -22
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +1 -22
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +1 -22
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +1 -22
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +1 -22
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +1 -22
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +1 -22
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +1 -22
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +1 -22
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +1 -22
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/Marketplace.js +2 -2
- package/lib/module/multi-agent-chat/Marketplace.js.map +1 -1
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js +7 -7
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -1
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js +2 -1
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -1
- package/lib/module/multi-agent-chat/data.js +58 -40
- package/lib/module/multi-agent-chat/data.js.map +1 -1
- package/lib/module/multi-agent-chat/marketplace-data.js +21 -27
- package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/character.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/character.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/index.d.ts +2 -2
- package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/types.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/vector-mood.d.ts +61 -0
- package/lib/typescript/commonjs/agent-avatar/vector-mood.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts +1 -13
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +0 -11
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/paint.d.ts +20 -0
- package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +0 -7
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/types.d.ts +14 -0
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/use-character-history.d.ts +6 -2
- package/lib/typescript/commonjs/agent-creator/use-character-history.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/account.d.ts +4 -2
- package/lib/typescript/commonjs/avatar/account.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/types.d.ts +6 -0
- package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/empty-state/constants.d.ts +5 -0
- package/lib/typescript/commonjs/empty-state/constants.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/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +4 -1
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/character.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/character.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/index.d.ts +2 -2
- package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/types.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/vector-mood.d.ts +61 -0
- package/lib/typescript/module/agent-avatar/vector-mood.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/context.d.ts +1 -13
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/messages.d.ts +0 -11
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/paint.d.ts +20 -0
- package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +0 -7
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/types.d.ts +14 -0
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/use-character-history.d.ts +6 -2
- package/lib/typescript/module/agent-creator/use-character-history.d.ts.map +1 -1
- package/lib/typescript/module/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/avatar/account.d.ts +4 -2
- package/lib/typescript/module/avatar/account.d.ts.map +1 -1
- package/lib/typescript/module/avatar/types.d.ts +6 -0
- package/lib/typescript/module/avatar/types.d.ts.map +1 -1
- package/lib/typescript/module/empty-state/constants.d.ts +5 -0
- package/lib/typescript/module/empty-state/constants.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/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +1 -1
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/data.d.ts +4 -1
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/adoption-matrix.ts +5 -0
- package/src/agent-avatar/VectorCharacterAvatar.tsx +39 -10
- package/src/agent-avatar/character.ts +30 -0
- package/src/agent-avatar/index.ts +2 -1
- package/src/agent-avatar/types.ts +15 -0
- package/src/agent-avatar/vector-mood.ts +140 -0
- package/src/agent-creator/AgentCreator.tsx +0 -4
- package/src/agent-creator/AgentCreator.web.tsx +0 -4
- package/src/agent-creator/AgentCreatorBase.tsx +51 -89
- package/src/agent-creator/context.ts +0 -2
- package/src/agent-creator/messages.ts +1 -37
- package/src/agent-creator/paint.ts +48 -0
- package/src/agent-creator/shared.ts +0 -27
- package/src/agent-creator/types.ts +14 -0
- package/src/agent-creator/use-character-history.ts +8 -4
- package/src/avatar/Avatar.tsx +13 -3
- package/src/avatar/account.ts +9 -3
- package/src/avatar/types.ts +6 -0
- package/src/empty-state/constants.ts +7 -0
- package/src/locale/translations/ar.ts +1 -23
- package/src/locale/translations/bn.ts +1 -23
- package/src/locale/translations/ca.ts +1 -23
- package/src/locale/translations/de.ts +1 -23
- package/src/locale/translations/es.ts +1 -23
- package/src/locale/translations/fr.ts +1 -23
- package/src/locale/translations/hi.ts +1 -23
- package/src/locale/translations/id.ts +1 -23
- package/src/locale/translations/it.ts +1 -23
- package/src/locale/translations/ja.ts +1 -23
- package/src/locale/translations/pt.ts +1 -23
- package/src/locale/translations/ru.ts +1 -23
- package/src/locale/translations/tr.ts +1 -23
- package/src/locale/translations/zh.ts +1 -23
- package/src/multi-agent-chat/Marketplace.tsx +6 -2
- package/src/multi-agent-chat/MultiAgentChatBase.tsx +7 -6
- package/src/multi-agent-chat/SelectedAgentPreview.tsx +2 -2
- package/src/multi-agent-chat/data.ts +58 -27
- package/src/multi-agent-chat/marketplace-data.ts +28 -9
- package/lib/commonjs/agent-creator/CustomColorPicker.js +0 -431
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +0 -1
- package/lib/commonjs/agent-creator/GlossArt.js +0 -212
- package/lib/commonjs/agent-creator/GlossArt.js.map +0 -1
- package/lib/commonjs/agent-creator/rainbow-artwork.js +0 -10
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +0 -1
- package/lib/module/agent-creator/CustomColorPicker.js +0 -426
- package/lib/module/agent-creator/CustomColorPicker.js.map +0 -1
- package/lib/module/agent-creator/GlossArt.js +0 -207
- package/lib/module/agent-creator/GlossArt.js.map +0 -1
- package/lib/module/agent-creator/rainbow-artwork.js +0 -6
- package/lib/module/agent-creator/rainbow-artwork.js.map +0 -1
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +0 -9
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +0 -1
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +0 -9
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +0 -1
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +0 -3
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +0 -1
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +0 -9
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +0 -1
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +0 -9
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +0 -1
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +0 -3
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +0 -1
- package/src/agent-creator/CustomColorPicker.tsx +0 -443
- package/src/agent-creator/GlossArt.tsx +0 -160
- package/src/agent-creator/rainbow-artwork.ts +0 -5
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type * as PopoverParts from '../popover/Popover';
|
|
2
1
|
import type * as SelectParts from '../select';
|
|
3
2
|
import { type AgentCreatorMessages } from './messages';
|
|
4
|
-
export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof
|
|
3
|
+
export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof import('../settings-modal/SettingsSelect'), 'SettingsSelect'> & import('../screen/types').ScreenComponents;
|
|
5
4
|
export declare const AgentCreatorContext: import("react").Context<AgentCreatorBindings | null>;
|
|
6
5
|
export declare const AgentCreatorCopyContext: import("react").Context<{
|
|
7
6
|
locale?: string;
|
|
@@ -26,7 +25,6 @@ export declare function useAgentCreatorMessages(overrides?: {
|
|
|
26
25
|
closeEditor: string;
|
|
27
26
|
details: string;
|
|
28
27
|
color: string;
|
|
29
|
-
customColor: string;
|
|
30
28
|
name: string;
|
|
31
29
|
label: string;
|
|
32
30
|
description: string;
|
|
@@ -49,25 +47,15 @@ export declare function useAgentCreatorMessages(overrides?: {
|
|
|
49
47
|
playbackSpeed: string;
|
|
50
48
|
emotion: string;
|
|
51
49
|
shape: string;
|
|
52
|
-
hexColor: string;
|
|
53
|
-
hue: string;
|
|
54
|
-
saturationBrightness: string;
|
|
55
|
-
increaseBrightness: string;
|
|
56
|
-
decreaseBrightness: string;
|
|
57
|
-
increaseHue: string;
|
|
58
|
-
decreaseHue: string;
|
|
59
50
|
nextShape: string;
|
|
60
51
|
previousShape: string;
|
|
61
52
|
newAgent: string;
|
|
62
53
|
emotions: Record<"neutral" | "happy" | "angry" | "thinking" | "shook" | "curious" | "wink" | "sleepy" | "sad" | "worried" | "skeptical" | "focused" | "excited" | "calm" | "shy" | "confused", string>;
|
|
63
54
|
shapes: Record<"slender" | "pocket" | "petal" | "flower" | "star" | "heart" | "cloud" | "diamond" | "shield", string>;
|
|
64
|
-
colors: Record<"Blue" | "Teal" | "Violet" | "Pink" | "Red" | "Orange" | "Cyan" | "Lime" | "Green", string>;
|
|
65
55
|
languages: Record<"auto" | "en" | "tr" | "es" | "fr" | "de" | "ja" | "pt", string>;
|
|
66
|
-
avatarColorLabel: (name: string) => string;
|
|
67
56
|
shapeLabel: (name: string) => string;
|
|
68
57
|
silhouetteLabel: (name: string) => string;
|
|
69
58
|
livePreview: (name: string) => string;
|
|
70
|
-
saturationBrightnessValue: (s: number, v: number) => string;
|
|
71
59
|
playbackSpeedLabel: (speed: number) => string;
|
|
72
60
|
};
|
|
73
61
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,WAAW,MAAM,WAAW,CAAC;AAC9C,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE/E,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,OAAO,WAAW,EAChB,QAAQ,GACR,eAAe,GACf,aAAa,GACb,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,gBAAgB,CACnB,GACC,IAAI,CAAC,cAAc,kCAAkC,CAAC,EAAE,gBAAgB,CAAC,GACzE,OAAO,iBAAiB,EAAE,gBAAgB,CAAC;AAC7C,eAAO,MAAM,mBAAmB,sDAAmD,CAAC;AACpF,eAAO,MAAM,uBAAuB;aACzB,MAAM;aACN,OAAO,CAAC,oBAAoB,CAAC;SACzB,CAAC;AAChB,wBAAgB,uBAAuB,yBAItC;AACD,wBAAgB,uBAAuB,CAAC,SAAS,CAAC,EAAE;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKA"}
|
|
@@ -15,7 +15,6 @@ export interface AgentCreatorMessages {
|
|
|
15
15
|
closeEditor: string;
|
|
16
16
|
details: string;
|
|
17
17
|
color: string;
|
|
18
|
-
customColor: string;
|
|
19
18
|
name: string;
|
|
20
19
|
label: string;
|
|
21
20
|
description: string;
|
|
@@ -38,25 +37,15 @@ export interface AgentCreatorMessages {
|
|
|
38
37
|
playbackSpeed: string;
|
|
39
38
|
emotion: string;
|
|
40
39
|
shape: string;
|
|
41
|
-
hexColor: string;
|
|
42
|
-
hue: string;
|
|
43
|
-
saturationBrightness: string;
|
|
44
|
-
increaseBrightness: string;
|
|
45
|
-
decreaseBrightness: string;
|
|
46
|
-
increaseHue: string;
|
|
47
|
-
decreaseHue: string;
|
|
48
40
|
nextShape: string;
|
|
49
41
|
previousShape: string;
|
|
50
42
|
newAgent: string;
|
|
51
43
|
emotions: Record<'neutral' | 'happy' | 'angry' | 'thinking' | 'shook' | 'curious' | 'wink' | 'sleepy' | 'sad' | 'worried' | 'skeptical' | 'focused' | 'excited' | 'calm' | 'shy' | 'confused', string>;
|
|
52
44
|
shapes: Record<'slender' | 'pocket' | 'petal' | 'flower' | 'star' | 'heart' | 'cloud' | 'diamond' | 'shield', string>;
|
|
53
|
-
colors: Record<'Blue' | 'Teal' | 'Violet' | 'Pink' | 'Red' | 'Orange' | 'Cyan' | 'Lime' | 'Green', string>;
|
|
54
45
|
languages: Record<'auto' | 'en' | 'tr' | 'es' | 'fr' | 'de' | 'ja' | 'pt', string>;
|
|
55
|
-
avatarColorLabel: (name: string) => string;
|
|
56
46
|
shapeLabel: (name: string) => string;
|
|
57
47
|
silhouetteLabel: (name: string) => string;
|
|
58
48
|
livePreview: (name: string) => string;
|
|
59
|
-
saturationBrightnessValue: (s: number, v: number) => string;
|
|
60
49
|
playbackSpeedLabel: (speed: number) => string;
|
|
61
50
|
}
|
|
62
51
|
export declare const AGENT_CREATOR_MESSAGES: MessageCatalog<AgentCreatorMessages>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzE,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,sGAAsG;IACtG,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACzE,M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
|
|
1
|
+
import { type AvatarCharacter } from '../agent-avatar/character';
|
|
2
|
+
/**
|
|
3
|
+
* The creator's colour is the agent's account colour (`agent.color`), never the character's: a
|
|
4
|
+
* character it hands back carries its parts and no paint, and every character it draws is painted
|
|
5
|
+
* in the account's colour here.
|
|
6
|
+
*/
|
|
7
|
+
/** A character without its paint: what the creator emits. */
|
|
8
|
+
export declare function withoutPaint(character: AvatarCharacter): AvatarCharacter;
|
|
9
|
+
/**
|
|
10
|
+
* The character as the creator draws it: in the agent's colour. A colour Bloom cannot resolve
|
|
11
|
+
* leaves the character's own paint (or its preset's); a character with neither wears the first
|
|
12
|
+
* colour the creator offers, so nothing it draws is undrawable.
|
|
13
|
+
*/
|
|
14
|
+
export declare function drawnCharacter(character: AvatarCharacter, color: string | null | undefined, colors: readonly string[]): AvatarCharacter;
|
|
15
|
+
/**
|
|
16
|
+
* What a character IS, for comparing two of them: its resolved parts, paint left out (the paint is
|
|
17
|
+
* the account's). Two spellings of one character (a preset, or its parts written out) compare equal.
|
|
18
|
+
*/
|
|
19
|
+
export declare function characterPartsKey(character: AvatarCharacter): string;
|
|
20
|
+
//# sourceMappingURL=paint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,2BAA2B,CAAC;AAGnC;;;;GAIG;AAEH,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,eAAe,CAKxE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,MAAM,EAAE,SAAS,MAAM,EAAE,GACxB,eAAe,CAIjB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,CAMpE"}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import type { AgentPreferences } from './types';
|
|
2
2
|
export declare function normalizeAgentPreferences(value: Partial<AgentPreferences> | null | undefined): AgentPreferences;
|
|
3
|
-
export type Hsv = {
|
|
4
|
-
h: number;
|
|
5
|
-
s: number;
|
|
6
|
-
v: number;
|
|
7
|
-
};
|
|
8
|
-
export declare function hexToHsv(hex: string): Hsv | null;
|
|
9
|
-
export declare function hsvToHex({ h, s, v }: Hsv): string;
|
|
10
3
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,GAAG,SAAS,GAClD,gBAAgB,CAYlB
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,GAAG,SAAS,GAClD,gBAAgB,CAYlB"}
|
|
@@ -14,7 +14,16 @@ export type AgentCreatorAgent = {
|
|
|
14
14
|
name: string;
|
|
15
15
|
label: string;
|
|
16
16
|
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* The character's parts (shape, eyes, eyewear, accessory, preset, eye spacing). The creator
|
|
19
|
+
* hands it back without paint: the agent's colour is `color`, never the character's.
|
|
20
|
+
*/
|
|
17
21
|
avatar: AvatarCharacter;
|
|
22
|
+
/**
|
|
23
|
+
* The agent's colour: its account's, a Bloom colour preset key (`User.color` in Oxy). It paints
|
|
24
|
+
* the avatar, and the colour control changes it (`onChange` with a new `color`).
|
|
25
|
+
*/
|
|
26
|
+
color: string;
|
|
18
27
|
preferences?: AgentPreferences;
|
|
19
28
|
};
|
|
20
29
|
export type AgentVoice = {
|
|
@@ -28,6 +37,11 @@ export interface AgentCreatorProps {
|
|
|
28
37
|
agent: AgentCreatorAgent;
|
|
29
38
|
onChange: (agent: AgentCreatorAgent) => void;
|
|
30
39
|
onClose?: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* The colour preset keys the colour control offers, in order. Default `FREE_COLOR_NAMES`. A host
|
|
42
|
+
* passes exactly what its account service accepts, so no colour offered is refused on save.
|
|
43
|
+
*/
|
|
44
|
+
colors?: readonly string[];
|
|
31
45
|
className?: string;
|
|
32
46
|
style?: StyleProp<ViewStyle>;
|
|
33
47
|
/** Native hosts can supply their speech provider's catalog. Web uses local device voices by default. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACpF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EA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AE,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uEAAuE;IACvE,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACxE"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AvatarCharacter } from '../agent-avatar/character';
|
|
2
2
|
import type { AgentCreatorAgent } from './types';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Character-only history. Parent echoes acknowledge edits; unrelated profile data never enters
|
|
5
|
+
* history. Characters compare by their parts and are emitted without paint: the colour is the
|
|
6
|
+
* agent's (`agent.color`), not the character's, so a colour change is not a character edit.
|
|
7
|
+
*/
|
|
4
8
|
export declare function useCharacterHistory(agent: AgentCreatorAgent, onChange: (agent: AgentCreatorAgent) => void): {
|
|
5
9
|
character: AvatarCharacter;
|
|
6
10
|
canUndo: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-character-history.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/use-character-history.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"use-character-history.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/use-character-history.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAajD;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI;;;;oBAsClC,eAAe;;;;;EAqC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmC/B,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,SAAS,CAAC;AAmG7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uBAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/avatar/Avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmC/B,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,SAAS,CAAC;AAmG7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uBAA0B,CAAC;AAwXpE,eAAO,MAAM,MAAM,yCAAwB,CAAC"}
|
|
@@ -3,8 +3,10 @@ import type { AvatarAccount, AvatarProps } from './types';
|
|
|
3
3
|
export declare function accountName(account: AvatarAccount | undefined): string | undefined;
|
|
4
4
|
/**
|
|
5
5
|
* The one answer to "which character does this avatar carry": an explicit `character` wins
|
|
6
|
-
* (`null` opts out), else the character of a bot account
|
|
7
|
-
*
|
|
6
|
+
* (`null` opts out), else the character of a bot account painted in the account's own `color`
|
|
7
|
+
* (`avatarCharacterInColor`). Resolve it with `tryResolveAvatarCharacter`. A painted character is
|
|
8
|
+
* a new object each call, so a caller memoizes on `character`, `account.character` and
|
|
9
|
+
* `account.color` rather than on the result.
|
|
8
10
|
*/
|
|
9
11
|
export declare function pickAccountCharacter({ character, account, }: Pick<AvatarProps, 'character' | 'account'>): unknown;
|
|
10
12
|
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/avatar/account.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/avatar/account.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CASlF;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,OAAO,GACR,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,OAAO,CAMtD"}
|
|
@@ -13,6 +13,12 @@ export interface AvatarAccount {
|
|
|
13
13
|
avatar?: string | null;
|
|
14
14
|
/** Stored bot character data, validated before rendering. Unknown recipes fall back to its image. */
|
|
15
15
|
character?: unknown;
|
|
16
|
+
/**
|
|
17
|
+
* The account's colour, as Oxy stores `User.color`: a Bloom colour preset key (or a legacy
|
|
18
|
+
* `#rrggbb`). A bot's character is drawn in it (`avatarCharacterInColor`), so a bot looks the
|
|
19
|
+
* colour of its account everywhere its account is drawn.
|
|
20
|
+
*/
|
|
21
|
+
color?: string | null;
|
|
16
22
|
username?: string | null;
|
|
17
23
|
/** A display name, or the account service's structured name. */
|
|
18
24
|
name?: string | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8FAA8F;IAC9F,MAAM,CAAC,EAAE,MAAM,GAAG,I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AGG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8FAA8F;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8EAA8E;IAC9E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -5,6 +5,11 @@ export interface EmptyStateGeometry {
|
|
|
5
5
|
glyph: number;
|
|
6
6
|
/** `IconCircle`'s rung. `lg` is 52, `xl` is 64. */
|
|
7
7
|
circle: 'lg' | 'xl';
|
|
8
|
+
/**
|
|
9
|
+
* The box for a figure passed as `illustration`: an agent's avatar, a picture. Larger than the
|
|
10
|
+
* disc because a character has to be read (its face, its gesture), not just recognised.
|
|
11
|
+
*/
|
|
12
|
+
illustration: number;
|
|
8
13
|
/** Above and below the block. */
|
|
9
14
|
paddingVertical: number;
|
|
10
15
|
/** Between the mark, the text block, the children, the actions and the footer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/empty-state/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/empty-state/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,gBAAgB,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAuB9E,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAixG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/bn.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/bn.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAkzF5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ca.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAm5F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/de.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/de.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAq7F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/es.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/es.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA+6F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/fr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA67F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/hi.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/hi.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAs0F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAq4F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/it.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/it.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA86F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ja.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ja.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAo1F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/pt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAk8F5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ru.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/ru.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA0tG5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/tr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/tr.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAw2F5C,QAAA,MAAM,YAAY,EAAE,YAiPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/zh.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"zh.d.ts","sourceRoot":"","sources":["../../../../../src/locale/translations/zh.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA0wF5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Marketplace.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/Marketplace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA6BhE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Marketplace.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/Marketplace.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA6BhE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAC;AAwI5B,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,MAAM,EACN,OAAO,EACP,MAAM,EACN,WAAW,EACX,WAA2B,GAC5B,EAAE;IACD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACzC,qBAmZA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiAgentChatBase.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/MultiAgentChatBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiAgentChatBase.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/MultiAgentChatBase.tsx"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAmBnD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,mBAAmB,+BAq6B5D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AvatarFlights } from '../avatar-flight';
|
|
2
|
-
import type
|
|
2
|
+
import { type Agent } from './data';
|
|
3
3
|
/** The selected-preview composition: one large avatar, a trio, or a ring from four up. */
|
|
4
4
|
export declare function previewAvatarGeometry(count: number, index: number): {
|
|
5
5
|
size: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedAgentPreview.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/SelectedAgentPreview.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SelectedAgentPreview.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/SelectedAgentPreview.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,OAAO,EAAkB,KAAK,KAAK,EAAE,MAAM,QAAQ,CAAC;AAKpD,0FAA0F;AAC1F,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;;;EAsBjE;AAmDD,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAe,GAChB,EAAE;IACD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,EAAE,aAAa,CAAC;IACvB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAqCA"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { type AvatarCharacter } from '../agent-avatar';
|
|
1
2
|
import type { AgentCreatorAgent } from '../agent-creator/types';
|
|
2
3
|
export type Agent = AgentCreatorAgent;
|
|
4
|
+
/** An agent's character as drawn: its parts, painted in the agent's own colour. */
|
|
5
|
+
export declare function agentCharacter(agent: Pick<Agent, 'avatar' | 'color'>): AvatarCharacter;
|
|
3
6
|
export type Message = {
|
|
4
7
|
id: string;
|
|
5
8
|
role: 'user' | 'agent';
|
|
@@ -22,7 +25,7 @@ export type Workspace = {
|
|
|
22
25
|
installedPlugins?: string[];
|
|
23
26
|
};
|
|
24
27
|
/** Choose an unused identity, including when restoring old unnamed demo bots. */
|
|
25
|
-
export declare function nextAgentIdentity(agents: Pick<Agent, 'name'>[]): Pick<Agent, 'name' | 'avatar'>;
|
|
28
|
+
export declare function nextAgentIdentity(agents: Pick<Agent, 'name'>[]): Pick<Agent, 'name' | 'avatar' | 'color'>;
|
|
26
29
|
export declare const INITIAL_AGENTS: Agent[];
|
|
27
30
|
export declare const INITIAL_WORKSPACE: Workspace;
|
|
28
31
|
/** Restored data is bounded and validated before it reaches the animated renderer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/data.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FAAsF;AACtF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAqM9D;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,MAAM,GAAG,YAAY,CAQxF;AAED,mGAAmG;AACnG,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAAE,GACjB,SAAS,CAWX;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,CAOlF;AAED,oFAAoF;AACpF,eAAO,MAAM,YAAY,ilIAWf,CAAC;AAEX,gFAAgF;AAChF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQpD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,SAAI,GAAG,MAAM,CAqBxD"}
|
|
@@ -10,7 +10,10 @@ export type MarketplaceItem = {
|
|
|
10
10
|
developer: string;
|
|
11
11
|
website: string;
|
|
12
12
|
logo?: 'notion' | 'figma' | 'github' | 'slack' | 'gmail' | 'drive' | 'calendar' | 'appwrite' | 'linear' | 'aws';
|
|
13
|
+
/** A bot's character parts; it is drawn in `color`. */
|
|
13
14
|
avatar?: AvatarCharacter;
|
|
15
|
+
/** A bot's colour: a Bloom colour preset key. */
|
|
16
|
+
color?: string;
|
|
14
17
|
apps: string[];
|
|
15
18
|
skills: {
|
|
16
19
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace-data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/marketplace-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,GAAG,KAAK,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EACD,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,QAAQ,GACR,KAAK,CAAC;IACV,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACjD,CAAC;
|
|
1
|
+
{"version":3,"file":"marketplace-data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/marketplace-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,GAAG,KAAK,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EACD,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,QAAQ,GACR,KAAK,CAAC;IACV,uDAAuD;IACvD,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACjD,CAAC;AAgDF,yFAAyF;AACzF,eAAO,MAAM,iBAAiB,EAAE,eAAe,EA6N9C,CAAC;AAEF,eAAO,MAAM,eAAe,UAA0C,CAAC;AACvE,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM,WAAwB,CAAC;AACtE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,KAAK,GAAG,QAAQ,GAAG,KAAa,qBAWtF;AACD,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,GAAG,SAAS,CAuBxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VectorCharacterAvatar.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/VectorCharacterAvatar.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAS,CAAC;AAQhD,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAYzD,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,+BAiBjD"}
|
|
@@ -70,6 +70,20 @@ export declare function avatarCharacterOf(resolved: ResolvedAvatarCharacter): Av
|
|
|
70
70
|
* other way round.
|
|
71
71
|
*/
|
|
72
72
|
export declare function updateAvatarCharacter(character: AvatarCharacter, patch: Partial<Omit<AvatarCharacter, 'preset'>>): AvatarCharacter;
|
|
73
|
+
/**
|
|
74
|
+
* A character painted in its account's colour.
|
|
75
|
+
*
|
|
76
|
+
* `color` is the colour of the account the character stands for, as Oxy stores `User.color`: a
|
|
77
|
+
* Bloom colour preset key (`'lagoon'`), or a legacy `#rgb`/`#rrggbb`. The body takes the preset's
|
|
78
|
+
* identity seed (or the legacy colour), lifted to the avatar skin floor, so an agent is drawn in
|
|
79
|
+
* the same colour its profile is themed with. This is the one place a colour preset becomes an
|
|
80
|
+
* avatar paint.
|
|
81
|
+
*
|
|
82
|
+
* The result carries `bodyColor` and no `color`; every part is kept. A colour that does not resolve
|
|
83
|
+
* (`null`, `undefined`, an unknown key) returns the character unchanged, so its own paint (or its
|
|
84
|
+
* preset's) applies.
|
|
85
|
+
*/
|
|
86
|
+
export declare function avatarCharacterInColor(character: AvatarCharacter, color: string | null | undefined): AvatarCharacter;
|
|
73
87
|
/** The body paint as `#rrggbb`, whichever way it was named. */
|
|
74
88
|
export declare function avatarBodyHex(resolved: ResolvedAvatarCharacter): string;
|
|
75
89
|
//# sourceMappingURL=character.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,kBAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,kBAAe,CAAC;AAMvB;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,eAAe,GAAG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Q,CAAC,CAAC,GAC9C,eAAe,CAajB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,eAAe,EAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,eAAe,CAWjB;AAED,+DAA+D;AAC/D,wBAAgB,aAAa,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,CAIvE"}
|
|
@@ -2,8 +2,8 @@ export { AgentAvatar } from './AgentAvatar.js';
|
|
|
2
2
|
export { AgentAvatarProvider } from './AgentAvatarProvider.js';
|
|
3
3
|
export { BLOOM_CHARACTER_RUNTIME_URL } from './context.js';
|
|
4
4
|
export { useAvatarRendererCapabilities } from './use-avatar-renderer-capabilities.js';
|
|
5
|
-
export type { AgentAvatarProps, AgentAvatarProviderProps } from './types.js';
|
|
6
|
-
export { avatarBodyHex, avatarCharacterOf, parseAvatarCharacter, resolveAvatarCharacter, updateAvatarCharacter, } from './character.js';
|
|
5
|
+
export type { AgentAvatarMood, AgentAvatarProps, AgentAvatarProviderProps } from './types.js';
|
|
6
|
+
export { avatarBodyHex, avatarCharacterInColor, avatarCharacterOf, parseAvatarCharacter, resolveAvatarCharacter, updateAvatarCharacter, } from './character.js';
|
|
7
7
|
export type { AvatarCharacter, ResolvedAvatarCharacter } from './character.js';
|
|
8
8
|
export { characterFromLegacy } from './legacy-character.js';
|
|
9
9
|
export { AVATAR_ACCESSORIES, AVATAR_COLORS, AVATAR_EYES, AVATAR_EYEWEAR, AVATAR_PRESETS, AVATAR_SHAPES, } from './catalog-ids.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAAuB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAA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C"}
|
|
@@ -3,6 +3,13 @@ import type { StyleProp, ViewStyle } from 'react-native';
|
|
|
3
3
|
import type { BloomThemeStorage } from '../theme/persistence.js';
|
|
4
4
|
import type { AvatarCharacter } from './character.js';
|
|
5
5
|
import type { VectorAssetLoader } from './vector-types.js';
|
|
6
|
+
/**
|
|
7
|
+
* How the character feels, held for as long as it is set. `neutral` is its usual idle. `sad` is
|
|
8
|
+
* for an empty or not-found state, a refusal, something that could not be done: the character
|
|
9
|
+
* shakes its head "no" once as the mood starts, then stays dejected (looking down, drooping, lids
|
|
10
|
+
* heavy) on top of its idle until the mood changes.
|
|
11
|
+
*/
|
|
12
|
+
export type AgentAvatarMood = 'neutral' | 'sad';
|
|
6
13
|
export type AgentAvatarProps = {
|
|
7
14
|
/** @deprecated All characters use SVG. The legacy selector is accepted but has no effect. */
|
|
8
15
|
renderer?: 'svg' | 'webgl';
|
|
@@ -23,6 +30,13 @@ export type AgentAvatarProps = {
|
|
|
23
30
|
entranceKey?: number;
|
|
24
31
|
workingKey?: number;
|
|
25
32
|
workingCycles?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Default `neutral`. Becoming `sad` (or mounting sad) shakes the head "no" once, then holds a
|
|
35
|
+
* dejected idle; back to `neutral` the droop eases out. Reactions, work and pointer gaze still
|
|
36
|
+
* play on top. Reduced motion and `paused` show the settled pose with no shake; a `portrait`
|
|
37
|
+
* still is always neutral.
|
|
38
|
+
*/
|
|
39
|
+
mood?: AgentAvatarMood;
|
|
26
40
|
/** The first picture of the character has been painted. Fires once per mounted renderer. */
|
|
27
41
|
onReady?: () => void;
|
|
28
42
|
/** Reports selected geometry preparation; paint-only changes do not reload. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/agent-avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAA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