Releases: Sskift/AvatarTHU
Release list
AvatarTHU v0.2.0-alpha.8 · Go native
每份作业现在只使用一个审阅云文档。后续修改更新同一链接,继续保留全部独立复审记录、本地产物版本和当前卡片的提交校验。更新请求超时后会先核对云端内容,不会再创建一份重复文档。
实验报告提示词也已收紧:直接写使用步骤、算法和实际结果,省去版本号、开发环境、打包介绍及多余注释。
Each assignment now reuses one cloud review document across revisions. The URL stays the same, independent review history remains in the document, and local artifact versions and current-card submission checks are preserved. An interrupted update checks the existing cloud content instead of creating a duplicate document.
Report instructions now focus on usage, implementation and observed results, without version lists, packaging explanations or unnecessary comments.
Validated with go test ./..., go vet ./..., and native CI on macOS, Windows and Linux. Native Go binaries are provided for both supported architectures on all three platforms.
AvatarTHU v0.2.0-alpha.7 · Go native
主写与复审现在可以分别选择 Codex 或 Claude,支持全部四种组合。macOS 菜单栏提供两个独立选择入口,也可以通过命令行配置:
avatarthu configure --writer claude --reviewer codex
avatarthu configure --reviewer claude- 每个阶段仍使用新进程、新会话和独立目录,沿用各 CLI 的默认模型。
- 未选用的 CLI 缺失、未登录或额度异常,不再阻止当前分工执行。
- 修改从下一版作业生效;正在执行或恢复的版本保留原有分工。旧版
--mode命令与配置继续兼容。 - 复审区分实际产物问题与执行环境限制,保留具体检查和限制说明。
- 中英文 README 及可复制给 Agent 的安装提示词已同步更新。
Writer and reviewer harnesses can now be chosen independently from Codex and Claude, with all four combinations supported. The macOS menu includes separate selectors.
Each stage continues to use a fresh process, session and working directory with its CLI's default model. An unused CLI no longer blocks work. Changes apply to the next revision; active revisions keep their saved assignments. Legacy --mode configuration remains compatible. Review instructions distinguish actual deliverable defects from execution-environment limitations. Both READMEs and the copyable agent setup prompt have been updated.
Native Go binaries for macOS, Windows and Linux; no Python or Go runtime installation required. For macOS, keep AvatarTHU.app beside the extracted binary and run init to install the menu bar as well. Existing data and configuration are preserved.
Also fixes temporary Windows file-sharing conflicts when reading and replacing health/state JSON files, while preserving unchanged legacy file bytes. Validation passed on macOS, Windows and Linux, including race tests, static analysis, native builds and clean installation checks.
AvatarTHU v0.2.0-alpha.6 · health checks and Feishu recovery
Feishu listeners now report actionable errors instead of showing an indefinite reconnecting state. The daemon also reports a missed heartbeat or overdue processing stage while allowing normal long model runs.
- Show connection conflicts, authentication, permissions and CLI compatibility errors in the macOS menu and
avatarthu status, including failure count and next retry. - Back off temporary connection failures up to 15 minutes; add
avatarthu reconnect larkand a menu action that reconnect only AvatarTHU listeners. - Pin a separate Feishu application with
avatarthu login lark --profile NAME, without changing the global Lark CLI profile. Fix first-login command domains and bare identity response parsing. - Add
avatarthu resend TASK_IDto send the current review card and latest document again. Preserve old receipts and frozen artifacts; pending retries reuse the send intent. The replacement card becomes the current approval card. - Keep school keepalive at 10 minutes and course polling at the configured interval. Track daemon heartbeats and stage deadlines without restarting or resubmitting work automatically.
Validation: macOS, Windows and Linux native checks passed, including race tests, vet, native menu snapshots, fake CLI disconnect/reconnect, profile login and resend recovery. Real homework uploads were not used for validation.
飞书监听现在会显示具体异常,不再长期只提示“重连中”。新增错误详情、退避重试、菜单栏重连入口,以及独立的 Lark CLI profile 选择;同时修复首次登录的返回格式和授权域问题。新增当前版本作业卡片补发命令,保留历史回执和原始产物,防止失败重试重复发卡。后台心跳和阶段期限可识别失联或卡住,正常长时间写作和复审不误报;网络学堂仍每 10 分钟保活,提交仍需本人操作当前版本卡片。
AvatarTHU v0.2.0-alpha.5 · revision review and recovery
本版改动
- 从第二版审阅文档起,前部显示逐条修改说明、未解决事项、上版入口与产物附件,以及冻结文件的真实差异。支持文本、代码和 ZIP 包内文件;长对照收进附件,正文保留短预览。本地 HTML 和飞书文档共用内容生成逻辑。
- 菜单栏显示主写/复审分工。切换设置时,正在执行的版本与后续版本的分工分别显示;各 CLI 继续使用自己的默认模型。
- Claude / Codex 最近执行错误直接显示在指示灯和错误详情中。本地登录检查通过不会覆盖额度、权限等实际执行异常。
- 登录、额度、版本、权限和配置问题暂停自动重试;网络和超时错误保留 15 分钟重试。可从菜单点击“检查并恢复”,或运行
avatarthu retry --tool claude|codex,从已完成阶段继续。 - 恢复只排队失败的主写/复审任务,不上传作业、不重试结果未知的提交。历史复审输入隔离、当前版本卡片确认及文件哈希校验保持有效。
验证:Go 测试与静态检查、原生菜单栏快照、冻结文件对照和复审隔离测试、恢复时不触发上传的模拟测试,以及官方 Lark CLI 的本地文档解析。
Changes
- Revision 2 and later include responses to feedback, unresolved items, previous-version links and attachments, and actual differences between frozen deliverables. Text, code, and ZIP members are supported; longer comparisons are attached with short inline previews.
- The macOS menu shows writer/reviewer roles, distinguishing an active version's saved pairing from the setting for future versions. Each CLI keeps its default model.
- Recent Claude/Codex execution errors remain visible even when local authentication checks pass.
- Authentication, quota, version, permission, and configuration errors pause automatic retries. Temporary network errors retry after 15 minutes. Use the menu's check-and-resume action or
avatarthu retry --tool claude|codexto resume completed-stage checkpoints. - Recovery only queues failed writing/review work. It never uploads homework or retries an unknown submission outcome. Reviewer isolation and current-version card authorization remain in place.
AvatarTHU v0.2.0-alpha.4 · macOS status indicators
macOS 菜单栏改为微缩校徽,并将四项服务状态分别显示。
- 顶栏使用适配深浅色外观的单色校徽,保留待审阅数量,移除状态圆点。
- 下拉菜单为 Lark CLI、Learn(网络学堂)、Claude、Codex 各提供指示灯与状态文字;悬停可查看检查详情。
- Claude / Codex 每 5 分钟检查本地版本、登录和命令兼容性,可手动刷新。检查在后台执行,不发送模型请求;过期记录不会持续显示绿色。
- 保留原有后台启停、10 分钟保活、12 小时课程轮询、飞书审阅和回调功能。
升级:解压完整 macOS 发布包,保留 AvatarTHU.app 与 avatarthu 在同一目录,运行 ./avatarthu init --no-login --no-start,然后运行 avatarthu menubar start。已有课程、登录与作业数据保留。
The macOS menu bar now uses a miniature university seal and separate service indicators.
- A monochrome seal adapts to light and dark appearances. The pending review count remains; the menu bar status dot is removed.
- Separate indicators and text for Lark CLI, Learn, Claude, and Codex, with diagnostic details on hover.
- Local CLI version, authentication, and compatibility checks run asynchronously at most every 5 minutes, with manual refresh. No model inference requests are made; stale records are not shown as healthy.
- Existing daemon controls, 10-minute keepalive, 12-hour polling, Feishu reviews, and callbacks are preserved.
To upgrade, extract the complete macOS archive, keep AvatarTHU.app beside avatarthu, run ./avatarthu init --no-login --no-start, then avatarthu menubar start. Existing courses, sessions, and assignments are preserved.
AvatarTHU v0.2.0-alpha.3 · macOS menu bar
Fixes a macOS restart race: service stop now waits for the old LaunchAgent to finish exiting before returning, so an immediate service start reliably starts the daemon. Consecutive stop/start operations were verified locally.
修复 macOS 连续停止、启动时的短暂误判:停止命令现在等待旧服务退出后再返回。菜单栏监控及跨平台功能均保留。
AvatarTHU now includes a native macOS menu bar monitor, alongside the Go course scheduler. Windows and Linux retain the native command-line workflow.
AvatarTHU 新增 macOS 原生菜单栏监控,安装后可在右上角查看后台、登录保活、下次课程扫描、飞书监听及作业状态。
- 原生 AppKit / Swift 组件,使用者不需要安装 Swift、Xcode、Python 或 Node.js。
- 直接读取本地状态,15 秒刷新;课程扫描与 10 分钟保活仍由同一个 Go 进程执行。
- 支持打开审阅文档、课程目录和日志,以及启动/停止后台、检查保活和重新登录。
- 菜单栏与后台独立开关;关闭菜单栏不会停止课程循环。
- 修正残留 PID、过期保活、断开监听的状态判断,支持菜单栏覆盖升级和失败回退。
- 中英文 README 提供完整冷启动步骤与可直接复制给 Agent 的配置提示词。
The monitor requires macOS 12 or later. It shows process health, school authentication, keepalive, the next scan, Feishu connections, and task counts. It reads local state without creating another course loop. Submission still requires the owner's action on the current revision's card.
首次安装 / First-time setup: follow the Chinese README or English README.
已有 Mac 安装升级 / Existing Mac installations: extract the new archive, keep AvatarTHU.app beside the executable, then run:
./avatarthu init --no-login --no-start
avatarthu menubar start
avatarthu menubar statusExisting courses, accounts, review documents, and pending assignments are preserved. 已有课程、账号、审阅记录和待确认作业均保留。
All six OS/architecture archives include documentation and third-party licenses; macOS archives also contain AvatarTHU.app. Verify downloads with SHA256SUMS. The macOS app has an ad-hoc integrity signature, not Apple Developer ID signing or notarization; Windows binaries remain unsigned.
Validation: macOS, Windows and Linux CI passed, including native monitor state checks and macOS bundle installation/upgrade. Local menu actions were exercised for stopping/resuming the daemon and quitting the monitor independently. No real homework submission was used for testing.
AvatarTHU v0.2.0-alpha.2 · macOS menu bar
AvatarTHU now includes a native macOS menu bar monitor, alongside the Go course scheduler. Windows and Linux retain the native command-line workflow.
AvatarTHU 新增 macOS 原生菜单栏监控,安装后可在右上角查看后台、登录保活、下次课程扫描、飞书监听及作业状态。
- 原生 AppKit / Swift 组件,使用者不需要安装 Swift、Xcode、Python 或 Node.js。
- 直接读取本地状态,15 秒刷新;课程扫描与 10 分钟保活仍由同一个 Go 进程执行。
- 支持打开审阅文档、课程目录和日志,以及启动/停止后台、检查保活和重新登录。
- 菜单栏与后台独立开关;关闭菜单栏不会停止课程循环。
- 修正残留 PID、过期保活、断开监听的状态判断,支持菜单栏覆盖升级和失败回退。
- 中英文 README 提供完整冷启动步骤与可直接复制给 Agent 的配置提示词。
The monitor requires macOS 12 or later. It shows process health, school authentication, keepalive, the next scan, Feishu connections, and task counts. It reads local state without creating another course loop. Submission still requires the owner's action on the current revision's card.
首次安装 / First-time setup: follow the Chinese README or English README.
已有 Mac 安装升级 / Existing Mac installations: extract the new archive, keep AvatarTHU.app beside the executable, then run:
./avatarthu init --no-login --no-start
avatarthu menubar start
avatarthu menubar statusExisting courses, accounts, review documents, and pending assignments are preserved. 已有课程、账号、审阅记录和待确认作业均保留。
All six OS/architecture archives include documentation and third-party licenses; macOS archives also contain AvatarTHU.app. Verify downloads with SHA256SUMS. The macOS app has an ad-hoc integrity signature, not Apple Developer ID signing or notarization; Windows binaries remain unsigned.
Validation: macOS, Windows and Linux CI passed, including native monitor state checks and macOS bundle installation/upgrade. Local menu actions were exercised for stopping/resuming the daemon and quitting the monitor independently. No real homework submission was used for testing.
AvatarTHU v0.2.0-alpha.1 · Go 原生版
AvatarTHU 首个 Go 原生预发布版本。每个平台一个可执行文件,无需 Python、pip、虚拟环境或 Go 编译器。课程同步、10 分钟保活、作业主写与独立复审、可选飞书审阅文档和卡片均由同一套程序管理。
下载
| 系统 | 设备 / 架构 | 安装包 |
|---|---|---|
| macOS | Apple Silicon(M 系列) | avatarthu-darwin-arm64.tar.gz |
| macOS | Intel | avatarthu-darwin-amd64.tar.gz |
| Windows | Intel / AMD 64 位 | avatarthu-windows-amd64.zip |
| Windows | ARM64 | avatarthu-windows-arm64.zip |
| Linux | x86-64 | avatarthu-linux-amd64.tar.gz |
| Linux | ARM64 | avatarthu-linux-arm64.tar.gz |
安装包附带 README、第三方来源说明与许可证。校验文件:SHA256SUMS。
首次运行
解压后,在所在目录执行一次初始化。
macOS / Linux:
chmod +x avatarthu
./avatarthu initWindows PowerShell:
.\avatarthu.exe init初始化安装命令入口,引导网络学堂登录并注册后台进程。之后在刷新 PATH 的新终端中使用:
avatarthu doctor
avatarthu configure --mode claude-codex --poll-interval 12h
avatarthu status也支持 --mode codex-claude。两边使用各自 CLI 默认模型;复审不通过时自动重写,历次评论保留在审阅文档末尾。
- 自动完成与交叉复审需要已安装、已登录的 Claude Code 和 Codex CLI;运行
avatarthu tools查看安装方式。 - 网络学堂认证使用 Chrome;Windows 也支持 Edge,无需 Selenium 或 ChromeDriver。
- 飞书可选:运行
avatarthu login lark启用。不启用时仍会生成本地审阅页。 - 统一数据入口为
~/.avatarthu;Windows 为%USERPROFILE%\.avatarthu。macOS 的历史数据保留在原目录,通过符号链接访问。
本版功能
- 默认每 12 小时扫描课程,同一 Go 进程每 10 分钟保活;支持配置课程轮询时长。
- 按课程保存公告、课件、作业题目、执行目录、历次产物和复审记录。
- 未读公告先发送并保存成功回执,再标记已读;未启用飞书时保持未读。
- Claude 主写 / Codex 复审,或 Codex 主写 / Claude 复审。每个阶段使用新进程与新会话;复审只接收原题和当前产物。
- 五部分审阅文档集中展示题目、关键结果、全部附件、审阅操作和历次独立复审;支持文档批注与卡片修改意见。
- 只有本人当前版本卡片的确认操作可触发提交;保留版本、消息、随机凭据、文件哈希和学校端要求核对。结果未知的上传不自动重试。
- 兼容此前的作业状态、冻结产物、云文档和已发送卡片。
验证与当前范围
macOS、Windows、Linux CI 已通过,覆盖核心工作流、进程处理和全新安装。本地已用真实 CLI 跑通两种交叉复审模式,并验证现有审阅文档的 14 个附件与 3 张图;macOS Release 下载包已校验并完成全新安装验证。
当前为 Alpha,适合小范围试用与反馈。二进制尚未做 Apple 公证或 Windows 代码签名;首次运行可能需要在系统中允许打开。电脑休眠期间不运行,唤醒后补查;学校会话过期时仍需本人完成 SSO。具体作业需要的软件取决于题目,独立复审不替代本人最终审阅。
完整说明见 README,AutoThu 与其他第三方来源见 THIRD_PARTY.md。