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

Method CancelQueuedSessionPrompt

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

Source from the content-addressed store, hash-verified

2995}
2996
2997func (c *unixSocketClient) CancelQueuedSessionPrompt(
2998 ctx context.Context,
2999 id string,
3000 queueEntryID string,
3001) (SessionPromptRecord, error) {
3002 entryID, err := requireNetworkPathValue("queue_entry_id", queueEntryID)
3003 if err != nil {
3004 return SessionPromptRecord{}, err
3005 }
3006 path, err := c.sessionScopedPath(ctx, id, "/prompt/queue/"+url.PathEscape(entryID))
3007 if err != nil {
3008 return SessionPromptRecord{}, err
3009 }
3010 return c.doSessionPrompt(ctx, http.MethodDelete, path, nil, nil)
3011}
3012
3013func (c *unixSocketClient) StreamPromptSession(
3014 ctx context.Context,

Callers

nothing calls this directly

Calls 3

sessionScopedPathMethod · 0.95
doSessionPromptMethod · 0.95
requireNetworkPathValueFunction · 0.85

Tested by

no test coverage detected