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

Method RunSkillFork

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

RunSkillFork executes a `context: fork` skill as an isolated sub-session of sess. Used by the run_skill tool and the App's slash-command path. Returns a ToolCallResult carrying the sub-agent's last assistant message, or a user-facing error reason; err is non-nil only for unexpected runtime failures.

(ctx context.Context, sess *session.Session, args skills.RunSkillArgs, events EventSink)

Source from the content-addressed store, hash-verified

103 // last assistant message, or a user-facing error reason; err is non-nil
104 // only for unexpected runtime failures.
105 RunSkillFork(ctx context.Context, sess *session.Session, args skills.RunSkillArgs, events EventSink) (*tools.ToolCallResult, error)
106
107 // CurrentMCPPrompts returns MCP prompts available from the current agent's toolsets.
108 // Returns an empty map if no MCP prompts are available.

Callers 4

processMessageMethod · 0.65
startSkillForkMethod · 0.65
RunSkillForkMethod · 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