Skip to content

resolveAgentWorkspaceForSession

function resolveAgentWorkspaceForSession(workspace, context): Promise<
| ResolvedAgentWorkspace
| undefined>;

Resolve static and request-scoped workspaces through one runtime entrypoint.

Parameter Type

workspace

| AgentWorkspaceConfig | undefined

context

AgentWorkspaceResolverContext

Promise< | ResolvedAgentWorkspace | undefined>