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
This commit is contained in:
Accusys
2026-10-12 10:00:51 +08:00
parent 0a18e70639
commit 63fbbe1225
418 changed files with 44084 additions and 4280 deletions
+4
View File
@@ -6,6 +6,7 @@ pub mod billing;
pub mod cache;
pub mod checkin;
pub mod chunk;
pub mod command;
pub mod config;
pub mod db;
pub mod embedding;
@@ -15,6 +16,7 @@ pub mod file_profile;
pub mod frame_cache;
pub mod health_agent;
pub mod identity;
pub mod init;
pub mod ingestion;
pub mod llm;
pub mod overlay;
@@ -25,6 +27,7 @@ pub mod probe;
pub mod processor;
pub mod progress;
pub mod proxy;
// pub mod replay; // TODO: Fix type mismatch errors
pub mod storage;
pub mod text;
pub mod thumbnail;
@@ -32,3 +35,4 @@ pub mod time;
pub mod tkg;
pub mod tmdb;
pub mod vision;
pub mod vlm;