@crossworks/client-types 0.232.78 → 0.232.81

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.78",
3
+ "version": "0.232.81",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -258,6 +258,10 @@ export type AgentRole =
258
258
  export interface AgentAvatarDTO {
259
259
  style: string;
260
260
  seed: string;
261
+ /** Avatar-builder component choices layered over the seed: component name →
262
+ * pinned variant, or null to hide an optional component. Stale entries
263
+ * (from another style) are ignored at render time. Absent = seed only. */
264
+ parts?: Record<string, string | null>;
261
265
  }
262
266
 
263
267
  /** Memory/budget tuning (jsonb). All fields optional — empty = runtime defaults.
@@ -926,6 +930,11 @@ export type ProfilePreferences = {
926
930
  * so an avatar still renders. Personal — two admins share the brain's style
927
931
  * but never the same avatar. */
928
932
  avatarSeed?: string;
933
+ /** Avatar-builder component choices for THIS user's avatar, layered over the
934
+ * seed: component name → pinned variant, or null to hide an optional
935
+ * component. Personal, like avatarSeed. Stale entries (saved under another
936
+ * brain style) are ignored at render time. Absent/empty = seed only. */
937
+ avatarParts?: Record<string, string | null>;
929
938
  /** Slug of the responder agent whose Telegram bot delivers event reminders.
930
939
  * Unset → the reminder worker falls back to the most-recently-active allowed
931
940
  * DM (whichever bot you last messaged). Set it to pin reminders to one