@7ots/cli 0.1.37 → 0.1.38
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/.env.example +9 -4
- package/README.md +3 -0
- package/cli/lib/account.mjs +2 -2
- package/cli/lib/assistant.mjs +6 -4
- package/cli/lib/integrations.mjs +1 -0
- package/cli/lib/pet-server.mjs +7 -4
- package/cli/pet/electron/main.cjs +43 -23
- package/cli/pet/pet.html +5 -4
- package/dist/7ots.esm.js +2 -2
- package/dist/7ots.esm.js.map +2 -2
- package/dist/7ots.iife.js +2 -2
- package/dist/7ots.iife.js.map +2 -2
- package/package.json +1 -1
- package/server/server.mjs +1 -1
- package/src/avatar/AvatarStage.js +1 -1
- package/src/character3d/room.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@7ots/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.38",
|
|
4
4
|
"description": "7ots.com — your AI companion with a face of its own: a desktop pet that watches over your coding agent (Claude Code and shell hooks), a personal assistant (reminders, alerts, notes, opens sites, sees your screen if allowed) and a reproducible identity (face, personality, voice) for any agent — in apuchat meet calls, Orquesta projects or your own server.",
|
|
5
5
|
"homepage": "https://7ots.com",
|
|
6
6
|
"repository": {
|
package/server/server.mjs
CHANGED
|
@@ -480,7 +480,7 @@ function redirectSlash(req, res, pathname) {
|
|
|
480
480
|
res.end();
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
const STATIC_DIRS = ['site', 'brand', 'examples', 'src', 'dist'];
|
|
483
|
+
const STATIC_DIRS = ['site', 'brand', 'examples', 'src', 'dist', 'oss'];
|
|
484
484
|
|
|
485
485
|
async function serveStatic(req, res, url) {
|
|
486
486
|
const pathname = url.pathname;
|
|
@@ -141,7 +141,7 @@ export class AvatarStage {
|
|
|
141
141
|
orbit: this.cfg.orbit === true,
|
|
142
142
|
quality: this.cfg.quality || 'high',
|
|
143
143
|
// escenario propio por encima del panel del widget (z-index 2147483000)
|
|
144
|
-
stage: { key: 'overlay', zIndex: 2147483001, maxDpr:
|
|
144
|
+
stage: { key: 'overlay', zIndex: 2147483001, maxDpr: 2 },
|
|
145
145
|
});
|
|
146
146
|
this._ch = ch;
|
|
147
147
|
this.mode = ch.fallback ? '2d' : '3d-plush';
|
package/src/character3d/room.js
CHANGED
|
@@ -321,7 +321,7 @@ export function createRoom3D(el, spec, opts = {}) {
|
|
|
321
321
|
const k = Object.keys(POIS).find((kk) => { const p = POIS[kk]; return Math.hypot(x - (p.seat?.[0] ?? p.at[0]), z - (p.seat?.[2] ?? p.at[1])) < 0.9; });
|
|
322
322
|
if (k && (POIS[k].seat || blocked(x, z))) return run((dead) => act(k, dead));
|
|
323
323
|
if (blocked(x, z)) return;
|
|
324
|
-
run(async (dead) => { await guard(dead)(leaveSeat()); doing(t('room.walk')); await guard(dead)(walkTo(x, z, 1.3)); doing(t('room.you')); });
|
|
324
|
+
run(async (dead) => { await guard(dead)(leaveSeat()); doing(t('room.walk')); await guard(dead)(walkTo(x, z, 1.3)); doing(t('room.you')); el.focus({ preventScroll: true }); });
|
|
325
325
|
});
|
|
326
326
|
box.addEventListener('click', (e) => {
|
|
327
327
|
const b = e.target.closest('button');
|