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

Function DeriveDaemonActorContext

internal/task/actors.go:101–106  ·  view source on GitHub ↗

DeriveDaemonActorContext derives one trusted daemon-owned actor context. If originRef is empty, the actor ref is reused as the durable origin ref.

(actorRef string, originRef string)

Source from the content-addressed store, hash-verified

99// DeriveDaemonActorContext derives one trusted daemon-owned actor context. If
100// originRef is empty, the actor ref is reused as the durable origin ref.
101func DeriveDaemonActorContext(actorRef string, originRef string) (ActorContext, error) {
102 if originRef == "" {
103 originRef = actorRef
104 }
105 return deriveActorContext(ActorKindDaemon, actorRef, OriginKindDaemon, originRef)
106}
107
108func deriveActorContext(
109 actorKind ActorKind,

Calls 1

deriveActorContextFunction · 0.70