mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-11-17 13:58:02 +00:00
Centralize boolean argument coercion in helpers.tool and route the promoted and core tools through it. This removes the duplicated private coercion helpers, including one in the remote code execution tool, along with the repairable-error messages and prompt files that only the strict boolean validation used. Strict boolean argument validation gives way to the shared coercion, which maps common true/false strings and falls back to truthiness, so invalid reset and dedicated_context values stop returning repairable errors. Browser regression tests now import the real modules before installing their stubs. Validation: pytest tests/test_tool_action_contracts.py tests/test_browser_agent_regressions.py |
||
|---|---|---|
| .. | ||
| extensions/webui | ||
| helpers | ||
| prompts | ||
| tools | ||
| webui/css | ||
| AGENTS.md | ||
| plugin.yaml | ||
| README.md | ||
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.