@7ots/cli 0.1.11 → 0.1.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7ots/cli",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
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/admin.mjs CHANGED
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  import { createHash, createHmac, randomBytes, timingSafeEqual } from 'node:crypto';
13
- import { getIdentity, setIdentity, MEET_AVATARS, MEET_SCENES, OPENAI_VOICES, GROK_VOICES } from './identity.mjs';
13
+ import { getIdentity, setIdentity, MEET_AVATARS, MEET_SCENES, OPENAI_VOICES, GROK_VOICES, TTS_MODELS } from './identity.mjs';
14
14
  import { widgetConfig, saveWidget, serverView, saveServer } from './settings.mjs';
15
15
  import { reqT, requestLocale } from './i18n.mjs';
16
16
 
@@ -129,7 +129,7 @@ export function createAdmin({ llm, channels, reload, synthesize, ttsProvider, re
129
129
  widget: widgetConfig(),
130
130
  server: serverView(),
131
131
  status: status(),
132
- options: { meetAvatars: MEET_AVATARS, meetScenes: MEET_SCENES, openaiVoices: OPENAI_VOICES, grokVoices: GROK_VOICES },
132
+ options: { meetAvatars: MEET_AVATARS, meetScenes: MEET_SCENES, openaiVoices: OPENAI_VOICES, grokVoices: GROK_VOICES, ttsModels: TTS_MODELS },
133
133
  });
134
134
  return true;
135
135
  }
@@ -31,6 +31,14 @@ export const MEET_SCENES = ['studio', 'beach', 'castle', 'space', 'sunset', 'for
31
31
  export const VOICE_PROVIDERS = ['auto', 'apuchat', 'elevenlabs', 'grok', 'fish', 'openai', 'browser'];
32
32
  /** Voces integradas de xAI (Grok) TTS; también admite ids de voces clonadas propias. */
33
33
  export const GROK_VOICES = ['eve', 'ara', 'leo', 'rex', 'sal'];
34
+ /** TTS models per provider, first = what the server uses when none is picked. xAI has a single model. */
35
+ export const TTS_MODELS = {
36
+ elevenlabs: ['eleven_multilingual_v2', 'eleven_v3', 'eleven_flash_v2_5', 'eleven_turbo_v2_5'],
37
+ openai: ['gpt-4o-mini-tts', 'tts-1', 'tts-1-hd'],
38
+ fish: ['s2.1-pro', 's1', 'speech-1.6', 'speech-1.5'],
39
+ apuchat: ['s2.1-pro-free'],
40
+ grok: [],
41
+ };
34
42
  export const OPENAI_VOICES = ['alloy', 'ash', 'ballad', 'coral', 'echo', 'fable', 'nova', 'onyx', 'sage', 'shimmer', 'verse'];
35
43
  export const MOODS = ['neutral', 'happy', 'angry', 'sad', 'fear', 'disgust', 'love', 'sleep'];
36
44