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/boot.js
CHANGED
|
@@ -1650,6 +1650,7 @@ function parseAvatar3d(json) {
|
|
|
1650
1650
|
};
|
|
1651
1651
|
if (typeof o.browStyle === "string" && o.browStyle) cfg.browStyle = o.browStyle;
|
|
1652
1652
|
if (typeof o.tieStyle === "string" && o.tieStyle) cfg.tieStyle = o.tieStyle;
|
|
1653
|
+
if (typeof o.eyeStyle === "string" && o.eyeStyle) cfg.eyeStyle = o.eyeStyle;
|
|
1653
1654
|
if (typeof o.tie === "string" && HEX6_RE.test(o.tie)) cfg.tie = o.tie;
|
|
1654
1655
|
if (typeof o.eye === "string" && HEX6_RE.test(o.eye)) cfg.eye = o.eye;
|
|
1655
1656
|
return cfg;
|
|
@@ -2821,6 +2822,9 @@ function runSeed() {
|
|
|
2821
2822
|
if (!existing.avatar3d && d.avatar3d) {
|
|
2822
2823
|
updateAgent(d.id, { avatar3d: d.avatar3d });
|
|
2823
2824
|
}
|
|
2825
|
+
if (existing.avatarPath === `/avatars/${d.id}.svg`) {
|
|
2826
|
+
updateAgent(d.id, { avatarPath: d.avatarPath });
|
|
2827
|
+
}
|
|
2824
2828
|
}
|
|
2825
2829
|
}
|
|
2826
2830
|
const existingChair = getAgent(CHAIR_ID);
|
|
@@ -9096,7 +9100,7 @@ function agentsRouter() {
|
|
|
9096
9100
|
const roleTag = typeof b.roleTag === "string" && b.roleTag.trim().length > 0 ? b.roleTag.trim().slice(0, 80) : "director";
|
|
9097
9101
|
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.`;
|
|
9098
9102
|
const coverQuote = typeof b.coverQuote === "string" ? b.coverQuote.trim().slice(0, 220) : null;
|
|
9099
|
-
const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/socrates.
|
|
9103
|
+
const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/3d/socrates.png";
|
|
9100
9104
|
const ability = parseAbilityFromRequest(b.ability) ?? synthesizeAbility(`${bio} ${roleTag} ${partial.description}`);
|
|
9101
9105
|
const finalSpec = { ...partial, description: partial.description || job.description };
|
|
9102
9106
|
const instructionOverride = typeof b.instruction === "string" ? b.instruction.trim() : "";
|
|
@@ -9173,7 +9177,7 @@ function agentsRouter() {
|
|
|
9173
9177
|
return c.json({ error: `unknown model: ${modelV}` }, 400);
|
|
9174
9178
|
}
|
|
9175
9179
|
const rawAvatar = typeof b.avatarPath === "string" ? b.avatarPath : "";
|
|
9176
|
-
const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/socrates.
|
|
9180
|
+
const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/3d/socrates.png";
|
|
9177
9181
|
let roleTag = typeof b.roleTag === "string" ? b.roleTag.trim() : "";
|
|
9178
9182
|
if (!roleTag) {
|
|
9179
9183
|
const firstWord = bio.split(/\s+/)[0]?.toLowerCase() || "";
|
|
@@ -27125,7 +27129,7 @@ function voicesRouter() {
|
|
|
27125
27129
|
init_paths();
|
|
27126
27130
|
|
|
27127
27131
|
// src/version.ts
|
|
27128
|
-
var VERSION = "0.1.
|
|
27132
|
+
var VERSION = "0.1.41";
|
|
27129
27133
|
|
|
27130
27134
|
// src/utils/render-picker-catalog.ts
|
|
27131
27135
|
function renderPickerCatalog() {
|