Skip to content

Settings management: manage HF_TOKEN (and future secrets) from CLI + Web UI#20

Merged
nmbrthirteen merged 1 commit into
mainfrom
feat/settings-management
Jun 17, 2026
Merged

Settings management: manage HF_TOKEN (and future secrets) from CLI + Web UI#20
nmbrthirteen merged 1 commit into
mainfrom
feat/settings-management

Conversation

@nmbrthirteen

Copy link
Copy Markdown
Owner

Speaker detection (speaker-aware face tracking) needs HF_TOKEN, previously only settable by editing .env. Adds an extensible settings registry stored in the global .env with atomic, 0600 writes; podcli env list/set/unset; /api/settings + a Secrets section in the Config page; and a manage_env task. Tests included.

Speaker detection (which makes face tracking speaker-aware) needs a HuggingFace
token; until now it could only be set by hand-editing .env. Add an extensible
settings registry stored in the global .env:

- backend/services/env_settings.py: registry + atomic .env read/set/unset (0600),
  preserving comments/other lines; masks secret previews.
- CLI: `podcli env list|set|unset`.
- Studio: GET/POST /api/settings + a "Secrets" section in the Config page.
- manage_env task for the studio/MCP; speaker-detection error now points at the
  new command.
@nmbrthirteen nmbrthirteen merged commit 62733a1 into main Jun 17, 2026
4 checks passed
@nmbrthirteen nmbrthirteen deleted the feat/settings-management branch June 17, 2026 09:02
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