@oxy.so/bloom 19.11.0 → 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 +6 -5
- package/docs/agent-avatar.mdx +20 -0
- package/docs/agent-creator.mdx +20 -14
- 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/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-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/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/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-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/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/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 +1 -1
- package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -1
- 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/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/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 +1 -1
- package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -1
- 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/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/character.ts +30 -0
- package/src/agent-avatar/index.ts +1 -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/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
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -37,7 +37,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
37
37
|
|
|
38
38
|
| contract | applies to | reads | delegated | n/a¹ | adaptation |
|
|
39
39
|
| --- | --- | --- | --- | --- | --- |
|
|
40
|
-
| Field membership | 54 |
|
|
40
|
+
| Field membership | 54 | 30 | 0 | 24 | 0 |
|
|
41
41
|
| Control presentation | 64 | 63 | 1 | 0 | 0 |
|
|
42
42
|
| Trigger composition | 11 | 8 | 0 | 3 | 0 |
|
|
43
43
|
| Controlled / uncontrolled state | 61 | 58 | 2 | 1 | 0 |
|
|
@@ -53,6 +53,7 @@ None.
|
|
|
53
53
|
|
|
54
54
|
- `address` (does-not-apply) — writes a selection role on a ROW or a chip rather than on a form control — a list the user picks from, inside its own container, never inside a `Field`.
|
|
55
55
|
- `agent-chat` (does-not-apply) — renders a bare `TextInput` deliberately — a composer or a search box that draws its own chrome and is not a form field a `Field` wraps. Wiring it to `TextFieldInput` would give it the field shell it exists not to draw.
|
|
56
|
+
- `agent-creator` (does-not-apply) — the only form role is the `[role="textbox"]` selector its undo shortcut uses to leave keystrokes typed into a field alone, not a node it renders. Its fields are `TextFieldInput` and `Textarea`, which read the contract themselves, and its colour control is a `ColorSwatchPicker`.
|
|
56
57
|
- `canvas` (does-not-apply) — The adjustable handle changes panel detents, not a form value; its name comes from the panel accessibilityLabel.
|
|
57
58
|
- `carrier-quote` (does-not-apply) — writes a selection role on a ROW or a chip rather than on a form control — a list the user picks from, inside its own container, never inside a `Field`.
|
|
58
59
|
- `chat-composer` (does-not-apply) — renders a bare `TextInput` deliberately — a composer or a search box that draws its own chrome and is not a form field a `Field` wraps. Wiring it to `TextFieldInput` would give it the field shell it exists not to draw.
|
|
@@ -100,9 +101,9 @@ None.
|
|
|
100
101
|
| `activity-heatmap` | `@oxy.so/bloom/activity-heatmap` + barrel | universal | `activity-heatmap.mdx` | yes | 3 | | | | |
|
|
101
102
|
| `address` | `@oxy.so/bloom/address` + barrel | universal | `address.mdx` | yes | 4 | n/a¹ | reads | | |
|
|
102
103
|
| `admonition` | `@oxy.so/bloom/admonition` + barrel | universal | `admonition.mdx` | yes | 6 | | reads | | |
|
|
103
|
-
| `agent-avatar` | `@oxy.so/bloom/agent-avatar` + barrel | universal | `agent-avatar.mdx` | yes |
|
|
104
|
+
| `agent-avatar` | `@oxy.so/bloom/agent-avatar` + barrel | universal | `agent-avatar.mdx` | yes | 47 | | | | |
|
|
104
105
|
| `agent-chat` | `@oxy.so/bloom/agent-chat` + barrel | web fork | `agent-chat.mdx` | yes | 3 | n/a¹ | | | reads |
|
|
105
|
-
| `agent-creator` | `@oxy.so/bloom/agent-creator` + barrel | web fork | `agent-creator.mdx` | yes |
|
|
106
|
+
| `agent-creator` | `@oxy.so/bloom/agent-creator` + barrel | web fork | `agent-creator.mdx` | yes | 15 | n/a¹ | | | |
|
|
106
107
|
| `agent-limits-card` | `@oxy.so/bloom/agent-limits-card` + barrel | universal | `agent-limits-card.mdx` | yes | 2 | | | | delegated |
|
|
107
108
|
| `agent-log` | `@oxy.so/bloom/agent-log` + barrel | universal | `agent-log.mdx` | yes | 3 | | reads | | reads |
|
|
108
109
|
| `agent-progress` | `@oxy.so/bloom/agent-progress` + barrel | universal | `agent-progress.mdx` | yes | 5 | | | | reads |
|
|
@@ -152,7 +153,7 @@ None.
|
|
|
152
153
|
| `choice-list` | `@oxy.so/bloom/choice-list` + barrel | universal | `choice-list.mdx` | yes | 2 | | | | |
|
|
153
154
|
| `code` | `@oxy.so/bloom/code` + barrel | universal | `code.mdx` | yes | 5 | | | | |
|
|
154
155
|
| `collapsible` | `@oxy.so/bloom/collapsible` + barrel | web fork | `collapsible.mdx` | yes | 5 | | | | |
|
|
155
|
-
| `color-swatch-picker` | `@oxy.so/bloom/color-swatch-picker` + barrel | universal | `color-swatch-picker.mdx` | yes |
|
|
156
|
+
| `color-swatch-picker` | `@oxy.so/bloom/color-swatch-picker` + barrel | universal | `color-swatch-picker.mdx` | yes | 2 | | | | |
|
|
156
157
|
| `command` | `@oxy.so/bloom/command` + barrel | web fork | `command.mdx` | yes | 2 | n/a¹ | | | reads |
|
|
157
158
|
| `composer-loader` | `@oxy.so/bloom/composer-loader` + barrel | web fork | `composer-loader.mdx` | yes | 5 | | | | |
|
|
158
159
|
| `composer-panel` | `@oxy.so/bloom/composer-panel` + barrel | web fork | `composer-panel.mdx` | yes | 12 | n/a¹ | | | reads |
|
|
@@ -183,7 +184,7 @@ None.
|
|
|
183
184
|
| `expandable-text` | `@oxy.so/bloom/expandable-text` + barrel | universal | `expandable-text.mdx` | yes | 1 | | | | reads |
|
|
184
185
|
| `fab` | `@oxy.so/bloom/fab` + barrel | web fork | `fab.mdx` | yes | 4 | | reads | | |
|
|
185
186
|
| `fact-strip` | `@oxy.so/bloom/fact-strip` + barrel | universal | `fact-strip.mdx` | yes | 1 | | | | |
|
|
186
|
-
| `field` | `@oxy.so/bloom/field` + barrel | universal | `field.mdx` | yes |
|
|
187
|
+
| `field` | `@oxy.so/bloom/field` + barrel | universal | `field.mdx` | yes | 19 | reads | | | |
|
|
187
188
|
| `file-upload` | `@oxy.so/bloom/file-upload` + barrel | universal | `file-upload.mdx` | yes | 5 | reads | | | |
|
|
188
189
|
| `fill` | `@oxy.so/bloom/fill` + barrel | universal | `fill.mdx` | yes | 2 | | | | |
|
|
189
190
|
| `floating` | internal | universal | — | — | 31 | n/a¹ | reads | reads | reads |
|
package/docs/agent-avatar.mdx
CHANGED
|
@@ -97,6 +97,26 @@ in current choices or templates.
|
|
|
97
97
|
`bodyColor` and the other way round; the two are never held together.
|
|
98
98
|
- `characterFromLegacy(saved)` migrates an avatar saved before 10 (see
|
|
99
99
|
[Migrating to 10.0](/docs/migrating-to-10.0)).
|
|
100
|
+
- `avatarCharacterInColor(character, color)` paints a character in its ACCOUNT's colour:
|
|
101
|
+
`color` is what Oxy stores as `User.color`, a Bloom colour preset key (or a legacy `#rgb` /
|
|
102
|
+
`#rrggbb`). The body takes the preset's identity seed, lifted to the skin floor, as
|
|
103
|
+
`bodyColor`; every part is kept and `color` is dropped. A colour that does not resolve
|
|
104
|
+
(`null`, `undefined`, an unknown key) returns the character unchanged. This is the one place a
|
|
105
|
+
colour preset becomes an avatar paint: a bot is drawn in the colour its profile is themed with.
|
|
106
|
+
|
|
107
|
+
### A bot is drawn in its account's colour
|
|
108
|
+
|
|
109
|
+
An agent's colour belongs to its account, not to its character. Store the character's parts
|
|
110
|
+
(no `color`, no `bodyColor`) and paint it at the edge:
|
|
111
|
+
|
|
112
|
+
```tsx
|
|
113
|
+
<AgentAvatar character={avatarCharacterInColor(agent.character, agent.account.color)} />
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
`Avatar` does it for you: a `kind: 'bot'` account (`<Avatar account={user} />`) is drawn as its
|
|
117
|
+
`character` painted in the account's `color` (`AvatarAccount.color`). Without a colour the
|
|
118
|
+
character's own paint (or its preset's) applies, and a character with no paint at all falls back to
|
|
119
|
+
the account's image and initials as any undrawable character does.
|
|
100
120
|
|
|
101
121
|
### Which animation plays
|
|
102
122
|
|
package/docs/agent-creator.mdx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: AgentCreator
|
|
3
|
-
description: Controlled agent profile editor with a live SVG avatar, eye orbit, shape arc,
|
|
3
|
+
description: Controlled agent profile editor with a live SVG avatar, eye orbit, shape arc, the agent's account colour, and speech preferences.
|
|
4
4
|
order: 105
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# AgentCreator
|
|
8
8
|
|
|
9
|
-
A controlled editor for an agent's name, label, description, appearance and response preferences. The host owns the agent, saving, and the surrounding panel. The implementation is shared across web, iOS and Android; the platform entry points bind Bloom's existing select
|
|
9
|
+
A controlled editor for an agent's name, label, description, colour, appearance and response preferences. The host owns the agent, saving, and the surrounding panel. The implementation is shared across web, iOS and Android; the platform entry points bind Bloom's existing select surfaces.
|
|
10
10
|
|
|
11
11
|
```tsx
|
|
12
12
|
import { useState } from 'react';
|
|
@@ -15,19 +15,25 @@ import { AgentCreator, type AgentCreatorAgent } from '@oxy.so/bloom/agent-creato
|
|
|
15
15
|
const [agent, setAgent] = useState<AgentCreatorAgent>({
|
|
16
16
|
id: 'designer', name: 'Designer', label: 'Design', description: '',
|
|
17
17
|
avatar: { preset: 'blue_beret' },
|
|
18
|
+
color: 'lagoon',
|
|
18
19
|
});
|
|
19
20
|
|
|
20
|
-
<AgentCreator agent={agent} onChange={setAgent} onClose={closePanel} />;
|
|
21
|
+
<AgentCreator agent={agent} onChange={setAgent} colors={acceptedColors} onClose={closePanel} />;
|
|
21
22
|
```
|
|
22
23
|
|
|
23
24
|
Mount under `BloomProvider` and give the editor a bounded height. Layout classes resolve through Bloom's styled primitives; web consumers must scan Bloom's built `lib/` in their NativeWind/Tailwind pipeline.
|
|
24
25
|
|
|
25
26
|
## Appearance
|
|
26
27
|
|
|
27
|
-
`agent.avatar` is an `AvatarCharacter` ([Agent Avatar](/docs/agent-avatar))
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
`agent.avatar` is an `AvatarCharacter` ([Agent Avatar](/docs/agent-avatar)) without a colour of its
|
|
29
|
+
own: `{ preset }` or complete parts. `agent.color` is the agent's colour, its ACCOUNT's (`User.color`
|
|
30
|
+
in Oxy, a Bloom colour preset key), and it is the only colour the editor knows: every character
|
|
31
|
+
it draws is painted in it (`avatarCharacterInColor`), and every character it hands back carries
|
|
32
|
+
its parts and no paint (`color` and `bodyColor` are dropped, undo and redo included). A colour
|
|
33
|
+
Bloom cannot resolve leaves a character's own paint (or its preset's); a character with neither
|
|
34
|
+
is drawn in the first colour offered. Every part control writes one edit through
|
|
35
|
+
`updateAvatarCharacter`, so the saved character is always written out in full: choosing a body
|
|
36
|
+
keeps the face and the hat.
|
|
31
37
|
|
|
32
38
|
The preview is 162px. The editor, eye chips and shape silhouettes use the shared production SVG
|
|
33
39
|
renderer. No hosted character engine is required. The controlled `AvatarCharacter`
|
|
@@ -35,16 +41,16 @@ contract and the profile/preferences layout are unchanged.
|
|
|
35
41
|
|
|
36
42
|
- **Shape arc:** 28 distinct silhouettes, including the 13 flat forms, in one 210px circular track (an unbounded index, spring, drag and wheel). Press a silhouette; arrows, Home and End select on web. Crossing between bodies retains the mounted avatar. RTL reverses horizontal movement.
|
|
37
43
|
- **Eye orbit:** the 12 current eye styles, including Todd and Clippo. Each body defines its own eye positions and size, so every style follows the layout of the shape it sits on.
|
|
38
|
-
- **
|
|
44
|
+
- **Colour:** one `ColorSwatchPicker` of Bloom colour presets, each named by its `displayName`. It offers `colors` (default `FREE_COLOR_NAMES`), filtered to the presets Bloom knows; a host passes exactly what its account service accepts, so no colour offered is refused on save. Choosing one calls `onChange` with the new `color`; it is not a character edit and does not enter the undo history.
|
|
39
45
|
- **Template, eyewear and accessory:** Bloom Select rows. Templates (`CHARACTER_TEMPLATES`) are creation choices, complete characters that start Felipe orange with sleepy eyes where the saved `blue_beret` preset is blue with oval ones; a character that is exactly one shows its name, and any edit shows Custom.
|
|
40
46
|
|
|
41
47
|
Upright eye chips orbit at a 116px radius; dragging or a mouse wheel rotates the orbit. Hover, focus, backgrounding and reduced motion pause automatic movement. The shape selector uses a 210px circular track, an unbounded index, spring, drag and wheel geometry. Choose a silhouette by pressing it; keyboard arrows, Home and End select shapes on web. BloomProvider’s direction reverses horizontal movement in RTL.
|
|
42
48
|
|
|
43
49
|
Appearance selection updates immediately. While the selected geometry is being prepared, a localized live status announces the work; an older asynchronous response cannot replace the latest selection. Only the two neighboring silhouette recipes are prepared during idle time, rather than loading the entire catalog.
|
|
44
50
|
|
|
45
|
-
Undo and redo retain up to 50 immutable character snapshots without changing the name, description, or speech preferences.
|
|
51
|
+
Undo and redo retain up to 50 immutable character snapshots without changing the name, description, colour, or speech preferences. Characters compare by their parts, so a change of paint alone is no edit. Restore original returns to the character at the start of this editing session and can itself be undone. Switching agent IDs or receiving a genuinely external character replacement starts a new baseline; controlled echoes and profile-only changes retain history. On web, Ctrl/Cmd+Z and redo shortcuts work inside the editor without intercepting text input undo.
|
|
46
52
|
|
|
47
|
-
|
|
53
|
+
The body takes the colour preset's identity seed, lifted to the shared minimum skin lightness (L* 45), so the avatar is drawn in the colour the agent's profile is themed with. Speech, colour and appearance edits preserve the agent’s identity and unrelated fields.
|
|
48
54
|
|
|
49
55
|
Equivalent legacy shape IDs share one editor choice. Opening a saved avatar only aliases its selected chip; it never rewrites its shape or template. Selecting a different silhouette writes the chosen canonical ID. Catalog comparison stories retain all saved IDs for compatibility inspection.
|
|
50
56
|
|
|
@@ -88,12 +94,12 @@ Web previews use the browser's local device voice catalog and cancel playback wh
|
|
|
88
94
|
|
|
89
95
|
Fixed labels, hints and accessible control names use the `AGENT_CREATOR_MESSAGES` catalog and Bloom’s 15 supported locales. `locale` overrides the root locale for this editor; `labels` overrides individual catalog entries. Agent names, descriptions and host voice names remain consumer data.
|
|
90
96
|
|
|
91
|
-
Profile inputs, textarea, select, switch, segmented control,
|
|
97
|
+
Profile inputs, textarea, select, switch, segmented control, colour swatches and close control reuse Bloom’s current primitives. Original layout and interaction class chains are retained. Bloom’s active palette and materials supply their colors.
|
|
92
98
|
|
|
93
|
-
|
|
99
|
+
Web applies the original shape mask and scroll blur; native uses SVG clipping and edge gradients for CSS effects its renderer cannot express. Native gesture hit areas remain rectangular, and native scroll fades do not apply a backdrop blur. These adaptations need device verification.
|
|
94
100
|
|
|
95
101
|
## Validation boundary
|
|
96
102
|
|
|
97
|
-
Tests verify profile and avatar edits preserve unrelated data, preference updates, host speech preview,
|
|
103
|
+
Tests verify profile and avatar edits preserve unrelated data, preference updates, host speech preview, colour changes and paintless characters, canonical shape choices, SVG rendering selection for every preview, and availability without a hosted engine. Jest does not execute gesture arbitration or the Reanimated frame loop; motion, wheel hit testing, and native speech providers require browser/device verification.
|
|
98
104
|
|
|
99
|
-
Track listeners retain their DOM attachment and read current callbacks; changing profile text does not rebuild shape/eye choices.
|
|
105
|
+
Track listeners retain their DOM attachment and read current callbacks; changing profile text does not rebuild shape/eye choices. Tests also cover callback replacement, wheel removal, disabled pending gestures, unmount cancellation and translated choice updates.
|
|
@@ -53,6 +53,11 @@ edits for host persistence. The workspace persists in `storage` — the same
|
|
|
53
53
|
`localStorage` on the web; native keeps session state unless one is passed.
|
|
54
54
|
Invalid stored data falls back to the initial demo.
|
|
55
55
|
|
|
56
|
+
An agent is an [`AgentCreatorAgent`](./agent-creator.mdx): its `avatar` holds the character's
|
|
57
|
+
parts and its `color` (a Bloom colour preset key) is its colour. Every avatar the workspace draws
|
|
58
|
+
for an agent, the marketplace's bots included, is `avatarCharacterInColor(agent.avatar,
|
|
59
|
+
agent.color)`. A workspace saved before agents had a colour restores them in `blue`.
|
|
60
|
+
|
|
56
61
|
`defaultEditorId` initially opens an agent's editor on desktop. On compact
|
|
57
62
|
layouts the editor becomes the selected panel; its back action returns to the
|
|
58
63
|
conversation. `voices` and `onPreviewVoice` connect a native speech provider;
|
package/docs/task-catalog.json
CHANGED
package/docs/task-catalog.mdx
CHANGED
|
@@ -8,7 +8,7 @@ order: 1
|
|
|
8
8
|
|
|
9
9
|
# Choose an API by task
|
|
10
10
|
|
|
11
|
-
This guide belongs to **@oxy.so/bloom
|
|
11
|
+
This guide belongs to **@oxy.so/bloom 20.0.0**. Read it from the installed package alongside [the structured index](./task-catalog.json). A source build version is not a registry-publication receipt. Use the containing package’s manifest for exact peer ranges.
|
|
12
12
|
|
|
13
13
|
Start under the application’s BloomProvider and follow [getting started](./getting-started.mdx) for CSS, fonts and platform setup. These examples accept domain content/actions and require a bounded host. They do not add a provider per route. For document scrolling, follow [the host contract](./compose-layouts.mdx); Expo’s bounded reset must not silently prevent document overflow.
|
|
14
14
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.avatarBodyHex = avatarBodyHex;
|
|
7
|
+
exports.avatarCharacterInColor = avatarCharacterInColor;
|
|
7
8
|
exports.avatarCharacterOf = avatarCharacterOf;
|
|
8
9
|
exports.parseAvatarCharacter = parseAvatarCharacter;
|
|
9
10
|
exports.resolveAvatarCharacter = resolveAvatarCharacter;
|
|
@@ -12,6 +13,7 @@ exports.updateAvatarCharacter = updateAvatarCharacter;
|
|
|
12
13
|
var _catalogIds = require("./catalog-ids.js");
|
|
13
14
|
var _characterColors = require("./character-colors.js");
|
|
14
15
|
var _skinColor = require("./skin-color.js");
|
|
16
|
+
var _colorPresets = require("../theme/color-presets.js");
|
|
15
17
|
var _characterPresetDefaults = require("./character-preset-defaults.js");
|
|
16
18
|
/**
|
|
17
19
|
* A character: what an avatar IS, in one flat shape. Every field is optional because a
|
|
@@ -180,6 +182,31 @@ function updateAvatarCharacter(character, patch) {
|
|
|
180
182
|
return next;
|
|
181
183
|
}
|
|
182
184
|
|
|
185
|
+
/**
|
|
186
|
+
* A character painted in its account's colour.
|
|
187
|
+
*
|
|
188
|
+
* `color` is the colour of the account the character stands for, as Oxy stores `User.color`: a
|
|
189
|
+
* Bloom colour preset key (`'lagoon'`), or a legacy `#rgb`/`#rrggbb`. The body takes the preset's
|
|
190
|
+
* identity seed (or the legacy colour), lifted to the avatar skin floor, so an agent is drawn in
|
|
191
|
+
* the same colour its profile is themed with. This is the one place a colour preset becomes an
|
|
192
|
+
* avatar paint.
|
|
193
|
+
*
|
|
194
|
+
* The result carries `bodyColor` and no `color`; every part is kept. A colour that does not resolve
|
|
195
|
+
* (`null`, `undefined`, an unknown key) returns the character unchanged, so its own paint (or its
|
|
196
|
+
* preset's) applies.
|
|
197
|
+
*/
|
|
198
|
+
function avatarCharacterInColor(character, color) {
|
|
199
|
+
const resolved = (0, _colorPresets.resolveProfileColor)(color);
|
|
200
|
+
if (resolved === undefined) return character;
|
|
201
|
+
const seed = resolved.colorPreset === undefined ? resolved.seed : _colorPresets.APP_COLOR_PRESETS[resolved.colorPreset].hex;
|
|
202
|
+
const painted = {
|
|
203
|
+
...character
|
|
204
|
+
};
|
|
205
|
+
delete painted.color;
|
|
206
|
+
painted.bodyColor = (0, _skinColor.normalizeAvatarSkinColor)(seed);
|
|
207
|
+
return painted;
|
|
208
|
+
}
|
|
209
|
+
|
|
183
210
|
/** The body paint as `#rrggbb`, whichever way it was named. */
|
|
184
211
|
function avatarBodyHex(resolved) {
|
|
185
212
|
return 'bodyColor' in resolved.paint ? resolved.paint.bodyColor : _characterColors.CHARACTER_COLORS[resolved.paint.color];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_catalogIds","require","_characterColors","_skinColor","_characterPresetDefaults","PARTS","KEYS","Set","NEVER_AUTHORED","oneOf","list","value","what","includes","Error","String","resolveAvatarCharacter","character","preset","undefined","AVATAR_PRESETS","base","CHARACTER_PRESET_DEFAULTS","part","name","shape","AVATAR_SHAPES","eyes","AVATAR_EYES","eyewear","AVATAR_EYEWEAR","requestedAccessory","AVATAR_ACCESSORIES","accessory","hex","test","normalizeAvatarSkinColor","paint","bodyColor","color","AVATAR_COLORS","eyeSpacing","Number","isFinite","authored","has","every","tryResolveAvatarCharacter","Array","isArray","parseAvatarCharacter","unknown","Object","keys","find","key","candidate","rest","avatarCharacterOf","resolved","updateAvatarCharacter","patch","parts","next","avatarBodyHex","CHARACTER_COLORS"],"sourceRoot":"../../../src","sources":["agent-avatar/character.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_catalogIds","require","_characterColors","_skinColor","_colorPresets","_characterPresetDefaults","PARTS","KEYS","Set","NEVER_AUTHORED","oneOf","list","value","what","includes","Error","String","resolveAvatarCharacter","character","preset","undefined","AVATAR_PRESETS","base","CHARACTER_PRESET_DEFAULTS","part","name","shape","AVATAR_SHAPES","eyes","AVATAR_EYES","eyewear","AVATAR_EYEWEAR","requestedAccessory","AVATAR_ACCESSORIES","accessory","hex","test","normalizeAvatarSkinColor","paint","bodyColor","color","AVATAR_COLORS","eyeSpacing","Number","isFinite","authored","has","every","tryResolveAvatarCharacter","Array","isArray","parseAvatarCharacter","unknown","Object","keys","find","key","candidate","rest","avatarCharacterOf","resolved","updateAvatarCharacter","patch","parts","next","avatarCharacterInColor","resolveProfileColor","seed","colorPreset","APP_COLOR_PRESETS","painted","avatarBodyHex","CHARACTER_COLORS"],"sourceRoot":"../../../src","sources":["agent-avatar/character.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAcA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,wBAAA,GAAAJ,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAgBA;;AAmBA,MAAMK,KAAK,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAU;AAChE,MAAMC,IAAyB,GAAG,IAAIC,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAGF,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;AACnG;AACA,MAAMG,cAAmC,GAAG,IAAID,GA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SAAS,EAAE;IAClD,OAAO4C,IAAI,CAACxB,KAAK;IACjB,OAAOwB,IAAI,CAACzB,SAAS;IACrB,IAAIA,SAAS,KAAKnB,SAAS,EAAE4C,IAAI,CAACzB,SAAS,GAAG,IAAAF,mCAAwB,EAACE,SAAS,CAAC,CAAC,KAC7EyB,IAAI,CAACxB,KAAK,GAAGA,KAAK;EACzB;EACA,OAAOwB,IAAI;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,sBAAsBA,CACpC/C,SAA0B,EAC1BsB,KAAgC,EACf;EACjB,MAAMoB,QAAQ,GAAG,IAAAM,iCAAmB,EAAC1B,KAAK,CAAC;EAC3C,IAAIoB,QAAQ,KAAKxC,SAAS,EAAE,OAAOF,SAAS;EAC5C,MAAMiD,IAAI,GACRP,QAAQ,CAACQ,WAAW,KAAKhD,SAAS,GAC9BwC,QAAQ,CAACO,IAAI,GACbE,+BAAiB,CAACT,QAAQ,CAACQ,WAAW,CAAC,CAACjC,GAAG;EACjD,MAAMmC,OAAwB,GAAG;IAAE,GAAGpD;EAAU,CAAC;EACjD,OAAOoD,OAAO,CAAC9B,KAAK;EACpB8B,OAAO,CAAC/B,SAAS,GAAG,IAAAF,mCAAwB,EAAC8B,IAAI,CAAC;EAClD,OAAOG,OAAO;AAChB;;AAEA;AACO,SAASC,aAAaA,CAACX,QAAiC,EAAU;EACvE,OAAO,WAAW,IAAIA,QAAQ,CAACtB,KAAK,GAChCsB,QAAQ,CAACtB,KAAK,CAACC,SAAS,GACxBiC,iCAAgB,CAACZ,QAAQ,CAACtB,KAAK,CAACE,KAAK,CAAC;AAC5C","ignoreList":[]}
|
|
@@ -75,6 +75,12 @@ Object.defineProperty(exports, "avatarBodyHex", {
|
|
|
75
75
|
return _character.avatarBodyHex;
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
+
Object.defineProperty(exports, "avatarCharacterInColor", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _character.avatarCharacterInColor;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
78
84
|
Object.defineProperty(exports, "avatarCharacterOf", {
|
|
79
85
|
enumerable: true,
|
|
80
86
|
get: function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_AgentAvatar","require","_AgentAvatarProvider","_context","_useAvatarRendererCapabilities","_character","_legacyCharacter","_catalogIds","_svgCatalog","_vectorLoader"],"sourceRoot":"../../../src","sources":["agent-avatar/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_AgentAvatar","require","_AgentAvatarProvider","_context","_useAvatarRendererCapabilities","_character","_legacyCharacter","_catalogIds","_svgCatalog","_vectorLoader"],"sourceRoot":"../../../src","sources":["agent-avatar/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,8BAAA,GAAAH,OAAA;AAKA,IAAAI,UAAA,GAAAJ,OAAA;AASA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAgBA,IAAAO,WAAA,GAAAP,OAAA;AAKA,IAAAQ,aAAA,GAAAR,OAAA","ignoreList":[]}
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AgentCreator = AgentCreator;
|
|
7
7
|
var _index = require("../screen/index");
|
|
8
|
-
var _popover = require("../popover");
|
|
9
8
|
var _select = require("../select");
|
|
10
9
|
var _SettingsSelect = require("../settings-modal/SettingsSelect");
|
|
11
10
|
var _AgentCreatorBase = require("./AgentCreatorBase.js");
|
|
@@ -21,9 +20,6 @@ const bindings = {
|
|
|
21
20
|
SelectContent: _select.SelectContent,
|
|
22
21
|
SelectItem: _select.SelectItem,
|
|
23
22
|
SelectItemText: _select.SelectItemText,
|
|
24
|
-
Popover: _popover.Popover,
|
|
25
|
-
PopoverTrigger: _popover.PopoverTrigger,
|
|
26
|
-
PopoverContent: _popover.PopoverContent,
|
|
27
23
|
SettingsSelect: _SettingsSelect.SettingsSelect
|
|
28
24
|
};
|
|
29
25
|
function AgentCreator(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","
|
|
1
|
+
{"version":3,"names":["_index","require","_select","_SettingsSelect","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AASA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAAgD,IAAAK,WAAA,GAAAL,OAAA;AAEhD,MAAMM,QAAQ,GAAG;EACfC,MAAM,EAANA,aAAM;EACNC,gBAAgB,EAAhBA,uBAAgB;EAChBC,MAAM,EAANA,cAAM;EACNC,aAAa,EAAbA,qBAAa;EACbC,WAAW,EAAXA,mBAAW;EACXC,UAAU,EAAVA,kBAAU;EACVC,aAAa,EAAbA,qBAAa;EACbC,UAAU,EAAVA,kBAAU;EACVC,cAAc,EAAdA,sBAAc;EACdC,cAAc,EAAdA;AACF,CAAC;AACM,SAASC,YAAYA,CAACC,KAAwB,EAAE;EACrD,oBACE,IAAAb,WAAA,CAAAc,GAAA,EAACf,QAAA,CAAAgB,mBAAmB,CAACC,QAAQ;IAACC,KAAK,EAAEhB,QAAS;IAAAiB,QAAA,eAC5C,IAAAlB,WAAA,CAAAc,GAAA,EAAChB,iBAAA,CAAAqB,gBAAgB;MAAA,GAAKN;IAAK,CAAG;EAAC,CACH,CAAC;AAEnC","ignoreList":[]}
|
|
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AgentCreator = AgentCreator;
|
|
7
7
|
var _indexWeb = require("../screen/index.web.js");
|
|
8
|
-
var _indexWeb2 = require("../
|
|
9
|
-
var _indexWeb3 = require("../select/index.web.js");
|
|
8
|
+
var _indexWeb2 = require("../select/index.web.js");
|
|
10
9
|
var _SettingsSelectWeb = require("../settings-modal/SettingsSelect.web.js");
|
|
11
10
|
var _AgentCreatorBase = require("./AgentCreatorBase.js");
|
|
12
11
|
var _context = require("./context.js");
|
|
@@ -14,16 +13,13 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
14
13
|
const bindings = {
|
|
15
14
|
Screen: _indexWeb.Screen,
|
|
16
15
|
ScreenScrollView: _indexWeb.ScreenScrollView,
|
|
17
|
-
Select:
|
|
18
|
-
SelectTrigger:
|
|
19
|
-
SelectValue:
|
|
20
|
-
SelectIcon:
|
|
21
|
-
SelectContent:
|
|
22
|
-
SelectItem:
|
|
23
|
-
SelectItemText:
|
|
24
|
-
Popover: _indexWeb2.Popover,
|
|
25
|
-
PopoverTrigger: _indexWeb2.PopoverTrigger,
|
|
26
|
-
PopoverContent: _indexWeb2.PopoverContent,
|
|
16
|
+
Select: _indexWeb2.Select,
|
|
17
|
+
SelectTrigger: _indexWeb2.SelectTrigger,
|
|
18
|
+
SelectValue: _indexWeb2.SelectValue,
|
|
19
|
+
SelectIcon: _indexWeb2.SelectIcon,
|
|
20
|
+
SelectContent: _indexWeb2.SelectContent,
|
|
21
|
+
SelectItem: _indexWeb2.SelectItem,
|
|
22
|
+
SelectItemText: _indexWeb2.SelectItemText,
|
|
27
23
|
SettingsSelect: _SettingsSelectWeb.SettingsSelect
|
|
28
24
|
};
|
|
29
25
|
function AgentCreator(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_indexWeb","require","_indexWeb2","
|
|
1
|
+
{"version":3,"names":["_indexWeb","require","_indexWeb2","_SettingsSelectWeb","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.web.tsx"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AASA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAAgD,IAAAK,WAAA,GAAAL,OAAA;AAEhD,MAAMM,QAAQ,GAAG;EACfC,MAAM,EAANA,gBAAM;EACNC,gBAAgB,EAAhBA,0BAAgB;EAChBC,MAAM,EAANA,iBAAM;EACNC,aAAa,EAAbA,wBAAa;EACbC,WAAW,EAAXA,sBAAW;EACXC,UAAU,EAAVA,qBAAU;EACVC,aAAa,EAAbA,wBAAa;EACbC,UAAU,EAAVA,qBAAU;EACVC,cAAc,EAAdA,yBAAc;EACdC,cAAc,EAAdA;AACF,CAAC;AACM,SAASC,YAAYA,CAACC,KAAwB,EAAE;EACrD,oBACE,IAAAb,WAAA,CAAAc,GAAA,EAACf,QAAA,CAAAgB,mBAAmB,CAACC,QAAQ;IAACC,KAAK,EAAEhB,QAAS;IAAAiB,QAAA,eAC5C,IAAAlB,WAAA,CAAAc,GAAA,EAAChB,iBAAA,CAAAqB,gBAAgB;MAAA,GAAKN;IAAK,CAAG;EAAC,CACH,CAAC;AAEnC","ignoreList":[]}
|