Repository navigation
Closed
Copy link
Labels
Description
Summary
inference-gateway/cli#1486 moves every generated and retained media dir under one media root, with a subdirectory per kind. The root follows the open project:
- While the CLI runs in a project:
~/.infer/projects/<project-slug>/tmp/media/. The desktop app runs a selected project's sessions there. - With no project open (cwd is
$HOMEor the desktop's~/.infer/workspace):~/.infer/tmp/media/.
| Subdirectory | Holds | Config override |
|---|---|---|
tts/ |
generated speech WAVs | text_to_speech.output_dir |
music/ |
generated music MP3s | text_to_music.output_dir |
sfx/ |
generated sound effects | text_to_sfx.output_dir |
video/ |
generated video MP4s | text_to_video.output_dir |
recordings/ |
RecordStart screen recordings |
computer_use.recording.output_dir |
screenshots/ |
browser and computer-use screenshots | computer_use.screenshot.temp_dir |
voice/ |
retained inbound voice recordings | speech_to_text.recordings_dir |
attachments/ |
retained inbound Telegram photos and videos (was the flat ~/.infer/tmp/media) |
channels.telegram.media.dir |
The CLI repo's own reference is docs/directory-structure.md#media-directories.
Affected pages
cli.md- Userspace tmp tree section and table (the
~/.infer/tmp/{tts,music,sfx,video,voice,media}rows) and the "Existing installs" note computer_use.recording.output_dirsample and table row (~/.infer/tmp/recordings)- TextToSpeech
output_pathdefault (~/.infer/tmp/tts/) text_to_music,text_to_sfx,text_to_videosamples andoutput_dirrows- The
.infer/tmpvs.infer/artifactstable (screenshots now sit in the media root)
- Userspace tmp tree section and table (the
cli-text-to-speech.md-output_dirsample, config table row and "Where files go"cli-text-to-video.md-output_dirsample and config table rowdesktop.md- download button and the TTS output-dir caveat that name~/.infer/tmp/. Align them with the desktop scope change in inference-gateway/desktop once it lands.
Acceptance Criteria
- Every default media path in the affected pages names the media root and its subdirectory, not
~/.infer/tmp/<kind> -
cli.mdexplains the project vs no-project rule for the media root in one place, and the other pages link to it - The Telegram media default reads
attachments/under the media root -
desktop.mdmatches the desktop's asset scope after its follow-up ships
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
refactor(config): group media output under tmp/media, scoped to the o…
edenreich commentedon Oct 2, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Oct 2, 2026
Claude finished @edenreich's task in 16m 52s —— View job •
docs/issue-910-20261002-1903• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-910-20261002-1903?quick_pull=1&title=Issue%20%23910%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23910%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting the per-project media root
docs/directory-structure.md#media-directories)cli.md's "Userspace tmp tree" with a Media directories section - the single place explaining the project vs no-project rulecli.md(recording, screenshot, TTS, music, sfx, video,/reset, the two directory tables, the AG-UI sample path)cli-text-to-speech.md- sample, config row,output_pathdescriptioncli-text-to-video.md- sample and config rowdesktop.md- download button and TTS output-dir caveatbun run lint:md,bun run format:check,bun run buildall passPR: #911
What changed
cli.mdnow has a Media directories section that states the root once -~/.infer/projects/<project-slug>/tmp/media/while the CLI runs in a project (including the desktop's selected project),~/.infer/tmp/media/with none - and tables all eight subdirectories (tts/,music/,sfx/,video/,recordings/,screenshots/,voice/,attachments/) against their config overrides. The Telegram default readsattachments/. Every other default path across the four pages names the media root and its subdirectory and links back to that section; the two old#userspace-tmp-treeanchor references now point at#media-directories.One thing to check
The last acceptance criterion -
desktop.mdmatching the desktop's asset scope - depends on the desktop follow-up that has not landed. I phrased the download button and the TTS output-dir caveat in terms of the media root of the project whose sessions the app runs, which is what the CLI change implies. If the desktop lands a different scope, that caveat needs a second pass.| Branch:
docs/issue-910-20261002-1903inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀