MCPcopy Create free account
hub / github.com/github/copilot-sdk / SessionModeChangedData

Struct SessionModeChangedData

go/rpc/zsession_events.go:184–189  ·  view source on GitHub ↗

Agent mode change details including previous and new modes

Source from the content-addressed store, hash-verified

182
183// Agent mode change details including previous and new modes
184type SessionModeChangedData struct {
185 // The session mode the agent is operating in
186 NewMode SessionMode `json:"newMode"`
187 // The session mode the agent is operating in
188 PreviousMode SessionMode `json:"previousMode"`
189}
190
191func (*SessionModeChangedData) sessionEventData() {}
192func (*SessionModeChangedData) Type() SessionEventType { return SessionEventTypeSessionModeChanged }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected