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

Method GetSessionStatus

internal/cli/client.go:2806–2816  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

2804}
2805
2806func (c *unixSocketClient) GetSessionStatus(ctx context.Context, id string) (SessionStatusRecord, error) {
2807 var response SessionStatusRecord
2808 path, err := c.sessionScopedPath(ctx, id, "/status")
2809 if err != nil {
2810 return SessionStatusRecord{}, err
2811 }
2812 if err := c.doJSON(ctx, http.MethodGet, path, nil, nil, &response); err != nil {
2813 return SessionStatusRecord{}, err
2814 }
2815 return response, nil
2816}
2817
2818func (c *unixSocketClient) InspectSession(
2819 ctx context.Context,

Callers

nothing calls this directly

Calls 2

sessionScopedPathMethod · 0.95
doJSONMethod · 0.95

Tested by

no test coverage detected