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

Function recoveryOf

packages/core/sdk/src/insufficient-scope.test.ts:354–358  ·  view source on GitHub ↗
(result: ReturnType<typeof authToolFailure>)

Source from the content-addressed store, hash-verified

352
353describe("authToolFailure recovery for oauth_scope_insufficient", () => {
354 const recoveryOf = (result: ReturnType<typeof authToolFailure>) => {
355 const details = (result as { error: { details: { recovery: Record<string, string> } } }).error
356 .details;
357 return details.recovery;
358 };
359
360 it("omits the oauth.start hint, which would re-run the identical grant", () => {
361 const recovery = recoveryOf(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected