Skip to content

[ENHANCEMENT] Run hook command on events requiring prompts #12025

@Zocker1999NET

Description

@Zocker1999NET

Problem (one or two sentences)

It may happen that Roo Code issues an event or notification requiring some input by the user. But it might be that users may overhear the soundeffect audio or TTS.

Context (who is affected and when)

When Roo Code is working on its own & not all actions are auto-approved for whatever reason. I think may happen to most users when Roo Code takes a long time but the users are cautious about what Roo Code is allowed to do.

Desired behavior (conceptual, not technical)

Add an option allowing users to configure a hook command, which gets automatically executed. This may allow users to supply a script which forwards to notification over a service of their choice to another device (e.g. their smart home or smartphone).

Constraints / preferences (optional)

Supply the script with some well-defined arguments which are properly escaped. Only execute the command directly (not via shell indirection) for security reasons.

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions