askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
shell_preferences.json · 4.9 KB · 137 lines
| 1 | { |
| 2 | "name": "shell_preferences", |
| 3 | "title": "Shell Preferences", |
| 4 | "version": 7, |
| 5 | "description": "Per-user shell settings; the record id is the user id.", |
| 6 | "fields": [ |
| 7 | { |
| 8 | "name": "id" |
| 9 | }, |
| 10 | { |
| 11 | "name": "ai_model", |
| 12 | "type": "text", |
| 13 | "label": "AI Model", |
| 14 | "default": "anthropic:claude-sonnet-5", |
| 15 | "help": "service:model, like anthropic:claude-haiku-4-5 or openai:gpt-5-mini" |
| 16 | }, |
| 17 | { |
| 18 | "name": "tools", |
| 19 | "type": "text", |
| 20 | "label": "AI Tools", |
| 21 | "default": "global_search,list_records,get_record,create_record", |
| 22 | "help": "Comma-separated MCP tool names offered to the model" |
| 23 | }, |
| 24 | { |
| 25 | "name": "voice_enabled", |
| 26 | "type": "boolean", |
| 27 | "label": "Voice", |
| 28 | "default": "false", |
| 29 | "help": "Speak AI replies aloud and enable the mic button (/voice toggles)" |
| 30 | }, |
| 31 | { |
| 32 | "name": "talk_wake_word", |
| 33 | "type": "text", |
| 34 | "label": "Talk Wake Word", |
| 35 | "default": "computer", |
| 36 | "help": "Talk page: word that arms conversation-mode capture; empty captures everything while the mic is on" |
| 37 | }, |
| 38 | { |
| 39 | "name": "talk_end_word", |
| 40 | "type": "text", |
| 41 | "label": "Talk End Word", |
| 42 | "default": "over", |
| 43 | "help": "Talk page: trailing word that ends and submits an utterance; empty disables end-word submission" |
| 44 | }, |
| 45 | { |
| 46 | "name": "talk_endpoint", |
| 47 | "type": "enum", |
| 48 | "label": "Talk Endpoint Mode", |
| 49 | "default": "silence", |
| 50 | "enum": [ |
| 51 | "silence", |
| 52 | "word", |
| 53 | "manual" |
| 54 | ], |
| 55 | "help": "How Talk decides an utterance is finished: silence (VAD), word (end word only), or manual (button/Enter only)" |
| 56 | }, |
| 57 | { |
| 58 | "name": "talk_silence_ms", |
| 59 | "type": "text", |
| 60 | "label": "Talk Silence Endpoint (ms)", |
| 61 | "default": "1400", |
| 62 | "help": "Talk page: milliseconds of sustained quiet that ends an utterance in silence endpoint mode" |
| 63 | }, |
| 64 | { |
| 65 | "name": "talk_tts", |
| 66 | "type": "enum", |
| 67 | "label": "Voice Engine", |
| 68 | "default": "auto", |
| 69 | "enum": [ |
| 70 | "auto", |
| 71 | "server", |
| 72 | "browser" |
| 73 | ], |
| 74 | "help": "Which engine speaks AI replies: auto prefers an on-device browser voice when one is available and falls back to the server otherwise, server always uses server TTS (with a browser fallback on failure), browser always uses the browser's own speechSynthesis" |
| 75 | }, |
| 76 | { |
| 77 | "name": "talk_tts_engine", |
| 78 | "type": "enum", |
| 79 | "label": "Server Voice Quality", |
| 80 | "default": "local", |
| 81 | "enum": [ |
| 82 | "local", |
| 83 | "openai" |
| 84 | ], |
| 85 | "help": "Ignored if Voice Engine is set to browser (that always uses your browser's own voice). Under server or auto, local is free and always available (espeak-ng in production); openai is a real cloud voice, clearer and more natural -- choosing it overrides auto's browser-voice preference too, so you reliably hear it -- but costs real money per reply and requires an OpenAI key under your account's service keys" |
| 86 | }, |
| 87 | { |
| 88 | "name": "talk_stt_engine", |
| 89 | "type": "enum", |
| 90 | "label": "Speech Recognition", |
| 91 | "default": "browser", |
| 92 | "enum": [ |
| 93 | "browser", |
| 94 | "openai" |
| 95 | ], |
| 96 | "help": "browser uses your browser's built-in speech recognition (free, but silently unavailable on some browsers, e.g. Firefox); openai records real audio and transcribes it on the server via your own OpenAI key -- costs a small real amount per utterance. Push-to-talk (tap to start, tap to stop) by default; see Headphones Mode for continuous, no-tap listening" |
| 97 | }, |
| 98 | { |
| 99 | "name": "talk_headphones_mode", |
| 100 | "type": "boolean", |
| 101 | "label": "Headphones Mode", |
| 102 | "default": "false", |
| 103 | "help": "Only applies when Speech Recognition is set to openai. Push-to-talk normally requires a tap per utterance because starting a new recording while the assistant is talking would pick up its own voice through the speaker; with headphones on, the mic can't hear that at all, so this arms genuinely hands-free listening instead -- one tap turns it on, the mic stays live (including while the assistant is replying, so talking interrupts it), and a second tap turns it off. Turning this on without headphones will pick up the assistant's own voice and produce bad transcriptions" |
| 104 | }, |
| 105 | { |
| 106 | "name": "talk_model", |
| 107 | "type": "text", |
| 108 | "help": "Model for the Talk surface only; blank falls back to ai_model. Exists because voice tolerates latency far worse than a terminal: a fast model that answers in 3 seconds beats a smarter one that leaves 10 seconds of silence." |
| 109 | } |
| 110 | ], |
| 111 | "forms": { |
| 112 | "default": { |
| 113 | "fields": [ |
| 114 | "ai_model", |
| 115 | "tools", |
| 116 | "voice_enabled", |
| 117 | "talk_wake_word", |
| 118 | "talk_end_word", |
| 119 | "talk_endpoint", |
| 120 | "talk_silence_ms", |
| 121 | "talk_tts", |
| 122 | "talk_tts_engine", |
| 123 | "talk_stt_engine", |
| 124 | "talk_headphones_mode" |
| 125 | ] |
| 126 | } |
| 127 | }, |
| 128 | "views": { |
| 129 | "list_mode": "table", |
| 130 | "list_fields": [ |
| 131 | "ai_model", |
| 132 | "tools", |
| 133 | "voice_enabled", |
| 134 | "talk_endpoint" |
| 135 | ] |
| 136 | } |
| 137 | } |