You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/docs/tools
Lucas Czekaj 483fba41b9
feat(discord): add exec approval forwarding to DMs (#1621)
* feat(discord): add exec approval forwarding to DMs

Add support for forwarding exec approval requests to Discord DMs,
allowing users to approve/deny command execution via interactive buttons.

Features:
- New DiscordExecApprovalHandler that connects to gateway and listens
  for exec.approval.requested/resolved events
- Sends DMs with embeds showing command details and 3 buttons:
  Allow once, Always allow, Deny
- Configurable via channels.discord.execApprovals with:
  - enabled: boolean
  - approvers: Discord user IDs to notify
  - agentFilter: only forward for specific agents
  - sessionFilter: only forward for matching session patterns
- Updates message embed when approval is resolved or expires

Also fixes exec completion routing: when async exec completes after
approval, the heartbeat now uses a specialized prompt to ensure the
model relays the result to the user instead of responding HEARTBEAT_OK.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat: generic exec approvals forwarding (#1621) (thanks @czekaj)

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
10 months ago
..
agent-send.md feat: add agent targeting + reply overrides 10 months ago
apply-patch.md feat: notify on exec exit 10 months ago
browser-linux-troubleshooting.md fix(browser): surface detection details and docs 10 months ago
browser-login.md docs: fix browser CLI docs link 10 months ago
browser.md feat: add node browser proxy routing 10 months ago
chrome-extension.md fix(browser): make extension relay zero-config 10 months ago
clawdhub.md docs: update faq and install guidance 10 months ago
elevated.md feat: add elevated ask/full modes 10 months ago
exec-approvals.md feat(discord): add exec approval forwarding to DMs (#1621) 10 months ago
exec.md docs: align node transport with gateway ws 10 months ago
firecrawl.md feat: enhance web_fetch fallbacks 10 months ago
index.md fix: resolve session ids in session tools 10 months ago
llm-task.md fix: publish llm-task docs and harden tool 10 months ago
lobster.md fix: publish llm-task docs and harden tool 10 months ago
reactions.md docs: complete channels rename sweep 10 months ago
skills-config.md docs: clarify sandbox env + recreate guidance 10 months ago
skills.md feat: add OpenProse plugin skills 10 months ago
slash-commands.md feat(discord): add exec approval forwarding to DMs (#1621) 10 months ago
subagents.md fix: preserve subagent thread routing (#1241) 10 months ago
thinking.md feat: emit tool outputs for full verbose 10 months ago
web.md docs: consolidate faq under help 10 months ago