Dashboard: show GitHub Copilot sessions (CopilotSessionSource)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, typescript
- Lĩnh vực
- ai-infra-agents, cli
Hướng nghiên cứu
Start with packages/squad-cli/src/cli/dashboard/sources.ts and the existing dashboard source in packages/squad-cli/src/cli/dashboard/server.ts; inspect the Claude source and synthetic session fixtures if present. Then investigate Copilot's ~/.copilot/session-state/ event format and how member dispatches are represented. Done means live Copilot sessions appear in the dashboard, source tests use synthetic events.jsonl, and Copilot usage is documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
The team dashboard from #2460 (squad dashboard, /squad:dashboard) only reads Claude Code sessions. It should also show sessions from the GitHub Copilot app and CLI.
What is already host-neutral
- The server in
packages/squad-cli/src/cli/dashboard/server.ts: it binds to 127.0.0.1, checks the Host header, sends the CSP and replays over SSE. - The page in
packages/squad-cli/src/dashboard-ui/. - The state file in
~/.squad/dashboards/and the/healthport scan. - The event model:
DashboardEvent {t, lane, kind, text, extra}and theDashboardSource {poll(), label}interface inpackages/squad-cli/src/cli/dashboard/sources.ts.
The only Claude-specific parts are the two sources (the transcripts in ~/.claude/projects/ and claude -p stream-json) and the /squad:dashboard plugin command.
What Copilot writes
Each session has its own folder, ~/.copilot/session-state/<uuid>/, containing events.jsonl, workspace.yaml, session.db, checkpoints/ and files/. One local session included these event types (only the types were checked, not the content):
user.messageandassistant.messageassistant.turn_startandassistant.turn_endtool.execution_startandtool.execution_completeskill.invokedhook.startandhook.endsession.start,session.resumeandsession.shutdownmodel.*andsession.usage_*
Proposal
- A
CopilotSessionSource. It finds the newest session for the current directory, probably from the directory recorded inworkspace.yaml, and follows itsevents.jsonlincrementally. It turns turns, tool calls and skills into the coordinator's lane.--session <id>pins a session, as it does for Claude. - Member lanes. First find out whether Copilot records member dispatches (custom agents or subagents) as events of their own and how they link to the parent tool call. If it doesn't, show only the coordinator's lane and say so on the page.
- Choosing the source. Add
squad dashboard --host claude|copilot. Without it, the dashboard should use whichever host has the newest session for the current directory. - Starting it from Copilot. Add a Squad skill or prompt in the Copilot projection that runs
squad dashboard --detach --open, matching/squad:dashboard. - Privacy. Use the same rules as the Claude source. Never show system prompts or
model.messages_snapshotcontents, and build test fixtures from synthetic data rather than real sessions.
Open questions
- Is the
events.jsonlschema stable, or versioned across Copilot releases? - Do the Copilot app and the Copilot CLI share
~/.copilot/session-state/? - Where do sessions live on Windows, and is there an override similar to
COPILOT_HOME?
Done when
squad dashboardin a repository being worked on in Copilot shows the live session, including member lanes if Copilot records them.- There are source tests using synthetic
events.jsonlfixtures. features/claude-code-plugin.md, or a new host-neutral dashboard page, documents Copilot use.
Follow-up to #2460 (epic #2438).
- Ngôn ngữ chính
- TypeScript
- Star
- 3.4k
- Fork
- 516
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 116
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/squad
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bot:ai-assisted component:platform-js status:untriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
midnightntwrk/platform-js#38 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ranxianglei/billion-context#7068 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vendor: bump whisper.cpp past 6a8addd — the current pin aborts the app on a failed Metal initĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
ilan-pinto/roaring-lions#1552 ·
Maintainer thường phản hồi trong vòng 1 ngày