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/cli.js
CHANGED
|
@@ -1654,6 +1654,7 @@ function parseAvatar3d(json) {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
if (typeof o.browStyle === "string" && o.browStyle) cfg.browStyle = o.browStyle;
|
|
1656
1656
|
if (typeof o.tieStyle === "string" && o.tieStyle) cfg.tieStyle = o.tieStyle;
|
|
1657
|
+
if (typeof o.eyeStyle === "string" && o.eyeStyle) cfg.eyeStyle = o.eyeStyle;
|
|
1657
1658
|
if (typeof o.tie === "string" && HEX6_RE.test(o.tie)) cfg.tie = o.tie;
|
|
1658
1659
|
if (typeof o.eye === "string" && HEX6_RE.test(o.eye)) cfg.eye = o.eye;
|
|
1659
1660
|
return cfg;
|
|
@@ -2825,6 +2826,9 @@ function runSeed() {
|
|
|
2825
2826
|
if (!existing.avatar3d && d.avatar3d) {
|
|
2826
2827
|
updateAgent(d.id, { avatar3d: d.avatar3d });
|
|
2827
2828
|
}
|
|
2829
|
+
if (existing.avatarPath === `/avatars/${d.id}.svg`) {
|
|
2830
|
+
updateAgent(d.id, { avatarPath: d.avatarPath });
|
|
2831
|
+
}
|
|
2828
2832
|
}
|
|
2829
2833
|
}
|
|
2830
2834
|
const existingChair = getAgent(CHAIR_ID);
|
|
@@ -9100,7 +9104,7 @@ function agentsRouter() {
|
|
|
9100
9104
|
const roleTag = typeof b.roleTag === "string" && b.roleTag.trim().length > 0 ? b.roleTag.trim().slice(0, 80) : "director";
|
|
9101
9105
|
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.`;
|
|
9102
9106
|
const coverQuote = typeof b.coverQuote === "string" ? b.coverQuote.trim().slice(0, 220) : null;
|
|
9103
|
-
const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/socrates.
|
|
9107
|
+
const avatarPath = typeof b.avatarPath === "string" && isValidAvatar(b.avatarPath) ? b.avatarPath : "/avatars/3d/socrates.png";
|
|
9104
9108
|
const ability = parseAbilityFromRequest(b.ability) ?? synthesizeAbility(`${bio} ${roleTag} ${partial.description}`);
|
|
9105
9109
|
const finalSpec = { ...partial, description: partial.description || job.description };
|
|
9106
9110
|
const instructionOverride = typeof b.instruction === "string" ? b.instruction.trim() : "";
|
|
@@ -9177,7 +9181,7 @@ function agentsRouter() {
|
|
|
9177
9181
|
return c.json({ error: `unknown model: ${modelV}` }, 400);
|
|
9178
9182
|
}
|
|
9179
9183
|
const rawAvatar = typeof b.avatarPath === "string" ? b.avatarPath : "";
|
|
9180
|
-
const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/socrates.
|
|
9184
|
+
const avatarPath = rawAvatar && isValidAvatar(rawAvatar) ? rawAvatar : "/avatars/3d/socrates.png";
|
|
9181
9185
|
let roleTag = typeof b.roleTag === "string" ? b.roleTag.trim() : "";
|
|
9182
9186
|
if (!roleTag) {
|
|
9183
9187
|
const firstWord = bio.split(/\s+/)[0]?.toLowerCase() || "";
|
|
@@ -27129,7 +27133,7 @@ function voicesRouter() {
|
|
|
27129
27133
|
init_paths();
|
|
27130
27134
|
|
|
27131
27135
|
// src/version.ts
|
|
27132
|
-
var VERSION = "0.1.
|
|
27136
|
+
var VERSION = "0.1.41";
|
|
27133
27137
|
|
|
27134
27138
|
// src/utils/render-picker-catalog.ts
|
|
27135
27139
|
function renderPickerCatalog() {
|