feat(agentctl): add setAuditLogExportFilter with refreshView for Phase 573
Headless audit filter helper complements exportGuildAuditLog for audit depth verification bundle. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -25,6 +25,8 @@ Both modes use **`pearcord-ui-flow` `dispatchUiMessage`** — the same handler a
|
|||||||
|
|
||||||
**v0.8.527 (Phase 564):** Headless `sendFriendRequest` and `acceptFriendRequest` `refreshView` re-verified. Bundle: `npm run test:agentctl-phase564-contacts` (chains `test:agentctl-phase546-contacts`).
|
**v0.8.527 (Phase 564):** Headless `sendFriendRequest` and `acceptFriendRequest` `refreshView` re-verified. Bundle: `npm run test:agentctl-phase564-contacts` (chains `test:agentctl-phase546-contacts`).
|
||||||
|
|
||||||
|
**v0.8.536 (Phase 573):** Headless `exportGuildAuditLog`/`setAuditLogExportFilter` + `refreshView`. Bundle: `npm run test:agentctl-phase573-audit` (chains `test:agentctl-phase552-compliance`).
|
||||||
|
|
||||||
**v0.8.535 (Phase 572):** Headless `banGuildMember`/`kickGuildMember`/`timeoutGuildMember` `refreshView` re-verified. Bundle: `npm run test:agentctl-phase572-moderation` (chains `test:agentctl-phase551-moderation`).
|
**v0.8.535 (Phase 572):** Headless `banGuildMember`/`kickGuildMember`/`timeoutGuildMember` `refreshView` re-verified. Bundle: `npm run test:agentctl-phase572-moderation` (chains `test:agentctl-phase551-moderation`).
|
||||||
|
|
||||||
**v0.8.534 (Phase 571):** Headless `updateGuildCustomRole`/`reorderGuildCustomRoles`/`setMemberCustomRoles` + `refreshView`. Bundle: `npm run test:agentctl-phase571-roles` (chains `test:agentctl-phase570-permissions`).
|
**v0.8.534 (Phase 571):** Headless `updateGuildCustomRole`/`reorderGuildCustomRoles`/`setMemberCustomRoles` + `refreshView`. Bundle: `npm run test:agentctl-phase571-roles` (chains `test:agentctl-phase570-permissions`).
|
||||||
|
|||||||
@@ -642,6 +642,13 @@ class HeadlessSession {
|
|||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async setAuditLogExportFilter (filter = 'all') {
|
||||||
|
if (!this.platform) throw new Error('headless not started')
|
||||||
|
const out = await this.platform.setAuditLogExportFilter(filter)
|
||||||
|
await this.refreshView()
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
async createGuildChannelWebhook (channelId, name, opts = {}) {
|
async createGuildChannelWebhook (channelId, name, opts = {}) {
|
||||||
if (!this.platform) throw new Error('headless not started')
|
if (!this.platform) throw new Error('headless not started')
|
||||||
const out = await this.platform.createChannelWebhook({
|
const out = await this.platform.createChannelWebhook({
|
||||||
|
|||||||
Reference in New Issue
Block a user