Spaces:
Paused
Paused
Commit History
-
fix: 对齐注册轮转链路和 CloudMail 配置提示
5aff1af
-
feat: AutoTeam 大版本升级:安全轮换、并行、IPv6、指纹加固与前端重构
- 安全轮换逻辑:先踢人再换人,降低轮转冲突和失败回弹 - 并行能力:同步、注册与目标分发链路并发化,整体吞吐更高 - IPv6 支持:接入 IPv6 代理池与状态面,扩展可用出口 - 更安全的指纹:统一浏览器上下文与启动/会话参数,减少特征暴露 - 轮转增强:速度与安全性双提升,轮转后凭证即时同步到配置目标 - 更好的前端:Dashboard / Settings / Sync / Task 视图全面重构,实时性、信息密度和可读性提升 - 同步与诊断:统一 sync_targets 分发层,增强主号、注册和轮转后的诊断与目标同步1f4cfcb
-
feat(round-12 F2+F3): rotate progress SSE + refresh polish + settings cleanup
后端: - /api/rotate/stream FastAPI StreamingResponse SSE 端点,订阅 S1 default_machine.subscribe 事件总线,把 transition 序列化为 data: {email, from, to, reason, ts, extra}\n\n - _build_sse_event_stream(machine, heartbeat_seconds=15) 抽出可单测的 sync generator;queue.SimpleQueue 中转 callback → generator,线程安全; try/finally 确保 generator 关闭时 unsubscribe (无订阅泄漏) - 心跳:queue.get(timeout=15) 触发 ': heartbeat\n\n' 注释行 - response headers: Cache-Control: no-cache + X-Accel-Buffering: no - 5 个单测覆盖:retry/connected 头、data event payload、heartbeat、 generator close → unsubscribe、extra 字段透传 前端: - web/src/composables/useRotateStream.js 新建,EventSource 包装, 暴露 events (max 50, 倒序) + isConnected + connect/disconnect + onTransition(cb);连续 5 次重连失败后 stop - useStatus.js 新增 useStatusQuery (vue-query 30s polling + refetchOnWindowFocus + keepPreviousData) + useStatusInvalidator (SSE event → invalidateQueries(['status']));原 21 套 utility 函数全保留,21 个组件 import 不破 - TaskPanel.vue 集成实时进度折叠面板:Activity/Check/AlertTriangle Luci…5db48a2 -
feat(round-12 F1): bright theme + lucide + vue-query
- tailwind.config.js 重写为 AutoTeam Bright v1: ink palette → 中性灰阶, 新增 canvas/surface/hairline 语义 token,boxShadow glow-* → 轻盈 elevation - style.css 翻转: body bg → #fafafa,.glass/.glass-soft → 白卡 1px hairline, .shimmer-bg/.row-hoverable/scrollbar/focus-ring 全部明亮化 - 加 §Compat 兼容层 (style.css @layer utilities) 一次性翻转旧深色 utility (text-white/text-gray-X/bg-white|black/[X]/bg-gray-700~900/border-white/[X]/ text-{tone}-200~300),避免逐文件改 21 套类名 - main.js 接入 @tanstack/vue-query: refetchOnWindowFocus + staleTime 30s - App.vue 主区域包 <Transition mode="out-in" name="page"> 120-180ms ease-out - emoji → lucide-vue-next: Sidebar (8 nav + RefreshCw + LogOut) / TaskPanel (9 actions: RotateCw/ChartPie/Plus/Coins/UserPlus/Brush/ RefreshCw/Download/Users) / UsabilityCell (CircleCheck/TriangleAlert/ Hourglass/CircleX) - AtButton primary/danger 渐变改用 .text-on-accent 绕过 §Compat 翻转, 保留白前景;secondary/ghost 改用 ink-* 灰阶 - TaskPanel actionColorClass 改 Bright v1 浅 tone (bg-{tone}-50) - HealthDonut 背景圈 stroke 改…2204456
-
feat(round-9): GRACE 状态机 + retroactive helper 5 触发点 + 前端 UI/UX 美化整套
修复 Round 8 留下的 retroactive 触发点空洞 + grace period 配额损失问题: 研究证实母号 b328bd37 处于 cancel_at_period_end 状态(grace 期至 2026-05-25T12:06:23Z), 4 个 xsuuhfn wham=200 plan=team 仍可用,Round 8 spec "立刻标 standby" 会损失配额。 状态错误根因:_reconcile_master_degraded_subaccounts 只挂 cmd_reconcile,server 重启 / sync / 巡检都不触发 retroactive 重分类。 Approach B — STATUS_DEGRADED_GRACE 状态机 + 5 触发点 helper + 前端 UI/UX 重做: 后端(B1~B5) - accounts.py 新增 STATUS_DEGRADED_GRACE 状态 + grace_until 字段持久化 - master_health.py 新增 extract_grace_until_from_jwt() 解析 subscription_active_until - master_health.py 新增 _apply_master_degraded_classification helper(永不抛、永不被 KICK) - 5 retroactive 触发点接入(RT-1 lifespan / RT-2 _auto_check_loop / RT-3 reconcile_team / RT-4 sync_account_states / RT-5 cmd_rotate)+ 现有 cmd_reconcile RT-6 - api.py /api/admin/master-health 三层 try/except 兜底,任何场景永不 5xx(M-I1 守恒) - api.py:fill_*_task Team 分支补 master probe 503 fail-fast(对称 personal,Round 8 P1-1) 前端(F1~F6)— 9 新组件 + 11 重写 - F1 实际可用列(UsabilityCell.vue):基于 status + last_quota + …395e9dc -
feat(round-8): master 订阅探针 + OAuth Personal Workspace 显式选 + 5 次重试
修复两层耦合根因(母号 ChatGPT Team 订阅过期 + OAuth sticky default_workspace_id): 研究证实根因不是 OpenAI sticky-rejoin,而是 auth.openai.com 的 default_workspace_id 不随 ChatGPT DELETE user 联动,导致 personal OAuth 默认仍颁 plan_type=team token。 sleep(8) 等再久也无意义。28 条 register_failures plan_drift 来源于此。 Approach A 全栈三层 + 边缘清理: L1 — master subscription 探针(src/autoteam/master_health.py 新模块) - is_master_subscription_healthy() 三层探针:eligible_for_auto_reactivation(主) + plan_type 反推(corroborating) + /settings.plan(safety net) - 5min cache schema_version=1,落 accounts/.master_health_cache.json - 7 类返回(healthy / degraded / cancelled / network_error / ...) - /api/admin/diagnose 嵌入 master_subscription_state + 新增 /api/admin/master-health L2 — OAuth Personal Workspace 显式选号(src/autoteam/oauth_workspace.py 新模块) - decode/select/UI fallback/ensure 四件套:HTTP POST workspace/select 主路径 + Playwright UI fallback(401 自动降级),覆盖 oai-oauth-session 解码场景 - codex_auth.py login_codex_via_browser(use_personal=True) consent loop 后调 ensure_personal…e6cc775
-
feat: AutoTeam-F — fork of cnitlrt/AutoTeam with fixes and free-account pipeline
New features: - Personal account batch production (fill-personal) with baseline protection — preserves existing Team seats, caps total Team members at 4 - Soft task cancellation via cancel_signal module (cooperative, safe boundaries) - Register failure classification + persistence (register_failures.json) - Admin diagnose + fix-account-id endpoints for session/workspace debugging - Batch account deletion in Web UI (shared chatgpt_api + mail_client) - Runtime domain config switching (runtime_config.py) Fixes: - Correct account_id resolution on session_token import /backend-api/accounts is now the authoritative source; /settings double-checks - Skip step-0 ChatGPT pre-login in personal OAuth mode (fixes "Operation timed out") - Password generator produces 15-17 chars (OpenAI requires 12+) - cancel_signal reset ordering in _run_task prevents swallowed cancellations - Batch operations use dynamic timeout via run_with_timeout(timeout, func) - fill-personal fail-fast on 3 consecutive 40…3df0958
-
refactor: 拆分操作页面并修复轮转补位逻辑
Co-authored-by: Claude <noreply@anthropic.com>a6cca4c -
feat: 支持从 CPA 反向同步认证文件到本地
Co-authored-by: Claude <noreply@anthropic.com>2ddc3ee
-
feat: 新增「同步账号」按钮,从 auths 目录和 Team 成员同步到 accounts.json
- 新增 POST /api/sync/accounts 端点 - 操作面板新增「同步账号」按钮 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>8e8726e -
fix: 未登录提示改为明确指向「设置」页
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>0c70a3a
-
feat: 支持管理员交互式登录与主号 Codex 同步
BestLemoon40b21ae
-
feat: 添加 Vue 3 Web 管理面板,内嵌到 FastAPI
- Dashboard: 账号统计卡片 + 状态表格(实时额度、颜色标签) - 操作面板: 轮转/检查/补满/添加/清理/同步,后台任务提交 - 任务历史: 任务列表、状态跟踪、耗时统计 - 技术栈: Vue 3 + Vite + Tailwind CSS - 构建产物内嵌 FastAPI,autoteam api 一个命令同时启动前后端 - 深色主题,响应式布局 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>4283ada