Files
tabtin-architecture/tabtin-architecture.json
T

302 lines
5.6 KiB
JSON

{
"schema_version": 1,
"diagram_type": "architecture",
"meta": {
"title": "TabTin 开源团队 Harness 架构",
"locale": "zh-CN",
"quality_profile": "showcase",
"viewBox": [
1190,
552
]
},
"components": [
{
"id": "desktop",
"type": "frontend",
"label": "Electron 桌面端",
"sublabel": "Windows / macOS",
"pos": [
40,
60
],
"size": [
148,
60
]
},
{
"id": "mobile",
"type": "frontend",
"label": "iOS / Android 客户端",
"sublabel": "换设备继续",
"pos": [
40,
180
],
"size": [
148,
60
]
},
{
"id": "admin",
"type": "security",
"label": "AdminDash 管理后台",
"sublabel": "组织 · 角色 · 额度",
"pos": [
40,
420
],
"size": [
148,
60
]
},
{
"id": "api",
"type": "backend",
"label": "Django API",
"sublabel": "领域对象 · 后台任务",
"pos": [
280,
120
],
"size": [
148,
60
]
},
{
"id": "tenant",
"type": "database",
"label": "组织与权限库",
"sublabel": "租户隔离",
"pos": [
280,
420
],
"size": [
148,
60
]
},
{
"id": "collab",
"type": "backend",
"label": "协作服务",
"sublabel": "群聊 · 项目同步",
"pos": [
520,
60
],
"size": [
148,
60
]
},
{
"id": "runtime",
"type": "backend",
"label": "Agent Runtime",
"sublabel": "编排 · 执行 · 回退",
"pos": [
520,
200
],
"size": [
148,
60
]
},
{
"id": "runs",
"type": "database",
"label": "运行记录与产物",
"sublabel": "状态 · 结果 · 回退点",
"pos": [
520,
420
],
"size": [
148,
60
]
},
{
"id": "surface",
"type": "cloud",
"label": "工作面运行时",
"sublabel": "12 个内置应用",
"pos": [
760,
60
],
"size": [
148,
60
]
},
{
"id": "external",
"type": "external",
"label": "模型与第三方系统",
"sublabel": "LLM · 业务系统",
"pos": [
760,
420
],
"size": [
148,
60
]
},
{
"id": "objects",
"type": "database",
"label": "对象与文档存储",
"sublabel": "文档 · 表格 · 文件",
"pos": [
1000,
60
],
"size": [
148,
60
]
},
{
"id": "skills",
"type": "cloud",
"label": "Skill 应用包",
"sublabel": "48 个官方应用包",
"pos": [
1000,
200
],
"size": [
148,
60
]
}
],
"boundaries": [
{
"kind": "security-group",
"label": "组织 · 权限 · 额度",
"wraps": [
"admin",
"tenant"
],
"pad": 14
}
],
"connections": [
{
"from": "desktop",
"to": "api",
"label": "登录会话"
},
{
"from": "mobile",
"to": "api",
"label": "查看与确认"
},
{
"from": "api",
"to": "collab",
"label": "协作读写"
},
{
"from": "collab",
"to": "runtime",
"label": "消息触发任务",
"labelAt": [
594,
134
]
},
{
"from": "api",
"to": "runtime",
"label": "派发任务",
"variant": "emphasis"
},
{
"from": "runtime",
"to": "surface",
"label": "选用工作面",
"variant": "emphasis"
},
{
"from": "runtime",
"to": "skills",
"label": "装载 Skill"
},
{
"from": "runtime",
"to": "external",
"label": "模型与业务调用",
"variant": "dashed"
},
{
"from": "surface",
"to": "objects",
"label": "对象读写"
},
{
"from": "runtime",
"to": "runs",
"label": "运行留痕",
"labelAt": [
594,
274
]
},
{
"from": "admin",
"to": "tenant",
"label": "权限与额度"
},
{
"from": "api",
"to": "tenant",
"label": "租户与权限校验",
"variant": "security",
"labelAt": [
354,
194
]
}
],
"cards": [
{
"dot": "emerald",
"title": "协作闭环",
"items": [
"Agent 从群消息发现问题、创建任务并 @负责人",
"处理进度与结果自动同步回群聊与项目",
"任务可分享给好友,对方打开即可从原处接着聊"
]
},
{
"dot": "violet",
"title": "工作面与能力",
"items": [
"12 个内置工作面:在线文档、演示、白板、笔记、多维表格、文件、浏览器、任务、邮件、终端、桌面控制、手机控制",
"48 个官方 Skill 应用包可为 Agent 增配能力",
"每个应用既是人直接工作的界面,也是 Agent 可调用的能力入口"
]
},
{
"dot": "amber",
"title": "治理与自托管",
"items": [
"AdminDash 统一管理成员、角色、权限与 AI 额度消耗",
"每次任务运行保留状态与结果,出了问题随时回退",
"Django 服务端与协作服务可私有化部署到自有基础设施"
]
}
]
}