UNPKG

@mastra/core

Version:
13 lines • 691 B
import type { ActorSignal } from '../../auth/ee/index.js'; /** * Resolves the FGA `actor` to hand to the agent/tool call a declarative step * makes on the author's behalf. * * Propagation is strictly opt-in: the run's actor is only inherited when it is * the object form carrying `propagate: true`. The `true` shorthand never * propagates. Step options always win, and an explicit `actor: undefined` in * step options is the escape hatch that drops back to user-actor resolution * mid-tree. */ export declare function resolveEntryActor(stepOptions: Record<string, unknown> | undefined, runActor: ActorSignal | undefined): ActorSignal | undefined; //# sourceMappingURL=actor.d.ts.map