langgraph/libs/cli/schemas/version.schema.json
Victor Moreira a0175fdb1c
feat(cli): use Agent Server flags with hidden deployment aliases (#9666)
Align CLI copy with **LangSmith Agent Server**, using **Agent Servers**
for multiple resources and **Agent Server hosting** for entitlement
messages.

- Advertise `--agent-server-id` and `--agent-server-type`; retain
`--deployment-id` and `--deployment-type` as hidden, supported
compatibility aliases, including `--flag=value`. No alias removal is
scheduled.
- Display `AGENT_SERVER_ID` for positional IDs without changing internal
parameters. Preserve commands, environment variables, API/JSON
contracts, URLs, backend error matching, deployment-operation outcomes,
and self-hosted/hybrid LangSmith terminology.
- Release only after the renamed UI is confirmed live in production, not
immediately on merge.
- Follow-ups: matching JavaScript CLI flags in langgraphjs and SDK/core
docstring updates. Older CLIs may still require the legacy spellings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Victor Moreira <victorm-lc@users.noreply.github.com>
Co-authored-by: Robin <open-swe@users.noreply.github.com>
Co-authored-by: Hari Dhanushkodi <hari-dhanushkodi@users.noreply.github.com>
2026-11-12 09:51:38 -05:00

46 lines
1.1 KiB
JSON

{
"$id": "https://github.com/langchain-ai/langgraph/libs/cli/schemas/version.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Agent Server configuration (when building via the langgraph-cli).",
"type": "object",
"oneOf": [
{
"allOf": [
{
"oneOf": [
{
"properties": {
"version": {
"type": "string",
"maxLength": 0
}
},
"required": ["version"]
},
{
"not": {
"required": ["version"]
}
}
]
},
{
"$ref": "https://raw.githubusercontent.com/langchain-ai/langgraph/main/libs/cli/schemas/schema.json"
}
]
},
{
"allOf": [
{
"properties": {
"version": { "const": "v0" }
},
"required": ["version"]
},
{
"$ref": "https://raw.githubusercontent.com/langchain-ai/langgraph/main/libs/cli/schemas/schema.v0.json"
}
]
}
]
}