You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The agent can't wait for external processes or continue working autonomously between user interactions. Long-running tasks (CI, builds, polling) require constant user prompting.
Proposed approach
Two additions:
Sleep tool (src/tool/sleep.ts) — pauses execution for N seconds. Simple, useful immediately for polling loops within a single session.
Autonomous tick loop — a background wakeup mechanism that re-enters the agent loop after a configurable interval when the session is in an autonomous mode.
The sleep tool is self-contained. The tick loop requires client UI support to show status and depends on the detached subtask work (separate issue).
Why it belongs here
Without wait/sleep, the agent can't implement patterns like "run build, wait for it, then check output". The tick loop extends this to fully autonomous sessions.
No issue template was used. Feature requests must use the Feature Request template, which requires a verification checkbox confirming the feature hasn't been suggested before, and the title should start with [FEATURE]:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon Apr 3, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 3, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.