Files
langgraph/libs/cli/langgraph_cli
Cursor AgentandChristian Bromann 468c7546c8 feat(cli): add http.apps field for mounting multiple HTTP apps at path prefixes
Add support for the http.apps config field in langgraph.json that lets
users mount multiple HTTP apps at different path prefixes alongside the
built-in LangGraph API.

Config format:
  {
    "http": {
      "app": "./custom_routes.py:app",
      "apps": {
        "/dashboard": "./dashboard.py:app",
        "/ext": "./extension.js:app",
        "/conduit": "some-npm-package:app"
      }
    }
  }

Changes:
- Add apps: dict[str, str] | None to HttpConfig TypedDict in schemas.py
- Add validation for http.apps entries (prefix must start with /, values
  must be module:attribute format)
- Add _update_http_apps_paths() for Docker container path rewriting
- Add _is_js_http_app() and _has_js_http_apps() helpers for JS detection
- Ensure Node.js is installed in Docker images when JS HTTP apps present
- Regenerate JSON schema files

Co-authored-by: Christian Bromann <christian-bromann@users.noreply.github.com>
2026-03-23 06:09:31 +00:00
..
2025-05-09 13:14:45 -07:00
2024-06-24 18:14:56 -04:00
2024-06-24 18:14:56 -04:00
2024-06-20 17:08:35 -04:00
2026-03-13 16:07:27 -04:00
2024-06-24 18:14:56 -04:00