Skip to content
API reference

app-method-context

Kind Export Description
constant appMethodCallContextSchema Host attribution, including paired sealed enqueue origin, uses the sole lightweight caller grammar.

appMethodCallContextSchemaconstant

Section titled “appMethodCallContextSchema”
Signature
const appMethodCallContextSchema: declareConstructor<
{
computerId: string | null;
actor:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
backgroundLane?: string;
backgroundOrigin?: {
method: string;
seal: string;
};
role?: "member" | "owner";
soleMember?: true;
workflow?: {
workflowId: string;
runId: string;
nodeId: string;
armedBy:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
};
idempotencyKey?: string;
},
{
computerId: string | null;
actor:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
backgroundLane?: string;
backgroundOrigin?: {
method: string;
seal: string;
};
role?: "member" | "owner";
soleMember?: true;
workflow?: {
workflowId: string;
runId: string;
nodeId: string;
armedBy:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
};
idempotencyKey?: string;
},
readonly [],
{
computerId: string | null;
actor:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
backgroundLane?: string;
backgroundOrigin?: {
method: string;
seal: string;
};
role?: "member" | "owner";
soleMember?: true;
workflow?: {
workflowId: string;
runId: string;
nodeId: string;
armedBy:
| {
kind: "member";
memberId: string;
}
| {
kind: "agent";
agentId: string;
}
| {
kind: "team-key";
keyId: string;
};
};
idempotencyKey?: string;
}
>;

Host attribution, including paired sealed enqueue origin, uses the sole lightweight caller grammar.

Re-exports AppMethodCallContext


Re-exports HostActor


Re-exports WorkflowAttestation