MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isResumeAction

Function isResumeAction

packages/react/src/api/shell-host.ts:84–85  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

82
83/** The resume action the shell sends back after the user answers the modal. */
84const isResumeAction = (value: unknown): value is "accept" | "decline" | "cancel" =>
85 value === "accept" || value === "decline" || value === "cancel";
86
87/**
88 * `execute-action-resume` carries the elicitation answer as a JSON *string*

Callers 1

createHttpShellHostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected