cli: rename langgraph.json to langsmith.json

Rename the default config filename from `langgraph.json` to
`langsmith.json` as part of the "LangGraph Platform" to "LangSmith
Deployment" rebranding.

Backward compatibility is preserved: the CLI falls back to
`langgraph.json` with a deprecation warning when `langsmith.json`
is not found. A new `_resolve_config` callback handles the
resolution logic for all `--config` click options.

Changes span libs/cli (core logic, examples, tests), libs/sdk-py
(docstrings), libs/langgraph (Makefile), and .github CI scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
William Fu-Hinthorn
2026-03-29 07:41:32 -07:00
co-authored by Claude Opus 4.6
parent ae76f33c6d
commit a99d733bb5
29 changed files with 125 additions and 62 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-t", "--tag", type=str)
parser.add_argument("-c", "--config", type=str, default="./langgraph.json")
parser.add_argument("-c", "--config", type=str, default="./langsmith.json")
parser.add_argument("-p", "--port", type=int, default=DEFAULT_PORT)
args = parser.parse_args()
try: