Repository navigation
Conversation
«поставь громкость на половину», «на максимум», «на всю» fell through to the text model: only digits matched volumeSetRE. With the cloud model rate limited, the command was executed by a tool call but the confirmation never came. Level words are now resolved in the fast path, next to the digit form, so the answer is immediate and local.
The wake spotter verifies a candidate before reporting it, so on a loaded host the server asks the speaker to listen about a second after the wake word. A command said without a pause after it («Маруся, который час») is over by then: the turn is transcribed as empty and the speaker stays silent. A pause after the wake word hid the problem. Keep the last five seconds of idle microphone audio and replay it through the endpointer when listening starts. The buffered frames already passed the noise floor and the high-pass filter, so the buffered speech goes out with the turn as usual. The high-pass filter is new as well: room rumble can sit only a few dB below speech in a quiet room, and the endpointer compares speech with the floor. Filtering below 180 Hz gives quiet speech more headroom, and the «no speech detected» log now includes the peak and the floor in dBFS, so a muted microphone is not mistaken for a quiet one.
agent: run a command on assistant state changes
openaichat: more fast-path speaker commands
wake: keep the spotter stream alive on a busy host
agent: keep the command that follows the wake word
The server skips ask requests at once with {"skipped": true} instead of
answering 503, so marusya-ask hooks return silently. The wake spotter loads
its models on the first connection and unloads them WAKE_SLEEP_AFTER
seconds after the last one closes.
Show that the server sleeps without speakers, give the slumped face to a disconnected speaker and add a script that uploads plugin archives to the catalog.
Publish the images as opencapsule-server and opencapsule-wake and keep tagging the obsolete marusya-* names for compatibility. Rename the project in the notice and authors and add a disclaimer of affiliation with VK.
Sleep without speakers and rename the project to OpenCapsula
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Релиз
stage→master: всё, что накопилось вstageс прошлого мержа (PR #24–#28).Большая часть работы — от @ryysel, спасибо за PR #24–#27.
Агент на колонке
Команда при смене состояния (#24, @ryysel)
-state_command(MARUSYA_STATE_COMMAND). Агент запускает команду и последним аргументом передаёт состояние:idle,listening,thinking,speaking,error,disconnectedилиannouncing.internal/indicator/statecmd.configs/agent.conf.d.example.Команда сразу после ключевого слова (#27, @ryysel)
internal/audio/highpass.go) убирает гул комнаты, и тихой речи хватает запаса над шумом. В логе «no speech detected» теперь есть пик и уровень шума в dBFS.Быстрый путь
openaichatБольше команд без облачной модели (#25, #27, @ryysel)
Спотер ключевого слова (
deploy/wake)Стабильный поток на загруженном хосте (#26, @ryysel)
Сон без колонок (#28)
WAKE_SLEEP_AFTERсекунд (по умолчанию 60) после ухода последней колонки.WAKE_SLEEP_AFTER=0держит их загруженными.Сервер и панель (#28)
POST /v1/askв это время сразу отвечает200 {"skipped": true}вместо 503. Хукmarusya-askмолча завершается, Claude Code работает как без него._| . |_у отключённой колонки.scripts/catalog-upload.pyзагружает архивы плагинов в каталог.Переименование в OpenCapsula (#28)
ghcr.io/yawaflua/opencapsule-serverиghcr.io/yawaflua/opencapsule-wake, compose-файлы переведены на них.marusya-serverиmarusya-wakeдля совместимости получают те же теги с аннотацией OBSOLETE.stage(тегdev) и не запускается на изменения только в документации.Проверки
gofmt,go vet ./...,go test -race ./...иnode --check internal/server/panel/app.jsпроходят. Есть новые тесты дляstatecmd, фильтра высоких частот, фраз быстрого пути и сна сервера.После мержа
opencapsule-serverиopencapsule-wakeпубличными в GHCR: новые пакеты по умолчанию приватные.