| feat(cli): panic 时同步落盘崩溃日志到 ~/.atomcode/logs/panic.log
release 用 panic=abort,崩溃时 stderr 随终端窗口消失(Windows resize 崩溃)、
遥测 track 又是异步(mpsc→后台 tokio 写盘)会被 abort 杀在半路,导致 panic 现场
无处可寻。新增 write_crash_log:在两个 panic 钩子最前面同步写 location/message/
thread/backtrace 并 flush+fsync,确保 abort 前落盘。AtomicBool 去重、全程 best-effort。
便于定位 Windows 拖窗 resize 闪退的精确 panic 位置;也作为长期的崩溃日志保留。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| 22 小时前 |
| Auto-commit at turn #1 (6 files changed)
| 7 天前 |
| docs(site): 补全 v4.24.1 新功能文档(WebUI/同步/$ 菜单/后台与破坏性命令)
- 新增 docs/{zh,en}/webui.html:WebUI 启动与关闭、界面功能、/sync 多端实时同步、远程访问指引;
注册到进阶分组、docs.js 侧栏 i18n,所有页面侧栏加链接并重建搜索索引。
- slash-commands:新增「WebUI 与同步」分区(/webui、/webui --host、/webui stop、/sync、/sync off),
并在「配置与帮助」补 /guide。
- skills:新增「通过 $ 菜单」小节(行首 $ 列出/过滤技能,Tab 补全,$name 参数 调用)。
- tools:bash 增补「后台运行长任务」(run_in_background) 与「破坏性命令拦截」两个提示框。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| 1 天前 |
| Merge branch release/v4.24.1 into feat/invite
| 1 天前 |
| feat(referral): add invite referral tracking system
- Add --invite= / ATOMCODE_INVITE support to install.sh and install.ps1,
writing pending_invite file with invite code, install UUID, and timestamp
- Create pending_invite.rs module to parse and validate pending_invite file
with 30-day expiry and format checks
- Add maybe_emit_install_completed() to Telemetry, emitting InstallCompleted
event on first launch after referral install
- Attach invite_code and install_uuid to LoginSuccess events across CLI
login, daemon API login, and codingplan setup paths
- Add referral.html landing page with invite code generation, metrics
dashboard (devices, active users, conversion rate, settlement), leaderboard
and rules
| 1 天前 |
| chore(tui): on_resize 增加 RSZ 阶段诊断日志(定位 conhost 闪退)
ED2 修复后仍闪退。在 on_resize 各阶段「写控制台之前」打 RSZ trace
(enter/wipe/body/paint/done),并打印 legacy_conhost 标志与新旧尺寸。
因为是在把字节发给 conhost 之前记录,即便 conhost 当场 fastfail、
trace 文件里仍会留下「最后一个阶段」=触发崩溃的那步,并能确认 ED2
安全路径到底有没有生效。仅 ATOMCODE_TUIX_LOG 开启时有开销。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| 20 小时前 |