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:
@@ -0,0 +1,58 @@
|
||||
# 03 — Infrastructure Completion
|
||||
|
||||
## Server
|
||||
完善:
|
||||
- create/edit/delete
|
||||
- connect/disconnect
|
||||
- connection health
|
||||
- OS/kernel/arch
|
||||
- CPU/RAM/disk/network
|
||||
- uptime
|
||||
- running processes摘要
|
||||
- Docker availability
|
||||
- last seen
|
||||
- tags
|
||||
- credentials reference
|
||||
|
||||
## SSH
|
||||
必须:
|
||||
- connect timeout
|
||||
- command timeout
|
||||
- output size limit
|
||||
- stderr separation
|
||||
- exit code
|
||||
- audit log
|
||||
- secret masking
|
||||
- cancellation
|
||||
|
||||
## Docker
|
||||
至少实现:
|
||||
- list containers
|
||||
- inspect
|
||||
- start/stop/restart
|
||||
- logs with tail/follow abstraction
|
||||
- image list
|
||||
- container resource usage
|
||||
- ports
|
||||
- environment key names(禁止返回 secret values)
|
||||
- status/health
|
||||
|
||||
## Jobs
|
||||
所有长任务统一 Job Center:
|
||||
- queued/running/success/failed/cancelled
|
||||
- progress
|
||||
- logs
|
||||
- retry
|
||||
- actor
|
||||
- resource relation
|
||||
|
||||
## Monitoring
|
||||
建立 provider-neutral model:
|
||||
- HTTP health check
|
||||
- TCP check
|
||||
- uptime state
|
||||
- response time
|
||||
- incident
|
||||
- recovery event
|
||||
|
||||
V1 不需要复杂 Prometheus clone,但必须让 Website/Server/Deployment 都能进入统一 monitoring/activity 体系。
|
||||
Reference in New Issue
Block a user