Skip to content

fix: /acp commands work regardless of compress permission + wire up export + help - #286

Open
ranxianglei wants to merge 1 commit into
masterfrom
2026-08-06_acp-command-fix
Open

fix: /acp commands work regardless of compress permission + wire up export + help#286
ranxianglei wants to merge 1 commit into
masterfrom
2026-08-06_acp-command-fix

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Problem (Issue #285)

  1. /acp (no args) returned nothing when compress permission was "deny" — the global permission gate blocked ALL commands
  2. README listed 6 stale commands that don't exist (manual, compress, decompress, recompress)
  3. /acp export handler existed but was never wired up in hooks.ts
  4. No help command

Fix

  • Removed global permission gate — all /acp commands are informational
  • Added /acp help (default when no args) — lists available commands
  • Wired up /acp export in hooks.ts
  • Updated README.md + README.zh-CN.md + AGENTS.md to match actual commands

Verification

  • TypeScript: 0 errors
  • Tests: 954 pass
  • Build: 397 KB
  • Deployed locally

@ranxianglei
ranxianglei force-pushed the 2026-08-06_acp-command-fix branch from 8bad750 to dcd90d2 Compare August 8, 2026 00:13
@ranxianglei

Copy link
Copy Markdown
Owner Author

需要review和实际测试 暂缓合并

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant