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
+14
View File
@@ -0,0 +1,14 @@
PORT=4100
HOST=0.0.0.0
APP_SECRET=change-me-to-a-long-random-secret
ENCRYPTION_KEY=change-me-64-hex-chars-32-bytes-0000000000000000000000000000000000
DATABASE_URL=postgresql://devos:devos@127.0.0.1:15432/devos
REDIS_URL=redis://127.0.0.1:16379
SEED_ADMIN_EMAIL=admin@devos.local
SEED_ADMIN_PASSWORD=Devos12345!
# ── AI 功能(Notes AI 助手 / AI Gateway 规划器)──
# 任意 OpenAI 兼容端点;配置后重启生效
# AI_PROVIDER_BASE_URL=https://api.openai.com/v1
# AI_PROVIDER_API_KEY=sk-xxx
# AI_PROVIDER_MODEL=gpt-4o-mini