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:
@@ -197,6 +197,24 @@ pub enum Commands {
|
||||
/// JSON arguments for the tool (e.g. '{"query": "batman"}')
|
||||
args: String,
|
||||
},
|
||||
/// 安裝後初始化:修復配置、建立目錄、驗證環境
|
||||
Init {
|
||||
/// 跳過數據庫初始化
|
||||
#[arg(long)]
|
||||
skip_db: bool,
|
||||
/// 跳過服務依賴預檢
|
||||
#[arg(long)]
|
||||
skip_deps: bool,
|
||||
/// 覆蓋已有配置
|
||||
#[arg(long)]
|
||||
force: bool,
|
||||
/// 掃描目錄路徑
|
||||
#[arg(long)]
|
||||
scan_dir: Option<String>,
|
||||
/// 靜默模式
|
||||
#[arg(long, short)]
|
||||
quiet: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(clap::ValueEnum, Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user