packages/validators/readme.md
Core schemas and validators shared across the Agentic platform.
[!TIP] You likely don't need this package directly. See @agentic/cli, @agentic/platform, and @agentic/platform-tool-client for more public-facing packages.
npm i @agentic/platform-validators
import { parseProjectIdentifier } from '@agentic/platform-validators'
const parsedProjectIdentifier = parseProjectIdentifier('@agentic/search')
@username/project-slug@team-slug/project-slugExamples:
@agentic/search${projectIdentifier} will implicitly use ${projectIdentifier}@latest${projectIdentifier}@latest (the most recently published deployment)${projectIdentifier}@dev (the most recently pushed deployment)${projectIdentifier}@deploymentHash (a specific deployment)${projectIdentifier}@version (a specific published deployment specified via semver)Examples:
@agentic/search@agentic/search@latest@agentic/[email protected]${deploymentIdentifier}/tool_nameExamples:
@agentic/search/search@agentic/search@latest/search@agentic/[email protected]/searchOpenAI vs Anthropic vs Google vs MCP tool name restrictions