privateboard 0.1.40 → 0.1.41

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/dist/server.js CHANGED
@@ -1913,6 +1913,7 @@ function parseAvatar3d(json) {
1913
1913
  };
1914
1914
  if (typeof o.browStyle === "string" && o.browStyle) cfg.browStyle = o.browStyle;
1915
1915
  if (typeof o.tieStyle === "string" && o.tieStyle) cfg.tieStyle = o.tieStyle;
1916
+ if (typeof o.eyeStyle === "string" && o.eyeStyle) cfg.eyeStyle = o.eyeStyle;
1916
1917
  if (typeof o.tie === "string" && HEX6_RE.test(o.tie)) cfg.tie = o.tie;
1917
1918
  if (typeof o.eye === "string" && HEX6_RE.test(o.eye)) cfg.eye = o.eye;
1918
1919
  return cfg;
@@ -8260,7 +8261,7 @@ function agentsRouter() {
8260
8261
  const roleTag = typeof b.roleTag === "string" && b.roleTag.trim().length > 0 ? b.roleTag.trim().slice(0, 80) : "director";
8261
8262
  const bio = typeof b.bio === "string" && b.bio.trim().length >= BIO_MIN ? b.bio.trim().slice(0, BIO_MAX) : partial.description ? partial.description.slice(0, BIO_MAX) : `A custom director built via deep persona replication.`;
8262
8263
  const coverQuote = typeof b.coverQuote === "string" ? b.coverQuote.trim().slice(0, 220) : null;
8263
- const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/socrates.svg";
8264
+ const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/3d/socrates.png";
8264
8265
  const ability = parseAbilityFromRequest(b.ability) ?? synthesizeAbility(`${bio} ${roleTag} ${partial.description}`);
8265
8266
  const finalSpec = { ...partial, description: partial.description || job.description };
8266
8267
  const instructionOverride = typeof b.instruction === "string" ? b.instruction.trim() : "";
@@ -8337,7 +8338,7 @@ function agentsRouter() {
8337
8338
  return c.json({ error: `unknown model: ${modelV}` }, 400);
8338
8339
  }
8339
8340
  const rawAvatar = typeof b.avatarPath === "string" ? b.avatarPath : "";
8340
- const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/socrates.svg";
8341
+ const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/3d/socrates.png";
8341
8342
  let roleTag = typeof b.roleTag === "string" ? b.roleTag.trim() : "";
8342
8343
  if (!roleTag) {
8343
8344
  const firstWord = bio.split(/\s+/)[0]?.toLowerCase() || "";
@@ -26238,7 +26239,7 @@ function voicesRouter() {
26238
26239
  init_paths();
26239
26240
 
26240
26241
  // src/version.ts
26241
- var VERSION = "0.1.40";
26242
+ var VERSION = "0.1.41";
26242
26243
 
26243
26244
  // src/utils/render-picker-catalog.ts
26244
26245
  function renderPickerCatalog() {