An agent's prior OUTPUT artifact, resolved for payload continuity.
payload is the parsed ArtifactVersion.Content, typed to match what actually consumes it
— executeAgentContinuation and invokeSubAgent both take Record<string, unknown> | null.
It is null when the version carried no content, the content did not parse, or the content
parsed to something that is not a JSON object; callers treat all three the same as "no prior
artifact", which is already a legal agent input.
An agent's prior OUTPUT artifact, resolved for payload continuity.
payloadis the parsedArtifactVersion.Content, typed to match what actually consumes it —executeAgentContinuationandinvokeSubAgentboth takeRecord<string, unknown> | null. It is null when the version carried no content, the content did not parse, or the content parsed to something that is not a JSON object; callers treat all three the same as "no prior artifact", which is already a legal agent input.