Files
Shangjie Chen 00760f8455 feat: Support HITL resumption for standalone nodes and NodeTool
- Enable resumability and add Human-in-the-Loop (HITL) step to `node_as_tool` sample workflow.
- Update `node_as_tool` README to document the HITL multi-turn flow.
- Fix `agent_test_runner.py` to preserve the `branch` field when replaying user events in tests.
- Implement lazy rehydration of `resume_inputs` from `session.events` in `NodeRunner` for standalone nodes (e.g. nodes run as tools of an Agent). This allows standalone nodes to resume correctly.

Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 948503030
2026-07-15 13:07:08 -07:00
..