diff --git a/CHANGELOG.md b/CHANGELOG.md index 326725b..3a7f618 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.2] - 2026-06-12 + +### Added + +- ποΈ **Voice memos.** Record audio memos directly from the "+" menu or ββ§M. Recordings are saved to your workspace as audio files with an auto-generated markdown transcript. Uses a save-first architecture with IndexedDB backup so your recording is never lost, even if the network drops. Transcription is powered by any OpenAI-compatible STT API (Whisper, etc.), configurable in Settings > Audio. +- π **Audio admin settings.** New Audio tab in admin settings with separate controls for enabling voice memos, toggling auto-transcription, and configuring STT credentials (base URL, API key, model). + +### Changed + +- π¨ **Consistent admin input styling.** Standardized all input fields in the Configuration admin panel to match the Browser settings design. Uniform height, background, focus states, and label sizing across all admin tabs. + ## [0.3.1] - 2026-06-12 ### Added diff --git a/cptr/app.py b/cptr/app.py index 53dbea3..52bf426 100644 --- a/cptr/app.py +++ b/cptr/app.py @@ -7,6 +7,7 @@ from cptr.routers import ( admin_router, + audio_router, auth_router, automations_router, bridge_router, @@ -209,6 +210,7 @@ async def get_config(): # Routers app.include_router(admin_router) +app.include_router(audio_router) app.include_router(auth_router) app.include_router(automations_router) app.include_router(bridge_router) diff --git a/cptr/frontend/package.json b/cptr/frontend/package.json index 923b45b..3b44424 100644 --- a/cptr/frontend/package.json +++ b/cptr/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "0.3.1", + "version": "0.3.2", "type": "module", "scripts": { "dev": "vite dev", diff --git a/cptr/frontend/src/lib/components/Admin/AudioSettings.svelte b/cptr/frontend/src/lib/components/Admin/AudioSettings.svelte new file mode 100644 index 0000000..8ae2435 --- /dev/null +++ b/cptr/frontend/src/lib/components/Admin/AudioSettings.svelte @@ -0,0 +1,152 @@ + + +
+ Record voice memos from the "+" menu. +
+ + ++ {transcribeEnabled ? 'Recordings are transcribed to markdown via STT.' : 'Recordings are saved as audio only.'} +
+ ++ {quality === 'high' ? 'Best quality, larger files.' : quality === 'medium' ? 'Balanced quality and size.' : 'Smallest files, optimized for speech.'} +
++ Compatible with OpenAI's audio/transcriptions API. +
+{$t('admin.webAutoHint')}
{:else if provider === 'exa'}