feat: add Google OAuth, remote worker system, and file browser
- Google OAuth login with JWT session cookies, per-user project isolation - Remote worker registration via WebSocket, execute_on_worker/list_workers agent tools - File browser UI in workflow view, file upload/download API - Deploy script switched to local build, added tori.euphon.cloud ingress
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: dev dev-backend dev-frontend build build-backend build-frontend clean deploy clippy lint docker-build
|
||||
.PHONY: dev dev-backend dev-frontend build build-backend build-frontend clean deploy clippy lint docker-build deploy-worker-i7
|
||||
|
||||
# 开发模式:同时启动前后端
|
||||
dev:
|
||||
@@ -36,6 +36,15 @@ clippy:
|
||||
|
||||
lint: clippy
|
||||
|
||||
# Worker 部署
|
||||
deploy-worker-i7:
|
||||
@echo "==> Deploying tori-worker to i7..."
|
||||
ssh i7 "mkdir -p ~/tori-worker ~/.config/systemd/user"
|
||||
scp worker/tori-worker.py i7:~/tori-worker/tori-worker.py
|
||||
scp worker/tori-worker.service i7:~/.config/systemd/user/tori-worker.service
|
||||
ssh i7 "chmod +x ~/tori-worker/tori-worker.py && systemctl --user daemon-reload && systemctl --user enable --now tori-worker"
|
||||
@echo "==> Done! Check status: ssh i7 'systemctl --user status tori-worker'"
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
rm -rf web/dist web/node_modules
|
||||
|
||||
Reference in New Issue
Block a user