AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { ApId } from '@activepieces/core-utils'
import { EDITOR_SESSION_ID_HEADER } from '@activepieces/shared'
import { FastifyRequest } from 'fastify'
export const editorSession = {
idFromRequest(request: FastifyRequest): string | null {
const parsed = ApId.safeParse(request.headers[EDITOR_SESSION_ID_HEADER])
return parsed.success ? parsed.data : null
},
}