Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
export function sanitizeMarketplaceHref(value: string): string | null {
const trimmed = value.trim()
if (!trimmed) return null
if (trimmed.startsWith('/') && !trimmed.startsWith('//') && !trimmed.includes('\\')) {
return trimmed
}
try {
const url = new URL(trimmed)
if (url.protocol !== 'http:' && url.protocol !== 'https:') return null
return url.toString()
} catch {
return null
}
}