Skip to content

feat: tray-app phase 1 — daemon/shared/cli improvements - #2

Closed
zzhan111 wants to merge 4 commits into
mainfrom
feat/phase-1-tray-app
Closed

feat: tray-app phase 1 — daemon/shared/cli improvements#2
zzhan111 wants to merge 4 commits into
mainfrom
feat/phase-1-tray-app

Conversation

@zzhan111

Copy link
Copy Markdown
Owner

Summary

  • Trace: per-tab MCP command log with recording window markers, new CommandLog component
  • Daemon: interaction commands now restore role/name + state; fix wedged-tab dialog hang making daemon appear dead; clean up eslint errors
  • Shared: add bbTabId/progress to ResponseData protocol; fix screenshot response field name
  • CLI: fix 15 typecheck errors; add communityUpdateBlocker() pre-check before silent git pull
  • MCP: add MA_BROWSER_CONNECT_ONLY env to stop daemon auto-spawn race
  • Tray-app: update panel build asset hashes

Files changed

29 files, +430/-100 lines across 6 packages.

Test plan

  • pnpm build passes (all 6 packages)
  • pnpm test passes (daemon: 146 pass, 0 fail)
  • Tray app panel loads correctly
  • daemon responds on port 19824 with cdpConnected
  • CLI ma-browser site status works with new update blocker

🤖 Generated with Claude Code

zzhan111 and others added 4 commits June 15, 2026 12:10
Trace tab 新增当前标签页的连续 MCP 命令流(CommandLog),命令流不随
录制开始清空,而是在流中插入 ▶/⏹ 戳标记录制窗口,窗口内命令高亮显
示为已录制。导出管线不变,仍走原 trace 事件。

daemon: CommandRecord 增加 tab 字段;finish 回调从响应 data.tab
归属命令到具体标签页短 id。panel: 新增 CommandLog 组件 + 样式;
TracePage 2s 轮询命令、录制窗口戳提升至全局 store。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add communityUpdateBlocker() to detect common git pull --ff-only failure
conditions (no upstream, ahead commits, dirty worktree) before the
fire-and-forget background pull, avoiding silent staleness.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@zzhan111 zzhan111 closed this Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant