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/boot.js +7 -3
- package/dist/boot.js.map +1 -1
- package/dist/cli.js +7 -3
- package/dist/cli.js.map +1 -1
- package/dist/server.js +4 -3
- package/dist/server.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
- package/public/agent-overlay.css +14 -6
- package/public/agent-overlay.js +6 -6
- package/public/agent-profile.css +6 -3
- package/public/agent-profile.js +6 -6
- package/public/app.js +2 -2
- package/public/avatar-3d.js +48 -4
- package/public/avatar3d-editor.js +5 -2
- package/public/home-3d-mock.js +7 -7
- package/public/home.html +1 -1
- package/public/i18n.js +0 -4
- package/public/icons/new-style6.glb +0 -0
- package/public/index.html +21 -20
- package/public/magazine.html +1 -1
- package/public/newspaper.html +1 -1
- package/public/ppt.html +1 -1
- package/public/thread.css +8 -7
- package/public/user-settings.css +0 -21
- package/public/user-settings.js +0 -22
- package/public/voice-3d-banner.js +7 -7
- package/public/voice-3d.js +1 -1
- package/public/avatars/chair-blink.svg +0 -1
- package/public/avatars/chair.svg +0 -1
- package/public/avatars/first-principles.svg +0 -1
- package/public/avatars/historian.svg +0 -1
- package/public/avatars/long-horizon.svg +0 -1
- package/public/avatars/phenomenologist.svg +0 -1
- package/public/avatars/socrates.svg +0 -1
- package/public/avatars/user-empathy.svg +0 -1
- package/public/avatars/value-investor.svg +0 -1
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.
|
|
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.
|
|
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.
|
|
26242
|
+
var VERSION = "0.1.41";
|
|
26242
26243
|
|
|
26243
26244
|
// src/utils/render-picker-catalog.ts
|
|
26244
26245
|
function renderPickerCatalog() {
|