feat: 新增 Job Worker 系統與 API 文檔全面更新

This commit is contained in:
Warren
2026-03-26 16:16:34 +08:00
parent 80399b1c12
commit 82955504f3
70 changed files with 3460 additions and 376 deletions

14
install_worker_service.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
echo "Installing Momentry Worker as a system service..."
# Copy worker plist to system LaunchDaemons
sudo cp /Users/accusys/momentry_core_0.1/momentry_runtime/plist/com.momentry.worker.plist /Library/LaunchDaemons/
# Load the service
sudo launchctl load /Library/LaunchDaemons/com.momentry.worker.plist
echo "Worker service installed successfully."
echo "Checking service status..."
launchctl list | grep com.momentry.worker || echo "Service not listed in user domain; check system domain."