Skip to content

fix: register /dcp command with OpenCode - #599

Open
LHMQ878 wants to merge 1 commit into
Opencode-DCP:masterfrom
LHMQ878:fix/588-register-dcp-command
Open

fix: register /dcp command with OpenCode#599
LHMQ878 wants to merge 1 commit into
Opencode-DCP:masterfrom
LHMQ878:fix/588-register-dcp-command

Conversation

@LHMQ878

@LHMQ878 LHMQ878 commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • Register the /dcp command in plugin config alongside /dcp-compress.
  • Extract command registration into registerOpencodeCommands() for focused tests.

Fixes #588

Test plan

  • npm test -- tests/plugin-commands.test.ts
  • npm test

Expose the /dcp command alongside /dcp-compress so users can manage DCP
from chat, including re-enabling auto compression via /dcp manual off.
@LHMQ878
LHMQ878 force-pushed the fix/588-register-dcp-command branch from b62c314 to b17ded9 Compare August 8, 2026 09:18
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.

[Bug]: The command /dcp is not registered, eventhough it is referenced for (re-)enabling auto compression mode

1 participant