@crossworks/client-types 0.232.81 → 0.232.82

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 +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.81",
3
+ "version": "0.232.82",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -935,6 +935,14 @@ export type ProfilePreferences = {
935
935
  * component. Personal, like avatarSeed. Stale entries (saved under another
936
936
  * brain style) are ignored at render time. Absent/empty = seed only. */
937
937
  avatarParts?: Record<string, string | null>;
938
+ /** Content-addressed storage key of THIS user's uploaded profile PHOTO —
939
+ * when set, clients show the photo instead of the generated avatar
940
+ * (photo → generated seed → initials). Personal, like avatarSeed; set only
941
+ * from Settings → Profile, never for agents. Served privately by
942
+ * GET /api/profile/photo (cookie or asset token). */
943
+ avatarPhotoKey?: string;
944
+ /** Content-Type of the photo bytes (png/jpeg/webp — never SVG). */
945
+ avatarPhotoType?: string;
938
946
  /** Slug of the responder agent whose Telegram bot delivers event reminders.
939
947
  * Unset → the reminder worker falls back to the most-recently-active allowed
940
948
  * DM (whichever bot you last messaged). Set it to pin reminders to one