Skip to content

fix: register /dcp command with OpenCode - #599

Closed
LHMQ878 wants to merge 1 commit into
Tarquinen:masterfrom
LHMQ878:fix/588-register-dcp-command
Closed

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

Conversation

@LHMQ878

@LHMQ878 LHMQ878 commented Aug 8, 2026

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
LHMQ878 force-pushed the fix/588-register-dcp-command branch from b62c314 to b17ded9 Compare August 8, 2026 09:18
@Tarquinen

Copy link
Copy Markdown
Owner

This is handled in the upcomming opencode v2 release, check out the dev branch. Thank you for your help!

@Tarquinen Tarquinen closed this Sep 20, 2026
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

2 participants