Skip to content

chore: keep online playback and suggestions to the desktop app - #19

Merged
amiralibg merged 1 commit into
mainfrom
chore/streaming-app-only
Nov 2, 2026
Merged

amiralibg merged 1 commit into
mainfrom
chore/streaming-app-only

Conversation

@amiralibg

Copy link
Copy Markdown
Owner

Summary

 stream.enabled()
-  UNSTREAM_STREAMING override, else UNSTREAM_DESKTOP
+  UNSTREAM_DESKTOP only

 GET /api/recommend
+  404 unless stream.enabled()

The READMEs also get a shorter desktop feature list, and the API table loses the two desktop-only playback rows. .env.example and docs/DESIGN.md drop the removed setting.

Evidence

  • Before: GET /api/recommend on the hosted site answers 200.
    After: a new test asserts 404 for GET and HEAD /api/stream and GET /api/recommend with UNSTREAM_STREAMING=1 and no UNSTREAM_DESKTOP. Full backend suite: 184 passed.

Merge Danger

Door: two-way

Blast Radius: self-hosters

A self-hosted server that set UNSTREAM_STREAMING=true loses /api/stream. The desktop app sets UNSTREAM_DESKTOP, so it behaves as before.

🤖 Generated with Claude Code

/api/stream had an env override and /api/recommend had no gate at all, so
both could run on a hosted instance. Both now depend only on the desktop
launcher's UNSTREAM_DESKTOP. Also shortens the desktop feature list and API
table in the READMEs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amiralibg
amiralibg merged commit 29f2d04 into main Nov 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant