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

Method DeleteSession

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

Source from the content-addressed store, hash-verified

2863}
2864
2865func (c *unixSocketClient) DeleteSession(ctx context.Context, id string) error {
2866 path, err := c.sessionScopedPath(ctx, id, "")
2867 if err != nil {
2868 return err
2869 }
2870 return c.doJSON(
2871 ctx,
2872 http.MethodDelete,
2873 path,
2874 nil,
2875 nil,
2876 nil,
2877 )
2878}
2879
2880func (c *unixSocketClient) ResumeSession(ctx context.Context, id string) (SessionRecord, error) {
2881 var response struct {

Callers

nothing calls this directly

Calls 2

sessionScopedPathMethod · 0.95
doJSONMethod · 0.95

Tested by

no test coverage detected