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

Method PromptSession

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

Source from the content-addressed store, hash-verified

2958}
2959
2960func (c *unixSocketClient) PromptSession(ctx context.Context, id string, message string) ([]AgentEventRecord, error) {
2961 record, err := c.SendSessionPrompt(ctx, id, SessionPromptRequest{Message: message})
2962 if err != nil {
2963 return nil, err
2964 }
2965 if record.Events == nil {
2966 return []AgentEventRecord{}, nil
2967 }
2968 return record.Events, nil
2969}
2970
2971func (c *unixSocketClient) SendSessionPrompt(
2972 ctx context.Context,

Callers 1

Calls 1

SendSessionPromptMethod · 0.95

Tested by 1