MCPcopy Create free account
hub / github.com/compozy/agh / agentHeartbeatStatusValues

Function agentHeartbeatStatusValues

internal/cli/client.go:5868–5880  ·  view source on GitHub ↗
(request AgentHeartbeatStatusRequest)

Source from the content-addressed store, hash-verified

5866}
5867
5868func agentHeartbeatStatusValues(request AgentHeartbeatStatusRequest) url.Values {
5869 values := agentValues(AgentQuery{Workspace: request.WorkspaceID})
5870 if trimmed := strings.TrimSpace(request.SessionID); trimmed != "" {
5871 values.Set("session_id", trimmed)
5872 }
5873 if request.IncludeSessionHealth {
5874 values.Set("include_session_health", "true")
5875 }
5876 if request.IncludeRecentWakeEvents {
5877 values.Set("include_recent_wake_events", "true")
5878 }
5879 return values
5880}
5881
5882func skillValues(query SkillQuery) url.Values {
5883 values := url.Values{}

Callers 1

Calls 2

agentValuesFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected