Skip to content

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

Description

@kes31

Bug Description

/dcp is not known by opencode

Expected Behavior

/dcp is available for e.g. enabling auto compression mode

Debug Context Logs

index.ts:99 following should contain the following

if (config.commands.enabled && config.compress.permission !== "deny") {
    opencodeConfig.command ??= {}
    opencodeConfig.command["dcp"] = {
        template: "",
        description: "DCP context management: /dcp stats, /dcp context, /dcp sweep, /dcp manual, /dcp decompress, /dcp recompress",
    }

[...]

Tool Call Details

No response

DCP Version

3.1.14

Opencode Version

1.18.3

Model

Other (specify in description)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions