DevOS v1 + Phase 2: unified resource model, infra ops, website deployment, AI chat ops

- Monorepo: NestJS API (Fastify) + React web (antd/ProComponents) + shared packages
- PostgreSQL/Prisma (unified resources, relations graph, audit, events, jobs)
- Auth/RBAC/workspace isolation, credential vault (AES-256-GCM)
- Servers/SSH, Docker discovery & lifecycle, Job Center
- Websites & deployments (git provider credential clone, env, health verification)
- Domains/DNS (Cloudflare adapter), certificates (TLS probe), monitoring
- Automation (cron/event/webhook HMAC + notifications), AI Gateway, MCP (29 tools)
- AI chat window (LLM function-calling + rules fallback, SSE streaming, approvals)
- Notes: Vditor WYSIWYG markdown editor, non-blocking autosave
- Tests: 35 unit/security tests; UI audit clean (desktop+mobile, deep links)
This commit is contained in:
phptits
2026-09-10 06:35:55 +00:00
commit 0d6cd37579
209 changed files with 22783 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# 启动 DevOS API(记录 PID)
cd "$(dirname "$0")/.."
if [ -f /tmp/devos-api.pid ]; then kill "$(cat /tmp/devos-api.pid)" 2>/dev/null; sleep 1; fi
PORT=4100 nohup bun apps/api/dist/main.js > /tmp/devos-api.log 2>&1 &
echo $! > /tmp/devos-api.pid
echo "started pid $(cat /tmp/devos-api.pid)"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
# 停止 DevOS API
if [ -f /tmp/devos-api.pid ]; then kill "$(cat /tmp/devos-api.pid)" 2>/dev/null; rm -f /tmp/devos-api.pid; echo stopped; fi