Skip to content
PACKAGES

issueAgentRequest()

Checks whether a value is an issue agent request.

import { issueAgentRequest } from "@graphrefly/ts/orchestration";
function issueAgentRequest(
proposal: AgentRequestProposal,
admission: AgentRequestAdmitted,
opts: { readonly issuedAtMs?: number; readonly sourceRefs?: readonly SourceRef[] } = {},
): AgentRequestIssued
ParameterTypeDescription
proposalAgentRequestProposalProposal to admit, issue, or project.
admissionAgentRequestAdmittedAdmission decision paired with the proposal.
opts{ readonly issuedAtMs?: number; readonly sourceRefs?: readonly SourceRef[] }Options that configure the helper.

true when the value matches the expected shape.

import { issueAgentRequest } from "@graphrefly/ts/orchestration";

packages/ts/src/orchestration/agent-runtime-request-ledger.ts