zeroclaw/src
Argenis ad527d2293
feat(mattermost): add audio transcription via TranscriptionManager (#4389)
* fix(transcription): remove deployment-specific WireGuard references from doc comments

LocalWhisperProvider and LocalWhisperConfig doc comments referenced
WireGuard and specific internal infrastructure. Deployment topology is
operator choice — replace with neutral examples.

* feat(mattermost): add audio transcription via TranscriptionManager

Add transcription support for Mattermost audio attachments. Routes
audio through TranscriptionManager when configured, with duration
limit enforcement and wiremock-based integration tests.

* fix(mattermost): add download size cap, HTTP status check, warn logging

Replace chained .ok()? calls in try_transcribe_audio_attachment with
explicit error handling that logs warnings on HTTP failure, non-success
status codes, and oversized files.  Add MAX_MATTERMOST_AUDIO_BYTES
(25 MiB) Content-Length pre-check.  Remove mp4 and webm from the
extension-only fallback in is_audio_file().  Short-circuit
with_transcription() when config.enabled is false.

* fix(mattermost): add [Voice] prefix, filter empty, fix config init

- Add [Voice] prefix to transcribed audio matching Slack/Discord
- Filter empty transcription results
- Only store transcription config on successful manager init
- Update test expectation for [Voice] prefix

---------

Co-authored-by: Nim G <theredspoon@users.noreply.github.com>
2026-03-24 15:37:01 +03:00
..
agent fix(agent): use Gregorian datetime and prioritize date context in prompts (#4369) 2026-03-24 15:37:00 +03:00
approval fix(approval): merge default auto_approve entries with user config (#4262) 2026-03-24 15:34:32 +03:00
auth feat(auth): add import functionality for existing OpenAI Codex auth p… (#3762) 2026-03-24 15:30:45 +03:00
channels feat(mattermost): add audio transcription via TranscriptionManager (#4389) 2026-03-24 15:37:01 +03:00
commands fix(update): diagnose arch mismatch in validate_binary before execution (#4379) 2026-03-24 15:34:57 +03:00
config feat(lark): add audio message transcription (#4388) 2026-03-24 15:37:01 +03:00
cost fix(channels): add cost tracking and enforcement to all channels (#4143) 2026-03-24 15:30:46 +03:00
cron feat: declarative cron job configuration (#4045) 2026-03-24 15:34:54 +03:00
daemon fix(heartbeat): prevent UTF-8 panic, add memory bounds and path validation in session context 2026-03-24 15:34:07 +03:00
doctor feat(tool): enrich delegate sub-agent system prompt and add skills_directory config key (#3344) 2026-03-24 15:30:46 +03:00
gateway feat(tools): add cross-channel poll creation tool (#4396) 2026-03-24 15:36:59 +03:00
hands feat(hands): add autonomous knowledge-accumulating agent packages (#3603) 2026-03-24 15:16:05 +03:00
hardware fix(hardware): drain stdin in subprocess test to prevent broken pipe flake (#4161) 2026-03-24 15:31:17 +03:00
health refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
heartbeat feat(heartbeat): add health metrics, adaptive intervals, and task history 2026-03-24 15:17:14 +03:00
hooks feat(hooks): add webhook-audit builtin hook (#3212) 2026-03-11 23:34:17 -04:00
integrations feat(matrix): add allowed_rooms config for room-level gating (#4230) (#4260) 2026-03-24 15:34:52 +03:00
memory feat(memory): restore time-decay scoring lost in main→master migration (#4274) 2026-03-24 15:34:54 +03:00
nodes feat(nodes): add secure HMAC-SHA256 node transport layer (#3654) 2026-03-24 15:17:12 +03:00
observability fix(observability): handle missing OtelObserver match arms and add all-features CI check (#3981) 2026-03-24 15:29:56 +03:00
onboard fix(channels): link enricher title extraction byte offset bug (#4271) 2026-03-24 15:34:54 +03:00
peripherals feat(hardware): add RPi GPIO, Aardvark I2C/SPI/GPIO, and hardware plugin system (#4125) 2026-03-24 15:30:43 +03:00
plugins fix(plugins): integrate WASM tools into registry, add gateway routes and tests 2026-03-24 15:17:30 +03:00
providers fix(ollama): strip /api/chat suffix from user-provided base URL (#4376) 2026-03-24 15:34:55 +03:00
rag chore(lint): extend low-risk clippy cleanup batch 2026-02-17 16:40:58 +08:00
runtime feat(tools): add Windows support for shell tool_call execution (#3442) 2026-03-13 17:12:16 -04:00
security fix(security): update blocked_commands_basic test after #4338 (#4399) 2026-03-24 15:37:01 +03:00
service fix: use POSIX-compatible sh -c instead of dash-specific -lc (#4209) (#4217) 2026-03-24 15:34:06 +03:00
skillforge chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
skills fix(skills): surface actionable warning when skills are skipped due to script policy (#4383) 2026-03-24 15:34:56 +03:00
sop fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
tools fix(agent): use Gregorian datetime and prioritize date context in prompts (#4369) 2026-03-24 15:37:00 +03:00
tunnel Feat/add pinggy tunnel (#4060) 2026-03-24 15:30:39 +03:00
verifiable_intent feat(verifiable_intent): add native verifiable intent lifecycle module (#2938) 2026-03-24 15:30:40 +03:00
cli_input.rs fix(onboard): make tmux paste safe for text prompts (#4106) 2026-03-24 15:30:44 +03:00
i18n.rs feat(i18n): externalize tool descriptions for translation (#3912) 2026-03-24 15:17:33 +03:00
identity.rs test: cover deterministic HashMap ordering paths 2026-02-18 21:55:40 +08:00
lib.rs fix(onboard): make tmux paste safe for text prompts (#4106) 2026-03-24 15:30:44 +03:00
main.rs feat(status): show service running state in zeroclaw status (#3751) 2026-03-24 15:30:45 +03:00
migration.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
multimodal.rs feat(multimodal): route image messages to dedicated vision provider (#4264) 2026-03-24 15:34:52 +03:00
util.rs feat(hardware): add RPi GPIO, Aardvark I2C/SPI/GPIO, and hardware plugin system (#4125) 2026-03-24 15:30:43 +03:00