Commit Graph

86 Commits

Author SHA1 Message Date
cogwheel0
d38e986d7c feat(callkit): Add CallKit service for native call UI and permissions 2025-11-24 12:29:44 +05:30
cogwheel0
f1f241ea88 chore: bump version to 2.2.4 2025-11-21 21:26:34 +05:30
cogwheel0
3daa3efa59 chore: bump version to 2.2.3 2025-11-13 13:13:46 +05:30
cogwheel0
86f74ee7a3 chore: downgrade version to 2.2.2+42 2025-11-13 13:13:35 +05:30
cogwheel0
bc61126858 chore: bump version to 2.2.3 2025-11-13 13:05:09 +05:30
cogwheel0
f885513a89 feat(voice): Improve voice input service with locale handling and permission checks 2025-11-13 12:21:59 +05:30
cogwheel0
01c373e2bc chore: bump version to 2.2.2 2025-11-12 23:43:13 +05:30
cogwheel0
62c9243e34 feat: Replace mic_stream_recorder with vad and update iOS deployment target 2025-11-10 01:57:28 +05:30
cogwheel0
f2bd0fa45c chore: bump version to 2.2.1 2025-11-05 15:09:36 +05:30
cogwheel0
46731486e1 chore: bump version to 2.2.0 2025-11-05 01:06:34 +05:30
cogwheel0
a3b5c4f5b7 feat(audio): replace record package with mic_stream_recorder 2025-11-05 00:09:35 +05:30
cogwheel0
d4f0f050ac chore: bump version to 2.1.14 2025-10-31 23:26:49 +05:30
cogwheel0
5d33e5fe65 fix: server side tts on ios 2025-10-31 23:20:04 +05:30
cogwheel0
041c6d0df5 chore: bump version to 2.1.13 2025-10-30 23:15:05 +05:30
cogwheel0
b3dea14e7c chore: bump version to 2.1.12 2025-10-26 23:22:46 +05:30
cogwheel0
38535cccb1 chore: bump version to 2.1.11 2025-10-25 15:14:48 +05:30
cogwheel0
054597f9ae chore: revert version to 2.1.10+35 and update build_runner command in GitHub Actions workflow 2025-10-25 15:14:41 +05:30
cogwheel0
0d0f4325a7 chore: bump version to 2.1.11 2025-10-25 15:05:57 +05:30
cogwheel0
116db92ac4 chore: downgrade version to 2.1.10+35 2025-10-25 15:05:43 +05:30
cogwheel0
0957e14f8b chore: bump version to 2.1.11 2025-10-25 14:52:17 +05:30
cogwheel0
1fe4a2db26 chore: bump version to 2.1.10 2025-10-24 12:29:00 +05:30
cogwheel0
e98f0e05b2 chore: bump version to 2.1.9 2025-10-24 01:18:48 +05:30
cogwheel0
0df4b4f050 feat(ui): support authenticated image loading with cache manager
Add Riverpod-aware image header and cache manager support for network
images used in avatar and markdown widgets. Convert AvatarImage to a
ConsumerWidget and read a self-signed cache manager and HTTP headers
from Riverpod so CachedNetworkImage can send auth/custom headers and use
the provided cache manager. In Markdown image builder, obtain headers
and cache manager from a ProviderContainer (via ProviderScope.containerOf)
to enable the same authenticated loading in non-consumer contexts.

Introduce image_header_utils.dart to centralize building Authorization
and custom headers from auth/api providers, with helpers for Ref,
WidgetRef, and ProviderContainer. Add dependency adjustments in
pubspec.lock for flutter_cache_manager and http marked as direct main.

These changes ensure protected images (self-signed or auth-required)
load correctly across the app and reuse the configured cache manager.
2025-10-23 17:36:31 +05:30
cogwheel0
561e7dd616 feat(tts): server-backed TTS engine selection
Introduce server TTS support and engine selection while keeping
device TTS as the default.

- Add new persistence keys for storing TTS engine and selected
  server voice (ttsEngine, ttsServerVoiceId, ttsServerVoiceName).
- Extend TextToSpeechService to support two engines:
  TtsEngine.device (FlutterTts) and TtsEngine.server (remote audio).
- Wire in an AudioPlayer and optional ApiService to fetch raw
  audio bytes from the server and play them, with event hooks
  mapped to existing lifecycle callbacks.
- Implement fallback to device TTS on server errors or empty
  responses, and ensure player lifecycle (pause/stop/dispose)
  is handled when using server engine.
- Allow engine and preferred voice to be configured before
  initialization and updated at runtime via updateSettings.

This enables selecting a server-side voice and using a remote
TTS provider while preserving compatibility with the existing
device TTS implementation.
2025-10-23 16:31:15 +05:30
cogwheel0
fba10ef43a chore: bump version to 2.1.8 2025-10-21 00:54:39 +05:30
cogwheel0
321c91c0bc chore: bump version to 2.1.7 2025-10-19 23:42:24 +05:30
cogwheel0
2f8fd97022 refactor: Enhance file attachment handling and UI components
- Updated the file attachment service to utilize a new LocalAttachment class, improving the management of file metadata such as display names.
- Refactored methods for picking and uploading files to accommodate the new LocalAttachment structure, ensuring consistent handling of file attributes.
- Improved the chat page to validate and manage file attachments more effectively, enhancing user experience during file uploads.
- Added functionality for image previews in the file attachment widget, allowing users to see selected images before sending.
- Introduced a remove button for attachments, improving usability by enabling users to easily discard unwanted files.
2025-10-19 13:50:54 +05:30
cogwheel0
bc06988622 chore: bump version to 2.1.6 2025-10-16 23:51:34 +05:30
cogwheel0
3455431786 chore: bump version to 2.1.5 2025-10-16 23:06:55 +05:30
cogwheel0
893d8445f2 chore: bump version to 2.1.4 2025-10-16 11:45:55 +05:30
cogwheel0
f8c823dea4 chore: bump version to 2.1.3 2025-10-11 16:17:55 +05:30
cogwheel0
e166a05af1 chore: bump version to 2.1.2 2025-10-11 14:55:40 +05:30
cogwheel0
c1059e90d5 chore: bump version to 2.1.1 2025-10-11 13:54:32 +05:30
cogwheel0
3d45154182 chore: bump version to 2.1.0 2025-10-11 13:31:38 +05:30
cogwheel0
052a68e3b6 chore: update dependencies and enhance connectivity service
- Added `connectivity_plus` dependency to manage network connectivity status.
- Updated `pubspec.yaml` to include the new dependency version.
- Enhanced `ConnectivityService` to utilize `connectivity_plus` for improved connectivity monitoring and handling.
- Refactored connectivity checks and state management for better performance and reliability.
2025-10-09 00:45:00 +05:30
cogwheel0
e98f5cbf0f feat: integrate flutter_local_notifications for enhanced voice call notifications
- Added flutter_local_notifications dependency to manage notifications during voice calls.
- Implemented notification handling in VoiceCallService to update call status and manage user interactions.
- Enabled wake lock functionality to keep the screen on during calls and prevent audio interruptions.
- Updated AndroidManifest.xml to include necessary permissions for Bluetooth and foreground services.
- Enhanced notification actions to allow users to mute, unmute, or end calls directly from notifications.
2025-10-09 00:01:35 +05:30
cogwheel0
e78ddbd394 chore: bump version to 2.0.3 2025-10-06 00:16:12 +05:30
cogwheel0
8b06d5a179 chore: bump version to 2.0.2 2025-10-05 12:40:28 +05:30
cogwheel0
980f6b0910 chore: bump version to 2.0.1 2025-10-05 02:51:19 +05:30
cogwheel0
37682366ff chore: bump version to 2.0.0 2025-10-05 01:12:42 +05:30
cogwheel0
3695b01232 refactor: update splash screen colors and remove Weblate configuration
- Changed the dark splash screen color in pubspec.yaml and styles.xml to #0B0E14 for better aesthetics.
- Removed the weblate.yaml file to streamline localization management and eliminate unused configurations.
- Updated background images for night mode in Android and iOS to ensure consistency across platforms.
2025-10-05 01:07:05 +05:30
cogwheel0
f4e4e86c38 refactor: remove flutter_highlight dependency and enhance code block styling
- Removed flutter_highlight as a dependency to streamline the codebase.
- Updated CodeBlockHeader to improve styling based on the current theme, enhancing visual consistency.
- Adjusted code block background and text colors to match GitHub/Atom themes for better readability.
- Refactored markdown processing logic to eliminate reliance on deprecated highlight features, improving maintainability.
2025-10-04 23:31:42 +05:30
cogwheel0
a4319a1d9e refactor: update markdown dependencies and enhance rendering capabilities
- Added flutter_markdown_plus as a new dependency for improved markdown rendering.
- Removed deprecated markdown_widget and related LaTeX handling, streamlining the codebase.
- Updated the ConduitMarkdown class to utilize the new markdown processing logic, enhancing maintainability.
- Improved the StreamingMarkdownWidget to leverage the updated markdown rendering methods, ensuring a cohesive user experience.
- Enhanced support for LaTeX and Mermaid diagrams within markdown content, providing better visual representation.
2025-10-04 23:05:03 +05:30
cogwheel0
e04b43949b refactor: migrate to flutter_math_fork and markdown_widget for enhanced markdown capabilities
- Replaced flutter_markdown_plus with flutter_math_fork to improve mathematical rendering within markdown content.
- Integrated markdown_widget for better markdown processing and rendering, enhancing overall user experience.
- Updated the markdown configuration to utilize the new packages, ensuring maintainability and adaptability of markdown features.
- Refactored the streaming markdown widget to accommodate the new markdown processing logic, improving code clarity and performance.
2025-10-04 13:37:47 +05:30
cogwheel0
141ee80097 refactor: migrate to flutter_markdown_plus for enhanced markdown support
- Replaced the gpt_markdown package with flutter_markdown_plus to improve markdown rendering capabilities.
- Updated the markdown configuration to utilize the new package, enhancing the overall maintainability and adaptability of markdown features.
- Adjusted the streaming markdown widget to integrate with the new markdown body implementation, ensuring a cohesive user experience.
- Removed deprecated builders and streamlined the code for better clarity and performance.
2025-10-03 14:53:50 +05:30
cogwheel0
64aef97913 feat: mermaid parsing 2025-10-02 20:21:21 +05:30
cogwheel0
4b5d987a19 Revert "refactor: optimize renderer"
This reverts commit 0081d56703.
2025-10-02 15:21:44 +05:30
cogwheel0
0081d56703 refactor: optimize renderer 2025-10-02 14:41:17 +05:30
cogwheel0
7a880b507c refactor: rendered 2025-10-02 13:52:28 +05:30
cogwheel0
80129c5711 chore: integrate Hive for local storage management
- Added `hive_ce` and `hive_ce_flutter` dependencies for enhanced local storage capabilities.
- Refactored the main application to initialize Hive and migrate existing data.
- Updated storage service implementations to utilize Hive for managing application settings and task queues.
- Removed the deprecated `StorageService` class to streamline the codebase and improve maintainability.
2025-10-01 16:55:44 +05:30