@oxy.so/bloom 20.0.0 → 21.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 -7
- package/docs/agent-avatar.mdx +4 -4
- package/docs/agent-creator.mdx +13 -11
- package/docs/multi-agent-chat.mdx +1 -1
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/agent-avatar/character.js +4 -4
- package/lib/commonjs/agent-creator/AgentCreator.js +4 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.web.js +12 -8
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +93 -48
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/commonjs/agent-creator/CustomColorPicker.js +431 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +212 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/context.js.map +1 -1
- package/lib/commonjs/agent-creator/messages.js +22 -1
- package/lib/commonjs/agent-creator/messages.js.map +1 -1
- package/lib/commonjs/agent-creator/paint.js +19 -7
- package/lib/commonjs/agent-creator/paint.js.map +1 -1
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +28 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +22 -1
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +22 -1
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +22 -1
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +22 -1
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +22 -1
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +22 -1
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +22 -1
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +22 -1
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +22 -1
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +22 -1
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +22 -1
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +22 -1
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +22 -1
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +22 -1
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/data.js +2 -2
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
- package/lib/module/agent-avatar/character.js +4 -4
- package/lib/module/agent-creator/AgentCreator.js +4 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.web.js +4 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorBase.js +89 -44
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/module/agent-creator/CustomColorPicker.js +426 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +207 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/context.js.map +1 -1
- package/lib/module/agent-creator/messages.js +22 -1
- package/lib/module/agent-creator/messages.js.map +1 -1
- package/lib/module/agent-creator/paint.js +18 -7
- package/lib/module/agent-creator/paint.js.map +1 -1
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +26 -0
- package/lib/module/agent-creator/shared.js.map +1 -1
- package/lib/module/locale/translations/ar.js +22 -1
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +22 -1
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +22 -1
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +22 -1
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +22 -1
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +22 -1
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +22 -1
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +22 -1
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +22 -1
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +22 -1
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +22 -1
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +22 -1
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +22 -1
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +22 -1
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/data.js +3 -3
- package/lib/module/multi-agent-chat/data.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/character.d.ts +4 -4
- 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/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts +13 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/types.d.ts +4 -7
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/types.d.ts +1 -2
- 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/data.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/character.d.ts +4 -4
- 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/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/context.d.ts +13 -1
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/types.d.ts +4 -7
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/module/avatar/types.d.ts +1 -2
- 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/data.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/adoption-matrix.ts +0 -5
- package/src/agent-avatar/character.ts +4 -4
- package/src/agent-creator/AgentCreator.tsx +4 -0
- package/src/agent-creator/AgentCreator.web.tsx +4 -0
- package/src/agent-creator/AgentCreatorBase.tsx +83 -39
- package/src/agent-creator/CustomColorPicker.tsx +443 -0
- package/src/agent-creator/GlossArt.tsx +160 -0
- package/src/agent-creator/context.ts +2 -0
- package/src/agent-creator/messages.ts +37 -1
- package/src/agent-creator/paint.ts +17 -7
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +27 -0
- package/src/agent-creator/types.ts +4 -7
- package/src/avatar/types.ts +1 -2
- package/src/locale/translations/ar.ts +23 -1
- package/src/locale/translations/bn.ts +23 -1
- package/src/locale/translations/ca.ts +23 -1
- package/src/locale/translations/de.ts +23 -1
- package/src/locale/translations/es.ts +23 -1
- package/src/locale/translations/fr.ts +23 -1
- package/src/locale/translations/hi.ts +23 -1
- package/src/locale/translations/id.ts +23 -1
- package/src/locale/translations/it.ts +23 -1
- package/src/locale/translations/ja.ts +23 -1
- package/src/locale/translations/pt.ts +23 -1
- package/src/locale/translations/ru.ts +23 -1
- package/src/locale/translations/tr.ts +23 -1
- package/src/locale/translations/zh.ts +23 -1
- package/src/multi-agent-chat/data.ts +5 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rainbow-artwork.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/rainbow-artwork.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa,+m6MACol6M,CAAC;AAC/m6M,eAAO,MAAM,YAAY,m8pIACy6pI,CAAC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
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;
|
|
3
10
|
//# 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;AACD,MAAM,MAAM,GAAG,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACtD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAgBhD;AACD,wBAAgB,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,GAAG,UAQxC"}
|
|
@@ -20,8 +20,10 @@ export type AgentCreatorAgent = {
|
|
|
20
20
|
*/
|
|
21
21
|
avatar: AvatarCharacter;
|
|
22
22
|
/**
|
|
23
|
-
* The agent's colour: its
|
|
24
|
-
* the avatar, and the colour control changes it
|
|
23
|
+
* The agent's colour: its ACCOUNT's (`User.color` in Oxy), a Bloom colour preset key or a
|
|
24
|
+
* `#rrggbb`. It paints the avatar, and the colour control changes it: `onChange` with a new
|
|
25
|
+
* `color`, always a `#rrggbb` lifted to the avatar skin floor, so the stored colour is exactly
|
|
26
|
+
* the drawn one.
|
|
25
27
|
*/
|
|
26
28
|
color: string;
|
|
27
29
|
preferences?: AgentPreferences;
|
|
@@ -37,11 +39,6 @@ export interface AgentCreatorProps {
|
|
|
37
39
|
agent: AgentCreatorAgent;
|
|
38
40
|
onChange: (agent: AgentCreatorAgent) => void;
|
|
39
41
|
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[];
|
|
45
42
|
className?: string;
|
|
46
43
|
style?: StyleProp<ViewStyle>;
|
|
47
44
|
/** 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,KA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
|
|
14
14
|
/** Stored bot character data, validated before rendering. Unknown recipes fall back to its image. */
|
|
15
15
|
character?: unknown;
|
|
16
16
|
/**
|
|
17
|
-
* The account's colour, as Oxy stores `User.color`: a Bloom colour preset key
|
|
18
|
-
* `#rrggbb`). A bot's character is drawn in it (`avatarCharacterInColor`), so a bot looks the
|
|
17
|
+
* The account's colour, as Oxy stores `User.color`: a Bloom colour preset key or a `#rrggbb`. A bot's character is drawn in it (`avatarCharacterInColor`), so a bot looks the
|
|
19
18
|
* colour of its account everywhere its account is drawn.
|
|
20
19
|
*/
|
|
21
20
|
color?: string | null;
|
|
@@ -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,IAAI,CAAC;IACvB,qGAAqG;IACrG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB
|
|
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,KAA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AA8E;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"}
|
|
@@ -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;AAuyG5C,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;AAw0F5C,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;AAy6F5C,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;AA28F5C,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;AAq8F5C,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;AAm9F5C,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;AA41F5C,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;AA25F5C,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;AAo8F5C,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;AA02F5C,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;AAw9F5C,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;AAgvG5C,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;AA83F5C,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;AAgyF5C,QAAA,MAAM,YAAY,EAAE,YAgPnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/multi-agent-chat/data.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EAIrB,MAAM,iBAAiB,CAAC;AAOzB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,MAAM,MAAM,KAAK,GAAG,iBAAiB,CAAC;AAEtC,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,eAAe,CAEtF;AAID,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG;IACz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;AACF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AA4CF,iFAAiF;AACjF,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,GAC5B,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC,CAoB1C;AAkCD,eAAO,MAAM,cAAc,EAAE,KAAK,EAyDjC,CAAC;AAgFF,eAAO,MAAM,iBAAiB,EAAE,SAS/B,CAAC;AAEF,sFAAsF;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"}
|
|
@@ -74,10 +74,10 @@ export declare function updateAvatarCharacter(character: AvatarCharacter, patch:
|
|
|
74
74
|
* A character painted in its account's colour.
|
|
75
75
|
*
|
|
76
76
|
* `color` is the colour of the account the character stands for, as Oxy stores `User.color`: a
|
|
77
|
-
* Bloom colour preset key (`'lagoon'`)
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* avatar paint.
|
|
77
|
+
* Bloom colour preset key (`'lagoon'`) or a hex (`'#ff8b67'`, `'#f80'`), both ordinary account
|
|
78
|
+
* colours. A preset paints the body its identity seed, a hex paints it that hex, each lifted to the
|
|
79
|
+
* avatar skin floor (`normalizeAvatarSkinColor`), so a hex an editor wrote back comes out exactly as
|
|
80
|
+
* written. This is the one place an account colour becomes an avatar paint.
|
|
81
81
|
*
|
|
82
82
|
* The result carries `bodyColor` and no `color`; every part is kept. A colour that does not resolve
|
|
83
83
|
* (`null`, `undefined`, an unknown key) returns the character unchanged, so its own paint (or its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCreator.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AgentCreator.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAgBjD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCreator.web.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AgentCreator.web.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreator.web.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAgBjD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAMpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AgentCreatorBase.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/AgentCreatorBase.tsx"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAS,CAAC;AAEjD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,+BAsWxD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Source HSV picker: own two-dimensional field and 12px hue rail, rAF-throttled. */
|
|
2
|
+
export declare function CustomColorPicker({ value, onChange, onInteractionStart, onInteractionEnd, className, }: {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (hex: string) => void;
|
|
5
|
+
onInteractionStart?: () => void;
|
|
6
|
+
onInteractionEnd?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=CustomColorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomColorPicker.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/CustomColorPicker.tsx"],"names":[],"mappings":"AA4FA,qFAAqF;AACrF,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,GACV,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAiVA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The original four-layer glossy sphere, with the same 26px reflection geometry. */
|
|
2
|
+
export declare function GlossArt({ center, edge, rainbow, active, size, }: {
|
|
3
|
+
center?: string;
|
|
4
|
+
edge?: string;
|
|
5
|
+
rainbow?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
size?: number;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=GlossArt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlossArt.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/GlossArt.tsx"],"names":[],"mappings":"AAqBA,qFAAqF;AACrF,wBAAgB,QAAQ,CAAC,EACvB,MAAkB,EAClB,IAAgB,EAChB,OAAe,EACf,MAAc,EACd,IAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,+BA6HA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type * as PopoverParts from '../popover/Popover';
|
|
1
2
|
import type * as SelectParts from '../select';
|
|
2
3
|
import { type AgentCreatorMessages } from './messages.js';
|
|
3
|
-
export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof import('../settings-modal/SettingsSelect'), 'SettingsSelect'> & import('../screen/types.js').ScreenComponents;
|
|
4
|
+
export type AgentCreatorBindings = Pick<typeof SelectParts, 'Select' | 'SelectTrigger' | 'SelectValue' | 'SelectIcon' | 'SelectContent' | 'SelectItem' | 'SelectItemText'> & Pick<typeof PopoverParts, 'Popover' | 'PopoverTrigger' | 'PopoverContent'> & Pick<typeof import('../settings-modal/SettingsSelect'), 'SettingsSelect'> & import('../screen/types.js').ScreenComponents;
|
|
4
5
|
export declare const AgentCreatorContext: import("react").Context<AgentCreatorBindings | null>;
|
|
5
6
|
export declare const AgentCreatorCopyContext: import("react").Context<{
|
|
6
7
|
locale?: string;
|
|
@@ -25,6 +26,7 @@ export declare function useAgentCreatorMessages(overrides?: {
|
|
|
25
26
|
closeEditor: string;
|
|
26
27
|
details: string;
|
|
27
28
|
color: string;
|
|
29
|
+
customColor: string;
|
|
28
30
|
name: string;
|
|
29
31
|
label: string;
|
|
30
32
|
description: string;
|
|
@@ -47,15 +49,25 @@ export declare function useAgentCreatorMessages(overrides?: {
|
|
|
47
49
|
playbackSpeed: string;
|
|
48
50
|
emotion: string;
|
|
49
51
|
shape: string;
|
|
52
|
+
hexColor: string;
|
|
53
|
+
hue: string;
|
|
54
|
+
saturationBrightness: string;
|
|
55
|
+
increaseBrightness: string;
|
|
56
|
+
decreaseBrightness: string;
|
|
57
|
+
increaseHue: string;
|
|
58
|
+
decreaseHue: string;
|
|
50
59
|
nextShape: string;
|
|
51
60
|
previousShape: string;
|
|
52
61
|
newAgent: string;
|
|
53
62
|
emotions: Record<"neutral" | "happy" | "angry" | "thinking" | "shook" | "curious" | "wink" | "sleepy" | "sad" | "worried" | "skeptical" | "focused" | "excited" | "calm" | "shy" | "confused", string>;
|
|
54
63
|
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>;
|
|
55
65
|
languages: Record<"auto" | "en" | "tr" | "es" | "fr" | "de" | "ja" | "pt", string>;
|
|
66
|
+
avatarColorLabel: (name: string) => string;
|
|
56
67
|
shapeLabel: (name: string) => string;
|
|
57
68
|
silhouetteLabel: (name: string) => string;
|
|
58
69
|
livePreview: (name: string) => string;
|
|
70
|
+
saturationBrightnessValue: (s: number, v: number) => string;
|
|
59
71
|
playbackSpeedLabel: (speed: number) => string;
|
|
60
72
|
};
|
|
61
73
|
//# 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,WAAW,MAAM,WAAW,CAAC;AAC9C,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,eAAY,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,oBAAiB,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
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,KAAK,WAAW,MAAM,WAAW,CAAC;AAC9C,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,eAAY,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,OAAO,YAAY,EAAE,SAAS,GAAG,gBAAgB,GAAG,gBAAgB,CAAC,GAC1E,IAAI,CAAC,cAAc,kCAAkC,CAAC,EAAE,gBAAgB,CAAC,GACzE,OAAO,oBAAiB,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,6 +15,7 @@ export interface AgentCreatorMessages {
|
|
|
15
15
|
closeEditor: string;
|
|
16
16
|
details: string;
|
|
17
17
|
color: string;
|
|
18
|
+
customColor: string;
|
|
18
19
|
name: string;
|
|
19
20
|
label: string;
|
|
20
21
|
description: string;
|
|
@@ -37,15 +38,25 @@ export interface AgentCreatorMessages {
|
|
|
37
38
|
playbackSpeed: string;
|
|
38
39
|
emotion: string;
|
|
39
40
|
shape: string;
|
|
41
|
+
hexColor: string;
|
|
42
|
+
hue: string;
|
|
43
|
+
saturationBrightness: string;
|
|
44
|
+
increaseBrightness: string;
|
|
45
|
+
decreaseBrightness: string;
|
|
46
|
+
increaseHue: string;
|
|
47
|
+
decreaseHue: string;
|
|
40
48
|
nextShape: string;
|
|
41
49
|
previousShape: string;
|
|
42
50
|
newAgent: string;
|
|
43
51
|
emotions: Record<'neutral' | 'happy' | 'angry' | 'thinking' | 'shook' | 'curious' | 'wink' | 'sleepy' | 'sad' | 'worried' | 'skeptical' | 'focused' | 'excited' | 'calm' | 'shy' | 'confused', string>;
|
|
44
52
|
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>;
|
|
45
54
|
languages: Record<'auto' | 'en' | 'tr' | 'es' | 'fr' | 'de' | 'ja' | 'pt', string>;
|
|
55
|
+
avatarColorLabel: (name: string) => string;
|
|
46
56
|
shapeLabel: (name: string) => string;
|
|
47
57
|
silhouetteLabel: (name: string) => string;
|
|
48
58
|
livePreview: (name: string) => string;
|
|
59
|
+
saturationBrightnessValue: (s: number, v: number) => string;
|
|
49
60
|
playbackSpeedLabel: (speed: number) => string;
|
|
50
61
|
}
|
|
51
62
|
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,uBAAoB,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,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MA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,EAClF,MAAM,CACP,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC;IACnF,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACtC,yBAAyB,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5D,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,CA2GpE,CAAC"}
|
|
@@ -7,11 +7,16 @@ import { type AvatarCharacter } from '../agent-avatar/character.js';
|
|
|
7
7
|
/** A character without its paint: what the creator emits. */
|
|
8
8
|
export declare function withoutPaint(character: AvatarCharacter): AvatarCharacter;
|
|
9
9
|
/**
|
|
10
|
-
* The character as the creator draws it: in the agent's colour
|
|
11
|
-
* leaves the character's own paint (or its preset's); a character with
|
|
12
|
-
*
|
|
10
|
+
* The character as the creator draws it: in the agent's colour (a preset key or a `#rrggbb`). A
|
|
11
|
+
* colour Bloom cannot resolve leaves the character's own paint (or its preset's); a character with
|
|
12
|
+
* neither wears the first named swatch, so nothing it draws is undrawable.
|
|
13
13
|
*/
|
|
14
|
-
export declare function drawnCharacter(character: AvatarCharacter, color: string | null | undefined
|
|
14
|
+
export declare function drawnCharacter(character: AvatarCharacter, color: string | null | undefined): AvatarCharacter;
|
|
15
|
+
/**
|
|
16
|
+
* The body paint an account colour draws, `#rrggbb`, or `undefined` for a colour that does not
|
|
17
|
+
* resolve. Read through `avatarCharacterInColor`, the one mapping from a colour to a paint.
|
|
18
|
+
*/
|
|
19
|
+
export declare function accountBodyHex(color: string | null | undefined): string | undefined;
|
|
15
20
|
/**
|
|
16
21
|
* What a character IS, for comparing two of them: its resolved parts, paint left out (the paint is
|
|
17
22
|
* the account's). Two spellings of one character (a preset, or its parts written out) compare equal.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,8BAA2B,CAAC;AAGnC;;;;GAIG;AAEH,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,eAAe,CAKxE;
|
|
1
|
+
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../../../src/agent-creator/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,eAAe,EACrB,MAAM,8BAA2B,CAAC;AAGnC;;;;GAIG;AAEH,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,eAAe,CAKxE;AAKD;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,eAAe,CAIjB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAEnF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,CAMpE"}
|