-
Notifications
You must be signed in to change notification settings - Fork 16
[Bug]: STT always reports “WARN: Path outside workspace, rejecting”. #195
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
OpenACP Version
2026.402.5
Messaging Platform
Telegram
AI Agent
opencode
Bug Description
Because Telegram voice attachments are saved by default in ~/.openacp/files, that path is outside the session workspace directory, so access is always denied.
Steps to Reproduce
- Enable TTS feature
- Send a voice message in a Telegram chat.
Expected Behavior
Invoke the message conversion tool to convert the voice attachment into text and send it to the agent.
Logs / Error Output
[10:50:17] INFO: Bypass mode: auto-approving permission {"module":"session-bridge","sessionId":"wAmobthop7go","requestId":"call_L68EdwhfUcuPrCoKRTZ5zo9j","optionId":"once","agentBypass":false,"clientBypass":true}
[10:50:17] INFO (read): enrichWithViewerLinks: extracted file info {"module":"message-transformer","kind":"read","filePath":"/home/codex/.openacp/files/wAmobthop7go/1775184611644-voice.wav","hasOldContent":false}
[10:50:17] WARN: Path outside workspace, rejecting {"module":"viewer-store","filePath":"/home/codex/.openacp/files/wAmobthop7go/1775184611644-voice.wav","workingDirectory":"/home/codex/flutter_web_test"}Configuration
Operating System
Ubuntu 22.04
Node.js Version
v24
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working