Skip to main content

Enumeration: EResumeAction

Defined in: internal/human-gate/types.ts:367

What the human may do.

Enumeration Members​

ANSWER​

ANSWER: "ANSWER"

Defined in: internal/human-gate/types.ts:378

Answer a user question (D62).


APPROVE​

APPROVE: "APPROVE"

Defined in: internal/human-gate/types.ts:369

Run the tool as asked (TOOL_APPROVAL), or deliver the answer as written (RESULT_REVIEW).


EDIT​

EDIT: "EDIT"

Defined in: internal/human-gate/types.ts:374

Approve with editedInput: the tool runs with the new input, or the answer is delivered with the reviewer's text. The tool's policy decides again on the edited input (D109): DENY gives the denied result, NEEDS_APPROVAL counts as approved.


REJECT​

REJECT: "REJECT"

Defined in: internal/human-gate/types.ts:376

The tool does not run and the model reads why (TOOL_APPROVAL); the answer is dropped and the call is FAILED (RESULT_REVIEW).