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

Copy link
Copy Markdown
Contributor

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
LHMQ878force-pushed the fix/588-register-dcp-command branch from b62c314 to b17ded9CompareAugust 8, 2026 09:18
Sign up for freeto 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

@LHMQ878