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

Method blockSession

internal/cli/cli_integration_test.go:4064–4072  ·  view source on GitHub ↗
(sessionID string)

Source from the content-addressed store, hash-verified

4062}
4063
4064func (d *integrationDaemon) blockSession(sessionID string) (<-chan acp.AgentEvent, error) {
4065 d.mu.Lock()
4066 manager := d.manager
4067 d.mu.Unlock()
4068 if manager == nil {
4069 return nil, errors.New("integration daemon session manager is not ready")
4070 }
4071 return manager.Prompt(context.Background(), sessionID, "__block__")
4072}
4073
4074func discardLogger() *slog.Logger {
4075 return slog.New(slog.NewTextHandler(io.Discard, nil))

Calls 1

PromptMethod · 0.65

Tested by

no test coverage detected