Skip to content

Missing caveman-compress.md in opencode commands causes install failure #491

Description

@lexbocharov

Description

Installing via curl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bash fails with ENOENT when copying opencode command files.

Error

opencode install failed: ENOENT: no such file or directory, copyfile
'.../caveman-installer/src/plugins/opencode/commands/caveman-compress.md'
-> '~/.config/opencode/commands/caveman-compress.md'

Root cause

The OPENCODE_COMMAND_FILES array in bin/install.js (line 467) includes caveman-compress.md, but this file does not exist in the repository at src/plugins/opencode/commands/.

Existing files in that directory:

  • caveman.md
  • caveman-commit.md
  • caveman-review.md
  • caveman-stats.md
  • caveman-help.md

Note that skills/caveman-compress/ directory does exist, only the command file is missing. It was likely either:

  1. The command file was never created for this skill
  2. The file was renamed but the array was not updated

Impact

The entire opencode install path aborts on this error, leaving all other opencode commands (caveman.md, caveman-commit.md, caveman-review.md) partially installed.

Suggestion

Either add the missing caveman-compress.md to src/plugins/opencode/commands/, or remove it from OPENCODE_COMMAND_FILES and OPENCODE_SKILL_DIRS if the compress feature is not yet ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions