Commit Graph

53 Commits (45ede8729ec599ab3b9d08f8a5d0ab878be103d0)

Author SHA1 Message Date
Peter Steinberger aef2c60aa5
test: fix no-isolate canvas and timer regressions 8 months ago
Vincent Koc 6d9d9319b2 fix(docs): resolve markdownlint regressions 8 months ago
Peter Steinberger 0ac939059e
refactor(exec): split safe-bin semantics 8 months ago
Peter Steinberger 6c2a3b74e3
fix(exec): harden jq safe-bin policy 8 months ago
Peter Steinberger a94ec3b79b
fix(security): harden exec approval boundaries 8 months ago
Radek Sienkiewicz e3b7ff2f1f
Docs: fix MDX markers blocking page refreshes (#46695)
Merged via squash.

Prepared head SHA: 56b25a9fb3acc1a3befbf33c28a6d27df8aca8ef
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
8 months ago
Peter Steinberger 2f03de029c
fix(node-host): harden pnpm approval binding 8 months ago
Peter Steinberger daaf211e20 fix(node-host): fail closed on unbound interpreter approvals 8 months ago
Harold Hunt de49a8b72c
Telegram: exec approvals for OpenCode/Codex (#37233)
Merged via squash.

Prepared head SHA: f2433790941841ade0efe6292ff4909b2edd6f18
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Reviewed-by: @huntharo
8 months ago
Peter Steinberger c76d29208b fix(node-host): bind approved script operands 9 months ago
Peter Steinberger 155118751f refactor!: remove versioned system-run approval contract 9 months ago
Peter Steinberger b67e600bff fix(security): restrict default safe-bin trusted dirs 9 months ago
Peter Steinberger a67689a7e3 fix: harden allow-always shell multiplexer wrapper handling 9 months ago
Peter Steinberger f0f886ecc4 docs(security): clarify gateway-node trust boundary in docs 9 months ago
Peter Steinberger 3b8e33037a fix(security): harden safeBins long-option validation 9 months ago
Peter Steinberger 24c954d972 fix(security): harden allow-always wrapper persistence 9 months ago
Peter Steinberger 64b273a71c fix(exec): harden safe-bin trust and add explicit trusted dirs 9 months ago
Peter Steinberger 0d0f4c6992 refactor(exec): centralize safe-bin policy checks 9 months ago
Peter Steinberger 47c3f742b6 fix(exec): require explicit safe-bin profiles 9 months ago
Peter Steinberger e80c803fa8 fix(security): block shell env allowlist bypass in system.run 9 months ago
Peter Steinberger 89aad7b922 refactor: tighten safe-bin policy model and docs parity 9 months ago
Peter Steinberger 4c1dd9d068 fix(security): harden macos rawCommand allowlist resolution 9 months ago
Peter Steinberger 57fbbaebca fix: block safeBins sort --compress-program bypass 9 months ago
Peter Steinberger c6ee14d60e fix(security): block grep safe-bin file-read bypass 9 months ago
Peter Steinberger bafdbb6f11 fix(security): eliminate safeBins file-existence oracle 9 months ago
Peter Steinberger cfe8457a0f fix(security): harden safeBins stdin-only enforcement 9 months ago
Peter Steinberger 28bac46c92 fix(security): harden safeBins path trust 9 months ago
Peter Steinberger 24d2c6292e refactor(security): refine safeBins hardening 9 months ago
Peter Steinberger 77b89719d5 fix(security): block safeBins shell expansion 9 months ago
Peter Steinberger 31a7e4f937 chore(skills): remove bird skill 9 months ago
Peter Steinberger d1ecb46076 fix: harden exec allowlist parsing 10 months ago
Seb Slight abcaa8c7a9
Docs: add nav titles across docs (#5689) 10 months ago
cpojer 8cab78abbc
chore: Run `pnpm format:fix`. 10 months ago
Peter Steinberger 9a7160786a refactor: rename to openclaw 10 months ago
Peter Steinberger 6d16a658e5 refactor: rename clawdbot to moltbot with legacy compat 10 months ago
Peter Steinberger 0f8f0fb9d7 docs: clarify command authorization for exec directives 10 months ago
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
Peter Steinberger 5662a9cdfc fix: honor tools.exec ask/security in approvals 10 months ago
Peter Steinberger cad7ed1cb8 fix(exec-approvals): stabilize allowlist ids (#1521) 10 months ago
Peter Steinberger e872f5335b fix: allow chained exec allowlists
Co-authored-by: Lucas Czekaj <1464539+czekaj@users.noreply.github.com>
10 months ago
Peter Steinberger 96f1846c2c docs: align node transport with gateway ws 10 months ago
Peter Steinberger a2981c5a2c feat: add elevated ask/full modes 10 months ago
Peter Steinberger 9450873c1b fix: align exec approvals default agent 10 months ago
Peter Steinberger 7e1a17e5e6 fix: unify exec approval ids 10 months ago
Peter Steinberger 3b18efdd25 feat: tighten exec allowlist gating 10 months ago
Peter Steinberger 39e24c9937 docs: update node CLI references 10 months ago
Peter Steinberger 06c17a333e docs: update protocol + security notes 10 months ago
Peter Steinberger d06d440086 docs: clarify macOS node service IPC plan 10 months ago
Peter Steinberger 3686bde783 feat: add exec approvals tooling and service status 10 months ago
Peter Steinberger 4de3c3a028 feat: add exec approvals editor in control ui and mac app 10 months ago