17 Commits

Author SHA1 Message Date
acfba090e4 feat: Introduce Gitea CI/CD workflows, refactor Docker deployment with dedicated dev/prod compose files and enhanced ROCm GPU support, and update RAG documentation for new AI and ASR infrastructure. 2026-01-24 14:50:19 +00:00
796f13b358 feat: Introduce sync error codes, client-side sync notifications, and update gRPC definitions for integration synchronization. 2026-01-18 20:55:43 +00:00
021451aa70 feat: Add AMD ROCm GPU support with new Docker Compose profiles, build configurations, and updated documentation. 2026-01-18 14:01:29 +00:00
3222826ff7 feat: Implement PyTorch and ROCm ASR engines with GPU detection and enhance calendar OAuth integration across client and server. 2026-01-18 12:47:31 +00:00
024781d0f9 chore: upgrade Rust version and migrate pip commands to uv in Dockerfiles
- Upgraded Rust base image from 1.75 to 1.81 in client.Dockerfile
- Replaced python -m pip with uv pip for NER dependency installation in server.Dockerfile
- Updated spaCy model download and verification commands to use uv run python
2026-01-18 01:45:04 -05:00
86d3dfef5c .. 2026-01-16 04:18:41 -05:00
389eba0a95 feat: add GPU-accelerated Docker profiles and optimize gRPC streaming configuration
- Added server-gpu and full-gpu Docker Compose profiles with NVIDIA CUDA support for GPU-accelerated inference
- Created server-gpu.Dockerfile with PyTorch CUDA base image and GPU runtime configuration
- Added compose.gpu.yaml for optional GPU allocation customization (device count, IDs, memory settings)
- Documented GPU setup requirements for Linux (nvidia-container-toolkit), Windows WSL2, and macOS in docker/CLAUDE
2026-01-15 23:45:00 -05:00
04fec933ac feat: enhance summarization and diarization features with memory logging and action item extraction
- Introduced memory snapshot logging to track resource usage during summarization and diarization processes.
- Added action item extraction capabilities from meeting segments, improving the summarization output.
- Refactored summarization and diarization mixins to integrate new logging and extraction functionalities.
- Implemented a bounded audio buffer for streaming diarization to manage memory efficiently.
- Enhanced error handling and diagnostics in summarization and diarization workflows.
2026-01-15 14:43:59 -05:00
1ce24cdf7b feat: reorganize Claude hooks and add RAG documentation structure with error handling policies
- Moved all hookify configuration files from `.claude/` to `.claude/hooks/` subdirectory for better organization
- Added four new blocking hooks to prevent common error handling anti-patterns:
  - `block-broad-exception-handler`: Prevents catching generic `Exception` with only logging
  - `block-datetime-now-fallback`: Blocks returning `datetime.now()` as fallback on parse failures to prevent data corruption
  - `block-default
2026-01-15 15:58:06 +00:00
b423199c5f chore: update dependencies and enhance Dockerfile for server
- Updated `pyproject.toml` to include new optional dependencies for Ollama: `anthropic`, `openai`, and `pywinctl`.
- Modified `compose.yaml` to add a new volume for the server's virtual environment.
- Enhanced the server Dockerfile to install all optional dependencies during the build process, improving flexibility and functionality.

All quality checks pass.
2025-12-31 11:31:13 -05:00
e23c0555e2 chore: update development documentation and dependencies
- Added important notes regarding Docker operations to prevent disruption of the hot-reload server.
- Introduced a section outlining forbidden Docker commands without explicit user permission.
- Refactored `pyproject.toml` to categorize audio-related dependencies under an optional section.
- Updated dependencies for `weasyprint` and `spacy` to their latest versions.
- Adjusted the server Dockerfile to ensure the hot-reload server starts correctly.

All quality checks pass.
2025-12-31 05:29:33 -05:00
e4ccc3828a ? 2025-12-31 03:55:49 -05:00
4e4ca42957 Update client submodule reference and enhance database schema management
- Updated client submodule to the latest commit 2d6f36f for improved integration.
- Modified `schema.sql` to conditionally add constraints for meetings, segments, tasks, integrations, and settings tables, ensuring they are only added if they do not already exist.
- Enhanced recovery service to handle cases where the `diarization_jobs` table may not exist, improving robustness during crash recovery.
- Updated database persistence logic to check for the existence of critical tables and ensure schema readiness, including stamping the Alembic version when necessary.
2025-12-27 14:09:01 -05:00
58ad140f48 Complete Sprint 0: Proto & Schema Foundation
Sprint 0 consolidates all proto schema changes and database migrations
for Sprints 1-6 into a coordinated release.

Infrastructure:
- Add named_entities table migration with updated_at trigger
- Add webhook_configs and webhook_deliveries migrations
- Add httpx dependency for webhooks
- Multi-stage Docker build with NER support (with-ner target)
- Enable depends_on for db service in compose.yaml

Proto schema:
- Add SummarizationOptions message (Sprint 1)
- Add EXPORT_FORMAT_PDF enum value (Sprint 3)
- Add ExtractEntities RPC and messages (Sprint 4)
- Add Calendar RPCs and messages (Sprint 5)
- Proto regeneration script at scripts/regenerate_proto.sh

Tests:
- Add proto compilation tests verifying Sprint 0 messages
- Add feature flag tests with env var parsing
- Add migration structure and trigger tests

Documentation:
- Fix PROTO_CHANGELOG.md CalendarProvider field names
- Update COMPLETION_PLAN.md status to 100%

Client submodule updated with Sprint 0 TypeScript types.
2025-12-26 00:35:14 +00:00
ee12bcd89e Sprint 0: Proto & Schema Foundation
Consolidate proto/DB changes for Sprints 1-6 into coordinated release:

Proto Schema (Increment 0a):
- Add SummarizationOptions message with tone/format/verbosity fields
- Add EXPORT_FORMAT_PDF = 3 to ExportFormat enum
- Add NER messages: ExtractEntitiesRequest/Response, ExtractedEntity
- Add Calendar messages: CalendarEvent, ListCalendarEvents, CalendarProvider
- Add RPCs: ExtractEntities, ListCalendarEvents, GetCalendarProviders,
  InitiateCalendarAuth, CompleteCalendarAuth
- Regenerate Python proto stubs

Database Schema (Increment 0b):
- Add named_entities table for NER storage
- Add webhook_configs and webhook_deliveries tables

Migrations & ORM (Increment 0c):
- Create migration h2c3d4e5f6g7 for named_entities
- Create migration i3d4e5f6g7h8 for webhook tables
- Add NamedEntityModel, WebhookConfigModel, WebhookDeliveryModel
- Update MeetingModel and WorkspaceModel relationships

Dependencies & Config (Increment 0d):
- Add optional deps: pdf (weasyprint), ner (spacy), calendar (google-api)
- Add FeatureFlags class with NOTEFLOW_FEATURE_ env prefix
- Add models CLI for ML model downloads (spacy)
- Update CLI dispatcher for retention/models subcommands
- Create PROTO_CHANGELOG.md

Quality Fixes:
- Add ORM model names to ALLOWED_STRINGS in test_magic_values.py
- Add assertion messages to fix assertion roulette tests

Updates client submodule to c1783f8.
2025-12-25 14:48:37 -05:00
6fa792990b Enhance summarization model attributes and database schema
- Updated the Summary entity to include provider and model names, along with tokens used and latency metrics for better tracking of summarization performance.
- Modified the ORM converters and repository methods to accommodate new attributes, ensuring backward compatibility.
- Introduced word timing position indexing to maintain order within summaries.
- Added a new SQLAlchemy model structure for improved organization of persistence layers, including core, identity, and integration models.
- Removed deprecated models and files to streamline the codebase.
2025-12-25 13:46:00 -05:00
7f82e5f944 Update Docker configuration and enhance project dependencies
- Updated .dockerignore to include additional cache and environment files, improving build efficiency.
- Changed the Dockerfile reference in compose.yaml to point to the new server-specific Dockerfile.
- Added `diart` as a dependency in pyproject.toml and uv.lock to support enhanced diarization features.
- Created a new server.Dockerfile for a streamlined development environment setup with necessary dependencies.
2025-12-20 16:01:30 -05:00