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,60 @@
|
||||
# 05 — Code / Domain / Email / Knowledge
|
||||
|
||||
## Git
|
||||
建立 provider adapter:
|
||||
- GitHub
|
||||
- GitLab
|
||||
- Gitea
|
||||
|
||||
统一能力:
|
||||
- account connection
|
||||
- repositories
|
||||
- branches
|
||||
- commits
|
||||
- pull/merge requests
|
||||
- issues(基础)
|
||||
- webhook
|
||||
|
||||
V1 不需要实现 Git hosting,只需要聚合外部 provider。
|
||||
|
||||
## Domain/DNS
|
||||
建立 provider interface:
|
||||
- listZones
|
||||
- listRecords
|
||||
- createRecord
|
||||
- updateRecord
|
||||
- deleteRecord
|
||||
- verify
|
||||
|
||||
Cloudflare 是第一个正式 adapter,Manual 是 fallback。
|
||||
|
||||
DNS 操作必须有 preview + audit。
|
||||
|
||||
## SSL
|
||||
统一 Certificate 模型,provider/adaptor 可插拔。
|
||||
至少支持状态:pending/active/expired/error。
|
||||
|
||||
## Email
|
||||
V1 不做完整 Gmail clone。先实现:
|
||||
- EmailAccount
|
||||
- provider connection
|
||||
- inbox message metadata
|
||||
- send email abstraction
|
||||
- search metadata
|
||||
- attachments metadata
|
||||
|
||||
支持 SMTP/IMAP adapter;Provider OAuth 可后续加入。
|
||||
|
||||
## Knowledge
|
||||
实现:
|
||||
- Note
|
||||
- Document
|
||||
- folder/tree
|
||||
- tags
|
||||
- markdown/rich editor
|
||||
- code block
|
||||
- backlinks/resource links
|
||||
|
||||
TipTap 为默认编辑器。
|
||||
|
||||
重点:Note/Document 可以关联 Project/Resource/Task,成为操作上下文的一部分。
|
||||
Reference in New Issue
Block a user