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

Method CurrentAgentToolsetStatuses

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

CurrentAgentToolsetStatuses returns lifecycle status for each toolset of the active agent (name, kind, state, last error, restart count). Used by the /tools dialog. Best-effort: toolsets that don't expose state appear with State == StateStopped/Ready as appropriate.

()

Source from the content-addressed store, hash-verified

56 // Used by the /tools dialog. Best-effort: toolsets that don't expose
57 // state appear with State == StateStopped/Ready as appropriate.
58 CurrentAgentToolsetStatuses() []tools.ToolsetStatus
59
60 // RestartToolset finds the named toolset on the active agent and asks
61 // its supervisor to drop the current session and reconnect. Returns

Callers 3

handleShowToolsDialogMethod · 0.65
runRuntimeContractFunction · 0.65

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

Tested by 1

runRuntimeContractFunction · 0.52