MCPcopy Index your code
hub / github.com/docker/docker-agent / Run

Method Run

pkg/runtime/runtime.go:80–80  ·  view source on GitHub ↗

Run starts the agent's interaction loop and returns the final messages

(ctx context.Context, sess *session.Session)

Source from the content-addressed store, hash-verified

78 RunStream(ctx context.Context, sess *session.Session) <-chan Event
79 // Run starts the agent's interaction loop and returns the final messages
80 Run(ctx context.Context, sess *session.Session) ([]session.Message, error)
81 // Resume allows resuming execution after user confirmation.
82 // The ResumeRequest carries the decision type and an optional reason (for rejections).
83 Resume(ctx context.Context, req ResumeRequest)

Implementers 7

queueTestRuntimepkg/tui/page/chat/queue_test.go
cycleThinkingRuntimepkg/leantui/update_test.go
mockRuntimepkg/cli/runner_test.go
mockRuntimepkg/app/app_test.go
LocalRuntimepkg/runtime/runtime.go
mockRuntimepkg/runtime/commands_test.go
RemoteRuntimepkg/runtime/remote_runtime.go

Calls

no outgoing calls