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
+45
View File
@@ -0,0 +1,45 @@
# 01 — Target Scope
DevOS 的目标不是替代每个专业软件,而是建立统一的开发者工作入口。
## 一级能力
- Dashboard
- AI
- Projects
- Infrastructure
- Websites
- Code
- Domains
- Email
- Knowledge
- Tasks
- Automation
- Credentials
- Monitoring
- Audit
- Settings
## 四个核心抽象
```text
Resource → Action → Event → Agent
```
所有业务能力都应该尽可能映射到这四个抽象。
## Developer Workspace
用户进入平台后,应能从 Project 出发看到:
- 代码仓库
- 网站
- 服务器
- 容器
- 数据库
- 域名
- SSL
- 部署
- 监控
- 任务
- 文档
- 自动化
并能从任何资源进入关联资源。