Interface: ApplyActionRequest
@kortexya/reasoninglayer / ApplyActionRequest
Interface: ApplyActionRequest
Section titled “Interface: ApplyActionRequest”Defined in: src/types/actions.ts:142
Request to apply a typed action transactionally.
Remarks
Section titled “Remarks”Wire shape (ApplyActionRequest) uses snake_case (caller_roles).
Bound inputs map feature names to arbitrary JSON values.
Properties
Section titled “Properties”action
Section titled “action”action:
ActionTypeDef
Defined in: src/types/actions.ts:144
The action schema to apply.
callerRoles?
Section titled “callerRoles?”
optionalcallerRoles?:string[]
Defined in: src/types/actions.ts:148
Roles held by the caller (checked against action.requiredRoles).
edits?
Section titled “edits?”
optionaledits?:TermEdit[]
Defined in: src/types/actions.ts:150
Multi-term edits to commit atomically when the action is Ready.
inputs?
Section titled “inputs?”
optionalinputs?:Record<string,JsonValue>
Defined in: src/types/actions.ts:146
Bound input features (feature → JSON value).