Repository navigation
feat(light): iniciar o Monky Light com o sistema, pela bandeja - #895
Merged
Merged
Conversation
Item `Iniciar com o sistema`, desligado por padrão, só quando o Light foi aberto como aplicativo. Registra este executável sem argumentos para abrir no login: valor em HKCU\...\CurrentVersion\Run no Windows e LaunchAgent em ~/Library/LaunchAgents no macOS (desde o macOS 12, sem SMAppService). O item lê o sistema ao abrir o menu e só aparece marcado quando o registro aponta para este mesmo executável. Não é oferecido com MONKY_LIGHT_PROFILE, para um build de desenvolvimento nunca se registrar com o perfil real. Uma recusa do sistema aparece como alerta. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Parte da #658. Empilhado sobre o #894 (base
feat/light-standalone), que por sua vez está sobre o #893. Quando cada um for mergeado, faço o rebase em ordem.O que muda
Item
Iniciar com o sistemana bandeja, desligado por padrão, oferecido só quando o Light foi aberto como aplicativo.Monky LightemHKCU\Software\Microsoft\Windows\CurrentVersion\Run, com o caminho deste executável entre aspas e sem argumentos.~/Library/LaunchAgents/org.monky.light.plist(RunAtLoad,LimitLoadToSessionType = Aqua). Funciona desde o macOS 12, enquanto oSMAppServiceexige o 13. Vale a partir do próximo login.MONKY_LIGHT_PROFILE, o item não é oferecido, para um build de desenvolvimento nunca se registrar e depois abrir no login com o perfil real.Medição de consumo (Windows x64,
measure:light, fases de 30 s)Rodei também o A/B da amostragem de fala do #893, com uma alteração local, não commitada, que desligava só o
ScheduleSpeech:A diferença fica dentro do ruído: a amostragem de fala a cada 100 ms não tem custo mensurável. Em compensação, o P2P em chamada está acima da referência de setembro (2,95–3,91%), também sem a amostragem, ou seja, veio de mudanças na
maindesde então. Fica registrado para investigar à parte.Testes
npm run test:light:native: 36 aprovados, 4 ignorados por plataforma. Novo cenário do controlador com um registro falso: oferecido só com registro, lê o sistema a cada abertura, marca ao registrar e mostra a recusa.QA.md§6.40).🤖 Generated with Claude Code