fix: show real project runtime agents

This commit is contained in:
Yoilun
2026-05-25 23:40:52 +08:00
parent 4262191462
commit b6648f384d
6 changed files with 371 additions and 26 deletions

View File

@@ -11,12 +11,19 @@ type Snapshot struct {
type SourceMap map[string]SourceEvidence
type Thread struct {
ID string `json:"id"`
Role string `json:"role"`
Status string `json:"status"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
Source SourceEvidence `json:"source"`
ID string `json:"id"`
Role string `json:"role"`
Status string `json:"status"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
CWD string `json:"cwd"`
Title string `json:"title"`
AgentNickname string `json:"agentNickname,omitempty"`
AgentRole string `json:"agentRole,omitempty"`
AgentPath string `json:"agentPath,omitempty"`
ThreadSource string `json:"threadSource,omitempty"`
Preview string `json:"preview,omitempty"`
Source SourceEvidence `json:"source"`
}
type SpawnEdge struct {