fix(app): MCP discovery never blocks a turn; secrets masked as lines are written; TTS child gets no MCP secrets
- Discovery runs outside the MCP tool cache's lock (one at a time), so a turn reading the cached tools never waits for a slow server; a new conversation refreshes in the background. - The log hub masks secrets before a line is kept or written, so a key replaced or removed later stays hidden on the screen, in copies, files and exports, also after a restart. - The worker takes JARVIS_MCP_ENV out of its environment at start, before MeloTTS runs, and hands it to the brain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -110,8 +110,11 @@ STT, LLM and TTS lines go to `stt`, `llm`, `tts` by their worker category), `bro
|
||||
- `export_zip(from, to, out)`: the log files of those days in a zip, at most 10 MB (Discord's file
|
||||
limit): when larger, the oldest lines by the time they were logged, across every tab's file, are
|
||||
left out and a note says how many.
|
||||
- Every copy and export runs through `redact`: each stored secret's value, and anything shaped like
|
||||
a Discord bot token (also with sentence dots around it), becomes `[비밀값]`.
|
||||
- Every line runs through `redact` before it is kept or written to a file, and every copy and
|
||||
export again: each stored secret's value, and anything shaped like a Discord bot token (also with
|
||||
sentence dots around it), becomes `[비밀값]`. So a secret replaced or removed later (the hub then
|
||||
no longer knows the old value) never shows on the screen, in a copy, a file or an export, also
|
||||
after a restart.
|
||||
- Errors the voice worker reports to the app (`error` messages: code and request id) are always
|
||||
logged, debug logging or not, so the log screen and the error report show them.
|
||||
|
||||
@@ -362,7 +365,8 @@ the TTS speed reaching the worker's arguments; features and MCP servers (read an
|
||||
the key, the feature tools named as the brain names them, only enabled servers in the brain's
|
||||
settings without values, stored values passed for enabled servers only, values of removed servers
|
||||
and names deleted, a value refused for an unsaved server, kept out of the settings file and masked
|
||||
in logs, also by a new app on the same folder); chat channel names and topics (only new or edited
|
||||
in logs, also by a new app on the same folder, and a value replaced or removed later still masked
|
||||
in lines written before); chat channel names and topics (only new or edited
|
||||
syncing channels sent, the topic limit refused before saving, Discord's form of the name written
|
||||
back, a missing permission failing with the reason and the text kept, a rate-limited edit pending
|
||||
and retried once with the latest text, a new channel never clearing Discord (also on its retry), a
|
||||
|
||||
Reference in New Issue
Block a user