Commit Graph

3 Commits

Author SHA1 Message Date
Accusys 63fbbe1225 release: v1.3.1 - Pipeline Queue Integration, OCR Fix, Worker Compatibility
Major Changes:
- Pipeline Queue integration completed (internal.file + pipeline.commands)
- Fixed old job_worker database compatibility with new command_queue table
- Compiled Swift OCR binary (was missing, causing empty OCR results)
- Added deep scan functionality through re-scan API

Fixes:
- Changed CommandJob.id from i32 to i64 for database compatibility
- Added UUID generation in create_command (message_id field)
- Fixed claim_pending_commands to query queue_name = 'internal.file'
- Fixed field mappings: command_id → message_id, job_type → command_type
- Added support for 'processing' status in CommandJobStatus

Queue System:
- internal.file queue: for register/unregister/re-scan commands (job_worker)
- pipeline.commands queue: for vectorize/store_asrx/etc commands (pipeline_worker)

Documentation:
- Added comprehensive queue system documentation
- Created M4 workspace status reports
- Updated AGENTS.md with queue system details
2026-10-12 10:00:51 +08:00
Accusys 3ef6ccee7f fix: key_type stored as bare string instead of JSON string
**Problem**:
- key_type stored as "user" (with quotes, len=6)
- Future WHERE key_type = 'user' would silently fail

**Solution**:
- Added ApiKeyType::as_str() method
- Returns bare string: "system", "user", etc.
- handlers.rs:437 now uses as_str() instead of serde_json::to_string()

**Impact**:
- Existing test keys in test DBs can be safely ignored
- Production DB has no api_keys yet
- No code relies on JSON-quoted format
2026-10-05 03:01:42 +08:00
accusys 383201cacd feat: Initial v0.9 release with API Key authentication
## v0.9.20260325_144654

### Features
- API Key Authentication System
- Job Worker System
- V2 Backup Versioning

### Bug Fixes
- get_processor_results_by_job column mapping

Co-authored-by: OpenCode
2026-03-25 14:53:41 +08:00