Skip to content

[FEATURE]: heartbeat tool in v2, structured use case of background shell #50045

Open

Description

@sghng

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I've been using v2 recently and it's wonderful, the background shell is very helpful. I noticed an emerging use case that my agents often use the background shell as a heartbeat or timer (sleep 2000 && echo "do something").

I think it would be better if we can have this as a dedicated tool. This should make the transcript more structured, and make it more ergonomic, especially when paired with some UI element.

Similar to #50041, but that one's requesting a blocking tool. What I observed is a non blocking use case, piggybacked on the background shell in v2. #20874 #24888 are similar but are closed.

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the request, @sghng!

    If I've got it right, you're asking for a dedicated non-blocking timer/heartbeat tool, so agents no longer have to fake one with a background shell like sleep 2000 && echo "do something". That would give a clearer entry in the transcript and room for UI such as a countdown.

    These issues are related:

    The maintainers will consider it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions