Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion model/cc_statusline_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type CCStatuslineInput struct {
ContextWindow CCStatuslineContextWindow `json:"context_window"`
Cwd string `json:"cwd"`
Version string `json:"version"`
SessionID string `json:"session_id"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Removing the SessionID field here will cause build failures because it is still being used in commands/cc_statusline.go. This will lead to a compilation error.

Specifically, data.SessionID is used in:

  • commandCCStatusline to send session project mapping to the daemon (line 71).
  • commandCCStatusline when calling formatStatuslineOutput (line 92).
  • formatStatuslineOutput to create a clickable link for the session cost (line 168).

To fix this, you need to remove all usages of SessionID from commands/cc_statusline.go and update any function signatures and tests that rely on it. Additionally, the test fixture fixtures/cc_statusline.json contains a session_id field which should probably be removed to align with this change.

Workspace *CCStatuslineWorkspace `json:"workspace"`
}

Expand Down