mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-22 01:25:06 +02:00
`SubgraphStatus` was misleading — values like `started` are transitions, not statuses, and the field on `LifecyclePayload` is already called `event`. Rename the type alias to `LifecycleEvent` so the type and the field agree. Add a block docstring on the alias enumerating each value's trigger condition, and add per-field docstrings on `LifecyclePayload` (`event` / `namespace` / `graph_name` / `trigger_call_id` / `error`), matching the style already used for `cause`. No behaviour change.