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

Function WithSessionExecutor

internal/task/manager.go:142–146  ·  view source on GitHub ↗

WithSessionExecutor injects the runtime session bridge used by later task-run lifecycle operations.

(sessions SessionExecutor)

Source from the content-addressed store, hash-verified

140// WithSessionExecutor injects the runtime session bridge used by later
141// task-run lifecycle operations.
142func WithSessionExecutor(sessions SessionExecutor) Option {
143 return func(opts *managerOptions) {
144 opts.sessions = sessions
145 }
146}
147
148// WithRuntimeViewReader injects optional session telemetry enrichment for task live reads.
149func WithRuntimeViewReader(reader RuntimeViewReader) Option {

Calls

no outgoing calls