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

Function nativeOperatorActorContext

internal/daemon/native_tools.go:4526–4531  ·  view source on GitHub ↗
(scope toolspkg.Scope)

Source from the content-addressed store, hash-verified

4524}
4525
4526func nativeOperatorActorContext(scope toolspkg.Scope) (taskpkg.ActorContext, error) {
4527 if scope.Operator {
4528 return taskpkg.DeriveDaemonActorContext("native-tools", "tool.registry")
4529 }
4530 return actorContextFromScope(scope)
4531}
4532
4533func nativeAutonomyForeignRunTaskError(id toolspkg.ToolID, taskID string, runID string) error {
4534 message := fmt.Sprintf("run %q is not leased for task %q", strings.TrimSpace(runID), strings.TrimSpace(taskID))

Callers 3

taskRecoverMethod · 0.85
nativeTaskBlockActorMethod · 0.85
nativeTaskClearActorMethod · 0.85

Calls 1

actorContextFromScopeFunction · 0.85

Tested by

no test coverage detected