Files
ai-worker-platform/static/index.html
T
hz4th_coder 9a95b71631 V2 开发:多 Agent 协作(主管/评审/辩论) + 自动评估体系 + 模板市场 + 企业版(SSO/RBAC/审计/合规)
- agents.py: supervisor/review/debate 三模式编排引擎,步骤流水全记录
- eval.py: eval 数据集 + LLM-as-Judge 评分 + 任务产出自动沉淀 + Worker 排行榜
- templates.py: 任务/项目/团队三类模板,占位符渲染(JSON安全转义),一键应用
- enterprise.py: 用户体系/RBAC、OIDC+LDAP SSO、审计日志、数据导出/保留期/PII脱敏
- db.py: V2 表结构 + 迁移 + 启动恢复(stale running→failed)
- app.py: V2 API 路由 + 登录升级(账号体系)+ 审计钩子
- 前端: 新增多Agent协作/自动评估/模板市场/企业版 4 页面
- Dockerfile: 企业版私有化部署
2026-08-12 12:21:17 +08:00

56 lines
2.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Worker 项目管理平台</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<aside id="sidebar">
<div class="logo">🤖 <span>AI Worker</span><small>项目管理平台</small></div>
<nav>
<a href="#/dashboard" data-route="dashboard">📊 仪表盘</a>
<a href="#/projects" data-route="projects">📁 项目</a>
<a href="#/workers" data-route="workers">🧑‍💻 AI Worker</a>
<a href="#/agents" data-route="agents">🤝 多 Agent 协作</a>
<a href="#/eval" data-route="eval">🎯 自动评估</a>
<a href="#/templates" data-route="templates">🧩 模板市场</a>
<a href="#/reports" data-route="reports">💰 成本报表</a>
<a href="#/logs" data-route="logs">📜 运行日志</a>
<a href="#/alerts" data-route="alerts">🚨 告警中心 <span id="alert-badge" class="badge st-review" style="display:none;float:right">0</span></a>
<a href="#/api" data-route="api">🔌 开放 API</a>
<a href="#/enterprise" data-route="enterprise">🏢 企业版</a>
<a href="#/settings" data-route="settings">⚙️ 通知设置</a>
</nav>
<div class="sidebar-foot">
<div id="conn-state" class="conn ok">● 服务正常</div>
<a href="#" id="logout-btn" class="logout" style="display:none">退出登录</a>
</div>
</aside>
<main id="main"></main>
</div>
<!-- 登录遮罩 -->
<div id="login-mask" style="display:none">
<div class="login-box">
<h2>🤖 AI Worker 项目管理平台</h2>
<p>请输入账号与口令(默认 admin / admin123</p>
<input type="text" id="login-user" placeholder="用户名" value="admin">
<input type="password" id="login-pwd" placeholder="口令">
<button id="login-btn">登 录</button>
<div id="login-err" class="err"></div>
</div>
</div>
<!-- 通用弹窗 -->
<div id="modal-mask" style="display:none">
<div class="modal" id="modal-box"></div>
</div>
<div id="toast-wrap"></div>
<script src="app.js"></script>
</body>
</html>