MCPcopy Create free account
hub / github.com/freecodexyz/free-code / createRemoteSessionConfig

Function createRemoteSessionConfig

src/remote/RemoteSessionManager.ts:329–343  ·  view source on GitHub ↗
(
  sessionId: string,
  getAccessToken: () => string,
  orgUuid: string,
  hasInitialPrompt = false,
  viewerOnly = false,
)

Source from the content-addressed store, hash-verified

327 * Create a remote session config from OAuth tokens
328 */
329export function createRemoteSessionConfig(
330 sessionId: string,
331 getAccessToken: () => string,
332 orgUuid: string,
333 hasInitialPrompt = false,
334 viewerOnly = false,
335): RemoteSessionConfig {
336 return {
337 sessionId,
338 getAccessToken,
339 orgUuid,
340 hasInitialPrompt,
341 viewerOnly,
342 }
343}

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected