mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 12:08:11 +00:00
Move the wait tool, helper, prompts, and DOX into a _wait plugin so bundled pause support ships as a standard plugin. The plugin registers its own process-step handler and badge styles, the wait loop anchors to whole-second ticks so overhead cannot shift the countdown phase, and the countdown reports whole seconds. Leftovers of the move are cleaned up, and regression tests cover the arguments and execution paths. Validation: pytest tests/test_tool_action_contracts.py tests/test_wait_tool.py
6 lines
299 B
Markdown
6 lines
299 B
Markdown
# Wait
|
|
|
|
Provides the `wait` tool, which pauses agent execution until a duration (`seconds`, `minutes`, `hours`, `days`) or an ISO `until` timestamp is reached.
|
|
|
|
Waiting is intervention-aware: pauses extend the target time for duration waits, and remaining time is streamed to the log while waiting.
|