mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
This bundles the pending desktop/server team-session fixes with the local adapter recovery changes already in the worktree. The team path now keeps teammate membership stable under concurrent spawns, surfaces real teammate identities in the desktop UI, and allows direct interaction with member transcripts. The adapter changes recover automatically when stale thinking signatures invalidate an existing session. Constraint: Team config writes can happen concurrently while multiple reviewers spawn in parallel Constraint: Desktop member views must follow mailbox/transcript semantics rather than hijacking teammate runtime sessions Rejected: Keep relying on config.json alone for member discovery | in-process teammates can be lost after concurrent writes Rejected: Open teammate sessionIds as normal desktop sessions | would attach a second CLI instead of the running teammate Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Preserve locked team-file mutation for any future teammate registration path and keep teammate labels sourced from member names before agent types Tested: bun test src/server/__tests__/teams.test.ts src/server/__tests__/team-watcher.test.ts Tested: cd desktop && bun run test --run src/stores/chatStore.test.ts src/pages/ActiveSession.test.tsx Tested: cd desktop && bun run lint Tested: cd desktop && bun run build Not-tested: Manual end-to-end validation against a live Agent Teams run in the desktop app
60 lines
1009 B
Plaintext
60 lines
1009 B
Plaintext
.env
|
|
.env.*
|
|
!.env.example
|
|
node_modules
|
|
.DS_Store
|
|
|
|
# Computer Use runtime (auto-generated)
|
|
.runtime/
|
|
extracted-natives/
|
|
|
|
# Adapter attachment cache (created at runtime by AttachmentStore when
|
|
# running adapter tests or the feishu/telegram adapters locally)
|
|
.lark-attachments/
|
|
.tg-attachments/
|
|
|
|
# Playwright MCP snapshots & logs
|
|
.playwright-mcp/
|
|
|
|
# OMX state/logs
|
|
.omx/
|
|
|
|
# E2E screenshots
|
|
e2e-*.png
|
|
|
|
# Desktop build output
|
|
desktop/dist/
|
|
desktop/src-tauri/binaries/
|
|
desktop/src-tauri/target/
|
|
desktop/src-tauri/gen/
|
|
desktop/package-lock.json
|
|
|
|
# Desktop brand asset candidates (keep only selected ones in public/)
|
|
desktop/brand-assets/
|
|
|
|
# Claude local config & auto-generated
|
|
.claude/
|
|
|
|
# Superpowers plans & specs (local only)
|
|
docs/superpowers/
|
|
|
|
# Debug / temp screenshots (root dir only)
|
|
/*.png
|
|
bug_attachments/
|
|
|
|
# Private keys & credentials
|
|
*.pem
|
|
*.key
|
|
*.p12
|
|
credentials*.json
|
|
|
|
# TS build cache
|
|
*.tsbuildinfo
|
|
|
|
# Temp markdown snapshots
|
|
sidebar-snapshot.md
|
|
|
|
# VitePress
|
|
docs/.vitepress/dist
|
|
docs/.vitepress/cache
|