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

Function acceptAllHandler

packages/core/sdk/src/executor.ts:282–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280// ---------------------------------------------------------------------------
281
282const acceptAllHandler: ElicitationHandler = () =>
283 Effect.succeed(ElicitationResponse.make({ action: "accept" }));
284
285const resolveElicitationHandler = (onElicitation: OnElicitation): ElicitationHandler =>
286 onElicitation === "accept-all" ? acceptAllHandler : onElicitation;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected