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

Function authenticatedFetch

e2e/cloud/mcp-browser-resume-page.test.ts:72–83  ·  view source on GitHub ↗
(
  identity: Identity,
  input: URL,
  init: RequestInit = {},
)

Source from the content-addressed store, hash-verified

70};
71
72const authenticatedFetch = (
73 identity: Identity,
74 input: URL,
75 init: RequestInit = {},
76): Promise<Response> =>
77 fetch(input, {
78 ...init,
79 headers: {
80 ...(identity.headers ?? {}),
81 ...(init.headers ?? {}),
82 },
83 });
84
85scenario(
86 "MCP approval · browser resume page loads the paused execution from its approval URL",

Callers 1

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected