openclaw/extensions/discord/src
Vincent Koc 2d53ffdec1
fix(exec): resolve remote approval regressions (#58792)
* fix(exec): restore remote approval policy defaults

* fix(exec): handle headless cron approval conflicts

* fix(exec): make allow-always durable

* fix(exec): persist exact-command shell trust

* fix(doctor): match host exec fallback

* fix(exec): preserve blocked and inline approval state

* Doctor: surface allow-always ask bypass

* Doctor: match effective exec policy

* Exec: match node durable command text

* Exec: tighten durable approval security

* Exec: restore owner approver fallback

* Config: refresh Slack approval metadata

---------

Co-authored-by: scoootscooob <zhentongfan@gmail.com>
2026-04-01 02:07:20 -07:00
..
actions refactor(media): centralize outbound access plumbing 2026-04-01 00:32:53 +09:00
monitor fix(exec): resolve remote approval regressions (#58792) 2026-04-01 02:07:20 -07:00
test-support refactor: move plugin-owned test support into plugins 2026-03-30 08:03:04 +09:00
voice fix(discord): gate voice ingress by allowlists (#58245) 2026-03-31 21:29:13 +09:00
account-inspect.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
account-inspect.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
accounts.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
accounts.ts refactor: share merged account config helper 2026-03-22 19:01:52 +00:00
api.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
api.ts refactor: add retry runtime sdk seam 2026-03-28 05:59:07 +00:00
approval-native.test.ts fix(approvals): centralize native request binding 2026-03-31 15:20:47 +01:00
approval-native.ts refactor(approvals): share origin target reconciliation 2026-03-31 23:11:53 +01:00
audit.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
audit.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
channel-actions.test.ts fix(ci): repair discord regression tests 2026-03-26 14:23:57 -05:00
channel-actions.ts fix(plugins): unblock Discord/Slack message tool sends and Feishu media (#52991) 2026-03-23 09:04:57 -07:00
channel.runtime.ts fix(runtime): lazy-load setup shims and align contracts 2026-03-19 13:33:32 -07:00
channel.setup.ts Plugins: internalize discord SDK imports 2026-03-17 20:42:28 -07:00
channel.test.ts refactor: share approval interactive renderers 2026-03-30 08:03:59 +09:00
channel.ts refactor(exec): unify channel approvals and restore routing/auth (#57838) 2026-03-30 15:49:02 -07:00
chunk.test.ts fix(test): add extension-safe test helper bridges 2026-03-30 09:31:33 +09:00
chunk.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
client.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
client.ts refactor: add retry runtime sdk seam 2026-03-28 05:59:07 +00:00
components-registry.ts fix: align discord registry and runtime test helpers 2026-03-28 00:13:44 +00:00
components.test.ts test: speed up discord channel suites 2026-03-24 21:48:07 +00:00
components.ts feat(hooks): add async requireApproval to before_tool_call (#55339) 2026-03-27 09:06:40 -07:00
config-schema.ts refactor: move channel config metadata into plugin-owned manifests 2026-03-27 01:59:30 +00:00
config-ui-hints.ts fix(config): harden SecretRef round-trip handling in Control UI and RPC writes (#58044) 2026-03-30 23:55:03 -05:00
directory-cache.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
directory-config.ts refactor: share directory config listers 2026-03-26 23:20:26 +00:00
directory-live.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
directory-live.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
draft-chunking.test.ts ci: fix workflow sanity gate 2026-03-22 23:04:04 +00:00
draft-chunking.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
draft-stream.test.ts ci: fix workflow sanity gate 2026-03-22 23:04:04 +00:00
draft-stream.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
exec-approvals.test.ts fix(exec): resolve remote approval regressions (#58792) 2026-04-01 02:07:20 -07:00
exec-approvals.ts fix(exec): resolve remote approval regressions (#58792) 2026-04-01 02:07:20 -07:00
gateway-logging.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
gateway-logging.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
group-policy.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
guilds.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
mentions.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
mentions.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
message-tool-schema.ts fix: export shared channel action enum helpers 2026-03-26 21:21:44 +00:00
monitor.gateway.test.ts refactor: centralize Discord gateway supervision 2026-03-24 22:47:12 -07:00
monitor.gateway.ts refactor: split discord monitor startup and lifecycle 2026-03-27 00:03:00 +00:00
monitor.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
monitor.tool-result.accepts-guild-messages-mentionpatterns-match.e2e.test.ts test: share discord monitor fixtures 2026-03-26 20:12:21 +00:00
monitor.tool-result.sends-status-replies-responseprefix.test.ts test: share discord monitor fixtures 2026-03-26 20:12:21 +00:00
monitor.tool-result.test-harness.ts fix(ci): repair discord message handler tests 2026-03-26 14:49:06 -05:00
monitor.tool-result.test-helpers.ts test: share discord monitor fixtures 2026-03-26 20:12:21 +00:00
monitor.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
normalize.test.ts test(discord): cover additional utility surfaces 2026-03-22 15:55:41 -07:00
normalize.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
outbound-adapter.interactive-order.test.ts test: share discord monitor fixtures 2026-03-26 20:12:21 +00:00
outbound-adapter.test-harness.ts test: share discord monitor fixtures 2026-03-26 20:12:21 +00:00
outbound-adapter.test.ts refactor: unify approval forwarding and rendering 2026-03-30 08:28:33 +09:00
outbound-adapter.ts refactor(media): centralize outbound access plumbing 2026-04-01 00:32:53 +09:00
outbound-session-route.ts refactor: share discord outbound session routing 2026-03-26 18:51:02 +00:00
pluralkit.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
pluralkit.ts refactor: add fetch runtime sdk seam 2026-03-28 05:44:33 +00:00
probe.intents.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
probe.parse-token.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
probe.runtime.ts fix(ci): restore plugin runtime boundaries 2026-03-27 14:38:40 +00:00
probe.ts refactor: add fetch runtime sdk seam 2026-03-28 05:44:33 +00:00
resolve-allowlist-common.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
resolve-allowlist-common.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
resolve-channels.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
resolve-channels.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
resolve-users.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
resolve-users.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
retry.ts refactor: add retry runtime sdk seam 2026-03-28 05:59:07 +00:00
runtime-api.ts refactor(media): centralize outbound access plumbing 2026-04-01 00:32:53 +09:00
runtime.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
send.channels.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
send.components.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
send.components.ts refactor(media): centralize outbound access plumbing 2026-04-01 00:32:53 +09:00
send.creates-thread.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
send.emojis-stickers.ts refactor: clean extension api boundaries 2026-03-17 09:38:21 -07:00
send.guild.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
send.messages.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
send.outbound.ts refactor(media): centralize outbound access plumbing 2026-04-01 00:32:53 +09:00
send.permissions.authz.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
send.permissions.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
send.reactions.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
send.sends-basic-channel-messages.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
send.shared.ts fix(media): align outbound sends with fs read capability 2026-04-01 00:07:50 +09:00
send.test-harness.ts refactor: split plugin testing seam from bundled extension helpers 2026-03-17 01:05:09 -07:00
send.ts Fix Discord `/codex_resume` picker expiration (#51260) 2026-03-21 12:59:21 -04:00
send.types.ts refactor: add retry runtime sdk seam 2026-03-28 05:59:07 +00:00
send.typing.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
send.typing.ts Plugins: broaden plugin surface for Codex App Server (#45318) 2026-03-15 16:06:11 -07:00
send.webhook-activity.test.ts perf(discord): avoid broad send barrel in webhook activity test 2026-03-31 22:02:01 +09:00
session-key-normalization.test.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
session-key-normalization.ts perf(inbound): trim cold startup import graph (#52082) 2026-03-21 22:32:21 -07:00
setup-account-state.test.ts refactor: simplify tlon and discord setup accounts 2026-03-22 19:53:51 +00:00
setup-account-state.ts refactor: simplify tlon and discord setup accounts 2026-03-22 19:53:51 +00:00
setup-core.ts refactor: dedupe test and runtime seams 2026-03-24 23:33:30 +00:00
setup-runtime-helpers.ts refactor: dedupe test and runtime seams 2026-03-24 23:33:30 +00:00
setup-surface.ts refactor: dedupe test and runtime seams 2026-03-24 23:33:30 +00:00
shared-interactive.test.ts refactor: extract discord shared interactive mapper 2026-03-16 05:54:16 +00:00
shared-interactive.ts refactor(plugin-sdk): split interactive runtime helpers 2026-03-18 11:30:34 +05:30
shared.ts refactor: move channel config metadata into plugin-owned manifests 2026-03-27 01:59:30 +00:00
status-issues.test.ts test: drop redundant status-issues skip checks 2026-04-01 02:32:55 +01:00
status-issues.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
subagent-hooks.test.ts test: drop subagent hook registration smokes 2026-04-01 03:10:47 +01:00
subagent-hooks.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
targets.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
targets.ts refactor: consolidate plugin sdk surface 2026-03-20 19:24:10 +00:00
test-http-helpers.ts refactor: move Discord channel implementation to extensions/ (#45660) 2026-03-14 02:53:57 -07:00
token.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
token.ts refactor: reuse shared account config lookups 2026-03-22 19:01:52 +00:00
ui.ts refactor: untangle remaining plugin sdk boundaries 2026-03-16 21:16:32 -07:00
voice-message.test.ts test: speed up extension suites 2026-03-31 02:25:02 +01:00
voice-message.ts refactor: add retry runtime sdk seam 2026-03-28 05:59:07 +00:00